/* Potz · site vitrine (accueil et tarifs). Un seul thème, clair et chaleureux. Pas de bordures : les blocs se
   distinguent par la couleur de fond, l'ombre douce et l'espace. Les vidéos de l'app gardent leur léger dégradé. */

:root {
  --bg: #FFF8F2;          /* blanc chaud, une pointe de pêche */
  --bg-peach: #FFF0E3;
  --bg-rose: #FFF1F1;
  --lilac: #F0E8FE;       /* le fond violet du formulaire de p7, repris pour le hero */
  --lilac-2: #E6DAFD;
  --surface: #FFFFFF;
  --ink: #2A1B33;
  --ink-2: #4A3D54;
  --muted: #6B5E74;
  --accent: #6B45D6;
  --accent-hover: #5A36C2;
  --accent-soft: #EFE8FD;
  --orange: #FF8F45;
  --scene: #FBF5EE;
  --err: #C2384A;
  /* Ombres très douces : à peine un voile sous les blocs. */
  --shadow: 0 1px 2px rgba(42, 27, 51, .03), 0 14px 36px -22px rgba(42, 27, 51, .13);
  --shadow-l: 0 1px 3px rgba(42, 27, 51, .03), 0 26px 64px -38px rgba(42, 27, 51, .2);
  --font: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --max: 1320px;
  --gut: clamp(16px, 4vw, 48px);
  --hd: 60px;            /* hauteur du menu flottant */
  --hd-gap: 12px;        /* son écart avec le haut de l'écran */
  --ease: cubic-bezier(.32, .72, 0, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hd) + var(--hd-gap) + 12px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: var(--accent); }
button, input, textarea, select { font: inherit; color: inherit; }
potz-char { display: block; }
svg { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 8px 14px; border-radius: 10px; background: var(--accent); color: #fff; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }

/* ---------------------------------------------------------------- typographie */
h1 { font-size: clamp(44px, 6.4vw, 88px); font-weight: 800; line-height: 1; letter-spacing: -.04em; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.3vw, 58px); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.h-xl { font-size: clamp(44px, 7vw, 104px); letter-spacing: -.045em; line-height: .98; }
h3 { font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: -.015em; }
.lede { max-width: 32em; margin-top: 18px; color: var(--ink-2); font-size: clamp(17px, 1.45vw, 20px); line-height: 1.55; text-wrap: pretty; }

/* ---------------------------------------------------------------- boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border: 0; border-radius: 14px; font-size: 16px; font-weight: 700; text-decoration: none; letter-spacing: -.01em; cursor: pointer; white-space: nowrap; transition: background .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 18px -12px rgba(107, 69, 214, .42); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-soft { background: rgba(255, 255, 255, .78); color: var(--ink); box-shadow: 0 1px 2px rgba(42, 27, 51, .03), 0 6px 16px -12px rgba(42, 27, 51, .18); }
.btn-soft:hover { background: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #3C2A47; }
.btn-s { height: 40px; padding: 0 16px; font-size: 15px; border-radius: 12px; }
.btn-l { height: 54px; padding: 0 26px; font-size: 17px; border-radius: 16px; }
.btn-full { width: 100%; }

/* ---------------------------------------------------------------- en-tête */
/* Menu flottant : une pilule détachée du haut et des côtés, en verre dépoli léger, sans ombre (comme la barre du chat). */
.top { position: sticky; top: var(--hd-gap); z-index: 40; height: var(--hd); margin: var(--hd-gap) var(--gut) 0; pointer-events: none; }
.top-in { display: flex; align-items: center; gap: 16px; height: 100%; max-width: 1120px; margin-inline: auto; padding: 0 8px 0 20px; border-radius: 999px; background: rgba(255, 255, 255, .58); -webkit-backdrop-filter: saturate(1.5) blur(18px); backdrop-filter: saturate(1.5) blur(18px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); pointer-events: auto; transition: background .3s; }
.top.is-scrolled .top-in { background: rgba(255, 255, 255, .74); }
.top .btn { border-radius: 999px; box-shadow: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 21px; font-weight: 800; letter-spacing: -.03em; text-decoration: none; }
.brand potz-char { width: 34px; }
.brand-s potz-char { width: 30px; }
.top-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.top-nav > a:not(.btn) { padding: 8px 14px; border-radius: 999px; color: var(--ink-2); font-size: 16px; font-weight: 600; text-decoration: none; }
.top-nav > a:not(.btn):hover, .top-nav > a[aria-current="page"] { background: rgba(42, 27, 51, .05); color: var(--ink); }
/* « Se connecter » : l'icône seule sur téléphone, sinon le libellé passait à la ligne et faisait sauter le menu. */
.top-nav > a.nav-login { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.nav-login svg { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.top-nav > a, .top-nav .btn { white-space: nowrap; }
.top-nav .cta-short { display: none; }

/* ---------------------------------------------------------------- sections */
.sec { padding: clamp(64px, 8.5vw, 120px) 0; }
.band { margin-inline: auto; }
.band-peach { background: linear-gradient(180deg, rgba(255, 240, 227, 0), var(--bg-peach) 14%, var(--bg-peach) 86%, rgba(255, 240, 227, 0)); }
.band-rose { background: linear-gradient(180deg, rgba(255, 241, 241, 0), var(--bg-rose) 14%, #FDF0F7 86%, rgba(253, 240, 247, 0)); }
.head-c { display: grid; justify-items: center; text-align: center; }
.head-c .lede { margin-inline: auto; }
.copy h2 + .lede { margin-top: 20px; }

/* Apparition légère à l'entrée : un petit glissement, jamais un texte caché. */
html.js-motion .rise { transform: translateY(22px); transition: transform .9s var(--ease); }
html.js-motion .rise.is-in { transform: none; }

/* ---------------------------------------------------------------- vidéos de l'app */
.demo { position: relative; overflow: hidden; border-radius: 26px; background: var(--scene); box-shadow: var(--shadow-l); isolation: isolate; }
.demo video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--scene); }
.demo.is-tall-now video { aspect-ratio: 9 / 16; }
.demo.is-phone { width: min(100%, 400px); border-radius: 30px; justify-self: center; }
html.js-motion .demo video { cursor: zoom-in; }

/* Bouton « Agrandir » : une petite pastille en haut à droite de chaque démo. Au survol, son libellé apparaît ; sur un
   écran tactile, il est toujours là. */
.zoom { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; height: 38px; min-width: 38px; padding: 0 11px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .88); color: var(--ink); box-shadow: 0 8px 20px -12px rgba(42, 27, 51, .45); font-size: 14px; font-weight: 700; letter-spacing: -.005em; cursor: zoom-in; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .2s, transform .25s var(--ease); }
.zoom svg { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.zoom span { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .3s var(--ease), margin .3s var(--ease), opacity .2s; }
.demo:hover .zoom span, .zoom:focus-visible span { max-width: 90px; margin-left: 7px; opacity: 1; }
.zoom:hover { background: #fff; transform: scale(1.04); }
@media (hover: none) { .zoom span { max-width: 90px; margin-left: 7px; opacity: 1; } }

/* La démo en grand, par-dessus la page. */
html.lb-open { overflow: hidden; scrollbar-gutter: stable; }
.lb { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #fff; overflow: hidden; }
.lb[open] { display: grid; place-items: center; }
.lb::backdrop { background: rgba(31, 20, 38, .8); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lb-in { display: grid; justify-items: center; gap: 14px; }
.lb-v { display: block; max-width: none; border-radius: 18px; background: var(--scene); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .65); }
.lb[data-fmt="16x9"] .lb-v { width: min(92vw, 86vh * 16 / 9); width: min(92vw, 86dvh * 16 / 9); aspect-ratio: 16 / 9; }
.lb[data-fmt="9x16"] .lb-v { width: auto; height: min(88vh, 94vw * 16 / 9); height: min(88dvh, 94vw * 16 / 9); aspect-ratio: 9 / 16; }
.lb-hint { display: none; font-size: 15px; font-weight: 600; opacity: .85; text-align: center; }
.lb-x { position: fixed; top: 16px; right: 16px; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5); cursor: pointer; transition: transform .25s var(--ease); }
.lb-x:hover { transform: scale(1.06); }
.lb-x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.lb-x:focus-visible { outline-color: #fff; border-radius: 50%; }
.lb[open] .lb-in { animation: lb-in .38s var(--ease) both; }
.lb[open]::backdrop { animation: lb-fade .3s ease both; }
@keyframes lb-in { from { opacity: 0; transform: scale(.94); } }
@keyframes lb-fade { from { opacity: 0; } }
@media (max-width: 760px) and (orientation: portrait) { .lb[data-fmt="16x9"] .lb-hint { display: block; } }
@media (max-width: 640px) {
  .zoom { top: 9px; right: 9px; height: 34px; min-width: 34px; padding: 0 10px; font-size: 13.5px; }
  .lb-v { border-radius: 14px; }
  .lb-x { top: 10px; right: 10px; width: 44px; height: 44px; }
}

/* ---------------------------------------------------------------- 1. hero */
.hero { padding: 14px var(--gut) 0; }
.hero-card { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 32px; max-width: calc(var(--max) + 80px); min-height: min(680px, calc(100svh - var(--hd) - 2 * var(--hd-gap) - 20px)); margin: 0 auto; padding: clamp(48px, 6vw, 88px) clamp(28px, 5.5vw, 88px); border-radius: 40px; background: var(--lilac); overflow: hidden; }
.hero h1 { font-size: clamp(40px, 5.1vw, 80px); }
.hero h1 span { white-space: nowrap; }
.hero .lede { max-width: 27em; margin-top: 24px; font-size: clamp(18px, 1.6vw, 22px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.family { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1672 / 941; justify-self: center; }
.family potz-char { position: absolute; }

/* ---------------------------------------------------------------- 2 et 5. texte et média côte à côte */
.split-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); align-items: center; gap: clamp(32px, 4vw, 64px); }
.split-rev .split-in { grid-template-columns: minmax(0, 8fr) minmax(0, 5fr); }
.split h2 { font-size: clamp(32px, 3.55vw, 52px); }
.points { display: grid; gap: 16px; margin-top: 34px; }
.points li { display: flex; align-items: flex-start; gap: 14px; color: var(--ink-2); font-size: 17.5px; line-height: 1.45; }
.points b { color: var(--ink); font-weight: 700; }
.pt-ic { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 13px; margin-top: -6px; }
.pt-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pt-o { background: #FFE6D4; color: #C2551A; }
.pt-v { background: #ECE3FD; color: #6B45D6; }
.pt-g { background: #DDF3E8; color: #2F8A62; }
.points-s { gap: 12px; margin-top: 28px; }
.points-s li { align-items: center; font-size: 16.5px; }
.points-s .pt-ic { margin-top: 0; width: 36px; height: 36px; border-radius: 12px; }
.quote-line { margin-top: 26px; color: var(--accent); font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; }

/* ---------------------------------------------------------------- onglets à barre de progression (repris de Pro) */
.tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 1120px; margin: 44px auto 0; }
.tab { position: relative; display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px 16px 20px; border: 0; border-radius: 20px; background: rgba(255, 255, 255, .55); color: var(--ink); text-align: left; cursor: pointer; overflow: hidden; transition: background .25s, box-shadow .25s, transform .25s var(--ease); }
.tab:hover { background: rgba(255, 255, 255, .85); }
.tab[aria-selected="true"] { background: #fff; box-shadow: var(--shadow); }
.tab potz-char { width: 52px; flex-shrink: 0; }
.tab-t { display: grid; min-width: 0; line-height: 1.25; }
.tab-t b { font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; }
.tab-t small { margin-top: 2px; color: var(--muted); font-size: 14px; }
.tab-bar { position: absolute; left: 16px; right: 16px; bottom: 10px; height: 4px; border-radius: 2px; background: rgba(42, 27, 51, .08); overflow: hidden; }
.tab-bar i { position: absolute; inset: 0; border-radius: 2px; background: var(--cd, var(--accent)); transform-origin: 0 50%; transform: scaleX(var(--f, 0)); }
.tab[aria-selected="false"] .tab-bar i { transform: scaleX(0); }
.tab-line { max-width: 40em; min-height: 3.2em; margin: 20px auto 16px; color: var(--ink-2); font-size: 18px; text-align: center; text-wrap: balance; }
.tab-line b { color: var(--ink); font-weight: 800; }
.demo.is-wide { max-width: 1120px; margin-inline: auto; }
#agents .demo.is-wide { max-width: 1120px; }
.demo.is-xl { max-width: 1180px; }

/* ---------------------------------------------------------------- 4. étapes */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 56px; counter-reset: s; }
.step { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 14px 14px 26px; border-radius: 26px; background: var(--surface); box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s; }
.step-art { position: relative; display: grid; place-items: center; height: 150px; margin-bottom: 20px; border-radius: 18px; background: #F6F1EC; overflow: visible; transition: background .5s; }
.step.is-on .step-art { background: var(--c); }
.step.is-on { transform: translateY(-6px); box-shadow: var(--shadow-l); }
.step-n { display: grid; place-items: center; width: 34px; height: 34px; margin: 0 10px 12px; border-radius: 50%; background: #F1ECE7; color: var(--ink-2); font-size: 15px; font-weight: 800; transition: background .4s, color .4s, transform .4s var(--ease); }
.step.is-on .step-n { background: var(--accent); color: #fff; transform: scale(1.08); }
.step h3, .step > p:last-child { padding-inline: 10px; }
.step > p:last-child { margin-top: 6px; color: var(--muted); font-size: 15.5px; line-height: 1.45; }
.url { display: flex; align-items: center; gap: 8px; width: 82%; height: 44px; padding: 0 14px; border-radius: 14px; background: #fff; box-shadow: 0 6px 16px -12px rgba(42, 27, 51, .18); font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; }
.url svg { width: 17px; height: 17px; flex-shrink: 0; fill: none; stroke: var(--accent); stroke-width: 2; }
.url-t { overflow: hidden; text-overflow: clip; }
.step.is-on .url-t { animation: typeurl 1.1s steps(17, end) both; }
@keyframes typeurl { from { max-width: 0; } to { max-width: 100%; } }
.step-pz { width: 74px; }
.toggle { position: absolute; right: 18%; bottom: 26px; width: 42px; height: 24px; border-radius: 12px; background: #D9D1E2; transition: background .35s; }
.toggle i { position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .35s var(--ease); }
.step.is-on .toggle { background: var(--accent); }
.step.is-on .toggle i { transform: translateX(18px); }
.snippet .short { display: none; }
.snippet { display: block; width: 86%; padding: 12px 14px; border-radius: 12px; background: #ECE9EE; color: #4E4458; font: 500 12px/1.5 var(--mono); overflow-wrap: anywhere; }
.step.is-on .snippet { background: #fff; box-shadow: 0 6px 16px -12px rgba(42, 27, 51, .18); }
.step-main { width: 112px; margin-top: 10px; }
.burst { position: absolute; left: 50%; top: 52%; width: 0; height: 0; pointer-events: none; }
.burst i { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 3px; background: var(--orange); opacity: 0; }
.burst i:nth-child(2n) { background: #7D55E0; border-radius: 50%; }
.burst i:nth-child(3n) { background: #FFC94F; }
.burst i:nth-child(4n) { background: #F9A8C5; }
.step.is-pop .burst i { animation: pop 1s var(--ease) both; }
.burst i:nth-child(1) { --x: -92px; --y: -58px; }
.burst i:nth-child(2) { --x: -60px; --y: -86px; animation-delay: .03s; }
.burst i:nth-child(3) { --x: 0; --y: -98px; animation-delay: .06s; }
.burst i:nth-child(4) { --x: 64px; --y: -84px; }
.burst i:nth-child(5) { --x: 96px; --y: -50px; animation-delay: .04s; }
.burst i:nth-child(6) { --x: 104px; --y: 6px; animation-delay: .08s; }
.burst i:nth-child(7) { --x: -104px; --y: 4px; animation-delay: .02s; }
.burst i:nth-child(8) { --x: 30px; --y: -110px; animation-delay: .1s; }
@keyframes pop { 0% { opacity: 0; transform: translate(0, 0) scale(.4); } 18% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(1) rotate(160deg); } }
.step-last.is-on .step-art { background: radial-gradient(circle at 50% 60%, #FFF6DA, var(--c) 70%); }

/* ---------------------------------------------------------------- 6. guidé ou libre */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 64px); margin-top: 52px; }
.tab-side { display: block; max-width: 330px; padding: 24px 26px 34px; border-radius: 24px; }
.tab-side:first-child { justify-self: end; }
.tab-side:last-child { justify-self: start; }
.tab-side .tab-t b { font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.tab-side .tab-t small { margin-top: 8px; font-size: 16px; line-height: 1.45; }
.tab-side .tab-bar { left: 26px; right: 26px; bottom: 16px; }
.tab-side[aria-selected="false"] { background: transparent; }
.tab-side[aria-selected="false"]:hover { background: rgba(255, 255, 255, .6); }
.tab-side[aria-selected="false"] .tab-t b { color: var(--muted); }
.duo .demo { width: 100%; }

/* ---------------------------------------------------------------- 6 bis. multilingue : des bonjours dans plusieurs langues */
.hellos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hellos li { padding: 10px 18px; border-radius: 999px 999px 999px 8px; color: var(--ink); font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.hellos li:nth-child(1) { background: #FFE6D4; transform: rotate(-2deg); }
.hellos li:nth-child(2) { background: #ECE3FD; transform: rotate(1.5deg); }
.hellos li:nth-child(3) { background: #DDF3E8; transform: rotate(-1deg); }
.hellos li:nth-child(4) { background: #FFF0C2; transform: rotate(2deg); }
.hellos li:nth-child(5) { background: #FDE2EC; transform: rotate(-1.5deg); }

/* ---------------------------------------------------------------- 7. bande d'appel à l'action */
.cta-band { padding: 8px 0; }
.cta-card { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 160px; padding: 40px clamp(28px, 5vw, 72px); padding-right: clamp(150px, 16vw, 230px); border-radius: 32px; background: radial-gradient(70% 160% at 100% 100%, #FFB872, transparent 62%), linear-gradient(100deg, #FFDF8A, #FFC94F); color: var(--ink); overflow: hidden; }
.cta-card h2 { font-size: clamp(28px, 3.4vw, 44px); }
.cta-card p { margin-top: 6px; font-size: 18px; color: #4D3A22; }
.cta-pz { position: absolute; right: clamp(16px, 3vw, 44px); bottom: -6px; width: clamp(120px, 12vw, 176px); }

/* ---------------------------------------------------------------- 8. au bon moment */
.moment { position: relative; isolation: isolate; }
.moment::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 40% at 15% 35%, rgba(255, 201, 79, .26), transparent 70%), radial-gradient(50% 40% at 88% 70%, rgba(191, 152, 247, .28), transparent 70%); -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); pointer-events: none; }
.moment-stage { position: relative; max-width: 1180px; margin: 48px auto 0; }
.watcher { position: absolute; left: -64px; bottom: -26px; z-index: 2; width: 132px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.chips li { padding: 9px 16px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); color: var(--ink-2); font-size: 15.5px; font-weight: 600; }

/* ---------------------------------------------------------------- 9. statistiques, la vidéo déborde à droite */
.bleed-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: center; gap: clamp(32px, 4vw, 64px); max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding-left: var(--gut); }
.demo.is-bleed { width: calc(100% + max(0px, (100vw - var(--max) - 2 * var(--gut)) / 2)); border-radius: 26px 0 0 26px; }
.build { display: grid; gap: 10px; margin-top: 34px; max-width: 420px; }
.build li { position: relative; padding: 14px 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, .5); color: var(--muted); font-size: 17px; font-weight: 600; overflow: hidden; transition: color .3s, background .3s, box-shadow .3s; }
.build li.is-on { color: var(--ink); background: #fff; box-shadow: var(--shadow); }
.build .bar { position: absolute; left: 18px; right: 18px; bottom: 9px; height: 4px; border-radius: 2px; background: rgba(42, 27, 51, .07); overflow: hidden; }
.build .bar i { position: absolute; inset: 0; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--f, 0)); }

/* ---------------------------------------------------------------- 10. fin : formulaire sur le fond violet */
.end { padding: clamp(24px, 4vw, 56px) var(--gut) clamp(40px, 6vw, 80px); }
.end-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 80px); max-width: calc(var(--max) + 80px); margin: 0 auto; padding: clamp(40px, 6vw, 88px) clamp(24px, 5.5vw, 88px); border-radius: 40px; background: var(--lilac); }
.end-copy h2 { font-size: clamp(36px, 4.8vw, 64px); }
.family-s { width: min(100%, 300px); margin: 0 0 24px; justify-self: start; }
.form-box { position: relative; }
.form, .done { padding: clamp(22px, 3vw, 34px); border-radius: 26px; background: var(--surface); box-shadow: var(--shadow-l); }
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.form input, .form textarea, .form select { width: 100%; padding: 13px 15px; border: 0; border-radius: 13px; background: #F7F2EE; color: var(--ink); font-size: 16px; font-weight: 400; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .2s, background .2s; }
.form textarea { resize: vertical; min-height: 92px; }
.form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B45D6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; background-color: #fff; box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 4px var(--accent-soft); }
.form [aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--err); background-color: #FFF5F6; }
.err { color: var(--err); font-size: 15px; }
.form label.consent { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 14px; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.form label.consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; padding: 0; accent-color: var(--accent); box-shadow: none; }
.form label.consent[aria-invalid="true"] { color: var(--err); }
.form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.done { display: grid; justify-items: center; gap: 8px; text-align: center; }
.done potz-char { width: 110px; margin-bottom: 6px; }
.done h3 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.done p { max-width: 26em; color: var(--muted); }
.done .btn { margin-top: 12px; }

/* ---------------------------------------------------------------- pied de page */
.foot { padding: 28px 0 120px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; color: var(--muted); font-size: 15px; }
.foot-nav { display: flex; gap: 20px; margin-left: auto; }
.foot-nav a { color: var(--ink-2); font-weight: 600; text-decoration: none; }
.foot-nav a:hover { color: var(--accent); }

/* ---------------------------------------------------------------- tarifs */
.p-head { padding: clamp(36px, 5vw, 64px) 0 0; }
.p-head h1 { font-size: clamp(40px, 5.2vw, 72px); }
.sec-tight { padding: 0 0 clamp(24px, 4vw, 48px); }
.billing { display: inline-flex; gap: 4px; margin-top: 30px; padding: 5px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.billing button { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); font-size: 16px; font-weight: 700; cursor: pointer; transition: background .2s, color .2s; }
.billing button[aria-checked="true"] { background: var(--accent); color: #fff; }
.billing .gift { padding: 3px 9px; border-radius: 999px; background: #FFE6D4; color: #A8461A; font-size: 12.5px; font-weight: 700; }
.billing button[aria-checked="true"] .gift { background: rgba(255, 255, 255, .2); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 36px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 24px 24px 24px; border-radius: 28px; background: var(--surface); box-shadow: var(--shadow); }
.plan.is-featured { background: radial-gradient(90% 60% at 100% 0%, rgba(255, 201, 79, .25), transparent 60%), var(--lilac); box-shadow: var(--shadow-l); }
.plan-badge { position: absolute; top: 18px; right: 18px; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 700; }
.plan-pz { display: flex; align-items: flex-end; height: 44px; margin-bottom: 12px; }
.plan-pz potz-char { flex-shrink: 0; }
.plan h2 { font-size: 26px; letter-spacing: -.02em; }
.plan-note { min-height: 2.9em; margin-top: 4px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 12px; }
.price b { font-size: clamp(36px, 3.1vw, 44px); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.price span { color: var(--muted); font-size: 15.5px; font-weight: 600; }
.price-sub { min-height: 1.6em; margin-top: 6px; color: var(--accent); font-size: 14.5px; font-weight: 600; }
.plan ul { display: grid; gap: 9px; margin: 16px 0 22px; }
.plan li { display: flex; gap: 10px; color: var(--ink-2); font-size: 15.5px; line-height: 1.4; }
.plan li::before { content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B45D6' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.plan.is-featured li::before { background-color: #fff; }
.plan li.credits span { display: grid; gap: 2px; color: var(--ink); font-weight: 700; }
.plan li.credits small, .plan li.sub small { color: var(--muted); font-size: 13.5px; font-weight: 500; line-height: 1.35; }
.plan li.sub span { display: grid; gap: 2px; }
.plan .btn { margin-top: auto; }
.plan li b { color: var(--ink); font-weight: 700; }
/* Ce qui change d'un plan à l'autre d'abord (crédits, pages, sources), puis les fonctions, dans le même ordre partout.
   Ce qu'un plan n'a pas reste à sa place, en gris, avec un tiret. */
.plan li.first-shared { margin-top: 10px; }
.plan li.is-off { color: var(--muted); }
.plan li.is-off::before { background: rgba(42, 27, 51, .05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239A8FA2' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Cartes côte à côte : chaque ligne s'aligne sur la même ligne des cartes voisines (16 lignes : en-tête, prix, les dix
   lignes de la liste, le bouton). */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 641px) {
    .plans { row-gap: 0; }
    .plan { display: grid; grid-row: span 16; grid-template-rows: subgrid; row-gap: 0; }
    .plan ul { grid-row: span 10; grid-template-rows: subgrid; row-gap: 9px; }
    .plan-note { min-height: 0; }
  }
  @media (min-width: 641px) and (max-width: 1100px) {
    .plan:nth-child(n + 3) { margin-top: 18px; }
  }
}
.all { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.all-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.all-list li { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: 16.5px; font-weight: 600; }
.all-list .pt-ic { margin-top: 0; width: 36px; height: 36px; border-radius: 12px; }
.faq { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.faq div { padding: 26px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.faq h3 { font-size: 18px; }
.faq p { margin-top: 8px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.p-note { max-width: 52em; margin: 22px auto 0; color: var(--muted); font-size: 14.5px; text-align: center; text-wrap: pretty; }
/* Sur mesure, sur devis : un bandeau pêche sous les cartes, pour ne pas le confondre avec un plan. */
.custom { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: clamp(36px, 4.5vw, 56px); padding: clamp(28px, 4vw, 48px) clamp(24px, 4.5vw, 56px); border-radius: 32px; background: radial-gradient(60% 140% at 0% 0%, #FFE0C2, transparent 65%), var(--bg-peach); }
.custom-tag { display: inline-block; padding: 4px 11px; border-radius: 999px; background: #FFD7B8; color: #A8461A; font-size: 13px; font-weight: 700; }
.custom h2 { margin-top: 12px; font-size: clamp(30px, 3.4vw, 44px); }
.custom-head p { margin-top: 8px; color: var(--ink-2); font-size: 17px; line-height: 1.5; }
.custom-head .btn { margin-top: 22px; }
.custom-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.custom-list li { display: grid; align-content: start; gap: 14px; padding: 22px; border-radius: 22px; background: rgba(255, 255, 255, .72); color: var(--muted); font-size: 15px; line-height: 1.45; }
.custom-list li > span:last-child { display: grid; gap: 4px; }
.custom-list b { color: var(--ink); font-size: 16.5px; font-weight: 700; line-height: 1.3; }
.custom-list .pt-ic { margin-top: 0; width: 38px; height: 38px; border-radius: 12px; }
/* Sur devis, au-dessus des plans : visible sans descendre. */

/* ---------------------------------------------------------------- tablette */
@media (max-width: 1100px) {
  .tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 680px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .custom { grid-template-columns: 1fr; }
  .watcher { left: -20px; width: 104px; bottom: -40px; }
}
@media (max-width: 900px) {
  .hero-card { grid-template-columns: 1fr; text-align: center; min-height: 0; }
  .hero-card .family { order: -1; max-width: 380px; }
  .hero .lede { margin-inline: auto; }
  .actions { justify-content: center; }
  .split-in, .split-rev .split-in { grid-template-columns: 1fr; }
  .split-rev .split-in .copy { order: -1; }
  .split h2 { font-size: clamp(32px, 4.3vw, 58px); }
  .bleed-in { grid-template-columns: 1fr; padding-right: var(--gut); }
  .demo.is-bleed { width: 100%; border-radius: 22px; }
  .end-card { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr 1fr; gap: 12px; }
  .duo .demo { grid-column: 1 / -1; grid-row: 2; justify-self: center; width: min(100%, 360px); }
  .tab-side { max-width: none; width: 100%; justify-self: stretch !important; padding: 18px 18px 28px; }
  .tab-side .tab-bar { left: 18px; right: 18px; bottom: 13px; }
  .tab-side[aria-selected="false"] { background: rgba(255, 255, 255, .5); }
  .all { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- téléphone */
@media (max-width: 640px) {
  :root { --hd: 54px; --hd-gap: 8px; }
  .top { margin-inline: 10px; }
  .top-in { padding: 0 6px 0 14px; gap: 8px; }
  body { font-size: 16px; }
  .brand { font-size: 19px; }
  .brand potz-char { width: 32px; }
  .top-nav > a:not(.btn) { padding: 8px 10px; font-size: 15px; }
  .top-nav .btn-s { height: 42px; padding: 0 15px; font-size: 14.5px; }
  .top-nav > a.nav-login { width: 42px; height: 42px; padding: 0; justify-content: center; }
  .nav-login span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav-login svg { width: 21px; height: 21px; }
  /* Le bouton garde son sens pour les lecteurs d'écran (libellé long), et tient sur la ligne à l'écran. */
  .top-nav .cta-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .top-nav .cta-short { display: inline; }
  .hero { padding: 10px 10px 0; }
  .hero-card { gap: 18px; padding: 30px 18px 34px; border-radius: 30px; }
  .hero-card .family { max-width: 280px; }
  .hero h1 { font-size: clamp(29px, 8.7vw, 44px); }
  .actions { flex-direction: column; margin-top: 28px; }
  .actions .btn { width: 100%; }
  .lede { font-size: 17px; }
  .points li { font-size: 16.5px; }
  .demo { border-radius: 20px; }
  .demo.is-phone { width: min(100%, 360px); border-radius: 24px; }
  .demo.is-wide.is-tall-now { max-width: 360px; }
  .tabs { gap: 8px; margin-top: 30px; }
  .tab { gap: 8px; padding: 10px 10px 18px; border-radius: 16px; }
  .tab potz-char { width: 36px; }
  .tab-t b { font-size: 15px; }
  .tab-t small { font-size: 12.5px; }
  .tab-bar { left: 10px; right: 10px; bottom: 8px; height: 3px; }
  .tab-line { min-height: 6.4em; margin: 18px auto 14px; font-size: 16.5px; }
  .steps { grid-template-columns: 1fr; gap: 14px; margin-top: 36px; }
  .step { display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 14px; padding: 10px 14px 10px 10px; border-radius: 22px; }
  .step-art { grid-row: 1 / 4; height: 112px; margin: 0; border-radius: 16px; }
  .step-n { width: 28px; height: 28px; margin: 6px 0 6px; font-size: 13.5px; }
  .step h3, .step > p:last-child { padding-inline: 0; }
  .step h3 { font-size: 17px; }
  .step > p:last-child { font-size: 14.5px; margin-top: 2px; }
  .url { width: 92%; height: 36px; padding: 0 8px; font-size: 12px; gap: 5px; border-radius: 10px; }
  .url svg { width: 13px; height: 13px; }
  .step-pz { width: 52px; }
  .toggle { right: 10px; bottom: 12px; width: 32px; height: 18px; }
  .toggle i { width: 13px; height: 13px; left: 2.5px; top: 2.5px; }
  .step.is-on .toggle i { transform: translateX(14px); }
  .snippet { width: 92%; padding: 8px 9px; font-size: 10.5px; border-radius: 9px; }
  .snippet .long { display: none; }
  .snippet .short { display: inline; }
  .step-main { width: 76px; margin-top: 8px; }
  .duo { margin-top: 32px; }
  .tab-side .tab-t b { font-size: 22px; }
  .tab-side .tab-t small { font-size: 14px; }
  .cta-card { flex-direction: column; align-items: flex-start; padding: 32px 22px 34px; padding-right: 22px; border-radius: 26px; }
  .cta-card .btn { width: 100%; }
  .cta-card > div { padding-right: 84px; }
  .cta-pz { top: 18px; bottom: auto; right: 12px; width: 84px; }
  .moment-stage { margin-top: 32px; }
  .watcher { left: auto; right: -6px; bottom: -30px; width: 80px; }
  .chips { margin-top: 40px; }
  .chips li { font-size: 14.5px; }
  .end { padding: 16px 10px 40px; }
  .end-card { padding: 34px 16px 18px; border-radius: 30px; }
  .family-s { width: 220px; margin-inline: auto; }
  .end-copy { text-align: center; }
  .end-copy .lede { margin-inline: auto; }
  .form { padding: 20px 16px; }
  .form .row { grid-template-columns: 1fr; }
  .foot { padding-bottom: 96px; }
  .plans { grid-template-columns: 1fr; }
  .billing button { padding: 0 14px; }
  .all-list { grid-template-columns: 1fr; }
  .custom { padding: 30px 18px 18px; border-radius: 26px; }
  .custom-head .btn { width: 100%; }
  .custom-list { grid-template-columns: 1fr; gap: 10px; }
  .custom-list li { grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 16px; border-radius: 18px; }
}
@media (max-width: 360px) {
  .brand span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js-motion .rise { transform: none; }
  .lb[open]::backdrop { animation: none; }
}

/* Page de texte (politique de confidentialité) : une colonne lisible, titres espacés. */
.legal { max-width: 46em; padding-bottom: clamp(48px, 7vw, 96px); }
.legal .lede { max-width: none; }
.legal-date { margin-top: 12px; color: var(--ink-2); font-size: 15px; }
.legal h2 { margin-top: clamp(36px, 5vw, 56px); font-size: clamp(24px, 2.6vw, 32px); }
.legal p, .legal ul { margin-top: 14px; color: var(--ink-2); }
.legal ul { padding-left: 22px; display: grid; gap: 8px; list-style: disc; }
.legal li::marker { color: var(--accent); }
.legal b { color: var(--ink); }
.legal a { color: var(--accent); text-underline-offset: 3px; }
.consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ---------------------------------------------------------------- partenaires (agences) */
/* Reprend le hero, les étapes, le bandeau sur mesure et la FAQ ; seules quelques variantes ici. */
.hero-card.hero-s { min-height: 0; }
/* Quatre liens dans le pied de page : ils passent à la ligne sur téléphone au lieu de déborder. */
.foot-nav { flex-wrap: wrap; row-gap: 6px; }
.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps-3 .step-art { background: var(--c); }
.gains { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.gain { padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: var(--surface); box-shadow: var(--shadow); }
.gain-client { background: radial-gradient(90% 60% at 100% 0%, rgba(255, 201, 79, .25), transparent 60%), var(--lilac); }
.gain h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; letter-spacing: -.025em; }
.gain .points { margin-top: 24px; }
.calc-sec { padding-top: clamp(16px, 2vw, 24px); }
.calc .custom-list b { font-size: clamp(30px, 3vw, 40px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.calc-note { margin-top: 18px; color: var(--muted); font-size: 14.5px; text-wrap: pretty; }
.faq-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .faq-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .gains, .faq-3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .steps-3 { grid-template-columns: 1fr; }
  .calc .custom-list li { grid-template-columns: minmax(0, 1fr); }
}
