/* Site vitrine Depechi : thème « Nuit » de l'appli (bleu Depechi, Bricolage Grotesque + Figtree). */
:root {
  --nuit: #07080d;
  --nuit-2: #0d1220;
  --nuit-3: #131a2c;
  --ligne: rgba(142, 179, 255, 0.16);
  --ligne-forte: rgba(142, 179, 255, 0.4);
  --texte: #f3f4f8;
  --doux: #a7b0c5;
  --tres-doux: #7d869c;
  --bleu: #1652f0;
  --bleu-vif: #3b74f6;
  --bleu-clair: #8eb3ff;
  --bleu-pale: #dbe7ff;
  --vert: #3ecf8e;
  --wa: #25d366;
  --f-titre: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --f-texte: "Figtree", ui-sans-serif, system-ui, sans-serif;
  --rayon: 28px;
  --large: 1180px;
  --douce: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--nuit); color: var(--texte); font-family: var(--f-texte); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-titre); letter-spacing: -0.035em; line-height: 1.02; margin: 0; text-wrap: balance; font-weight: 800; }
p { margin: 0; }
ul, ol { margin: 0; }
:focus-visible { outline: 3px solid var(--bleu-clair); outline-offset: 3px; border-radius: 8px; }
.point { color: var(--bleu-vif); }
.cadre { width: 100%; max-width: var(--large); margin-inline: auto; padding-inline: 24px; }
.sur { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bleu-clair); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evite { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--bleu); color: #fff; padding: 10px 16px; border-radius: 10px; }
.evite:focus { top: 12px; }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.entete.colle { background: rgba(7, 8, 13, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--ligne); }
.entete .cadre { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.logo { display: inline-flex; white-space: nowrap; align-items: center; gap: 12px; text-decoration: none; font-family: var(--f-titre); font-weight: 800; font-size: 25px; letter-spacing: -0.03em; }
.logo img { width: 40px; height: 40px; border-radius: 11px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--doux); padding: 9px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--texte); background: rgba(255, 255, 255, .06); }
.nav .btn { margin-left: 8px; }
.burger { display: none; background: none; border: 1px solid var(--ligne); color: var(--texte); width: 46px; height: 46px; border-radius: 14px; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; margin: auto; position: relative; transition: transform .3s var(--douce), background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.menu-ouvert .burger span { background: transparent; }
.menu-ouvert .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-ouvert .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Boutons ---------- */
.btn { font: 700 16px/1 var(--f-texte); border-radius: 999px; padding: 16px 26px; border: 0; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: transform .3s var(--douce), background .2s, box-shadow .3s; white-space: nowrap; }
.btn-plein { background: var(--bleu); color: #fff; box-shadow: 0 12px 34px -12px rgba(22, 82, 240, .95); }
.btn-plein:hover { background: #2160ff; box-shadow: 0 18px 44px -12px rgba(59, 116, 246, 1); }
.btn-vide { background: rgba(255, 255, 255, .06); color: var(--texte); border: 1px solid var(--ligne); }
.btn-vide:hover { background: rgba(255, 255, 255, .11); }
.btn-blanc { background: #fff; color: #0b1f5c; }
.btn-wa { background: var(--wa); color: #06210f; }
.btn-petit { padding: 12px 18px; font-size: 15px; }
.btn .fl { transition: transform .3s var(--douce); }
.btn:hover .fl { transform: translateX(4px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.boutons { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Héros ---------- */
.heros { position: relative; padding-block: 56px 96px; overflow: hidden; }
.heros::before { content: ""; position: absolute; inset: -20% -10% auto; height: 900px; background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(20, 64, 168, .9) 0%, rgba(11, 35, 99, .6) 40%, rgba(7, 8, 13, 0) 75%); pointer-events: none; z-index: -1; animation: respire 9s ease-in-out infinite alternate; }
@keyframes respire { from { transform: scale(1); opacity: .9; } to { transform: scale(1.08); opacity: 1; } }
.heros .cadre { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.heros-texte { display: grid; gap: 26px; justify-items: start; }
.heros h1 { font-size: clamp(40px, 5.8vw, 82px); line-height: .95; }
.heros h1 .ligne { display: block; overflow: hidden; padding-bottom: .06em; white-space: nowrap; }
.heros h1 .ligne > span { display: inline-block; animation: monte-titre 1s var(--douce) both; }
.heros h1 .ligne:nth-child(2) > span { animation-delay: .12s; }
.heros h1 .ligne:nth-child(3) > span { animation-delay: .24s; }
@keyframes monte-titre { from { transform: translateY(105%); } to { transform: none; } }
.heros .chapo { font-size: 20px; color: #c9d2e6; max-width: 34ch; }
.confiance { display: flex; gap: 22px; flex-wrap: wrap; color: var(--doux); font-size: 14px; font-weight: 600; }
.confiance span { display: inline-flex; align-items: center; gap: 8px; }
.confiance span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--vert); }

/* Carte animée de l'accueil */
.carte-vivante { position: relative; aspect-ratio: 1 / 1.02; max-width: 100%; border-radius: 36px; overflow: hidden; background: radial-gradient(ellipse 80% 70% at 50% 0%, #163a96 0%, #0b2363 45%, var(--nuit-2) 85%); border: 1px solid var(--ligne); box-shadow: 0 40px 120px -40px rgba(22, 82, 240, .55); }
.carte-vivante > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rue { stroke: rgba(142, 179, 255, .09); stroke-width: 2; fill: none; }
.rue-grande { stroke: rgba(142, 179, 255, .16); stroke-width: 5; fill: none; }
.fleuve { stroke: rgba(59, 116, 246, .25); stroke-width: 40; fill: none; stroke-linecap: round; }
.trajet-fond { stroke: rgba(142, 179, 255, .25); stroke-width: 5; fill: none; stroke-dasharray: 2 12; stroke-linecap: round; }
.trajet { stroke: url(#degrade-trajet); stroke-width: 6; fill: none; stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: trace 4.5s var(--douce) infinite; }
@keyframes trace { 0% { stroke-dashoffset: 1000; } 55%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.halo-client { fill: var(--bleu-vif); transform-box: fill-box; transform-origin: center; animation: onde 2.2s ease-out infinite; }
@keyframes onde { from { transform: scale(1); opacity: .6; } to { transform: scale(3.4); opacity: 0; } }
.vignette { position: absolute; border-radius: 22px; overflow: hidden; border: 3px solid rgba(255, 255, 255, .9); box-shadow: 0 20px 50px -14px rgba(0, 0, 0, .7); }
.vignette img { width: 100%; height: 100%; object-fit: cover; }
.vignette-1 { width: 38%; aspect-ratio: 1; left: 6%; top: 7%; transform: rotate(-6deg); animation: flotte 7s ease-in-out infinite; }
.vignette-2 { width: 30%; aspect-ratio: 1; right: 5%; bottom: 25%; transform: rotate(7deg); animation: flotte 8s ease-in-out -2s infinite; }
@keyframes flotte { 50% { translate: 0 -12px; } }
.bulle { position: absolute; left: 5%; right: 5%; bottom: 5%; background: rgba(7, 8, 13, .8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--ligne); border-radius: 22px; padding: 14px 18px; display: flex; align-items: center; gap: 14px; }
.bulle-icone { width: 46px; height: 46px; border-radius: 14px; background: var(--bleu); display: grid; place-items: center; flex: none; }
.bulle-icone svg { width: 24px; height: 24px; }
.bulle b { font-family: var(--f-titre); font-size: 20px; letter-spacing: -0.02em; display: block; line-height: 1.1; }
.bulle small { color: var(--doux); font-size: 13px; }
.bulle .etat { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--vert); }
.bulle .etat::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--vert); animation: clignote 1.6s infinite; }
@keyframes clignote { 50% { opacity: .3; } }

/* Héros avec photo (pages restaurant et livreur) */
.heros-photo { position: relative; border-radius: 36px; overflow: hidden; aspect-ratio: 4 / 4.6; border: 1px solid var(--ligne); box-shadow: 0 40px 120px -40px rgba(22, 82, 240, .55); }
.heros-photo > img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: zoom 14s ease-out forwards; }
@keyframes zoom { to { transform: scale(1); } }
.heros-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 8, 13, 0) 45%, rgba(7, 8, 13, .85) 100%); }
.pastille-flottante { position: absolute; z-index: 1; background: rgba(7, 8, 13, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--ligne); border-radius: 20px; padding: 14px 18px; display: grid; gap: 2px; animation: flotte 7s ease-in-out infinite; }
.pastille-flottante small { color: var(--doux); font-size: 13px; font-weight: 600; }
.pastille-flottante b { font: 800 26px/1.1 var(--f-titre); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pastille-flottante.p1 { left: 20px; bottom: 20px; }
.pastille-flottante.p2 { right: 20px; top: 20px; animation-delay: -3s; }

/* ---------- Bandeau défilant ---------- */
.bandeau { border-block: 1px solid var(--ligne); background: var(--nuit-2); overflow: hidden; padding-block: 22px; }
.bandeau-piste { display: flex; gap: 48px; width: max-content; animation: defile 38s linear infinite; }
.bandeau:hover .bandeau-piste { animation-play-state: paused; }
.bandeau span { font: 800 clamp(26px, 3.4vw, 40px)/1 var(--f-titre); letter-spacing: -0.03em; white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.bandeau span::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--bleu-vif); }
.bandeau span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--bleu-clair); }
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: 112px; }
.section-serree { padding-block: 72px; }
.tete { display: grid; gap: 16px; max-width: 720px; margin-bottom: 52px; }
.tete h2 { font-size: clamp(38px, 5.2vw, 66px); }
.tete p { color: var(--doux); font-size: 19px; }
.tete-centre { margin-inline: auto; text-align: center; justify-items: center; }

/* Étapes */
.etapes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: etape; }
.etape { position: relative; padding: 28px; border-radius: var(--rayon); background: var(--nuit-2); border: 1px solid var(--ligne); display: grid; gap: 12px; align-content: start; transition: transform .4s var(--douce), border-color .3s; }
.etape:hover { transform: translateY(-6px); border-color: var(--ligne-forte); }
.etape::before { counter-increment: etape; content: counter(etape); font: 800 15px/1 var(--f-titre); width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(59, 116, 246, .18); color: var(--bleu-clair); }
.etape h3 { font-size: 23px; letter-spacing: -0.02em; line-height: 1.15; }
.etape p { color: var(--doux); font-size: 15.5px; }

/* Les deux portes */
.portes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.porte { position: relative; border-radius: 36px; overflow: hidden; min-height: 560px; display: flex; align-items: flex-end; text-decoration: none; isolation: isolate; border: 1px solid var(--ligne); }
.porte img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--douce); }
.porte::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 8, 13, .05) 20%, rgba(7, 8, 13, .92) 100%); transition: background .5s; }
.porte:hover img { transform: scale(1.06); }
.porte:hover::before { background: linear-gradient(180deg, rgba(22, 82, 240, .25) 0%, rgba(7, 8, 13, .95) 100%); }
.porte-texte { padding: 36px; display: grid; gap: 12px; }
.porte h3 { font-size: clamp(34px, 4vw, 52px); }
.porte p { color: #d4dbea; max-width: 38ch; }
.porte .lien-fleche { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; margin-top: 6px; }
.porte .lien-fleche span { width: 44px; height: 44px; border-radius: 50%; background: var(--bleu); display: grid; place-items: center; transition: transform .4s var(--douce); }
.porte:hover .lien-fleche span { transform: translateX(6px) rotate(-45deg); }

/* Galerie */
.galerie { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 120px; gap: 16px; }
.galerie figure { margin: 0; border-radius: 24px; overflow: hidden; position: relative; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--douce); }
.galerie figure:hover img { transform: scale(1.05); }
.galerie figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(7, 8, 13, .78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.g1 { grid-column: span 5; grid-row: span 4; }
.g2 { grid-column: span 4; grid-row: span 2; }
.g3 { grid-column: span 3; grid-row: span 2; }
.g4 { grid-column: span 3; grid-row: span 2; }
.g5 { grid-column: span 4; grid-row: span 2; }

/* Atouts */
.atouts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.atout { padding: 30px; border-radius: var(--rayon); background: var(--nuit-2); border: 1px solid var(--ligne); display: grid; gap: 12px; align-content: start; position: relative; overflow: hidden; transition: transform .4s var(--douce), border-color .3s; }
.atout::after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; right: -120px; top: -120px; background: radial-gradient(circle, rgba(59, 116, 246, .35), rgba(59, 116, 246, 0) 70%); opacity: 0; transition: opacity .4s; }
.atout:hover { transform: translateY(-6px); border-color: var(--ligne-forte); }
.atout:hover::after { opacity: 1; }
.atout-icone { width: 54px; height: 54px; border-radius: 16px; background: rgba(59, 116, 246, .14); display: grid; place-items: center; }
.atout-icone svg { width: 28px; height: 28px; stroke: var(--bleu-clair); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.atout h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.15; }
.atout p { color: var(--doux); font-size: 15.5px; }

/* Chiffres */
.chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.chiffre { padding: 28px; border-radius: var(--rayon); border: 1px solid var(--ligne); display: grid; gap: 6px; }
.chiffre b { font: 800 clamp(40px, 4.6vw, 58px)/1 var(--f-titre); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.chiffre b small { font-size: .45em; color: var(--bleu-clair); letter-spacing: -0.01em; }
.chiffre span { color: var(--doux); font-size: 15px; }

/* Simulateur */
.simu { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 36px; overflow: hidden; border: 1px solid var(--ligne); }
.reglages { padding: 40px; display: grid; gap: 30px; background: var(--nuit-2); align-content: start; }
.reglages h3 { font-size: 30px; }
.champ { display: grid; gap: 12px; }
.champ label, .champ .etiquette { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; font-size: 16px; }
.champ output { font: 800 24px var(--f-titre); color: var(--bleu-clair); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 999px; background: linear-gradient(to right, var(--bleu-vif) var(--p, 50%), rgba(255, 255, 255, .1) var(--p, 50%)); cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 7px solid var(--bleu); box-shadow: 0 6px 18px rgba(0, 0, 0, .45); transition: transform .15s; }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 7px solid var(--bleu); }
.pastilles { display: flex; gap: 8px; flex-wrap: wrap; }
.pastilles button { font: 600 15px var(--f-texte); color: var(--doux); background: rgba(255, 255, 255, .05); border: 1px solid var(--ligne); border-radius: 999px; padding: 10px 16px; cursor: pointer; transition: all .2s; }
.pastilles button:hover { color: var(--texte); }
.pastilles button[aria-pressed="true"] { background: rgba(59, 116, 246, .2); color: #fff; border-color: var(--bleu-vif); }
.resultat { padding: 40px; background: radial-gradient(ellipse 90% 80% at 100% 0%, #1652f0 0%, #0b2363 55%, #0a1430 100%); display: grid; gap: 22px; align-content: start; }
.resultat .sur { color: var(--bleu-pale); }
.gros { font: 800 clamp(52px, 7vw, 86px)/1 var(--f-titre); letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.gros small { font-size: .38em; letter-spacing: -0.01em; color: var(--bleu-pale); }
.lignes { display: grid; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 20px; }
.lignes div { display: flex; justify-content: space-between; gap: 12px; color: var(--bleu-pale); font-variant-numeric: tabular-nums; }
.lignes b { color: #fff; }
.note { font-size: 13.5px; color: #b9c8ec; }
.paliers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.palier { border-radius: 22px; padding: 20px; border: 1px solid var(--ligne); display: grid; gap: 4px; cursor: pointer; background: var(--nuit-2); color: inherit; text-align: left; font: inherit; transition: border-color .2s, background .2s, transform .3s var(--douce); }
.palier:hover { transform: translateY(-3px); }
.palier:hover, .palier.actif { border-color: var(--bleu-vif); background: rgba(59, 116, 246, .12); }
.palier span { font-size: 14px; color: var(--doux); }
.palier b { font: 800 28px var(--f-titre); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }

/* Parcours (ligne de temps) */
.parcours { display: grid; gap: 0; position: relative; max-width: 820px; }
.parcours::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: linear-gradient(var(--bleu-vif), rgba(59, 116, 246, .1)); transform-origin: top; transform: scaleY(var(--progres, 1)); }
.pas { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 24px; padding-block: 18px; position: relative; }
.pas-num { width: 56px; height: 56px; border-radius: 50%; background: var(--nuit-3); border: 2px solid var(--bleu-vif); display: grid; place-items: center; font: 800 20px var(--f-titre); color: var(--bleu-clair); position: relative; z-index: 1; }
.pas h3 { font-size: 24px; letter-spacing: -0.02em; margin-top: 12px; }
.pas p { color: var(--doux); margin-top: 6px; }

/* Liste « ce qu'il faut » */
.besoin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.besoin-photo { border-radius: 36px; overflow: hidden; aspect-ratio: 4 / 3.4; border: 1px solid var(--ligne); }
.besoin-photo img { width: 100%; height: 100%; object-fit: cover; }
.coches { list-style: none; padding: 0; display: grid; gap: 14px; margin-top: 28px; }
.coches li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; align-items: start; font-size: 17px; }
.coches li::before { content: ""; width: 32px; height: 32px; border-radius: 50%; background: rgba(62, 207, 142, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ecf8e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 16px no-repeat; }
.coches small { display: block; color: var(--doux); font-size: 15px; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { border: 1px solid var(--ligne); border-radius: 22px; background: var(--nuit-2); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: var(--ligne-forte); background: var(--nuit-3); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: rgba(59, 116, 246, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238eb3ff' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .35s var(--douce); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .reponse { padding: 0 26px 24px; color: var(--doux); display: grid; gap: 10px; }
.faq .reponse b { color: var(--texte); }
.faq-onglets { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.faq-onglets a { text-decoration: none; font-weight: 700; font-size: 15px; padding: 11px 20px; border-radius: 999px; border: 1px solid var(--ligne); color: var(--doux); transition: all .2s; }
.faq-onglets a:hover { color: var(--texte); border-color: var(--bleu-vif); }
.faq-bloc { scroll-margin-top: 100px; display: grid; gap: 18px; }
.faq-bloc + .faq-bloc { margin-top: 64px; }
.faq-bloc h2 { font-size: clamp(30px, 4vw, 44px); }

/* Appel final */
.appel { position: relative; overflow: hidden; border-radius: 40px; padding: clamp(36px, 6vw, 80px); background: var(--bleu); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; isolation: isolate; }
.appel::before { content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%; right: -200px; top: -260px; z-index: -1; background: radial-gradient(circle, rgba(142, 179, 255, .6), rgba(142, 179, 255, 0) 70%); animation: respire 8s ease-in-out infinite alternate; }
.appel h2 { font-size: clamp(38px, 5.4vw, 70px); }
.appel p { color: var(--bleu-pale); font-size: 19px; margin-top: 16px; max-width: 46ch; }
.appel .boutons { justify-content: flex-end; }
.appel .btn-vide { border-color: rgba(255, 255, 255, .35); }

/* Page texte (mentions, 404) */
.page-texte { padding-block: 64px 112px; }
.page-texte .contenu { max-width: 760px; display: grid; gap: 20px; }
.page-texte h1 { font-size: clamp(42px, 6vw, 72px); margin-bottom: 12px; }
.page-texte h2 { font-size: 28px; margin-top: 24px; letter-spacing: -0.02em; }
.page-texte p, .page-texte li { color: var(--doux); }
.page-texte ul { display: grid; gap: 8px; padding-left: 22px; }

/* ---------- Pied de page ---------- */
.pied { border-top: 1px solid var(--ligne); padding-block: 72px 40px; background: var(--nuit-2); margin-top: 112px; }
.pied-haut { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.pied p { color: var(--doux); font-size: 15px; max-width: 34ch; margin-top: 16px; }
.pied h4 { font-family: var(--f-texte); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--bleu-clair); margin-bottom: 16px; }
.pied ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.pied ul a { text-decoration: none; color: var(--doux); font-size: 15px; transition: color .2s; }
.pied ul a:hover { color: var(--texte); }
.pied-bas { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--ligne); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--tres-doux); font-size: 13.5px; }
.pied-bas a { color: var(--tres-doux); }
.geant { font: 800 clamp(80px, 19vw, 260px)/.8 var(--f-titre); letter-spacing: -0.06em; margin-top: 56px; color: transparent; -webkit-text-stroke: 1.5px rgba(142, 179, 255, .28); white-space: nowrap; overflow: hidden; user-select: none; }

/* Bouton WhatsApp flottant */
.wa-flottant { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 14px 34px -10px rgba(37, 211, 102, .8); transition: transform .3s var(--douce); }
.wa-flottant:hover { transform: scale(1.08); }
.wa-flottant svg { width: 32px; height: 32px; }

/* ---------- Apparitions au défilement (seulement si le script tourne) ---------- */
.js .revele { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--douce), transform .9s var(--douce); transition-delay: var(--retard, 0s); }
.js .revele.vu { opacity: 1; transform: none; }

/* ---------- Écrans moyens et petits ---------- */
@media (max-width: 980px) {
  .heros .cadre { grid-template-columns: 1fr; gap: 44px; }
  .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .atouts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .simu { grid-template-columns: 1fr; }
  .besoin { grid-template-columns: 1fr; gap: 32px; }
  .appel { grid-template-columns: 1fr; }
  .appel .boutons { justify-content: flex-start; }
  .pied-haut { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .galerie { grid-auto-rows: 90px; }
}
@media (max-width: 820px) {
  .burger { display: grid; place-items: center; }
  .nav { position: fixed; inset: calc(76px + env(safe-area-inset-top, 0px)) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px 20px 24px; background: rgba(7, 8, 13, .97); border-bottom: 1px solid var(--ligne); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .3s var(--douce); }
  .menu-ouvert .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { font-size: 19px; padding: 14px 16px; }
  .nav .btn { margin: 10px 0 0; }
  .portes { grid-template-columns: 1fr; }
  .porte { min-height: 440px; }
  .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; }
  .g1 { grid-column: span 2; grid-row: span 2; }
  .g2, .g3, .g4, .g5 { grid-column: span 1; grid-row: span 1; }
  .g5 { grid-column: span 2; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .cadre { padding-inline: 16px; }
  .section { padding-block: 80px; }
  .heros { padding-block: 32px 72px; }
  .etapes, .atouts { grid-template-columns: 1fr; }
  .paliers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reglages, .resultat { padding: 28px 22px; }
  .pied-haut { grid-template-columns: 1fr; }
  .porte-texte { padding: 26px; }
  .boutons .btn { flex: 1 1 auto; }
  .heros-photo { aspect-ratio: 4 / 4.4; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .trajet { stroke-dashoffset: 0; }
  .js .revele { opacity: 1; transform: none; }
}
