/*
Theme Name: Louis Bert
Theme URI: https://louisbert.fr
Author: Louis Bert
Author URI: https://louisbert.fr
Description: Thème sur mesure pour Louis Bert, hypnothérapeute & sophrologue au Plessis-Robinson. Palette « Bleu marine & Sable ». Conçu pour évoluer (one-page aujourd'hui, pages multiples demain).
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: louisbert
*/

/* ==========================================================================
   1. POLICES AUTO-HÉBERGÉES (RGPD)
   ========================================================================== */
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   2. VARIABLES / DESIGN TOKENS  (palette « Bleu marine & Sable »)
   ========================================================================== */
:root {
  --cream: #f7f3ea;
  --cream-dark: #e9e0d0;
  --ink: #1a2431;
  --ink-soft: #47515e;

  --brand-50: #f3ece0;   /* fonds de sections : sable chaud */
  --brand-100: #e9dcc6;  /* pastilles / bordures : sable chaud */
  --brand-200: #b4c2d0;  /* bleu marine clair */
  --brand-300: #8598ac;
  --brand-400: #506d88;
  --brand-500: #314f6c;
  --brand-600: #24405c;  /* bleu marine principal */
  --brand-700: #1d3349;
  --brand-800: #182b3d;
  --brand-900: #142334;

  --accent-400: #e2a44d;
  --accent-500: #d18b2e;
  --accent-600: #b1701d;

  --cta: #c17d24;        /* boutons d'action : ocre */
  --cta-hover: #a4661a;

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

  --maxw: 72rem;         /* largeur max du contenu (1152px) */
  --radius: 1rem;
  --header-h: 4rem;      /* hauteur du bandeau — 64px sur mobile, 96px sur ordinateur (cf. § 7) */
}

/* ==========================================================================
   3. RESET & BASE
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }

/* décalage d'ancre pour l'en-tête fixe */
:where(section, [id]) { scroll-margin-top: 5.5rem; }

::selection { background: var(--brand-200); color: var(--brand-900); }

/* ==========================================================================
   4. TYPOGRAPHIE
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }

.h1 { font-size: 2.25rem; line-height: 1.1; color: var(--ink); }
.h2 { font-size: 1.875rem; color: var(--ink); }
.h3 { font-size: 1.125rem; }
.lead { font-size: 1.125rem; color: var(--ink-soft); line-height: 1.6; }

@media (min-width: 640px) {
  .h1 { font-size: 3rem; }
}

/* --- Mises en gras -------------------------------------------------------
   Le texte courant est en gris (--ink-soft) : les passages en gras passent en
   semi-gras et reprennent la couleur pleine, pour ressortir sans alourdir.
   Sur les sections à fond marine, ils passent en crème. */
strong { font-weight: 600; }

.hero__text strong,
.empathy__text strong,
.section-intro strong,
.method__lead strong,
.method__notes strong,
.step-card p strong,
.sessions__text strong,
.accordion__body strong { color: var(--ink); }

.about__text strong,
.pros__body strong { color: var(--cream); }

/* ==========================================================================
   5. UTILITAIRES / LAYOUT
   ========================================================================== */
.container { max-width: var(--maxw); margin-inline: auto; padding-inline: 2rem; }
.section { padding-block: 2.75rem; }
@media (min-width: 640px) { .section { padding-block: 3.5rem; } }

.u-justify { text-align: justify; hyphens: auto; }
.u-center { text-align: center; }
.muted { color: var(--ink-soft); }
.narrow { max-width: 48rem; }        /* ~max-w-3xl */
.narrow-2 { max-width: 42rem; }      /* ~max-w-2xl */
.stack > * + * { margin-top: 1rem; }
.stack-sm > * + * { margin-top: 0.75rem; }

/* mise en évidence du contenu à personnaliser (aperçu) */
.todo {
  background: #fef3c7;
  color: #78350f;
  border-radius: 4px;
  padding: 0 0.25rem;
}

/* ==========================================================================
   6. BOUTONS
   ========================================================================== */
.btn {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap; /* évite que le texte du bouton passe à la ligne (bouton « rond ») */
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn--cta { background: var(--cta); color: var(--cream); }
.btn--cta:hover { background: var(--cta-hover); }
.btn--outline { border-color: var(--brand-600); color: var(--brand-700); background: transparent; }
.btn--outline:hover { background: var(--brand-50); }
.btn--light { background: var(--cream); color: var(--brand-800); }
.btn--light:hover { background: #fff; }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn--block { display: block; width: 100%; }

.link-underline { color: var(--brand-600); text-decoration: underline; text-underline-offset: 2px; }
.link-underline:hover { color: var(--brand-700); }

/* ==========================================================================
   7. EN-TÊTE
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--cream) 90%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream-dark);
}
.site-header__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 2rem;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; color: inherit; flex-shrink: 0; }
.site-logo__badge {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: var(--brand-600);
  color: var(--cream);
  font-family: var(--font-serif);
  font-weight: 600;
}
.site-logo__name { font-family: var(--font-serif); font-size: 1.125rem; line-height: 1.1; }
.site-logo__role { display: block; font-family: var(--font-sans); font-size: 0.75rem; color: var(--ink-soft); }
.site-logo img { max-height: 2.75rem; width: auto; } /* logo personnalisé depuis la médiathèque */

.primary-nav { display: none; }
.primary-nav ul { list-style: none; display: flex; align-items: center; gap: 1.25rem; margin: 0; padding: 0; font-size: 0.875rem; }
.primary-nav a { text-decoration: none; color: var(--ink); transition: color 0.15s; }
.primary-nav a:hover { color: var(--brand-600); }

.header-actions { display: none; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.header-actions__phone { font-size: 0.875rem; font-weight: 500; text-decoration: none; color: inherit; }
.header-actions__phone:hover { color: var(--brand-600); }

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0.5rem;
  margin-right: -0.5rem;
  cursor: pointer;
  color: var(--ink);
}

.mobile-menu { display: none; border-top: 1px solid var(--cream-dark); background: var(--cream); }
.mobile-menu.is-open { display: block; }
.mobile-menu__inner { max-width: var(--maxw); margin-inline: auto; padding: 0.75rem 2rem; display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-menu a { text-decoration: none; color: var(--ink); padding: 0.5rem 0; }
.mobile-menu a:hover { color: var(--brand-600); }
.mobile-menu .btn { margin-top: 0.5rem; }

@media (min-width: 640px) { .header-actions { display: flex; } }
@media (min-width: 1024px) {
  .primary-nav { display: flex; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }

  /* Bandeau plus haut sur ordinateur (64 → 96px) : le logo et le menu respirent.
     Sur mobile il reste à 4rem pour ne pas rogner l'écran (barre fixe déjà en bas). */
  :root { --header-h: 6rem; }
  .site-logo img { max-height: 4rem; }
  :where(section, [id]) { scroll-margin-top: 7.5rem; }
}

/* ==========================================================================
   8. BARRE MOBILE FIXE (conversion)
   ========================================================================== */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--cream-dark);
  border-top: 1px solid var(--cream-dark);
}
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem; font-weight: 500; text-decoration: none; }
.mobile-bar__call { background: var(--cream); color: var(--brand-700); }
.mobile-bar__book { background: var(--cta); color: var(--cream); }
.mobile-bar-spacer { height: 3.5rem; }
@media (min-width: 640px) { .mobile-bar, .mobile-bar-spacer { display: none; } }

/* ==========================================================================
   9. HERO
   ========================================================================== */
.hero__grid { display: grid; gap: 3rem; }
.hero__eyebrow,
.legal__eyebrow {
  display: inline-block;
  font-size: 1rem; /* sur-titres agrandis (~15 %) : hero, pros et méthode restent alignés */
  font-weight: 500;
  color: var(--brand-700);
  background: var(--brand-100);
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
}
.hero__title { margin-top: 1.25rem; }
.hero__text { margin-top: 1.25rem; }
.hero__text strong { color: var(--ink); }
.hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__note { margin-top: 1rem; font-size: 0.875rem; color: var(--ink-soft); }
.hero__photo {
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 15rem;
  margin-inline: auto;
  border-radius: 1.5rem;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.35);
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}
/* Le dégradé gris-bleu et la marge intérieure ne servent que d'emplacement :
   dès qu'une photo est réglée, elle occupe le cadre en entier, sans liseré. */
.hero__photo--empty {
  background: linear-gradient(135deg, var(--brand-200), var(--brand-500));
  padding: 1.5rem;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo-label { color: rgba(20,35,52,0.8); font-family: var(--font-serif); font-size: 1.125rem; }
.hero__photo-label small { display: block; margin-top: 0.5rem; font-family: var(--font-sans); font-size: 0.875rem; color: rgba(20,35,52,0.6); }

@media (min-width: 640px) { .hero__photo { max-width: 20rem; } }
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .hero__photo { max-width: 28rem; }
}

/* ==========================================================================
   10. SECTION EMPATHIE (fond sable)
   ========================================================================== */
.band-sand { background: var(--brand-50); border-top: 1px solid var(--brand-100); border-bottom: 1px solid var(--brand-100); }
.band-navy { background: var(--brand-700); color: var(--brand-50); }

.empathy__inner { max-width: 48rem; margin-inline: auto; text-align: center; }
.empathy__title { font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.25; color: var(--ink); }
.empathy__text { margin-top: 1.5rem; font-size: 1.125rem; color: var(--ink-soft); line-height: 1.6; }
.empathy .btn { margin-top: 2rem; }
@media (min-width: 640px) { .empathy__title { font-size: 1.875rem; } }

/* ==========================================================================
   11. À PROPOS (fond marine)
   ========================================================================== */
.about__grid { display: grid; gap: 2.5rem; }
.about__text h2 { color: var(--cream); }
.about__text h2 + p { margin-top: 1rem; }
.about__text p { color: var(--brand-100); line-height: 1.6; }
.about__text p + p { margin-top: 1rem; }
.about__text strong { color: var(--cream); font-weight: 600; }
.about__card { align-self: start; background: rgba(24,43,61,0.6); border: 1px solid var(--brand-600); border-radius: var(--radius); padding: 1.5rem; }
.about__card-title { font-family: var(--font-serif); font-size: 1.125rem; color: var(--cream); }
.about__card ul { list-style: none; margin: 1rem 0 0; padding: 0; font-size: 0.875rem; color: var(--brand-100); }
.about__card li + li { margin-top: 0.75rem; }
@media (min-width: 1024px) {
  .about__grid { grid-template-columns: repeat(3, 1fr); }
  .about__text { grid-column: span 2; }
}

/* ==========================================================================
   12. APPLICATIONS (cartes)
   ========================================================================== */
.section-intro { max-width: 48rem; }
.section-intro h2 { color: var(--ink); }
.section-intro p { margin-top: 1rem; color: var(--ink-soft); }
.section-intro p + p { margin-top: 0.75rem; }

.apps__grid { margin-top: 2.5rem; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.card {
  border: 1px solid var(--cream-dark);
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.card:hover { border-color: var(--brand-300); box-shadow: 0 6px 18px -12px rgba(0,0,0,0.25); }
.card h3 { font-family: var(--font-serif); font-size: 1.125rem; color: var(--ink); }
.card p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--ink-soft); line-height: 1.6; }
@media (min-width: 640px) { .apps__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .apps__grid { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================================
   13. POUR LES PROS (fond marine)
   ========================================================================== */
.pros__grid { display: grid; gap: 2.5rem; }
.pros__eyebrow { font-size: 1rem; font-weight: 500; color: var(--brand-200); }
.pros__text h2 { margin-top: 0.75rem; color: var(--cream); }
.pros__body { margin-top: 1.25rem; }
.pros__body p { color: var(--brand-100); line-height: 1.6; }
.pros__body p + p { margin-top: 1rem; }
.pros__text .btn { margin-top: 2rem; }
.pros__cards { display: grid; gap: 1rem; }
.pro-card { background: rgba(24,43,61,0.6); border: 1px solid var(--brand-600); border-radius: var(--radius); padding: 1.25rem; }
.pro-card h3 { font-family: var(--font-serif); color: var(--cream); }
.pro-card p { margin-top: 0.25rem; font-size: 0.875rem; color: var(--brand-200); }
@media (min-width: 640px) { .pros__cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pros__grid { grid-template-columns: 1fr 1fr; align-items: center; } }

/* Mur de logos des structures accompagnées — bande pleine largeur sous la section pros.
   Les PNG sont transparents en variante claire, prévus pour ce fond marine. */
.partners { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--brand-600); }
.partners__title { font-family: var(--font-serif); font-size: 1.375rem; color: var(--cream); text-align: center; }
.partners__grid {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 2rem;
}
/* Les PNG partagent un cadre de 480 × 160 px dans lequel chaque logo a été calibré
   optiquement : leur donner à tous la même hauteur de cadre suffit à les équilibrer,
   et chaque logo occupe alors la même largeur (3 × la hauteur), d'où des lignes régulières.
   Hauteur et gouttière sont calées pour tenir 5 logos par ligne sur grand écran (5 + 4). */
.partners__grid img { height: 46px; width: auto; }
@media (min-width: 640px) {
  .partners__title { font-size: 1.5rem; }
  .partners__grid { gap: 1.5rem 2rem; }
  .partners__grid img { height: 60px; }
}

/* ==========================================================================
   14. MÉTHODE (3 étapes)
   ========================================================================== */
.method__head { max-width: 48rem; }
.method__eyebrow { font-size: 1rem; font-weight: 500; color: var(--accent-600); }
.method__title { margin-top: 0.75rem; }
.method__lead { margin-top: 1rem; color: var(--ink-soft); }
.method__steps { margin-top: 2.5rem; display: grid; gap: 1.5rem; }
.step-card { position: relative; border: 1px solid var(--cream-dark); background: var(--cream); border-radius: var(--radius); padding: 1.5rem; }
.step-card__num { font-family: var(--font-serif); font-size: 3rem; color: var(--brand-200); line-height: 1; }
.step-card h3 { margin-top: 0.5rem; font-family: var(--font-serif); font-size: 1.25rem; color: var(--ink); }
.step-card p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--ink-soft); line-height: 1.6; }
.method__notes { margin-top: 2.5rem; max-width: 48rem; color: var(--ink-soft); }
.method__notes p + p { margin-top: 1rem; }
@media (min-width: 768px) { .method__steps { grid-template-columns: repeat(3, 1fr); } }

/* ==========================================================================
   15. LES SÉANCES (fond sable) — calé à gauche comme la bio
   ========================================================================== */
.sessions__grid { display: grid; gap: 2.5rem; }
.sessions__content { display: block; }
.sessions__text { margin-top: 1rem; color: var(--ink-soft); line-height: 1.6; }
.sessions__text p + p { margin-top: 0.75rem; }
/* Section volontairement pleine largeur (la version 2/3 paraissait « vide » sur grand écran). */

.pricing-card { margin-top: 2rem; background: var(--cream); border: 1px solid var(--brand-100); border-radius: var(--radius); padding: 1.5rem; }
.pricing-card__title { font-family: var(--font-serif); font-size: 1.25rem; color: var(--ink); }
.pricing { margin-top: 1.25rem; }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; border-top: 1px solid var(--cream-dark); }
.price-row:first-child { border-top: 0; }
.price-row__label { font-weight: 500; color: var(--ink); }
.price-row__desc { font-size: 0.875rem; color: var(--ink-soft); }
.price-row__amount { font-family: var(--font-serif); font-size: 1.125rem; white-space: nowrap; }
.price-row__amount--free { color: var(--brand-600); }
.pricing-card__pay { margin-top: 1rem; font-size: 0.875rem; color: var(--ink-soft); }
.pricing-card .btn { margin-top: 1.5rem; }

.notes { margin-top: 2.5rem; }
.notes > * + * { margin-top: 0.75rem; }
.notes__cancel { font-size: 0.875rem; color: var(--ink-soft); }
.notes__cancel strong { color: var(--ink); font-weight: 500; }

@media (min-width: 640px) { .pricing-card { padding: 2rem; } }

/* ==========================================================================
   16. AVIS
   ========================================================================== */
.reviews__grid { margin-top: 2.5rem; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.review-card { border: 1px solid var(--cream-dark); background: var(--cream); border-radius: var(--radius); padding: 1.5rem; margin: 0; }
.review-card__stars { color: var(--accent-500); }
.review-card blockquote { margin: 0.75rem 0 0; font-size: 0.875rem; color: var(--ink-soft); line-height: 1.6; }
.review-card figcaption { margin-top: 1rem; font-size: 0.875rem; font-weight: 500; color: var(--ink); }
.reviews__more { margin-top: 1.5rem; }
@media (min-width: 640px) { .reviews__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .reviews__grid { grid-template-columns: repeat(3, 1fr); } }

/* ==========================================================================
   17. ACCORDÉONS (FAQ + notes séances)
   ========================================================================== */
.accordion {
  border: 1px solid var(--brand-100);
  background: var(--cream);
  border-radius: var(--radius);
}
.accordion > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-weight: 500;
  color: var(--ink);
  list-style: none;
  padding: 0.625rem 1.25rem; /* encadrés FAQ affinés (~35 % au total, en 2 passes) */
}
.accordion--sm > summary { padding: 0.75rem 1rem; font-size: 0.875rem; }
.accordion > summary::-webkit-details-marker { display: none; }
.accordion__icon { color: var(--brand-500); transition: transform 0.2s; }
.accordion[open] .accordion__icon { transform: rotate(45deg); }
.accordion__body { padding: 0 1.25rem 1rem; font-size: 0.875rem; color: var(--ink-soft); line-height: 1.6; }
.accordion--sm .accordion__body { padding: 0 1rem 0.75rem; }
.accordion__body ul { margin: 0.5rem 0 0; padding-left: 1.25rem; }
.accordion__body li + li { margin-top: 0.25rem; }

/* ==========================================================================
   18. FAQ
   ========================================================================== */
.faq__intro { margin: 1rem auto 0; max-width: 36rem; text-align: center; color: var(--ink-soft); }
.faq__list { margin-top: 2.5rem; }
.faq__list > * + * { margin-top: 0.625rem; }

/* ==========================================================================
   19. CONTACT
   ========================================================================== */
.contact__grid { display: grid; gap: 2.5rem; }
.contact__intro { margin-top: 1rem; color: var(--ink-soft); }
.contact-info { margin-top: 1.5rem; }
.contact-info > * + * { margin-top: 0.75rem; }
.contact-info a { text-decoration: none; color: var(--ink-soft); }
.contact-info a:hover { color: var(--brand-600); }

.contact-form { margin-top: 2rem; display: grid; gap: 1rem; }
.form-row { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.375rem; font-size: 0.875rem; }
.field > span { font-weight: 500; color: var(--ink); }
.field input,
.field textarea {
  border: 1px solid var(--cream-dark);
  background: var(--cream);
  border-radius: 0.5rem;
  padding: 0.625rem 0.75rem;
  font: inherit;
  color: var(--ink);
}
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 3px var(--brand-200); }
.form-note { font-size: 0.75rem; color: var(--ink-soft); }
.form-consent { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: var(--ink-soft); }
.form-consent input { margin-top: 0.25rem; }
.contact-form .btn { justify-self: start; }
.is-hidden { display: none; }
.form-success { margin-top: 1.5rem; padding: 0.75rem 1rem; border-radius: 0.5rem; background: var(--brand-100); color: var(--brand-800); font-size: 0.875rem; }

.contact-map { border: 1px solid var(--cream-dark); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-height: 20rem; }
.contact-map iframe { width: 100%; flex: 1; min-height: 18rem; border: 0; }
.contact-map__link { display: block; text-align: center; font-size: 0.875rem; padding: 0.75rem; background: var(--cream); color: var(--brand-700); text-decoration: none; border-top: 1px solid var(--cream-dark); }
.contact-map__link:hover { background: var(--brand-50); }

@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   20. PIED DE PAGE
   ========================================================================== */
.site-footer { background: var(--brand-800); color: var(--brand-100); }
.site-footer__grid { display: grid; gap: 2rem; padding-block: 3rem; }
.site-footer__title { font-family: var(--font-serif); font-size: 1.25rem; color: var(--cream); }
.site-logo__badge--footer { background: var(--cream); color: var(--brand-800); }
.site-footer h4 { font-family: var(--font-sans); font-weight: 500; color: var(--cream); margin: 0 0 0.75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; font-size: 0.875rem; }
.site-footer li + li { margin-top: 0.5rem; }
.site-footer a { text-decoration: none; color: var(--brand-100); }
.site-footer a:hover { color: var(--cream); }
.site-footer__addr { font-size: 0.875rem; margin-top: 0.75rem; line-height: 1.6; }
.site-footer__bottom { border-top: 1px solid var(--brand-700); }
.site-footer__bottom-inner { padding-block: 1.5rem; font-size: 0.75rem; color: var(--brand-200); line-height: 1.6; }
.site-footer__bottom-inner p + p { margin-top: 0.5rem; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================================
   21. PAGES LÉGALES (mentions légales, confidentialité)
   ========================================================================== */
.legal__hero { text-align: center; }
.legal__hero .legal__title { margin-top: 1.25rem; }
.legal__maj { margin-top: 0.875rem; font-size: 0.875rem; color: var(--ink-soft); }

/* Colonne de lecture volontairement étroite : un texte juridique se lit mieux
   en lignes courtes (~75 caractères). */
.legal__body { max-width: 48rem; }

/* --- Sommaire (encadré simple, sans aplat : la bande sable est juste au-dessus) --- */
.legal__toc { border: 1px solid var(--brand-100); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.legal__toc-title { font-family: var(--font-sans); font-size: 0.9375rem; font-weight: 600; color: var(--ink); }
.legal__toc ol { list-style: none; margin: 0.875rem 0 0; padding: 0; display: grid; gap: 0.5rem; font-size: 0.9375rem; }
.legal__toc a { display: inline-flex; gap: 0.4rem; color: var(--ink-soft); text-decoration: none; }
.legal__toc a:hover { color: var(--brand-600); text-decoration: underline; text-underline-offset: 2px; }
.legal__toc a span { color: var(--brand-400); font-variant-numeric: tabular-nums; }
@media (min-width: 640px) { .legal__toc ol { grid-template-columns: 1fr 1fr; gap: 0.5rem 2rem; } }

/* --- Sections numérotées --- */
.legal__toc + .legal__block { margin-top: 3rem; }
.legal__block + .legal__block { margin-top: 2.75rem; }
.legal__h2 { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 1.375rem; color: var(--ink); }
.legal__num {
  flex: none;
  margin-top: 0.15em; /* aligne optiquement la pastille sur la 1re ligne du titre */
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: var(--brand-600);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
}
.legal__block p { margin-top: 1rem; color: var(--ink-soft); line-height: 1.7; }
.legal__h3 { margin-top: 1.75rem; font-size: 1.125rem; color: var(--ink); }
@media (min-width: 640px) { .legal__h2 { font-size: 1.5rem; } }

/* Chapô : paragraphe d'introduction placé avant le sommaire. */
.legal__lede { margin-bottom: 2rem; color: var(--ink-soft); line-height: 1.7; }

/* Listes à puces simples (coordonnées, énumérations). */
.legal__list { margin: 1rem 0 0; padding-left: 1.25rem; color: var(--ink-soft); line-height: 1.7; }
.legal__list li + li { margin-top: 0.375rem; }

/* Listes « terme : explication » (bases légales, droits RGPD, types de cookies…).
   Le terme et son explication restent sur la même ligne, la puce est dessinée en CSS. */
.legal__terms { margin: 1rem 0 0; display: grid; gap: 0.625rem; }
.legal__terms > div { position: relative; padding-left: 1.125rem; line-height: 1.7; }
.legal__terms > div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-300);
}
.legal__terms dt { display: inline; font-weight: 600; color: var(--ink); }
.legal__terms dd { display: inline; margin: 0; color: var(--ink-soft); }

/* --- Blocs d'informations (éditeur, hébergeur) --- */
.legal__facts {
  margin: 1.25rem 0 0;
  padding: 1.25rem 1.5rem;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius);
  display: grid;
  gap: 0.875rem;
}
.legal__facts > div { display: grid; gap: 0.125rem; }
.legal__facts dt { font-size: 0.8125rem; font-weight: 500; color: var(--brand-500); }
.legal__facts dd { margin: 0; color: var(--ink); line-height: 1.5; }
.legal__facts a { color: var(--ink); text-decoration: none; }
.legal__facts a:hover { color: var(--brand-600); text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 640px) { .legal__facts { grid-template-columns: 1fr 1fr; gap: 1rem 2rem; padding: 1.5rem 1.75rem; } }

/* Encadré d'insistance : `--note` clôt la page, `--callout` s'insère dans une section. */
.legal__note,
.legal__callout {
  padding: 1rem 1.25rem;
  background: var(--brand-50);
  border-left: 3px solid var(--brand-200);
  border-radius: 0 0.5rem 0.5rem 0;
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.legal__note { margin-top: 3rem; }
.legal__block .legal__callout { margin-top: 1.5rem; }
.legal__back { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ==========================================================================
   22. PAGE RENDEZ-VOUS (/rdv/)
   ========================================================================== */

/* --- 1. Prendre rendez-vous (bandeau sable) ---
   Les colonnes des sections ① et ③ sont calées à GAUCHE, dans l'alignement du titre
   « Adresse et horaires ». Pour revenir à la version centrée : ajouter
   `text-align: center` sur .rdv__hero et repasser .rdv__intro / .rdv__form-col à
   `margin-inline: auto`. */
.rdv__intro { max-width: 42rem; }
.rdv__sub { margin-top: 1rem; }
.rdv__hero .btn { margin-top: 2rem; }
.rdv__call { margin-top: 1.75rem; font-size: 0.9375rem; color: var(--ink-soft); line-height: 1.7; }
.rdv__tel {
  font-weight: 600;
  color: var(--brand-600);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap; /* le numéro ne doit jamais se couper en fin de ligne */
}
.rdv__tel:hover { color: var(--brand-700); }

/* --- Titres de section (« Adresse et horaires », « Laissez-moi un message ») --- */
.rdv__section-title { margin-bottom: 2rem; }

/* --- 2. Adresse et horaires (infos à gauche, plan à droite : .contact__grid) --- */
.rdv__info > * + * { margin-top: 1.75rem; }
.rdv__info strong { color: var(--ink); }

.rdv__address { display: flex; align-items: flex-start; gap: 0.625rem; color: var(--ink-soft); line-height: 1.6; }
.rdv__address svg { flex: none; margin-top: 0.1em; color: var(--brand-600); }
.rdv__address a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.rdv__address a:hover { color: var(--brand-600); }

.rdv__info-title { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; color: var(--ink); }

/* Encadré sable, même facture que .legal__facts. */
.rdv__hours {
  margin: 0.875rem 0 0;
  padding: 1.125rem 1.5rem;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius);
  display: grid;
  gap: 0.625rem;
  max-width: 22rem;
}
.rdv__hours > div { display: flex; justify-content: space-between; gap: 1.5rem; }
.rdv__hours dt { color: var(--ink); }
.rdv__hours dd { margin: 0; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

/* Complément sous l'encadré du cabinet : visio et domicile. */
.rdv__hours-alt { margin-top: 0.875rem; color: var(--ink-soft); line-height: 1.7; }
.rdv__hours-alt strong { color: var(--ink); }
/* Visio et domicile se suivent : on resserre l'écart entre les deux lignes,
   pour qu'elles se lisent comme un même bloc sous l'encadré du cabinet. */
.rdv__hours-alt + .rdv__hours-alt { margin-top: 0.375rem; }

.rdv__access { margin-top: 0.875rem; color: var(--ink-soft); line-height: 1.7; }

/* --- 3. Laissez-moi un message (colonne de lecture calée à gauche) --- */
.rdv__form-col { max-width: 42rem; }
.rdv__form-col .contact__intro { margin-top: 0; }
/* Sur le bandeau sable, les champs passent en blanc : le crème habituel serait
   trop proche du fond de section pour qu'on distingue les cadres. */
.rdv__contact .field input,
.rdv__contact .field textarea { background: #fff; border-color: var(--brand-100); }

/* fallback pages standards (index.php / page.php) */
.page-content { padding-block: 4rem; }
.page-content :where(p, ul, ol) { color: var(--ink-soft); line-height: 1.7; }
.page-content h1 { color: var(--ink); }
