/*
Theme Name: D.Care Osteopathy
Theme URI: https://dcare-osteopathy.com
Author: D.Care Osteopathy
Description: Thème bloc sur mesure pour D.Care Osteopathy — sable, bronze et formes douces. Entièrement modifiable dans l'éditeur de blocs.
Version: 1.0.3
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dcare
Tags: block-theme, full-site-editing, one-column, custom-colors
*/

/* D.Care Osteopathy — feuille commune à la maquette et au thème WordPress.
   Registre : logo (couleurs, polices) · intérieur + Milkinside (formes douces, lumière) · Thomas (plan, mise en page).
   Le DOM ciblé est celui des blocs Gutenberg natifs (figure.wp-block-image, div.wp-block-group,
   .wp-block-button__link…). Les marges des composants sont préfixées par « body » : les styles de
   mise en page de WordPress (:root :where(.is-layout-flow) > *) ont une spécificité de (0,1,0). */

:root {
  --creme: #F7F1EA;
  --sable: #E0CEB9;
  --bronze: #B08856;
  --voile: #C9AD8A;
  --brun: #4E3A27;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Quicksand", system-ui, sans-serif;

  --largeur: 1240px;
  --gouttiere: clamp(20px, 4vw, 48px);
  --section: clamp(88px, 10vw, 148px);
  --dome: clamp(48px, 9vw, 150px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--brun);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--serif);
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-weight: 500;
  margin: 0;
  color: var(--brun);
  hyphens: none;
  text-wrap: balance;
}
h2 { font-size: clamp(38px, 4.4vw, 62px); line-height: 1.04; letter-spacing: -0.015em; }
h3 { font-size: 26px; line-height: 1.2; }
p { margin: 0; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--bronze); }

/* Neutralisation de l'espacement automatique — à spécificité nulle (blocs-gutenberg.md) */
:where(.wp-block-group) > :where(*), :where(.wp-block-buttons) { margin-block: 0; }
figure.wp-block-image { margin: 0; }
.wp-site-blocks { padding: 0; }

.enveloppe { max-width: var(--largeur); margin: 0 auto; padding: 0 var(--gouttiere); }

p.surtitre {
  display: flex; align-items: center; gap: 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
}
body .surtitre { margin-bottom: 22px; }
.surtitre::before { content: ""; flex: none; width: 36px; height: 1px; background: var(--bronze); }

/* ---------- Logo (reprise du lettrage de la référence) ---------- */
.logo { --t: 40px; position: relative; display: inline-block; color: var(--bronze); line-height: 1; padding-bottom: calc(var(--t) * .3); }
.logo .logo-nom {
  font-family: var(--serif); font-size: var(--t); font-weight: 560; line-height: 1;
  font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 144; letter-spacing: -.01em;
}
.logo .logo-nom a { text-decoration: none; color: var(--bronze); }
.logo .logo-sous {
  position: absolute; left: 75%; top: calc(var(--t) * .98); line-height: 1;
  font-family: var(--sans); font-weight: 600; font-size: max(8px, calc(var(--t) * .15));
  letter-spacing: .42em; text-transform: uppercase; white-space: nowrap; color: var(--bronze);
}

/* ---------- Boutons : la classe est sur le conteneur, le style sur le lien ---------- */
.wp-block-buttons.boutons, .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.wp-block-button.bouton-plein, .wp-block-button.bouton-contour { display: inline-block; background: none; border: 0; padding: 0; border-radius: 0; }
.wp-block-button.bouton-plein .wp-block-button__link,
.wp-block-button.bouton-contour .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 30px; border-radius: 999px;
  font-family: var(--sans); font-weight: 700; font-size: 16px; letter-spacing: .01em; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s;
}
.wp-block-button.bouton-plein .wp-block-button__link { background: var(--brun); color: var(--creme); border: 1.5px solid var(--brun); }
.wp-block-button.bouton-plein .wp-block-button__link:hover { background: var(--bronze); border-color: var(--bronze); color: var(--brun); }
.wp-block-button.bouton-contour .wp-block-button__link { border: 1.5px solid var(--bronze); color: var(--brun); background: transparent; }
.wp-block-button.bouton-contour .wp-block-button__link:hover { background: var(--sable); }

/* ---------- En-tête ---------- */
.wp-site-blocks > header.wp-block-template-part {
  position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 20;
  background: color-mix(in srgb, var(--creme) 92%, transparent); backdrop-filter: blur(10px);
}
.entete-ligne { display: flex; align-items: center; gap: 48px; height: 96px; }
.wp-block-navigation.nav { margin-left: auto; display: flex; gap: 0; }
.wp-block-navigation.pied-nav { display: flex; justify-content: center; gap: 0; }
.wp-block-navigation.nav .wp-block-navigation__container { display: flex; gap: 36px; list-style: none; margin: 0; padding: 0; }
.wp-block-navigation.nav .wp-block-navigation-item__content { text-decoration: none; font-weight: 600; font-size: 16px; position: relative; padding: 6px 0; display: inline-block; }
.wp-block-navigation.nav .wp-block-navigation-item__content::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--bronze); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.wp-block-navigation.nav .wp-block-navigation-item__content:hover::after,
.wp-block-navigation.nav .current-menu-item > .wp-block-navigation-item__content::after { transform: scaleX(1); }
.wp-block-buttons.entete-rdv .wp-block-button__link { min-height: 46px; padding: 0 24px; font-size: 15px; }
.burger { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 84px) 0 var(--section); overflow: hidden; }
.hero-grille { display: grid; grid-template-columns: 1.16fr .84fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero-titre { font-size: clamp(50px, 6.9vw, 100px); line-height: .98; letter-spacing: -.025em; }
body .hero-titre { margin-bottom: 30px; }
.hero-intro { font-size: 19px; max-width: 34em; }
body .hero-intro { margin-bottom: 38px; }
ul.pastilles { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; max-width: 560px; }
body ul.pastilles { margin: 42px 0 0; }
ul.pastilles li { border: 1px solid var(--voile); border-radius: 999px; padding: 7px 16px; font-size: 14px; font-weight: 600; margin: 0; }

.hero-visuel { position: relative; justify-self: center; width: min(100%, 470px); aspect-ratio: 470 / 640; }
.hero-visuel::before {
  content: ""; position: absolute; z-index: 0; right: -18%; bottom: -9%; width: 84%; height: 72%;
  background: var(--bronze); border-radius: 58% 42% 46% 54% / 46% 38% 62% 54%;
}
figure.arche { position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 999px 999px 0 0; overflow: hidden; }
figure.arche img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.medaille {
  position: absolute; z-index: 2; left: -15%; bottom: 13%;
  width: 156px; height: 156px; border-radius: 50%;
  background: var(--sable); color: var(--brun);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  box-shadow: 0 24px 60px -24px rgba(78, 58, 39, .45);
}
.medaille .medaille-grand { font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 0; font-size: 46px; line-height: 1; color: var(--bronze); font-weight: 560; }
.medaille .medaille-petit { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; font-weight: 700; max-width: 11em; line-height: 1.5; }
body .medaille .medaille-petit { margin-top: 10px; }

.vertical {
  position: absolute; right: 26px; top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl; display: flex; align-items: center; gap: 16px;
  font-size: 12px; font-weight: 700; letter-spacing: .4em; text-transform: uppercase; color: var(--bronze);
}
.vertical p + p::before { content: ""; display: inline-block; width: 1px; height: 72px; background: var(--bronze); margin-bottom: 16px; vertical-align: middle; }

/* ---------- Citation ---------- */
.citation { padding-bottom: var(--section); }
blockquote.citation-pilule {
  position: relative; margin: 0; background: var(--sable); border-radius: 999px; border: 0;
  padding: clamp(56px, 7vw, 92px) clamp(32px, 12vw, 180px); text-align: center;
}
blockquote.citation-pilule::before {
  content: "\201C"; position: absolute; left: 50%; top: 0; transform: translate(-50%, -40%);
  width: 108px; height: 108px; border-radius: 50%; background: var(--creme);
  display: flex; align-items: flex-start; justify-content: center; padding-top: 26px;
  font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 0; font-size: 120px; line-height: 1; color: var(--bronze);
}
blockquote.citation-pilule p {
  font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 0; font-weight: 400;
  font-size: clamp(24px, 2.6vw, 36px); line-height: 1.3; text-wrap: balance;
}
blockquote.citation-pilule p.citation-courte { font-size: clamp(34px, 4vw, 56px); line-height: 1.1; }
blockquote.citation-pilule cite { display: block; font-style: normal; font-size: 13px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; }
body blockquote.citation-pilule cite { margin-top: 26px; }

/* ---------- Têtes de section ---------- */
/* .wp-block-group en plus : la tête peut être le dernier enfant, que WordPress remet à zéro
   avec :root :where(.is-layout-flow) > :last-child — spécificité (0,2,0). */
body .wp-block-group.tete-section { margin-bottom: clamp(44px, 5vw, 72px); }
.tete-deux { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: end; }
.tete-texte { font-size: 19px; }
.tete-ligne { display: flex; justify-content: space-between; align-items: end; gap: 32px; }

/* ---------- Approche ---------- */
.approche { padding-bottom: var(--section); }
figure.stade { border-radius: 999px; overflow: hidden; height: clamp(300px, 36vw, 500px); }
figure.stade img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.etapes {
  padding: 48px clamp(28px, 4vw, 56px);
  position: relative; width: min(100% - 48px, 1040px);
  background: var(--creme); border-radius: 40px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  box-shadow: 0 40px 80px -40px rgba(78, 58, 39, .35);
}
body .etapes { margin: -96px auto 0; }
.etape { padding: 0 clamp(18px, 2.4vw, 36px); }
.etape + .etape { border-left: 1px solid var(--voile); }
.etape .etape-num { font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 0; font-size: 54px; line-height: 1; color: var(--bronze); }
body .etape .etape-num { margin-bottom: 18px; }
body .etape h3 { margin-bottom: 10px; }
.etape p { font-size: 16.5px; }

/* ---------- À propos (accueil) ---------- */
.apropos { background: var(--sable); padding: calc(var(--section) + 40px) 0 var(--section); overflow: hidden; border-radius: 50% 50% 0 0 / var(--dome) var(--dome) 0 0; }
.apropos-grille { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 112px); align-items: center; }
body .apropos-texte h2 { margin-bottom: 30px; }
body .apropos-texte p + p { margin-top: 18px; }
.titres { border-top: 1px solid var(--voile); }
body .titres { margin-top: 40px; }
.titre { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--voile); }
.titre .titre-cle { font-size: 12px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; padding-top: 4px; }
.titre .titre-val { font-weight: 600; }
body .apropos-lien { margin-top: 36px; }

.apropos-visuel { position: relative; width: min(100%, 500px); aspect-ratio: 500 / 620; justify-self: center; }
.apropos-visuel::before, .principes-visuel::before {
  content: ""; position: absolute; inset: -14%;
  background: radial-gradient(closest-side, rgba(255, 252, 247, .95), rgba(255, 252, 247, 0));
}
figure.galet {
  position: absolute; inset: 0; overflow: hidden;
  border-radius: 46% 54% 44% 56% / 38% 34% 66% 62%;
  box-shadow: 0 0 0 10px rgba(247, 241, 234, .55), 0 0 90px 10px rgba(255, 252, 247, .9);
}
figure.galet img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
figure.ovale-petit {
  position: absolute; left: -12%; bottom: -6%; width: 40%; aspect-ratio: 3 / 4;
  border-radius: 50%; overflow: hidden; border: 8px solid var(--sable);
}
figure.ovale-petit img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

/* ---------- Tarifs ---------- */
.tarifs { padding: var(--section) 0; }
.tarifs-grille { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(48px, 7vw, 112px); }
body .tarifs h2 { margin-bottom: 26px; }
.tarifs-note { font-size: 16.5px; max-width: 26em; }
h3.tarifs-groupe { font-size: 14px; font-family: var(--sans); font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--brun); }
body h3.tarifs-groupe { margin-bottom: 4px; }
body .tarifs-liste + h3.tarifs-groupe { margin-top: 44px; }
.tarif { display: grid; grid-template-columns: 1fr auto auto; align-items: baseline; gap: 28px; padding: 22px 0; border-bottom: 1px solid var(--voile); }
.tarif .t-nom { font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 0; font-size: 25px; line-height: 1.25; }
.tarif .t-duree { font-size: 15px; font-weight: 600; }
.tarif .t-prix { font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 0; font-size: 34px; line-height: 1.2; color: var(--bronze); min-width: 3.2em; text-align: right; }

/* ---------- Avis ---------- */
.avis { background: var(--sable); padding: var(--section) 0; }
.avis-cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.avis-carte { background: var(--creme); border-radius: 32px; padding: 40px 36px 34px; display: flex; flex-direction: column; gap: 22px; }
.avis-carte .etoiles { color: var(--bronze); font-size: 20px; letter-spacing: .18em; line-height: 1; }
.avis-carte .avis-texte { font-size: 16.5px; flex: 1; }
.avis-pied { padding-top: 18px; border-top: 1px solid var(--voile); }
.avis-pied .avis-source { font-weight: 700; }
.avis-pied .avis-date { font-size: 14px; }

.avis-mur { padding: 0 0 var(--section); }
.avis-colonnes { columns: 3; column-gap: 24px; }
.avis-colonnes .avis-carte { background: var(--sable); break-inside: avoid; }
body .avis-colonnes .avis-carte.wp-block-group { margin-bottom: 24px; }

/* ---------- Réserver ---------- */
.reserver { padding: var(--section) 0; }
.reserver-grille { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 7vw, 112px); align-items: start; }
body .reserver h2 { margin-bottom: 44px; }
figure.hublot { width: min(100%, 360px); aspect-ratio: 3 / 4; border-radius: 50%; overflow: hidden; }
figure.hublot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.coordonnees { max-width: 420px; }
body .coordonnees { margin-top: 44px; }
.coordonnee { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--voile); }
.coordonnee .c-cle, .contact-ligne .c-cle { font-size: 12px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; padding-top: 3px; }
.coordonnee .c-val a { text-decoration: none; font-weight: 600; }
.coordonnee .c-val a:hover { color: var(--bronze); }

.cliniques { display: grid; gap: 24px; padding-top: 8px; }
.clinique { position: relative; background: var(--sable); padding: 48px clamp(32px, 4vw, 56px) 52px; }
.clinique:first-child { border-radius: 32px 220px 32px 32px; }
.clinique:last-child { border-radius: 220px 32px 32px 32px; text-align: right; }
.clinique .clinique-zone { font-size: 12px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; }
body .clinique .clinique-zone { margin-bottom: 14px; }
.clinique h3 { font-size: clamp(38px, 3.6vw, 52px); line-height: 1; color: var(--bronze); }
.clinique-lieu { font-weight: 600; }
body .clinique-lieu { margin-top: 8px; }
.clinique .clinique-adresse { font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 0; font-size: 22px; line-height: 1.35; }
body .clinique .clinique-adresse { margin-top: 26px; }
.clinique .clinique-repere { font-size: 15.5px; }
body .clinique .clinique-repere { margin: 8px 0 30px; }
.clinique:last-child .wp-block-buttons { justify-content: flex-end; }

/* ---------- Pages internes : en-tête ---------- */
.page-tete { padding: clamp(40px, 6vw, 84px) 0 var(--section); }
.page-titre { font-size: clamp(50px, 6.9vw, 100px); line-height: .98; letter-spacing: -.025em; }

/* ---------- About me ---------- */
.parcours { background: var(--sable); padding: calc(var(--section) + 40px) 0 var(--section); border-radius: 50% 50% 0 0 / var(--dome) var(--dome) 0 0; }
.parcours-grille { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 112px); align-items: center; }
body .parcours h2 { margin-bottom: 30px; }
body .parcours-texte p + p { margin-top: 18px; }
.lieux { border-top: 1px solid var(--voile); }
.lieu-ligne { display: grid; grid-template-columns: minmax(150px, .8fr) 1.2fr; gap: 24px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--voile); }
.lieu-ligne .lieu { font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 0; font-size: clamp(36px, 3.4vw, 50px); line-height: 1; color: var(--bronze); }
.lieu-ligne h3 { font-size: 22px; }
body .lieu-ligne h3 { margin-bottom: 4px; }
.lieu-ligne p { font-size: 16px; }

.principes { padding: var(--section) 0; }
.principes-grille { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 7vw, 112px); align-items: center; }
.principes-visuel { position: relative; width: min(100%, 460px); aspect-ratio: 460 / 560; justify-self: center; }
.principes-visuel::before { background: radial-gradient(closest-side, rgba(224, 206, 185, .9), rgba(224, 206, 185, 0)); }
figure.galet-inverse { border-radius: 54% 46% 58% 42% / 62% 58% 42% 38%; }
body .principes h2 { margin-bottom: 36px; }
.principes-liste { border-top: 1px solid var(--voile); }
.principe { padding: 22px 0; border-bottom: 1px solid var(--voile); }
.principe h3 { font-size: 25px; }
body .principe h3 { margin-bottom: 6px; }
.principe p { font-size: 16.5px; }

.publics { padding: 0 0 var(--section); }
.publics-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 3vw, 48px); }
.public { padding: 30px 0 34px; border-top: 1px solid var(--voile); }
.public h3 { font-size: 28px; }
body .public h3 { margin-bottom: 8px; }
.public h3::before { content: ""; display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--bronze); margin-bottom: 22px; }
.public p { font-size: 16.5px; max-width: 22em; }

/* ---------- Locations ---------- */
.page-tete:has(+ .lieu-clinique) { padding-bottom: clamp(24px, 3vw, 48px); }
.lieu-clinique { padding: clamp(48px, 6vw, 96px) 0; }
.lieu-inverse { background: var(--sable); padding-top: calc(clamp(48px, 6vw, 96px) + 40px); border-radius: 50% 50% 0 0 / var(--dome) var(--dome) 0 0; }
.lieu-grille { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 7vw, 112px); align-items: center; }
.lieu-inverse .lieu-grille { grid-template-columns: 1.1fr .9fr; }
.lieu-inverse .lieu-grille > figure { order: 2; }
figure.hublot-grand { width: min(100%, 440px); justify-self: center; }
figure.arche-lieu { width: min(100%, 420px); height: auto; aspect-ratio: 420 / 540; justify-self: center; }
.lieu-texte h2 { font-size: clamp(48px, 5.4vw, 78px); }
.lieu-texte .clinique-lieu { font-size: 19px; }
body .lieu-texte .clinique-lieu { margin-top: 10px; }
.lieu-texte .lieu-adresse { font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 0; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.3; }
body .lieu-texte .lieu-adresse { margin-top: 30px; }
body .lieu-texte .lieu-repere { margin: 10px 0 34px; }
.lieu-inverse + .tarifs { background: var(--sable); }

/* ---------- Bandeau d'appel ---------- */
.appel-section { padding: 0 0 var(--section); }
.appel { background: var(--sable); border-radius: 999px; padding: clamp(56px, 7vw, 88px) clamp(32px, 10vw, 160px); text-align: center; display: flex; flex-direction: column; align-items: center; }
.tarifs + .appel-section { padding-top: var(--section); }
body .appel h2 { margin-bottom: 18px; }
.appel .appel-texte { max-width: 36em; }
.appel .appel-texte a { font-weight: 700; text-decoration-color: var(--bronze); text-underline-offset: 3px; }
body .appel .wp-block-buttons { margin-top: 32px; justify-content: center; }

/* ---------- Contact ---------- */
.contact-grille { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(48px, 7vw, 112px); align-items: center; }
body .contact-texte .page-titre { margin-bottom: 28px; }
.contact-liste { border-top: 1px solid var(--voile); }
body .contact-liste { margin-top: 44px; }
.contact-ligne { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--voile); }
.contact-ligne .contact-val { font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 0; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.25; overflow-wrap: anywhere; }
.contact-ligne .contact-val a { text-decoration: none; }
.contact-ligne .contact-val a:hover { color: var(--bronze); }
.contact-visuel { position: relative; justify-self: center; width: min(100%, 420px); aspect-ratio: 420 / 580; }
.contact-visuel::before {
  content: ""; position: absolute; z-index: 0; left: -16%; bottom: -8%; width: 80%; height: 66%;
  background: var(--bronze); border-radius: 42% 58% 54% 46% / 38% 46% 54% 62%;
}

/* ---------- Pied ---------- */
.pied { background: var(--sable); padding: clamp(96px, 12vw, 168px) 0 48px; border-radius: 50% 50% 0 0 / var(--dome) var(--dome) 0 0; }
.pied-centre { display: flex; flex-direction: column; align-items: center; text-align: center; }
.logo-grand { --t: clamp(72px, 10vw, 132px); }
body .logo-grand { margin-bottom: clamp(72px, 9vw, 120px); }
.wp-block-navigation.pied-nav .wp-block-navigation__container { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; list-style: none; margin: 0; padding: 0; font-weight: 700; }
.wp-block-navigation.pied-nav .wp-block-navigation-item__content { text-decoration: none; padding: 0; }
.wp-block-navigation.pied-nav .wp-block-navigation-item__content:hover { color: var(--bronze); }
.pied-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; font-size: 16px; }
body .pied-contact { margin-top: 24px; }
.pied-contact a { text-decoration: none; }
.pied-mentions { padding-top: 24px; border-top: 1px solid var(--voile); width: 100%; font-size: 14px; }
body .pied-mentions { margin-top: 64px; }

/* ---------- Bloc Navigation (WordPress) : burger sous 1080 px, panneau aux couleurs du site ---------- */
.wp-block-navigation.nav .wp-block-navigation__responsive-container-open,
.wp-block-navigation.nav .wp-block-navigation__responsive-container-close { color: var(--brun); }
.wp-block-navigation.nav .wp-block-navigation__responsive-container.is-menu-open {
  background-color: var(--creme) !important; color: var(--brun) !important;
  padding: 28px var(--gouttiere) 40px;
}
.wp-block-navigation.nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { flex-direction: column; align-items: flex-start; gap: 10px; }
.wp-block-navigation.nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
  font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 0; font-size: 34px; font-weight: 500; padding: 4px 0;
}
@media (max-width: 1080px) {
  .wp-block-navigation.nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: flex; align-items: center; justify-content: center; width: 48px; height: 48px;
    border: 1.5px solid var(--bronze); border-radius: 50%;
  }
  .wp-block-navigation.nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}

:where(a, button, [tabindex]):focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  /* masquer le CONTENEUR core/buttons, qualifié pour battre .wp-block-buttons.is-layout-flex */
  .wp-block-buttons.entete-rdv, .wp-block-group.vertical { display: none; }
  /* maquette : burger maison. Dans WordPress, la liste n'est pas enfant direct du <nav>
     (elle vit dans le panneau du bloc Navigation) : ces règles ne s'y appliquent pas. */
  .wp-block-navigation.nav > .wp-block-navigation__container { display: none; }
  .burger {
    display: flex; flex-direction: column; justify-content: center; gap: 7px;
    margin-left: auto; width: 48px; height: 48px; padding: 0 12px;
    background: none; border: 1.5px solid var(--bronze); border-radius: 50%; cursor: pointer;
  }
  .burger span { display: block; height: 1.5px; background: var(--brun); transition: transform .3s; }
  .menu-ouvert .burger span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .menu-ouvert .burger span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  body.menu-ouvert .wp-block-navigation.nav > .wp-block-navigation__container {
    display: flex; flex-direction: column; gap: 6px;
    position: absolute; top: 96px; left: 0; right: 0; padding: 20px var(--gouttiere) 36px;
    background: var(--creme); border-bottom: 1px solid var(--voile);
  }
  .menu-ouvert .nav > ul .wp-block-navigation-item__content { font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 0; font-size: 30px; font-weight: 500; }
}
@media (max-width: 900px) {
  .hero-grille, .apropos-grille, .tarifs-grille, .reserver-grille, .tete-deux,
  .parcours-grille, .principes-grille, .lieu-grille, .lieu-inverse .lieu-grille, .contact-grille { grid-template-columns: 1fr; }
  .tete-deux { gap: 20px; }
  .hero-visuel { width: min(78%, 420px); }
  body .wp-block-group.hero-visuel { margin: 24px 0 40px; }
  .medaille { width: 124px; height: 124px; left: -10%; }
  .medaille .medaille-grand { font-size: 36px; }
  .etapes { grid-template-columns: 1fr; padding: 32px 28px; gap: 28px; }
  body .etapes { margin-top: -64px; }
  .etape { padding: 0; }
  .etape + .etape { border-left: 0; border-top: 1px solid var(--voile); padding-top: 28px; }
  .avis-cartes { grid-template-columns: 1fr; }
  .avis-colonnes { columns: 1; }
  .tete-ligne { flex-direction: column; align-items: start; }
  .apropos-visuel { width: min(84%, 420px); margin-left: 12%; }
  .principes-visuel { width: min(80%, 400px); order: 2; }
  .publics-grille { grid-template-columns: 1fr 1fr; }
  .lieu-inverse .lieu-grille > figure { order: 0; }
  .contact-visuel { width: min(76%, 380px); }
  body .wp-block-group.contact-visuel { margin: 24px 0 24px 12%; }
  blockquote.citation-pilule, .appel { border-radius: 48px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  p.surtitre { letter-spacing: .2em; font-size: 12px; }
  .surtitre::before { width: 24px; }
  .entete-ligne { height: 80px; }
  body.menu-ouvert .wp-block-navigation.nav > .wp-block-navigation__container { top: 80px; }
  .logo { --t: 28px; }
  .logo-grand { --t: 64px; }
  .boutons .wp-block-button, .boutons .wp-block-button__link, .clinique .wp-block-button, .clinique .wp-block-button__link { width: 100%; }
  .tarif { grid-template-columns: 1fr auto; gap: 4px 16px; }
  .tarif .t-duree { grid-row: 2; }
  .tarif .t-prix { grid-row: 1 / 3; grid-column: 2; align-self: center; }
  .clinique:first-child, .clinique:last-child { border-radius: 160px 160px 28px 28px; text-align: left; padding-top: 64px; }
  .clinique:last-child .wp-block-buttons { justify-content: flex-start; }
  figure.stade { border-radius: 200px; height: 260px; }
  blockquote.citation-pilule { padding: 72px 28px 48px; }
  .appel { padding: 56px 24px; }
  .publics-grille { grid-template-columns: 1fr; }
  .lieu-ligne, .contact-ligne { grid-template-columns: 1fr; gap: 8px; }
}
