/* Page conseillers : styles propres, uniquement à partir des tokens de la charte 2026. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { overflow-x: hidden; }
img { max-width: 100%; height: auto; }

.conteneur { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-6); }
@media (max-width: 640px) { .conteneur { padding: 0 var(--space-4); } }

h1, h2, h3 { font-family: var(--font-display); font-weight: var(--fw-bold); letter-spacing: var(--tracking-display); margin: 0; }
h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); color: var(--text-heading); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); color: var(--text-subheading); font-weight: var(--fw-semibold); }
p { margin: 0; }

.bande { height: var(--band-h); background: var(--degrade); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: var(--button-h); padding: 0 var(--space-7); border-radius: var(--r-pill);
  font-family: var(--font-body); font-weight: var(--fw-semibold); font-size: 17px; text-decoration: none;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn--principal { background: var(--navy); color: var(--ivoire); }
.btn--principal:hover { background: var(--prune); color: var(--ivoire); }
.btn--clair { background: var(--ivoire); color: var(--navy); }
.btn--clair:hover { background: var(--lavande); color: var(--navy); }
.btn--clair-contour { border: 1.5px solid rgba(253, 252, 255, 0.4); color: var(--ivoire); }
.btn--clair-contour:hover { border-color: var(--ivoire); color: var(--ivoire); background: rgba(253, 252, 255, 0.06); }
.btn--petit { min-height: var(--target-min); padding: 0 var(--space-5); font-size: 15px; }

/* En-tête */
.entete { background: var(--navy); position: relative; z-index: 2; }
.entete__in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 72px; }
.entete__logo { display: inline-flex; min-height: var(--target-min); align-items: center; }
.entete__logo img { width: 175px; }
@media (max-width: 640px) { .entete__logo img { width: 140px; } }

/* Couverture */
.couverture { position: relative; overflow: hidden; background: var(--navy); color: var(--text-on-dark); padding: var(--space-10) 0 var(--space-11); }
.halo { position: absolute; pointer-events: none; border-radius: 50%; }
.halo--magenta { width: 760px; height: 760px; top: -320px; right: -260px; background: var(--halo-magenta); }
.halo--ambre { width: 620px; height: 620px; bottom: -300px; left: -240px; background: var(--halo-ambre); }
.couverture__in { position: relative; text-align: center; }
.couverture h1 { color: var(--ivoire); max-width: 860px; margin: 0 auto; }
.chapo { color: var(--lavande); max-width: var(--measure); margin: var(--space-5) auto 0; font-size: 19px; }
@media (max-width: 640px) { .couverture { padding: var(--space-8) 0 var(--space-10); } .chapo { font-size: var(--fs-body); } }

.kicker { display: inline-flex; align-items: center; gap: var(--space-3); font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: var(--fs-kicker); color: var(--ambre-ink); margin-bottom: var(--space-4); }
.kicker--clair { color: var(--lavande); border: 1px solid var(--border-on-dark); background: rgba(253, 252, 255, 0.06); padding: var(--space-2) var(--space-4); border-radius: var(--r-pill); margin-bottom: var(--space-6); }
.lisere { width: 4px; height: 22px; background: var(--ambre); border-radius: 2px; }

/* Lecteur vidéo */
.lecteur { margin: var(--space-9) auto 0; max-width: 960px; }
.lecteur__cadre { position: relative; border-radius: var(--r-3xl); overflow: hidden; box-shadow: var(--shadow-deck); background: var(--encre); aspect-ratio: 16 / 9; }
.lecteur__cadre video { display: block; width: 100%; height: 100%; object-fit: cover; }
.lecteur__boucle { position: absolute; inset: 0; pointer-events: none; }
.lecteur.en-lecture .lecteur__boucle { display: none; }
.lecteur__play {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-4);
  border: 0; cursor: pointer; color: var(--ivoire); font: inherit;
  background: radial-gradient(circle at center, rgba(42, 39, 83, 0.72), rgba(42, 39, 83, 0.38) 70%);
  transition: background-color var(--dur) var(--ease);
}
.lecteur__play:focus-visible { outline-offset: -6px; }
.lecteur__rond { width: 88px; height: 88px; border-radius: 50%; background: var(--ivoire); color: var(--navy); display: grid; place-items: center; padding-left: 4px; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.lecteur__play:hover .lecteur__rond { background: var(--prune); color: var(--ivoire); }
.lecteur__libelle { font-weight: var(--fw-semibold); font-size: 17px; }
.lecteur.en-lecture .lecteur__play { display: none; }
@media (max-width: 640px) { .lecteur { margin-top: var(--space-7); } .lecteur__rond { width: 64px; height: 64px; } .lecteur__libelle { font-size: 15px; } .lecteur__cadre { border-radius: var(--r-xl); } }
video::cue { font-family: var(--font-body); font-size: 0.95em; background: rgba(42, 39, 83, 0.82); color: var(--ivoire); line-height: 1.4; }

.lecteur__legende { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-3); margin-top: var(--space-4); color: var(--lavande-2); font-size: var(--fs-caption); text-align: left; }
.lien-bouton { background: none; border: 0; color: var(--lavande); font: inherit; font-weight: var(--fw-semibold); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: var(--target-min); padding: 0 var(--space-2); }
.lien-bouton:hover { color: var(--ivoire); }

/* Sections */
.section { padding: var(--space-11) 0; }
.section--alt { background: var(--surface-alt); }
@media (max-width: 640px) { .section { padding: var(--space-10) 0; } }
.entete-section { max-width: var(--measure); margin-bottom: var(--space-8); }
.entete-section h2::after { content: ""; display: block; width: 80px; height: 2px; background: var(--degrade); margin-top: var(--space-4); }
.intro { margin-top: var(--space-5); }

/* Chiffres */
.chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-5); }
.chiffre { border: 1px solid var(--border); border-radius: var(--r-3xl); padding: var(--space-7) var(--space-6); background: var(--surface-card); }
.chiffre__val { display: block; font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 34px; line-height: 1.1; color: var(--navy); margin-bottom: var(--space-3); }
.chiffre__txt { color: var(--text-muted); font-size: 16px; line-height: 1.55; display: block; }

/* Encadrés */
.encadre { border-radius: var(--r-xl); padding: var(--space-6) var(--space-7); margin-top: var(--space-8); max-width: 820px; }
.encadre__titre { font-weight: var(--fw-semibold); margin-bottom: var(--space-2); }
.encadre--info { background: var(--rub-findevie-bg); box-shadow: inset 3px 0 0 var(--prune); }
.encadre--info .encadre__titre { color: var(--prune); }
.encadre--noter { background: var(--noter-bg); }
.encadre--noter .encadre__titre { color: var(--ambre-ink); }
@media (max-width: 640px) { .encadre { padding: var(--space-5); } }

/* Étapes */
.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
@media (max-width: 1080px) { .etapes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .etapes { grid-template-columns: 1fr; } }
.etape { background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--r-3xl); padding: var(--space-7) var(--space-6); transition: box-shadow var(--dur) var(--ease); }
.etape:hover { box-shadow: var(--shadow-card); }
.etape__num { display: block; font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 40px; line-height: 1; color: var(--ambre); margin-bottom: var(--space-5); }
.etape h3 { margin-bottom: var(--space-3); }
.etape p { font-size: 16px; line-height: 1.6; }

/* Avant / après */
.avant-apres { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-5); }
.carte { border-radius: var(--r-3xl); padding: var(--space-7); border: 1px solid var(--border); background: var(--surface-card); }
.carte--apres { background: var(--navy); border-color: var(--navy); color: var(--ivoire); box-shadow: var(--shadow-card); }
.carte--apres h3 { color: var(--ivoire); }
.carte h3 { margin-bottom: var(--space-5); }
.liste { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
.liste li { position: relative; padding-left: 36px; }
.liste li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.liste--croix li { color: var(--text-muted); }
.liste--croix li::before { background: var(--secondaire); --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E"); }
.liste--coche li { color: var(--lavande); }
.liste--coche li::before { background: var(--ambre); --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* Mot du fondateur */
.mot { display: flex; gap: var(--space-6); align-items: flex-start; max-width: 820px; background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--r-3xl); padding: var(--space-7); }
.mot__photo { width: 96px; height: 96px; border-radius: 50%; flex: none; }
.mot__texte { font-size: 19px; color: var(--navy); font-weight: var(--fw-medium); }
.mot__signe { margin-top: var(--space-3); color: var(--text-muted); font-size: var(--fs-caption); }
@media (max-width: 640px) { .mot { flex-direction: column; padding: var(--space-6); } .mot__photo { width: 72px; height: 72px; } .mot__texte { font-size: var(--fs-body); } }

/* Bloc conseiller */
.conseiller { padding-top: var(--space-10); }
.conseiller__carte { display: flex; align-items: center; justify-content: space-between; gap: var(--space-8); border: 1.5px solid var(--navy); border-radius: var(--r-3xl); padding: var(--space-8); background: var(--surface-card); }
.conseiller__carte p:not(.kicker) { margin-top: var(--space-3); max-width: 560px; }
.conseiller__carte .btn { flex: none; }
@media (max-width: 760px) { .conseiller__carte { flex-direction: column; align-items: stretch; padding: var(--space-6); gap: var(--space-6); } }

/* Pied */
.pied { position: relative; overflow: hidden; background: var(--navy); color: var(--lavande); }
.halo--pied { width: 600px; height: 600px; bottom: -380px; right: -200px; }
.pied__in { position: relative; padding: var(--space-9) var(--space-6); display: grid; gap: var(--space-4); }
.pied__in img { width: 150px; }
.pied__mentions { font-size: var(--fs-small); color: var(--lavande-2); }
.pied a { color: var(--lavande); }
.pied a:hover { color: var(--ivoire); }

/* Bouton sous la vidéo (sur navy : ivoire plein) */
.couverture__action { margin-top: var(--space-7); }
@media (max-width: 640px) { .couverture__action .btn { width: 100%; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
