/* ==========================================================
   Isabelle Babillot — Énergéticienne, chamane
   Feuille de style unique du site
   ========================================================== */

/* Polices hébergées sur le site (aucun appel à Google Fonts) — sous-ensemble latin, polices variables */
@font-face {
  font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url("../fonts/cormorant-garamond.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/nunito-sans.woff2") format("woff2");
}

:root {
  --creme: #faf6ef;
  --sable: #f1e9dc;
  --blanc: #ffffff;
  --encre: #2b2a27;
  --texte: #4a4740;
  --doux: #7a756b;
  --foret: #3e5a47;
  --foret-fonce: #2c4334;
  --sauge: #a9bba3;
  --ocre: #b5793b;
  --ocre-clair: #e9d3b5;
  --ligne: #e3d9c8;

  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --largeur: 1120px;
  --texte-max: 70ch;
  --rayon: 14px;
  --ombre: 0 10px 30px -12px rgba(43, 42, 39, .18);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--creme);
  color: var(--texte);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--foret); text-underline-offset: 3px; }
a:hover { color: var(--ocre); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--encre);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin: 0 0 1.1em; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.lien-evitement {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--foret); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.lien-evitement:focus { top: 12px; }

/* ---------- En-tête & navigation ---------- */

.entete {
  position: sticky; top: 0; z-index: 50;
  background: var(--creme);
  border-bottom: 1px solid var(--ligne);
}
.entete .conteneur {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 76px;
}

.marque { text-decoration: none; color: var(--encre); display: flex; flex-direction: column; line-height: 1.1; }
.marque:hover { color: var(--encre); }
.marque-nom { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; letter-spacing: .02em; }
.marque-metier { font-size: .78rem; text-transform: uppercase; letter-spacing: .18em; color: var(--ocre); margin-top: 3px; }

.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul { display: flex; align-items: center; gap: 4px; }
.nav a, .nav .sous-titre {
  display: block; padding: 10px 14px; border-radius: 999px;
  color: var(--encre); text-decoration: none; font-size: .95rem; font-weight: 600;
}
.nav a:hover, .nav .sous-titre:hover { background: var(--sable); color: var(--encre); }
.nav a[aria-current="page"] { color: var(--foret); background: var(--sable); }

.nav .a-sous-menu { position: relative; }
.nav .sous-titre { cursor: default; background: none; border: 0; font: inherit; font-weight: 600; font-size: .95rem; }
.nav .sous-titre::after { content: "▾"; font-size: .75em; margin-left: 6px; color: var(--doux); }
.nav .sous-menu {
  position: absolute; top: calc(100% + 4px); left: 0; min-width: 250px;
  background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon);
  box-shadow: var(--ombre); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.nav .sous-menu a { border-radius: 8px; font-weight: 500; }
.nav .a-sous-menu:hover .sous-menu,
.nav .a-sous-menu:focus-within .sous-menu { opacity: 1; visibility: visible; transform: none; }

.nav .bouton-nav { background: var(--foret); color: #fff; margin-left: 6px; }
.nav .bouton-nav:hover, .nav .bouton-nav[aria-current="page"] { background: var(--foret-fonce); color: #fff; }

.burger {
  display: none; background: none; border: 1px solid var(--ligne); border-radius: 10px;
  width: 46px; height: 46px; cursor: pointer; color: var(--encre);
}
.burger span, .burger span::before, .burger span::after {
  display: block; width: 20px; height: 2px; background: currentColor; margin: auto; position: relative; transition: .2s;
}
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 76px 0 0 0; background: var(--creme);
    overflow-y: auto; padding: 16px 16px 40px;
    display: none;
  }
  .nav.ouverte { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a, .nav .sous-titre { padding: 12px 14px; font-size: 1.05rem; border-radius: 10px; }
  .nav .sous-titre { color: var(--ocre); text-transform: uppercase; font-size: .8rem; letter-spacing: .14em; margin-top: 10px; }
  .nav .sous-titre::after { content: none; }
  .nav .sous-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; background: none; padding: 0 0 0 8px; min-width: 0;
  }
  .nav .bouton-nav { margin: 14px 0 0; text-align: center; }
}

/* ---------- Bandeau d'accueil ---------- */

.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--creme) 0%, var(--sable) 100%);
}
.hero .conteneur {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
  padding-block: 72px 88px;
}
.hero-sur-titre {
  display: inline-block; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ocre); font-weight: 700; margin-bottom: 18px;
}
.hero h1 { margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--foret); font-weight: 500; }
.hero-intro { font-size: 1.2rem; max-width: 34em; }
.hero-photo { position: relative; }
.hero-photo img {
  border-radius: 200px 200px var(--rayon) var(--rayon);
  aspect-ratio: 4 / 5; object-fit: cover; width: 100%;
  box-shadow: var(--ombre);
}
.hero-photo::before {
  content: ""; position: absolute; inset: -18px 18px 18px -18px;
  border: 1px solid var(--ocre-clair); border-radius: 200px 200px var(--rayon) var(--rayon); z-index: -1;
}
.hero-photo { z-index: 0; }
.badge-langue {
  display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--doux);
  margin-top: 22px;
}

@media (max-width: 860px) {
  .hero .conteneur { grid-template-columns: 1fr; gap: 40px; padding-block: 48px 64px; }
  .hero-photo { max-width: 380px; margin-inline: auto; width: 100%; }
}

/* ---------- En-tête de page intérieure ---------- */

.page-titre {
  background:
    linear-gradient(180deg, rgba(250,246,239,.88), rgba(241,233,220,.96)),
    url("../img/ginkgo.jpg") center / cover;
  border-bottom: 1px solid var(--ligne);
  padding-block: 64px 56px; text-align: center;
}
.page-titre p { max-width: 40em; margin: 0 auto; font-size: 1.15rem; color: var(--texte); }
.fil {
  font-size: .85rem; color: var(--doux); margin-bottom: 14px;
}
.fil a { color: var(--doux); }

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

.boutons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid var(--foret);
  background: var(--foret); color: #fff; font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer; font-family: var(--sans);
  transition: background .2s, color .2s, transform .2s;
}
.bouton:hover { background: var(--foret-fonce); color: #fff; transform: translateY(-1px); }
.bouton.secondaire { background: transparent; color: var(--foret); }
.bouton.secondaire:hover { background: var(--foret); color: #fff; }

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

.section { padding-block: 80px; }
.section.alt { background: var(--blanc); border-block: 1px solid var(--ligne); }
.section.sable { background: var(--sable); }
.section-tete { text-align: center; max-width: 44em; margin: 0 auto 48px; }
.section-tete p { color: var(--doux); }
.sur-titre {
  display: block; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ocre); font-weight: 700; margin-bottom: 10px;
}

.prose { max-width: var(--texte-max); }
.prose.centre { margin-inline: auto; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; color: var(--foret); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--ocre); }
.prose strong { color: var(--encre); }

/* Mise en page texte + image */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.duo.texte-large { grid-template-columns: 1.4fr .6fr; align-items: start; }
.duo.inverse > :first-child { order: 2; }
.duo-image { width: 100%; margin: 0; }
.duo-image img { border-radius: var(--rayon); box-shadow: var(--ombre); width: 100%; }
.duo-image figcaption { font-size: .85rem; color: var(--doux); margin-top: 10px; text-align: center; }
.duo-image.collant { position: sticky; top: 110px; }
@media (max-width: 860px) {
  .duo, .duo.texte-large { grid-template-columns: 1fr; gap: 36px; }
  .duo.inverse > :first-child { order: 0; }
  .duo-image { max-width: 460px; margin-inline: auto; }
  .duo-image.collant { position: static; }
}

/* Citation */
.citation {
  margin: 0; text-align: center; max-width: 36em; margin-inline: auto;
}
.citation p {
  font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); font-style: italic;
  color: var(--encre); line-height: 1.35; margin-bottom: .6em;
}
.citation p::before { content: "« "; color: var(--ocre); }
.citation p::after { content: " »"; color: var(--ocre); }
.citation cite { font-style: normal; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; color: var(--doux); }

/* Encadré */
.encadre {
  background: var(--sable); border-left: 3px solid var(--ocre);
  padding: 22px 26px; border-radius: 0 var(--rayon) var(--rayon) 0; margin: 28px 0;
}
.encadre > :last-child { margin-bottom: 0; }
.encadre.vert { background: #eef2ec; border-color: var(--foret); }
.encadre h3, .encadre h4 { margin-top: 0; }

/* Cartes */
.grille { display: grid; gap: 24px; }
.grille-3 { grid-template-columns: repeat(3, 1fr); }
.grille-2 { grid-template-columns: repeat(2, 1fr); }
.grille-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grille-3, .grille-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grille-3, .grille-2, .grille-4 { grid-template-columns: 1fr; } }

.carte {
  background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.carte-lien { text-decoration: none; color: inherit; }
.carte-lien:hover { transform: translateY(-4px); box-shadow: var(--ombre); color: inherit; }
.carte img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.carte-corps { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.carte-corps h3 { font-size: 1.45rem; margin-bottom: .3em; }
.carte-corps p { font-size: .97rem; color: var(--texte); margin-bottom: 1em; }
.carte-suite { margin-top: auto; font-weight: 700; color: var(--foret); font-size: .92rem; }
.carte-suite::after { content: " →"; }
.carte-prix { font-family: var(--serif); font-size: 1.15rem; color: var(--ocre); font-weight: 600; }

/* Liste à puces stylées (pastilles) */
.pastilles { list-style: none; padding: 0; margin: 0 0 1.2em; display: flex; flex-wrap: wrap; gap: 10px; }
.pastilles li {
  background: var(--blanc); border: 1px solid var(--ligne); border-radius: 999px;
  padding: 8px 16px; font-size: .95rem; margin: 0;
}
.section.alt .pastilles li { background: var(--creme); }

/* Liste cochée */
.coches { list-style: none; padding: 0 !important; }
.coches li { position: relative; padding-left: 30px; margin-bottom: .6em; }
.coches li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--sauge) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%232c4334' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Étapes numérotées */
.etapes { counter-reset: etape; list-style: none; padding: 0 !important; }
.etapes li { counter-increment: etape; position: relative; padding-left: 56px; margin-bottom: 1.2em; min-height: 40px; }
.etapes li::before {
  content: counter(etape); position: absolute; left: 0; top: 0;
  width: 40px; height: 40px; border-radius: 50%; background: var(--foret); color: #fff;
  font-family: var(--serif); font-size: 1.3rem; font-weight: 600;
  display: grid; place-items: center;
}

/* Tableau des tarifs */
.tarifs { list-style: none; padding: 0; margin: 0; }
.tarifs li {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: baseline;
  padding: 18px 0; border-bottom: 1px dashed var(--ligne);
}
.tarifs li:last-child { border-bottom: 0; }
.tarifs .nom { font-weight: 700; color: var(--encre); }
.tarifs .prix { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--ocre); text-align: right; white-space: nowrap; }
.tarifs .detail { grid-column: 1 / -1; font-size: .93rem; color: var(--doux); }

/* Témoignages */
.temoignages { columns: 2 340px; column-gap: 24px; }
.temoignage {
  break-inside: avoid; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon);
  padding: 28px 28px 24px; margin: 0 0 24px; position: relative;
}
.temoignage::before {
  content: "“"; position: absolute; top: 4px; right: 22px;
  font-family: var(--serif); font-size: 5rem; line-height: 1; color: var(--ocre-clair);
}
.temoignage blockquote { margin: 0 0 16px; font-size: 1rem; }
.temoignage blockquote p:last-child { margin-bottom: 0; }
.temoignage figcaption { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--foret); }
.temoignage figcaption span { display: block; font-family: var(--sans); font-size: .85rem; font-weight: 400; color: var(--doux); }

/* Agenda */
.evenement {
  display: grid; grid-template-columns: 110px 1fr; gap: 24px;
  background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon);
  padding: 24px; margin-bottom: 18px;
}
.evenement-date {
  background: var(--sable); border-radius: 10px; text-align: center; padding: 12px 6px;
  font-family: var(--serif); color: var(--encre); line-height: 1.1;
}
.evenement-date strong { display: block; font-size: 1.9rem; }
.evenement-date span { font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; }
.evenement h3 { margin-bottom: .2em; }
.evenement p { margin-bottom: .3em; }
.evenement.passe { opacity: .65; }
@media (max-width: 520px) { .evenement { grid-template-columns: 1fr; } .evenement-date { max-width: 140px; } }

/* Informations pratiques */
.infos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .infos { grid-template-columns: 1fr; } }
.info {
  background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 28px;
}
.info h3 { font-size: 1.35rem; display: flex; align-items: center; gap: 10px; }
.info h3 svg { color: var(--ocre); flex: none; }
.info p:last-child, .info ul:last-child { margin-bottom: 0; }
.horaires { list-style: none; padding: 0; margin: 0; }
.horaires li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px dashed var(--ligne); font-size: .97rem; }
.horaires li:last-child { border-bottom: 0; }

/* Formulaire */
.formulaire { display: grid; gap: 18px; }
.champ-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .champ-duo { grid-template-columns: 1fr; } }
.champ label { display: block; font-weight: 700; font-size: .92rem; color: var(--encre); margin-bottom: 6px; }
.champ input, .champ textarea, .champ select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--ligne); border-radius: 10px;
  background: var(--blanc); font: inherit; color: var(--encre);
  transition: border-color .2s, box-shadow .2s;
}
.champ textarea { min-height: 160px; resize: vertical; }
.champ input:focus, .champ textarea:focus, .champ select:focus {
  outline: none; border-color: var(--foret); box-shadow: 0 0 0 3px rgba(62, 90, 71, .15);
}
.case { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; }
.case input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--foret); flex: none; }
.pot-de-miel { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.message-form { padding: 16px 20px; border-radius: 10px; font-weight: 600; display: none; }
.message-form.visible { display: block; }
.message-form.ok { background: #e6efe4; color: var(--foret-fonce); }
.message-form.erreur { background: #f7e4dc; color: #8a3b1c; }
.petit { font-size: .85rem; color: var(--doux); }

/* Lien vidéo */
.video-lien {
  display: flex; align-items: center; gap: 18px; text-decoration: none; color: var(--encre);
  background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 18px 22px;
  max-width: 460px; transition: box-shadow .2s, transform .2s;
}
.video-lien:hover { box-shadow: var(--ombre); transform: translateY(-2px); color: var(--encre); }
.video-lien .lecture {
  width: 52px; height: 52px; border-radius: 50%; background: var(--ocre); color: #fff;
  display: grid; place-items: center; flex: none;
}
.video-lien strong { display: block; font-family: var(--serif); font-size: 1.25rem; }
.video-lien span { font-size: .9rem; color: var(--doux); }

/* Appel à l'action */
.cta {
  background: var(--foret); color: #e8eee6; text-align: center;
  padding-block: 72px;
  background-image: radial-gradient(circle at 15% 20%, rgba(255,255,255,.07), transparent 40%),
                    radial-gradient(circle at 85% 80%, rgba(181,121,59,.25), transparent 45%);
}
.cta h2 { color: #fff; }
.cta p { max-width: 36em; margin-inline: auto; }
.cta .bouton { background: var(--creme); color: var(--foret-fonce); border-color: var(--creme); }
.cta .bouton:hover { background: #fff; color: var(--foret-fonce); }
.cta .bouton.secondaire { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.cta .bouton.secondaire:hover { background: rgba(255,255,255,.12); }
.cta .boutons { justify-content: center; }

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

.pied { background: var(--foret-fonce); color: #c9d3c6; font-size: .95rem; }
.pied a { color: #fff; text-decoration: none; }
.pied a:hover { color: var(--ocre-clair); text-decoration: underline; }
.pied-grille { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-block: 56px 36px; }
@media (max-width: 860px) { .pied-grille { grid-template-columns: 1fr; gap: 28px; } }
.pied h2 { font-size: 1.5rem; color: #fff; margin-bottom: .4em; }
.pied h3 { font-family: var(--sans); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ocre-clair); margin-bottom: 14px; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin-bottom: 6px; }
.pied-avert {
  border-top: 1px solid rgba(255,255,255,.12); padding-block: 22px 28px;
  font-size: .82rem; color: #9fae9b; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
}
.pied-avert p { margin: 0; max-width: 62em; }

/* ---------- Divers ---------- */

.centre { text-align: center; }
.mt-0 { margin-top: 0; }
.ornement {
  display: block; width: 64px; height: 1px; background: var(--ocre); margin: 22px auto; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .entete, .pied, .cta, .burger { display: none !important; }
  body { background: #fff; }
}
