/* La Tribu des Rêveurs — feuille de style commune à toutes les pages */
:root {
  --marine: #1F2D4D;        /* titres, texte du logo */
  --ardoise: #5B6E82;       /* tipi du logo */
  --ardoise-pale: #E3E9EF;
  --terracotta: #B9773F;    /* baseline du logo, un peu assombri pour la lisibilité */
  --terracotta-vif: #C98A52;
  --terracotta-pale: #F7EBDD;
  --bois: #6B4226;
  --creme: #FAF6EF;
  --white: #FFFFFF;
  --text: #33383F;
  --text-soft: #5F6670;
  --line: #E6E9ED;
  --radius: 16px;
  --maxw: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1 0 auto; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; color: var(--marine); margin: 0 0 .5em; font-weight: 700; line-height: 1.25; text-wrap: balance; }
img { max-width: 100%; height: auto; }
a { color: var(--ardoise); }
:focus-visible { outline: 3px solid var(--terracotta-vif); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--marine); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* En-tête */
header.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px 6vw; background: var(--white); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100; /* bandeau (logo et onglets) toujours visible */
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 92px; width: auto; max-width: 100%; display: block; }
nav.main-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 26px; }
nav.main-nav a { color: var(--ardoise); text-decoration: none; font-size: .93rem; font-weight: 500; }
nav.main-nav a:hover { color: var(--terracotta); }
nav.main-nav a[aria-current="page"] { color: var(--marine); font-weight: 700; }
.nav-cta { background: var(--terracotta); color: #fff !important; padding: 10px 22px; border-radius: 30px; text-transform: uppercase; font-size: .78rem !important; letter-spacing: .05em; font-weight: 700 !important; }
.nav-cta:hover { background: var(--bois); }

/* Boutons */
.pill-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--terracotta); color: #fff; text-decoration: none; padding: 13px 26px; border-radius: 30px; text-transform: uppercase; font-size: .8rem; font-weight: 700; letter-spacing: .05em; border: 0; cursor: pointer; font-family: inherit; }
.pill-btn:hover { background: var(--bois); }
.pill-btn.large { padding: 16px 34px; font-size: .86rem; }
.btn-outline { display: inline-block; margin-top: 16px; padding: 10px 22px; border: 1.5px solid var(--terracotta); border-radius: 26px; background: var(--terracotta); color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; }
.btn-outline:hover { background: #9C5F2E; border-color: #9C5F2E; color: #fff; }
.link-secondary { color: var(--ardoise); text-decoration: none; font-size: .94rem; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.link-secondary:hover { color: var(--terracotta); border-color: var(--terracotta); }

/* Sections */
section { padding: 70px 6vw; max-width: var(--maxw); margin: 0 auto; }
.eyebrow { display: inline-block; color: var(--terracotta); font-size: .9rem; letter-spacing: .02em; margin-bottom: 14px; font-weight: 700; }
.nowrap { white-space: nowrap; }

.hero { text-align: center; padding-top: 84px; padding-bottom: 64px; max-width: 800px; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3rem); margin-bottom: 18px; }
/* la petite ligne au-dessus du titre fait partie du H1 (mots-cles pour Google), mais garde l'apparence d'une petite ligne */
h1 .eyebrow { display: block; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: .9rem; line-height: 1.7; }
@media (min-width: 1300px) {
  .hero { display: grid; grid-template-columns: 600px 470px; justify-content: center; column-gap: 44px; align-items: center; max-width: 1320px; }
}
.hero .hero-photo { max-width: 420px; margin: 44px auto 0; }
@media (min-width: 1300px) { .hero .hero-photo { max-width: 470px; margin: 0; } }
.hero .hero-photo .frame { aspect-ratio: 5 / 4; border-radius: 42% 58% 55% 45% / 55% 45% 55% 45%; } /* forme « galet » */
.hero .hero-photo .frame img.photo { object-position: 50% 50%; }
/* Bandes de fond pleine largeur (page d'accueil) */
.band { position: relative; isolation: isolate; }
.band-terracotta { background: var(--terracotta-pale); }
main:has(.band) + footer.site-footer { margin-top: 0; border-top: 0; }

/* Petites étoiles dorées (reprises du tipi du logo) */
:root { --etoile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23C98A52' d='M12 0c.9 7 5 11.1 12 12-7 .9-11.1 5-12 12-.9-7-5-11.1-12-12 7-.9 11.1-5 12-12z'/%3E%3C/svg%3E"); }
/* Étoiles dispersées dans le cadre de chaque section (jamais collées aux titres, jamais deux fois le même arrangement) */
@media (min-width: 900px) {
  .etapes, .raisons { position: relative; }
  .etapes::before, .raisons::before { content: ""; position: absolute; inset: 0; pointer-events: none; }
  .etapes::before { background: var(--etoile) no-repeat 91% 5% / 21px, var(--etoile) no-repeat 1% 63% / 18px; }
  .raisons::before { background: var(--etoile) no-repeat 89% 7% / 22px, var(--etoile) no-repeat 2% 88% / 20px, var(--etoile) no-repeat 4% 45% / 16px; }
}
@media (min-width: 1300px) {
  .hero { position: relative; }
  .hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--etoile) no-repeat 1% 26% / 20px, var(--etoile) no-repeat 55% 80% / 15px; }
}

/* Etoiles decoratives des autres onglets (dans les marges, sans jamais recouvrir le texte) */
@media (min-width: 900px) {
  .page-head, .tarifs, .tarifs-cartes, .about-page { position: relative; }
  .page-head::before, .tarifs::before, .tarifs-cartes::before, .about-page::before { content: ""; position: absolute; inset: 0; pointer-events: none; }
  .tarifs-cartes::before { background: var(--etoile) no-repeat 3% 48% / 16px; }
  .page-head::before { background: var(--etoile) no-repeat 1.5% 30% / 20px, var(--etoile) no-repeat 98% 16% / 14px; }
  .tarifs::before { background: var(--etoile) no-repeat 2% 9% / 20px, var(--etoile) no-repeat 99% 40% / 16px; }
}
@media (min-width: 900px) {
  .about-page::before { background: var(--etoile) no-repeat calc(4vw + 40px) 540px / 20px, var(--etoile) no-repeat 98% 90px / 14px, var(--etoile) no-repeat 98% 55% / 15px; }
}

/* Page « Mes tarifs » : titre, parcours, puis les 2 cartes de prix */
.tarifs-tete { padding-bottom: 0; }
.tarifs-tete h1 { margin-bottom: 0; }
.etapes-tarifs { padding-top: 34px; padding-bottom: 20px; }
.etapes-tarifs .etapes-liste { margin-top: 24px; }
.tarifs-cartes { text-align: center; padding-top: 0; }
.tarifs-cartes .tarif-cards { margin-top: 54px; } /* meme espace que sous « Qui suis-je ? » */

/* « Comment ça se passe ? » */
.etapes { text-align: center; max-width: 1240px; }
.etapes-liste { list-style: none; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.etape { position: relative; }
.etape-num { position: relative; z-index: 1; width: 60px; height: 60px; margin: 0 auto 20px; border-radius: 50%; background: var(--terracotta); color: #fff; font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 1.6rem; display: grid; place-items: center; box-shadow: 0 0 0 7px var(--white); }
.etape:nth-child(even) .etape-num { background: var(--ardoise); }
/* le trait de la frise relie le centre de chaque pastille a celui de la precedente */
.etape:not(:first-child)::before { content: ""; position: absolute; top: 29px; left: calc(-50% - 24px); width: calc(100% + 24px); border-top: 1px solid var(--terracotta); }
.etape h3 { font-size: 1.2rem; margin: 0 0 18px; }
/* les 4 titres occupent la meme hauteur (2 lignes) : les textes commencent tous au meme niveau */
@media (min-width: 1001px) { .etape h3 { min-height: 2.5em; } }
.etape p { margin: 0; color: var(--text-soft); font-size: .88rem; }
.etape p strong { color: var(--marine); }
@media (max-width: 1000px) {
  .etapes-liste { grid-template-columns: 1fr; gap: 26px; text-align: left; }
  .etape { display: flex; gap: 16px; align-items: flex-start; }
  .etape-num { margin: 0; flex: none; width: 46px; height: 46px; font-size: 1.3rem; box-shadow: 0 0 0 6px var(--white); }
  .etape h3 { font-size: 1.1rem; margin-bottom: 8px; }
  .etape p { font-size: .88rem; }
  .etape:not(:first-child)::before { display: none; }
  .etape:not(:last-child)::after { content: ""; position: absolute; left: 22.5px; top: 52px; height: calc(100% - 52px + 26px); border-left: 1px solid var(--terracotta); }
  .etape p { text-align: justify; }
}
.hero .underline { width: 60px; height: 3px; background: var(--terracotta-vif); margin: 0 auto 26px; border-radius: 2px; }
/* Derniere phrase de l'accroche : une seule ligne des que la place le permet (elle deborde un peu, de facon symetrique). */
@media (min-width: 720px) { .hero .ligne-unique { display: block; white-space: nowrap; width: max-content; position: relative; left: 50%; transform: translateX(-50%); } }
.hero p.subtitle { font-size: 1.1rem; color: var(--text-soft); max-width: 600px; margin: 0 auto 26px; }
.cta-row { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 30px; }
.lien-pedagogie { margin: 26px 0 0; }
.page-head .lien-tarifs { margin: 24px 0 0; text-align: center; text-align-last: center; }
.reassurance { margin-top: 12px; font-size: .86rem; font-style: italic; color: var(--text-soft); }
/* Une seule ligne (la phrase mesure ~42 fois la taille de police) ; sur petit telephone, elle repasse sur 2 lignes. */
@media (min-width: 620px) {
  .reassurance { white-space: nowrap; width: max-content; max-width: 96vw; position: relative; left: 50%; transform: translateX(-50%); font-size: min(.86rem, 2.05vw); }
}

.pedagogie-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; }
.principles { margin-top: 28px; display: flex; flex-direction: column; gap: 24px; }
.principle { border-left: 3px solid var(--terracotta-vif); padding-left: 18px; }
.principle-label { margin: 0 0 6px; font-weight: 700; color: var(--terracotta); font-size: 1rem; text-decoration: underline; text-decoration-color: var(--terracotta-vif); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.principle p:last-child { margin: 0; color: var(--text-soft); font-size: .98rem; }
.principle p strong { color: var(--marine); }

/* Pédagogie : 4 cartes + bandeau des pleurs (renard) */
#pedagogie { text-align: center; }
#pedagogie h1, #pedagogie h2 { margin-bottom: 0; color: var(--terracotta); }
#pedagogie h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); color: var(--marine); } /* meme titre que « Qui suis-je ? » */ /* meme taille que « Vous vous reconnaissez » */
/* Citation : bande pleine largeur, bords en vague */
#pedagogie { max-width: 1180px; padding-left: 3vw; padding-right: 3vw; padding-bottom: 50px; }
/* Pédagogie : une colonne centrée et aérée ; icône à gauche du titre ; une petite étoile sépare les principes */
.colonne { max-width: 680px; margin: 0 auto; text-align: center; }
.colonne { padding-top: 34px; }
/* photo du bébé endormi : cadre polaroïd penché ; dans la marge gauche, à la hauteur du 1er titre (grand écran), sinon centrée au-dessus */
.pedagogie-photo { display: block; box-sizing: border-box; width: 210px; height: 290px; margin: 0 auto 50px; object-fit: cover; border: 9px solid #fff; border-radius: 6px; box-shadow: 0 10px 26px rgba(31, 45, 77, .22); transform: rotate(-3deg); }
@media (min-width: 1300px) {
  .colonne { position: relative; padding-top: 50px; }
  .pedagogie-photo { position: absolute; left: -300px; top: 28px; width: 270px; height: 365px; margin: 0; }
}
.pilier h3 { position: relative; display: flex; align-items: center; justify-content: center; gap: 16px; font-size: 1.4rem; line-height: 1.25; margin: 0 0 2px; padding-bottom: 4px; }
.pilier h3::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 70px; height: 3px; border-radius: 2px; background: var(--terracotta); transform: translateX(-50%); }
.pilier-ico { flex: none; box-sizing: border-box; width: 50px; height: 50px; padding: 12px; border-radius: 50%; background: var(--terracotta); stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pilier .accroche { font-family: Georgia, "Times New Roman", serif; font-style: italic; color: var(--terracotta); font-size: 1rem; margin: 4px 0 12px; }
.pilier > p:last-child { margin: 0; color: var(--text-soft); font-size: 1rem; line-height: 1.85; }
.pilier strong { color: var(--marine); }
/* la question des pleurs : bloc plus large que la colonne (sur grand écran) pour tenir en moins de lignes */
@media (min-width: 1100px) { .pilier-large { position: relative; left: 50%; width: 1060px; transform: translateX(-50%); } }
.pilier:not(:last-child)::after { content: ""; display: block; width: 120px; height: 1px; margin: 60px auto; background: var(--line); }
@media (max-width: 600px) { .pilier h3 { font-size: 1.25rem; gap: 12px; } .pilier-ico { width: 46px; height: 46px; padding: 11px; } .pilier:not(:last-child)::after { margin: 48px auto; } }
.vague-terracotta { display: block; width: 100%; height: 46px; margin-bottom: -1px; }
.vague-terracotta path { fill: var(--terracotta-pale); }
.vague-fin { display: block; width: 100%; height: 46px; background: var(--white); }
.vague-fin path { fill: var(--terracotta-pale); }
.citation svg { display: block; width: 100%; height: 46px; margin-bottom: -1px; }
.citation svg path { fill: var(--marine); }
.citation .vague-bas { background: var(--terracotta-pale); }
.citation-fin .vague-bas { background: var(--white); }
.pedagogie-fin { text-align: center; padding-top: 44px; padding-bottom: 70px; }
/* Accueil : aperçu de la pédagogie (renard + phrase sur les pleurs + lien vers l'onglet) */
.ped-apercu { display: grid; grid-template-columns: 150px 1fr; gap: 30px; align-items: center; max-width: 760px; margin: 76px auto 0; background: var(--white); border: 1px solid var(--line); border-radius: 26px; padding: 28px 36px; text-align: left; }
.ped-apercu img { width: 100%; height: auto; display: block; }
.ped-apercu > div { text-align: center; }
/* meme ecriture et meme gras que les titres des cartes « Envie de changement »... */
.ped-apercu .phrase { font-family: inherit; font-style: normal; font-weight: 600; color: var(--marine); font-size: 1rem; margin: 0 0 14px; }
.ped-apercu .link-secondary { font-size: .95rem; }
@media (max-width: 700px) { .ped-apercu { grid-template-columns: 1fr; text-align: center; padding: 26px 22px; gap: 18px; } .ped-apercu img { width: 130px; margin: 0 auto; } }
.citation-corps { background: var(--marine); text-align: center; padding: 30px 6vw 40px; }
.citation-renard { display: block; width: 190px; height: auto; margin: 26px auto 0; filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 2px #fff); }
@media (min-width: 1000px) {
  .citation-corps { display: grid; grid-template-columns: minmax(0, 1fr) 240px; column-gap: 50px; align-items: center; max-width: none; padding: 30px max(4vw, calc((100vw - 1320px) / 2)) 40px max(6vw, calc((100vw - 1180px) / 2)); text-align: left; }
  .citation-corps .citation-texte blockquote, .citation-corps .citation-texte p { text-align: left; margin-left: 0; margin-right: 0; max-width: none; }
  .citation-corps .citation-texte blockquote { font-size: clamp(1.25rem, 1.75vw, 1.6rem); }
  .citation-renard { width: 240px; margin: 0; justify-self: end; }
}
.citation-corps blockquote { margin: 0 auto 18px; max-width: 1000px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.4; color: #fff; }
.citation-corps blockquote::before { content: "\201C"; font-size: 4.2em; line-height: 0; vertical-align: -.42em; margin-right: .08em; color: var(--terracotta-vif); }
.citation-corps p { margin: 0 auto; max-width: 820px; color: #D5DBE6; font-size: .98rem; text-align: center; }

/* Cadre d'illustration / photo (remplaçable par une vraie photo, voir commentaires HTML) */
.organic-photo { position: relative; width: 100%; max-width: 380px; margin: 0 auto; }
.organic-photo .frame { aspect-ratio: 1 / 1.05; border-radius: 4% 46% 46% 46%; background: linear-gradient(160deg, var(--ardoise-pale), var(--terracotta-pale)); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.organic-photo .frame img { width: 62%; height: auto; }
.organic-photo .frame img.photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.organic-photo .accent { position: absolute; top: -14px; left: -14px; width: 60px; height: 60px; background: var(--ardoise-pale); border-radius: 4% 46% 46% 46%; z-index: -1; }

.quote-block { background: var(--marine); color: #EEF1F6; border-radius: 22px; padding: 48px 50px; margin-top: 50px; }
.quote-block { text-align: left; }
.quote-block blockquote::before { content: "\201C"; display: block; font-family: Georgia, "Times New Roman", serif; font-size: 5rem; line-height: .7; color: var(--terracotta-vif); margin-bottom: 8px; }
.quote-block blockquote { margin: 0 0 18px; font-family: Georgia, serif; font-size: 1.4rem; color: #fff; line-height: 1.5; }
.quote-block p { color: #D5DBE6; font-size: .98rem; margin: 0; }
.cta-wrap { margin-top: 18px; text-align: center; }

.raisons { text-align: center; max-width: 1280px; }
.raisons h2 { color: var(--terracotta); }
.accordion-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 34px; text-align: left; align-items: start; }
/* Colonnes indépendantes (répartition faite par le script en bas de page) : ouvrir une carte ne crée plus de trou sous ses voisines */
.accordion-grid.js-cols { display: flex; align-items: flex-start; }
/* « Envie de changement » : centrée sous les autres cartes, juste au-dessus de l'aperçu du renard */
.acc-solo { width: calc(50% - 8px); margin: 16px auto 0; text-align: left; }
@media (max-width: 579px) { .acc-solo { width: 100%; } }
.acc-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
details.acc-item { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
details.acc-item summary { cursor: pointer; font-weight: 600; color: var(--marine); list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
details.acc-item summary::-webkit-details-marker { display: none; }
details.acc-item summary::after { content: "+"; color: var(--terracotta); font-size: 1.3rem; font-weight: 700; }
details.acc-item[open] summary::after { content: "–"; }
details.acc-item p { margin: 12px 0 2px; color: var(--text-soft); font-size: .88rem; }
details.acc-item ul { margin: 12px 0 2px; padding: 0; list-style: none; }
details.acc-item ul li { position: relative; padding-left: 18px; margin-bottom: 8px; color: var(--text-soft); font-size: .88rem; line-height: 1.5; }
details.acc-item ul li:last-child { margin-bottom: 0; }
details.acc-item li strong { color: var(--marine); }
details.acc-item ul li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--terracotta-vif); }

/* Ta photo : cadre polaroïd légèrement penché */
.about-page .organic-photo .frame { aspect-ratio: 3 / 4; border: 9px solid var(--white); border-radius: 6px; box-shadow: 0 10px 26px rgba(31, 45, 77, .22); transform: rotate(-3deg); }
.about-page .organic-photo .accent, .hero-photo .accent { display: none; }
.pedagogie-grid .organic-photo { max-width: 400px; }
.pedagogie-grid .organic-photo .frame { aspect-ratio: 1 / 1.25; }
.pedagogie-grid .organic-photo .frame img.photo { object-position: 50% 35%; }
.about-grid { display: grid; grid-template-columns: 300px 1fr; gap: 52px; align-items: start; }
.about-side { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.ecole-row { display: flex; align-items: center; gap: 24px; margin: 0 0 1em; }
.about-grid .ecole-row p { margin: 0; flex: 1; }
.badge-ecole { width: 160px; height: auto; flex: none; }
@media (min-width: 1750px) { .ecole-row { position: relative; display: block; } .about-grid .ecole-row p { margin: 0 75px 0 0; } .badge-ecole { width: 195px; position: absolute; left: calc(100% - 55px); top: 50%; transform: translateY(-50%); } }
.about-grid h2 { margin-bottom: 14px; }
.about-grid p { color: var(--text-soft); margin: 0 0 1em; }
.about-grid p strong { color: var(--marine); }
p.contact-cta { margin-top: 10em; padding-top: 0.4em; border-top: 1px solid var(--line); font-weight: 600; color: var(--terracotta); }
.contact-cta a { color: var(--terracotta); }
.contact-cta a:hover { color: var(--bois); }

.tarifs { text-align: center; }
.tarif-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 26px; margin-top: 38px; text-align: left; }
.tarif-card { display: flex; flex-direction: column; background: var(--white); border: 1.5px solid var(--terracotta); border-radius: 22px; padding: 30px 28px 32px; box-shadow: 0 6px 22px rgba(31, 45, 77, .05); }
/* Les boutons "Réserver" sont poussés en bas de chaque carte : ils restent alignés même si les textes n'ont pas la même longueur. */
.tarif-card .btn-outline { margin-top: auto; align-self: flex-start; }
.about-page { max-width: 1280px; padding-left: 4vw; padding-right: 4vw; } /* texte plus large, donc moins haut */
.about-page h1, .tarifs h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.about-page .about-grid h1 { margin-bottom: 30px; }
.tarif-card .label { color: var(--terracotta); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.tarif-card h3 { margin: 8px 0 2px; font-size: 1.25rem; }
.tarif-card .price { font-family: Georgia, serif; font-size: 2rem; color: var(--marine); margin: 6px 0 2px; }
.tarif-card .duration { color: var(--text-soft); font-size: .9rem; font-style: italic; margin: 10px 0 42px; }
.tarif-card p.desc strong { color: var(--marine); }
.tarif-card p.desc { color: var(--text-soft); font-size: 1rem; margin: 0 0 26px; }
.tarif-note { margin: 30px auto 0; max-width: 720px; font-size: .88rem; font-style: italic; color: var(--text-soft); }
@media (min-width: 900px) { .tarif-note { max-width: none; font-size: min(.88rem, 1.3vw); } .tarif-note .une-ligne { white-space: nowrap; } }
.tarifs .eyebrow { font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; letter-spacing: 0; margin-bottom: 10px; }

.contact { background: var(--creme); border-radius: 24px; text-align: center; padding: 56px 40px; }
.contact p { color: var(--text-soft); max-width: 560px; margin: 0 auto 26px; }
.contact .direct { margin-top: 22px; font-size: .9rem; color: var(--text-soft); }
.contact .direct a { color: var(--bois); }

/* Page "Prendre RDV" */
.page-head { text-align: center; padding-top: 64px; padding-bottom: 20px; max-width: 760px; }
.page-head h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.page-head p { color: var(--text-soft); }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 820px; margin: 30px auto 0; }
.choice { text-align: left; background: var(--white); border: 2px solid var(--line); border-radius: var(--radius); padding: 24px; cursor: pointer; font: inherit; color: var(--text); }
.choice:hover { border-color: var(--terracotta-vif); }
.choice[aria-pressed="true"] { border-color: var(--terracotta); background: var(--terracotta-pale); }
.choice .label { display: block; color: var(--bois); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.choice strong { display: block; font-family: Georgia, serif; color: var(--marine); font-size: 1.15rem; margin: 6px 0 2px; }
.choice .meta { color: var(--text-soft); font-size: .9rem; }
.calendar-zone { max-width: 900px; margin: 30px auto 0; }
.calendar-zone iframe { width: 100%; height: 780px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.calendar-hint { text-align: center; color: var(--text-soft); font-size: .92rem; margin: 26px 0 0; }
.info-list { max-width: 760px; margin: 40px auto 0; display: grid; gap: 14px; padding: 0; list-style: none; }
.info-list li { background: var(--creme); border-radius: 12px; padding: 16px 20px; color: var(--text-soft); font-size: .95rem; }
.info-list li strong { color: var(--marine); }

/* Pages légales */
.legal { max-width: 800px; padding-top: 50px; }
.legal h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); }
.legal h2 { font-size: 1.25rem; margin-top: 2em; }
.legal h3 { font-size: 1.02rem; margin: 1.6em 0 .4em; color: var(--bois); }
.legal p, .legal li { color: var(--text-soft); font-size: .97rem; }
.legal ul { margin: .4em 0 1em; padding-left: 1.3em; }
.legal li { margin-bottom: .45em; }
.legal li strong { color: var(--marine); }
.legal .updated { font-size: .85rem; color: var(--text-soft); }
.todo { background: #FFF3B8; color: #5B4A00; padding: 1px 6px; border-radius: 4px; font-weight: 600; }
.draft-note { background: #FFF3B8; border: 1px solid #E8D46B; color: #5B4A00; border-radius: 10px; padding: 14px 18px; font-size: .92rem; margin: 20px 0 30px; }

/* Textes justifies (avec coupure des mots pour eviter les grands blancs) */
.principle p, .quote-block p, .about-grid p, details.acc-item p, details.acc-item li, .tarif-card p.desc, .legal p, .legal li, .info-list li { text-align: justify; hyphens: manual; -webkit-hyphens: manual; }
/* Blocs centres : les lignes sont justifiees, la derniere reste centree */
.hero p.subtitle, .page-head > p, .tarif-note { text-align: justify; text-align-last: center; hyphens: manual; -webkit-hyphens: manual; }

/* Bandeau cookies */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; background: var(--marine); color: #EEF1F6; padding: 16px 6vw; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 24px; box-shadow: 0 -4px 16px rgba(0,0,0,.15); }
.cookie-banner p { margin: 0; font-size: .85rem; max-width: 640px; line-height: 1.5; }
.cookie-banner a { color: #E3A66C; }
.cookie-actions { display: flex; gap: 10px; flex: none; }
.cookie-actions button { font-family: inherit; font-size: .82rem; font-weight: 700; border-radius: 24px; padding: 9px 20px; cursor: pointer; border: 1.5px solid #ffffff; background: transparent; color: #ffffff; }
.cookie-actions .cookie-accept { background: var(--terracotta); border-color: var(--terracotta); }
.cookie-actions .cookie-accept:hover { background: var(--bois); border-color: var(--bois); }
.cookie-actions .cookie-refuse:hover { background: rgba(255,255,255,.12); }

/* Pied de page */
footer.site-footer { text-align: center; padding: 36px 6vw 50px; color: var(--text-soft); font-size: .82rem; border-top: 1px solid var(--line); margin-top: 30px; }
footer .footer-disclaimer { font-size: .78rem; margin: 0 auto 32px; max-width: 620px; line-height: 1.55; }
/* Sur écran large, la phrase tient sur une seule ligne (elle mesure ~80 fois la taille de la police). */
@media (min-width: 1000px) {
  footer .footer-disclaimer { max-width: none; white-space: nowrap; font-size: min(.8rem, 1vw); }
}
footer nav.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; margin: 10px 0 12px; }
footer nav.footer-links a { color: var(--ardoise); text-decoration: none; }
footer nav.footer-links a:hover { color: var(--terracotta); text-decoration: underline; }
footer .copyright { margin: 0; }

@media (max-width: 800px) {
  .ecole-row { flex-direction: column; align-items: center; gap: 18px; }
  .badge-ecole { width: 180px; }
  header.site-header { flex-direction: column; gap: 16px; padding: 10px 5vw; }
  .brand img { height: 70px; }
  nav.main-nav { justify-content: center; gap: 6px 16px; }
  .pedagogie-grid, .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-grid .organic-photo { max-width: 240px; }
  section { padding: 50px 5vw; }
  .quote-block { padding: 34px 26px; }
  .contact { padding: 40px 22px; }
  .calendar-zone iframe { height: 860px; }
}
@media (max-width: 600px) {
  .hero p.subtitle, .page-head > p, .tarif-note { text-align: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
