/* =========================================================
   TERRA MUSTELA — Élevage familial de furets
   DA : chocolat, crème, feuillage & ambre (tirés du logo)
   ========================================================= */

:root {
    --cream: #fdf8ec;
    --cream-2: #f7eedb;
    --sand: #ecdcbf;
    --choco: #5d3d21;
    --choco-dark: #3d2714;
    --choco-soft: #8a6644;
    --leaf: #4d6b34;
    --leaf-light: #9bb878;
    --leaf-pale: #e6eed8;
    --amber: #e9a93a;
    --amber-pale: #fbe9c6;
    --peach: #f4cfae;
    --white: #fffdf8;

    --text: #4a3424;
    --muted: #8a7563;
    --border: rgba(93, 61, 33, 0.12);

    --radius: 22px;
    --radius-lg: 36px;
    --shadow-sm: 0 4px 14px rgba(61, 39, 20, 0.07);
    --shadow: 0 14px 40px rgba(61, 39, 20, 0.12);
    --shadow-lg: 0 30px 70px rgba(61, 39, 20, 0.18);

    --font-title: 'Fraunces', Georgia, serif;
    --font-body: 'Nunito', system-ui, sans-serif;
    --font-hand: 'Caveat', cursive;
    --ease: cubic-bezier(.2, .8, .2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    overflow-x: clip;
}
html { overflow-x: clip; }

img { max-width: 100%; display: block; }

/* Contenu géré depuis /admin : on attend le texte à jour avant d'afficher (1,5 s max) */
@media (prefers-reduced-motion: no-preference) {
    html:not(.cms-ready) body { opacity: 0; animation: cms-show 0s 1.5s forwards; }
    html.cms-ready body { opacity: 1; transition: opacity .35s; }
}
@keyframes cms-show { to { opacity: 1; } }
[hidden] { display: none !important; }
a { color: var(--leaf); }

h1, h2, h3, h4 {
    font-family: var(--font-title);
    color: var(--choco);
    line-height: 1.15;
    margin: 0 0 .5em;
    font-weight: 600;
    font-variation-settings: "SOFT" 100, "WONK" 1;
}

.container {
    width: min(1200px, 100% - 40px);
    margin-inline: auto;
}

.section { padding: 110px 0; position: relative; }
.section--tight { padding: 70px 0; }
.section--sand { background: var(--cream-2); }
.section--leaf { background: var(--leaf); color: var(--leaf-pale); }
.section--leaf h2, .section--leaf h3 { color: var(--white); }
.section--choco { background: var(--choco); color: var(--sand); }
.section--choco h2, .section--choco h3 { color: var(--white); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section--leaf .section-head p, .section--choco .section-head p { color: inherit; opacity: .85; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--leaf);
    background: var(--leaf-pale);
    padding: 7px 16px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.section--leaf .eyebrow, .section--choco .eyebrow { background: rgba(255,255,255,.12); color: var(--amber-pale); }

.title-xl { font-size: clamp(2.4rem, 5.4vw, 4.4rem); letter-spacing: -.02em; }
.title-lg { font-size: clamp(2rem, 3.8vw, 3rem); letter-spacing: -.01em; }

.hand {
    font-family: var(--font-hand);
    font-size: 1.6em;
    color: var(--amber);
    font-weight: 600;
    line-height: 1;
}

.underline-leaf {
    position: relative;
    white-space: nowrap;
    color: var(--leaf);
}
.underline-leaf::after {
    content: "";
    position: absolute;
    left: -2%;
    right: -2%;
    bottom: .02em;
    height: .32em;
    background: var(--amber);
    opacity: .35;
    border-radius: 999px;
    z-index: -1;
}

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: .95rem;
    letter-spacing: .02em;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s;
}
.btn:hover { transform: translateY(-3px); }
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary { background: var(--choco); color: var(--cream); box-shadow: 0 10px 24px rgba(93, 61, 33, .3); }
.btn-primary:hover { background: var(--choco-dark); box-shadow: 0 16px 30px rgba(93, 61, 33, .35); }
.btn-leaf { background: var(--leaf); color: var(--white); box-shadow: 0 10px 24px rgba(77, 107, 52, .3); }
.btn-leaf:hover { background: #3f5a2a; }
.btn-amber { background: var(--amber); color: var(--choco-dark); box-shadow: 0 10px 24px rgba(233, 169, 58, .35); }
.btn-amber:hover { background: #f0b74f; }
.btn-ghost { background: transparent; color: var(--choco); border-color: var(--choco); }
.btn-ghost:hover { background: var(--choco); color: var(--cream); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-ghost-light:hover { background: var(--white); color: var(--choco); }

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(253, 248, 236, .86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s, border-color .3s, padding .3s;
}
.navbar.scrolled { box-shadow: 0 8px 30px rgba(61, 39, 20, .08); border-color: var(--border); }

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1300px, 100% - 40px);
    margin-inline: auto;
    padding: 14px 0;
}
.main-logo { height: 58px; width: auto; transition: height .3s; }
.navbar.scrolled .main-logo { height: 48px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links a {
    display: block;
    padding: 9px 16px;
    border-radius: 999px;
    color: var(--choco);
    text-decoration: none;
    font-weight: 700;
    font-size: .92rem;
    transition: background .25s, color .25s;
}
.nav-links a:hover { background: var(--cream-2); }
.nav-links a.active { background: var(--leaf-pale); color: var(--leaf); }
.nav-links .nav-cta { display: none; }

.nav-icons { display: flex; align-items: center; gap: 12px; }
.nav-icons .btn { padding: 11px 22px; font-size: .88rem; }
.nav-social {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border-radius: 50%;
    color: var(--choco);
    transition: background .25s, transform .25s;
}
.nav-social:hover { background: var(--cream-2); transform: rotate(-8deg); }
.nav-social svg { width: 20px; height: 20px; }

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px; height: 46px;
    padding: 0 11px;
    background: var(--cream-2);
    border: none;
    border-radius: 50%;
    cursor: pointer;
}
.hamburger-btn span {
    display: block;
    height: 2.5px;
    border-radius: 2px;
    background: var(--choco);
    transition: transform .35s var(--ease), opacity .25s;
}
.hamburger-btn.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; }
.hamburger-btn.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
    position: relative;
    padding: 70px 0 130px;
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 60px;
}
.hero h1 { margin-bottom: 22px; }
.hero-lead { font-size: 1.2rem; color: var(--choco-soft); max-width: 540px; margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px 8px 9px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: .86rem;
    font-weight: 700;
    color: var(--choco);
    box-shadow: var(--shadow-sm);
}
.trust-chip i {
    width: 26px; height: 26px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--leaf-pale);
    color: var(--leaf);
    font-style: normal;
}
.trust-chip svg { width: 14px; height: 14px; }

.hero-visual { position: relative; aspect-ratio: 1; max-width: 520px; justify-self: center; width: 100%; }
.hero-blob {
    position: absolute;
    inset: 4%;
    background: radial-gradient(circle at 30% 25%, var(--amber-pale), var(--peach) 55%, #e9b98f);
    border-radius: 58% 42% 51% 49% / 46% 55% 45% 54%;
    animation: morph 14s ease-in-out infinite;
    box-shadow: var(--shadow-lg);
}
.hero-blob::after {
    content: "";
    position: absolute;
    inset: 7%;
    border: 2px dashed rgba(93, 61, 33, .2);
    border-radius: inherit;
}
.hero-emblem {
    position: absolute;
    inset: 13%;
    width: 74%;
    height: 74%;
    object-fit: contain;
    filter: drop-shadow(0 18px 24px rgba(61, 39, 20, .22));
    animation: float 6s ease-in-out infinite;
}
.hero-emblem.is-photo {
    inset: 9%;
    width: 82%;
    height: 82%;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid var(--white);
    filter: none;
    box-shadow: var(--shadow-lg);
}
.hero-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: var(--white);
    border-radius: 18px;
    box-shadow: var(--shadow);
    font-weight: 800;
    font-size: .9rem;
    color: var(--choco);
    animation: float 7s ease-in-out infinite;
}
.hero-badge small { display: block; font-weight: 600; color: var(--muted); font-size: .78rem; }
.hero-badge .ico {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border-radius: 12px;
    font-size: 1.3rem;
}
.hero-badge--1 { top: 6%; left: -6%; animation-delay: -2s; }
.hero-badge--1 .ico { background: var(--leaf-pale); color: var(--leaf); }
.hero-badge--2 { bottom: 10%; right: -4%; animation-delay: -4s; }
.hero-badge--2 .ico { background: var(--amber-pale); color: #b5791a; }
.hero-badge svg { width: 22px; height: 22px; }

.hero-note {
    position: absolute;
    bottom: -4%;
    left: 4%;
    transform: rotate(-6deg);
    font-family: var(--font-hand);
    font-size: 1.7rem;
    color: var(--choco);
}
.hero-note svg { width: 60px; height: 40px; display: inline-block; vertical-align: middle; color: var(--amber); }

.deco-leaf {
    position: absolute;
    color: var(--leaf-light);
    opacity: .35;
    pointer-events: none;
}
.deco-leaf--1 { width: 120px; top: 8%; right: 3%; transform: rotate(25deg); }
.deco-leaf--2 { width: 80px; top: 4%; left: 42%; transform: rotate(-40deg); }

.paw-trail {
    position: absolute;
    left: 0; right: 0;
    bottom: 40px;
    height: 60px;
    pointer-events: none;
    opacity: .14;
    color: var(--choco);
}

.wave {
    position: absolute;
    left: 0; right: 0;
    bottom: -1px;
    width: 100%;
    height: 70px;
    display: block;
}

/* ---------- Bandeau défilant ---------- */
.marquee {
    background: var(--choco);
    color: var(--cream);
    padding: 20px 0;
    overflow: hidden;
    position: relative;
    transform: rotate(-1.2deg);
    margin: -20px -10px 0;
    box-shadow: var(--shadow);
    z-index: 2;
}
.marquee-track {
    display: flex;
    gap: 48px;
    width: max-content;
    animation: marquee 38s linear infinite;
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-style: italic;
    white-space: nowrap;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee-track span::after { content: "✦"; color: var(--amber); font-style: normal; font-size: 1rem; }

/* =========================================================
   CARTES / GRILLES
   ========================================================= */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 34px 30px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card h3 { font-size: 1.35rem; }
.card p { margin: 0; color: var(--muted); }

.card-icon {
    width: 62px; height: 62px;
    display: grid; place-items: center;
    border-radius: 20px;
    margin-bottom: 22px;
    background: var(--leaf-pale);
    color: var(--leaf);
    transition: transform .4s var(--ease);
}
.card:hover .card-icon { transform: rotate(-10deg) scale(1.08); }
.card-icon svg { width: 30px; height: 30px; }
.card-icon--amber { background: var(--amber-pale); color: #b5791a; }
.card-icon--peach { background: #fbe2cf; color: #b0603a; }
.card-icon--choco { background: var(--sand); color: var(--choco); }

/* ---------- Split (texte + visuel) ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.split--reverse > :first-child { order: 2; }
.split p { color: var(--choco-soft); }

.check-list { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list li::before {
    content: "";
    flex: 0 0 26px;
    height: 26px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.section--leaf .check-list li::before { background-color: var(--amber); }

/* ---------- Visuel "photo" (placeholder vivant) ---------- */
.photo-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background:
        radial-gradient(circle at 70% 20%, rgba(255,255,255,.5), transparent 40%),
        linear-gradient(150deg, var(--peach), var(--amber-pale) 50%, var(--leaf-pale));
    box-shadow: var(--shadow-lg);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame .placeholder-emblem {
    position: absolute;
    inset: 18%;
    width: 64%;
    height: 64%;
    object-fit: contain;
    opacity: .9;
    animation: float 7s ease-in-out infinite;
}
.photo-frame img.is-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    animation: none;
}
.photo-frame figcaption {
    position: absolute;
    left: 20px; right: 20px; bottom: 20px;
    padding: 14px 18px;
    background: rgba(255, 253, 248, .9);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    font-size: .9rem;
    font-weight: 700;
    color: var(--choco);
}
.photo-frame figcaption span { font-family: var(--font-hand); font-size: 1.4rem; color: var(--leaf); display: block; line-height: 1; }

.photo-stack { position: relative; }
.photo-stack .sticker {
    position: absolute;
    top: -26px;
    right: -18px;
    width: 128px; height: 128px;
    display: grid; place-items: center;
    text-align: center;
    border-radius: 50%;
    background: var(--amber);
    color: var(--choco-dark);
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.1;
    box-shadow: var(--shadow);
    transform: rotate(12deg);
    animation: wiggle 5s ease-in-out infinite;
    z-index: 2;
}
.photo-stack .sticker b { display: block; font-size: 1.9rem; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat strong {
    display: block;
    font-family: var(--font-title);
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    color: var(--amber);
    line-height: 1.1;
}
.stat span { font-weight: 700; font-size: .95rem; opacity: .9; }

/* =========================================================
   FURETS
   ========================================================= */
.ferret-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 30px; }

.ferret-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
    display: flex;
    flex-direction: column;
}
.ferret-card:hover { transform: translateY(-8px) rotate(-.4deg); box-shadow: var(--shadow); }
.ferret-photo {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(150deg, var(--c1, var(--peach)), var(--c2, var(--amber-pale)));
}
.ferret-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ferret-card:hover .ferret-photo img { transform: scale(1.06); }
.ferret-photo img.is-placeholder { object-fit: contain; padding: 18%; opacity: .85; }
.ferret-status {
    position: absolute;
    top: 14px; left: 14px;
    padding: 6px 13px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: var(--white);
    color: var(--choco);
    box-shadow: var(--shadow-sm);
}
.ferret-status.dispo { background: var(--leaf); color: var(--white); }
.ferret-status.reserve { background: var(--amber); color: var(--choco-dark); }
.ferret-status.avenir { background: var(--white); color: var(--choco); }
.ferret-status.repro { background: var(--choco); color: var(--cream); }
.ferret-sex {
    position: absolute;
    top: 14px; right: 14px;
    width: 36px; height: 36px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--white);
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: var(--shadow-sm);
}
.ferret-sex.m { color: #3d6fa3; }
.ferret-sex.f { color: #c0587a; }
.ferret-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.ferret-body h3 { font-size: 1.5rem; margin-bottom: 2px; }
.ferret-robe { font-family: var(--font-hand); font-size: 1.35rem; color: var(--leaf); line-height: 1.2; }
.ferret-body p { color: var(--muted); font-size: .95rem; margin: 12px 0 0; }
.ferret-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 16px; }
.ferret-tags span {
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--cream-2);
    font-size: .78rem;
    font-weight: 700;
    color: var(--choco-soft);
}

.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-btn {
    padding: 10px 22px;
    border-radius: 999px;
    border: 2px solid var(--border);
    background: var(--white);
    color: var(--choco);
    font-family: var(--font-body);
    font-weight: 800;
    font-size: .9rem;
    cursor: pointer;
    transition: all .25s;
}
.filter-btn:hover { border-color: var(--choco); }
.filter-btn.active { background: var(--choco); border-color: var(--choco); color: var(--cream); }

/* Portée */
.litter {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 34px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}
.litter-parents { display: flex; align-items: center; justify-content: center; }
.litter-parents .parent {
    width: 130px; height: 130px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--white);
    box-shadow: var(--shadow);
    background: linear-gradient(150deg, var(--peach), var(--amber-pale));
}
.litter-parents .parent + .parent { margin-left: -24px; }
.litter-parents img { width: 100%; height: 100%; object-fit: cover; }
.litter-parents img.is-placeholder { object-fit: contain; padding: 18%; }
.litter-heart { color: #c0587a; margin: 0 -8px; z-index: 2; position: relative; }
.litter h3 { font-size: 1.7rem; }
.litter-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 10px 0 14px; font-weight: 700; color: var(--choco-soft); font-size: .95rem; }
.litter-meta b { color: var(--leaf); }

/* Robes */
.robe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.robe {
    text-align: center;
    padding: 26px 16px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: transform .35s var(--ease);
}
.robe:hover { transform: translateY(-6px); }
.robe-swatch {
    width: 78px; height: 78px;
    margin: 0 auto 14px;
    border-radius: 50%;
    box-shadow: inset 0 -8px 16px rgba(0,0,0,.12), var(--shadow-sm);
    border: 4px solid var(--white);
}
.robe h4 { font-size: 1.1rem; margin-bottom: 4px; }
.robe p { margin: 0; font-size: .85rem; color: var(--muted); line-height: 1.5; }

/* =========================================================
   ÉTAPES D'ADOPTION
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; position: relative; }
.steps::before {
    content: "";
    position: absolute;
    top: 36px; left: 10%; right: 10%;
    border-top: 3px dashed rgba(255, 255, 255, .3);
}
.section--sand .steps::before, .steps--light::before { border-color: rgba(93, 61, 33, .2); }
.step { text-align: center; position: relative; counter-increment: step; }
.step-num {
    width: 72px; height: 72px;
    margin: 0 auto 20px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--amber);
    color: var(--choco-dark);
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 700;
    box-shadow: 0 0 0 8px rgba(233, 169, 58, .2);
    position: relative;
    transition: transform .4s var(--ease);
}
.step:hover .step-num { transform: scale(1.1) rotate(-8deg); }
.step-num::before { content: counter(step); }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { font-size: .93rem; margin: 0; opacity: .85; }

/* Timeline verticale (page adoption) */
.timeline { position: relative; max-width: 820px; margin: 0 auto; counter-reset: tl; }
.timeline::before {
    content: "";
    position: absolute;
    left: 35px; top: 10px; bottom: 10px;
    border-left: 3px dashed var(--sand);
}
.tl-item { position: relative; padding-left: 110px; margin-bottom: 44px; counter-increment: tl; }
.tl-item:last-child { margin-bottom: 0; }
.tl-item::before {
    content: counter(tl);
    position: absolute;
    left: 0; top: 0;
    width: 72px; height: 72px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--choco);
    color: var(--amber);
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 700;
    box-shadow: 0 0 0 8px var(--cream);
}
.tl-item h3 { font-size: 1.45rem; margin-bottom: 4px; }
.tl-item .when { font-family: var(--font-hand); font-size: 1.4rem; color: var(--leaf); }
.tl-item p { color: var(--choco-soft); margin: 6px 0 0; }

/* =========================================================
   CERTIFICATION
   ========================================================= */
.cert-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px 46px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    overflow: hidden;
}
.cert-card::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 2px solid var(--sand);
    border-radius: calc(var(--radius-lg) - 10px);
    pointer-events: none;
}
.cert-seal {
    width: 110px; height: 110px;
    display: grid; place-items: center;
    margin-bottom: 24px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--amber) 55%, #d39528 56%, #d39528 62%, var(--amber) 63%);
    color: var(--choco-dark);
    box-shadow: var(--shadow);
    animation: spin-slow 30s linear infinite;
}
.cert-seal svg { width: 48px; height: 48px; animation: spin-slow 30s linear infinite reverse; }
.cert-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.cert-list li {
    display: flex; justify-content: space-between; gap: 14px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--sand);
    font-size: .95rem;
}
.cert-list li span:first-child { color: var(--muted); }
.cert-list li span:last-child { font-weight: 800; color: var(--choco); text-align: right; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq details {
    background: var(--white);
    border-radius: 18px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: box-shadow .3s;
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 64px 22px 26px;
    position: relative;
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--choco);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    position: absolute;
    right: 20px; top: 50%;
    width: 34px; height: 34px;
    margin-top: -17px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--leaf-pale);
    color: var(--leaf);
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 800;
    transition: transform .35s var(--ease), background .3s, color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--leaf); color: var(--white); }
.faq .faq-body { padding: 0 26px 24px; color: var(--choco-soft); }
.faq .faq-body p { margin: 0 0 10px; }

/* =========================================================
   CONSEILS
   ========================================================= */
.guide-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: -10px auto 50px;
    position: sticky;
    top: 92px;
    z-index: 50;
    padding: 12px;
    background: rgba(253, 248, 236, .9);
    backdrop-filter: blur(10px);
    border-radius: 999px;
    width: fit-content;
    max-width: 100%;
    box-shadow: var(--shadow-sm);
}
.guide-nav a {
    padding: 8px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    font-size: .88rem;
    color: var(--choco);
    background: var(--white);
    border: 1px solid var(--border);
    transition: all .25s;
}
.guide-nav a:hover { background: var(--choco); color: var(--cream); }

.guide-block {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 44px;
    margin-bottom: 30px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.guide-block .card-icon { width: 90px; height: 90px; border-radius: 28px; margin: 0; }
.guide-block .card-icon svg { width: 42px; height: 42px; }
.guide-block h2 { font-size: 2rem; }
.guide-block p, .guide-block li { color: var(--choco-soft); }
.guide-block ul { padding-left: 20px; }
.guide-block li { margin-bottom: 6px; }
.guide-block li::marker { color: var(--amber); }

.tip {
    display: flex;
    gap: 14px;
    margin-top: 20px;
    padding: 18px 22px;
    background: var(--amber-pale);
    border-radius: 16px;
    color: var(--choco);
    font-weight: 600;
    font-size: .95rem;
}
.tip::before { content: "💡"; font-size: 1.3rem; }
.tip--warn { background: #fbe2cf; }
.tip--warn::before { content: "⚠️"; }

.yes-no { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.yes-no > div { padding: 20px 22px; border-radius: 16px; }
.yes-no .yes { background: var(--leaf-pale); }
.yes-no .no { background: #f8dcdc; }
.yes-no h4 { font-family: var(--font-body); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; }
.yes-no .yes h4 { color: var(--leaf); }
.yes-no .no h4 { color: #a54545; }
.yes-no ul { margin: 0; }

/* =========================================================
   PAGE HEADER (pages internes)
   ========================================================= */
.page-hero {
    position: relative;
    text-align: center;
    padding: 90px 0 120px;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 30%, rgba(233, 169, 58, .18), transparent 35%),
        radial-gradient(circle at 85% 70%, rgba(155, 184, 120, .22), transparent 40%);
}
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { max-width: 640px; margin: 0 auto; font-size: 1.15rem; color: var(--choco-soft); }
.page-hero .emblem-mini {
    width: 86px; height: 86px;
    margin: 0 auto 18px;
    animation: float 6s ease-in-out infinite;
}

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;
    padding: 60px;
    border-radius: var(--radius-lg);
    background: linear-gradient(120deg, var(--leaf), #3c5628);
    color: var(--leaf-pale);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: var(--white); margin-bottom: 10px; }
.cta-band p { margin: 0; font-size: 1.1rem; }
.cta-band .btns { display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band .deco {
    position: absolute;
    right: -40px; bottom: -60px;
    width: 260px;
    opacity: .12;
    color: var(--white);
    transform: rotate(-20deg);
}

/* =========================================================
   FORMULAIRES
   ========================================================= */
.form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 46px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 800; font-size: .85rem; margin-bottom: 6px; color: var(--choco); }
.field input, .field select, .field textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--sand);
    border-radius: 14px;
    background: var(--cream);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text);
    transition: border-color .25s, background .25s, box-shadow .25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--leaf);
    background: var(--white);
    box-shadow: 0 0 0 4px var(--leaf-pale);
}
.field textarea { resize: vertical; min-height: 130px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 14px 0 0; font-weight: 700; min-height: 1.5em; }
.form-status.ok { color: var(--leaf); }
.form-status.err { color: #a54545; }

/* =========================================================
   FOOTER
   ========================================================= */
#main-footer { position: relative; margin-top: 60px; }
.footer-wave { display: block; width: 100%; height: 80px; color: var(--choco); }
.footer-main { background: var(--choco); color: var(--sand); padding: 50px 0 0; }
.footer-container {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 70px;
    width: min(1200px, 100% - 40px);
    margin-inline: auto;
    padding-bottom: 60px;
}
.footer-logo-wrap {
    display: inline-block;
    background: var(--cream);
    border-radius: 28px;
    padding: 16px 22px;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
.footer-logo-img { height: 120px; width: auto; }
.footer-brand p { max-width: 380px; opacity: .85; }
.footer-nav { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; max-width: 360px; }
.footer-nav a { color: var(--cream); text-decoration: none; font-weight: 700; transition: color .25s; }
.footer-nav a:hover { color: var(--amber); }
.footer-socials { display: flex; gap: 12px; }
.social-link {
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: var(--cream);
    transition: background .25s, transform .25s, color .25s;
}
.social-link:hover { background: var(--amber); color: var(--choco-dark); transform: translateY(-4px) rotate(-8deg); }
.social-link svg { width: 20px; height: 20px; }

.footer-contact h3 { color: var(--white); font-size: 2rem; margin-bottom: 4px; }
.footer-contact .contact-subtitle { margin: 0 0 24px; opacity: .85; }
.footer-contact .hand { font-size: 1.6rem; }
.footer-contact form { display: grid; gap: 14px; }
.footer-contact .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.footer-contact input, .footer-contact textarea, .footer-contact select {
    width: 100%;
    padding: 15px 18px;
    border-radius: 14px;
    border: 2px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color .25s, background .25s;
}
.footer-contact select option { color: var(--text); }
.footer-contact input::placeholder, .footer-contact textarea::placeholder { color: rgba(236, 220, 191, .6); }
.footer-contact input:focus, .footer-contact textarea:focus, .footer-contact select:focus { outline: none; border-color: var(--amber); background: rgba(255,255,255,.1); }
.footer-contact .btn { justify-self: start; }
.footer-contact .form-status.ok { color: var(--leaf-light); }
.footer-contact .form-status.err { color: #f2a7a7; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 24px 20px;
    text-align: center;
    font-size: .85rem;
    opacity: .8;
}
.footer-bottom p { margin: 0 0 8px; }
.footer-legal { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; }
.footer-legal a { color: inherit; text-decoration: none; }
.footer-legal a:hover { color: var(--amber); }
.footer-credit { margin: 14px 0 0 !important; font-size: .75rem; opacity: .75; }
.footer-credit a { color: inherit; font-weight: 800; text-decoration: none; border-bottom: 1px dotted currentColor; }
.footer-credit a:hover { color: var(--amber); }

/* =========================================================
   PAGES LÉGALES
   ========================================================= */
.legal { max-width: 860px; margin: 0 auto; padding: 60px 0 40px; }
.legal h1 { text-align: center; margin-bottom: 40px; }
.legal section { background: var(--white); border-radius: var(--radius); padding: 30px 34px; margin-bottom: 20px; border: 1px solid var(--border); }
.legal h2 { font-size: 1.4rem; }
.legal p, .legal li { color: var(--choco-soft); }

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}
@keyframes morph {
    0%, 100% { border-radius: 58% 42% 51% 49% / 46% 55% 45% 54%; }
    33% { border-radius: 44% 56% 40% 60% / 58% 42% 58% 42%; }
    66% { border-radius: 52% 48% 62% 38% / 40% 60% 40% 60%; }
}
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes wiggle {
    0%, 100% { transform: rotate(12deg); }
    50% { transform: rotate(4deg) scale(1.04); }
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
    .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
    .steps::before { display: none; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .hero-badge--1 { left: 0; }
    .hero-badge--2 { right: 0; }
}

@media (max-width: 960px) {
    .nav-links {
        position: fixed;
        top: 0; right: 0;
        height: 100vh;
        width: min(340px, 86vw);
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 110px 26px 30px;
        background: var(--cream);
        box-shadow: -20px 0 50px rgba(61, 39, 20, .15);
        transform: translateX(105%);
        visibility: hidden;
        transition: transform .45s var(--ease), visibility 0s .45s;
        z-index: -1;
    }
    .nav-links.open { transform: none; visibility: visible; transition: transform .45s var(--ease); }
    .deco-leaf { display: none; }
    .nav-links a { font-size: 1.15rem; padding: 14px 20px; }
    .nav-links .nav-cta { display: block; margin-top: 16px; }
    .nav-links .nav-cta a { background: var(--choco); color: var(--cream); text-align: center; }
    .nav-icons .btn, .nav-icons .nav-social { display: none; }
    .hamburger-btn { display: flex; }

    .hero { padding: 40px 0 110px; }
    .hero-grid, .split, .footer-container, .cta-band { grid-template-columns: 1fr; }
    .hero-grid { gap: 50px; }
    .hero-visual { max-width: 420px; order: -1; }
    .split { gap: 50px; }
    .split--reverse > :first-child { order: 0; }
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
    .litter { grid-template-columns: 1fr; text-align: center; }
    .litter-meta { justify-content: center; }
    .cta-band { padding: 46px 34px; text-align: center; }
    .cta-band .btns { justify-content: center; }
    .footer-container { gap: 50px; }
}

@media (max-width: 640px) {
    body { font-size: 1rem; }
    .section { padding: 80px 0; }
    .section-head { margin-bottom: 44px; }
    .main-logo { height: 46px; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr 1fr; }
    .hero-actions .btn { flex: 1 1 100%; }
    .hero-badge { padding: 9px 13px; font-size: .8rem; }
    .hero-badge .ico { width: 32px; height: 32px; }
    .hero-note { font-size: 1.35rem; }
    .photo-stack .sticker { width: 100px; height: 100px; right: -6px; font-size: .85rem; }
    .photo-stack .sticker b { font-size: 1.5rem; }
    .guide-block { grid-template-columns: 1fr; padding: 30px 24px; gap: 18px; }
    .guide-block .card-icon { width: 70px; height: 70px; }
    .guide-nav { border-radius: 24px; top: 80px; }
    .yes-no, .form-grid, .footer-contact .form-row { grid-template-columns: 1fr; }
    .form-card { padding: 30px 22px; }
    .timeline::before { left: 27px; }
    .tl-item { padding-left: 80px; }
    .tl-item::before { width: 56px; height: 56px; font-size: 1.4rem; }
    .cert-card { padding: 40px 26px; }
    .cert-list li { flex-direction: column; gap: 2px; }
    .cert-list li span:last-child { text-align: left; }
    .footer-nav { grid-template-columns: 1fr; }
}
