/* Luminescence Coaching — feuille de style commune à toutes les pages */

/* Polices hébergées sur le site (licence SIL Open Font License, issues de Google Fonts) */
@font-face {
  font-family: "Allura";
  src: url("../fonts/allura.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Libre Baskerville";
  src: url("../fonts/libre-baskerville.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  /* Palette relevée sur ses visuels (voir donnees/palette.css) */
  --bordeaux: #783045;
  --bordeaux-fonce: #5e2435;
  --rose-poudre: #ecc9dd;
  --mauve: #ddc9d4;
  --mauve-clair: #f3eaef;
  --blanc: #fcfcfc;
  --texte: #242424;
  --texte-doux: #5a4f55;

  --police-script: "Allura", cursive;
  --police-titre: "Libre Baskerville", Georgia, serif;
  --police-texte: "Poppins", system-ui, sans-serif;

  --rayon: 22px;
  --largeur: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--blanc);
  color: var(--texte);
  font-family: var(--police-texte);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--bordeaux);
}

a:focus-visible {
  outline: 3px solid var(--bordeaux);
  outline-offset: 3px;
}

.lien-evitement {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--bordeaux);
  color: #fff;
}

.lien-evitement:focus {
  top: 12px;
}

h1,
h2,
h3 {
  font-family: var(--police-titre);
  color: var(--bordeaux);
  line-height: 1.3;
  font-weight: 400;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.2rem;
  margin: 0 0 0.6rem;
}

.script {
  font-family: var(--police-script);
  font-weight: 400;
}

.conteneur {
  width: min(var(--largeur), 100% - 32px);
  margin-inline: auto;
}

/* Formes organiques mauves dans les coins, comme sur ses visuels */
.deco-coin {
  position: fixed;
  z-index: -2;
  background: var(--mauve);
  opacity: 0.55;
  pointer-events: none;
}

.deco-coin--haut {
  top: -60px;
  right: -60px;
  width: 200px;
  height: 180px;
  border-radius: 58% 42% 50% 50% / 55% 48% 52% 45%;
}

.deco-coin--bas {
  bottom: -50px;
  left: -50px;
  width: 150px;
  height: 130px;
  border-radius: 45% 55% 60% 40% / 50% 45% 55% 50%;
}

/* Feuilles de ginkgo et branche dessinées au trait, posées sur les formes des coins, sous le contenu */
body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  background: no-repeat center / contain;
  opacity: 0.85;
  pointer-events: none;
}

body::before {
  top: -6px;
  right: -4px;
  width: 160px;
  height: 182px;
  background-image: url("../images/motif-ginkgo.svg");
}

body::after {
  bottom: -4px;
  left: 16px;
  width: 62px;
  height: 210px;
  background-image: url("../images/motif-branche.svg");
}

/* ---------- En-tête : marque, onglets ---------- */

.entete {
  padding: 18px 0 12px;
  border-bottom: 1px solid var(--mauve-clair);
}

.entete__ligne {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.marque {
  text-decoration: none;
  color: var(--bordeaux);
  font-family: var(--police-script);
  font-size: 2.2rem;
  line-height: 1;
}

.marque__auteur {
  display: block;
  margin-top: 6px;
  font-family: var(--police-texte);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.onglets {
  margin-top: 14px;
}

.onglets ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.onglets a {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--mauve);
  color: var(--texte);
  text-decoration: none;
  font-family: var(--police-titre);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

.onglets a:hover {
  background: var(--rose-poudre);
}

.onglets a[aria-current="page"] {
  background: var(--bordeaux);
  color: #fff;
}

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

.bouton {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  border: 2px solid var(--bordeaux);
  background: var(--bordeaux);
  color: #fff;
  text-decoration: none;
  font-family: var(--police-titre);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.bouton:hover {
  background: var(--bordeaux-fonce);
  border-color: var(--bordeaux-fonce);
}

.bouton--clair {
  background: transparent;
  color: var(--bordeaux);
}

.bouton--clair:hover {
  background: var(--mauve-clair);
  color: var(--bordeaux);
}

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

main {
  padding: 40px 0 60px;
}

.section {
  margin-bottom: 64px;
}

.titre-page {
  font-family: var(--police-script);
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  margin: 0 0 0.5rem;
}

.chapo {
  font-size: 1.1rem;
  color: var(--texte-doux);
  max-width: 60ch;
}

.chapo--large {
  max-width: none;
}

.etiquette {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 16px;
  background: var(--mauve);
  font-family: var(--police-titre);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.deux-colonnes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* Photo détourée dans une forme organique */
.photo-blob {
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 48% 52% 44% 56% / 52% 46% 54% 48%;
  box-shadow: 14px 14px 0 var(--mauve);
  width: min(420px, 100%);
  margin-inline: auto;
}

/* ---------- Accueil ---------- */

/* Colonne du texte un peu plus large que la photo, pour un titre plus grand */
.hero {
  grid-template-columns: 1.3fr 1fr;
}

.hero__visuel {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero__visuel .bouton {
  align-self: center;
}

.hero__titre {
  font-family: var(--police-script);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.1;
  margin: 0 0 1.2rem;
}

.hero__accroche {
  font-family: var(--police-titre);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 52ch;
}

.hero__accroche em {
  color: var(--bordeaux);
  font-style: normal;
  font-weight: 700;
}

.hero__actions {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

.hero__rdv {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero__precision {
  font-size: 0.85rem;
  color: var(--texte-doux);
}

/* Lexique des sigles, sur une seule ligne discrète */
.lexique {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: var(--texte-doux);
  line-height: 1.6;
}

.lexique dt {
  display: inline;
  font-weight: 600;
  color: var(--texte);
}

.lexique dd {
  display: inline;
  margin: 0;
}

.lexique dd:not(:last-of-type)::after {
  content: " · ";
}

.cartes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.carte {
  background: var(--mauve-clair);
  border-radius: var(--rayon);
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.carte p {
  margin: 0 0 1rem;
  flex: 1;
}

.carte a {
  font-weight: 500;
}

.liste-douce {
  padding-left: 1.2rem;
}

.liste-douce li {
  margin-bottom: 0.35rem;
}

.liste-douce li::marker {
  color: var(--bordeaux);
}

/* Témoignages */
.temoignages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.temoignages--quatre {
  grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
}

.temoignage {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 26px 26px 20px;
  border: 1.5px solid var(--mauve);
  border-radius: var(--rayon);
  background: #fff;
}

.temoignage blockquote {
  flex: 1;
  margin: 0 0 1rem;
  font-family: var(--police-titre);
  font-size: 0.95rem;
  line-height: 1.75;
}

.temoignage blockquote::before {
  content: "“";
  display: block;
  font-size: 3rem;
  line-height: 0.6;
  color: var(--rose-poudre);
}

.temoignage figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--texte-doux);
}

.temoignage picture {
  flex: none;
}

.temoignage__photo,
.temoignage__initiale {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 50%;
}

.temoignage__photo {
  object-fit: cover;
  border: 2px solid var(--mauve);
}

.temoignage__initiale {
  display: grid;
  place-items: center;
  background: var(--mauve);
  color: var(--bordeaux);
  font-family: var(--police-titre);
  font-size: 1.6rem;
}

/* ---------- Programmes et bilans ---------- */

.sommaire {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 1.5rem 0 3rem;
  padding: 0;
  list-style: none;
}

.sommaire a {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--bordeaux);
  text-decoration: none;
  font-size: 0.9rem;
}

.sommaire a:hover {
  background: var(--mauve-clair);
}

.offre {
  scroll-margin-top: 20px;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 40px;
  padding-top: 48px;
  border-top: 1px solid var(--mauve);
}

.offre__titre {
  grid-column: 1 / -1;
  justify-self: start;
  margin: 0;
}

.offre__cadre {
  background: var(--mauve-clair);
  border: 1.5px solid var(--mauve);
  border-radius: var(--rayon);
  padding: 26px;
  align-self: start;
}

.offre__duree {
  font-size: 1.1rem;
  margin-top: 0;
}

.offre__duree strong {
  color: var(--bordeaux);
}

.offre__tarif {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1.5px solid var(--mauve);
}

.offre__tarif-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--texte-doux);
}

.offre__tarif p {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.offre__tarif p + p {
  margin-top: 0.5rem;
}

.offre__tarif strong {
  font-family: var(--police-titre);
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--bordeaux);
}

.offre__tarif span {
  font-size: 0.9rem;
  color: var(--texte-doux);
}

.offre__cadre ul {
  padding-left: 1.2rem;
  margin: 0 0 1rem;
}

.offre__cadre li {
  margin-bottom: 0.35rem;
}

.offre__cadre li::marker {
  color: var(--bordeaux);
}

.offre__texte h3 {
  font-size: 1.05rem;
}

.offre__citation {
  font-family: var(--police-titre);
  color: var(--bordeaux);
  text-align: center;
  font-size: 1.1rem;
}

.inclus {
  margin: 0 0 2.5rem;
  padding: 22px 26px;
  border-radius: var(--rayon);
  background: var(--mauve-clair);
}

.inclus h2 {
  font-size: 1.2rem;
  margin: 0 0 0.6rem;
}

.inclus ul {
  margin: 0;
}

/* Tableau comparatif des programmes : une carte par programme sur mobile */
.comparatif {
  width: 100%;
  margin: 0 0 2.5rem;
  border-collapse: separate;
  border-spacing: 0;
  border: 1.5px solid var(--mauve);
  border-radius: var(--rayon);
  overflow: hidden;
  font-size: 0.95rem;
  line-height: 1.55;
}

.comparatif caption {
  text-align: left;
  font-family: var(--police-titre);
  color: var(--bordeaux);
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.comparatif th,
.comparatif td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--mauve);
}

.comparatif thead th {
  background: var(--mauve);
  font-family: var(--police-titre);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.comparatif tbody th {
  background: var(--mauve-clair);
  font-family: var(--police-titre);
  font-weight: 400;
  color: var(--bordeaux);
  font-size: 1.05rem;
}

.comparatif tbody tr:last-child > * {
  border-bottom: 0;
}

/* overflow: hidden ne rogne pas les cellules d'un tableau : on arrondit les coins à la main */
.comparatif thead th:first-child {
  border-top-left-radius: calc(var(--rayon) - 2px);
}

.comparatif thead th:last-child {
  border-top-right-radius: calc(var(--rayon) - 2px);
}

.comparatif tbody tr:last-child > :first-child {
  border-bottom-left-radius: calc(var(--rayon) - 2px);
}

.avertissement {
  border-left: 4px solid var(--bordeaux);
  background: var(--mauve-clair);
  padding: 14px 18px;
  border-radius: 0 12px 12px 0;
  font-size: 0.95rem;
}

/* ---------- À propos ---------- */

.frise {
  list-style: none;
  margin: 0;
  padding: 0 0 0 28px;
  border-left: 2px solid var(--mauve);
}

.frise > li {
  position: relative;
  margin-bottom: 1.6rem;
}

.frise > li::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bordeaux);
  border: 3px solid var(--blanc);
}

.frise__annee {
  font-family: var(--police-titre);
  color: var(--bordeaux);
  font-weight: 700;
}

.frise ul {
  margin: 0.3rem 0 0;
  padding-left: 1.2rem;
}

/* ---------- Contact ---------- */

.coordonnees {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.coordonnees li {
  margin-bottom: 0.8rem;
}

.coordonnees a {
  font-weight: 500;
}

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

.pied {
  background: var(--mauve-clair);
  padding: 36px 0 28px;
  font-size: 0.9rem;
}

.pied__cta {
  text-align: center;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--mauve);
  font-size: 1rem;
}

.pied__cta h2 {
  font-size: clamp(2.4rem, 6vw, 3.2rem);
  margin: 0 0 0.8rem;
}

.pied__cta p {
  margin: 0.9rem 0 0;
}

.pied__cta .pied__precision {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: var(--texte-doux);
}

.pied__ligne {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.pied .marque {
  font-size: 1.8rem;
}

.pied p {
  margin: 0.3rem 0;
}

.pied__mentions {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--texte-doux);
}

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

@media (max-width: 800px) {
  .deux-colonnes,
  .hero,
  .offre {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Sur mobile, le ginkgo reste dans le coin de l'en-tête (il défile avec la page) et la branche disparaît */
  body::before {
    position: absolute;
    top: 4px;
    right: 6px;
    width: 49px;
    height: 56px;
  }

  body::after {
    display: none;
  }

  /* Photo avant le texte, assez petite pour garder le titre et le bouton au premier écran */
  .hero__visuel {
    order: -1;
    gap: 18px;
  }

  .hero .photo-blob {
    width: min(170px, 50%);
    box-shadow: 8px 8px 0 var(--mauve);
  }

  .hero__accroche {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .hero__actions {
    margin-top: 1.2rem;
  }

  .comparatif,
  .comparatif tbody,
  .comparatif tr,
  .comparatif th,
  .comparatif td {
    display: block;
  }

  .comparatif thead {
    display: none;
  }

  .comparatif caption {
    display: block;
    padding: 16px 16px 0;
  }

  .comparatif tr {
    border-bottom: 1.5px solid var(--mauve);
  }

  .comparatif tbody tr:last-child {
    border-bottom: 0;
  }

  .comparatif td {
    padding: 8px 16px;
    border-bottom: 0;
  }

  .comparatif td:last-child {
    padding-bottom: 16px;
  }

  .comparatif td::before {
    content: attr(data-label) " : ";
    font-weight: 600;
  }

  .comparatif tbody tr:last-child > :first-child {
    border-bottom-left-radius: 0;
  }

  .marque {
    font-size: 1.9rem;
  }

  .onglets ul {
    gap: 8px;
  }

  .onglets a {
    white-space: nowrap;
    padding: 6px 13px;
    font-size: 0.75rem;
  }

  .photo-blob {
    width: min(300px, 80%);
  }
}

/* ---------- Accueil : « Tu te reconnais ? » ---------- */

.reconnais {
  background: var(--mauve-clair);
  border-radius: var(--rayon);
  padding: clamp(24px, 5vw, 48px);
  text-align: center;
}

.reconnais__titre {
  font-size: clamp(2.6rem, 6vw, 3.8rem);
  margin-bottom: 1.2rem;
}

.reconnais__liste {
  list-style: none;
  margin: 0 auto 1.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 900px;
}

.reconnais__liste li {
  background: #fff;
  border: 1.5px solid var(--mauve);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.95rem;
}

.reconnais__conclusion {
  font-family: var(--police-titre);
  color: var(--bordeaux);
  margin: 0 0 1.5rem;
}

/* ---------- Accueil : parcours en 3 étapes ---------- */

.parcours {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  counter-reset: none;
}

.parcours .carte {
  position: relative;
  padding-top: 34px;
}

.parcours__numero {
  position: absolute;
  top: -14px;
  left: 22px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bordeaux);
  color: #fff;
  font-family: var(--police-titre);
  font-size: 1.1rem;
  display: grid;
  place-items: center;
}

.parcours__verbe {
  display: block;
  font-family: var(--police-script);
  font-size: 1.8rem;
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.carte .parcours__duree {
  flex: none;
  font-weight: 500;
  color: var(--bordeaux);
}

.parcours__aussi .carte {
  background: #fff;
  border: 1.5px solid var(--mauve);
}

/* ---------- FAQ ---------- */

.faq details {
  border-bottom: 1px solid var(--mauve);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 40px 16px 0;
  position: relative;
  font-family: var(--police-titre);
  color: var(--bordeaux);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 0 0 18px;
  max-width: 70ch;
}

.faq details p + .faq__cta {
  margin-top: -8px;
}

.faq__cta a {
  font-weight: 500;
}
