/* Max Clean Evolution — design v2
   Aucune police ni ressource externe. Animations désactivées si l'appareil demande moins de mouvement. */

:root {
  --navy: #102E40;
  --navy-2: #0b2231;
  --navy-3: #071923;
  --blue: #087CA7;
  --sky: #87D8EE;
  --sky-soft: #e4f6fb;
  --white: #fff;
  --paper: #f5f8fa;
  --text: #13303f;
  --muted: #5b7280;
  --line: rgba(16, 46, 64, .12);
  --line-light: rgba(255, 255, 255, .14);
  --sans: "Century Gothic", CenturyGothic, "URW Gothic", "URW Gothic L", Futura, "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  --serif: "Times New Roman", Times, "Liberation Serif", serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--white); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
::selection { background: var(--sky); color: var(--navy); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0 0 .45em; color: var(--navy); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(2.2rem, 5.6vw, 4.6rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0 0 1em; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
@media (min-width: 900px) { .container { padding: 0 40px; } }
.skip { position: absolute; left: -999px; top: 10px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 10px; }
.dark { background: var(--navy); color: #cfe0e8; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark .serif { color: var(--sky); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 22px; }
.kicker::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.dark .kicker { color: var(--sky); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 58ch; }
.dark .lead { color: #b9d0db; }

/* ---------- Boutons ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 58px; padding: 0 28px; border-radius: 999px; border: 1.5px solid transparent; font: 700 1rem/1 var(--sans); letter-spacing: -0.005em; text-decoration: none; cursor: pointer; transition: transform .5s var(--ease), background .3s, color .3s, border-color .3s; will-change: transform; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn .arr { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: -14px; border-radius: 50%; background: rgba(255,255,255,.18); transition: transform .5s var(--ease); }
.btn:hover .arr { transform: rotate(-45deg); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn-sky { background: var(--sky); color: var(--navy); }
.btn-sky .arr { background: var(--navy); color: #fff; }
.btn-sky:hover { background: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--navy); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy .arr { background: var(--sky); color: var(--navy); }
.btn-navy:hover { background: var(--blue); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-line { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-line:hover { border-color: var(--navy); color: var(--navy); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- En-tête flottant ---------- */
.site-header { position: fixed; top: 12px; left: 0; right: 0; z-index: 90; transition: transform .6s var(--ease); pointer-events: none; }
.site-header.is-hidden { transform: translateY(-130%); }
.header-pill { pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; padding: 0 10px 0 20px; background: rgba(255,255,255,.82); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6); border: 1px solid rgba(255,255,255,.6); border-radius: 999px; box-shadow: 0 10px 40px rgba(7, 25, 35, .14); }
.brand img { height: 44px; width: auto; }
.nav { display: none; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a { position: relative; display: block; padding: 10px 13px; color: var(--navy); text-decoration: none; font-weight: 700; font-size: .93rem; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 5px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.head-cta { display: none; align-items: center; gap: 8px; }
.head-cta .tel { display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; color: var(--navy); font-weight: 700; text-decoration: none; white-space: nowrap; }
.head-cta .tel svg { width: 17px; color: var(--blue); }
.head-cta .btn { min-height: 48px; padding: 0 22px; white-space: nowrap; }
.burger { width: 50px; height: 50px; border: 0; border-radius: 50%; background: var(--navy); color: #fff; cursor: pointer; display: grid; place-items: center; }
.burger span { position: relative; display: block; width: 20px; height: 2px; background: #fff; transition: transform .4s var(--ease), background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: #fff; transition: transform .4s var(--ease); }
.burger span::before { transform: translateY(-6px); }
.burger span::after { transform: translateY(6px); }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: rotate(45deg); }
.menu-open .burger span::after { transform: rotate(-45deg); }
@media (min-width: 1200px) { .nav, .head-cta { display: flex; } .burger { display: none; } }

/* Menu plein écran (mobile) */
.menu { position: fixed; inset: 0; z-index: 80; background: var(--navy); color: #fff; padding: 110px 26px 40px; display: flex; flex-direction: column; justify-content: space-between; clip-path: circle(0% at calc(100% - 52px) 46px); transition: clip-path .8s var(--ease); visibility: hidden; overflow-y: auto; }
.menu-open .menu { clip-path: circle(150% at calc(100% - 52px) 46px); visibility: visible; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu li { overflow: hidden; border-bottom: 1px solid var(--line-light); }
.menu li a { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; color: #fff; text-decoration: none; font-size: clamp(1.5rem, 6.5vw, 2.4rem); font-weight: 700; letter-spacing: -0.03em; transform: translateY(105%); transition: transform .7s var(--ease); }
.menu li a small { font-size: .8rem; color: var(--sky); font-weight: 400; letter-spacing: 0; }
.menu-open .menu li a { transform: none; }
.menu-open .menu li:nth-child(2) a { transition-delay: .05s; } .menu-open .menu li:nth-child(3) a { transition-delay: .1s; }
.menu-open .menu li:nth-child(4) a { transition-delay: .15s; } .menu-open .menu li:nth-child(5) a { transition-delay: .2s; }
.menu-open .menu li:nth-child(6) a { transition-delay: .25s; } .menu-open .menu li:nth-child(7) a { transition-delay: .3s; }
.menu-foot { display: grid; gap: 12px; margin-top: 30px; }
.menu-foot .btn { width: 100%; }
body.menu-open { overflow: hidden; }

/* Barre fixe mobile */
.mobile-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 70; display: grid; grid-template-columns: 1fr 1.5fr; gap: 8px; padding: 7px; background: rgba(255,255,255,.88); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5); border: 1px solid rgba(16,46,64,.08); border-radius: 999px; box-shadow: 0 12px 34px rgba(7,25,35,.2); transition: transform .5s var(--ease); }
.mobile-bar .btn { min-height: 50px; padding: 0 14px; font-size: .95rem; }
.menu-open .mobile-bar { transform: translateY(160%); }
body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
@media (min-width: 1200px) { .mobile-bar { display: none; } body { padding-bottom: 0; } }

/* ---------- Écran d'ouverture (accueil) ---------- */
.intro { position: fixed; inset: 0; z-index: 300; background: var(--navy-3); display: grid; place-items: center; pointer-events: none; animation: introOut .9s var(--ease) 1.05s forwards; }
.intro svg { width: 92px; animation: introStar 1.1s var(--ease) both; }
@keyframes introStar { 0% { transform: scale(.3) rotate(-90deg); opacity: 0; } 55% { transform: scale(1.1) rotate(0); opacity: 1; } 100% { transform: scale(1); } }
@keyframes introOut { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }

/* ---------- Fond animé (aurore) ---------- */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; opacity: .55; will-change: transform; }
.aurora i:nth-child(1) { width: 70vmax; height: 70vmax; left: -20vmax; top: -30vmax; background: radial-gradient(circle, rgba(8,124,167,.75) 0%, rgba(8,124,167,0) 62%); animation: drift1 18s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 55vmax; height: 55vmax; right: -18vmax; top: 10vmax; background: radial-gradient(circle, rgba(135,216,238,.42) 0%, rgba(135,216,238,0) 62%); animation: drift2 22s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 50vmax; height: 50vmax; left: 20vmax; bottom: -35vmax; background: radial-gradient(circle, rgba(8,124,167,.5) 0%, rgba(8,124,167,0) 62%); animation: drift3 26s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(14vmax, 10vmax) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-12vmax, 8vmax) scale(.9); } }
@keyframes drift3 { to { transform: translate(-8vmax, -12vmax) scale(1.2); } }
.gridlines { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 70%); }
.spot { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(500px circle at var(--mx, 70%) var(--my, 30%), rgba(135,216,238,.16), transparent 60%); transition: background .2s; }
.grain { position: absolute; inset: 0; pointer-events: none; opacity: .07; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Hero accueil ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: var(--navy-3); color: #cfe0e8; padding: 130px 0 70px; }
.hero > .container { position: relative; z-index: 2; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border: 1px solid var(--line-light); border-radius: 999px; background: rgba(255,255,255,.06); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: .85rem; color: #e4f2f7; margin-bottom: 30px; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #5ee0a0; box-shadow: 0 0 0 0 rgba(94,224,160,.6); animation: ping 2.2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(94,224,160,0); } 100% { box-shadow: 0 0 0 0 rgba(94,224,160,0); } }
.hero h1 { color: #fff; font-size: clamp(3rem, 8.4vw, 7rem); letter-spacing: -0.05em; line-height: .95; margin-bottom: 34px; max-width: 12ch; }
.hero h1 .serif { color: var(--sky); font-size: 1.04em; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; transform: translateY(110%); animation: wordUp 1.1s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 70ms + var(--base, 1.15s)); }
@keyframes wordUp { to { transform: none; } }
.fade-up { opacity: 0; transform: translateY(24px); animation: fadeUp 1s var(--ease) forwards; animation-delay: var(--base, 1.6s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.hero .lead { margin-bottom: 36px; }
.hero-foot { display: grid; gap: 30px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line-light); }
.proof-big { display: flex; align-items: center; gap: 18px; color: #fff; }
.proof-big b { font-size: 3.4rem; letter-spacing: -0.05em; line-height: 1; background: linear-gradient(120deg, #fff 0%, var(--sky) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.proof-big span { max-width: 22ch; font-size: .98rem; color: #cfe0e8; line-height: 1.4; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.hero-tags li { padding: 8px 14px; border: 1px solid var(--line-light); border-radius: 999px; font-size: .86rem; color: #e4f2f7; }
.hero-art { position: absolute; z-index: 1; right: -12vw; top: 50%; width: min(78vw, 860px); transform: translateY(-50%); opacity: .9; pointer-events: none; }
.hero-art .arc1, .hero-art .arc2 { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.4s var(--ease) .9s forwards; }
.hero-art .arc2 { animation-delay: 1.15s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-art .st { transform-box: fill-box; transform-origin: center; animation: twinkle 3.6s ease-in-out infinite; }
.hero-art .st:nth-of-type(2) { animation-delay: .8s; } .hero-art .st:nth-of-type(3) { animation-delay: 1.6s; }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.55) rotate(45deg); opacity: .5; } }
.badge { display: none; position: absolute; z-index: 3; right: 40px; bottom: 60px; width: 150px; height: 150px; }
.badge svg.ring { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.badge .core { position: absolute; inset: 40px; border-radius: 50%; background: var(--sky); display: grid; place-items: center; color: var(--navy); transition: transform .6s var(--ease); }
.badge:hover .core { transform: scale(1.12) rotate(45deg); }
.badge .core svg { width: 30px; }
@keyframes spin { to { transform: rotate(360deg); } }
.scroll-cue { display: none; position: absolute; z-index: 3; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 20px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (min-width: 760px) { .hero-foot { grid-template-columns: auto 1fr; align-items: center; gap: 40px; } .hero-tags { justify-content: flex-end; } }
@media (min-width: 1100px) { .badge, .scroll-cue { display: block; } .hero-art { right: -14vw; top: 58%; width: 820px; opacity: .85; } .hero-foot { margin-right: 190px; } }
@media (max-width: 759px) { .hero-art { top: 22%; width: 120vw; right: -50vw; opacity: .5; } .hero .btns .btn { width: 100%; } }

/* ---------- Bandeau défilant ---------- */
.marquee { position: relative; overflow: hidden; background: var(--sky); color: var(--navy); padding: 22px 0; transform: rotate(-1.6deg) scale(1.04); margin: -18px 0 0; z-index: 5; box-shadow: 0 20px 50px rgba(7,25,35,.18); }
.marquee .track { display: flex; width: max-content; animation: marq 32s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 34px; padding-right: 34px; font-size: clamp(1.3rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: -0.03em; white-space: nowrap; }
.marquee span svg { width: 22px; color: var(--blue); }
.marquee:hover .track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 110px 0; }
@media (min-width: 900px) { .section { padding: 150px 0; } }
.paper { background: var(--paper); }

/* Phrase qui s'illumine au défilement */
.statement { font-size: clamp(1.75rem, 4.4vw, 3.6rem); line-height: 1.12; font-weight: 700; letter-spacing: -0.035em; color: var(--navy); max-width: 22ch; margin: 0; }
.statement .sw { opacity: .14; transition: opacity .25s linear; }
.statement .sw.on { opacity: 1; }
.statement .serif { color: var(--blue); }
.statement-wrap { display: grid; gap: 40px; }
.statement-side { color: var(--muted); max-width: 34ch; }
@media (min-width: 1000px) { .statement-wrap { grid-template-columns: 1fr 300px; align-items: end; } }

/* Cartes empilées */
.stack { display: grid; gap: 22px; margin-top: 70px; }
.scard { position: sticky; top: 104px; min-height: 520px; border-radius: 32px; padding: 34px 26px; display: grid; gap: 26px; align-content: space-between; overflow: hidden; transform-origin: center top; will-change: transform; box-shadow: 0 -10px 40px rgba(7,25,35,.08); }
.scard:nth-child(2) { top: 124px; } .scard:nth-child(3) { top: 144px; }
.scard.c1 { background: #fff; border: 1px solid var(--line); }
.scard.c2 { background: var(--sky); }
.scard.c3 { background: var(--navy); color: #cfe0e8; }
.scard.c3 h3 { color: #fff; }
.scard .num { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--blue); }
.scard.c3 .num { color: var(--sky); }
.scard.c2 .num { color: var(--navy); }
.scard h3 { font-size: clamp(2rem, 4.4vw, 3.6rem); letter-spacing: -0.04em; line-height: 1; margin: 10px 0 18px; }
.scard p { max-width: 46ch; font-size: 1.06rem; }
.scard.c2 p { color: #164257; }
.scard ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 26px; }
.scard li { padding: 7px 13px; border-radius: 999px; font-size: .86rem; border: 1px solid var(--line); }
.scard.c2 li { border-color: rgba(16,46,64,.2); }
.scard.c3 li { border-color: var(--line-light); color: #e4f2f7; }
.scard .art { justify-self: end; width: 100%; max-width: 360px; }
.scard .art path, .scard .art rect, .scard .art line, .scard .art circle, .scard .art polyline { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 2.2s var(--ease); }
.scard.is-visible .art path, .scard.is-visible .art rect, .scard.is-visible .art line, .scard.is-visible .art circle, .scard.is-visible .art polyline { stroke-dashoffset: 0; }
.scard .more { font-weight: 700; color: var(--navy); background: none; padding: 0; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.scard .more::after { content: "→"; transition: transform .4s var(--ease); }
.scard .more:hover::after { transform: translateX(5px); }
.scard .acts { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
@media (min-width: 900px) { .scard { grid-template-columns: 1.15fr .85fr; align-items: center; padding: 64px; min-height: 560px; } }

/* Liste interactive (prestations complémentaires) */
.rows { list-style: none; padding: 0; margin: 60px 0 0; border-top: 1px solid var(--line); }
.rows li { border-bottom: 1px solid var(--line); }
.rows a { position: relative; isolation: isolate; display: grid; grid-template-columns: 46px 1fr 44px; gap: 14px; align-items: center; padding: 28px 6px; text-decoration: none; color: var(--navy); overflow: hidden; }
.rows a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.rows a:hover::before, .rows a:focus-visible::before { transform: scaleY(1); }
.rows a:hover, .rows a:focus-visible { color: #fff; }
.rows .n { font-family: var(--serif); font-style: italic; color: var(--blue); font-size: 1.1rem; }
.rows a:hover .n { color: var(--sky); }
.rows strong { display: block; font-size: clamp(1.4rem, 3.2vw, 2.4rem); letter-spacing: -0.035em; line-height: 1.1; transition: transform .6s var(--ease); }
.rows a:hover strong { transform: translateX(10px); }
.rows .d { display: block; font-size: .98rem; color: var(--muted); margin-top: 6px; max-width: 60ch; transition: color .3s; }
.rows a:hover .d { color: #b9d0db; }
.rows .go { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .6s var(--ease), background .3s, border-color .3s; }
.rows a:hover .go { background: var(--sky); border-color: var(--sky); color: var(--navy); transform: rotate(-45deg); }
.rows .go svg { width: 18px; }
@media (min-width: 900px) { .rows a { grid-template-columns: 90px 1fr 56px; padding: 38px 14px; } .rows .go { width: 56px; height: 56px; } }

/* Chiffre géant */
.bignum { display: grid; gap: 30px; align-items: end; }
.bignum .giant { font-size: clamp(9rem, 32vw, 26rem); line-height: .8; font-weight: 700; letter-spacing: -0.07em; background: linear-gradient(170deg, var(--navy) 0%, var(--blue) 55%, var(--sky) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0; }
.bignum .giant sup { font-size: .45em; vertical-align: top; position: relative; top: .12em; }
.bignum .txt { font-size: clamp(1.4rem, 2.8vw, 2.2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; color: var(--navy); max-width: 16ch; }
.facts { display: grid; gap: 0; margin-top: 70px; border-top: 1px solid var(--line); }
.facts > div { padding: 28px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.facts b { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.04em; color: var(--navy); line-height: 1; }
.facts span { color: var(--muted); }
@media (min-width: 900px) { .bignum { grid-template-columns: auto 1fr; gap: 50px; } .facts { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); } .facts > div { border-bottom: 0; padding: 34px 34px 34px 0; } .facts > div + div { padding-left: 34px; border-left: 1px solid var(--line); } }

/* Contrats */
.contract { display: grid; gap: 50px; }
.contract .sticky { align-self: start; }
.citems { list-style: none; padding: 0; margin: 0; position: relative; }
.citems::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: var(--line-light); }
.citems::after { content: ""; position: absolute; left: 21px; top: 10px; width: 2px; height: calc((100% - 20px) * var(--p, 0)); background: linear-gradient(var(--sky), var(--blue)); }
.citems li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 22px; padding: 0 0 48px; }
.citems li:last-child { padding-bottom: 0; }
.citems .b { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-2); border: 1.5px solid var(--line-light); color: var(--sky); font-family: var(--serif); font-style: italic; font-size: 1.1rem; transition: background .5s, color .5s, border-color .5s; }
.citems li.lit .b { background: var(--sky); color: var(--navy); border-color: var(--sky); }
.citems h3 { margin: 8px 0 8px; font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
.citems p { margin: 0; color: #b9d0db; }
@media (min-width: 1000px) { .contract { grid-template-columns: 1fr 1fr; gap: 100px; } .contract .sticky { position: sticky; top: 140px; } }

/* Étapes */
.steps { position: relative; display: grid; gap: 50px; list-style: none; padding: 0; margin: 70px 0 0; }
.steps .line { display: none; }
.step .c { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); background: #fff; font-family: var(--serif); font-style: italic; font-size: 2rem; color: var(--blue); margin-bottom: 26px; transition: background .6s var(--ease), color .6s, transform .6s var(--ease); }
.step.is-visible .c { background: var(--navy); color: var(--sky); transform: rotate(-8deg); }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; max-width: 32ch; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .steps .line { display: block; position: absolute; top: 38px; left: 76px; right: 8%; height: 2px; z-index: -1; }
  .steps .line svg { width: 100%; height: 2px; overflow: visible; }
  .steps .line line { stroke: rgba(8,124,167,.35); stroke-width: 2; }
  .steps { isolation: isolate; }
}

/* Avis — défilement continu */
.reviews { margin-top: 60px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.reviews .track { display: flex; gap: 18px; width: max-content; animation: marq 46s linear infinite; padding: 6px 0; }
.reviews:hover .track { animation-play-state: paused; }
.review { width: min(84vw, 400px); flex: none; margin: 0; padding: 30px 28px; border-radius: 26px; background: rgba(255,255,255,.05); border: 1px solid var(--line-light); display: flex; flex-direction: column; gap: 20px; transition: background .4s, transform .5s var(--ease); }
.review:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.review .stars { color: var(--sky); letter-spacing: 3px; }
.review blockquote { margin: 0; flex: 1; color: #e4f2f7; font-size: 1.08rem; line-height: 1.5; }
.review figcaption { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 700; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--sky); color: var(--navy); font-size: .85rem; flex: none; }
.reviews-note { margin-top: 26px; font-size: .88rem; color: #8fb0bf; }

/* FAQ */
.faq-wrap { display: grid; gap: 40px; }
@media (min-width: 1000px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 90px; } .faq-wrap .sticky { position: sticky; top: 140px; align-self: start; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-weight: 700; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--navy); letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; position: relative; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); transition: transform .5s var(--ease), background .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; margin: -1px 0 0 -6px; background: var(--navy); transition: transform .5s var(--ease), background .3s; }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--navy); transform: rotate(180deg); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: #fff; }
.faq details[open] summary i::after { transform: rotate(0); }
.faq .ans { color: var(--muted); padding: 0 50px 26px 0; animation: ansIn .6s var(--ease); }
@keyframes ansIn { from { opacity: 0; transform: translateY(-8px); } }

/* Appel final + pied de page */
.final { position: relative; overflow: hidden; background: var(--navy-3); color: #cfe0e8; padding: 130px 0 0; }
.final > .container { position: relative; z-index: 2; }
.final .kicker { color: var(--sky); }
.final h2 { color: #fff; font-size: clamp(3rem, 10vw, 8.8rem); line-height: .92; letter-spacing: -0.055em; max-width: 11ch; margin-bottom: 40px; }
.final .row { display: grid; gap: 30px; }
@media (min-width: 900px) { .final .row { grid-template-columns: 1fr auto; align-items: end; } }
.circle-btn { width: 190px; height: 190px; border-radius: 50%; background: var(--sky); color: var(--navy); display: grid; place-items: center; text-align: center; text-decoration: none; font-weight: 700; font-size: 1.05rem; line-height: 1.2; padding: 20px; transition: transform .6s var(--ease), background .3s; will-change: transform; }
.circle-btn:hover { background: #fff; color: var(--navy); }
.circle-btn svg { width: 26px; margin: 8px auto 0; transition: transform .6s var(--ease); }
.circle-btn:hover svg { transform: rotate(-45deg); }
.footer { position: relative; z-index: 2; margin-top: 110px; padding: 60px 0 30px; border-top: 1px solid var(--line-light); font-size: .95rem; }
.footer-grid { display: grid; gap: 34px; }
.footer h3 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: #e4f2f7; text-decoration: none; background: linear-gradient(var(--sky), var(--sky)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.footer a:hover { color: var(--sky); background-size: 100% 1px; }
.footer-logo { display: inline-block; background: #fff; border-radius: 18px; padding: 14px 18px; }
.footer-logo img { height: 54px; width: auto; }
.wordmark { position: relative; z-index: 1; font-size: 17.6vw; line-height: .78; font-weight: 700; letter-spacing: -0.065em; text-align: center; white-space: nowrap; margin: 40px 0 -2.4vw; color: transparent; -webkit-text-stroke: 1px rgba(135,216,238,.28); user-select: none; }
.wordmark span { background: linear-gradient(180deg, rgba(135,216,238,.35), rgba(135,216,238,0) 75%); -webkit-background-clip: text; background-clip: text; }
.legal-line { display: grid; gap: 6px; padding-top: 24px; margin-top: 40px; border-top: 1px solid var(--line-light); font-size: .82rem; color: #87a6b5; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } .legal-line { grid-template-columns: 1fr auto; } }

/* ---------- Pages intérieures ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--navy-3); color: #cfe0e8; padding: 160px 0 110px; }
.page-hero > .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2.7rem, 7.4vw, 6.6rem); letter-spacing: -0.05em; line-height: .96; max-width: 14ch; margin-bottom: 28px; }
.page-hero h1 .serif { color: var(--sky); }
.crumbs { font-size: .86rem; color: #8fb0bf; margin-bottom: 26px; }
.crumbs a { color: #cfe0e8; text-decoration: none; }
.crumbs a:hover { color: var(--sky); }
.split { display: grid; gap: 50px; }
@media (min-width: 1000px) { .split { grid-template-columns: 1fr 1fr; gap: 100px; } .split .sticky { position: sticky; top: 140px; align-self: start; } }
.tiles { display: grid; gap: 14px; }
.tile { position: relative; overflow: hidden; padding: 30px 28px; border-radius: 26px; background: #fff; border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .3s; }
.tile:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(7,25,35,.1); border-color: transparent; }
.tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--tx, 50%) var(--ty, 0%), rgba(135,216,238,.35), transparent 50%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.tile:hover::before { opacity: 1; }
.tile .ix { font-family: var(--serif); font-style: italic; color: var(--blue); font-size: 1.15rem; display: block; margin-bottom: 12px; }
.tile h3 { position: relative; margin-bottom: 8px; }
.tile p { position: relative; margin: 0; color: var(--muted); }
.tile.dark-t { background: var(--navy); border-color: var(--navy); }
.tile.dark-t h3 { color: #fff; } .tile.dark-t p { color: #b9d0db; } .tile.dark-t .ix { color: var(--sky); }
@media (min-width: 700px) { .tiles.two { grid-template-columns: 1fr 1fr; } }
.note { margin-top: 26px; padding: 22px 24px; border-radius: 20px; background: var(--sky-soft); color: #164257; }

/* ---------- Formulaire ---------- */
.quote-hero { padding-bottom: 190px; }
.quote-grid { position: relative; z-index: 3; display: grid; gap: 30px; margin-top: -140px; align-items: start; padding-bottom: 120px; }
@media (min-width: 1000px) { .quote-grid { grid-template-columns: 1.6fr 1fr; gap: 40px; } .quote-grid aside { position: sticky; top: 120px; } }
.fcard { background: #fff; border-radius: 32px; padding: 30px 22px; box-shadow: 0 40px 100px rgba(7,25,35,.16); border: 1px solid var(--line); }
@media (min-width: 700px) { .fcard { padding: 50px; } }
.fsteps { display: flex; gap: 10px; list-style: none; padding: 0; margin: 0 0 34px; }
.fsteps li { flex: 1; display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 700; color: var(--muted); }
.fsteps li b { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.05rem; transition: all .4s var(--ease); }
.fsteps li.is-active { color: var(--navy); }
.fsteps li.is-active b { background: var(--navy); border-color: var(--navy); color: var(--sky); }
.fsteps li.is-done b { background: var(--sky); border-color: var(--sky); color: var(--navy); }
.fsteps li + li::before { content: ""; flex: 0 0 24px; height: 1.5px; background: var(--line); margin-right: 4px; }
.form-step[hidden] { display: none; }
.form-step { animation: stepIn .7s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } }
.form-step h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -0.04em; margin-bottom: 26px; }
.field { margin-bottom: 22px; }
.field > label, fieldset legend { display: block; margin-bottom: 9px; font-weight: 700; font-size: .95rem; color: var(--navy); }
.opt { font-weight: 400; color: var(--muted); font-size: .86rem; }
fieldset { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
input[type="text"], input[type="tel"], input[type="email"], input[type="date"], input[type="number"], select, textarea { width: 100%; min-height: 56px; padding: 14px 18px; font: 400 1rem/1.4 var(--sans); color: var(--text); background: var(--paper); border: 1.5px solid transparent; border-radius: 16px; transition: border-color .3s, background .3s, box-shadow .3s; appearance: none; -webkit-appearance: none; }
input:hover, select:hover, textarea:hover { background: #eef3f6; }
input:focus, select:focus, textarea:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 5px rgba(135,216,238,.35); }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23102E40' stroke-width='1.8' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
textarea { min-height: 140px; resize: vertical; }
.has-error input, .has-error select, .has-error textarea { border-color: #c0392b; background: #fff6f5; }
.err { display: none; margin-top: 7px; font-size: .86rem; color: #b03224; }
.has-error .err { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 999px; background: var(--paper); border: 1.5px solid transparent; cursor: pointer; font-size: .95rem; transition: all .35s var(--ease); }
.chip span:hover { background: #e8eff3; }
.chip input:checked + span { background: var(--navy); color: #fff; transform: scale(1.03); }
.chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(135,216,238,.6); }
.row2 { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } }
.more { border-radius: 18px; background: var(--paper); padding: 4px 18px; margin-bottom: 26px; }
.more summary { cursor: pointer; padding: 16px 0; font-weight: 700; color: var(--blue); }
.more[open] { padding-bottom: 6px; }
.more input, .more select { background: #fff; }
.factions { display: flex; flex-wrap: wrap; gap: 12px; }
.factions .btn { flex: 1 1 220px; }
.alt { margin: 22px 0 0; font-size: .95rem; color: var(--muted); }
.alt a { font-weight: 700; }
.privacy { font-size: .84rem; color: var(--muted); margin: 20px 0 0; }
.hp { position: absolute; left: -5000px; }
.alert { border-radius: 18px; padding: 18px 20px; margin-bottom: 22px; }
.alert-error { background: #fff1ef; color: #8a2a1e; border: 1px solid #f3c6bf; }
.ok-panel { text-align: center; padding: 30px 0; }
.ok-panel .tick { width: 96px; height: 96px; margin: 0 auto 26px; border-radius: 50%; background: var(--sky); color: var(--navy); display: grid; place-items: center; animation: pop .8s var(--ease); }
.ok-panel .tick svg { width: 42px; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .8s var(--ease) .3s forwards; }
@keyframes pop { from { transform: scale(0); } }
.ok-panel h2 { font-size: 2.4rem; }
.ok-panel .ref { display: inline-block; margin-bottom: 18px; padding: 6px 14px; border-radius: 999px; background: var(--paper); font-size: .9rem; }
.btn[disabled] { opacity: .6; cursor: progress; }
.side-card { border-radius: 32px; padding: 34px 28px; overflow: hidden; position: relative; }
.side-card h2 { font-size: 2rem; letter-spacing: -0.04em; }
.side-card .btn { width: 100%; margin: 6px 0 26px; }
.clist { list-style: none; padding: 0; margin: 0; }
.clist li { padding: 16px 0; border-top: 1px solid var(--line-light); }
.clist small { display: block; color: #8fb0bf; font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; margin-bottom: 3px; }
.clist a { color: #fff; font-weight: 700; text-decoration: none; word-break: break-word; }
.clist a:hover { color: var(--sky); }

/* Pages légales */
.legal { max-width: 860px; }
.legal h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.03em; margin-top: 2em; }
.legal table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 10px 0 20px; }
.legal th, .legal td { text-align: left; border-bottom: 1px solid var(--line); padding: 12px 8px; vertical-align: top; }
.todo { background: #fff1b8; color: #6b4e00; padding: 1px 7px; border-radius: 6px; font-weight: 700; }

/* ---------- Apparitions au défilement ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.mask-h { display: block; overflow: hidden; }
.mask-h > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.is-visible .mask-h > span, .mask-h.is-visible > span { transform: none; }
.no-js .mask-h > span { transform: none; }

/* Curseur décoratif (ordinateur uniquement) */
.cursor { position: fixed; left: 0; top: 0; z-index: 400; width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid var(--blue); border-radius: 50%; pointer-events: none; opacity: 0; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .3s, border-color .3s, opacity .3s; mix-blend-mode: normal; }
.cursor.on { opacity: 1; }
.cursor.big { width: 74px; height: 74px; margin: -37px 0 0 -37px; background: rgba(135,216,238,.22); border-color: transparent; }
.on-dark-cursor .cursor { border-color: var(--sky); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* Mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .mask-h > span, .w > span, .fade-up { opacity: 1 !important; transform: none !important; }
  .intro { display: none; }
  .statement .sw { opacity: 1; }
  .cursor { display: none; }
}

.final h2 .serif { color: var(--sky); }
.scard.c3 .more { color: #fff; }
.footer .footer-logo { background: #fff; background-size: auto; }
@media (max-width: 899px) {
  .scard { position: relative; top: 0 !important; min-height: 0; }
  .scard .art { order: -1; justify-self: start; max-width: 150px; }
  .circle-btn { width: 150px; height: 150px; font-size: .95rem; }
}
.page-hero .kicker { color: var(--sky); }
