/*
 * LES PAGES PUBLIQUES DE CORNER. Depuis le 2026-11-10 : l'univers validé le 09-11 (docs/maquettes/univers-corner.html) :
 * Inter Tight seule, le coin de nuit en L qui tient la feuille crème, des blocs teintés, un coin arrondi.
 * Règle du jaune : le soleil REMPLIT (fonds, boutons, pastilles) avec de l'encre dessus ; jamais de texte en
 * jaune sur du clair (l'ocre #7A5C00 le remplace).
 */
@font-face { font-family: 'Inter Tight'; src: url('/fonts/InterTight-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --nuit: #111318;
  --nuit-2: #1D1F25;
  --nuit-3: #2C2E35;
  --intercalaire: #EAE6DC;
  --soleil-clair: #FDF1CC;
  --encre-2: #4A4C52;
  --c: cubic-bezier(.2,.8,.2,1);
  --tige: clamp(9px, 2.6vw, 38px);
  --angle: clamp(22px, 3vw, 44px);
  --creme: #F6F5F0;
  --creme-2: #ECEAE2;
  --soleil: #F5C33B;
  --soleil-2: #F8D56E;
  --ocre: #7A5C00;
  --gris: #5E6066;
  --gris-clair: #A3A5AB;
  --blanc: #FFFFFF;
  --trait: #E2DFD5;
  --rayon: 12px;
  --rayon-l: 20px;
  --largeur: 1200px;
  --titre: 'Inter Tight', system-ui, sans-serif;
  --texte: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { background: #FAF9F5; }
body { margin: 0; background: #FAF9F5; color: var(--nuit); font-family: var(--texte); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; font-feature-settings: 'tnum'; overflow-x: clip; }
/* 16-11 : plus de coin de nuit ni de bande à gauche (« la bande noire à gauche est moche ») : le même habillage clair
   que /decouvrir/ et /tarifs/ (grille-1311.css). */
main { background: #FAF9F5; overflow: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i-s { width: 18px; height: 18px; }
.conteneur { max-width: var(--largeur); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ------------------------------------------------------------------ la barre du haut */
.barre { position: sticky; top: 0; z-index: 20; background: rgba(250,249,245,.9); backdrop-filter: blur(10px); color: var(--nuit); border-bottom: 1px solid var(--trait); }
.barre .conteneur { display: flex; align-items: center; gap: 28px; height: 64px; max-width: 1120px; }
.marque { display: flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--titre); font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }
.marque svg { width: 26px; height: 26px; }
.marque circle { fill: var(--soleil); }
.barre .marque path { fill: var(--nuit); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--encre-2); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--nuit); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.barre .actions { margin-left: 12px; display: flex; gap: 10px; align-items: center; }
.burger { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--nuit); }

/* ------------------------------------------------------------------ les boutons */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 14px 3px 3px 3px; font-weight: 800; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-nuit { background: var(--nuit); color: var(--creme); }
.btn-nuit:hover { background: #262a33; }
.btn-soleil { background: var(--soleil); color: var(--nuit); }
.btn-soleil:hover { background: var(--soleil-2); }
.btn-contour { border-color: var(--nuit); color: var(--nuit); background: transparent; }
.btn-contour-clair { border-color: rgba(246,245,240,.4); color: var(--creme); background: transparent; }
.btn-petit { height: 40px; padding: 0 16px; font-size: 15px; }
.barre .btn-lien { color: var(--nuit); background: #F1EFE8; border-radius: 14px 3px 3px 3px; padding: 0 16px; opacity: 1; }
.btn-lien { background: none; border: 0; padding: 0 6px; height: 40px; font-weight: 600; opacity: .8; }

/* ------------------------------------------------------------------ l'accroche plein cadre (Everfit) */
.accroche { background: var(--soleil); overflow: hidden; }
.accroche .conteneur { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: 48px; padding-bottom: 88px; }
.surtitre { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.accroche h1 { font-family: var(--titre); font-weight: 800; font-size: clamp(40px, 5.4vw, 72px); line-height: .94; letter-spacing: -0.035em; margin: 18px 0 22px; }
.tournant { display: inline-grid; overflow: hidden; padding-top: .1em; margin-top: -.1em; vertical-align: bottom; }
.tournant span { grid-area: 1 / 1; opacity: 0; transform: translateY(100%); transition: opacity .3s ease, transform .3s ease; }
.tournant span.actif { opacity: 1; transform: none; }
.tournant span.part { opacity: 0; transform: translateY(-100%); }
.accroche .sous { font-size: 20px; line-height: 1.45; max-width: 520px; margin: 0 0 30px; }
.accroche .boutons { display: flex; flex-wrap: wrap; gap: 12px; }
.rassure { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: 14.5px; font-weight: 600; }
.rassure span { display: inline-flex; align-items: center; gap: 6px; }
.scene { position: relative; min-height: 460px; }
.ecran-ordi { border-radius: 20px 3px 3px 3px; overflow: hidden; background: var(--blanc); box-shadow: 0 30px 60px -28px rgba(17,19,24,.5); }
.ecran-ordi .points { display: none; }
.ecran-ordi .points i { width: 9px; height: 9px; border-radius: 50%; background: #3A3E48; }
.scene .ecran-ordi { position: absolute; right: -120px; top: 10px; width: 640px; }
.ecran-tel { width: 230px; border-radius: 34px; background: var(--nuit); padding: 9px; box-shadow: 0 30px 60px -18px rgba(17,19,24,.55); }
.ecran-tel img { border-radius: 26px; }
.scene .ecran-tel { position: absolute; left: 0; bottom: -40px; }

/* ------------------------------------------------------------------ les sections */
section { padding: 96px 0; }
.section-titre { font-family: var(--titre); font-weight: 800; font-size: clamp(32px, 4.2vw, 54px); line-height: .98; letter-spacing: -0.03em; margin: 0 0 16px; }
.section-sous { font-size: 19px; color: var(--gris); max-width: 640px; margin: 0 0 48px; }
.centre { text-align: center; }
.centre .section-sous { margin-left: auto; margin-right: auto; }
.pastille { display: inline-flex; align-items: center; gap: 6px; background: var(--nuit); color: var(--creme); font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; letter-spacing: .02em; }
.pastille-soleil { background: var(--soleil); color: var(--nuit); }
.bientot { display: inline-block; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; background: var(--creme-2); color: var(--gris); padding: 2px 8px; border-radius: 999px; vertical-align: 2px; margin-left: 6px; }
.nuit { background: var(--nuit); color: var(--creme); }
.nuit .section-sous { color: var(--gris-clair); }
.soleil { background: var(--soleil); }

/* Les quatre métiers (Everfit « the industry's premier solution ») */
.quatre { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.metier { background: var(--intercalaire); border-radius: var(--rayon-l); padding: 26px 24px 24px; text-decoration: none; display: flex; flex-direction: column; gap: 10px; transition: transform .2s ease, box-shadow .2s ease;  }
.metier:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(17,19,24,.35); }
.metier .rond { width: 48px; height: 48px; border-radius: 14px; background: var(--soleil); display: grid; place-items: center; }
.metier h3 { font-family: var(--titre); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; margin: 6px 0 0; }
.metier p { margin: 0; color: var(--gris); font-size: 15.5px; }
.metier .suite { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }

/* La démonstration à onglets (Ekklo) */
.onglets { display: flex; justify-content: center; gap: 6px; background: var(--creme-2); padding: 6px; border-radius: 999px; width: max-content; max-width: 100%; margin: 0 auto 36px; overflow-x: auto; }
.onglet { border: 0; background: transparent; font: inherit; font-weight: 700; font-size: 15px; padding: 11px 20px; border-radius: 999px; cursor: pointer; color: var(--gris); white-space: nowrap; }
.onglet[aria-selected="true"] { background: var(--nuit); color: var(--creme); }
.volet { display: none; }
.volet.actif { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: center; animation: apparait .35s ease; }
.volet.seul.actif { grid-template-columns: 1fr; }
.volet .texte h3 { font-family: var(--titre); font-weight: 800; font-size: 28px; letter-spacing: -0.02em; margin: 0 0 10px; line-height: 1.1; }
.volet .texte p { color: var(--gris); margin: 0 0 16px; }
.coches { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.coches li { display: flex; gap: 10px; align-items: flex-start; }
.coches li .i { color: var(--nuit); background: var(--soleil); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 2px; }
.nuit .coches li .i { color: var(--nuit); }
.demo { display: grid; grid-template-columns: 1fr; gap: 28px; }
.demo .ecran-ordi { width: 100%; }
.volet .cote { display: flex; flex-direction: column; gap: 20px; }
@keyframes apparait { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Déjà monté : les chiffres (sur la nuit) */
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; }
.chiffre { background: var(--nuit-2); border-radius: var(--rayon-l); padding: 26px 24px; }
.chiffre b { display: block; font-family: var(--titre); font-weight: 800; font-size: clamp(38px, 4vw, 54px); letter-spacing: -0.03em; line-height: 1; color: var(--soleil); }
.chiffre span { display: block; margin-top: 10px; color: var(--creme); font-weight: 600; }
.chiffre small { display: block; margin-top: 4px; color: var(--gris-clair); font-size: 14px; }
.papiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.papier { border: 1px solid #2E323C; border-radius: var(--rayon); padding: 18px; display: flex; gap: 12px; align-items: center; font-weight: 600; }
.papier .i { color: var(--soleil); }

/* Les verbes (Everfit PLAN & COACH, MOTIVATE & MEASURE…) */
.verbe { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; padding: 56px 0; }
.verbe:first-of-type { border-top: 0; }
.verbe.inverse .texte { order: 2; }
.verbe .etiquette { font-family: var(--titre); font-weight: 800; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--ocre); }
.verbe h3 { font-family: var(--titre); font-weight: 800; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.025em; line-height: 1.05; margin: 10px 0 14px; }
.verbe p { color: var(--gris); margin: 0 0 22px; }
.liste-fonctions { display: grid; gap: 16px; }
.fonction { display: flex; gap: 14px; }
.fonction .rond { width: 40px; height: 40px; border-radius: 12px; background: var(--blanc); border: 1px solid var(--trait); display: grid; place-items: center; flex: none; }
.fonction b { display: block; font-size: 16.5px; }
.fonction span { color: var(--gris); font-size: 15px; }
.visuel { position: relative; }
.visuel .ecran-tel { position: absolute; right: -10px; bottom: -36px; width: 200px; }
.visuel.tel-seul { display: flex; justify-content: center; gap: 22px; }
.visuel.tel-seul .ecran-tel { position: static; width: 240px; }

/* L'IA du coach */
.ia { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.bulle { background: var(--nuit-2); border-radius: var(--rayon-l); padding: 22px; display: grid; gap: 12px; }
.bulle p { margin: 0; padding: 12px 16px; border-radius: 16px; font-size: 15.5px; max-width: 88%; }
.bulle .coach { background: var(--soleil); color: var(--nuit); justify-self: end; border-bottom-right-radius: 4px; font-weight: 600; }
.bulle .reponse { background: #2A2E37; color: var(--creme); border-bottom-left-radius: 4px; }

/* Trois étapes (Ekklo « Démarre maintenant gratuitement en 3 étapes ») */
.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: etape; }
.etape { background: var(--intercalaire);  border-radius: var(--rayon-l); padding: 28px 26px; }
.etape::before { counter-increment: etape; content: counter(etape); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--nuit); color: var(--soleil); font-family: var(--titre); font-weight: 800; font-size: 20px; margin-bottom: 18px; }
.etape h3 { font-family: var(--titre); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; margin: 0 0 8px; }
.etape p { color: var(--gris); margin: 0; font-size: 15.5px; }

/* Nos engagements */
.engagements { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.engagement { display: flex; gap: 16px; padding: 24px; border-radius: var(--rayon-l); background: var(--intercalaire);  }
.engagement .rond { width: 44px; height: 44px; border-radius: 12px; background: var(--creme-2); display: grid; place-items: center; flex: none; }
.engagement b { display: block; font-size: 17px; margin-bottom: 4px; }
.engagement p { margin: 0; color: var(--gris); font-size: 15px; }

/* Les prix (Ekklo « Nos offres ») */
.bascule { display: inline-flex; gap: 4px; background: var(--creme-2); padding: 5px; border-radius: 999px; margin: 0 auto 40px; }
.bascule button { border: 0; background: transparent; font: inherit; font-weight: 700; font-size: 15px; padding: 10px 20px; border-radius: 999px; cursor: pointer; color: var(--gris); display: inline-flex; align-items: center; gap: 8px; }
.bascule button[aria-pressed="true"] { background: var(--blanc); color: var(--nuit); box-shadow: 0 2px 8px rgba(17,19,24,.08); }
.bascule em { font-style: normal; background: var(--soleil); color: var(--nuit); font-size: 12px; padding: 2px 8px; border-radius: 999px; }
.prix { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; text-align: left; }
.offre { background: var(--intercalaire); border-radius: 20px 3px 3px 3px; padding: 30px 28px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.offre.forte { background: var(--nuit); color: var(--creme); }
.offre .badge { position: absolute; top: 28px; right: 24px; }
.offre h3 { font-family: var(--titre); font-weight: 800; font-size: 22px; margin: 0; letter-spacing: -0.02em; }
.offre .pour { color: var(--gris); font-size: 15px; margin: -8px 0 0; }
.offre.forte .pour { color: var(--gris-clair); }
.montant { display: flex; align-items: baseline; gap: 6px; }
.montant b { font-family: var(--titre); font-weight: 800; font-size: 56px; letter-spacing: -0.04em; line-height: 1; }
.montant span { color: var(--gris); font-weight: 600; font-size: 15px; }
.offre.forte .montant span { color: var(--gris-clair); }
.eleves { display: inline-flex; align-items: center; gap: 8px; background: var(--creme); border-radius: 12px; padding: 10px 14px; font-weight: 700; font-size: 15px; }
.offre.forte .eleves { background: var(--nuit-2); }
.offre .coches { font-size: 15px; }
.offre .btn { justify-content: center; margin-top: auto; }
.annuel-note { font-size: 13.5px; color: var(--gris); min-height: 20px; margin-top: -8px; }
.offre.forte .annuel-note { color: var(--gris-clair); }
.inclus { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 28px; text-align: left; margin-top: 28px; }
.inclus li { list-style: none; display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.inclus .i { color: var(--ocre); width: 20px; height: 20px; margin-top: 2px; }
.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
.option { background: var(--intercalaire);  border-radius: var(--rayon-l); padding: 24px; }
.option .rond { width: 44px; height: 44px; border-radius: 12px; background: var(--soleil); display: grid; place-items: center; margin-bottom: 14px; }
.option b { display: block; font-size: 17px; }
.option .tarif { font-family: var(--titre); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; margin: 6px 0; }
.option p { margin: 0; color: var(--gris); font-size: 15px; }

/* La foire aux questions (Ekklo) */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--intercalaire); border-radius: 14px 3px 3px 3px; padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform .2s ease; }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { margin: 0 0 20px; color: var(--gris); }

/* Le dernier appel (Everfit « Join the coaching evolution ») */
.appel { background: var(--soleil); padding: 72px 48px; text-align: center; }
.appel h2 { font-family: var(--titre); font-weight: 800; font-size: clamp(34px, 5vw, 64px); line-height: .96; letter-spacing: -0.035em; margin: 0 0 16px; }
.appel p { font-size: 19px; margin: 0 auto 30px; max-width: 560px; }
.appel .boutons { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* Le pied */
.pied { background: #FAF9F5; color: var(--encre-2); border-top: 1px solid var(--trait); padding: 48px 0 40px; font-size: 14px; }
.pied .conteneur { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; max-width: 1120px; }
.pied p { color: var(--encre-2); font-size: 14px; margin: 10px 0 0; max-width: 34ch; }
.pied h4 { font-size: 14px; color: var(--nuit); margin: 0 0 10px; }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.pied a { text-decoration: none; opacity: .9; }
.pied a:hover { opacity: 1; text-decoration: underline; }
.pied .bas { grid-column: 1 / -1; color: var(--gris); font-size: 14px; }

/* Page Fonctionnalités : l'en-tête et les ancres */
.entete-page { padding: 72px 0 40px; }
.entete-page h1 { font-family: var(--titre); font-weight: 800; font-size: clamp(40px, 6vw, 80px); line-height: .94; letter-spacing: -0.035em; margin: 16px 0 18px; }
.entete-page p { font-size: 20px; color: var(--gris); max-width: 680px; margin: 0; }
.entete-page.centre p { margin: 0 auto; }
.ancres { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.ancres a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; background: var(--intercalaire); padding: 9px 16px; border-radius: 12px 3px 3px 3px; font-weight: 600; font-size: 15px; }
.ancres a:hover { background: var(--nuit); color: var(--creme); }
.bloc-fonctions { padding: 64px 0; scroll-margin-top: 80px; }
.bloc-fonctions .tete { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; margin-bottom: 40px; }
.grille-fonctions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.carte-fonction { padding: 4px 8px 8px 0; }
.carte-fonction .i { color: var(--nuit); background: var(--intercalaire); border-radius: 12px 3px 3px 3px; padding: 7px; width: 36px; height: 36px; }
.carte-fonction b { display: block; margin: 12px 0 4px; font-size: 16.5px; }
.carte-fonction p { margin: 0; color: var(--gris); font-size: 15px; }

/* Une colonne de grille ne s'élargit jamais à la taille d'une capture (2 040 px) : elle rétrécit. */
.accroche .conteneur > *, .volet > *, .verbe > *, .ia > *, .bloc-fonctions .tete > *, .quatre > *, .prix > *, .etapes > *,
.engagements > *, .options > *, .chiffres > *, .papiers > *, .grille-fonctions > * { min-width: 0; }
.ecran-ordi img, .ecran-tel img { width: 100%; }

/* ------------------------------------------------------------------ les tailles */
@media (max-width: 1080px) {
  .scene .ecran-ordi { right: -220px; }
  .quatre, .chiffres, .papiers { grid-template-columns: repeat(2, 1fr); }
  .grille-fonctions { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .nav, .barre .actions { display: none; }
  .burger { display: block; }
  .barre.ouverte .nav, .barre.ouverte .actions { display: flex; }
  .barre.ouverte .conteneur { flex-wrap: wrap; height: auto; padding-top: 14px; padding-bottom: 16px; }
  .barre.ouverte { background: #FAF9F5; }
  .barre.ouverte .nav { order: 3; width: 100%; flex-direction: column; gap: 14px; margin: 8px 0 0; }
  .barre.ouverte .actions { order: 4; width: 100%; margin: 6px 0 0; }
  .accroche .conteneur, .volet.actif, .verbe, .ia, .bloc-fonctions .tete { grid-template-columns: 1fr; }
  .verbe.inverse .texte { order: 0; }
  .scene { min-height: 0; display: flex; justify-content: center; }
  .scene .ecran-ordi { display: none; }
  .scene .ecran-tel { position: static; width: 250px; }
  .prix, .etapes, .engagements, .options, .inclus { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .visuel .ecran-tel { width: 150px; right: 0; }
  .appel { padding: 48px 22px; }
  .pied .conteneur { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .conteneur { padding: 0 16px; }
  .quatre, .chiffres, .papiers, .grille-fonctions { grid-template-columns: 1fr; }
  .onglets { justify-content: flex-start; }
  .accroche .conteneur { padding-top: 36px; padding-bottom: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
