/* NeoResa — Direction artistique « ciel du matin ».
 * Placer à côté de cette feuille le dossier fonts/ contenant :
 * crimson-pro-regular.woff2, crimson-pro-italic.woff2,
 * inter-400.woff2, inter-500.woff2 et inter-600.woff2.
 * Polices locales sous licence SIL OFL ; aucune requête vers Google Fonts.
 * Sans ces fichiers, Georgia et les polices système assurent le repli.
 */
@font-face { font-family: 'Crimson Pro'; src: url('fonts/crimson-pro-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Crimson Pro'; src: url('fonts/crimson-pro-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
:root {
  color-scheme: light;
  --blue-50: #F4F8FD; --blue-100: #E6F0FB; --blue-200: #CFE0F5; --blue-300: #A9C7EC;
  --blue-400: #7EA6DE; --blue-500: #5B84C4; --blue-600: #3A62A8; --blue-700: #2B4C85; --blue-800: #203C6D; --blue-900: #152B4F;
  --periwinkle: #DCDDF7; --sky: #BFDDF8;
  --bg: var(--blue-50); --surface: #FFFFFF; --bg-alt: var(--blue-100); --line: #D8E4F2;
  --ink: #14233B; --ink-soft: #3F5270; --muted: #5E6F88;
  --primary: var(--blue-700); --primary-hover: var(--blue-900); --on-primary: #FFFFFF;
  --link: var(--blue-700); --success: #2F7D5B;
  --brand: var(--blue-700); --title-em: var(--blue-500); --night: var(--blue-900); --night-halo: .18;
  --icon-bg: var(--blue-100); --icon-ink: var(--blue-700); --pastel-opacity: .38;
  --shadow-sm: 0 1px 2px rgba(20,35,59,.04), 0 2px 8px -2px rgba(43,76,133,.06);
  --shadow-md: 0 2px 4px rgba(20,35,59,.04), 0 18px 40px -18px rgba(43,76,133,.22);
  --serif: 'Crimson Pro', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(.22,1,.36,1); --ease-expo: cubic-bezier(.16,1,.3,1); --ease-soft: cubic-bezier(.65,0,.35,1); --ease-spring: cubic-bezier(.34,1.4,.64,1);
  --hover: 180ms; --open: 320ms; --reveal: 900ms;
  /* Dégradés « ciel du matin » : le bleu reste la couleur de marque, les dégradés restent dans sa famille. */
  --grad-primary: linear-gradient(120deg, var(--blue-800) 0%, var(--blue-700) 45%, var(--blue-600) 100%);
  --grad-title: linear-gradient(100deg, var(--blue-700) 0%, var(--blue-500) 100%);
  --grad-edge: linear-gradient(135deg, var(--blue-300), #D8E4F2 38%, #D8E4F2 62%, var(--periwinkle));
  --grad-number: linear-gradient(180deg, var(--blue-500), var(--blue-300));
  --icon-grad: linear-gradient(145deg, var(--blue-100), #DDE3F8);
  --flow-a: var(--blue-200); --flow-b: var(--blue-500);
  --edge-soft: #C9DBF2; --glow: rgba(169,199,236,.42); --tint-strength: 55%;
  --wave-top: #9CC4F0; --wave-bottom: var(--blue-700);
  --shadow-primary: inset 0 1px 0 rgba(255,255,255,.14), 0 8px 20px -10px rgba(32,60,109,.55);
  --shadow-primary-hover: inset 0 1px 0 rgba(255,255,255,.18), 0 14px 30px -12px rgba(43,76,133,.6);
  --shadow-header: 0 10px 30px -24px rgba(20,35,59,.45);
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s6: 24px; --s8: 32px;
  --s12: 48px; --s16: 64px; --s24: 96px; --s32: 128px;
  --section-space: clamp(88px, 11vw, 152px); --gutter: clamp(20px, 5vw, 48px);
  --heading-gap: 56px;
}
:root[data-theme="dark"] {
  color-scheme: dark; --bg: #0E1729; --surface: #15213A; --bg-alt: #111C31; --line: #24324D;
  --ink: #E8EEF8; --ink-soft: #B7C4D9; --muted: #8E9DB5;
  --primary: var(--blue-300); --primary-hover: var(--blue-200); --on-primary: #0E1729;
  --link: var(--blue-300); --brand: var(--blue-200); --title-em: var(--blue-300);
  --night: #18264A; --night-halo: .15; --icon-bg: #1C2D4B; --icon-ink: var(--blue-200); --pastel-opacity: .06;
  --success: #85C5AB;
  --grad-primary: linear-gradient(120deg, var(--blue-300) 0%, #BCD4F1 50%, var(--blue-200) 100%);
  --grad-title: linear-gradient(100deg, var(--blue-300) 0%, var(--blue-200) 100%);
  --grad-edge: linear-gradient(135deg, #3A5686, #24324D 38%, #24324D 62%, #33406F);
  --grad-number: linear-gradient(180deg, var(--blue-300), #3E5F93);
  --icon-grad: linear-gradient(145deg, #1C2D4B, #232F58);
  --flow-a: #2A3D62; --flow-b: var(--blue-300);
  --edge-soft: #2E4268; --glow: rgba(91,132,196,.16); --tint-strength: 7%;
  --wave-top: var(--blue-200); --wave-bottom: var(--blue-500);
  --shadow-primary: 0 8px 22px -12px rgba(169,199,236,.35);
  --shadow-primary-hover: 0 14px 30px -12px rgba(169,199,236,.5);
  --shadow-header: 0 10px 30px -22px rgba(0,0,0,.6);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16.5px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
::selection { background: var(--primary); color: var(--on-primary); }
a { color: var(--link); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: currentColor; }
p { margin: 0; color: var(--ink-soft); max-width: 64ch; }
p + p { margin-top: var(--s4); }
h1,h2,h3,h4 { margin: 0; text-wrap: balance; }
h1,h2,.large-title { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; }
h1 { font-size: clamp(48px, 6.4vw, 88px); line-height: 1.02; }
h2 { font-size: clamp(36px, 4.2vw, 56px); line-height: 1.08; }
h1 em,h2 em { font-weight: 400; color: var(--title-em); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  /* Marges compensées : aucune incidence sur la mise en page, l'italique n'est pas rogné. */
  h1 em,h2 em { background: var(--grad-title); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding: .1em .1em .14em 0; margin: -.1em -.1em -.14em 0; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
}
h3 { font: 600 19px/1.35 var(--sans); letter-spacing: -.01em; }
h4 { font: 600 18px/1.35 var(--sans); letter-spacing: -.01em; }
button,input,select,textarea { font: inherit; }
button,summary { cursor: pointer; }
button { color: inherit; }
button:disabled { cursor: not-allowed; opacity: .6; }
svg { display: block; flex-shrink: 0; max-width: 100%; }
input,select,textarea { min-width: 0; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; }
#contenu:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.container { width: min(1180px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.section-heading { margin-bottom: var(--heading-gap); }
.section-intro,.lede { font: 400 clamp(18px, 1.5vw, 20px)/1.6 var(--sans); max-width: 56ch; }
h1 + .lede,h2 + p { margin-top: 20px; }
.section-intro { margin-top: 20px; }
.eyebrow { display: flex; align-items: center; gap: var(--s3); font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--link); margin-bottom: var(--s4); }
.eyebrow::before { content: ''; display: block; flex: 0 0 18px; width: 18px; height: 1px; background: currentColor; }
.small { font-size: 14px; line-height: 1.65; color: var(--ink-soft); }
.large-title { font-size: clamp(36px, 3.8vw, 48px); line-height: 1.08; }
.large-title + p { margin-top: 20px; }
.grid { display: grid; gap: var(--s6); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s8); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: var(--s3); height: 48px; padding: 0 var(--s6); border-radius: 999px; border: 1px solid transparent; font: 600 15px/1.2 var(--sans); text-decoration: none; white-space: nowrap; transition: background-color var(--hover), background-position 600ms var(--ease), border-color var(--hover), box-shadow 280ms var(--ease), transform 160ms var(--ease); }
.button-primary { background-color: var(--primary); background-image: var(--grad-primary); background-size: 180% 100%; background-position: 0% 50%; color: var(--on-primary); box-shadow: var(--shadow-primary); }
.button-primary:hover { background-position: 100% 50%; box-shadow: var(--shadow-primary-hover); }
.button:active { transform: scale(.98); }
.button-secondary { color: var(--ink); background: var(--surface); border-color: var(--line); }
.button-secondary:hover { border-color: color-mix(in srgb, var(--blue-300) 70%, var(--line)); box-shadow: var(--shadow-sm); }
.arrow { width: 18px; height: 18px; transition: transform var(--hover) var(--ease); }
a:hover > .arrow,button:hover > .arrow { transform: translateX(3px); }
.text-link { display: inline-flex; gap: var(--s3); align-items: center; margin-top: var(--s8); font-size: 15px; }
/* En-tête et navigation. */
.skip-link { position: fixed; z-index: 100; top: -96px; left: var(--s4); background: var(--surface); padding: var(--s3) var(--s6); border: 2px solid var(--link); }
.skip-link:focus { top: var(--s4); }
.site-header { position: sticky; top: 0; z-index: 50; height: 72px; background: transparent; border-bottom: 1px solid transparent; transition: background var(--open), border-color var(--open), box-shadow var(--open); }
.site-header.is-scrolled,.site-header.menu-open { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); box-shadow: var(--shadow-header); }
.nav-wrap { min-height: 72px; display: flex; align-items: center; gap: var(--s3); }
.brand { color: var(--brand); display: inline-flex; gap: var(--s2); align-items: center; text-decoration: none; font: 600 20px/1 var(--sans); letter-spacing: -.01em; white-space: nowrap; }
.brand svg { width: 28px; height: 28px; }
#navigation { display: flex; align-items: center; gap: var(--s6); margin-inline: auto; }
#navigation a { color: var(--ink-soft); position: relative; text-decoration: none; font-size: 15px; font-weight: 500; padding-block: var(--s2); white-space: nowrap; transition: color var(--hover); }
#navigation a:hover { color: var(--ink); }
/* Le trait entre par la gauche et repart par la droite. */
#navigation a::after { position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, var(--blue-400), var(--link)); content: ''; transform: scaleX(0); transform-origin: right; transition: transform 300ms var(--ease); }
#navigation a:hover::after,#navigation a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: var(--s3); }
.theme-toggle,.menu-toggle { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); background: transparent; border-radius: 999px; flex-shrink: 0; }
.theme-toggle,.menu-toggle { transition: background var(--hover), border-color var(--hover); }
.theme-toggle:hover,.menu-toggle:hover { background: var(--surface); border-color: var(--edge-soft); }
.menu-toggle { display: none; }
/* Halo diffus et onde sonore : seules les animations du hero bouclent. */
.hero,.contact-section,.document-banner { position: relative; isolation: isolate; }
.hero::before,.contact-section::before,.document-banner::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: var(--pastel-opacity); background: radial-gradient(ellipse at 7% 5%, var(--blue-200), transparent 62%), radial-gradient(ellipse at 95% 48%, var(--periwinkle), transparent 58%); }
.hero { overflow: clip; padding-block: var(--s16) var(--s24); }
.hero::before { inset: -12%; opacity: calc(var(--pastel-opacity) * 1.35); background: radial-gradient(ellipse 55% 45% at 12% 8%, var(--blue-200), transparent 70%), radial-gradient(ellipse 45% 50% at 88% 42%, var(--periwinkle), transparent 70%), radial-gradient(ellipse 60% 40% at 50% 104%, var(--sky), transparent 70%); animation: aurora 34s var(--ease-soft) infinite alternate; }
@keyframes aurora { 0% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(2.5%,-1.5%,0) scale(1.04); } 100% { transform: translate3d(-2%,1.5%,0) scale(1.02); } }
.hero-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: var(--s6); align-items: center; }
.hero-copy { grid-column: span 7; }
.hero-line { display: block; }
.hero-line em { display: inline; }
.hero-copy h1 { max-width: 12.2ch; }
.hero-copy .lede { margin-top: var(--s6); max-width: 48ch; }
.hero-chip { display: inline-flex; flex-wrap: wrap; font-size: 11px; letter-spacing: .1em; background-color: var(--icon-bg); background-image: var(--icon-grad); border: 1px solid var(--line); border-radius: 999px; padding: var(--s2) var(--s4); margin-bottom: var(--s6); }
.hero-chip::before { display: none; }
.status-dot { background: var(--success); width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; animation: status-pulse 3s ease-in-out infinite; }
.hero-note { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s6); font-size: 14px; color: var(--muted); }
.hero-art { grid-column: span 5; min-width: 0; position: relative; }
.wave-disc { width: min(100%,420px); aspect-ratio: 1; position: relative; margin-inline: auto; }
.wave-disc::before { content: ''; position: absolute; inset: -8%; background: radial-gradient(circle, var(--blue-200), color-mix(in srgb, var(--periwinkle) 55%, transparent) 42%, transparent 68%); opacity: var(--pastel-opacity); z-index: -1; }
.wave-rings { stroke: var(--blue-200); stroke-width: 1; transform-origin: center; opacity: .9; }
/* Le signal part du centre vers l'extérieur, comme une sonnerie. */
.wave-rings circle { animation: ring-ripple 5.4s var(--ease-soft) infinite; }
.wave-rings circle:nth-child(2) { animation-delay: .45s; }
.wave-rings circle:nth-child(1) { animation-delay: .9s; }
#wave-gradient stop:first-child { stop-color: var(--wave-top); }
#wave-gradient stop:last-child { stop-color: var(--wave-bottom); }
.sound-wave rect { transform-box: fill-box; transform-origin: center; animation: wave var(--bar-duration) ease-in-out var(--bar-delay) infinite; }
.float-label { position: absolute; display: flex; gap: var(--s2); align-items: center; padding: var(--s3) var(--s4); color: var(--ink-soft); background: color-mix(in srgb, var(--surface) 82%, transparent); -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2); border: 1px solid var(--edge-soft); box-shadow: var(--shadow-md); border-radius: 12px; font-size: 13px; animation: float 9s ease-in-out -1s infinite; white-space: nowrap; }
.float-label .icon { color: var(--icon-ink); width: 18px; height: 18px; }
.label-call { top: 14%; left: -2%; }
.label-sms { bottom: 14%; right: -2%; animation-delay: -5.5s; }
.motion-toggle { display: flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 40px; margin: var(--s6) auto 0; border: 0; background: transparent; color: var(--muted); font-size: 12px; transition: color var(--hover); }
.motion-toggle:hover { color: var(--link); }
.motion-toggle svg { width: 14px; height: 14px; }
.hero.motion-paused::before,.hero.motion-paused .sound-wave rect,.hero.motion-paused .wave-rings,.hero.motion-paused .wave-rings circle,.hero.motion-paused .float-label,.hero.motion-paused .status-dot { animation-play-state: paused; }
@keyframes wave { 0%,100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
@keyframes ring-ripple { 0%,100% { stroke-opacity: .35; } 16% { stroke-opacity: 1; stroke: var(--blue-300); } 42% { stroke-opacity: .55; } }
@keyframes float { 0%,100% { translate: 0 -4px; } 50% { translate: 0 4px; } }
@keyframes status-pulse { 0%,100% { box-shadow: 0 0 0 0 color-mix(in srgb,var(--success) 16%,transparent); } 50% { box-shadow: 0 0 0 5px color-mix(in srgb,var(--success) 8%,transparent); } }
/* Entreprise et capacités. */
/* Les sections se fondent les unes dans les autres, comme un ciel qui se déplie. */
.company-section { background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 26%, var(--surface) 62%, var(--bg-alt) 100%); }
.assistant-section { background: linear-gradient(180deg, var(--bg-alt) 0%, color-mix(in srgb, var(--bg-alt) 55%, var(--bg)) 48%, var(--bg-alt) 100%); }
.pme-section { background: linear-gradient(180deg, var(--bg-alt) 0%, var(--surface) 20%, var(--surface) 80%, var(--bg-alt) 100%); }
.faq-section { background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg-alt) 55%, var(--bg) 100%); }
.contact-section { background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 55%, var(--bg-alt) 100%); }
.contact-section::before { -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%); mask-image: linear-gradient(180deg, transparent, #000 30%); }
.split-heading { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: var(--s6); align-items: center; }
.split-heading > :first-child { grid-column: span 5; }
.split-heading > :last-child { grid-column: 7 / span 6; }
.three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.card { min-width: 0; padding: var(--s8); border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-sm); transition: transform 280ms var(--ease), border-color 280ms var(--ease), box-shadow 280ms var(--ease); }
.card:hover { transform: translateY(-2px); border-color: var(--edge-soft); box-shadow: var(--shadow-md); }
/* Halo discret qui suit la souris (pointeur fin uniquement, activé par le script). */
.has-spotlight { position: relative; isolation: isolate; }
.has-spotlight::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), var(--glow), transparent 65%); transition: opacity 450ms var(--ease); }
.has-spotlight:hover::after { opacity: 1; }
.card-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background-color: var(--icon-bg); background-image: var(--icon-grad); color: var(--icon-ink); margin-bottom: var(--s6); flex-shrink: 0; }
.card p { margin-top: var(--s3); font-size: 16px; }
.values .card { border: 0; border-top: 1px solid transparent; border-radius: 0; box-shadow: none; background: transparent; padding: var(--s6) 0 0; position: relative; }
.values .card::before { content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, var(--blue-500), var(--blue-200) 55%, color-mix(in srgb, var(--blue-200) 25%, transparent)); transform-origin: left; transition: transform 1.3s var(--ease-expo) calc(var(--delay, 0ms) + 150ms); }
.values .card.reveal-pending:not(.is-visible)::before { transform: scaleX(0); }
.values .card:hover { transform: none; }
.values .card-icon { font: italic 400 28px/1 var(--serif); color: var(--title-em); background: none; border-radius: 0; width: auto; height: auto; display: block; margin-bottom: var(--s4);  font-variant-numeric: lining-nums tabular-nums; }
.subsection { margin-top: var(--s24); }
.subheading { margin-bottom: var(--s12); }
.subheading h3 { font-family: var(--serif); font-size: 36px; line-height: 1.08; font-weight: 400; }
.subheading p { margin-top: 20px; }
/* Déroulé : les cercles restent lisibles ; la ligne est décorative. */
.call-flow { --flow-gap: var(--s6); position: relative; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: var(--flow-gap); padding: 0; margin: 0; list-style: none; }
.call-flow::before { content: ''; position: absolute; top: 20px; left: calc((100% - 4 * var(--flow-gap)) / 10); right: calc((100% - 4 * var(--flow-gap)) / 10); height: 1px; background: linear-gradient(90deg, var(--flow-a), var(--flow-b)); transform-origin: left; }
.call-flow li { position: relative; z-index: 1; }
.call-flow li.is-open { z-index: 2; }
.flow-dot { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 1px solid var(--edge-soft); background: var(--surface); font: 400 13px var(--sans); font-variant-numeric: tabular-nums; color: var(--ink); margin: 0 auto var(--s6); cursor: pointer; transition: background-color var(--open) var(--ease), border-color var(--open) var(--ease), color var(--open) var(--ease), box-shadow var(--open) var(--ease), transform 260ms var(--ease-spring); }
.flow-dot:hover { border-color: var(--blue-400); transform: scale(1.06); }
.call-flow h3 { font-size: 16px; min-height: 2.7em; display: flex; align-items: flex-end; justify-content: center; text-align: center; }
.call-flow .flow-tip { margin: var(--s3) auto 0; font: 400 14px/1.5 var(--sans); color: var(--ink-soft); }
.flow-tip > svg { display: none; }
.js .flow-tip { position: absolute; z-index: 3; top: 52px; left: 50%; width: 220px; max-width: calc(100vw - var(--s8)); margin: 0; padding: var(--s3) var(--s4); display: flex; align-items: flex-start; gap: var(--s2); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translate(-50%, 5px); transition: opacity 180ms var(--ease), transform 180ms var(--ease), visibility 180ms; }
.js .flow-tip::before { content: ''; position: absolute; width: 10px; height: 10px; top: -6px; left: calc(50% - 5px); transform: rotate(45deg); background: var(--surface); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.js .flow-tip > svg { display: block; color: var(--icon-ink); margin-top: 3px; }
.js .call-flow li.is-open .flow-tip { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.js .call-flow li:first-child .flow-tip { left: 0; transform: translateY(5px); }
.js .call-flow li:last-child .flow-tip { left: auto; right: 0; transform: translateY(5px); }
.js .call-flow li:first-child.is-open .flow-tip,.js .call-flow li:last-child.is-open .flow-tip { transform: translateY(0); }
.js .call-flow li:first-child .flow-tip::before { left: calc((min(1180px, 100vw - var(--gutter) * 2) - 4 * var(--flow-gap)) / 10 - 5px); }
.js .call-flow li:last-child .flow-tip::before { left: auto; right: calc((min(1180px, 100vw - var(--gutter) * 2) - 4 * var(--flow-gap)) / 10 - 5px); }
.call-flow .flow-dot[aria-expanded="true"] { background-color: var(--primary); background-image: var(--grad-primary); color: var(--on-primary); border-color: var(--primary); box-shadow: 0 0 0 5px var(--glow); }
@keyframes flow-tip-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }


.note { margin-top: var(--s8); padding-left: var(--s4); border-left: 1px solid var(--blue-300); font-size: 14px; }
.setup-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: var(--s6); padding-top: var(--s24); border-top: 1px solid var(--line); }
.setup-grid > div { grid-column: span 5; }
.setup-steps { grid-column: 7 / span 6; list-style: none; margin: 0; padding: 0; counter-reset: setup; }
.setup-steps li { position: relative; counter-increment: setup; padding: 0 0 var(--s8) var(--s16); }
.setup-steps li:last-child { padding-bottom: 0; }
.setup-steps li::before { content: counter(setup,decimal-leading-zero); position: absolute; left: 0; top: -4px; font: 400 48px/1 var(--serif); color: var(--blue-300);  font-variant-numeric: lining-nums tabular-nums; background: var(--grad-number); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.setup-steps p { margin-top: var(--s2); font-size: 16px; }
/* Pied de page : contraste bleu nuit constant dans les deux thèmes. */
.site-footer { --ink: var(--blue-50); --ink-soft: var(--blue-200); --muted: var(--blue-200); --link: var(--blue-200); --brand: var(--blue-200); --title-em: var(--blue-300); --primary: var(--blue-300); --primary-hover: var(--blue-200); --on-primary: var(--blue-900); }
/* Démonstration téléphonique. */
.try-block { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: var(--s3) var(--s6); padding: var(--s12); background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad-edge) border-box; border: 1px solid transparent; border-radius: 28px; box-shadow: var(--shadow-sm); }
.try-title { font: 400 clamp(32px,3.4vw,44px)/1.08 var(--serif); }
.try-number { font: 600 28px/1.3 var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; text-decoration: none; white-space: nowrap; }
.try-number { transition: color var(--hover); }
.try-number:hover { color: var(--link); }
.try-legal { grid-column: 2 / -1; justify-self: end; font-size: 13px; color: var(--muted); }
.hp-field { display: none !important; }
/* Bénéfices et calculateur mensuel. */
.benefits { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: var(--s16); row-gap: 0; }
.benefit { display: flex; gap: var(--s6); padding-block: var(--s8); border-top: 1px solid var(--line); }
.benefit .card-icon { margin: 0; }
.benefit p { margin-top: var(--s3); font-size: 16px; }
.sectors { margin-top: var(--s12); }
.sectors .small { font-size: 14px; }
.sectors ul { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; padding: 0; margin: var(--s4) 0 0; }
.sectors li { padding: var(--s2) var(--s4); border: 1px solid var(--line); background: var(--bg); color: var(--ink-soft); border-radius: 999px; font-size: 14px; }
.calculator { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--s16); padding: var(--s16); border-radius: 28px; background: radial-gradient(90% 70% at 100% 0%, color-mix(in srgb, var(--periwinkle) var(--tint-strength), transparent), transparent 70%), linear-gradient(135deg, var(--surface) 0%, var(--bg) 42%, var(--bg-alt) 100%); border: 1px solid var(--line); }
.calculator-fields { display: grid; gap: var(--s6); margin-top: var(--s8); }
.calculator-fields .field { display: grid; gap: var(--s2); }
.slider-heading { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s4); }
.slider-value { font: 600 16px/1.5 var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calculator-fields .field input[type="range"] { appearance: none; display: block; width: 100%; min-height: 32px; height: 32px; padding: 0; margin: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; cursor: pointer; touch-action: pan-y; }
.calculator-fields .field input[type="range"]:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; border-radius: 4px; box-shadow: none; }
.calculator-fields input[type="range"]::-webkit-slider-runnable-track { height: 3px; border-radius: 999px; background: linear-gradient(to right, var(--blue-400) 0%, var(--primary) var(--progress, 0%), var(--line) var(--progress, 0%) 100%); }
.calculator-fields input[type="range"]::-webkit-slider-thumb { appearance: none; width: 20px; height: 20px; margin-top: -8.5px; border: 2px solid var(--primary); border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-sm); transition: transform var(--hover) var(--ease), box-shadow var(--hover) var(--ease); }
.calculator-fields input[type="range"]::-moz-range-track { height: 3px; border-radius: 999px; background: var(--line); }
.calculator-fields input[type="range"]::-moz-range-progress { height: 3px; border-radius: 999px; background: linear-gradient(90deg, var(--blue-400), var(--primary)); }
.calculator-fields input[type="range"]::-moz-range-thumb { box-sizing: border-box; width: 20px; height: 20px; border: 2px solid var(--primary); border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-sm); transition: transform var(--hover) var(--ease), box-shadow var(--hover) var(--ease); }
.calculator-fields input[type="range"]:active::-webkit-slider-thumb { box-shadow: 0 0 0 6px var(--glow); }
.calculator-fields input[type="range"]:active::-moz-range-thumb { box-shadow: 0 0 0 6px var(--glow); }
@media (prefers-reduced-motion: no-preference) {
  .calculator-fields input[type="range"]:hover::-webkit-slider-thumb, .calculator-fields input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.1); }
  .calculator-fields input[type="range"]:hover::-moz-range-thumb, .calculator-fields input[type="range"]:active::-moz-range-thumb { transform: scale(1.1); }
}
.calculator-result { align-self: center; padding-left: var(--s8); border-left: 1px solid var(--line); }
.calculator-result .eyebrow { font-size: 11px; letter-spacing: .1em; }
#roi-result { display: block; width: fit-content; max-width: 100%; font: 400 clamp(48px,6vw,72px)/1.1 var(--serif); color: var(--link); background: var(--grad-title); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: -.015em;  overflow-wrap: anywhere;  font-variant-numeric: lining-nums tabular-nums; }
.result-period { margin-top: var(--s2); font-size: 18px; }
#roi-status { margin-top: var(--s6); font-size: 13px; }
/* Accordéons natifs, enrichis d’une ouverture en grille. */
.faq-layout { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: var(--s6); align-items: start; }
.faq-layout > :first-child { grid-column: span 4; position: sticky; top: 128px; }
.faq-layout > :first-child > p:not(.eyebrow) { margin-top: 20px; max-width: 28ch; }
.faq-layout > :last-child { grid-column: 6 / span 7; }
.faq-list { display: grid; gap: var(--s3); }
details { min-width: 0; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); transition: border-color var(--open) var(--ease), box-shadow var(--open) var(--ease); }
details:hover { border-color: var(--edge-soft); }
details.is-open { border-color: color-mix(in srgb, var(--blue-300) 55%, var(--line)); box-shadow: var(--shadow-sm); }
summary { transition: color var(--hover); }
summary:hover { color: var(--link); }
summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s6); padding: var(--s6); color: var(--ink); font-size: 16px; font-weight: 500; line-height: 1.5; }
summary::-webkit-details-marker { display: none; }
.faq-icon { width: 20px; height: 20px; color: var(--link); transition: transform 460ms var(--ease-spring); }
details[open] > summary .faq-icon { transform: rotate(45deg); }
/* Avec le script, l'icône suit l'intention (ouverture ou fermeture) sans attendre la fin du repli. */
.js details:not(.is-open) > summary .faq-icon { transform: none; }
.js details.is-open > summary .faq-icon { transform: rotate(45deg); }
.js .answer > * { opacity: 0; transform: translateY(-4px); transition: opacity 180ms var(--ease), transform 280ms var(--ease); }
.js details.is-open .answer > * { opacity: 1; transform: none; transition: opacity 380ms var(--ease) 90ms, transform 460ms var(--ease-expo) 90ms; }
.answer { padding: 0 var(--s6) var(--s6); min-height: 0; overflow: hidden; }
.answer p { font-size: 15px; line-height: 1.65; }
.answer p + p { margin-top: var(--s4); }
.js .answer-shell { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--open) var(--ease); }
.js details.is-open .answer-shell { grid-template-rows: 1fr; }
.js details:not(.is-open) .answer { padding-bottom: 0; transition: padding-bottom var(--open) var(--ease); }
/* Contact : mêmes dimensions et même style pour tous les champs. */
.contact-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: var(--s6); align-items: start; }
.contact-grid > div { grid-column: span 5; }
.contact-grid > form { grid-column: 7 / span 6; }
.contact-aside { margin-top: var(--s12); padding-top: var(--s6); border-top: 1px solid var(--line); }
.contact-aside > a { display: block; color: var(--ink); font-size: 28px; font-weight: 500; font-variant-numeric: tabular-nums; text-decoration: none; margin-top: var(--s2); }
.contact-aside + p { margin-top: var(--s6); }
.contact-form { display: grid; gap: var(--s6); padding: 40px; border: 1px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad-edge) border-box; border-radius: 28px; box-shadow: var(--shadow-md); }
.contact-form > p { margin: 0; }
.form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--s4); }
.field { display: grid; gap: var(--s2); min-width: 0; }
.field label { font-size: 13px; color: var(--ink-soft); }
.field input,.field select,.field textarea { width: 100%; background: var(--surface); color: var(--ink); min-height: 48px; border: 1px solid var(--line); border-radius: 12px; padding: var(--s3) var(--s4); font-size: 16px; transition: border-color var(--hover), box-shadow 240ms var(--ease); }
.field input:hover,.field select:hover,.field textarea:hover { border-color: var(--edge-soft); }
.field input:focus-visible,.field select:focus-visible,.field textarea:focus-visible { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px var(--blue-200); }
.field select { appearance: none; padding-right: var(--s8); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235E6F88' stroke-width='1.5' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.field textarea { resize: vertical; }
::placeholder { opacity: 1; color: var(--muted); font-size: 14px; }
.contact-form .small { font-size: 12px; }
#form-result { border-left: 2px solid var(--link); padding: var(--s4); background: var(--bg-alt); font-size: 14px; }
/* Pied de page commun. */
.site-footer { color: var(--ink); background: radial-gradient(70% 90% at 50% -25%, color-mix(in srgb, var(--blue-500) 24%, transparent), transparent 70%), linear-gradient(180deg, color-mix(in srgb, var(--night) 88%, var(--blue-500)) 0%, var(--night) 45%, color-mix(in srgb, var(--night) 80%, #000) 100%); padding-block: var(--s16) var(--s8); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .85fr 1fr 1fr; gap: var(--s8); }
.footer-grid p { font-size: 14px; margin-top: var(--s6); }
.footer-grid h2 { font: 500 14px/1.5 var(--sans); margin-bottom: var(--s6); letter-spacing: 0; }
.footer-grid nav { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s2); }
.footer-grid nav h2 { margin-bottom: var(--s3); }
.footer-grid a:not(.brand) { font-size: 14px; color: var(--blue-100); text-decoration: none; transition: color var(--hover); }
.footer-grid a:hover { color: #FFFFFF; }
.footer-grid a:hover:not(.brand) { text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s4); padding-top: var(--s6); margin-top: var(--s16); border-top: 1px solid rgba(255,255,255,.1); color: var(--blue-200); font-size: 12px; }
/* Pages éditoriales : sommaire persistant et contenu mesuré. */
.document-banner { padding-block: var(--s16); }
.document-header h1 { max-width: 18ch; }
.document-header > p:not(.eyebrow) { margin-top: var(--s6); }
.document-header .small { color: var(--muted); }
.document-layout { display: grid; grid-template-columns: 240px minmax(0,720px); gap: var(--s16); align-items: start; padding-block: var(--s16) var(--s24); }
.toc { position: sticky; top: 96px; display: grid; gap: var(--s2); }
.toc a { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--s3); color: var(--ink-soft); padding: var(--s3) var(--s4); text-decoration: none; font-size: 14px; border-left: 2px solid var(--line); transition: color var(--hover), border-color var(--open) var(--ease), background-color var(--open) var(--ease); }
.toc a .arrow { display: none; }
.toc a:hover,.toc a[aria-current="location"] { color: var(--link); border-left-color: var(--link); background: linear-gradient(90deg, var(--bg-alt), transparent); }
.document-content { min-width: 0; }
.document-section { padding-top: var(--s16); margin-top: var(--s16); border-top: 1px solid var(--line); }
.document-section:first-of-type { padding-top: 0; margin-top: 0; border-top: 0; }
.document-section h2 { font-size: 40px; }
.document-section h3 { font-size: 18px; }
.legal-block { margin-top: var(--s8); }
.legal-block h3 { margin-bottom: var(--s4); }
.legal-block li { color: var(--ink-soft); margin-bottom: var(--s2); }
.document-page [data-field],.document-page a { overflow-wrap: anywhere; }
.identity { display: grid; grid-template-columns: 180px 1fr; margin: var(--s6) 0 0; border-top: 1px solid var(--line); }
.identity dt,.identity dd { padding: var(--s4) 0; border-bottom: 1px solid var(--line); margin: 0; }
.identity dt { color: var(--ink-soft); font-size: 14px; }
.identity dd { padding-left: var(--s4); }
.table-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid var(--line); border-radius: 16px; margin-block: var(--s6); }
table { width: 100%; min-width: 700px; border-collapse: collapse; font-size: 14px; }
caption { text-align: left; padding: var(--s4); color: var(--ink); background: var(--bg-alt); font-weight: 500; }
th,td { text-align: left; vertical-align: top; padding: var(--s4); border-top: 1px solid var(--line); }
th { font-weight: 500; }
thead { background: var(--bg-alt); }
td { color: var(--ink-soft); }
.support-cards { margin-top: var(--s8); }
.support-cards .card p { font-size: 14px; }
.document-content .faq-list { margin-top: var(--s8); }
/* Apparitions progressives : seuls les éléments observés sont masqués.
   Titres : mise au point douce. Blocs : montée courte. Les éléments qui entrent
   ensemble sont décalés ; les classes sont retirées à la fin pour rendre la main aux survols. */
.reveal-pending { opacity: 0; transform: translate3d(0,16px,0); }
.reveal-pending.reveal-text { transform: translate3d(0,12px,0); filter: blur(6px); }
.reveal-pending.is-visible { opacity: 1; transform: none; filter: none; transition: opacity var(--reveal) var(--ease) var(--delay,0ms), transform calc(var(--reveal) + 200ms) var(--ease-expo) var(--delay,0ms), filter var(--reveal) var(--ease) var(--delay,0ms); }
/* Ouverture du hero : un seul moment orchestré. Le texte se met au point,
   l'onde « décroche » de gauche à droite, puis les étiquettes racontent l'appel. */
.motion-ok .hero-chip,.motion-ok .hero-line,.motion-ok .hero-copy .lede,.motion-ok .hero-copy .actions,.motion-ok .hero-note { animation: focus-in 1s var(--ease-expo) var(--in,0ms) backwards; }
.motion-ok .hero-line:first-child { --in: 90ms; }
.motion-ok .hero-line:last-child { --in: 220ms; }
.motion-ok .hero-copy .lede { --in: 380ms; }
.motion-ok .hero-copy .actions { --in: 470ms; }
.motion-ok .hero-note { --in: 560ms; }
.motion-ok .wave-disc { animation: disc-in 1.2s var(--ease-expo) 150ms backwards; }
.motion-ok .wave-rings { animation: rings-in 1.6s var(--ease-expo) 250ms backwards; }
.motion-ok .sound-wave rect { animation: bar-in .9s var(--ease-expo) calc(520ms + var(--bar-delay) * -.14) backwards, wave var(--bar-duration) ease-in-out var(--bar-delay) infinite; }
.motion-ok .label-call { animation: label-in .8s var(--ease-spring) 1s backwards, float 9s ease-in-out -1s infinite; }
.motion-ok .label-sms { animation: label-in .8s var(--ease-spring) 1.9s backwards, float 9s ease-in-out -5.5s infinite; }
.motion-ok .motion-toggle { animation: fade-in .8s var(--ease) 1.5s backwards; }
.motion-ok .document-header > * { animation: focus-in 1s var(--ease-expo) backwards; }
.motion-ok .document-header > :nth-child(2) { animation-delay: 90ms; }
.motion-ok .document-header > :nth-child(3) { animation-delay: 200ms; }
.motion-ok .document-header > :nth-child(4) { animation-delay: 290ms; }
@keyframes focus-in { from { opacity: 0; transform: translate3d(0,14px,0); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes disc-in { from { opacity: 0; scale: .94; } to { opacity: 1; scale: 1; } }
@keyframes rings-in { from { opacity: 0; transform: scale(.82); } to { opacity: .9; transform: scale(1); } }
@keyframes bar-in { from { opacity: 0; scale: 1 .04; } to { opacity: 1; scale: 1 1; } }
@keyframes label-in { from { opacity: 0; scale: .9; } to { opacity: 1; scale: 1; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
/* En quittant le hero, l'illustration s'efface doucement (navigateurs compatibles). */
@supports (animation-timeline: view()) {
  .motion-ok .hero-art { animation: art-drift linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  @keyframes art-drift { to { translate: 0 -48px; opacity: .3; } }
}
/* Déroulé : la ligne se trace, chaque étape s'allume à son passage. */
.call-flow.flow-pending::before { transform: scaleX(0); }
.call-flow.flow-pending.is-visible::before { transform: scaleX(1); transition: transform 1.7s var(--ease-soft) 150ms; }
.call-flow.flow-pending .flow-dot { opacity: 0; transform: scale(.6); }
.call-flow.flow-pending li > h3 { opacity: 0; transform: translateY(6px); }
.call-flow.flow-pending.is-visible .flow-dot:not([aria-expanded="true"]) { opacity: 1; transform: none; transition: opacity 400ms var(--ease) var(--step-delay,0ms), transform 700ms var(--ease-spring) var(--step-delay,0ms); animation: dot-ping 1.2s var(--ease-expo) calc(var(--step-delay,0ms) + 200ms) 1; }
.call-flow.flow-pending.is-visible li > h3 { opacity: 1; transform: none; transition: opacity 600ms var(--ease) calc(var(--step-delay,0ms) + 80ms), transform 800ms var(--ease-expo) calc(var(--step-delay,0ms) + 80ms); }
@keyframes dot-ping { from { box-shadow: 0 0 0 0 var(--glow); } to { box-shadow: 0 0 0 14px transparent; } }
/* Bascule de thème : cercle qui s'ouvre depuis le bouton (animé par le script). */
::view-transition-old(root),::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
/* Grille progressive et navigation mobile. */
@media (min-width: 1000px) { .hero { min-height: 88vh; display: flex; align-items: center; } }
@media (max-width: 1150px) {
  #navigation { gap: var(--s4); }
  #navigation a { font-size: 14px; }
  .header-cta { font-size: 13px; padding-inline: var(--s4); }
  .calculator { padding: var(--s12); gap: var(--s12); }
  .card { padding: var(--s6); }
  .contact-form { padding: var(--s8); }
}
@media (max-width: 999px) {
  .site-header { height: auto; min-height: 72px; }
  .nav-wrap { flex-wrap: wrap; }
  .nav-actions { margin-left: auto; }
  .menu-toggle { display: grid; order: 3; }
  #navigation { order: 4; flex-basis: 100%; flex-wrap: wrap; margin: 0; gap: var(--s2) var(--s6); padding-bottom: var(--s4); }
  .js #navigation:not(.is-open) { display: none; }
  .hero-copy h1 { font-size: clamp(48px,7vw,72px); }
  .hero-copy { grid-column: span 7; }
  .hero-art { grid-column: span 5; }
  .float-label { padding: var(--s2) var(--s3); font-size: 11px; }
  .label-call { left: -4%; }
  .label-sms { right: -4%; }
  .motion-toggle { font-size: 11px; }
  .three { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .values { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .call-flow { --flow-gap: var(--s4); }
  .call-flow h3 { font-size: 15px; }

  .calculator { gap: var(--s8); padding: var(--s8); }
  .try-block { column-gap: var(--s2); }
  .try-block .button { padding-inline: var(--s3); font-size: 14px; }
  .calculator-result { padding-left: var(--s6); }
  .benefits { gap: 0 var(--s8); }
  .faq-layout > :first-child { grid-column: span 4; }
  .faq-layout > :last-child { grid-column: 5 / span 8; }
  .contact-grid > div { grid-column: span 5; }
  .contact-grid > form { grid-column: 6 / span 7; }
  .contact-form { padding: var(--s6); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--s12); }
  .document-layout { grid-template-columns: 200px minmax(0,1fr); gap: var(--s8); }
  .identity { grid-template-columns: 1fr; }
  .identity dt { border-bottom: 0; padding-bottom: 0; }
  .identity dd { padding-left: 0; }
  .support-cards { grid-template-columns: 1fr; }
}
@media (max-width: 699px) {
  .hero { padding-block: var(--s12) var(--s16); }
  .hero-grid,.split-heading,.setup-grid,.faq-layout,.contact-grid { grid-template-columns: 1fr; gap: var(--s12); }
  .hero-copy,.hero-art,.split-heading > :first-child,.split-heading > :last-child,.setup-grid > div,.setup-steps,.faq-layout > :first-child,.faq-layout > :last-child,.contact-grid > div,.contact-grid > form { grid-column: auto; }
  .hero-copy h1 { font-size: clamp(48px,12vw,72px); max-width: 13ch; }
  .hero-copy .lede { max-width: 34ch; }
  .hero-note { font-size: 12px; gap: var(--s1) var(--s2); }
  .hero-chip { font-size: 10px; padding-inline: var(--s3); }
  .hero-art { max-width: 340px; width: 100%; margin-inline: auto; }
  .label-call { left: 0; }
  .label-sms { right: 0; }
  .three,.two,.values,.benefits { grid-template-columns: 1fr; }
  .card { padding: var(--s8); }
  .values { gap: var(--s8); }
  .split-heading .lede { margin-top: 0; }
  .subsection { margin-top: var(--s16); }
  .setup-grid { padding-top: var(--s16); }
  .subheading { margin-bottom: var(--s8); }
  .call-flow { grid-template-columns: 1fr; --flow-gap: var(--s6); }
  .call-flow::before { top: 20px; bottom: 20px; left: 20px; right: auto; height: auto; width: 1px; transform-origin: top; background: linear-gradient(180deg, var(--flow-a), var(--flow-b)); }
  .call-flow.flow-pending::before { transform: scaleY(0); }
  .call-flow.flow-pending.is-visible::before { transform: scaleY(1); }
  .call-flow li { padding-left: var(--s16); min-height: 48px; display: block; }
  .call-flow .flow-dot { position: absolute; top: 4px; left: 0; margin: 0; }
  .call-flow h3 { font-size: 18px; min-height: 48px; align-items: center; justify-content: flex-start; text-align: left; }
  .call-flow .flow-tip { margin: var(--s2) 0 0; }
  .js .call-flow li .flow-tip { position: relative; top: auto; left: auto; right: auto; width: 100%; max-width: 220px; transform: none; display: none; }
  .js .call-flow li.is-open .flow-tip { display: flex; transform: none; animation: flow-tip-in 180ms var(--ease); }
  .js .call-flow li .flow-tip::before,.js .call-flow li:first-child .flow-tip::before,.js .call-flow li:last-child .flow-tip::before { left: var(--s4); right: auto; }
  .try-block { grid-template-columns: 1fr; gap: var(--s6); padding: var(--s8) var(--s6); text-align: center; }
  .try-number { font-size: 24px; }
  .try-block .button { width: 100%; }
  .try-block .try-legal { grid-column: auto; justify-self: center; }

  .calculator { grid-template-columns: 1fr; padding: var(--s8) var(--s6); gap: var(--s12); }
  .benefit { gap: var(--s4); }
  .calculator-result { padding-left: 0; padding-top: var(--s8); border-left: 0; border-top: 1px solid var(--line); }
  .faq-layout > :first-child { position: static; }
  .faq-layout > :first-child > p:not(.eyebrow) { max-width: 40ch; }
  summary { padding: var(--s6); gap: var(--s4); font-size: 15px; }
  .contact-form { padding: var(--s6); }
  .contact-aside { margin-top: var(--s8); }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--s8) var(--s6); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
  .document-banner { padding-block: var(--s12); }
  .document-layout { grid-template-columns: 1fr; gap: var(--s12); padding-top: var(--s8); }
  .document-header h1 { font-size: 48px; }
  .toc { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .toc a { font-size: 13px; padding-inline: var(--s3); }
  .document-section h2 { font-size: 36px; }
  .document-section { padding-top: var(--s12); margin-top: var(--s12); }
  .document-content .card { padding: var(--s6); }
}
@media (max-width: 479px) {
  .nav-wrap { gap: var(--s2); }
  .brand { font-size: 18px; gap: var(--s1); }
  .brand svg { width: 24px; }
  .nav-actions { gap: var(--s2); }
  .theme-toggle,.menu-toggle { width: 32px; height: 32px; }
  .menu-toggle svg { width: 18px; height: 18px; }
  .header-cta { font-size: 11px; height: 40px; padding-inline: var(--s3); }
  .header-cta .arrow { display: none; }
  .actions { gap: var(--s3); }
  .actions .button { font-size: 13px; padding-inline: var(--s4); }
}
@media (max-width: 359px) { .header-cta { font-size: 10px; padding-inline: var(--s2); } .brand { font-size: 16px; } .brand svg { width: 20px; } .nav-wrap,.nav-actions { gap: var(--s1); } }
/* Aucune disparition ni animation quand l’utilisateur réduit les mouvements. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none !important; transition: none !important; }
  .reveal-pending,.reveal-pending.reveal-text { opacity: 1; transform: none; filter: none; }
  .call-flow.flow-pending::before { transform: none; }
  .call-flow.flow-pending .flow-dot,.call-flow.flow-pending li > h3 { opacity: 1; transform: none; }
  .values .card.reveal-pending:not(.is-visible)::before { transform: none; }
  .card:hover,a:hover > .arrow,.button:active,.flow-dot:hover { transform: none; }
  .motion-toggle { display: none !important; }
}

.site-header .brand { color: #4A70B5; }
