@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300 500;
    font-display: swap;
    src: url('/fonts/roboto-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC,
        U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
        U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
        U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 300 400;
    font-display: swap;
    src: url('/fonts/roboto-italic-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC,
        U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
        U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
        U+2212, U+2215, U+FEFF, U+FFFD;
}

body {
    background: linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
    align-items: center;
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
}

nav {
	z-index: 1;
}

.logo img {
	position: absolute;
	z-index: -1;
	top: 0;
	width: 65px;
	height: 65px;
}

.logo span {
	margin-left: 68px;
}

h1.hero {
	text-align: center;
	color: #fff;
	padding: 1rem;
	background: rgba(10, 5, 12, 0.4);
	border-radius: 60px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}


.construction-icon {
    font-size: 5rem;
    color: #ffc107;
    filter: drop-shadow(0 0.5rem 1rem rgba(0, 0, 0, 0.1));
}

.card {
    border: none;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.08);
}

.btn-outline-warning {
    border-width: 2px;
}

.badge-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.6;
        transform: scale(0.98);
    }

    50% {
        opacity: 1;
        transform: scale(1.02);
    }

    100% {
        opacity: 0.6;
        transform: scale(0.98);
    }
}

.custom-highlight {
    color: #e7e55c;
}

pre {
    white-space: pre;
    font-family: monospace;
    overflow-x: auto;
    text-align: left;
}

h1.home {
    position: fixed;
    top: 209px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    width: max-content;
    max-width: 90vw;
    text-align: center;
}

h1:not(.home) {
    background: #8cb4e2;
    margin: 0;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
}

#logo {
	text-align: center;
}

#logo img {
    border-radius: 125px;
}


footer {
	font-size: 1rem;
	text-align: center;
	padding: 10px;
	background: #ffffff;
	width: 100%;
	z-index: 1;
	position: absolute;
}

.articles-list article {
    background: #e6e6e6;
}

.articles-list article {
    background: #d8e1f7;
    transition: background 0.3s ease, transform 0.3s ease;
    border-radius: 8px;
}

.articles-list article:hover {
    background: #becef5;
}

.articles-list h3 a {
  color: #f00;
}

.article-link {
  color: #0444db;
}

/* Bouton masqué par défaut */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #8cb4e2 100%);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

/* Bouton visible */
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Effet hover */
.back-to-top:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #5a67d8 0%, #6b3fa0 100%);
}

/* Effet click */
.back-to-top:active {
    transform: scale(0.95);
}

/* Animation du symbole flèche */
.back-to-top:hover .arrow {
    animation: bounce-up 0.6s ease infinite;
}

@keyframes bounce-up {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}


/* Tableau */
table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;

    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 12px;

    box-shadow: 0 .125rem .35rem rgba(0, 0, 0, .075);
}

/* En-tete */
table thead th {
    padding: .9rem 1rem;

    background: #212529;
    color: #fff;

    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;

    border: 0;
}

/* Cellules */
table tbody td {
    padding: .85rem 1rem;

    color: #343a40;
    border-top: 1px solid #dee2e6;

    transition: background-color .15s ease, transform .15s ease;
}

/* Lignes */
table tbody tr {
    transition: background-color .15s ease;
}

table tbody tr:hover {
    background-color: #f8f9fa;
}

/* Premiere colonne */
table tbody td:first-child {
    font-weight: 500;
}

/* Colonne confiance */
table tbody td:last-child {
    width: 180px;
    text-align: center;
    font-weight: 700;
}

/* 1/1 */
table tbody tr:has(td:last-child:not(:empty)) td:last-child {
    /* rien ici, juste pour garder la structure */
}

/* Arrondi du haut */
table thead th:first-child {
    border-top-left-radius: 11px;
}

table thead th:last-child {
    border-top-right-radius: 11px;
}

/* Responsive */
@media (max-width: 576px) {
    table {
        font-size: .9rem;
    }

    table thead th,
    table tbody td {
        padding: .7rem .75rem;
    }

    table tbody td:last-child {
        width: auto;
    }
}


/* fin table */

aside {
    background-color: #f4f4f4;
    padding: 20px;
    border-left: 4px solid #007bff;
    margin: 20px 0;
    border-radius: 4px;
}

ol li {
    margin-top: 11px;
}

.article {
	margin-top: 63px;
}