/*
Theme Name: Beauval Child
Template: blocksy
Version: 2.2.2
Description: Child theme - Safari Premium
*/

/* ─── Variables ───────────────────────────────────────────── */
:root {
    --theme-palette-color-1: #C4622D;
    --theme-palette-color-2: #1B3A2D;
    --theme-palette-color-3: #1C1C1C;
    --theme-palette-color-4: #1C1C1C;
    --theme-palette-color-5: #F2E4C4;
    --theme-palette-color-6: #F2E4C4;
    --theme-palette-color-7: #FAF7F2;
    --theme-palette-color-8: #FFFFFF;

    --forest:     #1B3A2D;
    --forest-2:   #254D3C;
    --terra:      #C4622D;
    --terra-2:    #A34E22;
    --sand:       #F2E4C4;
    --cream:      #FAF7F2;
    --dark:       #1C1C1C;
    --mid:        #4A4A4A;
    --soft:       #8A8A7A;
    --border:     #E0D5C5;
    --white:      #FFFFFF;
}

/* ─── Base ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body { font-family: 'DM Sans', system-ui, sans-serif; background: var(--cream); color: var(--dark); -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4 { font-family: 'Fredoka', system-ui, sans-serif; line-height: 1.15; color: var(--dark); margin: 0; }
p { font-family: 'DM Sans', system-ui, sans-serif; }
a { color: var(--terra); text-decoration: none; transition: color .2s; }
a:hover { color: var(--terra-2); }
a[href],
area[href],
button,
input[type="submit"],
input[type="button"],
input[type="reset"],
summary,
label[for],
[role="button"] {
    cursor: pointer !important;
}
a[href] *,
button *,
summary *,
[role="button"] * {
    cursor: inherit !important;
}
a[href]::before,
a[href]::after,
button::before,
button::after,
summary::before,
summary::after,
[role="button"]::before,
[role="button"]::after {
    cursor: pointer !important;
}

/* ─── Header custom ───────────────────────────────────────── */
/* Masquer header Blocksy - on utilise notre propre header.php */
#header, .ct-header { display: none !important; }

.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--forest);
    border-bottom: 1px solid rgba(242,228,196,0.08);
    isolation: isolate;
    transition: box-shadow .3s, background .3s;
}
.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: transparent;
    transition: background .3s, backdrop-filter .3s, -webkit-backdrop-filter .3s;
}
.site-header.is-scrolled {
    box-shadow: 0 2px 24px rgba(0,0,0,0.22);
}
.site-header.is-scrolled::before {
    background: rgba(27,58,45,0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.header-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 32px;
    height: 68px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Logo */
.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
}
.logo-icon { display: flex; align-items: center; }
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.logo-title {
    font-family: 'Fredoka', system-ui, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--sand);
    letter-spacing: .01em;
}
.logo-sub {
    font-family: 'DM Sans', sans-serif;
    font-size: .65rem;
    font-weight: 400;
    color: rgba(242,228,196,.45);
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-top: 3px;
}

/* Nav */
.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-link {
    display: block;
    padding: 6px 12px;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-size: .75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(242,228,196,.65);
    text-decoration: none;
    border-radius: 4px;
    transition: color .2s, background .2s;
}
.nav-link:hover, .nav-link:focus {
    color: var(--sand);
    background: rgba(242,228,196,.07);
}
.nav-cta {
    margin-left: 16px;
    padding: 9px 20px;
    cursor: pointer;
    background: var(--terra);
    color: var(--cream) !important;
    font-family: 'DM Sans', sans-serif;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: 6px;
    text-decoration: none;
    transition: background .2s, box-shadow .2s;
    white-space: nowrap;
}
.header-logo,
.site-nav,
.nav-list,
.nav-list li,
.nav-link,
.nav-cta {
    position: relative;
    z-index: 1;
}
.nav-cta:hover { background: var(--terra-2); box-shadow: 0 6px 18px rgba(196,98,45,.28); color: var(--cream) !important; }

/* Burger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    width: 36px;
    height: 36px;
}
.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--sand);
    border-radius: 2px;
    flex-shrink: 0;
    transition: transform .25s, opacity .25s;
}

/* Mobile nav */
@media (max-width: 820px) {
    .nav-toggle { display: flex; }
    .site-nav {
        display: none;
        position: absolute;
        top: 68px; left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--forest);
        border-top: 1px solid rgba(242,228,196,.08);
        padding: 16px 24px 24px;
        gap: 4px;
    }
    .site-nav.is-open { display: flex; }
    .nav-list { flex-direction: column; gap: 2px; width: 100%; }
    .nav-link { font-size: .85rem; padding: 10px 14px; }
    .nav-cta { margin: 12px 0 0; text-align: center; padding: 13px 20px; }
}

/* ─── Footer custom ───────────────────────────────────────── */
/* Masquer footer Blocksy */
#footer, .ct-footer { display: none !important; }

.site-footer {
    background: var(--forest);
    color: rgba(242,228,196,.7);
    font-family: 'DM Sans', sans-serif;
    border-top: 1px solid rgba(242,228,196,.1);
}
.footer-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 60px 32px 40px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
}
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Fredoka', system-ui, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--sand);
    text-decoration: none;
    margin-bottom: 16px;
}
.footer-logo:hover { color: var(--sand); opacity: .85; }
.footer-tagline {
    font-size: .82rem;
    line-height: 1.65;
    color: rgba(242,228,196,.5);
    margin: 0;
    max-width: 300px;
}
.footer-col-title {
    font-family: 'DM Sans', sans-serif;
    font-size: .68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: rgba(242,228,196,.45);
    margin: 0 0 16px;
}
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a {
    font-size: .85rem;
    color: rgba(242,228,196,.65);
    text-decoration: none;
    transition: color .2s;
}
.footer-links a:hover { color: var(--sand); }

.footer-bottom {
    border-top: 1px solid rgba(242,228,196,.08);
}
.footer-bottom-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 20px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-legal {
    font-size: .76rem;
    color: rgba(242,228,196,.35);
    margin: 0;
    max-width: 600px;
    line-height: 1.6;
}
.footer-legal strong { font-weight: 500; color: rgba(242,228,196,.5); }
.footer-copy {
    font-size: .76rem;
    color: rgba(242,228,196,.3);
    margin: 0;
    white-space: nowrap;
}
.footer-copy a { color: rgba(242,228,196,.45); }
.footer-copy a:hover { color: var(--sand); }

@media (max-width: 820px) {
    .footer-inner { grid-template-columns: 1fr; gap: 32px; padding: 40px 24px 32px; }
    .footer-bottom-inner { flex-direction: column; align-items: flex-start; padding: 16px 24px; }
}

/* ─── Reset Blocksy layout ────────────────────────────────── */
/* Blocksy peut ajouter padding-top sur body pour son header sticky - on neutralise */
body.has-transparent-header { padding-top: 0 !important; }
body[style*="padding-top"] { padding-top: 0 !important; }

/* ─── Masquer titre page d'accueil ────────────────────────── */
.home .entry-header, .home .page-header, .home .ct-page-title { display: none !important; }

/* ─── Wrapper ─────────────────────────────────────────────── */
.section-wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

/* ─── HERO ────────────────────────────────────────────────── */
.hero-home {
    position: relative;
    margin-top: 68px;
    height: calc(100vh - 68px);
    min-height: 520px;
    max-height: 780px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .9s ease;
}
.hero-slide--active { opacity: 1; }
.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg,
        rgba(14,30,22,.92) 0%,
        rgba(14,30,22,.80) 30%,
        rgba(14,30,22,.45) 55%,
        rgba(14,30,22,.08) 75%,
        transparent 100%);
    z-index: 1;
}
.hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    padding-left: max(40px, calc((100vw - 1160px) / 2 + 64px));
    padding-right: max(40px, calc((100vw - 1160px) / 2 + 64px));
}
.hero-inner { max-width: 580px; }
.hero-dots {
    position: absolute;
    bottom: 32px;
    right: 40px;
    display: flex;
    gap: 8px;
    z-index: 10;
}
.hero-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.35);
    cursor: pointer;
    padding: 0;
    transition: background .3s, transform .3s;
}
.hero-dot--active { background: var(--terra); transform: scale(1.35); }



/* Hero : styles texte */
.hero-label {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: var(--terra);
    background: rgba(196,98,45,.15);
    padding: 6px 14px;
    border-radius: 2px;
    margin-bottom: 1.6rem;
}
.hero-inner h1 {
    font-family: 'Fredoka', system-ui, sans-serif;
    font-size: clamp(2.6rem, 4.5vw, 4rem);
    font-weight: 600;
    color: var(--sand);
    line-height: 1.08;
    margin-bottom: 1.4rem;
}
.hero-subtitle {
    font-size: 1rem;
    line-height: 1.72;
    color: rgba(242,228,196,.72);
    margin: 0 0 2.4rem;
}
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-btn-primary {
    background: linear-gradient(135deg, #d4723a 0%, var(--terra) 50%, #b85828 100%);
    color: #fff !important;
    font-family: 'Fredoka', system-ui, sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 16px 36px;
    border-radius: 12px;
    letter-spacing: .02em;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(196,98,45,.4), inset 0 1px 0 rgba(255,255,255,.15);
    transition: background .2s, box-shadow .2s;
    text-decoration: none !important;
}
.hero-btn-primary:hover { background: linear-gradient(135deg, #c96a34 0%, var(--terra-2) 50%, #a34e22 100%); box-shadow: 0 8px 28px rgba(196,98,45,.5); color: #fff !important; }
.hero-btn-outline {
    background: rgba(255,255,255,.06);
    color: rgba(242,228,196,.9) !important;
    font-family: 'Fredoka', system-ui, sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 15px 36px;
    border-radius: 12px;
    border: 1.5px solid rgba(242,228,196,.3);
    letter-spacing: .02em;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    text-decoration: none !important;
}
.hero-btn-outline:hover { border-color: rgba(242,228,196,.65); background: rgba(242,228,196,.1); color: var(--sand) !important; }

/* ─── Hero responsive ─────────────────────────────────────── */
@media (max-width: 960px) {
    .hero-home {
        margin-top: 64px;
        height: calc(100vh - 64px);
        max-height: none;
    }
    .hero-overlay {
        background: linear-gradient(to top,
            rgba(14,30,22,.97) 0%,
            rgba(14,30,22,.82) 45%,
            rgba(14,30,22,.45) 100%);
    }
    .hero-content {
        align-items: center;
        padding: 40px 24px 80px;
    }
    .hero-inner {
        max-width: 100%;
        text-align: center;
    }
    .hero-buttons { justify-content: center; }
    .hero-dots { bottom: 20px; right: 50%; transform: translateX(50%); }
}
@media (max-width: 600px) {
    .hero-inner h1 { font-size: 2.2rem; }
}

/* ─── Section heads ───────────────────────────────────────── */
.section-head { margin-bottom: 3rem; }
.section-head h2 {
    font-family: 'Fredoka', system-ui, sans-serif;
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 600;
    color: var(--forest);
    margin-bottom: .4rem;
}
.section-head h2::after {
    content: '';
    display: block;
    width: 36px;
    height: 2px;
    background: var(--terra);
    margin-top: 10px;
    border-radius: 2px;
}
.section-head p { font-size: .92rem; color: var(--soft); margin-top: .5rem; }
.section-head--light h2 { color: var(--forest); }

/* ─── GUIDES ──────────────────────────────────────────────── */
.section-guides { background: var(--cream); padding: 88px 0; }
.section-guides--alt { background: var(--white); }
.guides-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.guide-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2rem 1.6rem 1.8rem;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, border-color .2s;
    text-decoration: none !important;
    color: inherit;
}
.guide-card:hover { box-shadow: 0 16px 40px rgba(27,58,45,.1); border-color: var(--terra); }
.guide-card-num {
    font-family: 'Fredoka', system-ui, sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: rgba(27,58,45,.12);
    line-height: 1;
    margin-bottom: .8rem;
    transition: color .2s;
}
.guide-card:hover .guide-card-num { color: rgba(196,98,45,.2); }
.guide-card h3 { font-family: 'Fredoka', system-ui, sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--forest); margin-bottom: .6rem; }
.guide-card p { font-size: .87rem; line-height: 1.65; color: var(--mid); flex: 1; margin-bottom: 1.2rem; }
.guide-card-link { font-family: 'DM Sans', sans-serif; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--terra); }
.guide-card:hover .guide-card-link { color: var(--forest); }

/* ─── PRIORITÉ ────────────────────────────────────────────── */
.section-priority { background: var(--sand); padding: 88px 0; }
.priority-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.priority-card {
    background: var(--white);
    border-radius: 4px;
    border: 1px solid rgba(27,58,45,.1);
    padding: 1.6rem 1.8rem;
    display: block;
    text-decoration: none !important;
    color: inherit;
    transition: box-shadow .2s;
}
.priority-card:hover { box-shadow: 0 8px 30px rgba(27,58,45,.1); }
.priority-card-tag {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: .68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--terra);
    margin-bottom: .7rem;
}
.priority-card h3 { font-family: 'Fredoka', system-ui, sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--dark); margin-bottom: .4rem; }
.priority-card p { font-size: .87rem; color: var(--mid); line-height: 1.6; margin: 0; }

/* ─── Quick links (infos pratiques) ──────────────────────── */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.quick-link-card {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1.4rem 1.4rem 1.2rem;
    text-decoration: none !important;
    color: inherit;
    transition: box-shadow .2s, border-color .2s;
    display: block;
}
.quick-link-card:hover { box-shadow: 0 8px 24px rgba(27,58,45,.09); border-color: var(--terra); }
.quick-link-card h3 { font-family: 'Fredoka', system-ui, sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--forest); margin-bottom: .35rem; }
.quick-link-card p { font-size: .83rem; color: var(--mid); line-height: 1.55; margin: 0; }

/* ─── Disclaimer ──────────────────────────────────────────── */
.disclaimer-home { background: var(--forest); text-align: center; font-size: .8rem; color: rgba(242,228,196,.45); padding: 28px 24px; font-style: italic; line-height: 1.7; }

/* ─── Footer ──────────────────────────────────────────────── */
#footer, .ct-footer { background: var(--forest) !important; }
#footer *, .ct-footer * { color: rgba(242,228,196,.65) !important; }
#footer a:hover, .ct-footer a:hover { color: var(--sand) !important; }

/* ─── ARTICLE ─────────────────────────────────────────────── */
.article-hero { background: var(--forest); padding: 64px 32px 52px; }
.article-hero h1 { font-family: 'Fredoka', system-ui, sans-serif; font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 600; color: var(--sand); max-width: 820px; margin: 0 auto; line-height: 1.15; }

.article-body { max-width: 960px; margin: 0 auto; padding: 52px 32px 80px; }
.article-intro { font-size: 1.08rem; line-height: 1.8; color: var(--mid); border-left: 3px solid var(--terra); padding-left: 1.2rem; margin-bottom: 2.8rem; }
.article-body h2 { font-family: 'Fredoka', system-ui, sans-serif; font-size: clamp(1.5rem, 2.5vw, 1.9rem); font-weight: 600; color: var(--forest); margin: 3rem 0 .8rem; padding-bottom: .6rem; border-bottom: 1px solid var(--border); }
.article-body h3 { font-family: 'Fredoka', system-ui, sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--terra); margin: 2rem 0 .5rem; }
.article-body p { font-size: .98rem; line-height: 1.8; color: var(--mid); margin-bottom: 1.1rem; }
.article-body a { color: var(--terra); text-decoration: underline; text-decoration-color: rgba(196,98,45,.3); text-underline-offset: 3px; }
.article-body a:hover { color: var(--forest); }

.article-list { list-style: none; padding: 0; margin: 1rem 0 1.8rem; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.article-list li { padding: .75rem 1rem .75rem 2.6rem; position: relative; font-size: .95rem; line-height: 1.65; color: var(--mid); border-bottom: 1px solid #f0e8dc; background: var(--white); }
.article-list li:last-child { border-bottom: none; }
.article-list li::before { content: '✓'; position: absolute; left: .9rem; color: var(--forest); font-weight: 700; }

/* Tableau */
.tarifs-table-wrap { overflow-x: auto; margin: 1.6rem 0; border-radius: 6px; border: 1px solid var(--border); box-shadow: 0 4px 16px rgba(27,58,45,.07); }
.tarifs-table { width: 100%; border-collapse: collapse; font-family: 'DM Sans', sans-serif; font-size: .93rem; }
.tarifs-table thead { background: var(--forest); }
.tarifs-table thead th { padding: 14px 18px; text-align: left; font-weight: 600; font-size: .76rem; color: var(--sand); text-transform: uppercase; letter-spacing: .1em; }
.tarifs-table tbody tr { border-bottom: 1px solid #f0e8dc; transition: background .15s; }
.tarifs-table tbody tr:hover { background: #faf6ef; }
.tarifs-table tbody td { padding: 13px 18px; color: var(--mid); }
.tarif-prix { font-weight: 600; color: var(--dark) !important; }
.tarif-cher { color: #bbb !important; text-decoration: line-through; font-weight: 400 !important; }
.tarif-gratuit { color: var(--forest) !important; font-weight: 700 !important; }
.tarifs-note { font-size: .82rem !important; color: var(--soft) !important; font-style: italic; margin-top: .4rem !important; }

/* ─── Gutenberg block buttons (wp-block-button) ───────────── */
.wp-block-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 1.6rem 0;
}
.wp-block-button {
    display: inline-flex;
}
.wp-block-button__link,
.wp-element-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    padding: 17px 40px;
    background: linear-gradient(135deg, #d4723a 0%, var(--terra) 50%, #b85828 100%);
    color: #fff !important;
    font-family: 'Fredoka', system-ui, sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: .02em;
    border-radius: 12px;
    text-decoration: none !important;
    border: none;
    outline: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(196,98,45,.35), inset 0 1px 0 rgba(255,255,255,.15);
    transition: background .2s, box-shadow .2s;
    white-space: nowrap;
    width: auto !important;
    min-width: 0;
}
.wp-block-button__link:hover,
.wp-element-button:hover {
    background: linear-gradient(135deg, #c96a34 0%, var(--terra-2) 50%, #a34e22 100%);
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(196,98,45,.45), inset 0 1px 0 rgba(255,255,255,.15);
    text-decoration: none !important;
}
.wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent;
    color: var(--forest) !important;
    border: 2px solid var(--forest);
    box-shadow: none;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background: var(--forest);
    color: var(--sand) !important;
    box-shadow: 0 4px 16px rgba(27,58,45,.2);
}

/* CTA */
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px; border-radius: 6px; margin: 2.4rem 0; flex-wrap: wrap; }
.cta-box--primary { background: var(--forest); }
.cta-box--secondary { background: var(--sand); border: 1px solid rgba(27,58,45,.15); }
.cta-box__text { flex: 1; min-width: 180px; }
.cta-box--primary .cta-box__text strong { display: block; font-family: 'Fredoka', system-ui, sans-serif; font-size: 1.2rem; font-weight: 600; color: var(--sand); margin-bottom: 3px; }
.cta-box--primary .cta-box__text span { font-size: .85rem; color: rgba(242,228,196,.85); }
.cta-box--primary p { color: var(--sand) !important; margin: 0; }
.cta-box--primary p strong { color: var(--sand) !important; font-family: 'Fredoka', system-ui, sans-serif; font-size: 1.2rem; font-weight: 600; display: block; margin-bottom: 3px; }
.cta-box--secondary p { color: var(--forest); margin: 0; }
.cta-box--secondary p strong { color: var(--forest); font-family: 'Fredoka', system-ui, sans-serif; font-size: 1.2rem; font-weight: 600; display: block; margin-bottom: 3px; }
.cta-box--secondary .cta-box__text strong { display: block; font-family: 'Fredoka', system-ui, sans-serif; font-size: 1.2rem; font-weight: 600; color: var(--forest); margin-bottom: 3px; }
.cta-box--secondary .cta-box__text span { font-size: .85rem; color: var(--mid); }
.cta-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 16px 36px; border-radius: 12px; font-family: 'Fredoka', system-ui, sans-serif; font-weight: 600; font-size: 1.1rem; letter-spacing: .02em; text-decoration: none !important; white-space: nowrap; cursor: pointer; transition: background .2s, box-shadow .2s; }
.cta-btn--primary { background: linear-gradient(135deg, #d4723a 0%, var(--terra) 50%, #b85828 100%); color: #fff !important; box-shadow: 0 4px 16px rgba(196,98,45,.35), inset 0 1px 0 rgba(255,255,255,.15); }
.cta-btn--primary:hover { background: linear-gradient(135deg, #c96a34 0%, var(--terra-2) 50%, #a34e22 100%); box-shadow: 0 8px 24px rgba(196,98,45,.45); color: #fff !important; }

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
    .quick-links-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .hero-home { grid-template-columns: 1fr; padding: 70px 32px 60px; min-height: auto; }
    .hero-deco { display: none; }
    .guides-grid { grid-template-columns: repeat(2, 1fr); }
    .priority-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .hero-home { padding: 60px 20px 50px; }
    .section-wrap { padding: 0 20px; }
    .guides-grid { grid-template-columns: 1fr; }
    .priority-grid { grid-template-columns: 1fr; }
    .quick-links-grid { grid-template-columns: 1fr; }
    .cta-box { flex-direction: column; }
    .cta-btn { width: 100%; text-align: center; }
    .article-body { padding: 36px 20px 60px; }
}

/* ─── Admin bar - compenser header fixe ──────────────────── */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* ─── Template page article ───────────────────────────────── */
.article-page {}

.article-page-header {
    background: var(--forest);
    padding: 140px 32px 56px;
    text-align: center;
}
.article-page-header__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.article-page-header__row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    max-width: 860px;
    width: 100%;
}
.article-page-tag {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: .68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--terra);
    background: rgba(196,98,45,.15);
    border: 1px solid rgba(196,98,45,.25);
    border-radius: 20px;
    padding: 4px 14px;
    margin-bottom: 20px;
}
.article-page-title {
    font-family: 'Fredoka', system-ui, sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--sand);
    line-height: 1.15;
    margin: 0;
    text-align: left;
    flex: 1;
}
.article-page-macaron {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255,255,255,0.25);
    box-shadow: 0 6px 24px rgba(0,0,0,0.25);
}
.article-page-macaron img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-page-body {
    padding: 56px 32px 80px;
}
.article-page-content {
    max-width: 960px;
    margin: 0 auto;
}
.article-page-content h2 {
    font-family: 'Fredoka', system-ui, sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--forest);
    margin: 2.5rem 0 .8rem;
    padding-bottom: .4rem;
    border-bottom: 2px solid var(--sand);
}
.article-page-content h3 {
    font-family: 'Fredoka', system-ui, sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin: 1.8rem 0 .6rem;
}
.article-page-content p {
    font-size: .97rem;
    line-height: 1.8;
    color: var(--mid);
    margin: 0 0 1.2rem;
}
.article-page-content a { color: var(--terra); }
.article-page-content a:hover { color: var(--terra-2); }
.article-page-content strong { color: var(--dark); font-weight: 600; }

@media (max-width: 820px) {
    .article-page-header { padding: 120px 24px 40px; }
    .article-page-body { padding: 36px 24px 60px; }
    .article-page-header__row { flex-direction: column-reverse; align-items: center; gap: 20px; }
    .article-page-title { text-align: center; }
    .article-page-macaron { width: 110px; height: 110px; }
}

/* ============================================================
   FAQ Block — shortcode [faq]
   ============================================================ */
.faq-block {
    margin: 2.5rem 0;
    border: 1px solid var(--sand);
    border-radius: 8px;
    overflow: hidden;
}
.faq-block__title {
    font-family: 'Fredoka', system-ui, sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--forest);
    background: #f5f0e8;
    margin: 0;
    padding: .9rem 1.2rem;
    border-bottom: 1px solid var(--sand);
}
.faq-block__item {
    border-bottom: 1px solid var(--sand);
}
.faq-block__item:last-child {
    border-bottom: none;
}
.faq-block__question {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: .97rem;
    font-weight: 600;
    color: var(--dark);
    padding: .9rem 1.2rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;
}
.faq-block__question::-webkit-details-marker { display: none; }
.faq-block__question::after {
    content: '+';
    font-size: 1.3rem;
    color: var(--terra);
    flex-shrink: 0;
    transition: transform .2s;
}
.faq-block__item[open] .faq-block__question::after {
    transform: rotate(45deg);
}
.faq-block__answer {
    padding: .2rem 1.2rem 1rem;
    border-top: 1px solid var(--sand);
    background: #fdf9f4;
}
.faq-block__answer p {
    font-size: .95rem;
    line-height: 1.75;
    color: var(--mid);
    margin: .6rem 0 0;
}

/* ─── Animaux vedettes ────────────────────────────────────── */
.section-animals {
    background: var(--forest);
    padding: 72px 0;
}
.section-animals .section-head h2 { color: var(--sand); }
.section-animals .section-head p  { color: rgba(242,228,196,.55); }
.section-animals .section-head h2::after { background: var(--terra); }
.animals-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}
.animal-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    color: rgba(242,228,196,.75);
    transition: color .2s;
}
.animal-card:hover { color: var(--sand); }
.animal-card-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(242,228,196,.12);
    transition: border-color .25s;
}
.animal-card:hover .animal-card-img {
    border-color: var(--terra);
}
.animal-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.animal-card-name {
    font-family: 'DM Sans', sans-serif;
    font-size: .78rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: .02em;
}
@media (max-width: 900px) {
    .animals-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
    .animals-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Guide cards avec photo ──────────────────────────────── */
.guide-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, border-color .2s;
    text-decoration: none !important;
    color: inherit;
    overflow: hidden;
}
.guide-card-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.guide-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.guide-card:hover .guide-card-thumb img { transform: scale(1.06); }
.guide-card-body {
    padding: 1.4rem 1.6rem 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* ─── Mosaïque immersive ──────────────────────────────────── */
.section-mosaic {
    padding: 72px 0 72px;
    background: var(--cream);
}
.mosaic-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-top: 2.5rem;
}
/* Hauteur explicite sur chaque item — la seule façon fiable */
.mosaic-item {
    overflow: hidden;
    position: relative;
    height: 390px;
}
.mosaic-big {
    grid-row: span 2;
    grid-column: span 2;
    height: calc(390px * 2 + 6px);
}
.mosaic-wide {
    grid-column: span 2;
}
.mosaic-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.mosaic-item:hover img { transform: scale(1.05); }
@media (max-width: 900px) {
    .mosaic-grid { grid-template-columns: repeat(2, 1fr); }
    .mosaic-big, .mosaic-wide { grid-column: span 1; grid-row: span 1; height: 300px; }
    .mosaic-item { height: 300px; }
}
@media (max-width: 540px) {
    .mosaic-grid { grid-template-columns: 1fr; }
    .mosaic-item, .mosaic-big, .mosaic-wide { height: 260px; }
}

/* === Sommaire / Table des matières === */
.sommaire {
    background: #f5f0ea;
    border-left: 4px solid #E07B39;
    border-radius: 6px;
    padding: 1.2rem 1.5rem;
    margin: 2rem 0;
}
.sommaire__titre {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.6rem;
    color: #2B2B2B;
}
.sommaire ul {
    margin: 0;
    padding-left: 1.2rem;
}
.sommaire ul li {
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}
.sommaire ul li a {
    color: #E07B39;
    text-decoration: none;
}
.sommaire ul li a:hover {
    text-decoration: underline;
}

/* === Info-box (encadré bon à savoir) === */
.info-box {
    background: #fff8f2;
    border: 1px solid #f0d5c0;
    border-radius: 6px;
    padding: 1rem 1.4rem;
    margin: 1.5rem 0;
    font-size: 0.97rem;
    color: #2B2B2B;
}
.info-box p { margin: 0 0 0.5rem; }
.info-box p:last-child { margin-bottom: 0; }
.info-box ul { margin: 0.4rem 0 0; padding-left: 1.2rem; }
.info-box ul li { margin-bottom: 0.3rem; }

/* ─── Macaron auteur (page qui-sommes-nous) ────────────────── */
.auteur-macaron {
    float: right;
    margin: 0 0 1.5rem 2rem;
    shape-outside: circle();
}
.auteur-macaron__img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 4px solid var(--orange);
    display: block;
}
@media (max-width: 600px) {
    .auteur-macaron {
        float: none;
        margin: 0 auto 1.5rem;
        display: flex;
        justify-content: center;
    }
}
