/* =========================================================
   Réussir son couple — test de variations de design
   Police conservée : Epilogue. Tonalités issues du logo :
   rose poudré #CE959C et bordeaux #3D1E24.
   Ambiance retenue : B (nuit) — appliquée via data-v="b" sur <html>.
   A (crème) et C (rose) restent définies, il suffit de changer data-v.
   ========================================================= */

:root {
  --rose: #CE959C;
  --rose-pale: #E8C4C8;
  --rose-brume: #F6E7E6;
  --bordeaux: #3D1E24;
  --bordeaux-clair: #5A3038;
  --creme: #FBF6F1;
  --sable: #F1E6DC;
  --terre: #B07B62;
  --blanc: #FFFFFF;

  --max: 1080px;
  --radius: 20px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

/* ---- Ambiance A : crème clinique chaleureuse ---- */
html[data-v="a"] {
  --bg: var(--creme);
  --ink: var(--bordeaux);
  --ink-soft: rgba(61, 30, 36, 0.72);
  --surface: var(--blanc);
  --surface-2: var(--sable);
  --line: rgba(61, 30, 36, 0.12);
  --accent: var(--terre);
  --btn-bg: var(--bordeaux);
  --btn-ink: var(--creme);
  --halo: var(--rose-brume);
}

/* ---- Ambiance B : nuit bordeaux, intime ---- */
html[data-v="b"] {
  --bg: #2A1419;
  --ink: #F7EDE9;
  --ink-soft: rgba(247, 237, 233, 0.72);
  --surface: rgba(255, 255, 255, 0.06);
  --surface-2: rgba(255, 255, 255, 0.1);
  --line: rgba(247, 237, 233, 0.18);
  --accent: var(--rose);
  --btn-bg: var(--rose);
  --btn-ink: #2A1419;
  --halo: rgba(206, 149, 156, 0.18);
}

/* ---- Ambiance C : rose poudré éditorial ---- */
html[data-v="c"] {
  --bg: var(--rose);
  --ink: var(--bordeaux);
  --ink-soft: rgba(61, 30, 36, 0.78);
  --surface: #FDF8F5;
  --surface-2: rgba(255, 255, 255, 0.45);
  --line: rgba(61, 30, 36, 0.16);
  --accent: var(--bordeaux);
  --btn-bg: var(--bordeaux);
  --btn-ink: #FDF8F5;
  --halo: rgba(255, 255, 255, 0.35);
}

* { box-sizing: border-box; }

/* un display: flex/grid d'auteur l'emporte sinon sur l'attribut hidden */
[hidden] { display: none !important; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Epilogue", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

.wrap--narrow { max-width: 720px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.025em; margin: 0 0 16px; }
h1 { font-size: clamp(34px, 5.4vw, 60px); font-weight: 700; }
h2 { font-size: clamp(25px, 3.2vw, 34px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 16px; }

/* liens dans le corps de texte */
p a, li a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
p a:hover, li a:hover { color: var(--accent); }

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.lede { font-size: clamp(18px, 2.1vw, 21px); color: var(--ink-soft); }
.muted { color: var(--ink-soft); }
.small { font-size: 14px; line-height: 1.6; color: var(--ink-soft); }

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

/* en-tête posé par-dessus le contenu, sans fond, et qui part au défilement */
.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 28px;
  pointer-events: none; /* seuls le logo et le menu restent cliquables */
}
.topbar > * { pointer-events: auto; }

.topbar .logo {
  /* le logo est large : rose sur le fond sombre, sans médaillon */
  display: block;
  height: 68px;
  width: auto;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.3));
}
/* sur un téléphone, plus bas : le bouton « Faire le test » tient sur une ligne */
@media (max-width: 560px) { .topbar .logo { height: 54px; } }

/* pastille « verre » du menu */
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 13px 22px 11px;
  line-height: 1;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  backdrop-filter: blur(16px) saturate(170%);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 200ms var(--ease), transform 200ms var(--ease);
}
.nav-link:hover { background: rgba(255, 255, 255, 0.18); transform: translateY(-1px); }

/* sur fond clair, le verre doit s'assombrir */
html[data-v="a"] .nav-link,
html[data-v="c"] .nav-link {
  border-color: rgba(61, 30, 36, 0.14);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 8px 26px rgba(61, 30, 36, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

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

.btn2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 30px 15px;
  line-height: 1;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-ink);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), opacity 200ms var(--ease);
  box-shadow: 0 8px 20px rgba(61, 30, 36, 0.18);
}
.btn2:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(61, 30, 36, 0.24); }
.btn2:active { transform: translateY(0); }
.btn2:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn2 .arrow { transition: transform 200ms var(--ease); }
.btn2:hover .arrow { transform: translateX(4px); }

.btn2--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
  box-shadow: none;
}
.btn2--ghost:hover { border-color: var(--ink); box-shadow: none; }

/* ---------- Héros ---------- */

.hero { padding: 132px 0 64px; position: relative; overflow: hidden; }

.hero__halo {
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  /* dégradé radial plutôt qu'un aplat flouté : pas de bord net au rognage */
  background: radial-gradient(circle, var(--halo) 0%, transparent 68%);
  z-index: 0;
}
.hero__inner { position: relative; z-index: 1; }

/* A : centré, calme, halo derrière le titre */
html[data-v="a"] .hero { text-align: center; padding-top: 148px; }
html[data-v="a"] .hero__halo { top: -180px; left: 50%; transform: translateX(-50%); }
html[data-v="a"] .hero .lede { max-width: 620px; margin-left: auto; margin-right: auto; }

/* B : aligné à gauche, très grande typo */
html[data-v="b"] .hero { padding: 140px 0 72px; }
html[data-v="b"] .hero__halo { top: -220px; right: -160px; }
html[data-v="b"] .hero h1 { font-size: clamp(38px, 7vw, 76px); }
html[data-v="b"] .hero .lede { max-width: 560px; }

/* C : deux colonnes, logo en médaillon */
html[data-v="c"] .hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
html[data-v="c"] .hero__halo { bottom: -260px; left: -140px; }
html[data-v="c"] .hero__media { display: block; }

.hero__media { display: none; }
.hero__media img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--bordeaux);
  object-fit: contain;
  padding: 7%;
  display: block;
  box-shadow: 0 24px 50px rgba(61, 30, 36, 0.22);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
html[data-v="a"] .hero__actions { justify-content: center; }

.reassure {
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-soft);
}

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

.section { padding: 64px 0; }
.section + .section { border-top: 1px solid var(--line); }

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.tile {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
html[data-v="b"] .tile { backdrop-filter: blur(6px); }
html[data-v="c"] .tile { box-shadow: 0 10px 30px rgba(61, 30, 36, 0.1); }

.tile__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}
.tile p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

.quote {
  margin: 0;
  padding: 36px 32px;
  border-radius: var(--radius);
  background: var(--surface-2);
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.quote footer { margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--ink-soft); }

/* Bandeau d'appel au test */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding: 36px;
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
}
html[data-v="b"] .cta-band { background: var(--rose); color: var(--bordeaux); border-color: transparent; }
html[data-v="b"] .cta-band .eyebrow,
html[data-v="b"] .cta-band .small { color: rgba(61, 30, 36, 0.75); }
html[data-v="b"] .cta-band .btn2 { background: var(--bordeaux); color: var(--rose-brume); }
.cta-band h2 { margin-bottom: 8px; }
.cta-band__text { max-width: 560px; }

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

.foot {
  padding: 40px 0 56px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- Questionnaire (test.html) ---------- */

main.wrap { margin-bottom: 72px; }

.quiz-head { padding: 124px 0 0; }

/* titre plus discret sur la page du questionnaire */
.quiz-head h1 { font-size: clamp(26px, 3.4vw, 38px); }

/* on resserre entre l'intro et le premier panneau */
#intro > p:last-child { margin-bottom: 0; }
#quiz .panel:first-of-type { margin-top: 24px; }

/* page de collecte de l'e-mail : le bloc est centré dans la fenêtre */
body.vue-resultat main.wrap {
  padding-top: 124px; /* l'en-tête flottant ne doit pas recouvrir l'encadré */
  min-height: calc(100dvh - 190px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* le titre du questionnaire disparaît avec le formulaire */
body.vue-resultat .quiz-head { display: none; }
body.vue-resultat #result { margin-top: 0; }

/* page de collecte de l'e-mail : l'intro est masquée, on resserre sous le titre */
.quiz-head:has(#intro[hidden]) { padding-bottom: 0; }
.quiz-head:has(#intro[hidden]) h1 { margin-bottom: 0; }
.quiz-head:has(#intro[hidden]) + #result { margin-top: 34px; }

.panel {
  margin: 26px 0;
  padding: 30px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
}
html[data-v="c"] .panel { box-shadow: 0 14px 40px rgba(61, 30, 36, 0.12); }

.panel h2 { font-size: 21px; margin-bottom: 6px; }
#result h2 { margin-bottom: 22px; }
#result > p:last-child { margin-bottom: 0; }

.q {
  margin: 0;
  padding: 22px 0;
  border: 0;
  border-top: 1px solid var(--line);
}
.panel .q:first-of-type { border-top: 0; padding-top: 6px; }
.q:last-child { padding-bottom: 4px; }

.q legend {
  float: left;
  width: 100%;
  padding: 0;
  margin-bottom: 12px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.q legend + label { clear: both; }

/* réponses en pastilles */
.q label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 8px 8px 0;
  padding: 11px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line);
  font-size: 15px;
  cursor: pointer;
  transition: border-color 140ms var(--ease), background-color 140ms var(--ease), color 140ms var(--ease);
}
.q label:hover { border-color: var(--ink); }
.q input[type="radio"] { accent-color: var(--accent); margin: 0; }
.q label:has(input:checked) {
  background: var(--btn-bg);
  border-color: var(--btn-bg);
  color: var(--btn-ink);
}
.q label:has(input:checked) input { accent-color: var(--btn-ink); }

/* la question 12 a des réponses longues : une par ligne */
.q:has(input[name="q12"]) label { display: flex; margin-right: 0; border-radius: 16px; align-items: flex-start; }
.q:has(input[name="q12"]) input[type="radio"] { margin-top: 3px; flex: none; }

.actions { display: flex; justify-content: flex-end; margin-top: 8px; }
.err { margin: 12px 0 0; font-weight: 600; color: var(--accent); text-align: right; }

/* bloc e-mail */
.benefits { margin: 0 0 18px; padding-left: 20px; line-height: 1.8; color: var(--ink-soft); }
.lead2 {
  margin: 22px 0 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.lead2 label { display: block; margin-bottom: 10px; font-weight: 700; }
.lead2__row { display: flex; flex-wrap: wrap; gap: 12px; }
.lead2 input[type="email"] {
  flex: 1 1 260px;
  min-width: 0;
  padding: 16px 20px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
.lead2 input[type="email"]:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.ok {
  margin: 22px 0 0;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-weight: 600;
}

/* ---------- Mobile ---------- */

@media (max-width: 820px) {
  html[data-v="c"] .hero__inner { grid-template-columns: 1fr; }
  html[data-v="c"] .hero__media { max-width: 320px; }
  .grid3 { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 40px; }
  .section { padding: 48px 0; }
  .panel { padding: 22px; }
}

/* ---------- Page d'accueil avec photos ---------- */

/* html[data-v] : pour passer devant la règle de titre de l’ambiance */
html[data-v] .hero--split h1 { font-size: clamp(32px, 4.4vw, 50px); }

.hero--split .hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.frame {
  position: relative;
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28);
}

.frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 3 / 2; }
.frame--square { aspect-ratio: 1; }

.frame figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 22px 18px;
  background: linear-gradient(to top, rgba(20, 8, 11, 0.82), transparent);
  color: #F7EDE9;
  font-size: 14px;
  font-weight: 600;
}

/* bloc texte + photo, alternable */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split--reverse .split__media { order: -1; }
.split__text h2 { margin-bottom: 14px; }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.gallery .frame { box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22); }

.signature {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}
.signature img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 22%; /* sinon le cadrage coupe les visages */
}
.signature div { font-size: 14px; line-height: 1.4; }
.signature strong { display: block; font-size: 15px; }

@media (max-width: 880px) {
  .hero--split .hero__inner,
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split__media { order: 0; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .frame:last-child { display: none; }
}

/* cadrage : garder le haut de l'image */
.frame img.cadre-haut { object-position: center 6%; }

/* ---------- Modale de prise de rendez-vous ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 6, 9, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.modal__box {
  position: relative;
  width: min(880px, 100%);
  max-height: min(680px, calc(100vh - 48px));
  overflow: auto;
  border-radius: 28px;
  background: #35191F;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
  animation: modal-in 260ms var(--ease);
}
html[data-v="a"] .modal__box,
html[data-v="c"] .modal__box { background: #FFFFFF; border-color: rgba(61, 30, 36, 0.12); }

@keyframes modal-in {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .modal__box { animation: none; } }

.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
  cursor: pointer;
}
.modal__close svg { display: block; }
.modal__close:hover { background: rgba(255, 255, 255, 0.18); }
html[data-v="a"] .modal__close,
html[data-v="c"] .modal__close { background: rgba(61, 30, 36, 0.08); }

.rdv {
  display: grid;
  grid-template-columns: 290px 1fr;
  min-height: 460px;
}

.rdv__aside {
  padding: 26px 26px 30px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}
html[data-v="a"] .rdv__aside,
html[data-v="c"] .rdv__aside { background: rgba(61, 30, 36, 0.04); }

.rdv__logo {
  /* le logo, en clair sur le fond sombre du panneau */
  display: block;
  width: 150px;
  height: auto;
  margin-bottom: 16px;
}

.rdv__aside h2 { font-size: 23px; margin: 4px 0 16px; }

.rdv__infos {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 15px;
  color: var(--ink-soft);
}
.rdv__infos li { padding: 5px 0 5px 22px; position: relative; }
.rdv__infos li::before {
  content: "·";
  position: absolute;
  left: 8px;
  font-size: 20px;
  line-height: 1.1;
  color: var(--accent);
}

.rdv__resume {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-size: 15px;
}
.rdv__resume strong { display: block; }
.rdv__resume strong::first-letter { text-transform: uppercase; }
.rdv__resume span { font-size: 14px; opacity: 0.85; }

.rdv__main { padding: 18px 28px 30px; }
.rdv__main h3 { font-size: 19px; margin: 0 0 16px; }
.rdv__main h3::first-letter { text-transform: uppercase; }

/* calendrier */
.cal__tete {
  padding-right: 46px; /* place pour la croix de fermeture */
}

/* le mois tient lieu de titre */
.cal__nav { display: flex; align-items: center; gap: 10px; }
.cal__nav span {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  min-width: 150px;
}
.cal__nav span::first-letter { text-transform: uppercase; }
.cal__nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.cal__nav button svg { display: block; }
.cal__nav button:hover:not(:disabled) { border-color: var(--ink); }
.cal__nav button:disabled { opacity: 0.3; cursor: default; }

.cal__jours, .cal__grille {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.cal__jours {
  margin: 18px 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
}

.jour {
  aspect-ratio: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 120ms var(--ease), border-color 120ms var(--ease);
}
.jour:hover:not(:disabled) { border-color: var(--ink); }
.jour--vide { border: 0; }
.jour--off { opacity: 0.28; cursor: default; border-style: dashed; }
.jour--actif { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-ink); }

/* créneaux */
.creneaux {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 10px;
}
.creneau {
  padding: 13px 10px 11px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 120ms var(--ease), border-color 120ms var(--ease), color 120ms var(--ease);
}
.creneau:hover { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-ink); }

.lien-retour {
  margin-bottom: 14px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-soft);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.lien-retour:hover { color: var(--ink); }

/* formulaire */
.rdv__form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.champ--large { grid-column: 1 / -1; }
.champ label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.champ input, .champ textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}
.champ textarea { border-radius: 16px; resize: vertical; }
.champ input:focus-visible, .champ textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

/* confirmation */
.rdv__fin { text-align: center; padding: 26px 10px; }
.rdv__coche {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-size: 26px;
}

/* les enfants de grille ne doivent pas imposer leur largeur minimale */
.rdv, .rdv__main, .rdv__aside { min-width: 0; }
.modal__box { max-width: 100%; }

/* ---- Modale sur petit écran : feuille qui monte du bas ---- */
@media (max-width: 720px) {
  .modal {
    padding: 0;
    align-items: flex-end;
  }

  .modal__box {
    width: 100%;
    max-height: 92dvh;
    border-radius: 24px 24px 0 0;
    animation: sheet-in 280ms var(--ease);
  }

  @keyframes sheet-in {
    from { transform: translateY(24px); opacity: 0; }
    to { transform: none; opacity: 1; }
  }

  .modal__close { top: 10px; right: 10px; width: 34px; height: 34px; }

  .rdv { grid-template-columns: 1fr; min-height: 0; }

  /* l'en-tête se compacte : logo et titre côte à côte */
  .rdv__aside {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 14px;
    align-items: center;
    padding: 18px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .rdv__logo { width: 92px; height: auto; margin: 0; grid-row: span 2; }
  .rdv__aside h2 { font-size: 19px; margin: 0; }
  .rdv__aside > .small:first-of-type { align-self: end; }
  /* les repères tiennent sur une ligne, en pastilles séparées */
  .rdv__infos {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 2px 16px;
    margin: 12px 0 0;
    font-size: 13.5px;
  }
  .rdv__infos li { padding: 0 0 0 12px; }
  .rdv__infos li::before { left: 0; font-size: 16px; line-height: 1.2; }


  .rdv__resume {
    grid-column: 1 / -1;
    margin-top: 14px;
    padding: 10px 14px;
    font-size: 14px;
  }
  .rdv__resume strong { display: inline; }
  .rdv__resume span { display: block; }

  .rdv__main { padding: 20px 16px 24px; }

  .cal__tete {
    padding-right: 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .cal__nav { width: 100%; justify-content: space-between; }
  .cal__nav span { min-width: 0; font-size: 17px; }

  .cal__jours, .cal__grille { gap: 5px; }
  .cal__jours { font-size: 10px; letter-spacing: 0.04em; margin: 14px 0 6px; }
  .jour { border-radius: 10px; font-size: 14px; }

  .creneaux { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
  .creneau { padding: 12px 6px 10px; font-size: 14px; }

  .rdv__form { grid-template-columns: 1fr; }
  .rdv__form .btn2 { width: 100%; justify-content: center; }
  .rdv__fin { padding: 16px 0; }
}

/* encart d'appui dans une section */
.encart {
  margin-top: 22px;
  padding: 26px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.encart h3 { margin: 0 0 10px; }
.encart p {
  max-width: 780px;
  color: var(--ink-soft); /* même ton que le texte des cartes de la méthode */
}

.accroche {
  font-size: clamp(19px, 2.1vw, 23px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
  margin: 26px 0;
  padding-left: 20px;
  border-left: 3px solid var(--accent);
}

/* ---------- Page de résultat ---------- */

.resultat { padding-top: 124px; }
.resultat h1 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 22px; }
.resultat .panel h2 { font-size: 22px; margin-bottom: 10px; }

.score-chiffre {
  margin: 0 0 6px;
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}
.score-chiffre .score-max { font-size: 20px; font-weight: 600; opacity: 0.7; }

.jauge { margin-top: 22px; }
.jauge__piste {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}
.jauge__part {
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
}
.jauge__legende {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--ink-soft);
}
.jauge__legende span { display: block; }
.jauge__legende small { display: block; opacity: 0.7; }
.jauge__legende .actif { color: var(--ink); font-weight: 700; }

/* même ton que la liste de conseils */
#exercice-texte { color: var(--ink-soft); }

.cta-resultat { text-align: left; }
.cta-resultat .btn2 { margin-top: 6px; }

@media (max-width: 620px) {
  .jauge__legende { font-size: 11.5px; }
}

/* ---------- Page d'attente (logo seul) ---------- */

body.attente {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: 24px;
}

body.attente main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.attente__logo {
  display: block;
  width: min(420px, 78vw);
  height: auto;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.35));
}

/* Mention sous le logo de la page d'attente, quand l'adresse n'existe pas. */
.attente__mot {
  margin: 30px 0 0;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--rose);
}

/* ---------- Pages « perdues » : merci, désinscription. Le logo, un
   titre, un mot, un bouton : le même esprit que la page d'attente. ---------- */
.perdu {
  max-width: 560px;
  margin: 0 auto;
  padding: 56px 24px 64px;
  text-align: center;
}
.perdu__logo {
  display: block;
  width: min(300px, 70vw);
  height: auto;
  margin: 0 auto 34px;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.35));
}
.perdu .attente__mot { margin: 0 0 14px; font-size: 26px; }
.perdu__mot { margin: 0 0 14px; font-size: 17px; line-height: 1.55; }
.perdu .btn2 { margin-top: 22px; }

/* Deuxième action d'un résultat : présente, mais en retrait, pour que la
   première reste celle que l'on recommande. */
.cta-resultat--second { background: transparent; }
.cta-resultat--second h2 { font-size: 19px; }
.cta-resultat--second .btn2 { background: transparent; border: 1.5px solid var(--rose); color: var(--rose); box-shadow: none; }
.cta-resultat--second .btn2:hover { background: rgba(206, 149, 156, 0.12); transform: none; box-shadow: none; }

/* ---------- Page de vente d'un programme ---------- */

.vente__chapeau {
  font-size: clamp(17px, 2vw, 19px);
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 0 34px;
}

/* le menu flotte au-dessus : on lui laisse la place */
.vente { padding-top: 124px; }

.vente h1 { margin-bottom: 14px; }
.vente .panel p + p { margin-top: 14px; }
.vente .panel h2 + p,
.vente .panel .eyebrow + h2 { margin-top: 12px; }
.vente .panel ul { margin-top: 14px; }

.vente__citation {
  margin: 18px 0;
  padding: 16px 20px;
  border-left: 3px solid var(--rose);
  font-size: 17px;
  font-style: italic;
  color: var(--ink);
}

.offre { text-align: left; }
.offre__valeur { margin: 0; }

.offre__prix {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin: 26px 0 8px;
}
.offre__prix span { font-size: 15px; color: var(--ink-soft); }
.offre__prix strong {
  font-size: clamp(38px, 6vw, 52px);
  line-height: 1;
  color: var(--rose);
}

.offre__note { margin: 0 0 24px; font-size: 15px; color: var(--ink-soft); }

/* ---------- Espace du programme ---------- */

.espace { padding-top: 124px; }

/* un module : sa vidéo jouée sur place, ses documents en dessous */

.module h2 + .video,
.module .small + .video { margin-top: 20px; }

.video { margin: 0 0 18px; }
.video:last-child { margin-bottom: 0; }

.video__cadre {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
}
.video__cadre iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video__legende {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.video__duree { white-space: nowrap; }

.module__sous-titre {
  margin: 24px 0 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose);
}

.docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }

.doc {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  background: rgba(251, 246, 241, 0.05);
  border: 1px solid rgba(251, 246, 241, 0.12);
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease);
}
.doc:hover { background: rgba(251, 246, 241, 0.1); border-color: var(--rose); }

.doc__icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--rose);
  color: var(--bordeaux);
  font-weight: 700;
  line-height: 1;
}

.doc__nom { font-size: 15px; }
.doc__meta { font-size: 13px; color: var(--ink-soft); white-space: nowrap; }

@media (max-width: 560px) {
  .doc { grid-template-columns: auto minmax(0, 1fr); }
  .doc__meta { grid-column: 2; }
}

/* ---------- La page d'une consultation ----------
   Deux états : le décompte, puis la visio. La seconde prend toute la
   hauteur disponible - une visio dans une boîte timide ne sert à rien. */

/* La page tient dans l'écran, sans défilement : une visio qu'il faut
   faire défiler n'est pas une visio. La hauteur est posée une fois
   ici, et les enfants se partagent ce qui reste. */
/* Le document lui-même ne doit jamais défiler : quand un panneau de
   Zoom déborde sous la fenêtre, le navigateur défile automatiquement
   vers le focus - 391 px mesurés - et notre bandeau sort de l'écran
   par le haut. overflow:hidden sur html bloque ce défilement-là. */
html:has(.seance), html:has(.seance) body {
  height: 100%;
  overflow: hidden;
}

.seance {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

/* Le logo, au-dessus du titre. Pas de lien dessus : d'ici on
   entre en séance, on ne s'en va pas - un couple qui clique par
   réflexe se retrouverait sur l'accueil à l'heure du rendez-vous. */
.seance__logo {
  display: block;
  width: min(230px, 64vw);
  height: auto;
  margin: 0 auto 22px;
}

.seance__corps {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.seance__attente {
  margin: auto;
  padding: 20px 22px;
  max-width: 600px;
  text-align: center;
  overflow-y: auto;
}

.seance__attente h1 { margin: 6px 0 4px; font-size: clamp(26px, 5vw, 32px); }
/* Sur écran large la date tient sur une ligne ; sur mobile elle reste libre de se couper. */
@media (min-width: 640px) { .seance__attente h1 { white-space: nowrap; } }
.seance__avec { margin: 0 0 26px; color: var(--ink-soft); }

/* Le décompte : des chiffres qui ne doivent pas sautiller à chaque
   seconde, d'où la chasse fixe. */
.compte {
  margin: 0 0 22px;
  font-size: clamp(34px, 9vw, 46px);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--rose);
}

.seance__conseil { margin-top: 22px; opacity: 0.75; }

/* `overflow: visible` est voulu : les menus de Zoom - caméra, micro,
   participants - sont posés en dehors du cadre de la vidéo. Les
   rogner revient à rendre la barre de commandes inutilisable, ce qui
   est exactement ce qui s'est produit. Le défilement de la page est
   retenu plus haut, sur .seance. */
.seance__visio {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  background: var(--bordeaux);
}

/* La racine du SDK remplit la boîte. Pas de transformation ni de
   `zoom` : les deux déplaçaient les menus, et la mise à l'échelle
   visait de toute façon le mauvais élément - Zoom remplace sa racine
   en cours de route. La taille de la vidéo, elle, est donnée au SDK
   par le script, barre de commandes déduite. */
.seance__visio > div:first-child { width: 100%; height: 100%; }

/* Le bloc occupe toute la zone, collé au bord gauche. Le centrer ou
   le rétrécir décalait son origine, et Zoom place ses menus en
   coordonnées de fenêtre : ils tombaient à côté. */
.seance__visio { display: block; }

/* En séance, la visio prend ce qui reste sous notre bandeau.

   L'ordre de superposition compte : les panneaux que Zoom ouvre -
   chiffrement, participants, réglages - se dessinent dans son bloc.
   Sans précaution ils passent SOUS notre bandeau, et on ne les voit
   pas s'ouvrir. On place donc la visio au-dessus. */
/* AUCUN z-index sur la zone ni sur le bandeau : Zoom greffe certains
   de ses panneaux au niveau du document, et un contexte d'empilement
   posé ici les enterre sous la vidéo - ils s'ouvrent, on ne les voit
   pas, et « rouvrir » ne change rien puisqu'ils sont déjà ouverts.
   C'est arrivé. Zoom demande expressément de ne pas toucher aux
   z-index autour de son SDK. Seul notre panneau de notes, à nous,
   garde le sien. */
.seance--dedans { background: var(--bordeaux); }
.seance--dedans .notes { z-index: 50; }

/* Tant que la porte est fermée, le bouton se voit mais n'invite pas :
   un bouton qui a l'air actif et ne répond pas est pire que pas de
   bouton du tout. */
.seance .btn2[disabled] {
  opacity: 0.38;
  cursor: not-allowed;
  pointer-events: none;
}

/* ---------- Côté praticienne : la fiche pendant la séance ----------
   Elle ne disparaît pas quand la visio démarre : c'est précisément
   au milieu d'une conversation qu'on a besoin d'un contact ou d'une
   note, pas avant de la commencer. */

.seance__barre {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 18px;
  background: var(--bordeaux);
  color: #F7EDE9;
}

.seance__barre--couple { justify-content: center; }
.seance__marque { display: flex; align-items: center; gap: 10px; }
/* le logo porte déjà le nom : il tient lieu de marque, seul */
.seance__marque-logo { height: 30px; width: auto; display: block; }

/* Barre hôte : nom à gauche, marque centrée, Notes à droite. Les deux
   colonnes latérales 1fr, égales, gardent la marque au vrai centre. */
#barre {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
}
#barre .seance__qui { justify-self: start; }
#barre .seance__marque { justify-self: center; }
#barre .seance__outils { justify-self: end; display: flex; align-items: center; gap: 8px; }
#barre .seance__outils .seance__notes-btn { white-space: nowrap; }
.seance--notes #barre .seance__qui span { display: none; }

.seance__qui { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.seance__qui strong { font-size: 15px; }
.seance__qui span { font-size: 13.5px; opacity: 0.66; }

.seance__notes-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(247, 237, 233, 0.12);
  color: #F7EDE9;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 140ms var(--ease);
}
.seance__notes-btn:hover { background: rgba(247, 237, 233, 0.22); }
.seance__notes-btn[aria-expanded="true"],
.seance__notes-btn--note { background: var(--rose); color: var(--bordeaux); }

/* L'icône et le mot « Notes » : la boîte de ligne du texte (23 px pour
   un glyphe de 14) le fait flotter plus haut que l'icône, alors que
   leurs centres géométriques coïncident. On resserre la ligne et on
   pose l'icône en bloc pour qu'ils s'alignent à l'œil. */
.seance__notes-btn svg { display: block; }
.seance__notes-btn span { line-height: 1; position: relative; top: 2px; }

/* Zoom ajoute dans sa barre haute un bouton « Voir les applications qui
   accèdent au contenu de votre réunion » (Active Apps Notifier). Le SDK
   web n'offre aucune option pour le retirer et il n'a aucune utilité
   ici : une seule app, la nôtre. On masque UNIQUEMENT ce bouton, par son
   libellé (la langue est figée en fr-FR) - pas de z-index, pas de
   transform, rien qui touche au placement des panneaux du SDK. */
button[aria-label="Voir les applications qui accèdent au contenu de votre réunion"] {
  display: none !important;
}

/* Le panneau glisse à droite plutôt que de recouvrir la visio :
   on écrit en regardant le couple, pas à sa place. */
/* Sous la barre, pas par-dessus : sa croix tombait sur le bouton qui
   l'ouvre. Et un fond plus clair que la page, sinon le panneau se
   confond avec elle dans l'ambiance Nuit. */
.notes {
  position: fixed;
  /* toute la hauteur, bandeau compris : on écrit souvent longtemps,
     et chaque ligne gagnée compte */
  top: 0;
  right: 0;
  z-index: 50;
  width: min(380px, 92vw);
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px 18px;
  background: var(--bordeaux-clair);
  border-left: 1px solid rgba(247, 237, 233, 0.12);
  box-shadow: -18px 0 50px rgba(0, 0, 0, 0.34);
}

.notes__tete { display: flex; align-items: center; justify-content: space-between; }
.notes__tete h2 { margin: 0; font-size: 18px; }

.notes__fermer {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(247, 237, 233, 0.12);
  color: inherit;
  font-size: 15px;
  cursor: pointer;
}
.notes__fermer:hover { background: rgba(247, 237, 233, 0.22); }

.notes__fiche dl { margin: 0; display: grid; gap: 6px; }
.notes__fiche dl div { display: flex; gap: 10px; font-size: 13.5px; }
.notes__fiche dt { flex: none; width: 82px; opacity: 0.6; }
.notes__fiche dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.notes__mot { margin: 12px 0 0; font-size: 14px; font-style: italic; opacity: 0.72; }

.notes textarea {
  flex: 1 1 auto;
  min-height: 0;
  resize: none;
  padding: 14px;
  border: 1.5px solid rgba(247, 237, 233, 0.14);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.2);
  color: inherit;
  font: inherit;
  font-size: 15px;
  line-height: 1.6;
}
.notes textarea:focus-visible { outline: 2px solid var(--rose); outline-offset: 1px; }
.notes textarea::placeholder { color: rgba(247, 237, 233, 0.42); }

.notes__etat { margin: 0; min-height: 18px; font-size: 12.5px; opacity: 0.6; }

/* Le panneau « Prochain rendez-vous » : un petit formulaire sur le même
   fond que les notes. */
.prochain { display: grid; gap: 12px; align-content: start; }
.prochain label { display: grid; gap: 6px; font-size: 13.5px; opacity: 0.92; }
.prochain input,
.prochain textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid rgba(247, 237, 233, 0.14);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  color: inherit;
  font: inherit;
  font-size: 15px;
  color-scheme: dark;
}
.notes .prochain textarea { flex: none; min-height: 72px; resize: vertical; line-height: 1.5; }
.prochain input:focus-visible,
.prochain textarea:focus-visible { outline: 2px solid var(--rose); outline-offset: 1px; }
.prochain__info { margin: 0; font-size: 12.5px; line-height: 1.5; opacity: 0.6; }
.prochain__passes { font-size: 13.5px; }
.prochain__passes h3 {
  margin: 0 0 6px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.6;
}
.prochain__passes ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.prochain__passes p { margin: 0; opacity: 0.7; }

/* Le petit calendrier : les jours clairs sont disponibles d'après les
   horaires, les fermetures et les créneaux déjà pris. */
.pcal { display: grid; gap: 8px; }
.pcal__tete { display: grid; grid-template-columns: 32px minmax(0, 1fr) 32px; column-gap: 0; width: 100%; align-items: center; font-size: 14px; }
.pcal__tete strong { text-align: center; text-transform: capitalize; }
.pcal__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1.5px solid rgba(247, 237, 233, 0.28);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background-color 140ms var(--ease), border-color 140ms var(--ease);
}
.pcal__nav svg { display: block; }
.pcal__nav:hover { background: rgba(247, 237, 233, 0.16); border-color: rgba(247, 237, 233, 0.5); }
.pcal__nav:active { background: var(--rose); border-color: var(--rose); color: var(--bordeaux); }
.pcal__nav[disabled] { opacity: 0.22; cursor: default; }
.pcal__nav[disabled]:hover { background: transparent; border-color: rgba(247, 237, 233, 0.28); }
.pcal__grille { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
#prochain { overflow-y: auto; }
.pcal__jour-nom { text-align: center; font-size: 11.5px; opacity: 0.55; padding-bottom: 2px; }
.pcal__case {
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 13.5px;
  opacity: 0.45;
  cursor: pointer;
}
.pcal__case--dispo { opacity: 1; background: rgba(247, 237, 233, 0.12); font-weight: 600; }
.pcal__case:not([disabled]):hover { background: rgba(247, 237, 233, 0.24); opacity: 1; }
.pcal__case--choisi,
.pcal__case--choisi:not([disabled]):hover { background: var(--rose); color: var(--bordeaux); opacity: 1; }
.pcal__case[disabled] { opacity: 0.18; cursor: default; }

.prochain__dispo { display: flex; flex-wrap: wrap; gap: 6px; }
.prochain__dispo-mot { width: 100%; margin: 0; font-size: 12.5px; line-height: 1.5; opacity: 0.6; }
.prochain__creneau {
  padding: 6px 11px;
  border: 1.5px solid rgba(247, 237, 233, 0.26);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}
.prochain__creneau:hover { background: rgba(247, 237, 233, 0.14); }
.prochain__creneau--choisi,
.prochain__creneau--choisi:hover { background: var(--rose); border-color: var(--rose); color: var(--bordeaux); }
.prochain__creneau--pris {
  opacity: 0.42;
  text-decoration: line-through;
  cursor: default;
}
.prochain__creneau--pris:hover { background: transparent; }
.prochain__deja {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(247, 237, 233, 0.1);
  font-size: 13.5px;
  line-height: 1.5;
}
.prochain__deja strong { font-weight: 600; }
.prochain .btn2 { justify-self: start; padding: 13px 22px 11px; font-size: 15px; }
.prochain__fait {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(247, 237, 233, 0.1);
  font-size: 14px;
  line-height: 1.55;
}
.prochain__fait strong { display: block; margin-bottom: 4px; font-size: 15px; }
.prochain__fait button {
  margin-top: 10px;
  padding: 7px 12px;
  border: 1.5px solid rgba(247, 237, 233, 0.3);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.prochain__fait button:hover { background: rgba(247, 237, 233, 0.14); }

/* le panneau ouvert rétrécit la visio au lieu de la masquer */
@media (min-width: 900px) {
  .seance--notes .seance__corps,
  .seance--notes .seance__barre { margin-right: 380px; }
}

/* ---------- Écran de connexion (couvre la bande « En train de
   participer » du SDK, moche et tronquée) ---------- */
.seance__connexion {
  position: fixed;
  inset: 0;
  z-index: 45;              /* au-dessus de la visio, sous les notes (50) */
  background: var(--bordeaux);   /* le bordeaux de tout le site, pas du noir */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.seance__connexion-logo {
  animation: connexion-pulse 1.6s var(--ease, ease-in-out) infinite;
}
.seance__connexion-txt {
  margin: 0;
  color: #F7EDE9;
  font-size: 16px;
  letter-spacing: 0.01em;
  opacity: 0.85;
}
@keyframes connexion-pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.97); }
  50%      { opacity: 1;    transform: scale(1.03); }
}

.seance__avert-cam {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%);
  max-width: 520px; width: calc(100% - 32px); z-index: 60;
  background: var(--bordeaux); color: #F7EDE9;
  border: 1px solid var(--rose); border-radius: 12px;
  padding: 12px 14px; display: flex; gap: 12px; align-items: flex-start;
  font-size: 14px; line-height: 1.35; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.seance__avert-cam button {
  background: none; border: 0; color: #F7EDE9; cursor: pointer;
  font-size: 16px; line-height: 1; flex: none; padding: 0;
}
