/* Bestfrancebonusoffer.com — Design unique : thème clair chaleureux */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    --bg-cream: #f7f4ef;
    --bg-sand: #ebe6de;
    --bg-card: #ffffff;
    --text-dark: #2d2a26;
    --text-muted: #6b6560;
    --accent-coral: #c45c3e;
    --accent-teal: #2a7c6f;
    --accent-gold: #b8860b;
    --border-soft: #ddd8d0;
    --shadow-soft: 0 2px 12px rgba(45, 42, 38, 0.06);
    --shadow-card: 0 4px 20px rgba(45, 42, 38, 0.08);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    color: var(--text-dark);
    background: var(--bg-cream);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Header — barre horizontale, nav à droite */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(247, 244, 239, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--border-soft);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.logo span {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.nav {
    display: flex;
    gap: 1.5rem;
}

.nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
    color: var(--accent-coral);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero — pleine largeur, centré, pas de sidebar */
.hero-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
}

.hero-visual {
    text-align: center;
    margin-bottom: 1.5rem;
}

.hero-visual img {
    max-width: 120px;
    height: auto;
    object-fit: contain;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.hero-tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-sm);
}

.hero-tag.update {
    background: var(--accent-teal);
    color: white;
}

.hero-tag.age {
    background: var(--accent-coral);
    color: white;
}

.hero-tag.info {
    background: var(--accent-gold);
    color: var(--text-dark);
}

.hero-section h1 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    line-height: 1.35;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-align: center;
}

.hero-section .hero-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.hero-btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: transform 0.2s, box-shadow 0.2s;
}

.hero-btn.primary {
    background: var(--accent-coral);
    color: white;
}

.hero-btn.secondary {
    background: var(--bg-card);
    color: var(--text-dark);
    border: 2px solid var(--border-soft);
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.hero-warning {
    background: rgba(184, 134, 11, 0.12);
    border: 1px solid rgba(184, 134, 11, 0.3);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-warning a {
    color: var(--accent-gold);
    text-decoration: underline;
}

/* Checklist — bande horizontale sous le hero */
.checklist-strip {
    background: var(--bg-sand);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    padding: 1.5rem 1.5rem;
}

.checklist-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
}

.checklist-content h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--accent-teal);
}

.checklist-content ul {
    list-style: none;
}

.checklist-content li {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    padding-left: 1rem;
    position: relative;
}

.checklist-content li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-teal);
}

.checklist-visual {
    text-align: center;
}

.checklist-visual img {
    max-width: 100px;
    max-height: 80px;
    object-fit: contain;
}

.checklist-contact {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.checklist-contact strong {
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .checklist-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .checklist-content li { padding-left: 0; }
    .checklist-content li::before { display: none; }
}

/* Offers — grille 3 colonnes sur desktop */
.offers-section {
    padding: 2.5rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.offers-section h2 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.offers-section .intro {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

@media (max-width: 900px) {
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .offers-grid {
        grid-template-columns: 1fr;
    }
}

.offer-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.offer-card:hover {
    box-shadow: var(--shadow-card);
    border-color: var(--accent-teal);
}

.offer-rank {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.offer-logo-wrap {
    width: 100%;
    height: 60px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.offer-logo-wrap img {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
}

.offer-logo-wrap.offer-logo-dark {
    background: #1a1a1a;
    border-radius: var(--radius-sm);
    padding: 0.5rem;
}

.offer-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--text-dark);
}

.offer-card .offer-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.offer-rating {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
}

.offer-rating .stars {
    color: var(--accent-gold);
    font-size: 0.85rem;
}

.offer-rating .score {
    font-weight: 600;
    color: var(--text-dark);
}

.offer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.offer-tags span {
    font-size: 0.68rem;
    padding: 0.2rem 0.45rem;
    background: var(--bg-sand);
    border-radius: 4px;
    color: var(--text-muted);
}

.offer-bonus,
.offer-verify {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.offer-bonus strong,
.offer-verify strong {
    color: var(--text-dark);
}

.offer-btns {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
}

.offer-btn-outline {
    padding: 0.55rem 1rem;
    font-size: 0.82rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    background: transparent;
    border: 1px solid var(--border-soft);
    color: var(--text-dark);
    text-align: center;
    transition: border-color 0.2s, background 0.2s;
}

.offer-btn-outline:hover {
    border-color: var(--accent-teal);
    background: rgba(42, 124, 111, 0.06);
}

.offer-btn-cta {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    background: var(--accent-teal);
    color: white;
    text-align: center;
    border: none;
    transition: transform 0.2s, opacity 0.2s;
}

.offer-btn-cta:hover {
    transform: scale(1.02);
    opacity: 0.95;
}

/* Important notice */
.important-notice-wrap {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.important-notice-logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.important-notice {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.important-notice strong {
    color: var(--accent-coral);
}

@media (max-width: 560px) {
    .important-notice-wrap {
        flex-direction: column;
        align-items: center;
    }
}

/* Guide — 4 cartes en ligne */
.guide-section {
    padding: 2.5rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.guide-section .page-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.guide-section .page-logo img {
    max-width: 90px;
    object-fit: contain;
}

.guide-section h2 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.guide-section .intro {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

@media (max-width: 900px) {
    .guide-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .guide-grid {
        grid-template-columns: 1fr;
    }
}

.guide-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
}

.guide-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--accent-teal);
}

.guide-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.guide-resource {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.guide-resource a {
    color: var(--accent-teal);
    text-decoration: underline;
}

/* FAQ */
.faq-section {
    padding: 2.5rem 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-logo {
    text-align: center;
    margin-bottom: 1rem;
}

.faq-logo img {
    max-width: 70px;
    object-fit: contain;
}

.faq-section h2 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.faq-section .intro {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.faq-item {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    margin-bottom: 0.5rem;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: none;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.faq-trigger::after {
    content: '+';
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--accent-coral);
}

.faq-item.open .faq-trigger::after {
    content: '−';
}

.faq-content {
    padding: 0 1.25rem 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.faq-item:not(.open) .faq-content {
    display: none;
}

/* Footer */
.footer {
    background: var(--bg-sand);
    border-top: 2px solid var(--border-soft);
    padding: 2rem 1.5rem;
    margin-top: 2rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.footer-tag {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    background: var(--accent-coral);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.footer-disclaimer {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.footer-logo span {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--accent-teal);
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Popup 18+ */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(45, 42, 38, 0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.popup-overlay.hidden {
    display: none;
}

.popup-box {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 400px;
    text-align: center;
    border: 2px solid var(--border-soft);
    box-shadow: var(--shadow-card);
}

.popup-box img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.popup-box h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.popup-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.popup-btns {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.popup-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.2s;
}

.popup-btn.no {
    background: var(--bg-sand);
    color: var(--text-dark);
    border: 2px solid var(--border-soft);
}

.popup-btn.yes {
    background: var(--accent-teal);
    color: white;
}

.popup-btn:hover {
    transform: scale(1.02);
}

/* Page content (privacy, terms, about, legal, games) */
.page-content {
    padding: 3rem 1.5rem;
    max-width: 780px;
    margin: 0 auto;
}

.page-content .page-logo img {
    max-width: 90px;
    height: auto;
    object-fit: contain;
}

.page-content h1 {
    font-size: 1.85rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.page-content h2 {
    font-size: 1.2rem;
    margin: 2rem 0 0.75rem;
    color: var(--accent-teal);
}

.page-content p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.page-content a {
    color: var(--accent-teal);
    text-decoration: underline;
}

.page-content a:hover {
    color: var(--accent-coral);
}

/* Games page */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.game-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
}

.game-card .block-img {
    height: 70px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.game-card .block-img.block-img-dark {
    background: #1a1a1a;
    border-radius: var(--radius-sm);
    padding: 0.5rem;
}

.game-card .block-img img {
    max-width: 110px;
    max-height: 70px;
    object-fit: contain;
}

.game-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.game-card p {
    font-size: 0.88rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.block-img img {
    object-fit: contain;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-cream);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 2px solid var(--border-soft);
    }

    .nav.open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }
}

@media (max-width: 560px) {
    .important-notice-wrap {
        flex-direction: column;
        align-items: center;
    }
}
