/*
 * Does it! : site vitrine (doesit.app). Aucune ressource externe (CSP : default-src 'self').
 * Couleurs : les tokens de apps/mobile/constants/theme.ts, repris ici une seule fois.
 */
@font-face {
  font-family: "Nunito Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url("../fonts/nunito-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/nunito-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --primary: #137A6F;        /* textes et boutons à texte blanc (contraste AA, 5,2:1) : colors.primary */
  --brand: #1A9E8F;          /* logo et décor : colors.brand */
  --accent: #E8A849;         /* colors.accent */
  --accent-text: #B45309;    /* texte orange : colors.accentText */
  --accent-dark: #D4944A;    /* bord de la pièce Dosp& (palette du guide de conception) */
  --bg: #F5F8FA;             /* colors.background */
  --text: #1A1A2E;           /* colors.text */
  --muted: #566070;          /* texte secondaire, 5,9:1 sur le fond clair (colors.textMuted #6B7280 est limite) */
  --white: #FFFFFF;
  --border: #E5E7EB;
  --tint: #E8F5F4;           /* colors.primaryTint */
  --accent-tint: #FFF6E8;    /* colors.accentTint */
  --echo-teal: #028A87;      /* colors.echoTeal : contour du visage, yeux, lettres du logo */
  --echo-peach: #F0BD82;     /* colors.echoPeach */
  --echo-steel: #CBD5DC;
  --echo-steel-dark: #97A8B4;
  --echo-shadow: rgba(26, 26, 46, 0.12);
  --pump-dark: #D4944A;
  --leaf: #5B8C3A;
  --r-card: 12px;            /* radius.card */
  --r-input: 8px;            /* radius.input */
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(19, 122, 111, 0.16);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --head-h: 68px;
}

/* Classes de remplissage des dessins SVG (les couleurs viennent des variables ci-dessus) */
.f-white { fill: var(--white); } .f-brand { fill: var(--brand); } .f-accent { fill: var(--accent); } .f-accent-dark { fill: var(--accent-dark); }
.f-echo-teal, .f-logo { fill: var(--echo-teal); } .f-echo-peach { fill: var(--echo-peach); } .f-echo-steel { fill: var(--echo-steel); }
.f-echo-steel-dark { fill: var(--echo-steel-dark); } .f-echo-shadow { fill: var(--echo-shadow); } .f-pump-dark { fill: var(--pump-dark); }
.s-brand { stroke: var(--brand); } .s-white { stroke: var(--white); } .s-accent { stroke: var(--accent); } .s-leaf { stroke: var(--leaf); }
.s-echo-teal { stroke: var(--echo-teal); } .s-echo-peach { stroke: var(--echo-peach); } .s-echo-steel { stroke: var(--echo-steel); } .s-echo-steel-dark { stroke: var(--echo-steel-dark); }
.stop-brand { stop-color: var(--brand); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 18px/1.6 "Nunito Variable", "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: #0d5c53; }
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 900; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.35em; height: 1.35em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: max(16px, 4vw); }
.narrow { max-width: 860px; }

/* Focus visible partout */
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--text); color: #fff; padding: 12px 18px; border-radius: var(--r-input); font-weight: 800; transition: top .2s; }
.skip:focus { top: 12px; color: #fff; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px;
  border-radius: var(--r-input); border: 2px solid transparent; font: 800 17px/1.2 "Nunito Variable", system-ui, sans-serif; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(19, 122, 111, 0.32); }
.btn-primary:hover { background: #0f6a60; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(19, 122, 111, 0.36); }
.btn-ghost { background: var(--white); color: var(--primary); border-color: var(--primary); }
.btn-ghost:hover { background: var(--tint); color: #0d5c53; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--primary); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18); }
.btn-light:hover { transform: translateY(-2px); color: #0d5c53; }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, 0.85); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.14); color: #fff; transform: translateY(-2px); }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 18px; }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: 16px; }

/* En-tête collant */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245, 248, 250, 0.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.scrolled { border-color: var(--border); box-shadow: var(--shadow); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--head-h); position: relative; }
.brand { display: inline-flex; border-radius: 8px; }
.logo { display: block; height: 38px; width: auto; aspect-ratio: 1042 / 298; }
.menu-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; background: var(--white); border: 1.5px solid var(--border); border-radius: var(--r-input); font: 800 16px/1 "Nunito Variable", system-ui, sans-serif; color: var(--text); cursor: pointer; }
.menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 2px; padding: 10px max(16px, 4vw) 18px; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
.menu a:not(.btn) { display: block; padding: 12px 8px; color: var(--text); font-weight: 800; text-decoration: none; border-radius: 8px; }
.menu a:not(.btn):hover { color: var(--primary); background: var(--tint); }
.menu-cta { margin-top: 8px; }
.menu-open .menu { display: flex; }
.no-js .menu-btn { display: none; }
.no-js .menu { display: flex; position: static; flex-direction: row; flex-wrap: wrap; box-shadow: none; padding: 0; background: none; border: 0; }
.no-js .bar { flex-wrap: wrap; }
@media (min-width: 1000px) {
  .menu-btn { display: none; }
  .menu, .no-js .menu { display: flex; position: static; flex-direction: row; align-items: center; gap: 4px; padding: 0; background: none; border: 0; box-shadow: none; }
  .menu a:not(.btn) { padding: 8px 10px; font-size: 16px; }
  .menu-cta { margin: 0 0 0 10px; }
}

/* Hero */
.hero { position: relative; padding: 20px 0 56px; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; z-index: 0; pointer-events: none; }
.hero::before { width: 640px; height: 640px; right: -180px; top: -120px; background: radial-gradient(circle at 40% 40%, rgba(26, 158, 143, 0.16), rgba(26, 158, 143, 0) 68%); }
.hero::after { width: 420px; height: 420px; left: -160px; bottom: -120px; background: radial-gradient(circle, rgba(232, 168, 73, 0.18), rgba(232, 168, 73, 0) 70%); }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 22px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; margin-bottom: 18px; background: var(--white); border: 1px solid var(--border); border-radius: 999px; font-size: 16px; font-weight: 800; color: var(--primary); box-shadow: var(--shadow); }
.hero h1 { font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.6rem); }
.bang { display: inline-block; height: .8em; width: auto; aspect-ratio: 68 / 263; vertical-align: baseline; margin-left: .04em; overflow: visible; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mark { background: linear-gradient(transparent 62%, rgba(232, 168, 73, 0.55) 62%, rgba(232, 168, 73, 0.55) 92%, transparent 92%); padding: 0 .1em; margin: 0 -.1em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.lead { margin-top: 18px; font-size: 1.15rem; color: var(--text); max-width: 60ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.small { margin-top: 16px; font-size: 16px; color: var(--muted); }
.chips-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chips-row li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: var(--white); border-radius: 999px; box-shadow: var(--shadow); font-size: 16px; font-weight: 700; color: var(--text); }
.chips-row .icon { color: var(--primary); }
.stage-wrap { position: relative; margin: 0; width: 100%; max-width: 640px; margin-inline: auto; order: -1; }
#hero-stage { display: block; width: 100%; height: auto; aspect-ratio: 630 / 590; overflow: visible; }
.hero-ghost { fill: var(--tint); stroke: var(--brand); stroke-opacity: .5; stroke-width: 10; stroke-dasharray: 4 15; stroke-linecap: round; }
.hero-hit { cursor: pointer; }
.logo-static { width: 100%; height: auto; }
.bubble {
  position: absolute; right: 55.6%; bottom: 35.9%; width: max-content; max-width: 43%; padding: 12px 14px; background: var(--white);
  border-radius: 16px; box-shadow: var(--shadow), 0 8px 24px rgba(26, 26, 46, 0.1); font-weight: 800; font-size: 16px; line-height: 1.25;
  color: var(--text); transform-origin: 100% 50%; pointer-events: none;
}
.bubble::after { content: ""; position: absolute; right: -7px; top: 50%; margin-top: -8px; width: 16px; height: 16px; background: var(--white); transform: rotate(45deg); border-radius: 3px; }
.js .bubble { opacity: 0; visibility: hidden; }
.no-js .bubble { display: none; }
.replay { display: inline-flex; align-items: center; gap: 8px; margin: 6px auto 0; padding: 6px 12px; background: none; border: 0; border-radius: 8px; color: var(--primary); font: 700 16px/1.2 "Nunito Variable", system-ui, sans-serif; cursor: pointer; opacity: .85; }
.replay:hover { opacity: 1; background: var(--tint); }
.stage-wrap { display: flex; flex-direction: column; align-items: center; }
.stage-wrap > svg#hero-stage, .stage-wrap > .bubble { align-self: stretch; }
.stage-wrap .bubble { align-self: auto; }
.no-js .replay { display: none; }
@media (min-width: 960px) {
  .hero { padding: 36px 0 84px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 36px; }
  .stage-wrap { order: 0; }
  .bubble { font-size: 18px; max-width: 44%; padding: 14px 18px; border-radius: 18px; }
}

/* Sections */
.section { position: relative; padding: 72px 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .lead { margin-inline: auto; }
.eyebrow { margin-bottom: 10px; font-size: 16px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); }
.section h2 { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.6rem); }
.section h3 { font-size: 1.2rem; font-weight: 800; }
.note { margin-top: 22px; padding: 14px 18px; background: var(--white); border-left: 5px solid var(--accent); border-radius: var(--r-input); box-shadow: var(--shadow); max-width: 760px; }

/* Cartes */
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
.card { padding: 22px; background: var(--white); border-radius: var(--r-card); box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { margin: 14px 0 8px; }
.card p { color: var(--muted); font-size: 17px; }
.ico { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--tint); color: var(--primary); transition: transform .3s var(--ease), background-color .3s; }
.section-tint .ico { background: var(--white); }
.card:hover .ico { transform: rotate(-6deg) scale(1.08); background: var(--primary); color: #fff; }
.ico .icon { width: 28px; height: 28px; }
@media (min-width: 640px) { .cards-2, .cards-4 { grid-template-columns: repeat(2, 1fr); } .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards-4 { grid-template-columns: repeat(4, 1fr); } .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.feature { display: flex; flex-direction: column; }

/* Démo : EchO + conversation */
.demo { display: grid; gap: 18px; margin-top: 40px; align-items: end; }
.demo-echo { display: none; }
#echo-stage { display: block; width: 100%; height: auto; overflow: visible; }
.chat { background: var(--white); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--border); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--primary); color: #fff; }
.chat-head .avatar { width: 46px; height: 46px; border-radius: 50%; background: #fff; flex: none; }
.chat-head strong { display: block; font-size: 1.1rem; line-height: 1.2; }
.chat-head span { font-size: 16px; opacity: .92; }
.tabs { display: none; flex-wrap: wrap; gap: 8px; padding: 14px 16px 4px; background: var(--bg); }
.js .tabs { display: flex; }
.tabs button { min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--white); color: var(--text); font: 800 16px/1.2 "Nunito Variable", system-ui, sans-serif; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.tabs button:hover { border-color: var(--primary); transform: translateY(-1px); }
.tabs button[aria-selected="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.panel { display: flex; flex-direction: column; gap: 12px; padding: 18px 16px 8px; background: var(--bg); min-height: 330px; }
.panel[hidden] { display: none; }
.panel + .panel { border-top: 1px dashed var(--border); }
.msg { max-width: 92%; padding: 12px 16px; border-radius: 18px; font-size: 17px; line-height: 1.45; }
.msg p + p, .msg .rec { margin-top: 10px; }
.msg.user { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 6px; }
.msg.echo { align-self: flex-start; background: var(--white); border: 1px solid var(--border); border-bottom-left-radius: 6px; box-shadow: var(--shadow); }
.rec { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--bg); border-radius: var(--r-card); flex-wrap: wrap; }
.rec > div { flex: 1 1 160px; min-width: 0; line-height: 1.3; }
.rec > div span { display: block; font-size: 16px; color: var(--muted); }
.rec-av { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--echo-peach); color: #5E3B0D; font-weight: 900; flex: none; }
.rec-av.alt { background: var(--tint); color: var(--primary); }
.fake { display: inline-block; padding: 8px 14px; border-radius: var(--r-input); background: var(--primary); color: #fff; font-size: 16px; font-weight: 800; line-height: 1.2; }
.fake-alt { background: var(--white); color: var(--primary); border: 1.5px solid var(--primary); }
.btns { display: flex; flex-wrap: wrap; gap: 8px; }
.typing { align-self: flex-start; display: inline-flex; gap: 5px; padding: 14px 16px; background: var(--white); border: 1px solid var(--border); border-radius: 18px; }
.typing span { width: 9px; height: 9px; border-radius: 50%; background: var(--echo-steel-dark); animation: dot 1.2s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: .2s; } .typing span:nth-child(3) { animation-delay: .4s; }
.no-js .typing { display: none; }
.js .panel:not(.play) .msg, .js .panel:not(.play) .typing { opacity: 0; }
.panel.play .msg { animation: pop .5s var(--ease) both; animation-delay: calc(var(--i) * .95s + .1s); }
.panel.play .typing { animation: typing 1.05s ease both; animation-delay: calc(var(--i) * .95s); }
.chat-note { padding: 10px 16px 16px; background: var(--bg); font-size: 16px; color: var(--muted); }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes typing { 0% { opacity: 0; max-height: 0; padding-block: 0; margin-top: -12px; } 10%, 82% { opacity: 1; max-height: 50px; padding-block: 14px; margin-top: 0; } 100% { opacity: 0; max-height: 0; padding-block: 0; margin-top: -12px; } }
@media (min-width: 1000px) {
  .demo { grid-template-columns: 300px minmax(0, 1fr); gap: 28px; }
  .demo-echo { display: block; padding-bottom: 12px; }
}

/* Étapes */
.steps { display: grid; gap: 18px; counter-reset: s; position: relative; }
.step { position: relative; padding: 26px 22px 24px; background: var(--white); border-radius: var(--r-card); box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.num { position: absolute; top: -16px; left: 20px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--text); font-weight: 900; font-size: 1.15rem; box-shadow: var(--shadow); }
.icon.big { width: 46px; height: 46px; color: var(--primary); margin-bottom: 10px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 17px; }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .step:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -29px; width: 30px; height: 0; border-top: 3px dashed var(--brand); opacity: .55; }
}

/* Catégories et Halloween */
.chips-title { margin: 44px 0 14px; }
.cats { display: flex; flex-wrap: wrap; gap: 10px; }
.cats li { padding: 7px 16px; border-radius: 999px; background: var(--bg); color: var(--fg); font-weight: 800; font-size: 16px; transition: transform .2s var(--ease); }
.cats li:hover { transform: translateY(-3px) rotate(-1.5deg); }
.halloween { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: 28px; background: var(--accent-tint); border: 2px solid var(--accent); border-radius: var(--r-card); }
.halloween p { margin-top: 8px; font-size: 17px; }
.halloween .btns { margin-top: 18px; }
.halloween h3 { color: #7A3B06; }
.pumpkin { width: 92px; height: auto; transform-origin: 50% 90%; animation: sway 4.5s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@media (max-width: 560px) { .halloween { grid-template-columns: 1fr; } .pumpkin { width: 72px; } }

/* Dosp& */
.dosp-grid { display: grid; gap: 28px; align-items: center; }
.coin-wrap { display: grid; place-items: center; padding: 20px; }
.coin { width: min(240px, 60vw); height: auto; filter: drop-shadow(0 14px 18px rgba(180, 83, 9, 0.28)); animation: floaty 4.6s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-12px) rotate(3deg); } }
.ticks { display: grid; gap: 12px; margin-top: 22px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .icon { margin-top: 3px; padding: 3px; width: 28px; height: 28px; background: var(--primary); color: #fff; border-radius: 50%; stroke-width: 3; }
.callout { display: flex; gap: 14px; align-items: center; margin-top: 24px; padding: 16px 18px; background: var(--accent-tint); border: 1.5px solid var(--accent); border-radius: var(--r-card); }
.callout .icon { width: 34px; height: 34px; color: var(--accent-text); }
@media (min-width: 900px) { .dosp-grid { grid-template-columns: 0.8fr 1.2fr; gap: 56px; } }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--white); border-radius: var(--r-card); box-shadow: var(--shadow); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-lg); }
.faq summary { position: relative; display: block; padding: 18px 56px 18px 20px; font-weight: 800; font-size: 1.1rem; cursor: pointer; list-style: none; border-radius: var(--r-card); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 11px; height: 11px; border-right: 3px solid var(--primary); border-bottom: 3px solid var(--primary); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover { color: var(--primary); }
.faq details p { padding: 0 20px 20px; color: var(--muted); animation: pop .35s var(--ease) both; }
.faq details p:has(+ .faq-list) { padding-bottom: 8px; }
.faq-list { margin: 0; padding: 0 20px 20px 40px; color: var(--muted); display: grid; gap: 6px; animation: pop .35s var(--ease) both; }
.faq-list b { color: var(--text); }

/* Appel final */
.final { background: linear-gradient(135deg, var(--primary), #0e5f57); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -200px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, 0.07); }
.final-grid { position: relative; display: grid; gap: 26px; align-items: center; justify-items: start; }
.final-echo { width: 120px; height: 120px; background: #fff; border-radius: 50%; padding: 4px; animation: floaty 4.6s ease-in-out infinite; }
.final h2 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); }
.final p { margin-top: 12px; font-size: 1.15rem; max-width: 52ch; }
@media (min-width: 760px) { .final-grid { grid-template-columns: 140px 1fr; gap: 40px; } .final-echo { width: 140px; height: 140px; } }

/* Pied de page */
.site-footer { padding: 40px 0 32px; background: var(--bg); }
.foot { display: grid; gap: 22px; }
.foot p { color: var(--muted); font-size: 16px; margin-top: 10px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a { font-weight: 800; font-size: 16px; padding: 6px 0; }
.foot .copy { margin: 0; }
@media (min-width: 760px) { .foot { grid-template-columns: 1fr auto; align-items: start; } .foot .copy { grid-column: 1 / -1; } }

/* Apparition au défilement (sobre) */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ?t=… : affichage immédiat (captures) */
.still [data-reveal], .still .panel .msg { opacity: 1 !important; transform: none !important; animation: none !important; }
.still .typing { display: none; }

/* Réduire les animations : tout est immobile et visible tout de suite */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .panel:not(.play) .msg, .js .panel:not(.play) .typing { opacity: 1; transform: none; }
  .typing { display: none; }
  .replay { display: none; }
}
