@font-face { font-family: "Plus Jakarta Sans"; src: url("/assets/fonts/plus-jakarta-sans-latin-var.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
/* Concept : page-feu de camp. Bleu nuit en grands aplats, braise bleu glacé, violet réservé au Pass. Les écrans de l'app sont recréés en CSS à partir des vrais écrans (en-tête nuit, feuille claire arrondie, cartes blanches, barre de navigation). */
:root {
  --nuit: #013F51;
  --nuit-2: #0A5068;
  --braise: #A9E2FF;
  --papier: #F6F4F0;
  --feuille: #FFFFFF;
  --encre: #2C3437;
  --encre-2: #596064;
  --muet: #747C80;
  --filet: #E7E7E5;
  --champ: #E6ECEE;
  --piste: #D0D8DA;
  --corail: #EE9B7C;
  --succes: #21764A;
  --succes-fond: #E3F3EA;
  --ambre-fond: #FBEBD3;
  --ambre: #8A4B00;
  --pass: #534AB7;
  --pass-fond: #EEEDFE;
  --pass-texte: #3C3489;
  --pass-bord: #AFA9EC;
  --danger: #B3261E;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--papier); color: var(--encre); font-family: var(--font); font-size: 17px; line-height: 1.55; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; letter-spacing: -0.025em; line-height: 1.08; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--braise); outline-offset: 3px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--nuit-2); }
.sur-nuit .eyebrow { color: var(--braise); }
section { padding-block: clamp(56px, 9vw, 104px); }
svg.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Menu */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--papier); }
.site-nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--papier) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--filet); }
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo .mot { font-family: "Bricolage Grotesque", var(--font); font-weight: 800; font-size: 26px; letter-spacing: -0.01em; line-height: 1; }
.logo { display: flex; align-items: center; gap: 8px; color: var(--nuit); text-decoration: none; }
.nav-liens { display: flex; gap: 28px; font-size: 15px; font-weight: 600; color: var(--encre-2); }
.nav-liens a { text-decoration: none; min-height: 44px; display: flex; align-items: center; }
.nav-liens a:hover { color: var(--nuit); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 700 15.5px var(--font); text-decoration: none; border: 0; cursor: pointer; }
.btn-plein { background: var(--nuit); color: #fff; }
.btn-contour { background: transparent; color: var(--nuit); box-shadow: inset 0 0 0 2px var(--nuit); }
@media (max-width: 760px) { .nav-liens { display: none; } }

/* ============ Composants d'écran de l'app (base 390 px) ============ */
.app { font-family: var(--font); color: var(--encre); line-height: 1.3; letter-spacing: 0; text-align: left; }
.app * { min-width: 0; }
.app h4 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -0.01em; color: var(--nuit); text-transform: uppercase; line-height: 1.05; }
.app .rond { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--encre); font-size: 20px; position: relative; flex: none; }
.app .rond .badge { position: absolute; top: -4px; right: -4px; background: #A93226; color: #fff; font-size: 10px; font-weight: 800; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; }
.app .pilule-voyage { color: var(--encre); background: #fff; border-radius: 999px; height: 40px; padding: 0 16px; display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; letter-spacing: -0.03em; }
.app .barre-haut { display: flex; align-items: center; gap: 8px; }
.app .barre-haut .rond:last-child { margin-left: auto; }
.app .entete-nuit { background: var(--nuit); color: #fff; padding: 14px 18px 20px; display: grid; gap: 18px; }
.app .entete-nuit h4 { color: #fff; }
.app .feuille { background: var(--papier); border-radius: 24px 24px 0 0; padding: 18px 14px 20px; display: grid; gap: 14px; margin-top: -8px; position: relative; }
.app .carte { background: #fff; border-radius: 22px; padding: 18px; display: grid; gap: 10px; }
.app .petit { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--encre-2); }
.app .gros { font-size: 32px; font-weight: 800; color: var(--nuit); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.app .av { width: 26px; height: 26px; border-radius: 50%; background: var(--piste); color: var(--encre-2); font-size: 11px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; margin-left: -7px; }
.app .av:first-child { margin-left: 0; }
.app .av.vide { background: transparent; border: 1.5px dashed #9AA3A7; }
.app .avs { display: flex; align-items: center; }
.app .segment { display: grid; grid-template-columns: 1fr 1fr; background: var(--piste); border-radius: 999px; padding: 5px; font-size: 12.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; text-align: center; }
.app .segment span { padding: 11px 0; border-radius: 999px; color: var(--encre); }
.app .segment .on { background: var(--nuit); color: #fff; }
.app .fab { width: 52px; height: 52px; border-radius: 50%; background: var(--nuit); color: #fff; display: grid; place-items: center; font-size: 26px; box-shadow: 0 8px 18px -6px rgba(1,63,81,.55); }

/* Carte destination / logement avec photo */
.app .photo-carte { position: relative; border-radius: 24px; overflow: hidden; color: #fff; aspect-ratio: 1 / 1.02; display: flex; flex-direction: column; justify-content: space-between; padding: 14px; isolation: isolate; }
.app .photo-carte > .scene { position: absolute; inset: 0; z-index: -2; }
.ph { background-size: cover; background-position: center; background-color: #9db4bd; }
.ph-lisbonne { background-image: url("/assets/img/lisbonne.webp"); } .ph-logement { background-image: url("/assets/img/logement.webp"); } .ph-plage { background-image: url("/assets/img/plage.webp"); } .ph-tapas { background-image: url("/assets/img/tapas.webp"); } .ph-rue { background-image: url("/assets/img/rue.webp"); } .ph-falaise { background-image: url("/assets/img/fraises.webp"); }
.app .photo-carte::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(1,63,81,0) 38%, rgba(1,63,81,.82) 100%); }
.app .photo-carte .haut { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.app .pastille-b { background: rgba(255,255,255,.93); color: var(--encre); border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 7px; }
.app .pastille-b .avs .av { width: 22px; height: 22px; font-size: 10px; border-width: 0; background: var(--piste); }
.app .photo-carte h5 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.app .photo-carte .lieu { font-size: 13px; opacity: .9; display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.app .photo-carte .bas { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.app .btn-x { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.8); display: grid; place-items: center; font-size: 22px; flex: none; }
.app .btn-voter { flex: 1; background: #fff; color: var(--nuit); border-radius: 999px; height: 46px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.app .btn-voter.casse { text-transform: none; letter-spacing: 0; font-size: 16px; }
.app .piste-vote { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: rgba(255,255,255,.3); }
.app .piste-vote i { display: block; height: 100%; background: var(--corail); }
.app .prix { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin-top: 10px; }
.app .prix small { display: block; font-size: 12.5px; font-weight: 500; opacity: .85; letter-spacing: 0; margin-top: 4px; }
.app .ligne-prix { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.app .ligne-prix .btn-voter { flex: none; padding: 0 22px; }
.app .tag-aucun { background: rgba(255,255,255,.93); color: var(--encre); border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 600; }

/* Dates */
.app .periode { border: 2px solid var(--filet); border-radius: 18px; padding: 14px 16px; display: grid; grid-template-columns: 26px 1fr auto; gap: 4px 12px; align-items: center; }
.app .periode.sel { border-color: var(--nuit); background: #F3F7F8; }
.app .radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #A2A0A0; grid-row: span 2; }
.app .sel .radio { border-color: var(--nuit); background: radial-gradient(circle, var(--nuit) 0 45%, transparent 48%); }
.app .reco { background: var(--ambre-fond); color: var(--ambre); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; justify-self: start; grid-column: 2 / -1; }
.app .periode b { white-space: nowrap; font-size: 18px; font-weight: 800; color: var(--encre); }
.app .periode .dispo { font-size: 13.5px; color: var(--succes); font-weight: 500; grid-column: 2; }
.app .periode:not(.sel) .dispo { color: var(--encre-2); }
.app .periode .avs { grid-column: 3; grid-row: 2 / 4; }
.app .btn-nuit { background: var(--nuit); color: #fff; height: 52px; border-radius: 999px; display: grid; place-items: center; font-weight: 700; font-size: 16px; }
.app .lien-s { text-align: center; font-weight: 600; font-size: 15px; color: var(--nuit); text-decoration: underline; text-underline-offset: 3px; }
.app .ligne-titre { display: flex; justify-content: space-between; align-items: center; font-size: 15px; color: var(--encre-2); }
.app .ligne-titre b { color: var(--nuit); font-weight: 600; display: flex; align-items: center; gap: 6px; }

/* Météo */
.app .meteo { background: var(--nuit); color: #fff; border-radius: 26px; padding: 20px 22px; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; }
.app .meteo .bj { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; grid-column: 1 / -1; }
.app .meteo .ciel { font-size: 14px; opacity: .92; grid-column: 1 / -1; }
.app .meteo .deg { font-size: 64px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; display: flex; align-items: baseline; gap: 14px; }
.app .meteo .deg small { font-size: 12.5px; font-weight: 500; letter-spacing: 0; line-height: 1.4; opacity: .95; }

/* Votes en cours */
.app .vote-ligne { background: #fff; border-radius: 22px; padding: 16px 18px 14px; display: grid; gap: 12px; }
.app .vote-ligne > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; }
.app .reste { background: var(--champ); color: var(--encre-2); font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.app .barre { height: 6px; border-radius: 999px; background: var(--champ); overflow: hidden; }
.app .barre i { display: block; height: 100%; background: var(--corail); border-radius: 999px; }
.app .titre-ligne { display: flex; justify-content: space-between; align-items: center; }

/* Dépenses */
.app .dep { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--filet); }
.app .dep:first-of-type { border-top: 0; }
.app .dep .ico { width: 44px; height: 44px; border-radius: 50%; background: var(--piste); display: grid; place-items: center; color: var(--nuit); font-size: 20px; }
.app .dep .ico.vert { background: #CFE3D8; }
.app .dep .ico.bleu { background: #DCEBF3; }
.app .dep b { font-weight: 600; font-size: 15.5px; display: block; }
.app .dep small { font-size: 12.5px; color: var(--encre-2); }
.app .dep .m { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.app .jour { font-size: 15px; color: var(--nuit); border-bottom: 2px solid var(--nuit); padding-bottom: 6px; margin-top: 6px; }
.app .on-doit { display: flex; justify-content: space-between; align-items: end; border-top: 1px solid var(--filet); padding-top: 14px; margin-top: 4px; }
.app .on-doit .v { font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.app .rouge { color: var(--danger); }

/* Coffre / galerie */
.app .recherche { background: #fff; border-radius: 999px; height: 50px; padding: 0 18px; display: flex; align-items: center; gap: 10px; color: var(--muet); font-size: 15px; }
.app .reservation { display: grid; gap: 12px; }
.app .reservation .titre { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; text-transform: uppercase; }
.app .reservation .titre .ico { width: 38px; height: 38px; border-radius: 50%; background: #E9ECF4; display: grid; place-items: center; color: #4A5A9B; font-size: 19px; }
.app .reservation h6 { margin: 0; font-size: 20px; font-weight: 700; }
.app .reservation .sous { font-size: 14px; color: var(--encre-2); }
.app .arrdep { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--filet); padding-top: 12px; font-size: 15px; font-weight: 700; }
.app .arrdep small { display: block; font-size: 11.5px; font-weight: 500; color: var(--encre-2); letter-spacing: .04em; text-transform: uppercase; }
.app .puces { display: flex; flex-wrap: wrap; gap: 8px; }
.app .puces span { background: #fff; border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 500; color: var(--encre-2); }
.app .puces .on { background: var(--nuit); color: #fff; }
.app .jour-photo { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; color: var(--encre); }
.app .jour-photo::before { content: ""; width: 5px; height: 26px; border-radius: 4px; background: #29667F; }
.app .tuiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.app .tuile { aspect-ratio: .78; border-radius: 20px; position: relative; overflow: hidden; }
.app .tuile .qui { position: absolute; right: 8px; bottom: 8px; width: 24px; height: 24px; border-radius: 50%; background: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; color: var(--encre-2); }
.app .tuile .coeur { position: absolute; left: 8px; bottom: 8px; background: rgba(1,63,81,.75); color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.app .btn-ajout { background: #E5EDF1; color: var(--nuit); text-align: center; font-weight: 600; height: 48px; border-radius: 999px; display: grid; place-items: center; font-size: 15px; }

/* Barre du bas */
.app .navbas { background: #fff; display: grid; grid-template-columns: 1.15fr 1.25fr 1.1fr .9fr; gap: 4px; padding: 10px 10px 16px; font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muet); text-align: center; }
.app .navbas div { display: grid; justify-items: center; gap: 4px; padding: 8px 0 7px; border-radius: 12px; font-size: 9.5px; }
.app .navbas .on { background: var(--nuit); color: #fff; }
.app .navbas svg.i { font-size: 22px; }

/* Panneau d'écran dans les étapes */
.ecran-panneau { background: var(--nuit); border-radius: 24px; padding: 20px; display: grid; justify-items: center; min-width: 0; overflow: hidden; }
.ecran-panneau .app { width: 100%; max-width: 380px; display: grid; gap: 12px; }
.ecran-panneau .app .carte, .ecran-panneau .app .vote-ligne { box-shadow: 0 1px 0 rgba(0,0,0,.03); }
.ecran-panneau .feuille { margin-top: 0; border-radius: 22px; padding: 14px; }
.ecran-panneau .app .photo-carte { aspect-ratio: 1 / .8; }

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(48px, 8vw, 96px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(40px, 6.4vw, 74px); font-weight: 800; color: var(--nuit); }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--braise) 62% 92%, transparent 92%); }
.hero p.lead { margin-top: 22px; font-size: clamp(18px, 2vw, 21px); color: var(--encre-2); max-width: 34em; }
.cta-ligne { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.mention { margin-top: 16px; font-size: 14px; color: var(--encre-2); }
.mention b { color: var(--encre); }
.scene-tel { position: relative; display: flex; justify-content: center; padding: 8px 0; min-width: 0; }
.tel { width: min(310px, 100%); aspect-ratio: 9 / 19; border-radius: 44px; border: 9px solid #12222A; background: var(--nuit); overflow: hidden; position: relative; box-shadow: 0 40px 70px -28px rgba(1,63,81,.6); }
.tel::after { content: ""; position: absolute; top: 9px; left: 50%; width: 11px; height: 11px; margin-left: -5px; background: #12222A; border-radius: 50%; z-index: 5; }
.tel .zone { position: absolute; inset: 0 0 0 0; overflow: hidden; }
.tel .app { width: 390px; transform-origin: top left; transform: scale(var(--s, .74)); position: absolute; top: 0; left: 0; }
.defile { animation: defile 22s ease-in-out infinite alternate; will-change: transform; }
@keyframes defile { 0%, 8% { transform: scale(var(--s, .74)) translateY(0); } 92%, 100% { transform: scale(var(--s, .74)) translateY(var(--dist, -520px)); } }
.tel .navfixe { position: absolute; left: 0; right: 0; bottom: 0; }
.tel .navfixe .app { position: relative; top: auto; left: auto; transform-origin: bottom left; box-shadow: 0 -6px 18px -10px rgba(0,0,0,.3); }
.hero-photo { height: 188px; position: relative; overflow: hidden; background: var(--nuit); }
.hero-photo .scene { position: absolute; inset: 0; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1,63,81,.15), rgba(1,63,81,.7)); }
.hero-photo > * { position: relative; z-index: 2; }
.hero-photo .contenu { padding: 14px 18px; display: grid; gap: 12px; height: 100%; align-content: space-between; color: #fff; }
.hero-photo h4 { color: #fff; font-size: 30px; }
.hero-photo .pied { display: flex; align-items: center; justify-content: space-between; }
.btn-gerer { background: #fff; color: var(--encre); border-radius: 999px; height: 40px; padding: 0 16px; display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; }
.flottant { position: absolute; background: var(--feuille); border-radius: 18px; padding: 12px 15px; box-shadow: 0 16px 36px -12px rgba(44,52,55,.35); font-size: 13px; line-height: 1.35; max-width: 190px; z-index: 6; }
@media (max-width: 1100px) { .f-match { left: -16px; } .f-pass { right: -16px; } }
.flottant b { display: block; font-size: 14px; }
.f-match { left: -120px; top: 40%; border-left: 5px solid var(--succes); }
.f-pass { right: -84px; bottom: 14%; background: var(--pass-fond); color: var(--pass-texte); border: 1.5px solid var(--pass-bord); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .flottant { display: none; } }

/* Bande */
.bande { background: var(--nuit); color: #fff; padding-block: 28px; }
.bande ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bande li { font-weight: 600; font-size: 15px; display: flex; gap: 10px; align-items: baseline; }
.bande li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--braise); flex: none; transform: translateY(-1px); }
@media (max-width: 860px) { .bande ul { grid-template-columns: 1fr 1fr; } }

.entete { max-width: 700px; display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); }
.entete h2 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; color: var(--nuit); }
.entete p { color: var(--encre-2); font-size: 18px; }

/* Parcours */
.parcours { display: grid; gap: clamp(20px, 3vw, 28px); }
.etape { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; background: var(--feuille); border-radius: 28px; padding: clamp(22px, 4vw, 44px); }
.etape:nth-child(even) .texte { order: 2; }
.etape .texte { display: grid; gap: 14px; min-width: 0; }
.etape h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; color: var(--nuit); }
.etape p { color: var(--encre-2); }
.etape ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15.5px; }
.etape li { display: flex; gap: 10px; }
.etape li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--succes-fond) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.5 2.5L13 6.5' fill='none' stroke='%2321764A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
@media (max-width: 860px) { .etape { grid-template-columns: 1fr; } .etape:nth-child(even) .texte { order: 0; } }

/* Nouveautés */
.nouveautes { background: var(--feuille); }
.grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.carte-n { background: var(--papier); border-radius: 24px; padding: 24px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.carte-n h3 { font-size: 19px; font-weight: 800; color: var(--nuit); letter-spacing: -0.02em; }
.carte-n p { font-size: 15.5px; color: var(--encre-2); }
.carte-n .tete { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.puce-ico { width: 48px; height: 48px; border-radius: 16px; background: var(--nuit); color: var(--braise); display: grid; place-items: center; font-size: 24px; }
.carte-n.pass { background: var(--pass-fond); }
.carte-n.pass h3 { color: var(--pass-texte); }
.carte-n.pass .puce-ico { background: var(--pass); color: #fff; }
.tag { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.tag-ok { background: var(--succes-fond); color: var(--succes); }
.tag-pass { background: #fff; color: var(--pass-texte); }
.mini { background: #fff; border-radius: 16px; padding: 12px; display: grid; gap: 8px; font-size: 13px; line-height: 1.3; }
.mini .l { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mini .l span:first-child { color: var(--encre-2); }
.mini .l b { font-weight: 700; font-variant-numeric: tabular-nums; }
.mini .ok { color: var(--succes); font-weight: 700; display: flex; align-items: center; gap: 4px; }
.mini .capture svg { font-size: 18px; }
.mini .capture { background: var(--champ); border-radius: 10px; padding: 8px 10px; display: flex; align-items: center; gap: 8px; color: var(--encre-2); font-weight: 600; }
.mini .notif { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; }
.mini .notif .p { width: 34px; height: 34px; border-radius: 10px; background: var(--nuit); color: #fff; display: grid; place-items: center; font-size: 18px; }
.mini .av { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--pass-fond); color: var(--pass-texte); font-size: 10px; font-weight: 700; margin-right: 6px; }
@media (max-width: 960px) { .grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grille { grid-template-columns: 1fr; } }

/* Pass */
.pass-sec { background: var(--pass); color: #fff; }
.pass-sec .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 72px); align-items: center; }
.pass-sec h2 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; }
.pass-sec .eyebrow { color: #D9D5FF; }
.pass-sec p.lead { margin-top: 16px; font-size: 18px; color: #E6E3FF; max-width: 30em; }
.pass-liste { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.pass-liste li { display: grid; grid-template-columns: 8px 1fr; gap: 12px; font-size: 16px; }
.pass-liste li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #D9D5FF; margin-top: 9px; }
.pass-liste span { color: #E6E3FF; }
.pass-note { margin-top: 22px; font-size: 14.5px; color: #D9D5FF; }
.ecran-pass { background: var(--papier); border-radius: 30px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(20,12,80,.7), 0 0 0 3px rgba(255,255,255,.28); max-width: 390px; width: 100%; justify-self: center; }
.ecran-pass .entete-pass { background: var(--pass); color: #fff; padding: 22px 24px 52px; display: grid; gap: 8px; }
.ecran-pass .retour-rond { width: 40px; height: 40px; border-radius: 50%; background: #B7B1E6; color: var(--encre); display: grid; place-items: center; font-size: 20px; margin-bottom: 8px; }
.ecran-pass h4 { font-size: 26px; line-height: 32px; text-transform: none; letter-spacing: 0; color: #fff; }
.ecran-pass .sous-t { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.85); }
.ecran-pass .corps-pass { background: var(--papier); border-radius: 24px 24px 0 0; margin-top: -24px; padding: 24px 16px 24px; display: grid; gap: 14px; position: relative; }
.ecran-pass .carte-av { background: #fff; border-radius: 22px; padding: 20px; display: grid; gap: 16px; }
.ecran-pass .petit { font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--encre-2); }
.ecran-pass .av-pass { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.ecran-pass .av-pass .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--pass-fond); color: var(--pass-texte); display: grid; place-items: center; font-size: 20px; }
.ecran-pass .av-pass b { display: block; font-size: 14px; font-weight: 700; color: var(--encre); }
.ecran-pass .av-pass small { display: block; font-size: 12px; color: var(--encre-2); line-height: 1.4; margin-top: 2px; }
.ecran-pass .formule { display: grid; grid-template-columns: 20px 1fr auto; gap: 16px; align-items: center; min-height: 72px; padding: 14px 16px; border-radius: 16px; border: 2px solid var(--filet); background: #fff; }
.ecran-pass .formule.sel { border-color: var(--pass); background: var(--pass-fond); }
.ecran-pass .formule .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #A2A0A0; }
.ecran-pass .formule.sel .radio { border-color: var(--pass); background: radial-gradient(circle, var(--pass) 0 42%, transparent 46%); }
.ecran-pass .f-txt b { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 16px; font-weight: 700; }
.ecran-pass .f-txt b i { font-style: normal; font-size: 12px; background: var(--pass-fond); color: var(--pass-texte); padding: 2px 8px; border-radius: 999px; }
.ecran-pass .f-txt small { display: block; font-size: 12px; font-weight: 500; color: var(--encre-2); margin-top: 2px; line-height: 1.35; }
.ecran-pass .f-prix { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ecran-pass .btn-pass { background: var(--pass); color: #fff; height: 56px; border-radius: 999px; display: grid; place-items: center; font-weight: 700; font-size: 16px; margin-top: 4px; }
.ecran-pass .mentions { text-align: center; font-size: 12px; color: var(--encre-2); line-height: 1.5; }
.ecran-pass .liens-p { display: flex; justify-content: center; gap: 22px; font-size: 13px; font-weight: 600; color: var(--nuit); text-decoration: underline; text-underline-offset: 3px; flex-wrap: wrap; }
@media (max-width: 860px) { .pass-sec .wrap { grid-template-columns: 1fr; } }

/* Confiance, FAQ, final */
.confiance { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.confiance div { display: grid; gap: 6px; align-content: start; border-top: 3px solid var(--nuit); padding-top: 16px; }
.confiance b { font-size: 17px; color: var(--nuit); }
.confiance p { font-size: 15px; color: var(--encre-2); }
@media (max-width: 860px) { .confiance { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .confiance { grid-template-columns: 1fr; } }
.faq { max-width: 780px; display: grid; gap: 10px; }
details { background: var(--feuille); border-radius: 18px; }
summary { list-style: none; cursor: pointer; padding: 18px 22px; min-height: 56px; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--nuit); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 24px; font-weight: 500; line-height: 1; flex: none; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 22px 20px; color: var(--encre-2); font-size: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } summary::after { transition: none; } .defile { animation: none; } }

/* ============ Remplace les styles inline (CSP : style-src 'self') ============ */
.sprite { position: absolute; }
.logo { color: var(--nuit); min-height: 44px; }
.hero h1 { margin-top: 16px; }
.pass-sec h2, .final h2 { margin-top: 14px; }
.sans-haut { padding-top: 0; }
.autres { font-size: 13.5px; color: var(--encre-2); }
.gris { color: var(--encre-2); }
.a-droite { text-align: right; }
.a-droite.v, .v.rouge { justify-content: flex-end; }
.titre-bloc { margin-top: 6px; }
.carte-dates { gap: 12px; }
.feuille-hero { margin-top: -18px; padding-bottom: 110px; }
.fab-sm { width: 44px; height: 44px; font-size: 22px; }
.gros-l { font-size: 36px; }
.filet-nuit { border-top: 2px solid var(--nuit); }
.pied { margin-top: 12px; }
.app .av-plus { background: var(--braise); }
.i-soleil { font-size: 64px; color: #F7C98B; stroke-width: 1.2; }
.app .recherche svg { font-size: 20px; }
.p46 { width: 46%; } .p75 { width: 75%; } .p100 { width: 100%; }
svg.i .plein, svg .plein { fill: currentColor; stroke: none; }
.btn-store svg.i { font-size: 21px; }
.btn-clair { background: var(--braise); color: var(--nuit); }
.btn:hover { transform: translateY(-1px); }
.btn { transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
.btn-plein:hover { box-shadow: 0 10px 22px -10px rgba(1,63,81,.7); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 40; background: var(--nuit); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* Menu au scroll */
.site-nav { transition: box-shadow .25s ease; }
.site-nav.is-scrolled { box-shadow: 0 10px 26px -20px rgba(1,63,81,.55); }

/* Logo : la flamme vit doucement */
.flamme { transform-box: fill-box; transform-origin: 50% 100%; animation: flamme 3.2s ease-in-out infinite; }
@keyframes flamme { 0%, 100% { transform: scale(1) rotate(0); } 35% { transform: scale(1.04, .97) rotate(-1.5deg); } 70% { transform: scale(.97, 1.04) rotate(1.5deg); } }

/* Hero : entrée orchestrée */
.hero-texte > * { animation: monte .7s cubic-bezier(.2,.7,.2,1) both; }
.hero-texte > :nth-child(2) { animation-delay: .08s; }
.hero-texte > :nth-child(3) { animation-delay: .16s; }
.hero-texte > :nth-child(4) { animation-delay: .24s; }
.hero-texte > :nth-child(5) { animation-delay: .32s; }
.tel { animation: arrive .9s cubic-bezier(.2,.7,.2,1) both .1s; }
.hero h1 em { background-size: 0% 100%; background-repeat: no-repeat; animation: surligne .8s ease-out .7s forwards; }
.flottant { animation: bulle .55s cubic-bezier(.2,1.3,.4,1) both, flotte 6s ease-in-out infinite; }
.f-match { animation-delay: 1.2s, 1.8s; }
.f-pass { animation-delay: 1.9s, 2.5s; }
.tel.en-pause .defile { animation-play-state: paused; }
@keyframes monte { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes arrive { from { opacity: 0; transform: translateY(34px) rotate(1.5deg); } to { opacity: 1; transform: none; } }
@keyframes surligne { to { background-size: 100% 100%; } }
@keyframes bulle { from { opacity: 0; transform: scale(.7) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes flotte { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }

/* Apparition au scroll : uniquement si le JavaScript a pris la main */
.anim .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease var(--d, 0ms), transform .6s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
.anim .reveal.is-in { opacity: 1; transform: none; }

/* Séquences déclenchées par l'apparition */
.anim .mini-sequence > * { opacity: 0; transform: translateX(-8px); transition: opacity .4s ease, transform .4s ease; }
.anim .is-in .mini-sequence > * { opacity: 1; transform: none; }
.anim .is-in .mini-sequence > :nth-child(1) { transition-delay: .25s; }
.anim .is-in .mini-sequence > :nth-child(2) { transition-delay: .55s; }
.anim .is-in .mini-sequence > :nth-child(3) { transition-delay: .85s; }
.anim .is-in .mini-sequence > :nth-child(4) { transition-delay: 1.15s; }
.app .piste-vote i { transition: width .6s cubic-bezier(.2,.7,.2,1); }
.anim .reveal:not(.is-in) .piste-vote i { width: 0; }
.anim .bulle { opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .4s ease, transform .4s ease; }
.anim .is-in .bulle { opacity: 1; transform: none; }
.anim .is-in .bulle.gauche { transition-delay: .2s; }
.anim .is-in .bulle.droite { transition-delay: .55s; }

/* Douleur (dans la continuité de la bande) */
.bande { padding-block: 28px 0; }
.douleur { background: var(--nuit); color: #fff; }
.douleur .entete h2 { color: #fff; }
.douleur .entete p { color: var(--braise); }
.grille-douleur { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.carte-douleur { background: rgba(255,255,255,.06); border-radius: 24px; padding: 22px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.bulles { display: grid; gap: 8px; margin-bottom: 8px; }
.bulle { font-size: 14px; padding: 9px 14px; border-radius: 18px; max-width: 85%; line-height: 1.3; }
.bulle.gauche { background: rgba(255,255,255,.14); justify-self: start; border-bottom-left-radius: 6px; }
.bulle.droite { background: var(--braise); color: var(--nuit); justify-self: end; border-bottom-right-radius: 6px; font-weight: 600; }
.ligne-d { font-size: 19px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.chute { color: var(--braise); font-size: 15.5px; }
@media (max-width: 860px) { .grille-douleur { grid-template-columns: 1fr; } }

/* Parcours : hauteur stable du panneau de vote */
.ecran-panneau .photo-logement { aspect-ratio: 1 / .86; }
.ecran-panneau .app .photo-carte { overflow: hidden; }

/* Vote d'essai */
.app button.btn-voter { border: 0; font-family: var(--font); cursor: pointer; transition: background-color .2s ease, color .2s ease, transform .15s ease; }
.app button.btn-voter:active { transform: scale(.97); }
.app button.btn-voter[aria-pressed="true"] { background: var(--succes); color: #fff; }
.app button.btn-voter:not([aria-pressed="true"]) { animation: appel 2.4s ease-in-out infinite; }
@keyframes appel { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 60% { box-shadow: 0 0 0 9px rgba(255,255,255,0); } }
.essaie { color: var(--braise); font-size: 13.5px; font-weight: 600; text-align: center; min-height: 1.4em; }
.etiquette-match { position: absolute; top: 58px; left: 14px; z-index: 2; background: var(--succes); color: #fff; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; opacity: 0; transform: scale(.6); transition: opacity .25s ease, transform .35s cubic-bezier(.2,1.5,.4,1); }
.est-match .etiquette-match { opacity: 1; transform: none; }
.app .av-moi { background: var(--braise); color: var(--nuit); animation: bulle .35s ease both; }
.etincelle { position: absolute; left: 50%; top: 58%; width: 8px; height: 8px; border-radius: 3px; background: var(--braise); z-index: 3; pointer-events: none; animation: jaillit .8s ease-out forwards; }
.etincelle:nth-child(3n) { background: var(--corail); }
.etincelle:nth-child(4n) { background: #fff; }
@keyframes jaillit { from { opacity: 1; transform: translate(0, 0) scale(1); } to { opacity: 0; transform: translate(var(--x), var(--y)) scale(.4) rotate(160deg); } }

/* Formules du Pass : vrais boutons radio */
.formules { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
.formules legend { padding: 0; margin-bottom: 10px; }
.ecran-pass .formule { cursor: pointer; position: relative; transition: border-color .2s ease, background-color .2s ease; }
.ecran-pass .formule input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer; }
.ecran-pass .formule:has(input:checked) { border-color: var(--pass); background: var(--pass-fond); }
.ecran-pass .formule:has(input:checked) .radio { border-color: var(--pass); background: radial-gradient(circle, var(--pass) 0 42%, transparent 46%); }
.ecran-pass .formule:has(input:focus-visible) { outline: 3px solid var(--braise); outline-offset: 2px; }
.ecran-pass .formule.sel { border-color: var(--filet); background: #fff; }
.pass-sec h2 { color: #fff; }

/* Téléchargement et liste d'attente */
.final { background: var(--nuit); color: #fff; }
.final > .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 6vw, 72px); align-items: center; }
.final h2 { font-size: clamp(34px, 5.4vw, 62px); font-weight: 800; color: #fff; }
.final .eyebrow { color: var(--braise); }
.final-texte { margin-top: 16px; color: #C9DDE5; font-size: 18px; max-width: 30em; }
.contact { margin-top: 18px; font-size: 14.5px; color: #C9DDE5; }
.contact span { color: #fff; font-weight: 600; user-select: all; }
.form-card { background: var(--feuille); color: var(--encre); border-radius: 26px; padding: clamp(20px, 3vw, 28px); min-width: 0; scroll-margin-top: 90px; }
.state-form, .state-success { display: grid; gap: 12px; }
.state-success:focus { outline: none; }
.form-titre { font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: var(--nuit); }
.label { font-size: 14px; font-weight: 600; }
.input { width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 2px solid var(--champ); background: var(--champ); font: 500 16px var(--font); color: var(--encre); }
.input:focus { outline: none; border-color: var(--nuit); background: #fff; }
.input[aria-invalid="true"] { border-color: var(--danger); }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 13.5px; color: var(--encre-2); line-height: 1.45; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--nuit); }
.consent a { color: var(--nuit); font-weight: 600; }
.consent.is-invalid { color: var(--danger); }
.btn-submit { width: 100%; position: relative; }
.btn-submit:disabled { opacity: .8; cursor: progress; transform: none; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: tourne .7s linear infinite; }
.is-loading .spinner { display: block; }
@keyframes tourne { to { transform: rotate(360deg); } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { font-size: 14px; font-weight: 600; color: var(--danger); }
.msg:empty { display: none; }
.success-title { font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--nuit); }
.success-text { color: var(--encre-2); }
.share-feedback { font-size: 14px; color: var(--succes); font-weight: 600; word-break: break-all; }
.share-feedback:empty { display: none; }
@media (max-width: 860px) { .final > .wrap { grid-template-columns: 1fr; } }

/* Pied de page */
.pied-site { background: var(--nuit); color: #9DBBC6; font-size: 14px; padding-block: 24px max(28px, env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(169,226,255,.18); }
.pied-site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.pied-site a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.pied-site a:hover { color: #fff; }
.pied-site nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }

/* Barre de téléchargement sur téléphone */
.barre-mobile { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: none; gap: 10px; padding: 10px max(16px, env(safe-area-inset-right, 0px)) max(10px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: color-mix(in srgb, var(--papier) 92%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--filet); }
.barre-mobile .btn { flex: 1; }
@media (max-width: 760px) { .barre-mobile:not([hidden]) { display: flex; } .site-nav .btn { min-height: 44px; padding: 0 18px; } }

/* Pages légales (confidentialite.html) */
.dark { background: var(--nuit); color: #fff; }
.narrow { max-width: 760px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.wordmark { font-family: "Bricolage Grotesque", var(--font); font-weight: 800; font-size: 28px; letter-spacing: -.5px; line-height: 1; }
.nav-cta { background: var(--braise); color: var(--nuit); font-weight: 700; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; text-decoration: none; }
.legal { padding-top: 56px; padding-bottom: 88px; }
.legal h1 { color: var(--nuit); font-size: clamp(32px, 5vw, 44px); }
.legal .updated { margin-top: 8px; color: var(--encre-2); font-size: 14px; }
.legal h2 { margin-top: 36px; font-size: 20px; font-weight: 800; color: var(--nuit); }
.legal p { margin-top: 10px; line-height: 1.65; }
.legal a { color: var(--nuit); font-weight: 700; }
.legal .back { margin-top: 48px; }
.footer { background: var(--nuit); color: #9DBBC6; padding: 32px 0; font-size: 14px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }
.footer .wordmark { font-size: 22px; color: #fff; }

/* Mouvement réduit : tout est visible, rien ne bouge */
@media (prefers-reduced-motion: reduce) {
  .flamme, .hero-texte > *, .tel, .flottant, .app button.btn-voter, .app .av-moi { animation: none; }
  .hero h1 em { animation: none; background-size: 100% 100%; }
  .btn, .site-nav { transition: none; }
}

/* Toujours respecter l'attribut hidden, même sur un élément en grid ou flex */
[hidden] { display: none !important; }

/* Texte lisible sur les photos */
.app .photo-carte::before { background: linear-gradient(180deg, rgba(1,63,81,.08) 25%, rgba(1,63,81,.6) 58%, rgba(1,63,81,.92) 100%); }
.hero-photo::after { background: linear-gradient(180deg, rgba(1,63,81,.3), rgba(1,63,81,.82)); }

/* Bulles du hero : à cheval sur le bord du téléphone, sans cacher le texte de la page */
.f-match { left: -84px; top: 66%; }
.f-pass { right: -84px; top: 20%; bottom: auto; }
@media (max-width: 1180px) { .f-match { left: -16px; } .f-pass { right: -16px; } }
@media (max-width: 860px) { .f-match { left: max(0px, calc(50% - 250px)); } .f-pass { right: max(0px, calc(50% - 250px)); } }

/* Pas de point de caméra : il mordrait sur le nom du voyage */
.tel::after { content: none; }

/* Carte Android : avant-première sur demande */
.carte-android { margin-top: 8px; color: var(--encre-2); }
.btn-pleine { width: 100%; margin-top: 16px; }
.contact-android { margin-top: 12px; text-align: center; font-size: 14.5px; font-weight: 600; color: var(--nuit); user-select: all; }
.mention a { color: var(--nuit); font-weight: 600; }
.cta-ligne .btn-contour svg .plein { fill: currentColor; }
.mention a { display: inline-block; padding-block: 13px; margin-block: -13px; }

/* App Store et Google Play côte à côte sur ordinateur */
@media (min-width: 1120px) { .hero .cta-ligne { flex-wrap: nowrap; gap: 10px; } .hero .cta-ligne .btn { padding: 0 17px; font-size: 15px; white-space: nowrap; } }

/* ============ Responsive ============
   ≥ 1440 : grand écran. 761–1119 : hero en deux colonnes resserrées, boutons empilés.
   ≤ 760 : une colonne, carrousels. ≤ 720 : étapes sans carte. ≤ 520 : maquettes allégées. */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
.hero-texte, .scene-tel { min-width: 0; }

/* Les maquettes s'adaptent à la place qu'elles ont, pas à la largeur de l'écran */
.ecran-panneau .app { container-type: inline-size; }
@container (max-width: 345px) {
  .app .periode { grid-template-columns: 26px 1fr; padding: 12px 14px; }
  .app .periode .avs { display: none; }
  .app .periode b { font-size: 17px; }
  .app .segment { font-size: 11px; letter-spacing: 0; }
  .app .ligne-titre { font-size: 14px; }
  .app .carte { padding: 15px; }
  .app .on-doit .v { font-size: 18px; }
  .app .on-doit .avs { display: none; }
  .app .gros { font-size: 28px; }
  .app .arrdep { font-size: 14px; }
}

/* Les étapes gardent deux colonnes tant que la maquette tient */
.etape { grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); }
.etape:nth-child(even) { grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); }
.ecran-panneau { width: 100%; }
@media (max-width: 860px) {
  .etape { grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); padding: 26px; gap: 28px; }
  .etape:nth-child(even) { grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); }
  .etape:nth-child(even) .texte { order: 2; }
}

/* Survol uniquement là où il existe : pas de bouton figé après un toucher */
@media (hover: none) { .btn:hover { transform: none; box-shadow: none; } }

/* Hero : le téléphone garde sa taille, le texte s'adapte */
@media (min-width: 761px) and (max-width: 1119px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(270px, 310px); gap: 40px; }
  .hero h1 { font-size: clamp(44px, 6.200vw, 66px); }
  .hero .cta-ligne { flex-direction: column; align-items: flex-start; }
  .f-match { left: -44px; } .f-pass { right: -12px; }
}

/* Grand écran */
@media (min-width: 1440px) {
  .wrap { max-width: 1260px; }
  .hero h1 { font-size: 84px; }
  .tel { width: 340px; }
  .etape { grid-template-columns: minmax(0, 1fr) 440px; }
  .etape:nth-child(even) { grid-template-columns: 440px minmax(0, 1fr); }
}

/* Téléphone à l'horizontale : tout tient sans écran vide */
@media (orientation: landscape) and (max-height: 520px) {
  .site-nav { position: static; }
  html { scroll-padding-top: 16px; }
  .hero { padding-block: 24px 32px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr) 220px; gap: 32px; }
  .hero h1 { font-size: clamp(32px, 5vw, 44px); }
  .hero p.lead { margin-top: 12px; font-size: 16px; }
  .cta-ligne { margin-top: 18px; }
  .tel { width: 200px; border-width: 6px; border-radius: 30px; }
  .flottant { display: none; }
}

@media (max-width: 760px) {
  section { padding-block: 52px; }
  .sans-haut { padding-top: 0; }
  .site-nav .wrap { height: 58px; }
  html { scroll-padding-top: 70px; }

  .hero { padding-block: 28px 44px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hero h1 { font-size: clamp(36px, 10.600vw, 68px); }
  .hero p.lead { margin-top: 16px; font-size: 17px; }
  .cta-ligne { margin-top: 24px; }
  .tel { width: min(280px, 76vw); }
  .f-match { left: max(0px, calc(50% - 235px)); }
  .f-pass { right: max(0px, calc(50% - 235px)); }
  .entete { margin-bottom: 26px; gap: 10px; }
  .entete p { font-size: 16.500px; }

  /* Carrousels : pleine largeur, la carte suivante dépasse pour inviter à glisser */
  .carrousel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; margin-inline: calc(-1 * max(20px, env(safe-area-inset-left, 0px))); padding-inline: max(20px, env(safe-area-inset-left, 0px)); scroll-padding-inline: max(20px, env(safe-area-inset-left, 0px)); padding-block: 2px; }
  .carrousel::-webkit-scrollbar { display: none; }
  .carrousel > * { flex: 0 0 min(82%, 320px); scroll-snap-align: start; }
  .anim .carrousel > .reveal { opacity: 1; transform: none; transition: none; }
  .progression { display: block; height: 4px; margin-top: 16px; border-radius: 999px; background: var(--filet); overflow: hidden; }
  .progression i { display: block; height: 100%; width: calc(var(--taille, .3) * 100%); margin-left: calc(var(--pos, 0) * (100% - var(--taille, .3) * 100%)); border-radius: 999px; background: var(--nuit); }
  .douleur .progression { background: rgba(255,255,255,.16); }
  .douleur .progression i { background: var(--braise); }

  .pass-sec .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .ecran-pass .carte-av { display: none; }
  .ecran-pass .entete-pass { padding: 18px 20px 42px; }
  .ecran-pass { max-width: 420px; }
  .final > .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .grille-douleur .ligne-d { font-size: 18px; }
}
@media (min-width: 761px) { .progression { display: none; } }

@media (max-width: 720px) {
  .parcours { gap: 44px; }
  .etape, .etape:nth-child(even) { grid-template-columns: minmax(0, 1fr); background: none; padding: 0; gap: 18px; border-radius: 0; }
  .etape:nth-child(even) .texte { order: 0; }
  .ecran-panneau { padding: 14px; border-radius: 22px; }
  .ecran-panneau .app { max-width: 420px; }
  .ecran-panneau .feuille { padding: 12px; }
}

@media (max-width: 520px) {
  .masque-tel { display: none !important; }
  .hero .cta-ligne { flex-direction: column; }
  .hero .cta-ligne .btn, .final .cta-ligne .btn { width: 100%; }
  .bande { padding-top: 22px; }
  .bande ul { gap: 12px 16px; }
  .bande li { font-size: 14px; }
  .etape ul { font-size: 15px; }
  .ecran-panneau .tuiles .tuile { aspect-ratio: 1; }
  .confiance { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .confiance b { font-size: 16px; }
  .confiance p { font-size: 14px; }
  .final h2 { font-size: clamp(34px, 10.600vw, 46px); }
  .pied-site { padding-bottom: max(28px, env(safe-area-inset-bottom, 0px)); }
  .pied-site nav { display: grid; gap: 0; }
}

@media (max-width: 350px) {
  .site-nav .btn { padding: 0 14px; font-size: 14.500px; }
  .logo .mot { font-size: 23px; }
  .btn { font-size: 14.500px; padding: 0 14px; }
  .confiance { grid-template-columns: minmax(0, 1fr); }
  .ecran-panneau { padding: 10px; }
}

/* Ajustements issus de la revue visuelle */
.etape .essaie { color: var(--braise); }
@container (max-width: 380px) {
  .app .periode { grid-template-columns: 26px 1fr; }
  .app .periode .avs { display: none; }
  .app .dep { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; }
  .app .dep .ico { width: 36px; height: 36px; font-size: 17px; }
  .app .dep b { font-size: 14.5px; overflow-wrap: anywhere; }
  .app .dep .m { font-size: 14.5px; }
}
@media (min-width: 761px) and (max-width: 1119px) { .flottant { display: none; } }
@media (max-width: 520px) {
  .pied-site .wrap { flex-direction: column; align-items: flex-start; gap: 4px; }
  .pied-site nav { width: 100%; }
}
