/* =========================================================================
   Accueil « Sobre » (maquette 1, validee le 2026-11-13).
   Cahier des charges : Bureau/« Vitrine Caelys maquette 1.md ».
   Charge UNIQUEMENT par templates/marketing/landing.html : les regles
   globales ci-dessous (fond, police) ne touchent aucune autre page.
   Grille : 8 colonnes, 1200 px, gouttieres de 24 px (section 2.1).
   Animations : transform et opacity seulement (sauf la lueur du
   pourcentage, demandee par la maquette).
   Copyright (c) 2026 Yohann Bordin, Tous droits reserves.
   ========================================================================= */

:root {
  --sb-fond: #0B0A09;
  --sb-texte: #F2EEE8;
  --sb-intro: #B9B1A7;
  --sb-second: #ABA399;
  --sb-discret: #8F887F;
  --sb-liste: #E4DED6;
  --sb-orange: #E9875E;
  --sb-orange-survol: #F4A47F;
  --sb-bouton: #C44A1F;
  --sb-bouton-survol: #D3562A;
  --sb-marque: #E66B3C;
  --sb-champagne: #E5C06E;
  --sb-carte: #141210;
  --sb-tuile: #1A1613;
  --sb-ligne: rgba(255, 255, 255, .08);
  --sb-ligne-2: rgba(255, 255, 255, .10);
  --sb-trait: rgba(255, 255, 255, .16);
  --sb-pt1: #E5C06E; --sb-pt2: #F1D79A; --sb-pt3: #E9875E;
  --sb-courbe: cubic-bezier(.22, .8, .3, 1);
  --sb-marge: clamp(20px, 4vw, 32px);
}

/* Fond uni, police Inter auto-hebergee (socle.css). */
html.vitrine { background-color: var(--sb-fond) !important; }
body { background: var(--sb-fond) !important; color: var(--sb-texte); }
.sb, .sb-tete, .sb-pied {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--sb-texte);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: normal;
  letter-spacing: normal;
}
.sb *, .sb-tete *, .sb-pied * { box-sizing: border-box; }
/* vitrine.css impose Albert Sans et l'equilibrage aux titres : ici, Inter
   partout et les retours a la ligne de la maquette. */
.vitrine .sb :is(h1, h2, h3, h4), .vitrine .sb-pied :is(h1, h2, h3, h4) { font-family: inherit; text-wrap: wrap; }
.vitrine .sb h3 { letter-spacing: normal; }
.vitrine .sb .sb-h1 { letter-spacing: -.022em; }
.vitrine .sb :is(p, li, dd) { text-wrap: wrap; }
.sb a, .sb-tete a, .sb-pied a { text-decoration: none; }
.sb h1, .sb h2, .sb h3, .sb p, .sb ul, .sb ol, .sb figure, .sb blockquote { margin: 0; }
.sb ul, .sb ol, .sb-pied ul { list-style: none; padding: 0; }
.sb :focus-visible, .sb-tete :focus-visible, .sb-pied :focus-visible {
  outline: 2px solid var(--sb-champagne); outline-offset: 3px; border-radius: 6px;
}

/* ---------- Grille de 8 colonnes (2.1) ---------------------------------- */
.sb-wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--sb-marge); }
.sb-g8 { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); column-gap: 24px; }
.s2 { grid-column: span 2; } .s3 { grid-column: span 3; } .s4 { grid-column: span 4; }
.s5 { grid-column: span 5; } .s6 { grid-column: span 6; } .s8 { grid-column: 1 / -1; }
@media (max-width: 860px) {
  .sb-g8 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .s3, .s4, .s5, .s6, .s8 { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .s2:not(.keep2) { grid-column: 1 / -1; }
}

/* ---------- Typographie (2.4) et boutons (2.5) -------------------------- */
.sb-eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--sb-champagne); }
.sb-h1 {
  font-size: clamp(34px, 3.3vw, 50px); font-weight: 500; line-height: 1.14;
  letter-spacing: -.022em; margin-top: 24px !important; max-width: 16ch; color: var(--sb-texte);
}
.sb-h2 { font-size: clamp(28px, 2.6vw, 38px); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; color: var(--sb-texte); }
.sb-orange { color: var(--sb-orange); }
.sb-champagne { color: var(--sb-champagne); }
.sb-insec { white-space: nowrap; }
.sb-muted { color: var(--sb-second); }
.sb-intro { font-size: 18px; line-height: 1.65; color: var(--sb-intro); margin-top: 24px !important; max-width: 46ch; }
.sb-sous { font-size: 17px; line-height: 1.6; color: var(--sb-second); margin-top: 16px !important; }

.sb-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.sb-btn, .sb-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-size: 16px; font-weight: 500; white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease;
}
.sb-btn { background: var(--sb-bouton); color: #FFFFFF !important; }
.sb-btn:hover { background: var(--sb-bouton-survol); }
.sb-btn-ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .18); color: var(--sb-texte) !important; }
.sb-btn-ghost:hover { border-color: rgba(255, 255, 255, .40); }
.sb-lien { color: var(--sb-orange) !important; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; transition: color .2s ease; }
.sb-lien:hover { color: var(--sb-orange-survol) !important; }
.sb-lien svg { flex: 0 0 auto; transition: transform .2s ease; }
.sb-lien:hover svg { transform: translateX(3px); }
.sb-lien-14 { font-size: 14px; }

/* ---------- En-tete (3) ------------------------------------------------- */
.sb-tete { border-bottom: 1px solid rgba(255, 255, 255, .07); background: var(--sb-fond); position: relative; z-index: 30; }
.sb-tete-g { height: 80px; align-items: center; }
.sb-marque { display: flex; align-items: center; gap: 12px; color: var(--sb-texte); min-width: 0; }
.sb-marque img { width: 36px; height: 36px; flex: 0 0 auto; }
.sb-marque-txt { display: flex; flex-direction: column; line-height: 1.1; }
.sb-marque-nom { font-size: 17px; letter-spacing: .32em; font-weight: 500; color: var(--sb-texte); }
.sb-marque-sous { font-size: 10px; letter-spacing: .2em; color: var(--sb-champagne); margin-top: 3px; white-space: nowrap; }
/* Sous-titre « Formation en assurance » (cahier v3, A6), plus long que
   l'ancien « Certification AFA » : il touchait le menu de 960 a 1040 px
   (« VERSICHERUNGSAUSBILDUNG », 23 lettres, des 1024 px) et le bouton
   jour/nuit sur telephone. On resserre, puis on le retire la ou il ne tient
   pas (le nom CAELYS reste). */
html[lang="de"] .sb-marque-sous { letter-spacing: .08em; }
@media (max-width: 1040px) {
  .sb-marque-sous { letter-spacing: .04em; }
  html[lang="de"] .sb-marque-sous { letter-spacing: .02em; font-size: 9px; }
}
@media (max-width: 520px) { .sb-marque-sous { display: none; } }
.sb-nav { display: flex; justify-content: center; align-items: center; gap: clamp(16px, 2.2vw, 32px); white-space: nowrap; }
.sb-nav > a, .sb-ress-btn { color: var(--sb-intro); font-size: 15px; transition: color .2s ease; }
.sb-nav > a:hover, .sb-ress-btn:hover, .sb-ress-btn[aria-expanded="true"] { color: var(--sb-texte); }
.sb-ress { position: relative; }
.sb-ress-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.sb-ress-btn svg { flex: 0 0 auto; max-width: none; transition: transform .2s ease; }
.sb-ress-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%);
  min-width: 220px; padding: 8px; border-radius: 14px;
  background: #141210; border: 1px solid var(--sb-ligne-2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  display: flex; flex-direction: column;
}
.sb-ress-menu a { padding: 10px 12px; border-radius: 8px; font-size: 15px; color: var(--sb-intro); }
.sb-ress-menu a:hover { background: rgba(255, 255, 255, .05); color: var(--sb-texte); }
.sb-droite { display: flex; align-items: center; justify-content: flex-end; gap: 16px; white-space: nowrap; }
.sb-langues { font-size: 13px; color: var(--sb-discret); letter-spacing: .06em; }
.sb-langues a { color: var(--sb-discret); }
.sb-langues a:hover, .sb-langues a.est-actif { color: var(--sb-texte); }
.sb-connexion { font-size: 15px; color: var(--sb-texte); }
/* Bouton mode clair ou sombre : il montre le mode vers lequel on passe. */
.sb-theme {
  width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%; padding: 0;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  border: 1px solid var(--sb-trait); background: transparent; color: var(--sb-intro);
  transition: color .2s ease, border-color .2s ease;
}
.sb-theme:hover { color: var(--sb-texte); border-color: var(--sb-champagne); }
.sb-theme svg { flex: 0 0 auto; max-width: none; }
.sb-theme-lune, .theme-clair .sb-theme-soleil { display: none; }
.theme-clair .sb-theme-lune { display: block; }
@media (pointer: coarse) { .sb-theme { width: 44px; height: 44px; flex-basis: 44px; } }

.sb-connexion:hover { color: var(--sb-marque); }
.sb-burger {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--sb-trait); background: transparent; color: var(--sb-texte);
  align-items: center; justify-content: center; cursor: pointer;
}
/* Portables a mise a l'echelle (1024 a 1180 px) : on serre le menu pour que
   rien ne se chevauche (regle « toutes tailles d'ecran »). */
@media (max-width: 1180px) {
  .sb-nav > a, .sb-ress-btn { font-size: 14px; }
  .sb-nav { gap: 14px; }
  .sb-droite { gap: 12px; }
}
@media (max-width: 1040px) {
  .sb-langues { display: none; }
}
@media (max-width: 960px) {
  .sb-nav > a, .sb-ress-btn { font-size: 13px; }
  .sb-nav { gap: 10px; }
  .sb-droite { gap: 10px; }
  .sb-connexion { font-size: 14px; }
  .sb-theme:not(:is(.x)) { width: 32px; height: 32px; flex-basis: 32px; }
}
@media (max-width: 960px) and (pointer: coarse) {
  .sb-theme:not(:is(.x)) { width: 44px; height: 44px; flex-basis: 44px; }
}
@media (max-width: 860px) {
  .sb-tete-g { display: flex; justify-content: space-between; }
  .sb-nav, .sb-langues { display: none; }
  .sb-burger { display: inline-flex; }
}

/* ---------- Accueil (4) ------------------------------------------------- */
.sb-hero { padding: 96px 0; }
.sb-hero-g { align-items: center; row-gap: 48px; }
@media (max-width: 860px) { .sb-hero { padding: 56px 0 64px; } }

/* Miniature video (4.2) : HTML et CSS, aucune image lourde. */
.sb-vid {
  position: relative; border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1); aspect-ratio: 16 / 9;
  background: radial-gradient(ellipse at 74% 45%, rgba(230, 107, 60, .14), rgba(14, 12, 11, 0) 55%), #0E0C0B;
}
.sb-vid-btn {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer;
}
div.sb-vid-btn { cursor: default; }
/* Une fois la video lancee, le bouton disparait vraiment : sans cette regle,
   display:block l emporte sur l attribut hidden et le bouton reste par-dessus. */
.sb-vid-btn[hidden], .sb-vid-lecteur[hidden] { display: none !important; }
.sb-vid-zone { position: absolute; left: 0; right: 0; top: 0; bottom: 56px; }
div.sb-vid-btn .sb-vid-zone { bottom: 0; }
.sb-vid-logo {
  position: absolute; left: 74%; top: 50%; width: 36% !important; height: auto;
  transform: translate(-50%, -50%); opacity: .16; pointer-events: none;
}
.sb-vid-play {
  position: absolute; left: 74%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  border-radius: 50%; background: var(--sb-bouton); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(196, 74, 31, .45); transition: background-color .2s ease;
}
.sb-vid-play svg { position: relative; z-index: 1; }
/* Scintillement : deux anneaux qui grandissent en s'effacant. */
.sb-vid-play::before, .sb-vid-play::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(233, 135, 94, .7);
  animation: sb-ping 2.4s cubic-bezier(.2, .6, .3, 1) infinite;
}
.sb-vid-play::after { animation-delay: 1.2s; }
@keyframes sb-ping { 0% { transform: scale(1); opacity: .75; } 100% { transform: scale(1.9); opacity: 0; } }
.sb-vid-btn:hover .sb-vid-play { background: var(--sb-bouton-survol); }
.sb-vid-phrase {
  position: absolute; left: 7%; top: 50%; transform: translateY(-50%); max-width: 50%;
  font-size: clamp(17px, 1.9vw, 28px); font-weight: 500; line-height: 1.2; letter-spacing: -.015em; color: var(--sb-texte);
}
.sb-vid-barre {
  position: absolute; left: 0; right: 0; bottom: 0; height: 56px; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(20, 18, 16, .96); border-top: 1px solid var(--sb-ligne);
}
.sb-vid-titre { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; color: var(--sb-texte); white-space: nowrap; min-width: 0; }
.sb-vid-point { width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: var(--sb-marque); box-shadow: 0 0 0 4px rgba(230, 107, 60, .18); }
.sb-vid-duree { display: flex; align-items: center; gap: 16px; font-size: 14px; color: var(--sb-second); white-space: nowrap; }
.sb-vid-trait { width: 1px; height: 22px; background: rgba(255, 255, 255, .14); }
.sb-vid-lecteur { position: absolute; inset: 0; width: 100% !important; height: 100% !important; background: #000; }
@media (max-width: 560px) { .sb-vid-titre { font-size: 14px; } .sb-vid-barre { padding: 0 14px; } }
@media (max-width: 380px) { .sb-vid-trait { display: none; } }

/* ---------- Chiffres cles (5) ------------------------------------------- */
.sb-stats { border-top: 1px solid var(--sb-ligne-2); border-bottom: 1px solid var(--sb-ligne-2); }
.sb-stat { padding: 32px 24px; border-left: 1px solid var(--sb-ligne-2); }
.sb-stat:first-child { padding-left: 0; border-left: 0; }
.sb-stat-n { font-size: 40px; font-weight: 500; letter-spacing: -.02em; line-height: 1.15; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sb-stat-l { font-size: 15px; color: var(--sb-second); margin-top: 8px; }
/* Note de source du taux de reussite (cahier v3, A2) : petite, sous le bloc. */
.sb-stats-note { margin: 0; padding: 0 0 18px; font-size: 13px; line-height: 1.5; color: var(--sb-second); max-width: 72ch; }
@media (max-width: 860px) {
  .sb-stats-g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sb-stats .sb-stat { grid-column: span 1; border-left: 0; padding: 20px 0; }
  .sb-stat-n { font-size: 30px; }
}

/* Pourcentage anime (5.1). */
.sb-pct-boite { position: relative; display: inline-block; }
.sb-pct { position: relative; font-weight: 600; color: var(--sb-champagne); transition: text-shadow 1.8s ease; }
.sb-pct.est-lumineux { text-shadow: 0 0 22px rgba(229, 192, 110, .55); }
.sb-fx {
  position: absolute; left: -28px; right: -28px; top: -24px; bottom: -12px;
  pointer-events: none; opacity: 0; transition: opacity 1.8s ease;
}
.sb-fx.est-actif { opacity: 1; transition: opacity .4s ease; }
.sb-fx i {
  position: absolute; border-radius: 50%; opacity: 0;
  background: var(--c); box-shadow: 0 0 6px var(--c);
  animation-name: sb-pt; animation-timing-function: ease-out; animation-iteration-count: infinite;
  animation-play-state: paused;
}
.sb-fx.est-actif i, .sb-fx.est-fondu i { animation-play-state: running; }
@keyframes sb-pt {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(.2); opacity: 0; }
}

/* ---------- Sections (rythme 2.2) --------------------------------------- */
.sb-sec { padding-top: 96px; }
@media (max-width: 860px) { .sb-sec { padding-top: 72px; } }
.sb-haut { row-gap: 32px; align-items: start; }

/* Pourquoi choisir Caelys (6) */
.sb-pq-texte { max-width: 30ch; }
.sb-pq-liste { border-top: 1px solid var(--sb-ligne-2); }
.sb-pq-liste li { display: flex; align-items: center; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--sb-ligne-2); font-size: 17px; line-height: 1.5; color: var(--sb-liste); }
.sb-pq-ico {
  flex: 0 0 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(229, 192, 110, .35); color: var(--sb-champagne);
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Carrousel (7) ----------------------------------------------- */
.sb-mods { overflow: hidden; }
.sb-car {
  position: relative; height: 500px; margin-top: 40px;
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab;
}
.sb-car.est-tenu { cursor: grabbing; }
.sb-car:focus-visible { outline: 2px solid var(--sb-champagne); outline-offset: -2px; border-radius: 22px; }
.sb-carte {
  position: absolute; left: 50%; top: 50%; width: 320px; max-width: 78vw; height: 448px;
  border-radius: 22px; border: 1px solid var(--sb-ligne); background: var(--sb-carte);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .6s var(--sb-courbe), opacity .6s ease, border-color .6s ease;
  will-change: transform;
}
.sb-carte.est-active { border-color: rgba(230, 107, 60, .55); }
.sb-car.est-tenu .sb-carte, .sb-carte.sans-transition { transition: none; }
.sb-carte-tuile {
  height: 196px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 55%, rgba(203, 107, 63, .20), rgba(20, 18, 16, 0) 62%), var(--sb-tuile);
}
.sb-carte-tuile svg { width: 96px; height: 96px; max-width: none; }
.sb-carte-corps { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; min-height: 0; }
.sb-carte-tete { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sb-carte-etiq { font-size: 13px; color: var(--sb-second); }
.sb-badge { font-size: 12px; color: var(--sb-champagne); border: 1px solid rgba(229, 192, 110, .4); border-radius: 999px; padding: 3px 10px; }
.sb-carte-nom { font-size: 19px; font-weight: 600; line-height: 1.3; margin-top: 8px !important; color: var(--sb-texte); }
.sb-carte-faits { font-size: 14px; color: var(--sb-second); margin-top: 6px; }
.sb-carte-texte { font-size: 14px; line-height: 1.55; color: var(--sb-second); margin-top: 10px !important; }
.sb-carte-pied { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--sb-ligne); min-height: 40px; display: flex; align-items: center; }
.sb-carte-pied .sb-lien { font-size: 15px; }
.sb-carte:not(.est-active) .sb-carte-pied .sb-lien { visibility: hidden; }
.sb-carte-choix { position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; border: 0; cursor: pointer; padding: 0; }
.sb-carte-choix[hidden] { display: none; }
.sb-car.est-tenu .sb-carte-choix { cursor: grabbing; }

/* Courbe d'indication (7.3) : 5 points poses sur la courbe. Chaque point vit
   dans une boite de la taille de la courbe, deplacee en % d'elle-meme : le
   glissement se fait donc par transform. */
.sb-courbe { position: relative; width: 100%; max-width: 420px; aspect-ratio: 400 / 40; margin: 24px auto 0; }
.sb-courbe > svg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.sb-point { position: absolute; inset: 0; pointer-events: none; transition: transform .6s var(--sb-courbe); }
.sb-point.sans-transition { transition: none; }
.sb-point button {
  position: absolute; left: 0; top: 0; width: 28px; height: 28px; transform: translate(-50%, -50%);
  border: 0; background: transparent; padding: 0; cursor: pointer; pointer-events: auto;
  display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 0;
}
.sb-point button span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .28); transition: transform .4s ease, background-color .4s ease; }
.sb-point button.est-actif span { background: var(--sb-marque); transform: scale(1.5714); }
@media (pointer: coarse) { .sb-point button { width: 44px; height: 44px; } }
.sb-equipe { text-align: center; font-size: 15px; color: var(--sb-second); margin-top: 32px !important; padding: 0 var(--sb-marge); }

/* ---------- Comment ca marche (8) --------------------------------------- */
.sb-ccm-tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; }
.sb-ccm { margin-top: 48px !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 40px 28px; }
.sb-ccm li { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); }
.sb-ccm-n { font-size: 14px; color: var(--sb-orange); font-weight: 600; letter-spacing: .06em; }
.sb-ccm h3 { font-size: 18px; font-weight: 600; margin-top: 14px; color: var(--sb-texte); }
.sb-ccm p { font-size: 15px; line-height: 1.55; color: var(--sb-second); margin-top: 10px; }

/* ---------- Dans la poche (9) ------------------------------------------- */
.sb-poche {
  align-items: center; row-gap: 40px; padding: 64px 56px; border-radius: 20px;
  border: 1px solid var(--sb-ligne); background: #12100E;
}
.sb-poche-intro { font-size: 17px; line-height: 1.6; color: var(--sb-intro); margin-top: 16px !important; max-width: 46ch; }
.sb-poche-liste { margin-top: 40px !important; display: flex; flex-direction: column; gap: 24px; }
.sb-poche-liste li { display: flex; gap: 16px; }
.sb-poche-ico { flex: 0 0 40px; height: 40px; border-radius: 12px; background: rgba(230, 107, 60, .12); color: var(--sb-orange); display: flex; align-items: center; justify-content: center; }
.sb-poche-liste h3 { font-size: 17px; font-weight: 600; color: var(--sb-texte); }
.sb-poche-liste p { font-size: 15px; line-height: 1.55; color: var(--sb-second); margin-top: 8px; }
.sb-poche-img { display: flex; justify-content: center; }
.sb-poche-img img { width: 100%; max-width: 540px; height: auto; }
@media (max-width: 860px) { .sb-poche { padding: 36px 22px; } }

/* ---------- Avis (10) --------------------------------------------------- */
.sb-avis-g { row-gap: 48px; align-items: center; }
.sb-avis-note { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-wrap: wrap; font-size: 15px; }
.sb-note strong { font-weight: 600; }
.sb-etoiles { display: inline-flex; gap: 2px; color: var(--sb-champagne); }
.sb-etoile-off { color: rgba(255, 255, 255, .18); display: inline-flex; }
.sb-demo { font-size: 13px; color: var(--sb-champagne); margin-top: -24px !important; }
.sb-avis {
  align-self: stretch; display: flex; flex-direction: column; gap: 16px; padding: 24px;
  background: var(--sb-carte); border: 1px solid var(--sb-ligne); border-radius: 20px;
}
.sb-avis-tete { display: flex; justify-content: space-between; align-items: center; }
.sb-avis-g-lien { display: inline-flex; align-items: center; justify-content: center; }
.sb-avis-texte {
  font-size: 15px; line-height: 1.6; color: var(--sb-liste);
  display: -webkit-box; -webkit-line-clamp: 7; line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden;
}
.sb-avis-texte.est-ouvert { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; }
.sb-lire {
  align-self: flex-start; background: none; border: 0; padding: 0; margin-top: -6px; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 500; color: var(--sb-orange);
}
.sb-lire:hover { color: var(--sb-orange-survol); }
.sb-avis figcaption { margin-top: auto; font-size: 14px; display: flex; flex-direction: column; gap: 4px; }
.sb-avis figcaption strong { font-weight: 600; }
@media (max-width: 860px) {
  .sb-avis-note { justify-content: flex-start; }
  .sb-avis-g { row-gap: 24px; }
  .sb-avis.s2 { grid-column: span 2; }
}
@media (max-width: 560px) { .sb-avis.s2 { grid-column: 1 / -1; } }

/* ---------- FAQ (11) ---------------------------------------------------- */
.sb-faq-texte { margin-bottom: 24px !important; }
.sb-faq { border-top: 1px solid var(--sb-ligne-2); }
.sb-faq details { border-bottom: 1px solid var(--sb-ligne-2); padding: 24px 0; }
.sb-faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 17px; font-weight: 500; color: var(--sb-texte);
}
.sb-faq summary::-webkit-details-marker { display: none; }
.sb-chev { color: var(--sb-second); display: flex; flex: 0 0 auto; transition: transform .3s var(--sb-courbe); }
.sb-faq details[open] .sb-chev { transform: rotate(180deg); }
.sb-faq details p { font-size: 15px; line-height: 1.6; color: var(--sb-second); margin-top: 16px; max-width: 60ch; }

/* ---------- Appel final et confiance (12) ------------------------------- */
.sb-fin { padding-bottom: 96px; }
.sb-final {
  border-radius: 28px; border: 1px solid rgba(230, 107, 60, .35); background: #15100D;
  padding: 64px 56px; align-items: center; row-gap: 32px;
}
.sb-final-cta { display: flex; justify-content: flex-end; }
@media (max-width: 860px) {
  .sb-final { padding: 36px 22px; }
  .sb-final-cta { grid-column: 1 / -1; justify-content: flex-start; }
}
.sb-confiance { margin-top: 48px !important; row-gap: 16px; }
.sb-confiance li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--sb-second); }
/* Une seule ligne (demande de Yohann, 2026-11-13) : le premier point part du
   bord gauche du bloc « Prêt(e) à démarrer », le dernier finit sur son bord
   droit. Si l'ecran est trop etroit, les points passent a la ligne entiers. */
.sb-confiance.sb-g8 { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 20px; }
.sb-confiance li { white-space: nowrap; font-size: 13.5px; gap: 10px; }
.sb-confiance a { color: var(--sb-second); }
.sb-confiance a:hover { color: var(--sb-texte); }
.sb-conf-ico { color: var(--sb-champagne); display: flex; flex: 0 0 auto; }
@media (max-width: 860px) {
  .sb-confiance.sb-g8 { flex-direction: column; }
  .sb-confiance li { white-space: normal; font-size: 14px; }
}

/* ---------- Pied de page (12.3) ----------------------------------------- */
.sb-pied { border-top: 1px solid var(--sb-ligne); padding: 64px 0 40px; background: var(--sb-fond); }
.sb-pied-g { row-gap: 40px; }
@media (max-width: 860px) { .sb-pied .s2 { grid-column: span 2; } }
@media (max-width: 560px) { .sb-pied .s2 { grid-column: 1 / -1; } }
.sb-pied-marque { display: inline-flex; align-items: center; gap: 12px; color: var(--sb-texte); }
.sb-pied-marque img { width: 32px; height: 32px; }
.sb-pied-marque span { font-size: 16px; letter-spacing: .32em; font-weight: 500; }
.sb-pied-txt { font-size: 14px; line-height: 1.6; color: var(--sb-second); margin: 16px 0 0; max-width: 30ch; }
.sb-pied-titre { font-size: 14px; font-weight: 600; margin: 0 0 16px; color: var(--sb-texte); }
.sb-pied ul { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.sb-pied li { font-size: 14px; color: var(--sb-second); }
.sb-pied li a { color: var(--sb-second); }
.sb-pied li a:hover { color: var(--sb-texte); }
.sb-pied-bas {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--sb-ligne);
  font-size: 13px; color: var(--sb-discret);
}
.sb-pied-bas a { color: var(--sb-discret); }
.sb-pied-bas a:hover, .sb-pied-bas a.est-actif { color: var(--sb-texte); }

/* ---------- Mouvement reduit -------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .sb-vid-play::before, .sb-vid-play::after { animation: none; opacity: 0; }
  .sb-carte, .sb-point, .sb-chev, .sb-lien svg { transition: none; }
  .sb-fx { display: none; }
}

/* ---------- Cibles tactiles de 44 px sur telephone et tablette (14) ------ */
@media (max-width: 860px), (pointer: coarse) {
  .sb-avis-note .sb-lien, .sb-confiance a { min-height: 44px; display: inline-flex; align-items: center; }
  .sb-pied-bas a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
  .sb-pied-bas nav { display: flex; align-items: center; }
}

/* =========================================================================
   Variante claire (cahier, section 13) : classe `theme-clair` posee sur
   <html> par le mecanisme commun du site (base.html, cle `caelys-theme`).
   Meme structure, memes textes, memes animations : seules les couleurs
   changent. Restent sombres : la miniature video, les tuiles des logos de
   modules et le bloc telephone (ils retrouvent les jetons sombres).
   ========================================================================= */
.theme-clair {
  --sb-fond: #F6F3EE;
  --sb-texte: #1B1714;
  --sb-intro: #4F473F;
  --sb-second: #5E564E;
  --sb-discret: #6F665D;
  --sb-liste: #2B2520;
  --sb-orange: #B4441B;
  --sb-orange-survol: #8E3412;
  --sb-champagne: #8C6414;
  --sb-carte: #FFFFFF;
  --sb-tuile: #221A16;
  --sb-ligne: rgba(27, 23, 20, .08);
  --sb-ligne-2: rgba(27, 23, 20, .10);
  --sb-trait: rgba(27, 23, 20, .18);
  --sb-pt1: #8C6414; --sb-pt2: #B8862B; --sb-pt3: #B4441B;
}
.theme-clair .sb-vid, .theme-clair .sb-poche {
  --sb-texte: #F2EEE8; --sb-intro: #B9B1A7; --sb-second: #ABA399; --sb-discret: #8F887F;
  --sb-orange: #E9875E; --sb-orange-survol: #F4A47F; --sb-champagne: #E5C06E;
  --sb-ligne: rgba(255, 255, 255, .08); --sb-ligne-2: rgba(255, 255, 255, .10);
}
.theme-clair .sb-poche { background: #17120F; border-color: transparent; }
.theme-clair .sb-tete { border-bottom-color: var(--sb-ligne); }
.theme-clair .sb-ress-menu { background: #FFFFFF; box-shadow: 0 18px 40px rgba(27, 23, 20, .12); }
.theme-clair .sb-ress-menu a:hover { background: rgba(27, 23, 20, .05); }
.theme-clair .sb-burger,
.theme-clair .sb-btn-ghost { border-color: var(--sb-trait); }
.theme-clair .sb-btn-ghost:hover { border-color: rgba(27, 23, 20, .45); }
.theme-clair .sb-pct.est-lumineux { text-shadow: 0 0 22px rgba(184, 134, 43, .28); }
.theme-clair .sb-fx i { box-shadow: 0 0 4px var(--c); }
.theme-clair .sb-pq-ico, .theme-clair .sb-badge { border-color: rgba(140, 100, 20, .35); }
.theme-clair .sb-carte { box-shadow: 0 1px 2px rgba(27, 23, 20, .04); }
.theme-clair .sb-carte.est-active { box-shadow: 0 18px 40px rgba(27, 23, 20, .10); }
.theme-clair .sb-point button span { background: rgba(27, 23, 20, .25); }
.theme-clair .sb-ccm li { border-top-color: rgba(27, 23, 20, .14); }
.theme-clair .sb-etoile-off { color: rgba(27, 23, 20, .18); }
.theme-clair .sb-final { background: #F1E2D6; }
.theme-clair :focus-visible { outline-color: #B4441B; }

/* Courbe sous le carrousel */
.sb-courbe-trait { stroke: rgba(255, 255, 255, .16); }
.theme-clair .sb-courbe-trait { stroke: rgba(27, 23, 20, .18); }
/* Passage d'un mode a l'autre en fondu, sans animer toute la page. */
html.theme-bascule, html.theme-bascule body, html.theme-bascule .sb-tete, html.theme-bascule .sb-pied,
html.theme-bascule .sb-carte, html.theme-bascule .sb-final, html.theme-bascule .sb-avis {
  transition: background-color .35s ease, color .35s ease, border-color .35s ease;
}

/* =========================================================================
   Ciel de particules (essai du 2026-11-13, a valider par Yohann) : quelques
   points lumineux qui derivent lentement dans le fond, pour habiller la page
   sans lui retirer son cote professionnel. Dessine par accueil-sobre.js dans
   un canvas fixe, derriere le contenu. Jamais sur appareil modeste (eco),
   image fixe si le mouvement est refuse, a l'arret pendant la video.
   ========================================================================= */
.sb-ciel { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.sb, .sb-pied { position: relative; z-index: 1; }
html.eco .sb-ciel { display: none; }

/* Cible tactile du lien de connexion (« Log in » faisait 41 px de large sur
   telephone, audit du 2026-11-16) : 44 px minimum au doigt. */
@media (pointer: coarse) {
  .sb-connexion { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
}
