/* ==========================================================
   Manon Nouguier, masseur-kinésithérapeute à Lansargues
   Palette « Camargue » : lagune, sel, flamant, roseau
   ========================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson";
  src: url("fonts/atkinson.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --sel: #fafbf8;          /* fond principal */
  --brume: #e6f0f1;        /* brume de lagune, sections alternées */
  --lagune: #15576f;       /* couleur principale, boutons, liens */
  --lagune-nuit: #0e3448;  /* bandeau contact */
  --encre: #132b38;        /* texte */
  --encre-douce: #465a66;  /* texte secondaire */
  --flamant: #e47486;      /* accent décoratif */
  --flamant-pale: #fbe6e6; /* panneau enfants */
  --roseau: #b8924a;       /* détails */
  --trait: #cddbde;        /* filets */
  --blanc: #ffffff;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Atkinson", "Segoe UI", system-ui, -apple-system, sans-serif;

  --largeur: 72rem;
  --marge: clamp(1rem, 4vw, 2.5rem);
  --rayon: 14px;
}

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

html {
  font-size: 112.5%; /* 18 px : confortable pour tous */
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}
html.grand-texte { font-size: 131.25%; } /* 21 px */

body {
  margin: 0;
  background: var(--sel);
  color: var(--encre);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--lagune); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-variation-settings: "SOFT" 100;
  font-weight: 460;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--encre);
  text-wrap: balance;
}
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.3rem; font-weight: 520; line-height: 1.25; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 3px solid var(--flamant);
  outline-offset: 3px;
  border-radius: 4px;
}

.visuellement-cache {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.lien-evitement {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--lagune); color: var(--blanc);
  padding: 0.6rem 1rem; border-radius: 8px; z-index: 100;
}
.lien-evitement:focus { top: 1rem; }

.conteneur {
  width: 100%;
  max-width: var(--largeur);
  margin-inline: auto;
  padding-inline: var(--marge);
}

/* Les éléments à compléter avant la mise en ligne restent bien visibles */
.a-completer {
  background: #fff3b0;
  color: #5a4700;
  padding: 0 0.3em;
  border-radius: 4px;
  outline: 1px dashed #c9a400;
}

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 2px solid var(--lagune);
  font: 600 1.02rem/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.bouton svg { width: 1.3em; height: 1.3em; flex: none; }
.bouton--plein { background: var(--lagune); color: var(--blanc); }
.bouton--plein:hover { background: var(--lagune-nuit); border-color: var(--lagune-nuit); }
.bouton--contour { background: transparent; color: var(--lagune); }
.bouton--contour:hover { background: var(--brume); }
.tel {
  white-space: nowrap;
  font-family: var(--serif);
  font-variation-settings: "SOFT" 100;
  font-variant-numeric: lining-nums;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 251, 248, 0.94);
  backdrop-filter: saturate(1.4) blur(8px);
  -webkit-backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--trait);
}
.entete .conteneur {
  display: flex; align-items: center; gap: 1rem;
  min-height: 4.5rem;
}
.marque {
  display: flex; align-items: center; gap: 0.7rem;
  text-decoration: none; color: var(--encre);
  margin-right: auto;
}
.marque .embleme { width: 2.9rem; height: 2.9rem; flex: none; object-fit: contain; }
.marque strong {
  display: block;
  font-family: var(--serif); font-variation-settings: "SOFT" 100;
  font-weight: 540; font-size: 1.15rem; line-height: 1.1;
}
.marque-metier { display: block; font-size: 0.82rem; color: var(--encre-douce); line-height: 1.3; white-space: nowrap; }

.nav ul { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; white-space: nowrap; padding: 0.55rem 0.75rem; border-radius: 8px;
  color: var(--encre); text-decoration: none; font-weight: 600; font-size: 0.95rem;
}
.nav a:hover { background: var(--brume); }

.outils-entete { display: flex; align-items: center; gap: 0.5rem; }
.taille-texte {
  min-width: 3rem; min-height: 3rem;
  border: 1.5px solid var(--trait); background: var(--blanc);
  border-radius: 999px; cursor: pointer;
  font: 700 1rem/1 var(--serif); color: var(--encre);
}
.taille-texte[aria-pressed="true"] { background: var(--encre); color: var(--blanc); border-color: var(--encre); }
.entete .bouton { min-height: 3rem; padding: 0.55rem 1.1rem; }

.menu-bouton {
  display: none; align-items: center; justify-content: center;
  min-width: 3rem; min-height: 3rem; border-radius: 999px;
  border: 1.5px solid var(--trait); background: var(--blanc); cursor: pointer;
  font: 600 0.95rem var(--sans); color: var(--encre); padding: 0 0.9rem;
}
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-bouton { display: inline-flex; }
}
html.grand-texte .nav:not(.ouvert) { display: none; }
html.grand-texte .menu-bouton { display: inline-flex; }
html.grand-texte .entete .bouton .libelle-long { display: none; }
.nav.ouvert {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--sel); border-bottom: 1px solid var(--trait);
  padding: 0.5rem var(--marge) 1rem;
  box-shadow: 0 12px 24px rgba(21, 87, 111, 0.08);
}
.nav.ouvert ul { flex-direction: column; max-width: var(--largeur); margin-inline: auto; }
.nav.ouvert a { padding: 0.9rem 0.5rem; font-size: 1.1rem; border-bottom: 1px solid var(--trait); border-radius: 0; }
@media (max-width: 760px) {
  .appel-entete { display: none !important; }
  .marque-metier { display: none; }
  .marque .embleme { width: 2.5rem; height: 2.5rem; }
}

/* ---------- Accueil ---------- */
.accueil { padding-block: clamp(2rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem); }
.accueil .conteneur {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.accueil h1 {
  font-size: clamp(2.7rem, 6.4vw, 4.9rem);
  font-weight: 420;
  letter-spacing: -0.025em;
  line-height: 1.02;
}
.accueil h1 .metier {
  display: block;
  margin-top: 0.9rem;
  font-family: var(--sans);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
  color: var(--lagune);
}
.accueil .chapo {
  font-size: clamp(1.08rem, 1.6vw, 1.2rem);
  color: var(--encre-douce);
  max-width: 34em;
  margin: 1.4rem 0 2rem;
}
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.reperes {
  list-style: none; margin: 2.2rem 0 0; padding: 1.4rem 0 0;
  border-top: 1px solid var(--trait);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 1.5rem;
}
.reperes li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.95rem; line-height: 1.4; }
.reperes svg { width: 1.5rem; height: 1.5rem; flex: none; color: var(--lagune); margin-top: 0.05rem; }
.reperes strong { display: block; font-weight: 700; }

/* Portrait en arche, avec un écho rose décalé */
.portrait {
  position: relative;
  width: 100%;
  max-width: 25rem;
  margin: 0 auto;
  padding: 0 1.4rem 1.4rem 0;
}
.portrait::before {
  content: "";
  position: absolute;
  inset: 1.4rem 0 0 1.4rem;
  border-radius: 999px 999px 28px 28px;
  background: var(--flamant-pale);
}
.portrait picture { display: block; position: relative; }
.portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 999px 999px 28px 28px;
  background: var(--brume);
  animation: apparition 0.9s cubic-bezier(.3,.7,.2,1) 0.1s both;
}
@keyframes apparition {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 860px) {
  .accueil .conteneur { grid-template-columns: 1fr; }
  .portrait { max-width: 19rem; }
  .reperes { grid-template-columns: 1fr; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--brume { background: var(--brume); }
.entete-section { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.entete-section p { color: var(--encre-douce); font-size: 1.08rem; margin-top: 1rem; }

/* Prises en charge */
.orientations {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
}
.orientation {
  border-radius: 22px;
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
}
.orientation--sport { background: var(--brume); }
.orientation--enfants { background: var(--flamant-pale); }
.orientation h3 { font-size: clamp(1.6rem, 2.6vw, 2rem); font-weight: 440; margin-bottom: 0.9rem; }
.orientation p { color: var(--encre-douce); }
.orientation ul { margin: 1.2rem 0 0; padding: 0; list-style: none; }
.orientation li {
  padding: 0.55rem 0 0.55rem 1.6rem; position: relative;
  border-top: 1px solid rgba(24, 42, 44, 0.12);
}
.orientation li::before {
  content: ""; position: absolute; left: 0.2rem; top: 1.05rem;
  width: 0.55rem; height: 0.55rem; border-radius: 50%;
  border: 2px solid var(--lagune);
}
.orientation--enfants li::before { border-color: var(--flamant); }

.autres-soins {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(1.5rem, 4vw, 3.5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.soin {
  display: grid; grid-template-columns: 2.6rem 1fr; gap: 0 1rem;
  padding: 1.4rem 0; border-top: 1px solid var(--trait);
}
.soin svg { width: 2.2rem; height: 2.2rem; color: var(--lagune); }
.soin:last-child:nth-child(odd) { grid-column: 1 / -1; }
.soin h3 { margin-bottom: 0.35rem; }
.soin p { color: var(--encre-douce); margin: 0; }
.prescription {
  margin-top: 2rem; font-size: 0.95rem; color: var(--encre-douce);
  display: flex; gap: 0.6rem; align-items: flex-start; max-width: 46rem;
}
.prescription svg { width: 1.4rem; height: 1.4rem; flex: none; color: var(--roseau); margin-top: 0.1rem; }

@media (max-width: 760px) {
  .orientations, .autres-soins { grid-template-columns: 1fr; }
}

/* Parcours */
.parcours-grille {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(2rem, 6vw, 5rem); align-items: start;
}
.frise { list-style: none; margin: 0; padding: 0; position: relative; }
.frise::before {
  content: ""; position: absolute; left: 7.4rem; top: 0.6rem; bottom: 0.6rem;
  width: 2px; background: var(--trait);
}
.frise li {
  display: grid; grid-template-columns: 6.6rem 1fr; gap: 0 2rem;
  padding-bottom: 1.8rem; position: relative;
}
.frise li:last-child { padding-bottom: 0; }
.frise li::before {
  content: ""; position: absolute; left: calc(7.4rem - 6px); top: 0.45rem;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--sel); border: 2.5px solid var(--lagune);
}
.section--brume .frise li::before { background: var(--brume); }
.frise li:last-child::before { background: var(--flamant); border-color: var(--flamant); }
.frise .quand {
  font-family: var(--serif); font-variation-settings: "SOFT" 100;
  font-weight: 500; font-size: 1.05rem; color: var(--lagune); line-height: 1.5;
  text-align: right;
}
.frise h3 { font-size: 1.15rem; margin-bottom: 0.25rem; }
.frise p { color: var(--encre-douce); }

.approche {
  background: var(--blanc); border-radius: 22px;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid var(--trait);
}
.approche h3 { font-size: 1.5rem; font-weight: 440; margin-bottom: 1rem; }
.approche p { color: var(--encre-douce); }
.langues { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--trait); font-size: 0.95rem; }
.langues p { margin-bottom: 0.4rem; color: var(--encre); }
.formations { margin: 0 0 1rem; padding-left: 1.1rem; color: var(--encre-douce); }
.formations li { margin-bottom: 0.3rem; }

@media (max-width: 860px) {
  .parcours-grille { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .frise::before { left: 0.45rem; }
  .frise li { grid-template-columns: 1fr; padding-left: 2rem; }
  .frise li::before { left: 0; }
  .frise .quand { text-align: left; }
}

/* Accès */
.acces-grille {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
.plan {
  background: var(--blanc); border: 1px solid var(--trait); border-radius: 22px;
  padding: 0.75rem; margin: 0;
}
.plan svg { width: 100%; height: auto; }
.plan figcaption { font-size: 0.85rem; color: var(--encre-douce); padding: 0.5rem 0.5rem 0.2rem; }
.plan .rue { fill: #dfe7e4; }
.plan .nom-rue { font: 600 13px var(--sans); fill: var(--encre-douce); letter-spacing: 0.02em; }
.plan .ilot { fill: #f1f4f2; stroke: #dbe3e0; }
.plan .batiment { fill: var(--brume); stroke: var(--lagune); stroke-width: 2; }
.plan .parking { fill: #f6efe0; stroke: var(--roseau); stroke-width: 1.5; stroke-dasharray: 5 4; }
.plan .chemin { fill: none; stroke: var(--lagune); stroke-width: 2.5; stroke-dasharray: 2 7; stroke-linecap: round; }
.plan .entree circle { fill: var(--lagune); }
.plan .entree text { font: 700 14px var(--sans); fill: var(--blanc); }
.plan .entree-b circle { fill: var(--flamant); }
.plan .entree-b text { fill: var(--encre); }
.plan .etiquette { font: 600 13px var(--sans); fill: var(--encre); }
.plan .etiquette-p { font: 700 22px var(--serif); fill: var(--roseau); }
.plan .portail line { stroke: var(--roseau); stroke-width: 5; stroke-linecap: round; }
.plan .chemin-voiture { fill: none; stroke: var(--roseau); stroke-width: 2.5; stroke-dasharray: 6 5; }
.plan .chemin-voiture-fleche { fill: none; stroke: var(--roseau); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.plan .petite { font-size: 12px; }
.plan .titre { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: 17px; }
.plan .fine { font-weight: 400; }
@media (max-width: 600px) {
  .plan .nom-rue { font-size: 17px; }
  .plan .nom-rue.petite { font-size: 13px; }
  .plan .etiquette { font-size: 17px; }
  .plan .etiquette.petite { font-size: 16px; }
  .plan .etiquette.titre { font-size: 22px; }
  .plan .etiquette-p { font-size: 30px; }
  .plan .entree text { font-size: 17px; }
}
.plan .nord { font: 700 12px var(--sans); fill: var(--encre-douce); }

.adresse {
  font-style: normal; font-size: 1.2rem; line-height: 1.45;
  font-family: var(--serif); font-variation-settings: "SOFT" 100; font-weight: 480;
  margin-bottom: 1.5rem;
}
.entrees { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.entrees li { display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.8rem; padding: 0.9rem 0; border-top: 1px solid var(--trait); }
.pastille {
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700;
  background: var(--lagune); color: var(--blanc);
}
.pastille--b { background: var(--flamant); color: var(--encre); }
.entrees strong { display: block; }
.entrees li > div > span { color: var(--encre-douce); font-size: 0.95rem; }

.itineraires { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0.5rem 0 2rem; }
.itineraires .bouton { min-height: 2.9rem; padding: 0.5rem 1rem; font-size: 0.95rem; }

.horaires { width: 100%; border-collapse: collapse; margin-bottom: 0.8rem; }
.horaires th, .horaires td { text-align: left; padding: 0.55rem 0; border-bottom: 1px solid var(--trait); }
.horaires th { font-weight: 600; width: 45%; }
.horaires .ferme { color: var(--encre-douce); }
.note { font-size: 0.92rem; color: var(--encre-douce); }
.bloc-titre { font-size: 1.35rem; margin: 2rem 0 0.8rem; }

@media (max-width: 860px) {
  .acces-grille { grid-template-columns: 1fr; }
}

/* Première séance + honoraires */
.deux-colonnes {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 5rem); align-items: start;
}
.liste-coche { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.liste-coche li {
  display: grid; grid-template-columns: 1.8rem 1fr; gap: 0.8rem;
  padding: 0.85rem 0; border-top: 1px solid var(--trait);
}
.liste-coche svg { width: 1.6rem; height: 1.6rem; color: var(--lagune); }
.liste-coche span { color: var(--encre-douce); display: block; font-size: 0.95rem; }
.encadre-bebe {
  margin-top: 1.5rem; padding: 1.2rem 1.4rem; border-radius: var(--rayon);
  background: var(--flamant-pale);
}
.encadre-bebe h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }

.honoraires blockquote {
  margin: 1.5rem 0; padding: 0 0 0 1.2rem;
  border-left: 3px solid var(--roseau);
  color: var(--encre-douce); font-size: 0.95rem;
}
.honoraires h3 { font-size: 1.15rem; margin: 1.6rem 0 0.4rem; }
.honoraires p { color: var(--encre-douce); }

@media (max-width: 860px) {
  .deux-colonnes { grid-template-columns: 1fr; }
}

/* ---------- Rendez-vous ---------- */
.rendez-vous {
  background: var(--lagune-nuit); color: #eef5f3;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.rendez-vous h2, .rendez-vous h3 { color: var(--blanc); }
.rendez-vous a { color: var(--blanc); }
.rdv-grille {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem); align-items: start;
}
.rdv-intro p { color: #c9dcd8; font-size: 1.08rem; }
.grand-tel {
  display: inline-block; margin: 1.6rem 0 0.6rem;
  font-family: var(--serif); font-variation-settings: "SOFT" 100;
  font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 460; letter-spacing: -0.01em;
  text-decoration: none; color: var(--blanc); white-space: nowrap;
  border-bottom: 3px solid var(--flamant); line-height: 1.2;
}
.grand-tel:hover { border-bottom-width: 5px; }
.rdv-intro .bouton--plein { background: var(--flamant); border-color: var(--flamant); color: var(--encre); margin-top: 1rem; }
.rdv-intro .bouton--plein:hover { background: #f093a1; border-color: #f093a1; }
.rdv-precisions { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.18); }
.rdv-precisions p { font-size: 0.98rem; }
.doctolib { margin-top: 1rem; }

.formulaire {
  background: var(--sel); color: var(--encre);
  border-radius: 22px; padding: clamp(1.4rem, 3.5vw, 2.4rem);
}
.formulaire h3 { color: var(--encre); font-size: 1.5rem; font-weight: 440; margin-bottom: 0.4rem; }
.formulaire > p { color: var(--encre-douce); font-size: 0.95rem; }
.champ { margin-top: 1.1rem; }
.champ label { display: block; font-weight: 700; margin-bottom: 0.35rem; }
.champ .aide { font-weight: 400; color: var(--encre-douce); font-size: 0.9rem; }
.champ input, .champ select, .champ textarea {
  width: 100%; min-height: 3.2rem;
  font: 1rem/1.4 var(--sans); color: var(--encre);
  background: var(--blanc);
  border: 1.5px solid #9fb3ae; border-radius: 10px;
  padding: 0.7rem 0.9rem;
}
.champ textarea { min-height: 8rem; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus {
  outline: 3px solid var(--flamant); outline-offset: 1px; border-color: var(--lagune);
}
.champs-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.avertissement {
  display: flex; gap: 0.6rem; margin-top: 1.1rem; padding: 0.8rem 1rem;
  background: var(--brume); border-radius: 10px; font-size: 0.92rem; color: var(--encre);
}
.avertissement svg { width: 1.3rem; height: 1.3rem; flex: none; color: var(--lagune); margin-top: 0.15rem; }
.formulaire .bouton { margin-top: 1.4rem; width: 100%; justify-content: center; }
.formulaire .rgpd { font-size: 0.82rem; color: var(--encre-douce); margin-top: 1rem; }
.formulaire .rgpd a { color: var(--lagune); }
.pot-de-miel { display: none; }

@media (max-width: 860px) {
  .rdv-grille { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .champs-duo { grid-template-columns: 1fr; }
}

/* ---------- Pied de page ---------- */
.pied { padding-block: 3rem 2rem; font-size: 0.92rem; color: var(--encre-douce); }
.pied-grille {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem;
  padding-bottom: 2rem; border-bottom: 1px solid var(--trait);
}
.pied strong { color: var(--encre); }
.pied h2 { font-size: 1.05rem; font-family: var(--sans); font-weight: 700; margin-bottom: 0.6rem; letter-spacing: 0; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin-bottom: 0.35rem; }
.urgence {
  display: flex; gap: 0.6rem; align-items: center;
  margin-top: 1.5rem; color: var(--encre);
}
.urgence b {
  display: inline-grid; place-items: center; min-width: 2.4rem; height: 2.4rem;
  border-radius: 50%; background: #c62f3c; color: var(--blanc); font-size: 1rem;
}
.bas-de-page { padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }

@media (max-width: 760px) {
  .pied-grille { grid-template-columns: 1fr; }
}

/* ---------- Barre d'action mobile ---------- */
.barre-mobile { display: none; }
@media (max-width: 760px) {
  .barre-mobile {
    display: grid; grid-template-columns: 1.3fr 1fr; gap: 0.5rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
    background: rgba(250, 251, 248, 0.97);
    border-top: 1px solid var(--trait);
    box-shadow: 0 -6px 20px rgba(21, 87, 111, 0.08);
  }
  .barre-mobile .bouton { justify-content: center; min-height: 3.4rem; padding: 0.5rem; }
  body { padding-bottom: 5.2rem; }
}

/* ---------- Pages simples (mentions, merci, 404) ---------- */
.page-simple { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5rem); }
.page-simple .conteneur { max-width: 48rem; }
.page-simple h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 440; margin-bottom: 1.5rem; }
.page-simple h2 { font-size: 1.5rem; margin: 2.5rem 0 0.8rem; }
.page-simple dl { display: grid; grid-template-columns: 14rem 1fr; gap: 0.5rem 1.5rem; margin: 0; }
.page-simple dt { font-weight: 700; }
.page-simple dd { margin: 0; color: var(--encre-douce); }
.page-simple ul { padding-left: 1.2rem; }
.page-simple li { margin-bottom: 0.4rem; }
@media (max-width: 600px) {
  .page-simple dl { grid-template-columns: 1fr; gap: 0.1rem; }
  .page-simple dd { margin-bottom: 0.8rem; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .portrait img { animation: none; }
  .bouton { transition: none; }
}

/* ---------- Impression ---------- */
@media print {
  .entete, .barre-mobile, .formulaire, .itineraires, .taille-texte { display: none !important; }
  .rendez-vous { background: none; color: #000; }
  .rendez-vous h2, .grand-tel { color: #000; }
}

/* Ajustements de l'en-tête sur écrans intermédiaires et en grand texte */
@media (max-width: 980px) {
  .entete .bouton .libelle-long { display: none; }
}
@media (max-width: 480px) {
  html.grand-texte .marque > span { display: none; }
}
@media (max-width: 900px) {
  html.grand-texte .marque-metier { display: none; }
}
