@charset "UTF-8";

/* ═══════════════════════════════════════════════════════════════
   Tout Émoi — feuille de style
   Conforme à CHARTE_GRAPHIQUE.md (identité aquarelle / colibri).
   Sommaire :
     1. Polices          5. En-tête et navigation
     2. Design tokens    6. Accueil (héros)
     3. Base             7. Composants
     4. Mise en page     8. Pied de page
                         9. Animations et responsive
                        10. InfoHypno (blog)
   ═══════════════════════════════════════════════════════════════ */

/* ─── 1. Polices ─────────────────────────────────────────────────
   Auto-hébergées : aucune requête vers un service tiers, donc
   aucune adresse IP de visiteur transmise (conformité RGPD).      */

/* Manrope — titres, navigation, boutons. Variable 400→700. */
@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope-var-latin.woff2') format('woff2');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope-var-latin-ext.woff2') format('woff2');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Lato — texte courant. */
@font-face {
    font-family: 'Lato';
    src: url('../fonts/lato-400-latin.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Lato';
    src: url('../fonts/lato-400-latin-ext.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Lato';
    src: url('../fonts/lato-700-latin.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Lato';
    src: url('../fonts/lato-700-latin-ext.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Cormorant Garamond — accent éditorial, citations uniquement. */
@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/cormorant-italic-400-latin.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/cormorant-italic-400-latin-ext.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


/* ─── 2. Design tokens ───────────────────────────────────────── */

:root {
    /* Palette — voir CHARTE_GRAPHIQUE.md § Palette */
    --te-paper:       #f8f7f1;   /* Ivoire papier — fond principal   */
    --te-mist:        #eef5ef;   /* Brume menthe — sections alternées */
    --te-celadon:     #d8e9dc;   /* Céladon clair — surfaces          */
    --te-sage:        #a9c7b0;   /* Sauge — filets, séparateurs       */
    --te-graphite:    #55575b;   /* Graphite — titres et textes       */
    --te-forest:      #2e5b45;   /* Vert forêt — liens, marque        */
    --te-forest-dark: #1f4231;
    --te-yellow:      #f3c84b;   /* Accent solaire                    */
    --te-coral:       #ed788a;   /* Accent relation                   */
    --te-blue:        #3e98d3;   /* Accent souffle                    */
    --te-white:       #ffffff;

    /* Dérivées */
    --te-sage-line:   rgba(169, 199, 176, .45);
    --te-veil:        rgba(248, 247, 241, .90);
    --te-card:        rgba(255, 255, 255, .82);

    /* Formes */
    --te-radius:      24px;
    --te-radius-lg:   32px;
    --te-shadow:      0 14px 40px rgba(46, 91, 69, .10);
    --te-shadow-soft: 0 6px 20px rgba(46, 91, 69, .07);

    /* Rythme */
    --te-max:         1180px;
    --te-measure:     68ch;      /* Largeur de lecture confortable   */
    --te-header-h:    5rem;

    /* ── Feuilles de papier ──────────────────────────────────────
       Trois bords de déchirure distincts, en SVG intégré : chaque
       feuille a le sien, pour qu'aucune ne se répète à l'identique.
       Tracés générés hors ligne, puis figés ici (~470 caractères). */

    --te-tear-A: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201200%2030'%20preserveAspectRatio='none'><path%20d='M0,30L0,13.7L10.2,18.4L58.9,18.8L89.7,18.9L145.6,16.7L186.3,19.2L205.2,22.5L253.7,20.2L275.5,15.3L325.4,17.3L375.2,17.3L396.6,13.1L468.3,13.1L486.6,7.7L550.2,10.5L586.7,11.5L598.4,7.7L607.3,4.5L666.7,7.1L737.3,7.5L808.7,9.2L870.3,10.9L882.1,7.3L949.5,8.6L1003.3,9.3L1031.3,12.3L1047.3,17.6L1083.4,17.8L1158.0,16.3L1200.0,16.8L1200,30%20Z'%20fill='%23000'/></svg>");

    --te-tear-B: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201200%2030'%20preserveAspectRatio='none'><path%20d='M0,30L0,15.4L13.4,20.5L51.7,17.3L86.8,18.1L122.2,14.9L139.0,10.0L179.1,11.6L211.1,12.2L285.3,14.5L339.5,16.6L385.2,15.6L432.7,15.8L468.1,15.9L522.4,14.8L583.6,16.1L632.2,15.7L687.6,15.0L743.7,15.6L773.7,16.4L839.1,15.2L885.0,14.0L900.4,9.7L936.0,10.9L979.3,10.2L996.5,15.0L1041.7,14.4L1115.3,16.8L1131.6,11.9L1200.0,12.1L1200,30%20Z'%20fill='%23000'/></svg>");

    --te-tear-C: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201200%2030'%20preserveAspectRatio='none'><path%20d='M0,30L0,15.4L59.6,12.4L134.5,13.7L182.6,15.0L244.1,14.5L284.5,15.0L352.0,13.9L384.3,13.9L450.7,14.1L496.7,14.9L532.5,16.2L561.2,14.2L632.9,14.3L650.0,18.6L702.2,16.6L734.7,18.0L785.3,18.0L820.1,16.3L879.4,16.5L930.6,17.3L986.2,17.6L1060.2,16.9L1131.4,15.9L1190.5,16.3L1200.0,15.6L1200,30%20Z'%20fill='%23000'/></svg>");

    /* Grain du papier : bruit fractal calculé par le navigateur.
       stitchTiles assure un raccord invisible entre les tuiles. */
    --te-grain: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20width='240'%20height='240'><filter%20id='g'><feTurbulence%20type='fractalNoise'%20baseFrequency='0.85'%20numOctaves='3'%20stitchTiles='stitch'/></filter><rect%20width='240'%20height='240'%20filter='url(%23g)'%20opacity='0.055'/></svg>");

    --te-tear-h:      30px;      /* Hauteur de la bande déchirée     */
    --te-sheet-bleed: 2.75rem;   /* Débord des feuilles, pour la dérive */
}


/* ─── 3. Base ────────────────────────────────────────────────── */

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

body, h1, h2, h3, h4, p, ul, ol, figure, blockquote {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;   /* Sur mobile, body seul ne suffit pas : la page s'élargit et l'en-tête fixe déborde */
}

body {
    /* Papier du dessous : la teinte la plus profonde de la pile. */
    background-color: #efeee6;
    background-image: var(--te-grain);
    color: var(--te-graphite);
    font-family: 'Lato', system-ui, -apple-system, sans-serif;
    font-size: 1.075rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;   /* Les feuilles débordent : on évite la barre latérale */
}

h1, h2, h3, h4 {
    color: var(--te-graphite);
    font-family: 'Manrope', system-ui, sans-serif;
    font-weight: 600;
    line-height: 1.16;
    text-wrap: balance;
}

h1 { font-size: clamp(2.3rem, 5vw, 4.8rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 500; }

p { text-wrap: pretty; }

p + p { margin-top: 1.15rem; }

a {
    color: var(--te-forest);
    text-decoration-color: color-mix(in srgb, var(--te-forest) 40%, transparent);
    text-underline-offset: .2em;
    transition: color .2s ease, text-decoration-color .2s ease;
}

a:hover {
    color: var(--te-forest-dark);
    text-decoration-color: currentColor;
}

/* Focus clavier : 3 px bleu, décalage 3 px (charte § Accessibilité) */
:focus-visible {
    outline: 3px solid var(--te-blue);
    outline-offset: 3px;
    border-radius: 4px;
}

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

strong { font-weight: 700; }

/* Décalage des ancres pour compenser l'en-tête fixe.
   Remplace l'ancien bricolage height/margin négatif. */
[id] { scroll-margin-top: calc(var(--te-header-h) + 1rem); }

.anchor { display: block; height: 0; }

.centrer { text-align: center; }

/* Lien d'évitement pour la navigation au clavier et les lecteurs d'écran */
.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 1100;
    padding: .75rem 1.25rem;
    background: var(--te-forest);
    color: var(--te-white);
    border-radius: 0 0 var(--te-radius) 0;
    font-family: 'Manrope', system-ui, sans-serif;
}

.skip-link:focus {
    left: 0;
    top: 0;
}


/* ─── 4. Mise en page ────────────────────────────────────────── */

.container {
    width: min(calc(100% - 2rem), var(--te-max));
    margin-inline: auto;
}

main {
    /* L'en-tête est fixe : on réserve sa hauteur. */
    padding-top: var(--te-header-h);
}

.section {
    /* position: relative sans z-index ne crée pas de contexte
       d'empilement : les feuilles (z-index: -1) se superposent donc
       entre elles dans l'ordre du document, et tout le texte de la
       page passe au-dessus d'elles. */
    position: relative;
    overflow-x: clip;   /* les feuilles débordent des deux côtés : on les coupe à la largeur de l'écran */
    padding-block: clamp(4.5rem, 8vw, 7rem);
    padding-inline: 1rem;
}

/* ── Feuilles de papier déchiré ──────────────────────────────────
   Chaque section est une feuille posée sur la pile. Le fond est
   porté par un pseudo-élément, jamais par la section elle-même :
   ainsi la feuille peut dériver au défilement sans emporter le
   texte avec elle.

   Le masque superpose deux images : la bande déchirée en haut, et
   un aplat pour tout le reste. Leur composition par défaut (add)
   en fait l'union — d'où une feuille pleine, au bord supérieur
   irrégulier.                                                     */

.section::before {
    content: '';
    position: absolute;
    inset: calc(var(--te-sheet-bleed) * -1) calc(var(--te-sheet-bleed) * -1);
    z-index: -1;
    background-color: var(--te-paper);
    background-image:
        linear-gradient(to bottom,
            rgba(46, 91, 69, .06) 0,
            rgba(46, 91, 69, 0) 90px),   /* ombre portée de la feuille du dessus */
        var(--te-grain);

    -webkit-mask-image: var(--te-tear-A), linear-gradient(#000, #000);
            mask-image: var(--te-tear-A), linear-gradient(#000, #000);
    -webkit-mask-size: 100% var(--te-tear-h), 100% calc(100% - var(--te-tear-h) + 1px);
            mask-size: 100% var(--te-tear-h), 100% calc(100% - var(--te-tear-h) + 1px);
    -webkit-mask-position: top center, bottom center;
            mask-position: top center, bottom center;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;

    /* Position de repos. Là où animation-timeline fonctionne,
       l'animation prend le pas sur cette déclaration ; ailleurs,
       c'est js/scroll.js qui écrit --te-shift sur la section. */
    translate: 0 var(--te-shift, 0px);
    will-change: translate;
}

/* Chaque feuille reçoit une déchirure différente. */
.section:nth-of-type(3n + 2)::before {
    -webkit-mask-image: var(--te-tear-B), linear-gradient(#000, #000);
            mask-image: var(--te-tear-B), linear-gradient(#000, #000);
}

.section:nth-of-type(3n)::before {
    -webkit-mask-image: var(--te-tear-C), linear-gradient(#000, #000);
            mask-image: var(--te-tear-C), linear-gradient(#000, #000);
}

/* Léger désaxement : des feuilles posées à la main, pas au cordeau. */
.section:nth-of-type(even)::before { rotate: -.12deg; }
.section:nth-of-type(odd)::before  { rotate:  .09deg; }

/* ── Dérive au défilement ────────────────────────────────────────
   Animation pilotée par la position de la feuille dans la fenêtre :
   aucun script, aucun écouteur de défilement. Les navigateurs qui
   ignorent animation-timeline affichent la pile immobile, et
   js/scroll.js prend alors le relais.                              */

@keyframes derive-papier {
    from { translate: 0 calc(var(--te-drift, 1.5rem) * -1); }
    to   { translate: 0 var(--te-drift, 1.5rem); }
}

@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .section::before {
            animation: derive-papier linear both;
            animation-timeline: view();
            animation-range: cover 0% cover 100%;
        }

        /* Vitesses inégales : c'est l'écart entre les feuilles qui
           crée la profondeur, pas le mouvement lui-même. */
        .section:nth-of-type(3n + 1)::before { --te-drift: 1.9rem; }
        .section:nth-of-type(3n + 2)::before { --te-drift: 1.1rem; }
        .section:nth-of-type(3n)::before     { --te-drift: 1.5rem; }
    }
}

/* Les pages intérieures (infos.php) n'enveloppent pas leur contenu dans
   un .container : on contraint alors directement les enfants, pour que
   le texte ne s'étale jamais sur toute la largeur de l'écran. */
.section > h2,
.section > h3,
.section > p,
.section > ul,
.section > ol,
.section > blockquote,
.section > .section-content {
    max-width: var(--te-measure);
    margin-inline: auto;
}

/* Alternance ivoire / brume menthe (charte § Sections) : la teinte
   porte sur la feuille, pas sur la section. */
.section--mist::before {
    background-color: var(--te-mist);
}

.section > .container > h2,
.section h2 {
    text-align: center;
    margin-bottom: .75rem;
}

/* Filet sauge sous les titres de section, en remplacement du trait orange */
.section h2::after {
    content: '';
    display: block;
    width: 64px;
    height: 2px;
    margin: 1.25rem auto 0;
    background: var(--te-sage);
    border-radius: 2px;
}

.section__intro {
    max-width: var(--te-measure);
    margin: 0 auto clamp(2rem, 4vw, 3rem);
    text-align: center;
}

.section-content {
    max-width: var(--te-measure);
    margin-inline: auto;
}

.section-content li {
    margin-bottom: .75rem;
}

.section-content ul { list-style-type: none; padding-left: 1.5rem; }

.section-content ul li::before {
    content: '';
    display: inline-block;
    width: .4em;
    height: .4em;
    margin-right: .7em;
    margin-left: -1.1em;
    vertical-align: middle;
    background: var(--te-sage);
    border-radius: 50%;
}

.numerote { list-style-type: decimal; padding-left: 1.5rem; }
.numerote li::before { content: none; }

.section-content h3 {
    margin-top: 2rem;
    margin-bottom: .5rem;
    color: var(--te-forest);
}

.section-content h3:first-of-type { margin-top: 1rem; }

/* Étiquettes des mentions légales (« adresse : », « SIRET : »…).
   Remplace l'ancienne règle globale span { font-weight: bold }, qui
   mettait en gras tous les span du site sans distinction. */
.section-content p > span {
    color: var(--te-forest);
    font-weight: 600;
}

.subtitle {
    color: color-mix(in srgb, var(--te-graphite) 90%, transparent);
    font-size: 1.15rem;
}

.section-content .subtitle {
    font-family: 'Manrope', system-ui, sans-serif;
    font-weight: 500;
}


/* ─── 5. En-tête et navigation ───────────────────────────────── */

header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    height: var(--te-header-h);
    background: rgba(248, 247, 241, .82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--te-sage-line);
}

header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: 100%;
    width: min(calc(100% - 2rem), var(--te-max));
    margin-inline: auto;
}

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

.logo-mark {
    width: auto;
    height: 3.4rem;   /* tient dans l'en-tête de 5rem, avec de l'air */
}

.logo-container {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.logo-text-top,
.logo-text-bottom {
    font-family: 'Manrope', system-ui, sans-serif;
    color: var(--te-forest);
}

.logo-text-top    { font-size: 1.05rem; font-weight: 500; letter-spacing: .02em; }
.logo-text-bottom { font-size: 1.35rem; font-weight: 600; }

header a:has(.logo-brand) { text-decoration: none; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: .35rem;
    list-style: none;
}

.nav-menu a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;              /* Zone tactile (charte § Accessibilité) */
    padding: .4rem .85rem;
    border-radius: 999px;
    color: var(--te-graphite);
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: .97rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

.nav-menu a:hover {
    background: var(--te-celadon);
    color: var(--te-forest);
}

/* Entre le burger (860 px) et ~1000 px, six liens doivent tenir sur une ligne. */
@media (min-width: 861px) and (max-width: 1000px) {
    .nav-menu { gap: .1rem; }
    .nav-menu a { padding-inline: .5rem; font-size: .9rem; }
}

/* Le rendez-vous est l'action principale : traitée en bouton. */
.nav-menu .nav-cta {
    white-space: nowrap;
    background: var(--te-forest);
    color: var(--te-white);
    padding-inline: 1.15rem;
}

.nav-menu .nav-cta:hover {
    background: var(--te-forest-dark);
    color: var(--te-white);
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    margin-inline: auto;
    background: var(--te-forest);
    border-radius: 2px;
    transition: transform .25s ease, opacity .25s ease;
}

.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ─── 6. Accueil (héros) ─────────────────────────────────────── */

.hero {
    display: grid;
    align-items: center;
    min-height: min(480px, 60vh);
    margin-top: calc(var(--te-header-h) * -1);
    padding-top: var(--te-header-h);
    background: url('../images/hero-etang.webp') center / cover no-repeat;
}

.hero-content {
    /* Zone claire en haut à gauche de la photo (charte § Accueil) */
    width: min(660px, 100%);
    margin-right: auto;
    padding: clamp(1.75rem, 4vw, 3.25rem);
    background: rgba(248, 247, 241, .70); /* voile à 30 % de transparence */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--te-sage-line);
    border-radius: var(--te-radius-lg);
    box-shadow: var(--te-shadow);
}

.hero h1 {
    font-size: clamp(1.9rem, 4vw, 3.2rem);
    margin-bottom: .9rem;
}

/* L'accroche porte le sens du nom : « Tout » et « Moi » sont mis en
   valeur, puisque c'est de leur rencontre que vient « Tout Émoi ». */
.hero-content { position: relative; }

/* Médaillon : à cheval sur le bord droit du bloc, il déborde sur la photo */
.hero__medaillon {
    position: absolute;
    top: 2.75rem;
    right: -6.5rem;
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--te-paper);
    box-shadow: var(--te-shadow);
}

.hero .subtitle {
    max-width: 46ch;
    margin-bottom: 2rem;
    color: color-mix(in srgb, var(--te-graphite) 88%, transparent);
    font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
}

/* Bandeau de titre des pages intérieures (charte § Usage des fonds) */
.page-header {
    display: grid;
    place-items: center;
    min-height: 260px;
    margin-top: calc(var(--te-header-h) * -1);
    padding: calc(var(--te-header-h) + 2rem) 1rem 2rem;
    background: url('../images/bandeau-arbre.webp') center / cover no-repeat;
    text-align: center;
}

.page-header h1 {
    padding: 1rem 2rem;
    background: var(--te-veil);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--te-sage-line);
    border-radius: var(--te-radius);
    font-size: clamp(1.9rem, 4vw, 3rem);
}


/* ─── 7. Composants ──────────────────────────────────────────── */

/* Boutons — pilule, vert forêt (charte § Boutons) */
.cta-button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 44px;
    padding: .75rem 1.5rem;
    border: 2px solid var(--te-forest);
    border-radius: 999px;
    background: var(--te-forest);
    color: var(--te-white);
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}

.cta-button:hover,
.button:hover {
    background: var(--te-forest-dark);
    border-color: var(--te-forest-dark);
    color: var(--te-white);
    transform: translateY(-2px);
}

.button--secondary {
    background: transparent;
    color: var(--te-forest);
}

.button--secondary:hover {
    background: color-mix(in srgb, var(--te-forest) 8%, transparent);
    color: var(--te-forest);
}

/* Cartes */
.card,
.domaine-card,
.contact-card,
.tarif-card,
.super-item {
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border: 1px solid var(--te-sage-line);
    border-radius: var(--te-radius);
    background: var(--te-card);
    box-shadow: var(--te-shadow);
}

.domaines-grid,
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: clamp(1.25rem, 2.5vw, 2rem);
}

.domaine-card {
    transition: transform .25s ease, box-shadow .25s ease;
}

.domaine-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(46, 91, 69, .14);
}

.domaine-card h3 {
    margin-bottom: .85rem;
    color: var(--te-forest);
    text-align: center;
}

/* Repère coloré discret en tête de carte (max ~10 % de la composition) */
.domaine-card::before {
    content: '';
    display: block;
    width: 38px;
    height: 3px;
    margin: 0 auto 1.15rem;
    background: var(--te-sage);
    border-radius: 3px;
}

.domaine-card:nth-child(1)::before { background: var(--te-yellow); }
.domaine-card:nth-child(2)::before { background: var(--te-blue); }
.domaine-card:nth-child(3)::before { background: var(--te-coral); }

/* Bloc « pratique » — surface calme, sans image de fond concurrente */
.pratique {
    max-width: var(--te-measure);
    margin-inline: auto;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid var(--te-sage-line);
    border-radius: var(--te-radius);
    background: var(--te-white);
    box-shadow: var(--te-shadow-soft);
}

/* Illustration pleine largeur (ancien bloc « voyage ») */
.voyage {
    aspect-ratio: 16 / 7;
    margin-block: clamp(1.5rem, 3vw, 2.5rem);
    background: url('../images/voyage-arbre.webp') center / cover no-repeat;
    border-radius: var(--te-radius-lg);
    box-shadow: var(--te-shadow);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(1.25rem, 4vw, 3rem) clamp(1rem, 4vw, 3rem) 0;
}

/* Citation posée dans le ciel de la photo (l'arbre occupe le centre, sous le texte) */
.voyage__citation {
    max-width: 22ch;
    margin: 0;
    color: var(--te-white);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-weight: 600;
    font-size: clamp(1.4rem, 3.4vw, 2.4rem);
    line-height: 1.25;
    text-align: center;
    text-shadow: 0 1px 3px rgba(20, 35, 55, .65), 0 0 18px rgba(20, 35, 55, .45);
}

/* Objectif SUPER */
.objectif-super {
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid var(--te-sage-line);
    border-radius: var(--te-radius-lg);
    background: var(--te-celadon);
}

.objectif-super > h3 {
    margin-bottom: 1rem;
    text-align: center;
    color: var(--te-forest);
}

.objectif-super > p {
    max-width: var(--te-measure);
    margin-inline: auto;
}

.super-items {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
}

.super-item strong {
    display: block;
    margin-bottom: .35rem;
    color: var(--te-forest);
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
}

.super-item p { font-size: 1rem; }

/* Citations — seul usage de l'accent éditorial (charte § Typographies) */
.citation {
    max-width: 60ch;
    margin: clamp(2rem, 4vw, 3rem) auto;
    padding: clamp(1.25rem, 3vw, 2rem) clamp(1.5rem, 4vw, 2.75rem);
    border-left: 3px solid var(--te-sage);
    background: var(--te-mist);
    border-radius: 0 var(--te-radius) var(--te-radius) 0;
    color: var(--te-graphite);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: clamp(1.25rem, 2.4vw, 1.6rem);
    line-height: 1.45;
    text-align: center;
}

.citation strong {
    font-weight: 600;
    color: var(--te-forest);
}

/* Lieux */
.contact-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}

.contact-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.contact-card .nature-description {
    padding: 1.5rem;
    text-align: center;
}

.contact-card .nature-description strong {
    display: block;
    margin-bottom: .25rem;
    color: var(--te-forest);
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 1.15rem;
}

/* Tarif */
.tarif-grid {
    max-width: 720px;
    margin-inline: auto;
}

.tarif-card { text-align: center; }

.price {
    margin-bottom: 1.5rem;
    color: var(--te-forest);
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
}

.tarif-card .price { margin-bottom: .25rem; line-height: 1.2; }

.tarif-card .price__detail {
    margin-bottom: 1.5rem;
    color: var(--te-forest);
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 1.15rem;
}

.tarif-card__tva {
    margin-bottom: 1.5rem;
    color: color-mix(in srgb, var(--te-graphite) 80%, transparent);
    font-size: .9rem;
}

.tarif-card__tva--bas { margin: 1.5rem 0 0; }

.tarif-card .super-item {
    margin-top: 1rem;
    text-align: left;
    box-shadow: none;
}

/* Mention sous les actions du héros */
.hero__mention {
    margin-top: 1rem;
    color: color-mix(in srgb, var(--te-graphite) 80%, transparent);
    font-size: .95rem;
}

/* Exemples concrets sous chaque domaine */
.domaine-card__exemples {
    margin-top: .85rem;
    padding-top: .85rem;
    border-top: 1px solid var(--te-sage-line);
    color: color-mix(in srgb, var(--te-graphite) 82%, transparent);
    font-size: .95rem;
}

.section__note {
    max-width: var(--te-measure);
    margin: clamp(2rem, 4vw, 3rem) auto 0;
    text-align: center;
}

/* ── Craintes : accordéon ────────────────────────────────────── */

.craintes {
    display: grid;
    gap: 1rem;
    max-width: var(--te-measure);
    margin-inline: auto;
}

.crainte {
    border: 1px solid var(--te-sage-line);
    border-radius: var(--te-radius);
    background: var(--te-card);
    box-shadow: var(--te-shadow-soft);
}

.crainte summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 44px;
    padding: 1.15rem clamp(1.15rem, 3vw, 1.75rem);
    color: var(--te-forest);
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 1.08rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.crainte summary::-webkit-details-marker { display: none; }

/* Indicateur d'ouverture, dessiné en CSS */
.crainte summary::after {
    content: '';
    flex: none;
    width: .6em;
    height: .6em;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    rotate: 45deg;
    translate: 0 -.15em;
    transition: rotate .25s ease;
}

.crainte[open] summary::after { rotate: -135deg; translate: 0 .15em; }

.crainte p {
    padding: 0 clamp(1.15rem, 3vw, 1.75rem) 1.5rem;
}

/* ── Étapes du déroulement ───────────────────────────────────── */

.etapes {
    display: grid;
    gap: 1.25rem;
    max-width: var(--te-measure);
    margin-inline: auto;
    padding: 0;
    list-style: none;
    counter-reset: etape;
}

.etape {
    position: relative;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    padding-left: clamp(4rem, 8vw, 5rem);
    border: 1px solid var(--te-sage-line);
    border-radius: var(--te-radius);
    background: var(--te-card);
    box-shadow: var(--te-shadow-soft);
    counter-increment: etape;
}

.etape::before {
    content: counter(etape);
    position: absolute;
    top: clamp(1.25rem, 3vw, 1.75rem);
    left: clamp(1.25rem, 3vw, 1.75rem);
    display: grid;
    place-items: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    background: var(--te-celadon);
    color: var(--te-forest);
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
}

.etape h3 {
    margin-bottom: .5rem;
    color: var(--te-forest);
}

.quisuisje__legitimite {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--te-sage-line);
    color: var(--te-forest);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    text-align: center;
}

/* Portrait */
.portrait {
    position: relative;
    display: block;
    width: 180px;
    height: 180px;
    margin: 0 auto 1.75rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--te-white);
    box-shadow: var(--te-shadow);
}

.portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Au survol, ou au toucher, le sourire remplace le regard baissé */
.portrait__survol {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .35s ease;
}

.portrait:hover .portrait__survol,
.portrait:focus-within .portrait__survol { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
    .portrait__survol { transition: none; }
}


/* ─── 8. Pied de page ────────────────────────────────────────── */

footer {
    position: relative;
    padding-block: clamp(4rem, 5vw, 5rem) clamp(2.5rem, 5vw, 4rem);
    text-align: center;
}

/* Dernière feuille de la pile : même traitement que les sections. */
footer::before {
    content: '';
    position: absolute;
    inset: calc(var(--te-sheet-bleed) * -1) calc(var(--te-sheet-bleed) * -1) 0;
    z-index: -1;
    background-color: var(--te-celadon);
    background-image:
        linear-gradient(to bottom,
            rgba(46, 91, 69, .06) 0,
            rgba(46, 91, 69, 0) 90px),
        var(--te-grain);

    -webkit-mask-image: var(--te-tear-B), linear-gradient(#000, #000);
            mask-image: var(--te-tear-B), linear-gradient(#000, #000);
    -webkit-mask-size: 100% var(--te-tear-h), 100% calc(100% - var(--te-tear-h) + 1px);
            mask-size: 100% var(--te-tear-h), 100% calc(100% - var(--te-tear-h) + 1px);
    -webkit-mask-position: top center, bottom center;
            mask-position: top center, bottom center;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem 1rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: .5rem 1rem;
    border-radius: 999px;
    color: var(--te-forest);
    font-family: 'Manrope', system-ui, sans-serif;
    font-weight: 500;
    text-decoration: none;
    transition: background-color .2s ease;
}

.footer-links a:hover {
    background: rgba(255, 255, 255, .6);
}

/* Icônes sociales en SVG : remplace une police de 304 Ko */
.social-links a {
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
}

.social-links svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: transform .2s ease;
}

.social-links a:hover svg { transform: translateY(-2px); }

.footer-mention {
    color: color-mix(in srgb, var(--te-graphite) 85%, transparent);
    font-size: .95rem;
}


/* ─── 9. Animations et responsive ────────────────────────────── */

/* Apparition au défilement.
   Le contenu est visible par défaut : si le JavaScript ne s'exécute
   pas, rien ne disparaît. C'est le script qui ajoute .js-anim, et
   lui seul masque avant de révéler. */
.js-anim .fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

.js-anim .fade-in.is-visible {
    opacity: 1;
    transform: none;
}

.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }

/* Respect des préférences système de mouvement réduit */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

    .js-anim .fade-in {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 860px) {
    :root { --te-header-h: 4.25rem; }

    .burger { display: flex; }

    .nav-menu {
        position: absolute;
        top: 100%;
        right: 1rem;
        left: 1rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: .25rem;
        padding: .75rem;
        background: var(--te-paper);
        border: 1px solid var(--te-sage-line);
        border-radius: var(--te-radius);
        box-shadow: var(--te-shadow);
    }

    .nav-menu.active { display: flex; }

    .nav-menu a { justify-content: center; }

    .hero {
        min-height: 0;
        padding-block: calc(var(--te-header-h) + 2rem) 3rem;
        background-image: url('../images/hero-etang-mobile.webp');
    }

    .hero-content { margin-inline: auto; }

    /* Sur petit écran, pas de débord : le médaillon se centre au-dessus du titre */
    .hero__medaillon {
        position: static;
        display: block;
        width: 7.5rem;
        height: 7.5rem;
        margin: 0 auto 1.25rem;
    }

    .hero__actions .cta-button,
    .hero__actions .button { width: 100%; }

    .voyage { aspect-ratio: 4 / 3; }

    /* Tablette : 3 cartes sur 2 colonnes, la dernière occupe toute la largeur */
    .domaines-grid > .domaine-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
    body { font-size: 1rem; }   /* Jamais sous 16 px (charte) */
    .voyage { aspect-ratio: 1 / 1; }
}

/* ─── 10. InfoHypno (blog) ───────────────────────────────────────
   Liste d'articles, pages de thème et article. Chaque thème apporte
   sa couleur (variable --accent, issue de theme.ini) : elle ne sert
   qu'à un filet ou un repère, jamais au texte (charte : ~10 % d'accents). */

/* Pastilles de navigation entre thèmes */
.blog-themes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .6rem;
    margin-top: 1.5rem;
}

.blog-themes a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: .45rem 1.1rem;
    border: 1px solid var(--te-sage-line);
    border-radius: 999px;
    background: var(--te-white);
    box-shadow: inset 0 -3px 0 var(--accent, var(--te-sage));
    color: var(--te-forest);
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s ease;
}

.blog-themes a:hover,
.blog-themes a[aria-current="page"] { background: var(--te-celadon); }

.section h2 > a {
    color: inherit;
    text-decoration: none;
}

/* Cartes d'articles */
.blog-cartes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 380px));
    justify-content: center;
    gap: clamp(1.25rem, 2.5vw, 2rem);
}

.blog-carte {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    border: 1px solid var(--te-sage-line);
    border-radius: var(--te-radius);
    background: var(--te-card);
    box-shadow: var(--te-shadow-soft);
    transition: transform .25s ease, box-shadow .25s ease;
}

.blog-carte::before {
    content: '';
    width: 38px;
    height: 3px;
    border-radius: 3px;
    background: var(--accent, var(--te-sage));
}

.blog-carte:hover {
    transform: translateY(-3px);
    box-shadow: var(--te-shadow);
}

.blog-carte:focus-within {
    outline: 3px solid var(--te-blue);
    outline-offset: 3px;
}

/* Toute la carte est cliquable, par le lien du titre. */
.blog-carte h3 a {
    color: var(--te-graphite);
    text-decoration: none;
}

.blog-carte h3 a::after {
    content: '';
    position: absolute;
    inset: 0;
}

.blog-carte h3 a:focus-visible { outline: none; }

.blog-carte h3 { font-size: 1.2rem; line-height: 1.35; }

.blog-carte__theme {
    color: var(--te-forest);
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .02em;
}

.blog-carte__resume {
    flex: 1;
    font-size: .98rem;
}

.blog-meta {
    color: color-mix(in srgb, var(--te-graphite) 85%, transparent);
    font-size: .9rem;
}

.blog-suite {
    margin-top: 1.75rem;
    text-align: center;
}

.fil {
    margin-bottom: 1.5rem;
    color: color-mix(in srgb, var(--te-graphite) 85%, transparent);
    font-size: .92rem;
}

.fil a { display: inline-block; padding-block: .6rem; }

.fil span { margin-inline: .35rem; }

.blog-404 { text-align: center; margin-bottom: 1rem; }

/* Article */
.article {
    max-width: var(--te-measure);
    margin-inline: auto;
}

.article__entete {
    margin-bottom: 2.25rem;
    text-align: center;
}

.article__entete h1 {
    margin-block: .5rem 1rem;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.2;
}

.article__entete .blog-carte__theme {
    display: inline-block;
    padding-bottom: .35rem;
    border-bottom: 3px solid var(--accent, var(--te-sage));
}

.article__chapo {
    margin-bottom: 1rem;
    color: var(--te-graphite);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.3rem, 2.6vw, 1.6rem);
    font-style: italic;
    line-height: 1.4;
}

.article__texte h2 {
    margin: 2.5rem 0 1rem;
    font-size: clamp(1.3rem, 2.6vw, 1.65rem);
    line-height: 1.3;
    text-align: left;
}

.article__texte h2::after { display: none; }

.article__texte ul,
.article__texte ol {
    margin: 1.15rem 0;
    padding-left: 1.5rem;
}

.article__texte li { margin-block: .55rem; padding-left: .2rem; }

.article__texte li::marker { color: var(--te-forest); }

.article__texte blockquote {
    margin: 1.75rem 0;
    padding: .25rem 0 .25rem 1.25rem;
    border-left: 3px solid var(--te-sage);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.3rem;
    font-style: italic;
}

.article__texte img {
    max-width: 100%;
    height: auto;
    border-radius: var(--te-radius);
}

.article__avertissement {
    margin-top: 3rem;
    padding: 1.1rem 1.4rem;
    border: 1px solid var(--te-sage-line);
    border-left: 3px solid var(--te-sage);
    border-radius: 0 var(--te-radius) var(--te-radius) 0;
    background: var(--te-white);
    font-size: .95rem;
}

.article__rdv {
    margin-top: 2rem;
    padding: clamp(1.5rem, 3vw, 2rem);
    border: 1px solid var(--te-sage-line);
    border-radius: var(--te-radius);
    background: var(--te-celadon);
    text-align: center;
}

.article__rdv p { margin-bottom: 1.25rem; }

@media (max-width: 860px) {
    .article__avertissement { margin-top: 2.25rem; }
}

/* Impression : on allège tout ce qui ne sert pas sur papier. */
@media print {
    header, .burger, .hero__actions, .voyage { display: none; }
    body { background: #fff; color: #000; font-size: 11pt; }
    .card, .domaine-card, .super-item, .pratique { box-shadow: none; border: 1px solid #ccc; }
}


/* ─── 11. Landing narrative (accueil) ────────────────────────────
   Mouvement doux, piloté par le défilement en CSS (animation-timeline)
   avec repli statique ailleurs. Rien de ce qui suit ne masque durablement
   un contenu : sans JS, sans animation-timeline ou avec
   prefers-reduced-motion, la page reste complète et lisible.         */

/* ── Héros plein écran : l'étang respire, puis recule au défilement ── */

.hero--scene {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: clamp(560px, 92svh, 900px);
    background: none;
}

.hero--scene::before,
.hero--scene::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero--scene::before {
    background: url('../images/hero-etang.webp') center / cover no-repeat;
    transform-origin: 40% 60%;
}

/* Voile : lumière douce en bas, pour que la photo se fonde dans la page. */
.hero--scene::after {
    background: linear-gradient(to bottom, rgba(248, 247, 241, 0) 55%, rgba(248, 247, 241, .55) 100%);
}

@media (prefers-reduced-motion: no-preference) {
    .hero--scene::before {
        animation: hero-respire 2.8s cubic-bezier(.22, .61, .36, 1) both;
    }

    @keyframes hero-respire {
        from { scale: 1.14; filter: saturate(.85) brightness(1.06); }
        to   { scale: 1;    filter: none; }
    }

    /* Le texte apparaît par étapes. */
    .hero--scene .hero-content > * {
        animation: hero-monte .9s cubic-bezier(.22, .61, .36, 1) both;
    }
    .hero--scene .hero-content > :nth-child(1) { animation-delay: .25s; }
    .hero--scene .hero-content > :nth-child(2) { animation-delay: .45s; }
    .hero--scene .hero-content > :nth-child(3) { animation-delay: .65s; }
    .hero--scene .hero-content > :nth-child(4) { animation-delay: .85s; }

    @keyframes hero-monte {
        from { opacity: 0; translate: 0 18px; }
        to   { opacity: 1; translate: 0 0; }
    }

    /* Indication de défilement : un souffle régulier. */
    .hero__defiler span { animation: hero-souffle 2.4s ease-in-out infinite; }

    @keyframes hero-souffle {
        0%, 100% { translate: 0 0; opacity: .55; }
        50%      { translate: 0 8px; opacity: 1; }
    }
}

@supports (animation-timeline: scroll()) {
    @media (prefers-reduced-motion: no-preference) {
        /* Parallaxe : la photo avance moins vite que la page. */
        .hero--scene::before {
            animation: hero-respire 2.8s cubic-bezier(.22, .61, .36, 1) both,
                       hero-recule linear both;
            animation-timeline: auto, scroll(root);
            animation-range: normal, 0 90svh;
        }

        @keyframes hero-recule {
            to { translate: 0 18%; }
        }
    }
}

.hero__defiler {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-left: -22px;
    border-radius: 50%;
    background: rgba(248, 247, 241, .75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid var(--te-sage-line);
}

.hero__defiler span {
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--te-forest);
    border-bottom: 2px solid var(--te-forest);
    rotate: 45deg;
    margin-top: -4px;
}

/* ── Accompagnement : l'arbre reste, les cartes défilent ── */

.scene-duo {
    display: grid;
    gap: clamp(1.25rem, 2.5vw, 2rem);
}

.scene-duo__photo {
    margin: 0;
    overflow: hidden;
    border-radius: var(--te-radius-lg);
    box-shadow: var(--te-shadow);
}

.scene-duo__photo img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 340px;
    object-fit: cover;
    object-position: center 35%;
}

@media (min-width: 960px) {
    .scene-duo { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }

    .scene-duo__photo {
        position: sticky;
        top: calc(var(--te-header-h) + 1.5rem);
    }

    .scene-duo__photo img { max-height: calc(100svh - var(--te-header-h) - 3rem); aspect-ratio: 3 / 4; }

    /* Les trois cartes s'empilent à droite de la photo. */
    .scene-duo .domaines-grid { grid-template-columns: 1fr; }
}

/* La photo glisse très légèrement dans son cadre au défilement. */
@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .scene-duo__photo img,
        .quisuisje__photo img {
            scale: 1.12;
            animation: photo-glisse linear both;
            animation-timeline: view();
            animation-range: cover 0% cover 100%;
        }

        @keyframes photo-glisse {
            from { translate: 0 -4%; }
            to   { translate: 0 4%; }
        }

        /* « Voyage » : la photo défile derrière sa citation. */
        .voyage {
            background-size: auto 125%;
            animation: voyage-defile linear both;
            animation-timeline: view();
            animation-range: cover 0% cover 100%;
        }

        @keyframes voyage-defile {
            from { background-position: 50% 0%; }
            to   { background-position: 50% 100%; }
        }

        /* Lieux : les photos se dévoilent. */
        .contact-card img {
            animation: photo-devoile linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 80%;
        }

        @keyframes photo-devoile {
            from { clip-path: inset(0 0 100% 0); scale: 1.08; }
            to   { clip-path: inset(0); scale: 1; }
        }

        /* Déroulement : chaque pastille se remplit quand l'étape passe au centre. */
        .etape::before {
            animation: etape-active linear both;
            animation-timeline: view();
            animation-range: entry 40% entry 90%;
        }

        @keyframes etape-active {
            from { background: var(--te-celadon); color: var(--te-forest); }
            to   { background: var(--te-forest);  color: var(--te-white); }
        }

        .etapes::before {
            content: "";
            position: absolute;
            top: 1.5rem;
            bottom: 1.5rem;
            left: calc(clamp(1.25rem, 3vw, 1.75rem) + 1.05rem - 1px);
            width: 2px;
            background: var(--te-sage-line);
        }

        .etapes::after {
            content: "";
            position: absolute;
            top: 1.5rem;
            bottom: 1.5rem;
            left: calc(clamp(1.25rem, 3vw, 1.75rem) + 1.05rem - 1px);
            width: 2px;
            background: var(--te-forest);
            transform-origin: top;
            animation: trait-grandit linear both;
            animation-timeline: view();
            animation-range: entry 30% exit 40%;
        }

        @keyframes trait-grandit {
            from { transform: scaleY(0); }
            to   { transform: scaleY(1); }
        }
    }
}

.etapes { position: relative; }
.etape { z-index: 1; }
.etape::before { z-index: 2; }

/* ── Qui suis-je : portrait en pied, texte à côté ── */

.quisuisje-duo {
    display: grid;
    gap: clamp(1.25rem, 2.5vw, 2rem);
}

.quisuisje__photo {
    margin: 0;
    overflow: hidden;
    border-radius: var(--te-radius-lg);
    box-shadow: var(--te-shadow);
}

.quisuisje__photo img {
    display: block;
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    object-position: center 30%;
}

@media (min-width: 960px) {
    .quisuisje-duo { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); align-items: start; }

    .quisuisje__photo { position: sticky; top: calc(var(--te-header-h) + 1.5rem); }

    .quisuisje__photo img { max-height: none; aspect-ratio: 3 / 4; }

    /* La grande photo remplace le médaillon, qui ferait doublon. */
    .quisuisje-duo .portrait { display: none; }
}

/* ── Bouton de rendez-vous flottant : apparaît quand le héros est passé ── */

.rdv-flottant {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 150;
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: .75rem 1.5rem;
    border-radius: 999px;
    background: var(--te-forest);
    color: var(--te-white);
    font-family: 'Manrope', system-ui, sans-serif;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(31, 66, 49, .28);
    opacity: 0;
    visibility: hidden;
    translate: 0 16px;
    transition: opacity .4s ease, translate .4s ease, visibility 0s linear .4s, background-color .2s ease;
}

.rdv-flottant:hover,
.rdv-flottant:focus-visible { background: var(--te-forest-dark); }

.apres-heros .rdv-flottant {
    opacity: 1;
    visibility: visible;
    translate: 0 0;
    transition-delay: 0s;
}

@media (max-width: 860px) {
    .hero--scene { min-height: 0; }
    .hero--scene::before { background-image: url('../images/hero-etang-mobile.webp'); }
    .hero__defiler { display: none; }
    .rdv-flottant { right: 1rem; left: 1rem; justify-content: center; }
}

@media print {
    .rdv-flottant, .hero__defiler { display: none; }
}
