/* ============================================
   OUVRE LA BOÎTE - Style principal
   Palette : Marron bois #6B4F3A | Crème #F5E6D3 | Rouge brique #C44536 | Jaune chaud #F4B942
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Nunito', sans-serif;
    background-color: #F5E6D3;
    color: #3a2e25;
    line-height: 1.7;
    font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #C44536; text-decoration: none; transition: color 0.2s; }
a:hover { color: #6B4F3A; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- Titres --- */
h1, h2, h3, h4 { font-family: 'Fredoka One', cursive; color: #6B4F3A; line-height: 1.3; }
h1 { font-size: 2.4rem; margin-bottom: 20px; }
h2 { font-size: 1.8rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }

/* --- Header --- */
.site-header {
    background: #fffdf9;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 14px rgba(107, 79, 58, 0.08);
    border-bottom: 1px solid #f1e7d8;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 18px;
}
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}
.logo img { height: 50px; width: auto; }
.main-nav > ul {
    display: flex;
    gap: 4px;
    align-items: center;
}
.main-nav a {
    color: #5a4534;
    padding: 9px 15px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s;
}
.main-nav a:hover {
    background: #f6ead7;
    color: #C44536;
}

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    min-width: 240px;
    padding: 8px 0;
    z-index: 200;
}
.dropdown li a {
    display: block;
    padding: 10px 20px;
    color: #3a2e25;
    font-size: 0.9rem;
}
.dropdown li a:hover {
    background: #F5E6D3;
    color: #C44536;
}

/* Menu mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: #6B4F3A;
    border-radius: 3px;
    transition: transform 0.3s, opacity 0.3s;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --- Bandeau (accueil) --- */
.accueil-bandeau {
    background: linear-gradient(135deg, #6B4F3A 0%, #8B6F5A 100%);
    padding: 80px 0 60px;
    text-align: center;
    color: #F5E6D3;
}
.accueil-bandeau h1 {
    color: #F4B942;
    font-size: 3rem;
    margin-bottom: 16px;
}
.accueil-bandeau p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}
.accueil-bandeau-action {
    display: inline-block;
    background: #C44536;
    color: #fff;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background 0.3s, transform 0.2s;
}
.accueil-bandeau-action:hover {
    background: #a33828;
    color: #fff;
    transform: translateY(-2px);
}

/* Bandeau compact (pages intérieures) */
.accueil-bandeau-compact { padding: 50px 0 35px; }
.accueil-bandeau-compact h1 { font-size: 2.2rem; }
.accueil-bandeau-compact p { margin-bottom: 0; }

/* Category count */
.category-count {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #8B6F5A;
    font-weight: 600;
}

/* Quiz form */
.quiz-form { display: flex; flex-direction: column; gap: 28px; }
.quiz-question label { display: block; font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; color: #6B4F3A; }
.quiz-question select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #d4c4b4;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Nunito', sans-serif;
    background: #fff;
    color: #3a2e25;
    cursor: pointer;
}
.quiz-question select:focus { border-color: #C44536; outline: none; }
.quiz-checkboxes { display: flex; flex-wrap: wrap; gap: 10px; }
.quiz-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    border: 2px solid #d4c4b4;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.quiz-checkbox:has(input:checked) { border-color: #C44536; background: #fdf0ee; }
.quiz-checkbox input { accent-color: #C44536; }

/* --- Grille de jeux --- */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 18px;
    padding: 30px 0;
}

/* --- Carte jeu (listing) --- */
.game-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(107, 79, 58, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(107, 79, 58, 0.2);
}
.game-card-img {
    position: relative;
    height: 180px;
    aspect-ratio: auto;
    overflow: hidden;
    background: #efe0d0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.game-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
}
.carte-etiquette {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #F4B942;
    color: #6B4F3A;
    font-weight: 800;
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}
.game-card-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(58, 46, 37, 0.85));
    color: #fff;
    font-family: 'Fredoka One', cursive;
    font-size: 0.9rem;
    padding: 24px 10px 8px;
    text-align: center;
}
.carte-contenu { padding: 14px 16px; }
.carte-contenu h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}
.carte-contenu h3 a { color: #6B4F3A; }
.carte-contenu h3 a:hover { color: #C44536; }
.game-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 0.8rem;
    color: #8a7668;
}
.game-card-meta span { display: flex; align-items: center; gap: 4px; }
.game-card-excerpt {
    font-size: 0.85rem;
    color: #5a4a3a;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.carte-bas {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* --- Étoiles --- */
.stars { display: flex; align-items: center; gap: 2px; }
.star { font-size: 1.1rem; }
.star.full { color: #F4B942; }
.star.half { color: #F4B942; opacity: 0.6; }
.star.empty { color: #d4c4b4; }
.stars-note { margin-left: 6px; font-size: 0.85rem; font-weight: 700; color: #6B4F3A; }

/* --- Boutons --- */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}
.btn-rouge { background: #C44536; color: #fff; }
.btn-rouge:hover { background: #a33828; color: #fff; transform: translateY(-1px); }
.btn-marron { background: #6B4F3A; color: #F5E6D3; }
.btn-marron:hover { background: #5a3f2e; color: #fff; }
.btn-contour {
    background: transparent;
    color: #C44536;
    border: 2px solid #C44536;
}
.btn-contour:hover { background: #C44536; color: #fff; }
.btn-amazon {
    background: #F4B942;
    color: #6B4F3A;
    font-weight: 800;
    padding: 14px 30px;
    font-size: 1rem;
}
.btn-amazon:hover { background: #e5a830; color: #3a2e25; transform: translateY(-2px); }

/* --- Page fiche jeu --- */
.fiche-entete {
    background: linear-gradient(135deg, #6B4F3A, #8B6F5A);
    padding: 40px 0;
}
.fiche-entete-grille {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 50px;
    align-items: center;
}
.fiche-entete-visuel {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.fiche-entete-visuel img {
    width: 100%;
    object-fit: contain;
}
.fiche-entete-texte { color: #F5E6D3; }
.fiche-entete-texte h1 {
    color: #F4B942;
    font-size: 2.6rem;
    margin-bottom: 12px;
}
.fiche-entete-texte .stars { margin-bottom: 16px; }
.fiche-entete-texte .stars .star.full,
.fiche-entete-texte .stars .star.half { color: #F4B942; }
.fiche-entete-texte .stars .star.empty { color: rgba(255,255,255,0.3); }
.fiche-entete-texte .stars-note { color: #F5E6D3; }
.fiche-accroche {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Infos techniques dans la fiche */
.game-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}
.game-spec {
    background: rgba(255,255,255,0.12);
    padding: 10px 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}
.game-spec-icon { font-size: 1.3rem; }
.game-spec-label { opacity: 0.7; font-size: 0.8rem; }
.game-spec-value { font-weight: 700; }

/* Corps de la fiche */
.game-content {
    padding: 50px 0;
}
.game-content-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
}
.game-main h2 {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #efe0d0;
}
.game-main h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.game-main p { margin-bottom: 16px; }

/* Verdict / Points forts-faibles */
.verdict-box {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(107, 79, 58, 0.08);
}
.verdict-box h3 { color: #6B4F3A; margin-bottom: 16px; }
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.pros h4, .cons h4 {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    margin-bottom: 10px;
    font-size: 1rem;
}
.pros h4 { color: #2d8a4e; }
.cons h4 { color: #C44536; }
.pros li, .cons li {
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
    font-size: 0.95rem;
}
.pros li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2d8a4e;
    font-weight: 800;
}
.cons li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #C44536;
    font-weight: 800;
}

/* Bloc notation détaillée */
.notation-box {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 2px solid #F5E6D3;
}
.notation-box h4 {
    font-family: 'Fredoka One', cursive;
    color: #6B4F3A;
    margin-bottom: 16px;
    font-size: 1.1rem;
}
.notation-criteria {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.notation-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.notation-label {
    flex: 0 0 160px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #3a2e25;
}
.notation-bar-bg {
    flex: 1;
    height: 10px;
    background: #F5E6D3;
    border-radius: 5px;
    overflow: hidden;
}
.notation-bar-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 0.3s ease;
}
.notation-bar-fill[data-score="1"] { width: 20%; background: #C44536; }
.notation-bar-fill[data-score="2"] { width: 40%; background: #e07b3c; }
.notation-bar-fill[data-score="3"] { width: 60%; background: #F4B942; }
.notation-bar-fill[data-score="4"] { width: 80%; background: #8ab644; }
.notation-bar-fill[data-score="5"] { width: 100%; background: #2d8a4e; }
.notation-score {
    flex: 0 0 35px;
    font-weight: 800;
    font-size: 0.9rem;
    text-align: right;
    color: #6B4F3A;
}
.notation-final {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #F5E6D3;
}
.notation-final-label {
    font-family: 'Fredoka One', cursive;
    color: #6B4F3A;
    font-size: 1rem;
}
.notation-final-score {
    font-family: 'Fredoka One', cursive;
    font-size: 1.4rem;
    color: #C44536;
}
/* Intro texte catégories et listings */
.category-intro {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #5a4a3a;
}

/* Sidebar */
.game-sidebar { position: sticky; top: 90px; }
.colonne-bloc {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(107, 79, 58, 0.08);
}
.colonne-bloc h3 { font-size: 1.1rem; margin-bottom: 14px; }
.colonne-specs { display: flex; flex-direction: column; gap: 12px; }
.spec-ligne {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0e6da;
    font-size: 0.9rem;
}
.spec-ligne:last-child { border-bottom: none; padding-bottom: 0; }
.spec-libelle { color: #8a7668; }
.spec-valeur { font-weight: 700; color: #6B4F3A; }
.colonne-achat {
    text-align: center;
    margin-top: 20px;
}
.colonne-achat .btn-amazon { width: 100%; display: block; }

/* Tags catégories */
.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.game-tag {
    background: #F5E6D3;
    color: #6B4F3A;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    transition: background 0.2s;
}
.game-tag:hover { background: #F4B942; color: #6B4F3A; }

/* Règles du jeu */
.rules-section {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    margin: 30px 0;
}
.rules-section h2 { border: none; margin-top: 0; padding-top: 0; }
.rules-step {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
}
.rules-step-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: #F4B942;
    color: #6B4F3A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
}
.rules-step-text { flex: 1; padding-top: 6px; }

/* Encart "A qui s'adresse ce jeu" */
.audience-box {
    background: linear-gradient(135deg, #F4B942 0%, #f0a820 100%);
    border-radius: 16px;
    padding: 30px;
    margin: 30px 0;
    color: #3a2e25;
}
.audience-box h3 {
    color: #6B4F3A;
    margin-bottom: 14px;
}
.audience-box ul { list-style: none; }
.audience-box li {
    padding: 6px 0;
    padding-left: 28px;
    position: relative;
    font-weight: 600;
}
.audience-box li::before {
    content: '→';
    position: absolute;
    left: 0;
    font-weight: 800;
}

/* Breadcrumb */
.breadcrumb {
    padding: 14px 0;
    font-size: 0.85rem;
    color: #8a7668;
}
.breadcrumb a { color: #8a7668; }
.breadcrumb a:hover { color: #C44536; }
.breadcrumb span { margin: 0 8px; }

/* --- Section homepage --- */
.section { padding: 50px 0; }
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}
.section-header h2 { margin-bottom: 0; }

/* Catégories grille */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.category-card {
    background: #fff;
    border-radius: 18px;
    padding: 22px 22px 24px;
    text-align: left;
    border: 1px solid #f0e7da;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    box-shadow: 0 3px 12px rgba(107, 79, 58, 0.06);
}
.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(107, 79, 58, 0.14);
    border-color: var(--cc, #e3d4c2);
}
.category-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--ct, #ece1d5);
    color: var(--cc, #6B4F3A);
    margin-bottom: 16px;
}
.category-card-icon svg { width: 30px; height: 30px; }
.category-card h3 { font-size: 1.12rem; margin-bottom: 6px; }
.category-card h3 a { color: #3a2e25; }
.category-card:hover h3 a { color: var(--cc, #C44536); }
.category-card p { font-size: 0.9rem; color: #8a7668; line-height: 1.5; }

/* --- Quiz CTA banner --- */
.quiz-banner {
    background: linear-gradient(135deg, #C44536, #a33828);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    color: #fff;
    margin: 50px 0;
}
.quiz-banner h2 { color: #F4B942; margin-bottom: 12px; }
.quiz-banner p { margin-bottom: 20px; opacity: 0.9; font-size: 1.05rem; }
.quiz-banner .btn {
    background: #F4B942;
    color: #6B4F3A;
    font-size: 1.1rem;
    padding: 14px 40px;
}
.quiz-banner .btn:hover { background: #e5a830; }

/* --- Footer --- */
.site-footer {
    background: #3a2a1c;
    color: #c9b8a6;
    padding: 54px 0 0;
    margin-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.footer-logo img { height: 48px; width: auto; }
.footer-wordmark { font-family: 'Fredoka One', cursive; font-size: 1.35rem; color: #F5E6D3; line-height: 1; }
.footer-wordmark strong { color: #F4B942; font-weight: normal; }
.site-footer h3 {
    color: #F4B942;
    font-size: 1rem;
    margin-bottom: 14px;
}
.site-footer ul li { margin-bottom: 8px; }
.site-footer a { color: #d4c4b4; }
.site-footer a:hover { color: #F4B942; }
.site-footer p { font-size: 0.9rem; line-height: 1.6; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
}

/* --- Recherche header --- */
.header-search {
    display: flex;
    align-items: center;
    position: relative;
    margin-left: 8px;
}
.search-toggle {
    background: #f3e7d4;
    border: none;
    color: #6B4F3A;
    cursor: pointer;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}
.search-toggle:hover {
    background: #ecdcc4;
    color: #C44536;
}
.search-box {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    opacity: 0;
    overflow: visible;
    transition: width 0.3s, opacity 0.3s;
    pointer-events: none;
}
.search-box.active {
    width: 320px;
    opacity: 1;
    pointer-events: auto;
}
.search-box input {
    width: 100%;
    padding: 10px 16px;
    border: 2px solid #F4B942;
    border-radius: 25px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    background: #fff;
    color: #3a2e25;
    outline: none;
}
.search-box input::placeholder { color: #b0a090; }
.search-results {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 380px;
    max-height: 420px;
    overflow-y: auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(107, 79, 58, 0.2);
    z-index: 300;
}
.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #3a2e25;
    text-decoration: none;
    transition: background 0.15s;
    border-bottom: 1px solid #f0e6da;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: #fdf6ee; }
.search-result-item img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 8px;
    background: #f5efe8;
    flex-shrink: 0;
}
.search-result-info {
    flex: 1;
    min-width: 0;
}
.search-result-info strong {
    display: block;
    font-size: 0.95rem;
    color: #6B4F3A;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-result-info span {
    font-size: 0.8rem;
    color: #8a7668;
}
.search-result-note {
    font-weight: 800;
    font-size: 0.85rem;
    color: #F4B942;
    flex-shrink: 0;
}
.search-no-result {
    padding: 20px;
    text-align: center;
    color: #8a7668;
    font-size: 0.9rem;
}

/* --- Page recherche --- */
.search-page-form {
    display: flex;
    gap: 12px;
    max-width: 600px;
}
.search-page-input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid #d4c4b4;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    background: #fff;
    color: #3a2e25;
    outline: none;
}
.search-page-input:focus { border-color: #C44536; }

/* --- Intro quiz --- */
.quiz-intro-section { padding: 40px 0 10px; }
.quiz-intro {
    background: #fff;
    border-radius: 18px;
    padding: 30px 36px 28px;
    box-shadow: 0 4px 20px rgba(107, 79, 58, 0.08);
}
.quiz-intro-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 24px;
}
.quiz-intro-step {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.quiz-intro-num {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    background: #F4B942;
    color: #6B4F3A;
    font-family: 'Fredoka One', cursive;
    font-size: 1.05rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.quiz-intro-step-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 2px;
}
.quiz-intro-step-body strong {
    font-family: 'Fredoka One', cursive;
    color: #6B4F3A;
    font-size: 1rem;
    line-height: 1.25;
    letter-spacing: 0.2px;
}
.quiz-intro-step-body p {
    margin: 0;
    font-size: 0.92rem;
    color: #4a3a2e;
    line-height: 1.5;
}
.quiz-intro-tip {
    margin: 0;
    padding: 14px 18px;
    background: #faf3e8;
    border-left: 4px solid #C44536;
    border-radius: 8px;
    font-size: 0.93rem;
    color: #5a4a3a;
    line-height: 1.6;
}
.quiz-intro-tip strong { color: #C44536; }
@media (max-width: 900px) {
    .quiz-intro-steps { grid-template-columns: 1fr; gap: 14px; margin-bottom: 20px; }
}
@media (max-width: 768px) {
    .quiz-intro { padding: 22px 22px 22px; }
}

/* --- Page Blog (liste) --- */
.page-eyebrow {
    display: inline-block;
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #F4B942;
    margin-bottom: 14px;
}
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
}
.blog-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(107, 79, 58, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: grid;
    grid-template-columns: 1fr;
}
.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(107, 79, 58, 0.18);
}
.blog-card-feature {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: stretch;
}
.blog-card-visual {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #efe0d0;
    display: block;
}
.blog-card-feature .blog-card-visual {
    aspect-ratio: auto;
    min-height: 0;
    max-height: 320px;
    height: 100%;
}
.blog-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.blog-card:hover .blog-card-visual img { transform: scale(1.04); }
.blog-card-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #F4B942;
    color: #6B4F3A;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}
.article-contenu {
    padding: 26px 28px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #8a7668;
    font-size: 0.85rem;
    margin-bottom: 10px;
}
.blog-card-dot { opacity: 0.5; }
.article-contenu h2 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}
.article-contenu h2 a { color: #6B4F3A; }
.article-contenu h2 a:hover { color: #C44536; }
.article-contenu p {
    color: #5a4a3a;
    margin-bottom: 16px;
    line-height: 1.65;
}
.blog-card-link {
    font-weight: 700;
    color: #C44536;
    font-size: 0.95rem;
}
.blog-card-link:hover { color: #6B4F3A; }

/* Section "à venir" sur la page blog */
.blog-coming-soon {
    background: #fff;
    border-radius: 18px;
    padding: 36px 40px;
    box-shadow: 0 4px 20px rgba(107, 79, 58, 0.08);
}
.blog-coming-soon h2 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}
.blog-coming-soon p { color: #5a4a3a; margin-bottom: 16px; }
.blog-coming-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px 24px;
    margin-bottom: 20px;
}
.blog-coming-list li {
    padding-left: 24px;
    position: relative;
    color: #6B4F3A;
    font-weight: 600;
}
.blog-coming-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #F4B942;
    font-weight: 800;
}
.blog-coming-note { font-size: 0.95rem; color: #8a7668; margin-top: 8px; }
.blog-coming-note a { color: #C44536; font-weight: 700; }

.blog-cta-section { padding-top: 0; }

/* --- Article de blog --- */
.article-header {
    background: linear-gradient(135deg, #6B4F3A 0%, #8B6F5A 100%);
    padding: 50px 0 40px;
    color: #F5E6D3;
}
.article-breadcrumb {
    font-size: 0.85rem;
    margin-bottom: 18px;
    color: #d4c4b4;
}
.article-breadcrumb a { color: #F4B942; }
.article-breadcrumb a:hover { color: #fff; }
.article-breadcrumb span { margin: 0 6px; opacity: 0.6; }
.article-category {
    display: inline-block;
    background: #F4B942;
    color: #6B4F3A;
    padding: 5px 14px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
}
.article-header h1 {
    color: #F4B942;
    font-size: 2.6rem;
    margin-bottom: 18px;
    line-height: 1.2;
    max-width: 820px;
}
.article-lead {
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 760px;
    opacity: 0.95;
    margin-bottom: 22px;
}
.article-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d4c4b4;
    font-size: 0.9rem;
}
.article-meta-dot { opacity: 0.5; }

.article-visual {
    margin: -30px 0 0;
    padding: 0;
}
.article-visual-inner {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.18);
    background: #fff;
}
.article-visual-inner img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    display: block;
}
.article-visual-credit {
    font-size: 0.8rem;
    color: #8a7668;
    margin-top: 8px;
    text-align: right;
}
.article-visual-credit a { color: #8a7668; text-decoration: underline; }
.article-visual-credit a:hover { color: #C44536; }

.article-body {
    padding: 50px 0 70px;
}
.article-grid {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 50px;
    align-items: start;
}
.article-toc-wrap { position: sticky; top: 90px; }
.article-toc {
    background: #fff;
    border-radius: 14px;
    padding: 22px 24px;
    box-shadow: 0 4px 16px rgba(107, 79, 58, 0.08);
    font-size: 0.92rem;
}
.article-toc strong {
    display: block;
    font-family: 'Fredoka One', cursive;
    color: #6B4F3A;
    font-size: 1.05rem;
    margin-bottom: 12px;
    font-weight: normal;
}
.article-toc ol {
    list-style: decimal inside;
    padding: 0;
    margin: 0;
    counter-reset: toc;
}
.article-toc ol li {
    padding: 6px 0;
    border-bottom: 1px dashed #f0e6da;
    color: #8a7668;
    line-height: 1.4;
}
.article-toc ol li:last-child { border-bottom: none; }
.article-toc ol li a {
    color: #5a4a3a;
    font-weight: 600;
}
.article-toc ol li a:hover { color: #C44536; }

.article-content {
    background: #fff;
    border-radius: 18px;
    padding: 44px 52px 52px;
    box-shadow: 0 4px 20px rgba(107, 79, 58, 0.08);
    font-size: 1.02rem;
    line-height: 1.75;
}
.article-content > h2 {
    font-size: 1.7rem;
    margin-top: 44px;
    margin-bottom: 16px;
    padding-top: 28px;
    border-top: 2px solid #efe0d0;
}
.article-content > h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}
.article-content h3 {
    font-size: 1.2rem;
    margin-top: 28px;
    margin-bottom: 10px;
    color: #C44536;
}
.article-content p {
    margin-bottom: 16px;
    color: #3a2e25;
}
.article-content a {
    color: #C44536;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(196, 69, 54, 0.3);
    text-underline-offset: 3px;
}
.article-content a:hover {
    color: #6B4F3A;
    text-decoration-color: #6B4F3A;
}
.article-intro {
    font-size: 1.12rem;
    color: #5a4a3a;
    border-left: 4px solid #F4B942;
    padding-left: 20px;
    margin-bottom: 32px;
    line-height: 1.7;
}
.article-list, .article-steps, .article-checklist, .article-related {
    margin: 16px 0 22px;
    padding-left: 0;
}
.article-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    color: #3a2e25;
}
.article-list li::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 12px;
    width: 8px;
    height: 8px;
    background: #C44536;
    border-radius: 50%;
}
.article-steps {
    list-style: none;
    counter-reset: step;
}
.article-steps li {
    position: relative;
    padding-left: 52px;
    margin-bottom: 14px;
    min-height: 36px;
    counter-increment: step;
}
.article-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 2px;
    width: 36px;
    height: 36px;
    background: #F4B942;
    color: #6B4F3A;
    font-family: 'Fredoka One', cursive;
    font-size: 1.05rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.article-checklist {
    list-style: none;
    background: #faf3e8;
    border-radius: 14px;
    padding: 22px 28px 22px 28px;
}
.article-checklist li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 10px;
    color: #3a2e25;
}
.article-checklist li:last-child { margin-bottom: 0; }
.article-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    background: #C44536;
    color: #fff;
    font-weight: 900;
    font-size: 0.85rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Encadrés conseils */
.callout {
    margin: 24px 0;
    padding: 20px 24px;
    border-radius: 12px;
    border-left: 5px solid;
}
.callout strong {
    display: block;
    font-family: 'Fredoka One', cursive;
    font-size: 1.05rem;
    margin-bottom: 6px;
    font-weight: normal;
}
.callout p { margin: 0; line-height: 1.65; }
.callout-tip {
    background: #fdf6e8;
    border-color: #F4B942;
}
.callout-tip strong { color: #6B4F3A; }
.callout-warning {
    background: #fdeeec;
    border-color: #C44536;
}
.callout-warning strong { color: #C44536; }

/* Tableaux article */
.article-table-wrap {
    margin: 22px 0 26px;
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(107, 79, 58, 0.06);
}
.article-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 0.95rem;
}
.article-table thead {
    background: #6B4F3A;
    color: #F4B942;
}
.article-table th {
    text-align: left;
    padding: 14px 18px;
    font-family: 'Fredoka One', cursive;
    font-size: 0.95rem;
    font-weight: normal;
}
.article-table td {
    padding: 12px 18px;
    border-bottom: 1px solid #f0e6da;
    color: #3a2e25;
    vertical-align: top;
}
.article-table tbody tr:last-child td { border-bottom: none; }
.article-table tbody tr:nth-child(even) { background: #faf3e8; }

/* FAQ */
.article-faq { margin: 16px 0 32px; }
.article-faq-item {
    background: #faf3e8;
    border-radius: 12px;
    padding: 18px 24px;
    margin-bottom: 12px;
}
.article-faq-item h3 {
    font-size: 1.08rem;
    color: #6B4F3A;
    margin-top: 0;
    margin-bottom: 8px;
}
.article-faq-item p { margin-bottom: 0; }

/* Bloc final partage / lecture suggérée */
.article-share-block {
    margin-top: 40px;
    padding: 28px 32px;
    background: linear-gradient(135deg, #fdf6e8 0%, #faeede 100%);
    border-radius: 16px;
    border: 2px dashed #F4B942;
}
.article-share-block h3 {
    margin-top: 0;
    color: #6B4F3A;
}
.article-share-block p { margin-bottom: 12px; }
.article-related {
    list-style: none;
    padding: 0;
}
.article-related li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(244, 185, 66, 0.3);
}
.article-related li:last-child { border-bottom: none; }
.article-related a {
    color: #C44536;
    font-weight: 700;
}

@media (max-width: 968px) {
    .article-grid { grid-template-columns: 1fr; gap: 30px; }
    .article-toc-wrap { position: static; }
    .blog-card-feature { grid-template-columns: 1fr; }
    .blog-card-feature .blog-card-visual { aspect-ratio: 16 / 10; min-height: 0; }
}

/* --- Responsive --- */
@media (max-width: 968px) {
    .fiche-entete-grille { grid-template-columns: 280px 1fr; gap: 30px; }
    .game-content-grid { grid-template-columns: 1fr; }
    .game-sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 768px) {
    body { font-size: 16px; }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }
    .accueil-bandeau h1 { font-size: 2.2rem; }
    .accueil-bandeau { padding: 50px 0 40px; }
    .search-box.active { width: 220px; }
    .search-results { width: 300px; }
    .search-page-form { flex-direction: column; }
    .fiche-entete-grille { grid-template-columns: 1fr; text-align: center; }
    .fiche-entete-visuel { max-width: 280px; margin: 0 auto; }
    .game-specs { justify-content: center; }
    .fiche-entete-texte h1 { font-size: 2rem; }
    .pros-cons { grid-template-columns: 1fr; }
    .menu-toggle { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: #fffdf9;
        padding: 16px;
        box-shadow: 0 12px 24px rgba(107,79,58,0.14);
        border-bottom: 1px solid #f1e7d8;
    }
    .main-nav.open { display: block; }
    .main-nav > ul { flex-direction: column; gap: 4px; align-items: stretch; }
    .main-nav a { display: block; padding: 12px 16px; }
    .dropdown {
        display: none;
        position: static;
        box-shadow: none;
        background: #f9f1e4;
        border-radius: 10px;
        margin-top: 4px;
    }
    .has-dropdown.open .dropdown { display: block; }
    .dropdown li a { color: #5a4534; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .article-header { padding: 36px 0 30px; }
    .article-header h1 { font-size: 1.9rem; }
    .article-lead { font-size: 1rem; }
    .article-visual { margin-top: -20px; }
    .article-visual-inner img { max-height: 280px; }
    .article-content { padding: 28px 22px 32px; font-size: 1rem; }
    .article-content > h2 { font-size: 1.4rem; }
    .article-content h3 { font-size: 1.08rem; }
    .article-contenu { padding: 22px 22px 24px; }
    .article-contenu h2 { font-size: 1.3rem; }
    .blog-coming-soon { padding: 26px 24px; }
}
@media (max-width: 480px) {
    .accueil-bandeau h1 { font-size: 1.7rem; }
    .games-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: 1fr; }
    .game-specs { flex-direction: column; align-items: center; }
}

/* ============================================
   REFONTE 2026 - accueil photo, pictos, bandeaux
   ============================================ */

/* Boutons additionnels */
.btn-lg { padding: 15px 34px; font-size: 1.05rem; }
.btn-jaune { background: #F4B942; color: #6B4F3A; }
.btn-jaune:hover { background: #e5a830; color: #3a2e25; transform: translateY(-2px); }
.btn-clair {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.55);
}
.btn-clair:hover { background: #fff; color: #6B4F3A; }
.btn-arrow { display: inline-block; margin-left: 8px; transition: transform 0.2s; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* Hero accueil */
.hero {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    background-color: #241a12;
    background-image: url(/img/hero-fond.jpg);
    background-image: image-set(url("/img/hero-fond.webp") type("image/webp"), url("/img/hero-fond.jpg") type("image/jpeg"));
    background-size: cover;
    background-position: center right;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(26,18,12,0.9) 0%, rgba(26,18,12,0.68) 40%, rgba(26,18,12,0.15) 72%, rgba(26,18,12,0) 100%);
}
.hero .container { position: relative; z-index: 1; flex: 1 1 100%; min-width: 0; }
.hero-content { max-width: 600px; color: #fff; }
.hero-eyebrow {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: #F4B942;
    margin-bottom: 16px;
}
.hero h1 { color: #fff; font-size: 2.9rem; line-height: 1.14; margin-bottom: 16px; }
.hero-accent { color: #F4B942; }
.hero p { font-size: 1.18rem; line-height: 1.6; opacity: 0.92; max-width: 540px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 30px;
}
.hero-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.94rem;
    font-weight: 600;
    color: rgba(255,255,255,0.92);
}
.hero-features svg { width: 19px; height: 19px; color: #F4B942; flex-shrink: 0; }

/* Lien d'en-tête de section + bande crème */
.section-link {
    font-weight: 700;
    color: #C44536;
    font-size: 0.95rem;
    white-space: nowrap;
}
.section-link span { transition: transform 0.2s; display: inline-block; }
.section-link:hover { color: #6B4F3A; }
.section-link:hover span { transform: translateX(3px); }
.section-cream { background: #fff; }

/* Cartes jeu affinées */
.game-card { border: 1px solid #f1e7d8; }
.carte-etiquette {
    background: #E0742E;
    color: #fff;
    box-shadow: 0 2px 8px rgba(224,116,46,0.3);
}
.game-card-meta { gap: 10px; }
.game-card-meta span { gap: 5px; }
.game-card-meta svg { width: 14px; height: 14px; color: #b08b5a; flex-shrink: 0; }

/* Bandeau quiz (bois) */
.quiz-banner {
    background: linear-gradient(120deg, #4f3a2a 0%, #6B4F3A 55%, #7d5d42 100%);
    display: flex;
    align-items: center;
    gap: 32px;
    text-align: left;
    padding: 44px 48px;
    position: relative;
    overflow: hidden;
}
.quiz-banner-text { flex: 1; min-width: 0; }
.quiz-banner-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #F4B942;
    margin-bottom: 10px;
}
.quiz-banner h2 { color: #fff; margin-bottom: 8px; }
.quiz-banner p { margin: 0; opacity: 0.92; max-width: 540px; font-size: 1.02rem; color: #f0e6da; }
.quiz-banner .btn { position: relative; z-index: 2; flex-shrink: 0; }
.quiz-banner-deco {
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%) rotate(-12deg);
    color: rgba(244,185,66,0.16);
    pointer-events: none;
    z-index: 0;
}
.quiz-banner-deco svg { width: 150px; height: 150px; }

/* Bande engagements */
.engagements { padding-top: 10px; }
.engagements-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.engagement {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #f1e7d8;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 3px 12px rgba(107,79,58,0.05);
}
.engagement-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: #fbe9d8;
    color: #C44536;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.engagement-icon svg { width: 26px; height: 26px; }
.engagement strong {
    display: block;
    font-family: 'Fredoka One', cursive;
    color: #6B4F3A;
    font-size: 1.02rem;
    margin-bottom: 3px;
}
.engagement p { margin: 0; font-size: 0.86rem; color: #8a7668; line-height: 1.45; }

/* Responsive refonte */
@media (max-width: 900px) {
    .hero { min-height: 470px; }
    .hero h1 { font-size: 2.4rem; }
    .engagements-grid { grid-template-columns: repeat(2, 1fr); }
    .quiz-banner { flex-direction: column; align-items: flex-start; gap: 22px; padding: 34px 30px; }
}
@media (max-width: 768px) {
    .hero { min-height: 0; padding: 60px 0 54px; align-items: stretch; }
    .hero::before { background: linear-gradient(170deg, rgba(26,18,12,0.66) 0%, rgba(26,18,12,0.86) 100%); }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1.05rem; }
    .hero-actions { width: 100%; flex-direction: column; align-items: stretch; }
    .hero-actions .btn { text-align: center; }
    .hero-features { flex-direction: column; gap: 10px; }
    .section-header { flex-wrap: wrap; gap: 6px 16px; }
    .logo img { height: 42px; }
}
@media (max-width: 560px) {
    .engagements-grid { grid-template-columns: 1fr; }
    .quiz-banner-deco { display: none; }
}
