/* ==========================================================================
   Therese — main.css
   Palette « nature-tech » : la page part desséchée et reprend vie au scroll.
   Aucune dépendance. L'animation des plantes est 100 % CSS, pilotée par la
   custom property --growth-page (écrite par main.js, ∈ [0,1]).
   ========================================================================== */

:root {
    /* Fonds : de « desséché » à « vivant » (interpolés sur la home) */
    --parched: #F1EBDF;
    --alive: #EAF0DF;
    --creme: #F6F2E9;
    --creme-2: #EEE7D8;

    --encre: #1F2A20;
    --muted: #5E6B5C;
    --line: rgba(31, 42, 32, 0.12);

    --vert-900: #1E3D2B;
    --vert-600: #2F7A47;
    --vert-300: #9CC29A;
    --terracotta: #C4653F;
    --terracotta-2: #A64E2E;

    /* Interpolation des plantes : sec -> vert */
    --leaf-dry: #A9885A;
    --leaf-green: #3E8E52;
    --leaf-green-2: #55A468;
    --stem-dry: #8A6B45;
    --stem-green: #2E6B3E;
    --flower: #E8A03E;
    --pot: #C4653F;
    --pot-shadow: #A64E2E;
    --soil: #6B4E35;

    --font-display: "Fraunces", Georgia, serif;
    --font-body: "Inter", system-ui, -apple-system, sans-serif;

    --fs-hero: clamp(2.4rem, 7vw, 4.6rem);
    --fs-h2: clamp(1.6rem, 3.5vw, 2.5rem);
    --fs-h3: clamp(1.2rem, 2vw, 1.5rem);
    --fs-body: clamp(1rem, 1.1vw, 1.125rem);

    --space-section: clamp(4.5rem, 12vh, 9rem);
    --radius: 14px;
    --radius-lg: 26px;
    --maxw: 1200px;
    --maxw-text: 720px;

    /* Progression globale du scroll de la home (écrite par le JS) */
    --growth-page: 0;
}

/* Sans JS ou avec motion réduite : plantes vertes finales, page vivante */
html:not(.js) { --growth-page: 1; }
@media (prefers-reduced-motion: reduce) {
    :root { --growth-page: 1 !important; }
}

/* --------------------------------------------------------------------------
   Reset minimal
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.65;
    color: var(--encre);
    background: var(--creme);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; }
picture { display: contents; }
input, button, textarea, select { font: inherit; color: inherit; }
a { color: var(--vert-600); }
a:hover { color: var(--vert-900); }
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.12;
    color: var(--vert-900);
    text-wrap: balance;
}
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible {
    outline: 3px solid var(--vert-600);
    outline-offset: 2px;
    border-radius: 4px;
}

/* La home entière change d'atmosphère avec la croissance des plantes :
   fond desséché -> fond vivant. Fallback : crème statique. */
@supports (color: color-mix(in oklab, red, blue)) {
    body.home {
        background: color-mix(in oklab, var(--parched) calc((1 - var(--growth-page)) * 100%), var(--alive));
    }
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--creme) 88%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0.9rem clamp(1rem, 4vw, 2rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}
.brand-leaf { width: 26px; height: 26px; }
.brand-leaf path { fill: var(--vert-600); }
.brand-leaf path + path { fill: var(--vert-300); }
.brand-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.45rem;
    color: var(--vert-900);
    letter-spacing: -0.01em;
}
.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 2.2rem);
}
.site-nav a {
    text-decoration: none;
    font-weight: 500;
    font-size: 0.98rem;
    color: var(--encre);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--vert-600); }
.site-nav a.nav-cta {
    background: var(--vert-900);
    color: var(--creme);
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    transition: background 0.2s ease;
}
.site-nav a.nav-cta:hover { background: var(--vert-600); color: #fff; }
.nav-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 0.6rem;
    cursor: pointer;
}
.nav-toggle-bar {
    display: block;
    width: 24px; height: 2px;
    background: var(--encre);
    margin: 5px 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 700px) {
    .nav-toggle { display: block; }
    html.js .site-nav {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--creme);
        border-bottom: 1px solid var(--line);
        padding: 0.75rem 1.25rem 1.25rem;
        gap: 0.4rem;
    }
    html.js .site-nav.is-open { display: flex; }
    html.js .site-nav a { padding: 0.65rem 0.25rem; }
    html.js .site-nav a.nav-cta { text-align: center; margin-top: 0.35rem; }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child { transform: translateY(3.5px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child { transform: translateY(-3.5px) rotate(-45deg); }
    /* Sans JS : le menu reste visible en colonne */
    html:not(.js) .site-nav { flex-wrap: wrap; justify-content: flex-end; gap: 0.75rem; }
    html:not(.js) .nav-toggle { display: none; }
}

/* --------------------------------------------------------------------------
   Boutons, badges, structure commune
   -------------------------------------------------------------------------- */
.btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.85rem 1.8rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary { background: var(--vert-900); color: var(--creme); }
.btn-primary:hover { background: var(--vert-600); color: #fff; }
.btn-secondary {
    background: transparent;
    color: var(--vert-900);
    border-color: var(--vert-900);
}
.btn-secondary:hover { background: var(--vert-900); color: var(--creme); }
.btn-terracotta { background: var(--terracotta); color: #fff; }
.btn-terracotta:hover { background: var(--terracotta-2); color: #fff; }

.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 0.9rem;
}
.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding-left: clamp(1rem, 4vw, 2rem);
    padding-right: clamp(1rem, 4vw, 2rem);
}
.container-text { max-width: var(--maxw-text); }
.section { padding-top: var(--space-section); padding-bottom: var(--space-section); }
.section-alt { background: var(--creme-2); }
/* padding-top/bottom séparés : ne pas écraser le padding horizontal
   du .container (sinon le texte colle au bord sous ~1230px) */
.page-head {
    padding-top: clamp(3rem, 8vh, 5.5rem);
    padding-bottom: clamp(1.5rem, 4vh, 2.5rem);
}
.page-head h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 0.8rem; }
.page-head .lead { font-size: 1.15rem; color: var(--muted); max-width: 46ch; }

/* Révélations au scroll (IntersectionObserver ajoute .is-visible) */
html.js [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
html.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   PLANTES — le cœur du site.
   Chaque .plant reçoit inline --p-start/--p-end (sa fenêtre de croissance
   dans le scroll global) ; ses éléments internes utilisent --growth local.
   -------------------------------------------------------------------------- */
.plant {
    --growth: clamp(0, (var(--growth-page, 0) - var(--p-start, 0)) / (var(--p-end, 1) - var(--p-start, 0)), 1);
    width: 100%;
    height: auto;
    overflow: visible;
}

.plant-pot path { fill: var(--pot); }
.plant-pot .pot-rim { fill: var(--pot-shadow); }
.plant-soil { fill: var(--soil); }

/* Tiges et pétioles : traits arrondis, couleur interpolée brun -> vert */
.plant-stem, .plant .petiole {
    fill: none;
    stroke: var(--stem-green);
    stroke-width: 6;
    stroke-linecap: round;
}
.plant .petiole { stroke-width: 4.5; }

/* Nervure centrale : blanc translucide, lisible sur sec comme sur vert */
.plant .leaf-vein {
    fill: none;
    stroke: rgba(255, 255, 255, 0.32);
    stroke-width: 2.5;
    stroke-linecap: round;
}

/* Limbes : brun sec -> vert (fallback : vert final) */
.plant-leaf path { fill: var(--leaf-green); }
.plant .leaf-light path { fill: var(--leaf-green-2); }
@supports (color: color-mix(in oklab, red, blue)) {
    .plant-leaf path {
        fill: color-mix(in oklab, var(--leaf-dry) calc((1 - var(--growth)) * 100%), var(--leaf-green));
    }
    .plant .leaf-light path {
        fill: color-mix(in oklab, var(--leaf-dry) calc((1 - var(--growth)) * 100%), var(--leaf-green-2));
    }
    .plant-stem, .plant .petiole {
        stroke: color-mix(in oklab, var(--stem-dry) calc((1 - var(--growth)) * 100%), var(--stem-green));
    }
}

/* Redressement + « dégonflement » à sec : chaque feuille porte
   --droop/--ox/--oy inline. Une plante sèche est aussi plus petite. */
.plant-leaf {
    transform-origin: var(--ox) var(--oy);
    transform: rotate(calc(var(--droop, 0deg) * (1 - var(--growth))))
               scale(calc(0.8 + 0.2 * var(--growth)));
}

/* Apparition par paliers : nouvelles feuilles/fleurs à --at */
.plant .plant-appear {
    --t: clamp(0, (var(--growth) - var(--at, 0.5)) / 0.15, 1);
    opacity: var(--t);
    transform-origin: var(--ox) var(--oy);
    transform: rotate(calc(var(--droop, 0deg) * (1 - var(--growth))))
               scale(calc(0.6 + 0.4 * var(--t)));
}

/* Rails latéraux de la home */
.growth-scene {
    display: grid;
    grid-template-columns: minmax(120px, 220px) minmax(0, 1fr) minmax(120px, 220px);
    /* PAS de align-items: start — les rails doivent s'étirer sur toute la
       hauteur de la scène pour que leur bloc sticky reste épinglé du début
       à la fin du scroll. */
}
.growth-center { min-width: 0; }
/* UNE plante par rail, dans un unique bloc sticky : elle reste épinglée
   à l'écran et « guérit » sur place au fil du scroll — rien d'autre
   n'arrive jamais par le bas. */
.plant-rail {
    padding: 14vh 0.5rem 10vh;
}
.plant-stack {
    position: sticky;
    top: 26vh;
}
.plant-stack .plant { max-width: 230px; margin: 0 auto; }

/* Plantes-séparateurs inline (mobile) et plante du hero */
.plant-inline { display: none; }

@media (max-width: 1000px) {
    .growth-scene { grid-template-columns: minmax(90px, 110px) minmax(0, 1fr) minmax(90px, 110px); }
    .plant-rail { opacity: 0.85; }
}
@media (max-width: 700px) {
    .growth-scene { display: block; }
    .plant-rail { display: none; }
    .plant-inline {
        display: block;
        width: min(150px, 40vw);
        margin: 0 auto;
    }
}

/* --------------------------------------------------------------------------
   Home — sections
   -------------------------------------------------------------------------- */
/* Home plein écran : le hero remplit la fenêtre (moins le header sticky),
   chaque rubrique suivante occupe un écran entier, contenu centré. */
.hero {
    min-height: calc(100vh - 72px);
    min-height: calc(100svh - 72px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 0;
    text-align: center;
}
.hero h1 {
    font-size: var(--fs-hero);
    font-weight: 700;
    letter-spacing: -0.02em;
    max-width: 17ch;
    margin: 0 auto 1.4rem;
}
.hero h1 em {
    font-style: italic;
    color: var(--vert-600);
    /* surlignage vert sous le texte, façon marqueur */
    padding: 0 0.1em;
    background-image: linear-gradient(to top, var(--vert-300) 0%, var(--vert-300) 24%, transparent 24%);
    background-repeat: no-repeat;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone; /* le surlignage suit chaque ligne si ça replie */
}
.hero .lead {
    font-size: clamp(1.05rem, 1.4vw, 1.3rem);
    color: var(--muted);
    max-width: 52ch;
    margin: 0 auto 2.2rem;
}
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll-hint {
    margin-top: clamp(2.5rem, 7vh, 4.5rem);
    font-size: 0.92rem;
    color: var(--muted);
}
.hero-scroll-hint .arrow {
    display: block;
    margin: 0.5rem auto 0;
    animation: hint-bob 2.2s ease-in-out infinite;
    width: 1.2rem;
}
@keyframes hint-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(7px); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-scroll-hint .arrow { animation: none; }
}

/* Rubrique de pré-inscription (produit pas encore disponible) */
.waitlist { padding: 0 0 clamp(2rem, 5vh, 3.5rem); }
.waitlist-card {
    background: var(--vert-900);
    color: var(--creme);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
}
.waitlist-badge {
    display: inline-block;
    background: var(--terracotta);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.2rem;
}
.waitlist-card h2 {
    color: var(--creme);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    margin-bottom: 0.8rem;
}
.waitlist-card > p {
    color: var(--vert-300);
    max-width: 52ch;
    margin: 0 auto 1.6rem;
}
.waitlist-form {
    display: flex;
    gap: 0.7rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.waitlist-form input[type="email"] {
    flex: 1 1 260px;
    max-width: 340px;
    border: 2px solid transparent;
    border-radius: 999px;
    padding: 0.8rem 1.3rem;
    background: #fff;
    color: var(--encre);
}
.waitlist-form input[type="email"]:focus {
    outline: none;
    border-color: var(--vert-300);
}
.waitlist-note { font-size: 0.82rem; color: var(--vert-300); opacity: 0.85; }
.waitlist .form-alert { text-align: left; max-width: 480px; margin: 0 auto 1rem; }

/* Confettis de remerciement (canvas plein écran, au-dessus de tout) */
.confetti-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* Modale de pré-inscription (ouverte une fois par visiteur au chargement) */
.waitlist-modal {
    border: none;
    border-radius: var(--radius-lg);
    background: var(--vert-900);
    color: var(--creme);
    text-align: center;
    padding: clamp(2rem, 5vw, 3rem);
    width: min(520px, 92vw);
    margin: auto;
}
.waitlist-modal::backdrop {
    background: rgba(31, 42, 32, 0.55);
    backdrop-filter: blur(3px);
}
.waitlist-modal[open] { animation: modal-in 0.35s ease; }
@keyframes modal-in {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .waitlist-modal[open] { animation: none; }
}
.waitlist-modal h2 {
    color: var(--creme);
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    margin-bottom: 0.7rem;
}
.waitlist-modal > p {
    color: var(--vert-300);
    margin-bottom: 1.5rem;
}
.waitlist-modal .waitlist-form input[type="email"] { max-width: none; }
.waitlist-modal-close {
    position: absolute;
    top: 0.8rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--vert-300);
    font-size: 1.9rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
}
.waitlist-modal-close:hover { color: #fff; }
.waitlist-modal-dismiss {
    background: none;
    border: none;
    color: var(--vert-300);
    font-size: 0.85rem;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    margin-top: 1.1rem;
}
.waitlist-modal-dismiss:hover { color: #fff; }

.advantage {
    padding: clamp(3.5rem, 9vh, 6rem) clamp(1rem, 4vw, 2rem);
    display: grid;
    gap: 1.2rem;
    max-width: var(--maxw-text);
    margin: 0 auto;
}
.advantage-icon {
    width: 54px; height: 54px;
    border-radius: var(--radius);
    background: var(--vert-900);
    display: grid;
    place-items: center;
}
.advantage-icon svg { width: 30px; height: 30px; stroke: var(--creme); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.advantage h2 { font-size: var(--fs-h2); }
.advantage p { color: var(--muted); max-width: 56ch; }
.advantage .advantage-detail { color: var(--encre); }

/* Teaser produits */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.product-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(31, 42, 32, 0.1);
    color: inherit;
}
.product-card .product-icon { width: 52px; height: 52px; margin-bottom: 0.4rem; }
.product-card h3 { font-size: 1.3rem; }
.product-card .product-tagline { color: var(--muted); font-size: 0.95rem; flex-grow: 1; }
.product-card .product-price {
    font-weight: 700;
    color: var(--terracotta);
    font-size: 1.1rem;
}
.product-card .product-link { font-weight: 600; color: var(--vert-600); }

/* Section app mobile */
.app-section-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}
@media (max-width: 800px) {
    .app-section-inner { grid-template-columns: 1fr; }
}
.phone-mock {
    width: min(260px, 70vw);
    margin: 0 auto;
    aspect-ratio: 9 / 19;
    border-radius: 38px;
    border: 10px solid var(--vert-900);
    background: linear-gradient(170deg, #FDFCF8 0%, var(--creme-2) 100%);
    box-shadow: 0 24px 60px rgba(31, 42, 32, 0.18);
    padding: 1.1rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    overflow: hidden;
}
.phone-row {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.6rem 0.7rem;
    font-size: 0.72rem;
    line-height: 1.4;
}
.phone-row strong { display: block; font-size: 0.78rem; }
.phone-row .ok { color: var(--vert-600); font-weight: 600; }
.phone-row .warn { color: var(--terracotta); font-weight: 600; }
.phone-gauge {
    height: 6px;
    border-radius: 999px;
    background: var(--creme-2);
    overflow: hidden;
    margin-top: 0.35rem;
}
.phone-gauge span { display: block; height: 100%; border-radius: 999px; background: var(--vert-600); }
.app-features { display: grid; gap: 1.1rem; margin-top: 1.6rem; }
.app-feature { display: flex; gap: 0.85rem; align-items: baseline; }
.app-feature .dot {
    flex: none;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--terracotta);
    position: relative;
    top: 1px;
}
.app-feature strong { color: var(--vert-900); }
.app-feature p { color: var(--muted); font-size: 0.97rem; }
.store-badges { display: flex; gap: 0.8rem; margin-top: 1.8rem; flex-wrap: wrap; }
.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--encre);
    color: var(--creme);
    text-decoration: none;
    border-radius: 10px;
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
    line-height: 1.25;
}
.store-badge:hover { background: var(--vert-900); color: #fff; }
.store-badge small { display: block; font-size: 0.68rem; opacity: 0.8; }
.store-badge svg { width: 22px; height: 22px; fill: currentColor; }

/* Avis clients : bandeau défilant (home) et grille (page /avis) */
.reviews-section .container h2 { font-size: var(--fs-h2); margin-bottom: 0.5rem; }
.reviews-band {
    overflow: hidden;
    margin: 2.5rem 0;
    /* fondu doux sur les bords du bandeau */
    -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.reviews-track {
    display: flex;
    width: max-content;
    animation: reviews-scroll 55s linear infinite;
}
.reviews-band:hover .reviews-track { animation-play-state: paused; }
.reviews-group {
    display: flex;
    gap: 1.25rem;
    padding-right: 1.25rem;
}
@keyframes reviews-scroll {
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .reviews-track { animation: none; }
    .reviews-band { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
    .reviews-group[aria-hidden="true"] { display: none; }
}
.review-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.7rem;
    width: min(340px, 82vw);
    flex: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.review-head {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.review-avatar { width: 48px; height: 48px; border-radius: 50%; flex: none; }
.review-who { display: flex; flex-direction: column; line-height: 1.3; }
.review-who strong { color: var(--vert-900); }
.review-meta { font-size: 0.8rem; color: var(--muted); }
.review-stars { letter-spacing: 0.1em; font-size: 0.95rem; }
.review-stars .star { color: var(--line); }
.review-stars .star.is-on { color: var(--flower); }
.review-card blockquote { margin: 0; }
.review-card blockquote p { color: var(--encre); font-size: 0.96rem; margin: 0; }

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}
.reviews-grid .review-card { width: auto; }
.reviews-note {
    color: var(--muted);
    font-size: 0.88rem;
    margin-top: 1.5rem;
}

/* FAQ */
.faq-list { margin-top: 2rem; display: grid; gap: 0.8rem; }
.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0;
}
.faq-item summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.3rem;
    font-weight: 600;
    color: var(--vert-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-marker {
    flex: none;
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--terracotta);
    transition: transform 0.25s ease;
}
.faq-item[open] .faq-marker { transform: rotate(45deg); }
.faq-answer { padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* CTA final */
.final-cta {
    text-align: center;
    padding: var(--space-section) 0;
}
.final-cta h2 { font-size: var(--fs-h2); max-width: 22ch; margin: 0 auto 1rem; }
.final-cta p { color: var(--muted); max-width: 50ch; margin: 0 auto 2rem; }

/* --------------------------------------------------------------------------
   Pages produits
   -------------------------------------------------------------------------- */
.breadcrumb {
    font-size: 0.88rem;
    color: var(--muted);
    padding-top: 1.5rem;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--vert-600); }
.product-hero {
    display: grid;
    grid-template-columns: minmax(220px, 380px) 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    padding: clamp(2rem, 6vh, 4rem) 0;
}
@media (max-width: 800px) {
    .product-hero { grid-template-columns: 1fr; }
}
.product-visual {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 5vw, 3.5rem);
}
.product-hero h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin-bottom: 0.6rem; }
.product-hero .product-tagline { color: var(--muted); font-size: 1.12rem; margin-bottom: 1.2rem; }
.product-hero .product-price { font-size: 1.7rem; font-weight: 700; color: var(--terracotta); }
.product-hero .price-note { color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem; }
.product-hero .preorder-note { margin-bottom: 1.2rem; }
.feature-list { list-style: none; padding: 0; display: grid; gap: 0.55rem; margin: 1.4rem 0 0; }
.feature-list li { display: flex; gap: 0.6rem; align-items: baseline; }
.feature-list li::before {
    content: "";
    flex: none;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--vert-600);
    position: relative;
    top: -1px;
}
.spec-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }
.spec-table th, .spec-table td {
    text-align: left;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--line);
}
.spec-table th { color: var(--vert-900); font-weight: 600; width: 38%; }

/* --------------------------------------------------------------------------
   Blog
   -------------------------------------------------------------------------- */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding-bottom: var(--space-section);
}
.post-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(31, 42, 32, 0.1);
    color: inherit;
}
/* Filtres par catégorie (façon cobalt) */
.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
}
.blog-filter {
    display: inline-block;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    border: 1.5px solid var(--line);
    background: #fff;
    color: var(--encre);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: border-color 0.15s ease, color 0.15s ease;
}
.blog-filter:hover { border-color: var(--vert-600); color: var(--vert-600); }
.blog-filter.is-active {
    background: var(--vert-900);
    border-color: var(--vert-900);
    color: var(--creme);
}

.post-cover {
    width: calc(100% + 3.6rem);
    margin: -1.8rem -1.8rem 0.4rem;
    max-width: none;
    height: auto;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.post-meta { font-size: 0.85rem; color: var(--muted); }
.post-meta a.post-category { text-decoration: none; }
.post-meta a.post-category:hover { text-decoration: underline; }
.post-meta .post-category {
    color: var(--terracotta);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
}
.post-card h2 { font-size: 1.35rem; }
.post-card .post-excerpt { color: var(--muted); font-size: 0.97rem; flex-grow: 1; }
.post-card .post-link { font-weight: 600; color: var(--vert-600); }

.article {
    max-width: var(--maxw-text);
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem) var(--space-section);
}
.article-header { padding: clamp(2.5rem, 7vh, 4.5rem) 0 2rem; }
.article-header h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin: 0.7rem 0 1rem; }
.article-h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 2.6rem 0 1rem; }
.article-h3 { font-size: var(--fs-h3); margin: 2rem 0 0.8rem; }
.article p { margin-bottom: 1.15rem; }
.article-figure {
    margin: 1.8rem 0;
}
.article-figure img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    border: 1px solid var(--line);
}
.article-hero-figure { margin-top: 0; }
.article-figure figcaption {
    font-size: 0.88rem;
    color: var(--muted);
    margin-top: 0.6rem;
    text-align: center;
}
.article-table-wrap { overflow-x: auto; margin: 1.5rem 0; }
.article-table { border-collapse: collapse; width: 100%; min-width: 480px; }
.article-table th, .article-table td {
    border: 1px solid var(--line);
    padding: 0.7rem 0.9rem;
    text-align: left;
}
.article-table th { background: var(--creme-2); color: var(--vert-900); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(2rem, 6vw, 4.5rem);
    padding-bottom: var(--space-section);
}
@media (max-width: 800px) {
    .contact-layout { grid-template-columns: 1fr; }
}
.form-field { margin-bottom: 1.25rem; }
.form-field label { display: block; font-weight: 600; margin-bottom: 0.4rem; color: var(--vert-900); }
.form-field input, .form-field select, .form-field textarea {
    width: 100%;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 0.75rem 0.9rem;
    transition: border-color 0.2s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
    outline: none;
    border-color: var(--vert-600);
}
.form-field textarea { min-height: 170px; resize: vertical; }
.field-error { color: var(--terracotta-2); font-size: 0.88rem; margin-top: 0.35rem; }
.form-alert {
    border-radius: var(--radius);
    padding: 1rem 1.2rem;
    margin-bottom: 1.5rem;
}
.form-alert-success { background: #E4F2E4; border: 1px solid var(--vert-300); color: var(--vert-900); }
.form-alert-error { background: #F9E8DF; border: 1px solid var(--terracotta); color: var(--terracotta-2); }
/* Honeypot : hors écran (pas display:none, les bots le détectent) */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: auto;
    width: 1px; height: 1px;
    overflow: hidden;
}
.contact-aside {
    background: var(--creme-2);
    border-radius: var(--radius-lg);
    padding: 2rem;
    align-self: start;
}
.contact-aside h2 { font-size: 1.3rem; margin-bottom: 0.8rem; }
.contact-aside p { color: var(--muted); margin-bottom: 1rem; }

/* --------------------------------------------------------------------------
   Page À propos
   -------------------------------------------------------------------------- */
/* La page est plus large que --maxw-text (mise en page à 2 colonnes) ;
   .about-head aligne le titre de page sur la même largeur. */
.about, .container.about-head { max-width: 1040px; }
.about {
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem) var(--space-section);
}
.about h2 { font-size: var(--fs-h2); margin: 3rem 0 1.2rem; }
.about p { margin-bottom: 1.1rem; max-width: 75ch; }
/* Image centrée en haut, tout le texte en pleine largeur dessous */
.about-intro h2 { margin-top: 0; }
.about-mascotte {
    width: min(340px, 70vw);
    height: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin: 0 auto clamp(2rem, 5vh, 3rem);
}
.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.about-value {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem 1.8rem;
}
.about-value h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.about-value p { color: var(--muted); margin: 0; }
@media (max-width: 900px) {
    .about-values { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Pages légales / texte simple
   -------------------------------------------------------------------------- */
.legal {
    max-width: var(--maxw-text);
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem) var(--space-section);
}
.legal h2 { font-size: 1.4rem; margin: 2.2rem 0 0.8rem; }
.legal p, .legal li { color: var(--encre); margin-bottom: 0.9rem; }

/* --------------------------------------------------------------------------
   Footer façon cobalt : Explorez -> mascotte -> grand CTA -> bandeau légal
   -------------------------------------------------------------------------- */
.btn-lg { padding: 1rem 2.4rem; font-size: 1.05rem; }

/* Cartes « Explorez » */
.footer-library { padding: var(--space-section) 0 3.5rem; }
.footer-library-title {
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 0.95;
    font-size: clamp(2.2rem, 6vw, 4rem);
    margin-bottom: 3rem;
}
.footer-library-title em { color: var(--terracotta); }
.footer-library-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.footer-library-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 14px 36px rgba(31, 42, 32, 0.06);
    padding: 1.75rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.footer-library-card h3 {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--muted);
    text-align: center;
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.9rem;
    margin-bottom: 0.6rem;
}
.footer-library-card a {
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--encre);
    text-decoration: none;
    transition: color 0.15s ease, transform 0.15s ease;
}
.footer-library-card a:hover { color: var(--vert-600); transform: translateX(3px); }
@media (max-width: 900px) { .footer-library-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .footer-library-grid { grid-template-columns: 1fr; } }

/* Mascotte : sort de derrière le CTA final au scroll */
.footer-mascotte {
    overflow: hidden;
    overflow: clip;
    margin-bottom: -1px; /* colle au bord supérieur du CTA */
    display: flex;
    justify-content: center;
    pointer-events: none;
}
.footer-mascotte img {
    display: block;
    width: min(440px, 60vw);
    height: auto;
    transform: translateY(103%);
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}
.footer-mascotte.is-up img, html:not(.js) .footer-mascotte img { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .footer-mascotte img { transform: none; transition: none; }
}

/* Grand CTA final */
.footer-cta {
    background: linear-gradient(160deg, var(--vert-600) 0%, var(--vert-900) 100%);
    color: var(--creme);
    text-align: center;
    padding: 6.5rem 0;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.footer-cta-title {
    color: var(--creme);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 0.95;
    font-size: clamp(2.8rem, 9vw, 6rem);
    margin-bottom: 1.5rem;
}
.footer-cta-title em { color: #F4C86A; }
.footer-cta-sub {
    color: rgba(246, 242, 233, 0.72);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

/* Bandeau légal */
.site-footer {
    background: var(--vert-900);
    color: var(--creme);
    padding: 2rem 0;
}
.site-footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: rgba(246, 242, 233, 0.65);
}
.site-footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-footer-links a { color: rgba(246, 242, 233, 0.8); text-decoration: none; }
.site-footer-links a:hover {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: var(--terracotta);
    text-underline-offset: 4px;
}
@media (max-width: 700px) {
    .site-footer-legal { flex-direction: column; }
}
