@font-face { font-family: "Inter"; src: url("fonts/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

/* ---- Tokens (mêmes valeurs que l'application) ---- */
:root {
  --marque: #0F766E; --marque-fonce: #115E59; --accent: #F59E0B; --fond: #F8FAFC; --surface: #ffffff; --surface-2: #F1F5F9;
  --texte: #0F172A; --texte-2: #475569; --texte-3: #94A3B8; --bordure: #E2E8F0; --positif: #15803D; --negatif: #B91C1C;
  --marque-fond: #E6F4F2; --ombre: 0 1px 2px rgb(15 23 42 / .06), 0 8px 24px rgb(15 23 42 / .06);
  --ecran-fond: #F3F5F7; --ecran-texte: #0F172A; --cadre: #111827; --cadre-bord: #2A3446;
  --tg-fond: #E7EBF0; --tg-bulle: #FFFFFF; --tg-bulle-moi: #DCF8C6; --tg-texte: #0F172A; --tg-texte-2: #64748B; --tg-entete: #FFFFFF; --tg-bouton: #EEF2F6;
  --marge: 16px; --entete-h: 56px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --marque: #2DD4BF; --marque-fonce: #14B8A6; --fond: #0B1220; --surface: #141C2B; --surface-2: #1B2536; --texte: #E5EAF1; --texte-2: #94A3B8; --texte-3: #64748B;
    --bordure: #263248; --positif: #4ADE80; --negatif: #F87171; --marque-fond: #123B38; --ombre: 0 1px 2px rgb(0 0 0 / .4), 0 8px 24px rgb(0 0 0 / .35);
    --ecran-fond: #0B1220; --ecran-texte: #E5EAF1; --cadre: #1F2937; --cadre-bord: #3B4759;
    --tg-fond: #0E1621; --tg-bulle: #182533; --tg-bulle-moi: #2B5278; --tg-texte: #E5EAF1; --tg-texte-2: #8FA3B8; --tg-entete: #17212B; --tg-bouton: #1C2A3A;
  }
}
@media (min-width: 400px) { :root { --marge: 20px; } }
@media (min-width: 640px) { :root { --marge: 32px; } }
@media (min-width: 1024px) { :root { --marge: 48px; --entete-h: 68px; } }

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--fond); color: var(--texte); overflow-x: hidden;
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-feature-settings: "cv11", "ss01", "tnum";
  font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: var(--marque); }
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.015em; text-wrap: balance; overflow-wrap: normal; hyphens: none; }
p { margin: 0; overflow-wrap: break-word; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--marque); outline-offset: 3px; border-radius: 6px; }

.conteneur { width: min(100% - 2 * var(--marge), 1100px); margin-inline: auto; }
.texte { max-width: 70ch; }
.centre { text-align: center; }
.centre .texte { margin-inline: auto; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
section[id] { scroll-margin-top: calc(var(--entete-h) + 16px); }

/* ---- Boutons ---- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 14px;
  font-weight: 700; font-size: 1rem; text-decoration: none; border: 1px solid transparent; white-space: nowrap; transition: transform .08s ease, background .15s ease;
}
.bouton:active { transform: scale(.98); }
.bouton-primaire { background: var(--marque); color: #fff; }
.bouton-primaire:hover { background: var(--marque-fonce); }
.bouton-secondaire { background: var(--surface); color: var(--texte); border-color: var(--bordure); }
.bouton-secondaire:hover { background: var(--surface-2); }
.bouton-petit { min-height: 38px; padding: 8px 14px; font-size: .9rem; border-radius: 11px; }
.lien-discret { color: var(--texte-2); font-weight: 600; font-size: .92rem; text-decoration: none; white-space: nowrap; padding: 8px 2px; }
.lien-discret:hover { color: var(--texte); text-decoration: underline; }

/* ---- En-tête ---- */
.entete { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--fond) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--bordure); }
.entete .conteneur { display: flex; align-items: center; gap: 10px; min-height: var(--entete-h); }
.logo { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: 1.02rem; color: var(--texte); text-decoration: none; flex: 0 0 auto; }
.logo img { width: 28px; height: 28px; border-radius: 8px; }
.entete .liens { display: none; }
.entete .acces { margin-left: auto; display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.entete .acces .bouton-petit { min-height: 36px; padding: 7px 10px; font-size: .8rem; letter-spacing: -.01em; }
.entete .acces .lien-discret { font-size: .82rem; padding-inline: 3px; }
@media (min-width: 400px) { .entete .acces { gap: 8px; } .entete .acces .bouton-petit { padding-inline: 12px; font-size: .84rem; } .entete .acces .lien-discret { font-size: .86rem; } .logo { font-size: 1.1rem; gap: 8px; } .logo img { width: 30px; height: 30px; border-radius: 9px; } }
@media (max-width: 349px) { .entete .lien-discret { display: none; } }
@media (min-width: 900px) {
  .logo { font-size: 1.2rem; gap: 10px; }
  .logo img { width: 36px; height: 36px; border-radius: 10px; }
  .entete .liens { display: flex; gap: 26px; margin-left: 32px; }
  .entete .liens a { color: var(--texte-2); text-decoration: none; font-weight: 600; font-size: .95rem; }
  .entete .liens a:hover { color: var(--texte); }
  .entete .acces { gap: 12px; }
  .entete .acces .lien-discret { display: inline-flex; min-height: 40px; align-items: center; padding: 8px 16px; border: 1px solid var(--bordure); border-radius: 11px; background: var(--surface); color: var(--texte); font-size: .9rem; }
  .entete .acces .lien-discret:hover { text-decoration: none; background: var(--surface-2); }
  .entete .acces .bouton-petit { min-height: 40px; padding-inline: 16px; font-size: .9rem; }
}

/* ---- Accroche ---- */
.accroche { padding: clamp(40px, 8vw, 88px) 0 clamp(24px, 4vw, 40px); }
.accroche h1 { font-size: clamp(1.75rem, 1rem + 3.2vw, 3.5rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.12; max-width: 20ch; }
.accroche h1 em { font-style: normal; color: var(--marque); }
.accroche .sous-titre { margin-top: clamp(14px, 2.5vw, 22px); font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); color: var(--texte-2); max-width: 56ch; }
.accroche .actions { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.accroche .actions .bouton { width: 100%; white-space: normal; }
.accroche .petit { margin-top: 14px; font-size: .9rem; color: var(--texte-3); }
@media (min-width: 640px) {
  .accroche .actions { flex-direction: row; justify-content: center; }
  .accroche .actions .bouton { width: auto; min-width: 220px; }
}

/* ---- Carrousel d'écrans ---- */
.apercu { padding: clamp(16px, 3vw, 32px) 0 clamp(48px, 7vw, 80px); }
.carrousel { position: relative; --largeur-ecran: min(272px, 74vw); --ecart: 18px; }
.carrousel .piste {
  display: flex; gap: var(--ecart); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 18px calc((100% - var(--largeur-ecran)) / 2) 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-padding-inline: calc((100% - var(--largeur-ecran)) / 2);
}
.carrousel .piste::-webkit-scrollbar { display: none; }
.carrousel .piste.sans-lissage { scroll-behavior: auto; }
.diapo { flex: 0 0 var(--largeur-ecran); scroll-snap-align: center; scroll-snap-stop: always; margin: 0; transition: transform .35s ease, opacity .35s ease; }
.diapo:not(.actif) { transform: scale(.94); opacity: .78; }
@media (prefers-reduced-motion: reduce) { .diapo { transition: none; } }
.diapo figcaption { margin-top: 14px; text-align: center; font-weight: 600; font-size: .95rem; color: var(--texte-2); }
.diapo.actif figcaption { color: var(--texte); }

/* Cadre de téléphone */
.telephone { position: relative; padding: 9px; border-radius: 42px; background: linear-gradient(160deg, #2B3445, var(--cadre) 40%, #0B0F19); box-shadow: 0 1px 0 var(--cadre-bord) inset, 0 20px 40px -18px rgb(0 0 0 / .55), 0 8px 18px -8px rgb(0 0 0 / .35); }
.telephone::before, .telephone::after { content: ""; position: absolute; right: -2px; width: 3px; border-radius: 2px; background: var(--cadre-bord); }
.telephone::before { top: 24%; height: 12%; }
.telephone::after { left: -2px; right: auto; top: 20%; height: 9%; }
.telephone .ecran { position: relative; border-radius: 34px; overflow: hidden; background: var(--ecran-fond); color: var(--ecran-texte); }
.telephone .statut { display: flex; align-items: center; justify-content: space-between; height: 34px; padding: 6px 22px 0; font-size: 11px; font-weight: 700; font-feature-settings: "tnum"; }
.telephone .statut .ilot { position: absolute; left: 50%; top: 9px; width: 34%; height: 17px; border-radius: 12px; background: #0B0F19; transform: translateX(-50%); }
.telephone .statut .batterie { display: inline-block; width: 20px; height: 10px; border: 1.5px solid currentColor; border-radius: 3px; position: relative; opacity: .85; }
.telephone .statut .batterie::after { content: ""; position: absolute; inset: 1.5px; right: 3px; background: currentColor; border-radius: 1px; }
.telephone .ecran img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
.telephone .ecran .maquette { aspect-ratio: 390 / 844; container-type: inline-size; }

.carrousel .fleche {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--bordure);
  background: var(--surface); color: var(--texte); box-shadow: var(--ombre); display: grid; place-items: center; cursor: pointer; padding: 0;
}
.carrousel .fleche:hover { background: var(--surface-2); }
.carrousel .fleche.precedent { left: max(6px, calc((100% - var(--largeur-ecran)) / 2 - 62px)); }
.carrousel .fleche.suivant { right: max(6px, calc((100% - var(--largeur-ecran)) / 2 - 62px)); }
.carrousel .points { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.carrousel .points button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: var(--bordure); cursor: pointer; transition: transform .2s ease, background .2s ease; }
.carrousel .points button[aria-current="true"] { background: var(--marque); transform: scale(1.35); }
@media (min-width: 900px) {
  .carrousel { --largeur-ecran: 250px; --ecart: 28px; }
  .carrousel .piste { padding-top: 22px; }
  /* Fondu sur les bords : les téléphones voisins s'effacent doucement */
  .carrousel::before, .carrousel::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1; pointer-events: none; }
  .carrousel::before { left: 0; background: linear-gradient(to right, var(--fond), transparent); }
  .carrousel::after { right: 0; background: linear-gradient(to left, var(--fond), transparent); }
}
@media (min-width: 1200px) { .carrousel { --largeur-ecran: 264px; --ecart: 32px; } }

/* Maquette Telegram (fidèle au bot) */
.tg { display: flex; flex-direction: column; height: 100%; background: var(--tg-fond); color: var(--tg-texte); font-size: 4.4cqw; line-height: 1.35; }
.tg-entete { display: flex; align-items: center; gap: 2.5cqw; padding: 2cqw 3.5cqw 2.5cqw; background: var(--tg-entete); border-bottom: 1px solid rgb(0 0 0 / .08); }
.tg-entete .avatar { width: 9.5cqw; height: 9.5cqw; border-radius: 50%; overflow: hidden; flex: 0 0 auto; }
.tg-entete .avatar img { width: 100%; height: 100%; }
.tg-entete b { display: block; font-size: 4.3cqw; }
.tg-entete small { display: block; color: var(--tg-texte-2); font-size: 3.4cqw; }
.tg-entete .retour { color: #3390EC; font-size: 6cqw; line-height: 1; font-weight: 300; margin-right: 1cqw; }
.tg-fil { display: flex; flex-direction: column; gap: 2cqw; padding: 3cqw 3cqw 4cqw; }
.tg-date { align-self: center; background: rgb(0 0 0 / .18); color: #fff; font-size: 3.2cqw; font-weight: 600; padding: .6cqw 2.6cqw; border-radius: 99px; margin-bottom: 1cqw; }
.bulle { max-width: 86%; padding: 2.2cqw 3cqw 1.6cqw; border-radius: 4cqw; background: var(--tg-bulle); box-shadow: 0 1px 1px rgb(0 0 0 / .08); position: relative; }
.bulle.moi { align-self: flex-end; background: var(--tg-bulle-moi); border-bottom-right-radius: 1.2cqw; }
.bulle.bot { align-self: flex-start; border-bottom-left-radius: 1.2cqw; }
.bulle .heure { display: block; text-align: right; font-size: 2.9cqw; color: var(--tg-texte-2); margin-top: .6cqw; }
.bulle .heure.lu { color: #4FAE4E; }
.tg-boutons { display: flex; gap: 1.2cqw; max-width: 86%; align-self: flex-start; width: 100%; margin-top: -.8cqw; }
.tg-boutons span { flex: 1; text-align: center; background: var(--tg-bouton); color: #3390EC; font-weight: 600; font-size: 3.7cqw; padding: 2cqw 1cqw; border-radius: 2.4cqw; }
.tg-saisie { margin-top: auto; display: flex; align-items: center; gap: 2cqw; padding: 2cqw 3cqw calc(2cqw + 4cqw); background: var(--tg-entete); color: var(--tg-texte-2); font-size: 3.8cqw; }
.tg-saisie .champ { flex: 1; background: var(--tg-fond); border-radius: 99px; padding: 2cqw 3.5cqw; }
.tg-saisie .micro { width: 7cqw; height: 7cqw; border-radius: 50%; border: 1.5px solid currentColor; opacity: .6; }

/* ---- Sections ---- */
.section { padding: clamp(56px, 8vw, 88px) 0; }
.section + .section { padding-top: 0; }
.section h2 { font-size: clamp(1.5rem, 1.1rem + 2vw, 2.25rem); font-weight: 800; }
.section .sous { margin-top: 10px; color: var(--texte-2); font-size: clamp(1rem, .95rem + .3vw, 1.125rem); max-width: 60ch; }
.section .en-tete-section { margin-bottom: clamp(24px, 4vw, 40px); }

/* Bénéfices */
.grille { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grille { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .grille-4 { grid-template-columns: repeat(4, 1fr); } }
.carte { background: var(--surface); border-radius: 22px; padding: 24px; box-shadow: var(--ombre); border: 1px solid var(--bordure); }
.carte .icone { width: 46px; height: 46px; border-radius: 14px; background: var(--marque-fond); color: var(--marque); display: grid; place-items: center; margin-bottom: 16px; }
.carte h3 { font-size: 1.1rem; font-weight: 700; }
.carte p { margin-top: 6px; color: var(--texte-2); font-size: 1rem; }

/* Offres */
.offres { display: grid; gap: 36px 20px; grid-template-columns: 1fr; align-items: start; padding-top: 14px; }
@media (min-width: 800px) { .offres { grid-template-columns: 1fr 1fr; gap: 24px; } }
.offre { position: relative; background: var(--surface); border-radius: 26px; padding: 28px 22px 24px; box-shadow: var(--ombre); border: 1px solid var(--bordure); }
@media (min-width: 640px) { .offre { padding: 32px 28px 28px; } }
.offre.plus { border: 2px solid var(--marque); }
.offre .badge { position: absolute; top: -15px; left: 22px; background: var(--accent); color: #1F1300; font-weight: 800; font-size: .8rem; line-height: 1; padding: 8px 12px; border-radius: 999px; white-space: nowrap; box-shadow: 0 2px 8px rgb(0 0 0 / .12); }
.offre h3 { font-size: 1.35rem; font-weight: 800; }
.offre .prix { font-size: 2.4rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin-top: 8px; }
.offre .prix small { font-size: 1rem; font-weight: 500; color: var(--texte-2); letter-spacing: 0; }
.offre .prix-alt { color: var(--texte-2); margin-top: 6px; font-size: .97rem; }
.offre ul { list-style: none; padding: 0; margin: 22px 0 24px; display: grid; gap: 11px; }
.offre li { display: grid; grid-template-columns: 22px 1fr; column-gap: 10px; align-items: start; font-size: 1rem; line-height: 1.5; }
.offre li svg { margin-top: 3px; color: var(--marque); }
.offre .bouton { width: 100%; white-space: normal; }
.reseaux { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.reseaux span { font-size: .8rem; font-weight: 700; padding: 6px 11px; border-radius: 999px; background: var(--surface-2); color: var(--texte-2); }
.essai { margin: 28px auto 0; color: var(--texte-2); max-width: 60ch; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 800px; }
details { background: var(--surface); border-radius: 18px; padding: 0 20px; box-shadow: var(--ombre); border: 1px solid var(--bordure); }
summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 1.02rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: 0 0 auto; color: var(--marque); font-weight: 800; font-size: 1.4rem; line-height: 1; width: 26px; text-align: center; }
details[open] summary::after { content: "–"; }
details p { padding-bottom: 18px; color: var(--texte-2); }

/* ---- Pied ---- */
.pied { border-top: 1px solid var(--bordure); padding: 32px 0 max(40px, env(safe-area-inset-bottom)); color: var(--texte-3); font-size: .92rem; }
.pied .conteneur { display: flex; flex-direction: column; gap: 12px; }
.pied a { color: var(--texte-2); text-decoration: none; overflow-wrap: anywhere; }
.pied a:hover { text-decoration: underline; }
@media (min-width: 640px) { .pied .conteneur { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 24px; } }

/* ---- Pages légales ---- */
.legal { max-width: 760px; margin: 0 auto; padding: 32px var(--marge) 60px; }
.legal h1 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.2rem); letter-spacing: -.02em; margin: 0 0 6px; }
.legal .version { color: var(--texte-3); margin: 0 0 26px; }
.legal h2 { font-size: 1.2rem; margin: 30px 0 8px; }
.legal p, .legal li { color: var(--texte-2); }
.legal p { margin: 0 0 12px; }
.legal ul { padding-left: 20px; }

/* ---- Parrainage ---- */
.bandeau-invitation { background: var(--marque-fond); color: var(--texte); border-bottom: 1px solid var(--bordure); }
.bandeau-invitation .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 8px 0; }
.bandeau-invitation b { font-weight: 700; font-size: .98rem; line-height: 1.3; }
.bandeau-invitation .bouton-petit { flex: 0 0 auto; }
.parrainage-etapes { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: 1fr; counter-reset: etape; }
@media (min-width: 800px) { .parrainage-etapes { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.parrainage-etapes li { counter-increment: etape; }
.parrainage-etapes li::before { content: counter(etape); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--marque); color: #fff; font-weight: 800; margin-bottom: 12px; }
.parrainage-lien { margin-top: 20px; }
