/*
 * La page d'accueil publique — docs/superpowers/specs/2026-10-05-page-publique-design.md.
 *
 * Servie telle quelle depuis public/, sans Vite : la page n'a besoin ni de Tailwind ni d'un
 * bundler, et un `npm run build` oublié au déploiement la casserait.
 */

/* La police des applications, servie par le site : un visiteur n'a pas à être signalé à un
   tiers pour lire une page d'accueil. */
@font-face { font-family: 'Jakarta'; src: url('../fonts/jakarta_regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('../fonts/jakarta_medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('../fonts/jakarta_semibold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('../fonts/jakarta_bold.ttf') format('truetype'); font-weight: 700 800; font-display: swap; }

:root {
    /* La charte des applications : les deux verts et les ors sont ceux de la marque. */
    --night: #062E21; --night-2: #031A12; --night-3: #0A3D2C;
    --brand-700: #085038; --brand-600: #107050; --brand-100: #C9E9D7; --brand-50: #EAF6EF;
    --gold-500: #C8A860; --gold-700: #806019; --gold-100: #F4ECD8;
    --canvas: #FBF7F0; --ink: #1B2B24; --ink-subtle: #5A6B63; --line: #E4DDD1;
    --r-lg: 28px; --r-md: 20px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Jakarta', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--ink); background: var(--canvas); -webkit-font-smoothing: antialiased; line-height: 1.55; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1200px, 100% - 40px); margin: 0 auto; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.04; letter-spacing: -.04em; margin: .6rem 0 1rem; color: var(--night); font-weight: 700; text-wrap: balance; }
h2 em { font-style: normal; color: var(--brand-600); }
h3 { line-height: 1.2; }
.lead { font-size: 1.15rem; color: var(--ink-subtle); max-width: 36rem; margin: 0; }

.btn { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1rem; padding: 1rem 1.6rem; border-radius: 999px; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold-500); color: var(--night); box-shadow: 0 10px 30px rgba(200, 168, 96, .35); }
.btn-green { background: var(--brand-700); color: #fff; box-shadow: 0 10px 30px rgba(8, 80, 56, .25); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }

.phone { border-radius: 38px; border: 9px solid #0B1712; overflow: hidden; background: #0B1712; box-shadow: 0 40px 80px rgba(3, 26, 18, .35); }
.phone img { width: 100%; height: auto; }

/* Apparition au défilement — seulement quand le script est là : sans lui, tout reste visible. */
.js .r { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .r.vu { opacity: 1; transform: none; }
.js .r.d1 { transition-delay: .1s } .js .r.d2 { transition-delay: .2s } .js .r.d3 { transition-delay: .3s }

@keyframes halo { 0% { opacity: .8; transform: scale(.5); } 100% { opacity: 0; transform: scale(2.6); } }
@keyframes flotte2 { 50% { transform: translateY(-10px); } }
@keyframes chiffre { 0%, 70%, 100% { background: rgba(255, 255, 255, .1); } 35% { background: rgba(200, 168, 96, .35); } }

/* ─── Navigation ──────────────────────────────────────────────────────── */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.plein { background: rgba(6, 46, 33, .88); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.nav .wrap { display: flex; align-items: center; gap: 1.6rem; height: 76px; color: #fff; }
.logo { display: flex; align-items: center; font-size: 1.55rem; font-weight: 700; letter-spacing: -.03em; margin-right: auto; }
/* La marque dessinée, puis « erena » collé dedans, comme dans les applications. */
.logo img { height: 1.75rem; width: auto; margin-right: -.1rem; filter: brightness(0) invert(1); }
.nav .liens { display: flex; gap: 1.5rem; font-size: .95rem; color: rgba(255, 255, 255, .78); font-weight: 600; }
.nav .liens a:hover { color: #fff; }
.nav .btn { padding: .75rem 1.3rem; font-size: .95rem; }
.langues { position: relative; }
.langues summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .3rem; font-size: .82rem; font-weight: 700; padding: .45rem .75rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); color: rgba(255, 255, 255, .9); text-transform: uppercase; }
.langues[open] summary svg { transform: rotate(180deg); }
.langues summary::-webkit-details-marker { display: none; }
.langues ul { position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: .4rem; list-style: none; border-radius: 14px; background: #fff; box-shadow: 0 20px 40px rgba(0, 0, 0, .25); min-width: 150px; }
.langues li a { display: block; padding: .55rem .8rem; border-radius: 10px; color: var(--ink); font-size: .92rem; font-weight: 600; }
.langues li a:hover, .langues li a[aria-current] { background: var(--brand-50); color: var(--brand-700); }

/* ─── La scène ────────────────────────────────────────────────────────── */
.hero { position: relative; min-height: 860px; padding: 150px 0 190px; background: radial-gradient(110% 80% at 78% 30%, #0F5C41 0%, var(--night) 42%, var(--night-2) 100%); color: #fff; overflow: hidden; }
.hero .carte { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
/* Une seule chose bouge sur la scène : la voiture qui roule vers le halo d'arrivée. Le
   téléphone, les bulles et le trajet restent immobiles, sinon rien ne se détache et le
   regard quitte le titre. */
.hero .route { stroke-dasharray: 12 10; }
.hero .halo { animation: halo 2s ease-out infinite; transform-origin: center; transform-box: fill-box; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 3rem; align-items: center; }
.hero .eyebrow { color: var(--gold-500); }
.hero h1 { font-size: clamp(2.8rem, 6.2vw, 5.4rem); line-height: .98; letter-spacing: -.05em; margin: 1rem 0 1.4rem; font-weight: 700; text-wrap: balance; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #E9CF8E, var(--gold-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: rgba(255, 255, 255, .74); font-size: 1.2rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2.2rem 0 1rem; }
.hero .android-badge { color: rgba(255, 255, 255, .62); }
.android-badge { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 600; color: var(--ink-subtle); }
.android-badge svg { flex: none; }
.confiance { display: flex; flex-wrap: wrap; gap: 1.2rem 2.8rem; margin: 3rem 0 0; padding: 0; list-style: none; color: rgba(255, 255, 255, .62); font-size: .9rem; }
.confiance b { display: block; color: #fff; font-size: 1.05rem; }
.scene { position: relative; height: 620px; }
.scene .phone { position: absolute; right: 70px; top: 10px; width: 300px; transform: perspective(1400px) rotateY(-16deg) rotateX(6deg) rotateZ(2deg); box-shadow: -40px 60px 90px rgba(0, 0, 0, .5), 0 0 140px rgba(200, 168, 96, .18); }
.bulle { position: absolute; display: flex; align-items: center; gap: .8rem; padding: .9rem 1.1rem; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 24px 50px rgba(0, 0, 0, .32); font-size: .88rem; }
.bulle b { display: block; font-size: 1.12rem; color: var(--brand-700); letter-spacing: -.02em; }
.bulle img { width: 42px; height: 42px; }
.bulle.b1 { left: -10px; top: 90px; }
.bulle.b2 { right: -10px; top: 420px; }
.bulle.b3 { left: 30px; top: 470px; }
/* Les bulles arrivent une fois, l'une après l'autre, quand le titre est lu. */
.js .bulle.r.b1 { transition-delay: .6s; } .js .bulle.r.b3 { transition-delay: .85s; } .js .bulle.r.b2 { transition-delay: 1.1s; }

/* ─── Trois portes ────────────────────────────────────────────────────── */
.portes { position: relative; z-index: 3; margin-top: -120px; }
.portes .grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.porte { position: relative; display: block; min-height: 330px; padding: 2rem; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 60px rgba(6, 46, 33, .16); transition: transform .35s var(--ease), box-shadow .35s; }
.porte:hover { transform: translateY(-8px); box-shadow: 0 40px 80px rgba(6, 46, 33, .22); }
.porte h3 { margin: 0; font-size: 2rem; letter-spacing: -.04em; }
.porte p { margin: .5rem 0 0; max-width: 15rem; font-size: 1rem; opacity: .8; }
.porte .lien { position: absolute; left: 2rem; bottom: 1.8rem; font-weight: 700; display: flex; align-items: center; gap: .5rem; }
.porte .lien span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: currentColor; }
.porte .lien svg { stroke: #fff; }
.porte .illus { position: absolute; transition: transform .5s var(--ease); }
.porte:hover .illus { transform: scale(1.06) rotate(-3deg); }
.porte--courses { background: #fff; color: var(--night); }
.porte--courses .lien { color: var(--brand-700); }
.porte--courses .illus { width: 330px; right: -60px; bottom: 50px; }
.porte--repas { background: linear-gradient(160deg, #E4C47E, var(--gold-500)); color: #2B1F05; }
.porte--repas .illus { width: 190px; right: -10px; bottom: 60px; }
.porte--colis { background: var(--brand-50); color: var(--night); }
.porte--colis .lien { color: var(--brand-700); }
.porte--colis .illus { width: 180px; right: 0; bottom: 70px; }

/* ─── Comment ça marche ───────────────────────────────────────────────── */
.comment { padding: 140px 0 60px; }
.comment .grille { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.etapes { margin: 0; padding: 0; list-style: none; }
.etape { min-height: 74vh; display: flex; flex-direction: column; justify-content: center; transition: opacity .5s; }
.js .etape { opacity: .3; }
.js .etape.active { opacity: 1; }
.etape .num { font-size: 5.5rem; font-weight: 700; letter-spacing: -.06em; line-height: 1; color: var(--brand-600); transition: color .5s; }
.js .etape .num { color: var(--brand-100); }
.js .etape.active .num { color: var(--brand-600); }
.etape h3 { font-size: 2.2rem; letter-spacing: -.04em; margin: .6rem 0; color: var(--night); }
.etape p { margin: 0; font-size: 1.1rem; color: var(--ink-subtle); max-width: 28rem; }
/* Sur téléphone, chaque étape garde sa capture ; le téléphone collant est pour l'écran large. */
.etape .phone { display: none; width: 240px; margin-top: 1.6rem; }
.collant { position: sticky; top: 110px; height: 640px; display: grid; place-items: center; }
.collant .fond { position: absolute; inset: 40px 30px; border-radius: 48px; background: radial-gradient(80% 70% at 50% 40%, var(--brand-100), var(--brand-50)); }
.collant .phone { position: relative; width: 290px; }
.collant .phone img { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; }
.collant .phone img:first-child { position: relative; }
.collant .phone img.on { opacity: 1; }

/* ─── Pourquoi Serena ─────────────────────────────────────────────────── */
.pourquoi { padding: 80px 0 120px; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(230px, auto); gap: 1.2rem; margin-top: 3rem; }
.tuile { position: relative; border-radius: var(--r-lg); padding: 1.8rem; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.tuile h3 { margin: 0; font-size: 1.35rem; letter-spacing: -.03em; color: var(--night); }
.tuile p { margin: .45rem 0 0; color: var(--ink-subtle); font-size: .96rem; max-width: 22rem; }
.tuile .illus { position: absolute; right: 18px; bottom: 14px; width: 80px; }
/* Les deux dernières tuiles, côte à côte sous les autres : la grille se ferme sans trou. */
.tuile--large { grid-column: span 2; }
.tuile--prix { grid-column: span 2; grid-row: span 2; background: linear-gradient(160deg, var(--night-3), var(--night)); border: 0; color: #fff; padding-bottom: 17rem; }
.tuile--prix h3 { color: #fff; font-size: 2rem; max-width: none; }
.tuile--prix p { color: rgba(255, 255, 255, .72); font-size: 1.05rem; }
.ticket { position: absolute; left: 1.8rem; right: 1.8rem; bottom: 1.8rem; border-radius: 22px; background: #fff; color: var(--ink); padding: .6rem 1.5rem; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.ticket .ligne { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .75rem 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.ticket .ligne:last-child { border: 0; }
.ticket .classe { display: flex; align-items: center; gap: .8rem; font-weight: 700; }
.ticket .classe img { width: 64px; }
.ticket .montant { text-align: right; font-weight: 700; font-size: 1.05rem; color: var(--brand-700); }
.ticket .montant small { display: block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-subtle); }
.ticket .ligne.retenue { background: var(--brand-50); margin: .3rem -1.5rem; padding: .75rem 1.5rem; border-radius: 12px; border: 0; }
.ticket .ligne.retenue .montant { font-size: 1.25rem; }
.tuile--payer { grid-column: span 2; background: var(--gold-100); border-color: transparent; }
.puces { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.puces span { font-weight: 700; font-size: .9rem; padding: .6rem 1rem; border-radius: 999px; background: #fff; box-shadow: 0 6px 14px rgba(128, 96, 25, .12); }
.lienmini { margin-top: 1rem; display: inline-block; max-width: 100%; padding: .7rem .9rem; border-radius: 14px; background: var(--brand-50); font-size: .85rem; font-weight: 700; color: var(--brand-700); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* ─── Repas ───────────────────────────────────────────────────────────── */
.repas { padding: 130px 0; background: linear-gradient(180deg, var(--canvas), var(--gold-100)); overflow: hidden; }
.repas .tete { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem; }
.repas .tete .marmite { width: 170px; filter: drop-shadow(0 30px 30px rgba(128, 96, 25, .3)); animation: flotte2 6s ease-in-out infinite; }
.frise { position: relative; margin: 3.5rem 0 4rem; }
.frise ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin: 0; padding: 0; list-style: none; }
.frise .rail { position: absolute; left: 0; right: 0; top: 27px; height: 4px; border-radius: 4px; background: rgba(128, 96, 25, .18); overflow: hidden; }
.frise .rail i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--brand-600), var(--gold-500)); }
.js .frise .rail i { width: 0; transition: width 2.4s cubic-bezier(.4, .1, .2, 1); }
.js .frise.vu .rail i { width: 100%; }
.frise .scooter { position: absolute; top: -20px; left: calc(100% - 64px); width: 64px; }
.js .frise .scooter { left: 0; transition: left 2.4s cubic-bezier(.4, .1, .2, 1); }
.js .frise.vu .scooter { left: calc(100% - 64px); }
.frise .pas { position: relative; padding-top: 70px; }
.frise .pas::before { content: ""; position: absolute; top: 18px; left: 0; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--brand-600); }
.frise .pas h3 { margin: 0 0 .35rem; font-size: 1.2rem; color: var(--night); letter-spacing: -.02em; }
.frise .pas p { margin: 0; font-size: .95rem; color: var(--ink-subtle); }
.eventail { position: relative; height: 560px; }
.eventail .phone { position: absolute; width: 250px; top: 40px; transition: transform .6s var(--ease); }
.eventail .e1 { left: calc(50% - 420px); transform: rotate(-9deg); }
.eventail .e2 { left: calc(50% - 135px); top: 0; z-index: 2; width: 270px; }
.eventail .e3 { left: calc(50% + 170px); transform: rotate(9deg); }
.eventail:hover .e1 { transform: rotate(-13deg) translateX(-30px); }
.eventail:hover .e3 { transform: rotate(13deg) translateX(30px); }

/* ─── Colis ───────────────────────────────────────────────────────────── */
.colis { padding: 130px 0; }
.colis .grille { display: grid; grid-template-columns: 1fr 1.05fr; gap: 4rem; align-items: center; }
.tailles { display: grid; gap: .9rem; margin: 2.2rem 0 0; padding: 0; list-style: none; }
.taille { display: flex; align-items: center; gap: 1.2rem; padding: 1.1rem 1.3rem; border-radius: var(--r-md); background: #fff; border: 1.5px solid var(--line); transition: border-color .25s, transform .25s; }
.taille:hover { border-color: var(--brand-600); transform: translateX(6px); }
.taille .ic { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-50); }
/* Le même carton, plus ou moins gros : la taille se lit avant le mot. */
.taille .ic img { width: 40px; }
.taille:nth-child(1) .ic img { width: 26px; }
.taille:nth-child(2) .ic img { width: 33px; }
.taille h3 { margin: 0; font-size: 1.05rem; color: var(--night); }
.taille p { margin: .1rem 0 0; font-size: .9rem; color: var(--ink-subtle); }
.taille .vh { margin-left: auto; font-size: .8rem; font-weight: 700; color: var(--brand-700); background: var(--brand-50); padding: .4rem .7rem; border-radius: 999px; }
.code { position: relative; border-radius: 40px; padding: 3rem; background: radial-gradient(100% 90% at 80% 10%, #0F5C41, var(--night)); color: #fff; overflow: hidden; min-height: 520px; }
.code .carton { position: absolute; right: -30px; top: -20px; width: 230px; transform: rotate(10deg); filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .35)); }
.code h3 { font-size: 2rem; letter-spacing: -.04em; margin: 0 0 .6rem; max-width: 18rem; }
.code p { color: rgba(255, 255, 255, .74); max-width: 22rem; margin: 0; }
.chiffres { display: flex; gap: .7rem; margin: 2.6rem 0 1.4rem; }
.chiffres span { width: 70px; height: 86px; border-radius: 18px; display: grid; place-items: center; font-size: 2.4rem; font-weight: 700; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); animation: chiffre 3s ease-in-out infinite; }
.chiffres span:nth-child(2) { animation-delay: .2s } .chiffres span:nth-child(3) { animation-delay: .4s } .chiffres span:nth-child(4) { animation-delay: .6s }
.wa { display: inline-flex; align-items: center; gap: .6rem; font-size: .92rem; font-weight: 700; padding: .7rem 1rem; border-radius: 999px; background: rgba(37, 211, 102, .16); color: #A6F0C2; }

/* ─── Les deux côtés ──────────────────────────────────────────────────── */
.cotes { padding: 120px 0; background: #fff; }
.cotes .tete { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 2rem; }
.bascule { padding: 6px; border-radius: 999px; background: var(--brand-50); }
.bascule button { font: 700 .95rem 'Jakarta', system-ui, sans-serif; border: 0; background: none; padding: .8rem 1.4rem; border-radius: 999px; color: var(--brand-700); cursor: pointer; transition: background .25s, color .25s; }
.bascule button[aria-pressed="true"] { background: var(--brand-700); color: #fff; }
/* Sans script, l'interrupteur ne servirait à rien : les deux rangées se suivent. */
.bascule { display: none; }
.js .bascule { display: inline-flex; }
.cote h3 { margin: 3rem 0 0; font-size: 1.1rem; color: var(--brand-700); }
.js .cote h3 { display: none; }
.rangee { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; margin: 1.6rem 0 0; padding: 0; list-style: none; transition: opacity .3s; }
.js .cote:not(.montre) { display: none; }
.js .cote .rangee { margin-top: 3rem; }
.rangee figure { margin: 0; }
.rangee .phone { border-width: 7px; border-radius: 30px; }
.rangee figcaption { margin-top: 1rem; font-size: .92rem; color: var(--ink-subtle); }
.rangee figcaption b { display: block; color: var(--night); font-size: 1rem; }

/* ─── Serena travaille pour vous ──────────────────────────────────────── */
.pros { padding: 130px 0; background: radial-gradient(90% 70% at 20% 0%, #0F5C41, var(--night) 55%, var(--night-2)); color: #fff; }
.pros .eyebrow { color: var(--gold-500); }
.pros h2 { color: #fff; }
.pros h2 em { color: var(--gold-500); }
.cartes-pro { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 3.4rem; }
.pro { position: relative; border-radius: var(--r-lg); padding: 2rem 2rem 6.5rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); overflow: hidden; min-height: 470px; transition: background .3s, transform .3s; }
.pro:hover { background: rgba(255, 255, 255, .1); transform: translateY(-6px); }
.pro .illus { width: 84px; height: 84px; object-fit: contain; margin-bottom: 1.2rem; }
.pro .illus--voiture { width: 150px; }
.pro h3 { font-size: 1.6rem; letter-spacing: -.03em; margin: 0 0 .5rem; }
.pro p { color: rgba(255, 255, 255, .72); margin: 0 0 1.2rem; font-size: .98rem; max-width: 20rem; }
.pro ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .92rem; color: rgba(255, 255, 255, .88); max-width: 15rem; }
.pro li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); margin-right: .6rem; vertical-align: middle; }
.pro .btn { position: absolute; left: 2rem; bottom: 2rem; }
/* Un écran qui dépasse du coin : assez pour reconnaître l'application, jamais sur le texte. */
.pro .apercu { position: absolute; right: -30px; bottom: -215px; width: 150px; transform: rotate(-8deg); opacity: .9; border-width: 6px; border-radius: 26px; }

/* ─── Sécurité ────────────────────────────────────────────────────────── */
.securite { padding: 130px 0 100px; }
.securite .grille { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: center; }
.securite .bouclier { width: 300px; margin: 0 auto; filter: drop-shadow(0 40px 40px rgba(16, 112, 80, .25)); animation: flotte2 7s ease-in-out infinite; }
.points4 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 2.2rem 0 0; padding: 0; list-style: none; }
.point { padding: 1.4rem; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.point h3 { margin: 0 0 .35rem; font-size: 1.08rem; color: var(--night); }
.point p { margin: 0; color: var(--ink-subtle); font-size: .93rem; }

/* ─── Télécharger ─────────────────────────────────────────────────────── */
.telecharger { padding: 40px 0 120px; }
.panneau { position: relative; border-radius: 44px; padding: 4rem; background: linear-gradient(135deg, #E9CF8E, var(--gold-500) 60%, #B8954A); overflow: hidden; }
.panneau .eyebrow { color: #3A2C0B; }
.panneau h2 { color: var(--night); max-width: 34rem; }
.panneau .lead { color: #3A2C0B; }
.panneau .voiture { position: absolute; right: -60px; top: 30px; width: 520px; filter: drop-shadow(0 40px 40px rgba(43, 31, 5, .35)); }
.apps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 3rem 0 0; padding: 0; list-style: none; }
.app { border-radius: 22px; padding: 1.3rem; background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); }
.app h3 { margin: 0; font-size: 1.05rem; color: var(--night); }
.app .pour { margin: .25rem 0 .9rem; font-size: .85rem; color: var(--ink-subtle); }
.app .meta { font-size: .8rem; color: var(--ink-subtle); margin: 0 0 .9rem; }
.app .bientot { font-size: .88rem; font-style: italic; color: var(--ink-subtle); margin: 0; }
.app .btn { padding: .7rem 1.1rem; font-size: .9rem; }
.app .android-badge { display: flex; margin-top: .7rem; font-size: .8rem; }
.consigne { position: relative; margin: 1.6rem 0 0; max-width: 46rem; font-size: .92rem; color: #3A2C0B; }

/* ─── Questions ───────────────────────────────────────────────────────── */
.faq { padding: 40px 0 120px; }
.faq .grille { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; }
.faq .grille > div:first-child { position: sticky; top: 110px; align-self: start; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.3rem 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; font-weight: 700; font-size: 1.08rem; color: var(--night); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--brand-600); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .8rem 0 0; color: var(--ink-subtle); }

/* ─── Pied de page ────────────────────────────────────────────────────── */
footer { background: var(--night-2); color: rgba(255, 255, 255, .62); padding: 70px 0 40px; font-size: .92rem; }
footer .grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
footer .logo { color: #fff; }
footer .grille p { margin: 1rem 0 0; max-width: 18rem; }
footer h4 { color: #fff; margin: 0 0 1rem; font-size: .95rem; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
footer a:hover { color: #fff; }
footer .bas { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }

/* ─── Écrans moyens et téléphones ─────────────────────────────────────── */
@media (max-width: 1080px) {
    .nav .liens { display: none; }
    .hero .wrap { grid-template-columns: 1fr; }
    .scene { height: 560px; max-width: 520px; margin: 0 auto; width: 100%; }
    .portes .grille { grid-template-columns: 1fr 1fr; }
    .porte--colis { grid-column: span 2; }
    .comment .grille, .colis .grille, .securite .grille, .faq .grille { grid-template-columns: 1fr; gap: 2.5rem; }
    .faq .grille > div:first-child { position: static; }
    .collant { display: none; }
    .js .etape, .etape { min-height: auto; opacity: 1; padding: 1.5rem 0; }
    .js .etape .num { color: var(--brand-600); }
    .etape .phone { display: block; }
    .bento { grid-template-columns: 1fr 1fr; }
    .frise ol { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
    /* Sur deux rangées, un rail unique ne relierait plus les étapes : chacune garde son point. */
    .frise .rail, .frise .scooter { display: none; }
    .frise .pas { padding-top: 46px; }
    .frise .pas::before { top: 0; }
    .rangee, .apps { grid-template-columns: 1fr 1fr; }
    .cartes-pro { grid-template-columns: 1fr; }
    .pro { min-height: 0; }
    .eventail { height: 470px; }
    .eventail .phone { width: 200px; }
    .eventail .e1 { left: calc(50% - 320px); }
    .eventail .e2 { left: calc(50% - 110px); width: 220px; }
    .eventail .e3 { left: calc(50% + 120px); }
    .panneau .voiture { width: 360px; top: auto; bottom: -40px; opacity: .35; }
    .securite .bouclier { width: 170px; }
    footer .grille { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .nav .wrap { gap: .8rem; height: 66px; }
    .nav .btn { padding: .6rem 1rem; font-size: .85rem; }
    .hero { padding: 120px 0 170px; min-height: 0; }
    .scene { height: 470px; }
    .scene .phone { width: 220px; right: 50%; transform: translateX(50%); }
    .bulle { font-size: .78rem; padding: .7rem .8rem; }
    .bulle b { font-size: .95rem; }
    .bulle.b1 { left: 0; top: 40px; }
    .bulle.b2 { right: 0; top: 330px; }
    .bulle.b3 { display: none; }
    .portes .grille, .bento, .frise ol, .points4, .rangee, .apps { grid-template-columns: 1fr; }
    .porte--colis { grid-column: auto; }
    /* L'illustration rentre dans le fil, sous le texte : à cette largeur, posée en absolu,
       elle passait sous les mots. */
    .porte { min-height: 0; padding-bottom: 5rem; }
    .porte .illus, .porte--courses .illus, .porte--repas .illus, .porte--colis .illus { position: static; width: auto; height: 110px; margin: 1rem 0 0 auto; }
    .porte p { max-width: none; }
    .comment { padding-top: 90px; }
    .pourquoi, .repas, .colis, .cotes, .pros, .securite { padding-top: 80px; padding-bottom: 80px; }
    .repas .tete { grid-template-columns: 1fr; }
    .repas .tete .marmite { display: none; }
    .ticket { padding: .5rem 1rem; }
    .ticket .ligne.retenue { margin: .3rem -1rem; padding: .75rem 1rem; }
    .ticket .classe img { width: 44px; }
    .code .carton { width: 110px; right: -16px; top: -12px; }
    .code h3 { max-width: calc(100% - 80px); }
    .pro { padding-bottom: 6rem; }
    .pro .apercu { display: none; }
    .tuile--prix, .tuile--payer, .tuile--large { grid-column: auto; }
    .tuile--prix { padding-bottom: 18rem; }
    .eventail { height: auto; display: flex; gap: 1rem; overflow-x: auto; padding: 1rem 0 2rem; scroll-snap-type: x mandatory; }
    .eventail .phone { position: static; flex: none; width: 220px; transform: none; scroll-snap-align: center; }
    .eventail:hover .e1, .eventail:hover .e3 { transform: none; }
    .rangee { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .code { padding: 2rem; min-height: 0; }
    .code .carton { width: 150px; }
    .chiffres span { width: 56px; height: 70px; font-size: 1.9rem; }
    .panneau { padding: 2.4rem 1.6rem; border-radius: 32px; }
    .panneau .voiture { display: none; }
    footer .grille { grid-template-columns: 1fr; }
}

/* Qui a demandé moins de mouvement n'en reçoit aucun : la carte est fixe, tout apparaît en place. */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .r { opacity: 1; transform: none; }
    .js .frise .rail i { width: 100%; }
    .js .frise .scooter { left: calc(100% - 64px); }
}

/* Les pages légales, au pied de chaque page. */
footer .legales { display: flex; flex-wrap: wrap; gap: 1.2rem; }
footer .legales a { color: rgba(255, 255, 255, .78); }

/* Les réseaux sociaux, sous la marque : des icônes rondes, sans leur nom. */
footer .reseaux { list-style: none; display: flex; gap: .6rem; padding: 0; margin: 1.3rem 0 0; }
footer .reseaux a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: rgba(255, 255, 255, .82); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: color .2s, background .2s, border-color .2s; }
footer .reseaux a:hover { color: var(--night); background: var(--gold-500); border-color: var(--gold-500); }
footer .reseaux svg { width: 18px; height: 18px; }
