/* =========================================================
   Eléana Fitoussi — ostéopathe D.O.
   Direction : « La blouse » — le bleu pervenche de sa blouse
   comme couleur de marque, l'abricot en contrepoint, une seule
   famille de caractères (Bricolage Grotesque), des formes en arche.
   ========================================================= */

:root {
  /* Couleurs */
  --porcelaine: #FBFAF8;   /* fond */
  --blanc: #FFFFFF;
  --blouse: #BCCDEB;       /* bleu de sa blouse, couleur de marque */
  --blouse-pale: #E9EFFA;
  --abricot: #F7CDB4;
  --abricot-pale: #FDF1E9;
  --encre: #1D2547;        /* texte, boutons */
  --encre-douce: #4A5274;  /* texte secondaire, 7:1 sur porcelaine */
  --trait: #DEE3EE;
  --corail: #D9674C;       /* accents décoratifs uniquement */

  /* Typographie */
  --ff: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1.4vw, 1.3rem);
  --fs-h3: clamp(1.35rem, 1.8vw, 1.6rem);
  --fs-h2: clamp(2rem, 3.6vw, 3.25rem);
  --fs-h1: clamp(2.6rem, 5.6vw, 4.9rem);

  /* Espacements & formes */
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 10vw, 136px);
  --r-s: 14px;
  --r-m: 24px;
  --r-l: 40px;
  --arch: 999px 999px var(--r-m) var(--r-m);
}

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

body {
  margin: 0;
  background: var(--porcelaine);
  color: var(--encre);
  font-family: var(--ff);
  font-optical-sizing: auto;
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--encre); text-underline-offset: 3px; }
a:hover { color: var(--corail); }
:focus-visible { outline: 3px solid var(--corail); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 650; letter-spacing: -0.035em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: var(--fs-lead); color: var(--encre-douce); max-width: 34em; }
.muted { color: var(--encre-douce); }
.small { font-size: .9375rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-l { display: flex; flex-direction: column; gap: 36px; }
.stack > .btn, .stack-l > .btn, .stack > .btns, .stack-l > .btns { align-self: flex-start; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 600 1rem/1 var(--ff); text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--encre); transition: background .2s, color .2s, transform .2s;
}
.btn-plein { background: var(--encre); color: var(--blanc); }
.btn-plein:hover { background: #2E3A6B; color: var(--blanc); transform: translateY(-1px); }
.btn-ligne { background: transparent; color: var(--encre); }
.btn-ligne:hover { background: var(--encre); color: var(--blanc); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 248, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--trait); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--encre); }
.logo-mark { width: 40px; height: 40px; border-radius: 999px 999px 10px 10px; background: var(--blouse); display: grid; place-items: center; font-weight: 700; font-size: 1.05rem; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-size: 1.15rem; font-weight: 650; letter-spacing: -0.02em; }
.logo-text span { font-size: .8125rem; color: var(--encre-douce); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; white-space: nowrap; }
.header-cta { white-space: nowrap; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--corail); text-decoration-thickness: 2px; }
.menu-toggle { display: none; background: none; border: 1.5px solid var(--encre); border-radius: 999px; min-height: 44px; padding: 0 18px; font: 600 .95rem var(--ff); color: var(--encre); }
@media (max-width: 1180px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px var(--gutter) 24px; background: var(--porcelaine); border-bottom: 1px solid var(--trait); }
  .nav.is-open { display: flex; }
  .nav a { padding: 10px 0; font-size: 1.1rem; }
  .header-cta { display: none; }
}

/* ---------- Héro ---------- */
.hero { padding-block: clamp(40px, 6vw, 88px) var(--section); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 36px; }
.hello { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; font-weight: 500; color: var(--encre-douce); }
.hello::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--corail); }

.portrait { position: relative; justify-self: center; width: min(420px, 100%); }
.portrait::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; border-radius: var(--arch); background: var(--blouse); }
.portrait img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; border-radius: var(--arch); }
.portrait figcaption { position: absolute; left: -24px; bottom: 36px; background: var(--blanc); border-radius: var(--r-s); padding: 14px 18px; box-shadow: 0 12px 32px rgba(29, 37, 71, .12); font-size: .9rem; line-height: 1.35; max-width: 230px; }
.portrait figcaption strong { display: block; font-size: 1rem; }

/* Bloc de réservation */
.booking { background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--r-m); padding: 22px; display: grid; gap: 12px; max-width: 560px; }
.booking-title { font-weight: 600; }
.booking-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.booking-option { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: var(--r-s); background: var(--blouse-pale); text-decoration: none; color: var(--encre); transition: background .2s; }
.booking-option:hover { background: var(--blouse); color: var(--encre); }
.booking-option strong { font-size: 1.1rem; }
.booking-option span { font-size: .9rem; color: var(--encre-douce); }
.booking-note { font-size: .875rem; color: var(--encre-douce); }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .portrait { order: -1; width: min(320px, 82%); }
  .portrait figcaption { left: auto; right: -12px; }
}
@media (max-width: 520px) { .booking-options { grid-template-columns: 1fr; } }

/* ---------- Bande parcours ---------- */
.proofs { background: var(--encre); color: var(--blanc); }
.proofs .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.proof { padding: 30px 24px; border-left: 1px solid rgba(255, 255, 255, .14); }
.proof:first-child { border-left: 0; padding-left: 0; }
.proof strong { display: block; font-size: 1.15rem; margin-bottom: 4px; }
.proof span { color: #C9D2EC; font-size: .95rem; line-height: 1.45; }
@media (max-width: 880px) { .proofs .wrap { grid-template-columns: 1fr 1fr; } .proof:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 520px) { .proofs .wrap { grid-template-columns: 1fr; } .proof { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.14); } .proof:first-child { border-top: 0; } }

/* ---------- Approche ventre + dos ---------- */
.approche { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.planche { background: var(--blouse-pale); border-radius: var(--r-l); padding: clamp(24px, 4vw, 48px); }
.planche figcaption { margin-top: 16px; font-size: .9rem; color: var(--encre-douce); }
.liens-anat { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.liens-anat li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.liens-anat li::before { content: ""; width: 12px; height: 12px; margin-top: 7px; border-radius: 50%; background: var(--abricot); border: 2px solid var(--corail); }
@media (max-width: 880px) { .approche { grid-template-columns: 1fr; } }

/* ---------- Motifs ---------- */
.motifs { background: var(--abricot-pale); }
.domaines { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.domaine { display: flex; flex-direction: column; gap: 16px; padding: clamp(28px, 4vw, 44px); border-radius: var(--r-l); text-decoration: none; color: var(--encre); min-height: 320px; transition: transform .25s; }
.domaine:hover { transform: translateY(-3px); color: var(--encre); }
.domaine--ventre { background: var(--blouse); }
.domaine--dos { background: var(--blanc); border: 1px solid #F0DDD0; }
.domaine h3 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); }
.domaine .lien { margin-top: auto; font-weight: 600; text-decoration: underline; text-decoration-color: var(--corail); text-decoration-thickness: 2px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tags li { padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .65); font-size: .92rem; }
.domaine--dos .tags li { background: var(--abricot-pale); }
.accompagnements { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.accomp { padding: 28px; border-radius: var(--r-m); background: var(--blanc); text-decoration: none; color: var(--encre); display: flex; flex-direction: column; gap: 10px; }
.accomp:hover { color: var(--encre); background: #FFF8F3; }
@media (max-width: 880px) { .domaines, .accompagnements { grid-template-columns: 1fr; } }

/* ---------- Parcours (frise) ---------- */
.parcours-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.frise { list-style: none; margin: 0; padding: 0; position: relative; }
.frise::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--blouse); }
.frise li { position: relative; padding: 0 0 28px 40px; }
.frise li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--porcelaine); border: 3px solid var(--encre); }
.frise li:last-child::before { background: var(--corail); border-color: var(--corail); }
.frise strong { display: block; font-size: 1.1rem; }
.citation { margin: 0; padding: 32px; border-radius: var(--r-l); background: var(--blouse-pale); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.35; letter-spacing: -0.01em; }
.citation footer { margin-top: 14px; font-size: .95rem; color: var(--encre-douce); }
@media (max-width: 880px) { .parcours-grid { grid-template-columns: 1fr; } }

/* ---------- Séance (étapes) ---------- */
.etapes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: etape; list-style: none; margin: 0; padding: 0; }
.etapes li { counter-increment: etape; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--r-m); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.etapes li::before { content: counter(etape); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--abricot); font-weight: 700; }
@media (max-width: 880px) { .etapes { grid-template-columns: 1fr; } }

/* ---------- Cabinets ---------- */
.cabinets { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cabinet { background: var(--blanc); border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--trait); display: flex; flex-direction: column; }
.cabinet img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.cabinet-body { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.infos { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: .97rem; }
.infos dt { color: var(--encre-douce); }
.infos dd { margin: 0; }
.cabinet .btns { margin-top: auto; padding-top: 8px; }
.credit { font-size: .78rem; color: var(--encre-douce); padding: 6px 12px 0; }
@media (max-width: 880px) { .cabinets { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
.faq details { border-bottom: 1px solid var(--trait); padding: 22px 0; }
.faq details:first-child { border-top: 1px solid var(--trait); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-weight: 600; font-size: 1.12rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--blouse-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%231D2547' stroke-width='1.8'/%3E%3C/svg%3E") center no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--encre-douce); max-width: 38em; }
@media (max-width: 880px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Appel final ---------- */
.final { background: var(--blouse); border-radius: var(--r-l); padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
@media (max-width: 880px) { .final { grid-template-columns: 1fr; } }

/* ---------- Pages internes ---------- */
.breadcrumb { padding-top: 28px; font-size: .92rem; color: var(--encre-douce); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--blouse); }
.page-hero { padding-block: 36px var(--section); display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.page-hero h1 { font-size: clamp(2.4rem, 4.8vw, 4.1rem); margin-bottom: 20px; }
.prose { max-width: 40em; display: flex; flex-direction: column; gap: 18px; }
.prose h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-top: 24px; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.motif-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; list-style: none; padding: 0; margin: 0; }
.motif-list a, .motif-list div { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 26px; border-radius: var(--r-m); background: var(--blanc); border: 1px solid var(--trait); text-decoration: none; color: var(--encre); }
.motif-list a:hover { border-color: var(--encre); color: var(--encre); }
.alerte { background: var(--abricot-pale); border-radius: var(--r-m); padding: clamp(24px, 4vw, 40px); }
.alerte ul { margin: 12px 0 0; padding-left: 1.2em; display: grid; gap: 6px; }
.lieu-photo { border-radius: var(--arch); overflow: hidden; aspect-ratio: 4 / 5; }
.lieu-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px) { .page-hero, .motif-list { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.site-footer { margin-top: var(--section); background: var(--encre); color: #C9D2EC; font-size: .95rem; }
.site-footer a { color: #E4E9F7; }
.site-footer a:hover { color: var(--abricot); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding-block: 64px 40px; }
.footer-grid h2 { font-size: 1rem; letter-spacing: 0; color: var(--blanc); margin-bottom: 10px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-bas { border-top: 1px solid rgba(255, 255, 255, .14); padding-block: 22px 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: .85rem; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Barre de réservation mobile */
.mobile-book { display: none; }
@media (max-width: 720px) {
  .mobile-book { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; gap: 8px; padding: 8px; background: var(--encre); border-radius: 999px; box-shadow: 0 10px 30px rgba(29, 37, 71, .3); }
  .mobile-book a { flex: 1; min-height: 48px; display: grid; place-items: center; border-radius: 999px; color: var(--blanc); text-decoration: none; font-weight: 600; font-size: .95rem; }
  .mobile-book a:first-child { background: rgba(255, 255, 255, .12); }
  body { padding-bottom: 84px; }
}

/* ---------- Galerie des cabinets ---------- */
.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.galerie figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.galerie img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-m); }
.galerie figcaption { font-size: .9rem; color: var(--encre-douce); }
@media (max-width: 880px) { .galerie { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .galerie { grid-template-columns: 1fr; } }

/* ---------- Sélecteur de cabinet (en-tête) ---------- */
.rdv-menu { position: relative; }
.rdv-menu summary { list-style: none; }
.rdv-menu summary::-webkit-details-marker { display: none; }
.rdv-pop { position: absolute; right: 0; top: calc(100% + 10px); width: 300px; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--r-m); box-shadow: 0 18px 40px rgba(29, 37, 71, .16); padding: 10px; display: grid; gap: 6px; }
.rdv-pop-titre { font-size: .85rem; color: var(--encre-douce); padding: 6px 10px 2px; }
.rdv-pop a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: var(--r-s); text-decoration: none; background: var(--blouse-pale); }
.rdv-pop a:hover { background: var(--blouse); color: var(--encre); }
.rdv-pop a span { font-size: .85rem; color: var(--encre-douce); }

/* ---------- Relance réservation ---------- */
.relance { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-m); background: var(--blouse-pale); }
.relance p { max-width: 36em; }

/* ---------- Autres motifs ---------- */
.autres-motifs { font-size: 1.05rem; }

/* ---------- Bloc médecin ---------- */
.alerte.medecin { display: grid; gap: 14px; }
.alerte.medecin h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.alerte.medecin ul { margin: 0; }

/* ---------- L'essentiel en bref ---------- */
.en-bref { border: 1px solid var(--trait); background: var(--blanc); border-radius: var(--r-l); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(24px, 5vw, 72px); }
.en-bref h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.en-bref dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 14px 24px; }
.en-bref dt { font-weight: 600; }
.en-bref dd { margin: 0; color: var(--encre-douce); }
@media (max-width: 880px) { .en-bref { grid-template-columns: 1fr; } .en-bref dl { grid-template-columns: 1fr; gap: 4px; } .en-bref dd { margin-bottom: 12px; } }
