/* ============================================================================
   Elevo — feuille de style du site vitrine.

   Les couleurs ne sont pas choisies ici : ce sont EXACTEMENT celles de
   l'habillage « signature » de l'application (src/ui/theme.ts), qui est
   l'habillage par défaut depuis le 06.09.2026. Si le thème de l'application
   change, ces valeurs doivent changer avec lui, sinon le site ment.

   ⛔ Ne pas reteinter l'orange : #F09018 est l'orange du logo, à l'identique.
   Trois versions retouchées ont déjà été rejetées.
   ============================================================================ */

:root {
  --fond:        #000000;
  --surface:     #0C0C0C;
  --surface-alt: #171717;
  --liseré:      rgba(255, 255, 255, 0.07);
  --liseré-fort: rgba(255, 255, 255, 0.14);
  --texte:       #F5F5F5;
  --texte-doux:  #8C8C8C;
  --orange:      #F09018;
  --rouge:       #E03010;
  --sur-orange:  #1A0C00;
  --vert:        #22D3A0;

  --degrade: linear-gradient(135deg, #E03010 0%, #F09018 100%);

  --largeur: 1140px;
  --rayon:   18px;
  --rayon-s: 12px;

  --police: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--police);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.conteneur {
  width: 100%;
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 0 24px;
}

/* Lien d'évitement : la première tabulation au clavier saute le menu. */
.evitement {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--orange); color: var(--sur-orange);
  padding: 12px 20px; border-radius: 0 0 var(--rayon-s) 0; font-weight: 700;
}
.evitement:focus { left: 0; }

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------- En-tête */

.entete {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--liseré);
}

.entete__grille {
  display: flex; align-items: center; gap: 20px;
  height: 68px;
}

.marque { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
.marque img { height: 26px; width: auto; }

.menu { display: flex; align-items: center; gap: 28px; }
.menu a {
  text-decoration: none; color: var(--texte-doux);
  font-size: 15px; font-weight: 500; transition: color .15s;
}
.menu a:hover, .menu a:focus-visible { color: var(--texte); }

/* Sélecteur de langue : une liste native, pas un menu maison. Cinq langues
   dans un <select> se manipulent au pouce sans JavaScript. */
.langues {
  appearance: none; -webkit-appearance: none;
  background: var(--surface-alt) url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%238C8C8C' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E") no-repeat right 12px center/10px;
  border: 1px solid var(--liseré);
  color: var(--texte); border-radius: 999px;
  padding: 8px 32px 8px 14px; font: inherit; font-size: 14px;
  cursor: pointer;
}
.langues:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

.burger {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px; color: var(--texte);
}
.burger span { display: block; height: 2px; background: currentColor; border-radius: 2px; margin: 5px 0; }

/* --------------------------------------------------------------- Boutons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px;
  font-weight: 650; font-size: 16px; text-decoration: none;
  border: 1px solid var(--liseré-fort); color: var(--texte);
  background: transparent; cursor: pointer;
  transition: transform .12s ease, border-color .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); border-color: var(--texte-doux); }
.btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.btn--plein {
  background: var(--degrade); color: #FFFFFF; border-color: transparent;
  box-shadow: 0 8px 28px rgba(224, 48, 16, 0.30);
}
.btn--plein:hover { border-color: transparent; box-shadow: 0 12px 34px rgba(224, 48, 16, 0.42); }

.btn--grand { padding: 16px 30px; font-size: 17px; }
.btn--fin   { padding: 9px 18px; font-size: 15px; }

/* ------------------------------------------------------------- Sections */

.section { padding: 96px 0; }
.section--serree { padding: 56px 0; }
.section--alt { background: var(--surface); border-block: 1px solid var(--liseré); }

.surtitre {
  margin: 0 0 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange);
}

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.022em; margin: 0 0 18px; font-weight: 750; }
h1 { font-size: clamp(2.15rem, 4.6vw, 3.35rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); }
h3 { font-size: 1.18rem; letter-spacing: -0.01em; }

.chapo { font-size: 1.16rem; color: var(--texte-doux); max-width: 56ch; margin: 0 0 32px; }

.section__tete { max-width: 62ch; margin: 0 auto 56px; text-align: center; }
.section__tete .chapo { margin-inline: auto; }

/* ----------------------------------------------------------------- Hero */

.hero { padding: 84px 0 96px; position: relative; overflow: hidden; }

/* Une seule lueur, très diffuse : l'écran de l'application est déjà orange,
   deux sources de couleur se disputeraient l'attention. */
.hero::before {
  content: ""; position: absolute; inset: -30% 30% auto -20%; height: 720px;
  background: radial-gradient(closest-side, rgba(224, 48, 16, 0.20), transparent 70%);
  pointer-events: none;
}

.hero__grille {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 56px; align-items: center; position: relative;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }

.preuves { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; }
.preuves li { font-size: 14.5px; color: var(--texte-doux); display: flex; align-items: center; gap: 8px; }
.preuves li::before {
  content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%;
  background: var(--degrade);
  -webkit-mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.3 4.3 6.2 11.4 2.7 7.9' fill='none' stroke='%23000' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.3 4.3 6.2 11.4 2.7 7.9' fill='none' stroke='%23000' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ------------------------------------------------- Téléphone et captures */

/* Le cadre est dessiné en CSS, l'écran est une VRAIE capture de
   l'application. Rien n'est simulé à l'intérieur. */
.telephone {
  /* ⚠️ Le ratio est porté par l'ÉCRAN, pas par le cadre. Quand le cadre le
     portait, les 9 px de bordure le retiraient à l'écran : celui-ci tombait à
     0,447 contre 0,462 pour la capture, et `object-fit: cover` rognait 10 px
     de large, soit la première lettre des titres collés au bord (« rogrammes »
     au lieu de « Programmes »). Mesuré le 14.09. */
  position: relative; width: 100%; max-width: 300px; margin: 0 auto;
  background: #1C1C1E;
  border-radius: 44px;
  padding: 9px;
  box-shadow: 0 30px 70px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.09) inset;
}
.telephone__ecran {
  width: 100%; aspect-ratio: 390 / 844; border-radius: 36px; overflow: hidden;
  background: var(--fond); position: relative;
}
.telephone__ecran img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* Pas d'encoche dessinée : la capture vient de l'application web, qui n'a pas
   de barre d'état. Une fausse encoche posée par-dessus se voyait comme un
   rectangle gris au milieu d'un écran noir. */

.telephones { display: flex; gap: 22px; justify-content: center; align-items: flex-start; flex-wrap: wrap; }

/* ⚠️ Largeur FIXE et `flex: none`, et non `max-width`. En flex, un élément qui
   contient une image garde la taille intrinsèque de celle-ci comme base de
   calcul : les trois téléphones ne sortaient pas à la même hauteur, celui du
   milieu débordait. Constaté à l'image le 14.09.
   ⛔ Pas de décalage en escalier non plus : trois cadres alignés se lisent
   mieux que trois cadres qui semblent mal posés. */
.telephones .telephone { width: 246px; max-width: 246px; flex: none; }

/* Capture de l'écran large (le coach travaille au navigateur). */
.fenetre {
  border-radius: var(--rayon); overflow: hidden;
  border: 1px solid var(--liseré-fort);
  background: var(--surface);
  box-shadow: 0 30px 70px rgba(0,0,0,.6);
}
.fenetre__barre {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 14px; background: var(--surface-alt); border-bottom: 1px solid var(--liseré);
}
.fenetre__barre i { width: 11px; height: 11px; border-radius: 50%; background: #3A3A3A; }

/* ---------------------------------------------------------------- Cartes */

.cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cartes--2 { grid-template-columns: repeat(2, 1fr); }

.carte {
  background: var(--surface); border: 1px solid var(--liseré);
  border-radius: var(--rayon); padding: 28px;
  transition: border-color .15s, transform .15s;
}
.carte:hover { border-color: var(--liseré-fort); transform: translateY(-2px); }
.carte p { margin: 0; color: var(--texte-doux); font-size: 15.5px; }

.carte__icone {
  width: 44px; height: 44px; border-radius: var(--rayon-s); margin-bottom: 18px;
  background: var(--degrade);
  display: grid; place-items: center;
}
.carte__icone svg { width: 23px; height: 23px; stroke: #FFFFFF; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------- Les deux portes d'entrée */

.portes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.porte {
  display: block; text-decoration: none;
  background: var(--surface); border: 1px solid var(--liseré);
  border-radius: var(--rayon); padding: 34px;
  transition: border-color .15s, transform .15s, background .15s;
}
.porte:hover { border-color: var(--orange); transform: translateY(-3px); }
.porte h3 { margin-bottom: 10px; font-size: 1.5rem; }
.porte p { color: var(--texte-doux); margin: 0 0 20px; font-size: 15.5px; }
.porte__lien { color: var(--orange); font-weight: 650; font-size: 15.5px; }
.porte__lien::after { content: " \2192"; }

/* ---------------------------------------------------------------- Étapes */

.etapes { counter-reset: e; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.etape { position: relative; padding-top: 58px; }
.etape::before {
  counter-increment: e; content: counter(e);
  position: absolute; top: 0; left: 0;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--degrade); color: #FFFFFF;
  display: grid; place-items: center; font-weight: 750; font-size: 18px;
}
.etape p { color: var(--texte-doux); margin: 0; font-size: 15.5px; }

/* ------------------------------------------------------------- Bandeau CTA */

.bandeau {
  background: var(--degrade);
  border-radius: 26px; padding: 56px 44px; text-align: center;
  color: #FFFFFF;
}
.bandeau h2 { color: #FFFFFF; }
.bandeau p { color: rgba(255,255,255,.88); max-width: 50ch; margin: 0 auto 28px; }
.bandeau .btn { background: #FFFFFF; color: #1A0C00; border-color: transparent; }

/* ------------------------------------------------------------- Questions */

.question {
  border-bottom: 1px solid var(--liseré);
}
.question summary {
  cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-weight: 650; font-size: 17px; list-style: none;
}
.question summary::-webkit-details-marker { display: none; }
.question summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  color: var(--orange); font-size: 24px; font-weight: 400; line-height: 1;
}
.question[open] summary::after { content: "\2212"; }
.question p { margin: 0 0 22px; color: var(--texte-doux); font-size: 15.8px; max-width: 70ch; }

/* -------------------------------------------------------------- Magasins */

.magasins { display: flex; flex-wrap: wrap; gap: 14px; }
.magasin {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 11px 20px 11px 16px; border-radius: 14px;
  background: var(--surface-alt); border: 1px solid var(--liseré);
  text-decoration: none; transition: border-color .15s;
}
.magasin:hover { border-color: var(--texte-doux); }
.magasin svg { width: 24px; height: 24px; fill: currentColor; flex: none; }
.magasin span { display: block; font-size: 11px; color: var(--texte-doux); letter-spacing: .04em; text-transform: uppercase; }
.magasin b { display: block; font-size: 16px; font-weight: 650; }

/* ------------------------------------------------------------ Pied de page */

.pied { border-top: 1px solid var(--liseré); padding: 56px 0 40px; background: var(--surface); }
.pied__grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.pied img { height: 24px; width: auto; margin-bottom: 14px; }
.pied h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-doux); margin: 0 0 14px; font-weight: 700; }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pied a { color: var(--texte-doux); text-decoration: none; font-size: 15px; }
.pied a:hover { color: var(--texte); }
.pied__bas {
  border-top: 1px solid var(--liseré); padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
  color: var(--texte-doux); font-size: 14px;
}

/* ------------------------------------------------------------- Téléphones */

@media (max-width: 900px) {
  .hero__grille { grid-template-columns: 1fr; gap: 44px; }
  .hero__visuel { order: -1; }
  .cartes, .cartes--2, .etapes, .portes { grid-template-columns: 1fr; }
  .pied__grille { grid-template-columns: 1fr 1fr; }
  .section { padding: 68px 0; }

  .burger { display: block; }
  .menu {
    position: fixed; inset: 68px 0 auto; display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--liseré);
    padding: 8px 24px 24px;
  }
  .menu[data-ouvert="oui"] { display: flex; }
  .menu a { padding: 15px 0; border-bottom: 1px solid var(--liseré); font-size: 17px; }
  .menu .btn { margin-top: 16px; border-bottom: 0; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .bandeau { padding: 40px 24px; }
}
