/* BlancartaAcadémie : même palette et même police que blancarta.ca
   (papier blanc cassé, encre sombre, marine profond, mauve de l'anneau du logo). */

@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --papier: #faf6f2;
  --papier-2: #f2ece6;
  --papier-3: #e6e0d6;
  --encre: #0f172a;
  --encre-douce: #5a6478;
  --marine: #0d1220;
  --ardoise: #3f516f;
  --mauve-clair: #9d8fd8;
  --mauve: #6f5db7;
  --rose: #d26d8f;
  --rose-texte: #b04a6e;
  --ligne: rgba(15, 23, 42, 0.14);
  --ligne-claire: rgba(250, 246, 242, 0.16);
  --rayon: 20px;
  --rayon-petit: 12px;
  --conteneur: 1200px;
  --marge: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 10vw, 140px);
  --sortie: cubic-bezier(0.19, 1, 0.22, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Archivo', system-ui, sans-serif;
  background: var(--papier);
  color: var(--encre);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: var(--ardoise); }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
h2 { font-size: clamp(30px, 4.2vw, 50px); max-width: 20ch; margin-bottom: 20px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }

.evitement { position: absolute; left: -999px; top: 8px; background: var(--marine); color: var(--papier); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.evitement:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--mauve); outline-offset: 3px; border-radius: 4px; }

.conteneur { max-width: var(--conteneur); margin: 0 auto; padding: 0 var(--marge); }
.conteneur-etroit { max-width: 820px; }
.section { padding: var(--section) 0; }
.section-papier { background: var(--papier-2); }
.section-sombre { background: var(--marine); color: var(--papier); }

.surtitre {
  font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mauve-clair); margin-bottom: 16px;
}
.surtitre.sombre { color: var(--mauve); }
.intro { font-size: 19px; color: var(--encre-douce); max-width: 62ch; margin-bottom: 48px; }
.intro.clair { color: rgba(250, 246, 242, 0.78); }

/* Boutons */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--marine); color: var(--papier); text-decoration: none;
  font-weight: 600; font-size: 16px; padding: 15px 26px; border-radius: 999px;
  border: 1.5px solid var(--marine);
  transition: transform .4s var(--sortie), background .3s, color .3s;
}
.bouton:hover { transform: translateY(-2px); background: var(--mauve); border-color: var(--mauve); }
.bouton-petit { padding: 10px 18px; font-size: 15px; }
.bouton-contour { background: transparent; color: var(--papier); border-color: rgba(250, 246, 242, 0.5); }
.bouton-contour:hover { background: var(--papier); color: var(--marine); border-color: var(--papier); }
.bouton-contour-sombre { background: transparent; color: var(--marine); }
.bouton-contour-sombre:hover { color: var(--papier); }
.heros .bouton:not(.bouton-contour), .appel .bouton:not(.bouton-contour), .section-sombre .bouton:not(.bouton-contour) { background: var(--papier); color: var(--marine); border-color: var(--papier); }
.heros .bouton:not(.bouton-contour):hover, .appel .bouton:not(.bouton-contour):hover { background: var(--mauve-clair); border-color: var(--mauve-clair); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.actions-centre { justify-content: center; }

/* Barre du haut */
.barre {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .35s, box-shadow .35s;
}
.barre.defile { background: rgba(250, 246, 242, 0.92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--ligne); }
.barre-int { max-width: var(--conteneur); margin: 0 auto; padding: 14px var(--marge); display: flex; align-items: center; gap: 24px; }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--papier); font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.marque b { font-weight: 800; }
.marque img { filter: invert(1); height: 30px; width: auto; }
.barre.defile .marque { color: var(--encre); }
.barre.defile .marque img { filter: none; }
.menu { margin-left: auto; display: flex; align-items: center; gap: clamp(16px, 2vw, 26px); }
.menu a { white-space: nowrap; }
.menu a:not(.bouton) { color: rgba(250, 246, 242, 0.86); text-decoration: none; font-size: 15px; font-weight: 500; }
.menu a:not(.bouton):hover { color: var(--papier); text-decoration: underline; text-underline-offset: 5px; }
.barre.defile .menu a:not(.bouton) { color: var(--encre); }
.barre:not(.defile) .menu .bouton { background: var(--papier); color: var(--marine); border-color: var(--papier); }
.menu-bouton { display: none; margin-left: auto; background: none; border: 1.5px solid currentColor; color: var(--papier); border-radius: 999px; padding: 8px 16px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.barre.defile .menu-bouton { color: var(--encre); }

/* Héros */
.heros { position: relative; min-height: 92vh; display: flex; align-items: flex-end; color: var(--papier); background: var(--marine); overflow: hidden; }
.heros-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; animation: derive 24s ease-in-out infinite alternate; }
@keyframes derive { from { transform: scale(1.04); } to { transform: scale(1.12) translateX(-1.5%); } }
.heros-voile { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 18, 32, 0.94) 0%, rgba(13, 18, 32, 0.72) 45%, rgba(13, 18, 32, 0.2) 100%), linear-gradient(0deg, rgba(13, 18, 32, 0.85) 0%, transparent 45%); }
.heros-int { position: relative; max-width: var(--conteneur); width: 100%; margin: 0 auto; padding: 140px var(--marge) clamp(64px, 9vw, 110px); }
.heros h1 { font-size: clamp(40px, 6.4vw, 84px); max-width: 14ch; margin-bottom: 26px; letter-spacing: -0.035em; }
.heros h1 em { font-style: normal; color: var(--mauve-clair); }
.heros-sous { font-size: clamp(18px, 1.7vw, 21px); max-width: 52ch; color: rgba(250, 246, 242, 0.84); margin-bottom: 14px; }
.devise { font-size: 15px; letter-spacing: 0.04em; color: var(--rose); font-weight: 600; margin-bottom: 36px; }

/* Pour qui */
.grille-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.porte { background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 28px; display: flex; flex-direction: column; gap: 12px; transition: transform .5s var(--sortie), box-shadow .5s; }
.porte:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(13, 18, 32, 0.4); }
.porte-num { font-size: 13px; font-weight: 700; color: var(--rose-texte); letter-spacing: 0.1em; }
.porte p { color: var(--encre-douce); font-size: 16px; flex: 1; }
.porte a { font-weight: 600; font-size: 15px; text-underline-offset: 4px; }
.porte-acces { background: var(--marine); color: var(--papier); border-color: var(--marine); }
.porte-acces p { color: rgba(250, 246, 242, 0.75); }
.porte-acces a { color: var(--mauve-clair); }
.porte-acces .porte-num { color: var(--rose); }

/* Formations */
.formations { display: flex; flex-direction: column; gap: 40px; margin-bottom: 80px; }
.formation { display: grid; grid-template-columns: 1.05fr 1fr; background: #fff; border-radius: 28px; overflow: hidden; border: 1px solid var(--ligne); }
.formation-inverse .formation-image { order: 2; }
.formation-image { min-height: 320px; position: relative; }
.formation-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.formation-texte { padding: clamp(28px, 4vw, 52px); }
.formation-texte > p { color: var(--encre-douce); }
.formation h3 { font-size: clamp(26px, 3vw, 36px); margin: 8px 0 16px; }
.etiquette { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mauve) !important; }
.plan { list-style: none; margin: 24px 0; border-top: 1px solid var(--ligne); counter-reset: plan; }
.plan li { counter-increment: plan; padding: 11px 0 11px 40px; border-bottom: 1px solid var(--ligne); position: relative; font-size: 15px; color: var(--encre-douce); }
.plan li::before { content: counter(plan, decimal-leading-zero); position: absolute; left: 0; top: 12px; font-size: 13px; font-weight: 700; color: var(--rose-texte); }
.plan li span { display: block; font-weight: 600; color: var(--encre); font-size: 16px; }
.details { font-size: 14px; color: var(--ardoise) !important; font-weight: 500; }
.sous-titre { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 24px; }
.grille-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.theme { padding: 24px 26px; border-left: 3px solid var(--mauve-clair); background: rgba(255, 255, 255, 0.6); border-radius: 0 var(--rayon-petit) var(--rayon-petit) 0; }
.theme h4 { margin-bottom: 6px; }
.theme p { color: var(--encre-douce); font-size: 15px; }

/* Expérience */
.deux-colonnes { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.liste-points { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.liste-points li { padding-left: 28px; position: relative; color: rgba(250, 246, 242, 0.8); }
.liste-points li::before { content: ''; position: absolute; left: 0; top: 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--mauve-clair); box-shadow: 0 0 0 4px rgba(157, 143, 216, 0.2); }
.liste-points strong { color: var(--papier); }
.experience-image img { border-radius: var(--rayon); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7); border: 1px solid var(--ligne-claire); }

/* Offres */
.offres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.offre { position: relative; background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 34px 30px; display: flex; flex-direction: column; }
.offre-vedette { background: var(--marine); color: var(--papier); border-color: var(--marine); transform: translateY(-12px); box-shadow: 0 30px 60px -30px rgba(13, 18, 32, 0.6); }
.offre-ruban { position: absolute; top: -13px; left: 30px; background: var(--rose); color: var(--marine); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.offre-pour { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mauve); }
.offre-vedette .offre-pour { color: var(--mauve-clair); }
.offre h3 { font-size: 26px; margin: 8px 0 18px; }
.prix { display: flex; flex-direction: column; gap: 4px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--ligne); }
.offre-vedette .prix { border-color: var(--ligne-claire); }
.prix small { font-size: 14px; color: var(--encre-douce); }
.offre-vedette .prix small { color: rgba(250, 246, 242, 0.65); }
.prix-devis { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.offre ul { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 30px; flex: 1; }
.offre li { padding-left: 24px; position: relative; font-size: 15px; color: var(--encre-douce); }
.offre-vedette li { color: rgba(250, 246, 242, 0.82); }
.offre li::before { content: ''; position: absolute; left: 2px; top: 8px; width: 11px; height: 6px; border-left: 2px solid var(--mauve); border-bottom: 2px solid var(--mauve); transform: rotate(-45deg); }
.offre-vedette li::before { border-color: var(--mauve-clair); }
.offre .bouton { width: 100%; }
.offre-vedette .bouton { background: var(--papier); color: var(--marine); border-color: var(--papier); }
.offre-vedette .bouton:hover { background: var(--mauve-clair); border-color: var(--mauve-clair); }
.bandeau-coaching { margin-top: 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; background: var(--papier-2); border-radius: var(--rayon); padding: 32px 36px; border: 1px solid var(--ligne); }
.bandeau-coaching p { color: var(--encre-douce); max-width: 62ch; margin-top: 6px; }
.bandeau-coaching .bouton { flex-shrink: 0; }

/* Éléments à confirmer : bien visibles tant que Joannie ne les a pas remplis */
.a-confirmer { display: inline-block; font-size: 15px; font-weight: 700; color: var(--rose-texte); background: rgba(210, 109, 143, 0.1); border: 1.5px dashed var(--rose); border-radius: 8px; padding: 6px 12px; width: fit-content; }
.offre-vedette .a-confirmer { color: var(--rose); background: rgba(210, 109, 143, 0.12); }
.note-confirmer { font-size: 14px; color: var(--rose-texte); margin: 12px 0 40px; font-weight: 500; }

/* Témoignages */
.clients { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.client { font-size: clamp(18px, 2vw, 24px); font-weight: 700; letter-spacing: -0.01em; padding: 16px 28px; border-radius: 999px; background: #fff; border: 1px solid var(--ligne); color: var(--ardoise); }
.temoignage { background: #fff; border-radius: var(--rayon); padding: 30px; border: 1px solid var(--ligne); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.temoignage blockquote { font-size: 18px; line-height: 1.5; position: relative; padding-top: 42px; }
.temoignage blockquote::before { content: '«'; position: absolute; top: 0; left: 0; font-size: 54px; line-height: 0.8; color: var(--mauve-clair); font-weight: 700; }
.temoignage-vide blockquote { color: var(--encre-douce); font-style: italic; font-size: 16px; }
.temoignage figcaption { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--encre-douce); }

/* Approche */
.deux-colonnes-photo { grid-template-columns: 0.8fr 1.2fr; align-items: start; }
.portrait { position: sticky; top: 100px; }
.portrait img { border-radius: 28px; background: var(--papier-2); aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; }
.portrait figcaption { margin-top: 16px; display: flex; flex-direction: column; color: var(--encre-douce); font-size: 15px; }
.portrait strong { color: var(--encre); font-size: 18px; }
.etapes { list-style: none; display: flex; flex-direction: column; gap: 22px; }
.etapes li { display: flex; gap: 20px; align-items: flex-start; }
.etapes li > span { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--marine); color: var(--papier); display: grid; place-items: center; font-weight: 700; }
.etapes h3 { font-size: 19px; margin-bottom: 4px; }
.etapes p { color: var(--encre-douce); font-size: 16px; }

/* Questions */
.question { border-bottom: 1px solid var(--ligne); }
.question summary { cursor: pointer; list-style: none; font-size: 19px; font-weight: 600; padding: 22px 40px 22px 0; position: relative; }
.question summary::-webkit-details-marker { display: none; }
.question summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font-size: 28px; font-weight: 400; color: var(--mauve); transition: transform .3s; }
.question[open] summary::after { transform: rotate(45deg); }
.question p { padding: 0 0 24px; color: var(--encre-douce); max-width: 64ch; }

/* Appel final et pied */
.appel { background: radial-gradient(ellipse at 50% 0%, #2a2350 0%, var(--marine) 65%); color: var(--papier); padding: var(--section) 0; text-align: center; }
.appel-int { display: flex; flex-direction: column; align-items: center; }
.appel-logo { filter: invert(1); margin-bottom: 26px; }
.appel h2 { margin: 0 auto 16px; }
.appel p { color: rgba(250, 246, 242, 0.78); font-size: 19px; max-width: 50ch; margin-bottom: 34px; }
.pied { background: var(--marine); color: rgba(250, 246, 242, 0.6); font-size: 14px; border-top: 1px solid var(--ligne-claire); }
.pied-int { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; padding-bottom: 28px; }
.pied a { color: rgba(250, 246, 242, 0.85); }

/* Apparition au défilement */
.js .apparait { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--sortie), transform .9s var(--sortie); }
.js .apparait.visible { opacity: 1; transform: none; }
.js .offre-vedette.apparait.visible { transform: translateY(-12px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .heros-photo { animation: none; }
  .js .apparait { opacity: 1; transform: none; transition: none; }
}

/* Tablette */
@media (max-width: 1020px) {
  .grille-4 { grid-template-columns: repeat(2, 1fr); }
  .offres { grid-template-columns: 1fr; max-width: 560px; }
  .offre-vedette, .js .offre-vedette.apparait.visible { transform: none; }
  .formation, .deux-colonnes, .deux-colonnes-photo { grid-template-columns: 1fr; }
  .formation-inverse .formation-image { order: 0; }
  .formation-image { min-height: 0; aspect-ratio: 16 / 9; max-height: 420px; }
  .portrait { position: static; max-width: 360px; }
  .grille-3 { grid-template-columns: repeat(2, 1fr); }
}

/* Téléphone */
@media (max-width: 960px) {
  .menu-bouton { display: block; }
  .menu { display: none; position: absolute; top: 100%; left: 12px; right: 12px; flex-direction: column; align-items: stretch; gap: 4px; background: var(--papier); border-radius: 18px; padding: 14px; box-shadow: 0 20px 50px -20px rgba(13, 18, 32, 0.5); }
  .menu.ouvert { display: flex; }
  .menu a:not(.bouton), .barre.defile .menu a:not(.bouton) { color: var(--encre); padding: 10px 8px; font-size: 17px; }
  .barre:not(.defile) .menu .bouton { background: var(--marine); color: var(--papier); border-color: var(--marine); }
  .menu .bouton { margin-top: 6px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .grille-4, .grille-3 { grid-template-columns: 1fr; }
  .heros { min-height: 88vh; }
  .heros-voile { background: linear-gradient(0deg, rgba(13, 18, 32, 0.96) 0%, rgba(13, 18, 32, 0.7) 60%, rgba(13, 18, 32, 0.45) 100%); }
  .actions .bouton { width: 100%; }
  .bandeau-coaching { flex-direction: column; align-items: flex-start; padding: 26px; }
  .bandeau-coaching .bouton { width: 100%; }
  .client { padding: 12px 20px; }
}
