/* ==========================================================================
   Nell David — Ostéopathe D.O. — design system & styles partagés
   ========================================================================== */

:root {
  /* Palette (charte cliente — ne pas modifier sans validation) */
  --color-bg: #f7f4ec;
  --color-bg-alt: #ece6d5;
  --color-bg-card: #ffffff;
  --color-text: #2e2e26;
  --color-text-muted: #6c6a5c;
  --color-primary: #474b3c;
  --color-primary-dark: #2e3123;
  --color-primary-light: #e4e4d7;
  --color-accent: #5b6a46;
  --color-accent-dark: #454f35;
  --color-border: #e1dbc8;

  /* Dérivés */
  --color-placeholder-bg: #e5e5e0;
  --color-placeholder-icon: #a9a89d;
  --color-focus: #2e3123;

  --font-display: 'Lora', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-width: 1160px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(46, 49, 38, 0.06);
  --shadow-md: 0 12px 32px rgba(46, 49, 38, 0.10);
  --shadow-lg: 0 20px 48px rgba(46, 49, 38, 0.14);

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --header-height: 76px;
}

/* ---------- Reset ---------- */

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-primary-dark);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}

p {
  margin: 0;
  max-width: 68ch;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

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

.skip-link {
  position: absolute;
  left: var(--space-2);
  top: -80px;
  background: var(--color-primary-dark);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  z-index: 1000;
  transition: top 0.2s var(--ease-out-expo);
}

.skip-link:focus {
  top: var(--space-2);
}

/* ---------- Layout helpers ---------- */

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--space-3);
}

section {
  padding-block: var(--space-6);
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-head {
  max-width: 56ch;
  margin-bottom: var(--space-4);
}

.section-head h2 {
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  margin-bottom: var(--space-2);
}

.section-head p {
  color: var(--color-text-muted);
  font-size: 1.0625rem;
}

.section-head--center {
  max-width: 60ch;
  margin-inline: auto;
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s var(--ease-out-expo), box-shadow 0.2s var(--ease-out-expo), background-color 0.2s var(--ease-out-expo);
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary-dark);
  border: 1.5px solid var(--color-primary-dark);
}

.btn-secondary:hover {
  background: var(--color-primary-dark);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--color-accent-dark);
  padding: 0;
  border-radius: 0;
  font-weight: 600;
}

.btn-ghost span {
  border-bottom: 1.5px solid currentColor;
}

.btn-ghost:hover {
  color: var(--color-primary-dark);
}

.btn-ghost--on-dark {
  color: #f2f1e9;
}

.btn-ghost--on-dark:hover {
  color: #ffffff;
}

.btn svg {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  text-decoration: none;
  line-height: 1.1;
}

.logo-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.logo-role {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--color-accent-dark);
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav-links {
  display: flex;
  gap: var(--space-3);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-text);
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover {
  color: var(--color-accent-dark);
}

.nav-links a[aria-current="page"] {
  color: var(--color-accent-dark);
  border-color: var(--color-accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-primary-dark);
  transition: transform 0.25s var(--ease-out-expo), opacity 0.25s var(--ease-out-expo);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 899px) {
  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    inset: var(--header-height) 0 0 0;
    background: var(--color-bg);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-3);
    gap: var(--space-3);
    transform: translateX(100%);
    transition: transform 0.3s var(--ease-out-expo);
    overflow-y: auto;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .nav-links {
    flex-direction: column;
    gap: var(--space-1);
    font-size: 1.1rem;
  }

  .nav-links a {
    display: block;
    padding-block: 0.75rem;
    border-bottom: 1px solid var(--color-border);
  }

  .main-nav .btn-primary {
    justify-content: center;
    margin-top: var(--space-2);
  }
}

/* ---------- Photo placeholders ---------- */

.placeholder-photo {
  background: var(--color-placeholder-bg);
  border: 1px dashed #c9c8bd;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  color: var(--color-placeholder-icon);
  text-align: center;
  min-height: 260px;
}

.placeholder-photo svg {
  width: 40px;
  height: 40px;
  color: var(--color-placeholder-icon);
}

.placeholder-photo span {
  font-size: 0.85rem;
  font-weight: 500;
  color: #8b8a7f;
  max-width: 20ch;
}

/* ---------- Hero ---------- */

.hero {
  padding-block-start: var(--space-5);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-5);
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 1.7rem + 2.2vw, 3.4rem);
  margin-bottom: var(--space-2);
}

.hero-content .hero-lede {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.hero-micro {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-3);
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-border);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.hero-micro li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-micro svg {
  width: 1rem;
  height: 1rem;
  color: var(--color-accent-dark);
  flex-shrink: 0;
}

.hero-media .placeholder-photo {
  aspect-ratio: 4 / 3;
  min-height: 320px;
}

.media-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.hero-media .media-photo {
  aspect-ratio: 4 / 3;
  min-height: 320px;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

/* ---------- Timeline (frise "parcours de vie") ---------- */

.timeline-section {
  overflow: hidden;
}

.timeline-intro {
  max-width: 62ch;
  margin-bottom: var(--space-5);
}

.timeline-intro h2 {
  font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.6rem);
  margin-bottom: var(--space-2);
}

.timeline-intro p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

.timeline {
  position: relative;
}

.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-3);
}

.timeline-track::before,
.timeline-line-fill {
  content: "";
  position: absolute;
  top: 14px;
  left: 0;
  height: 2px;
  background: var(--color-border);
}

.timeline-track::before {
  width: 100%;
}

.timeline-line-fill {
  width: var(--timeline-progress, 0%);
  background: var(--color-accent);
  transition: width 1.1s var(--ease-out-expo);
  z-index: 1;
}

.timeline-stop {
  position: relative;
  padding-top: var(--space-4);
}

.timeline-dot {
  position: absolute;
  top: 6px;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-bg-card);
  border: 2px solid var(--color-border);
  transition: background-color 0.4s ease, border-color 0.4s ease, transform 0.4s var(--ease-out-expo);
  z-index: 2;
}

.timeline-stop.is-active .timeline-dot {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: scale(1.15);
}

.timeline-stop h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--color-primary-dark);
}

.timeline-stop p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

@media (max-width: 799px) {
  .timeline-track {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-4);
    padding-left: var(--space-2);
  }

  .timeline-track::before,
  .timeline-line-fill {
    top: 0;
    left: 7px;
    width: 2px;
    height: 100%;
  }

  .timeline-line-fill {
    height: var(--timeline-progress, 0%);
    width: 2px;
  }

  .timeline-stop {
    padding-top: 0;
    padding-left: var(--space-4);
  }

  .timeline-dot {
    top: 4px;
    left: -1px;
  }
}

/* ---------- Services (deux voies) ---------- */

.service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-3);
}

@media (min-width: 800px) {
  .service-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.service-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.service-card--featured {
  box-shadow: var(--shadow-lg);
  background: var(--color-accent);
  color: #f2f1e9;
}

.service-card--featured h3,
.service-card--featured .service-price {
  color: #ffffff;
}

.service-card--featured p {
  color: #f2f1e9;
}

.service-card--featured .btn-secondary {
  border-color: #f2f1e9;
  color: #f2f1e9;
}

.service-card--featured .btn-secondary:hover {
  background: #f2f1e9;
  color: var(--color-primary-dark);
}

.service-card h3 {
  font-size: 1.4rem;
}

.service-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--color-accent-dark);
}

.service-price small {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
  display: block;
}

.service-card .service-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.service-card--featured .service-note {
  color: #e4e4d7;
}

.service-card--featured .service-price small {
  color: #e4e4d7;
}

.service-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  padding-top: var(--space-2);
}

/* ---------- Trust band ---------- */

.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-3);
}

@media (min-width: 700px) {
  .trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.trust-item svg {
  width: 28px;
  height: 28px;
  color: var(--color-accent-dark);
}

.trust-item strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--color-primary-dark);
}

.trust-item span {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

@media (max-width: 699px) {
  .trust-item {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 0.75rem;
    row-gap: 0.3rem;
  }

  .trust-item svg {
    flex-shrink: 0;
  }

  .trust-item strong {
    flex: 1;
  }

  .trust-item span {
    flex-basis: 100%;
  }
}

/* ---------- About teaser ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
  align-items: start;
}

.about-media .placeholder-photo {
  aspect-ratio: 3 / 4;
  min-height: 340px;
}

.about-media .media-photo {
  aspect-ratio: 3 / 4;
  min-height: 340px;
}

.about-content h1 {
  font-size: clamp(2.2rem, 1.7rem + 2.2vw, 3.4rem);
  margin-bottom: var(--space-2);
}

.about-content h2 {
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.4rem);
  margin-bottom: var(--space-2);
}

.about-content p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.credential-list {
  display: grid;
  gap: 0.6rem;
  margin: var(--space-2) 0 var(--space-3);
}

.credential-list li {
  display: flex;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--color-text);
}

.credential-list svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--color-accent-dark);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

@media (min-width: 860px) {
  .about-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
}

/* ---------- Indications (grille "pour qui") ---------- */

.indication-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-3);
}

@media (min-width: 700px) {
  .indication-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .indication-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.indication-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  box-shadow: var(--shadow-sm);
}

.indication-card svg {
  width: 28px;
  height: 28px;
  color: var(--color-accent-dark);
  margin-bottom: var(--space-1);
}

.indication-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.indication-card p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

/* ---------- Indications (liste "pour qui", sans icônes) ---------- */

.indication-list {
  border-top: 1px solid var(--color-border);
}

.indication-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.4rem;
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}

.indication-row h3 {
  font-size: 1.2rem;
}

.indication-row p {
  color: var(--color-text-muted);
  max-width: 62ch;
}

@media (min-width: 700px) {
  .indication-row {
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    gap: var(--space-4);
    align-items: baseline;
    padding-block: var(--space-4);
  }
}

/* ---------- Étapes (déroulement d'une séance) ---------- */

.steps-list {
  display: grid;
  gap: var(--space-4);
  max-width: 70ch;
}

.steps-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  align-items: start;
}

.steps-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--color-primary-dark);
  color: #f2f1e9;
  font-family: var(--font-display);
  font-weight: 600;
  flex-shrink: 0;
}

.steps-list h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.steps-list p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 72ch;
  margin-inline: auto;
  display: grid;
  gap: var(--space-2);
}

.faq-item {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-3);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-primary-dark);
  padding-block: 0.4rem;
}

.faq-item summary::marker {
  color: var(--color-accent-dark);
}

.faq-item p {
  color: var(--color-text-muted);
  padding-top: var(--space-1);
  padding-bottom: 0.4rem;
}

/* ---------- Parcours (chronologie À propos) ---------- */

.cv-timeline {
  display: grid;
  gap: var(--space-3);
  max-width: 68ch;
  border-left: 2px solid var(--color-border);
  padding-left: var(--space-3);
  list-style: none;
}

.cv-item {
  position: relative;
}

.cv-item::before {
  content: "";
  position: absolute;
  left: calc(var(--space-3) * -1 - 5px);
  top: 0.4rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
}

.cv-year {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  margin-bottom: 0.2rem;
}

.cv-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.cv-item p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ---------- Valeurs (texte, sans carte) ---------- */

.values-list {
  display: grid;
  gap: var(--space-4);
  max-width: 68ch;
}

.values-list h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.values-list p {
  color: var(--color-text-muted);
}

/* ---------- Reviews ---------- */

.review-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-3);
}

@media (min-width: 800px) {
  .review-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.review-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.review-card p {
  font-size: 0.98rem;
  margin-bottom: var(--space-2);
}

.review-card cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: auto;
}

.review-card--placeholder {
  background: transparent;
  border: 1px dashed #c9c8bd;
  box-shadow: none;
  color: var(--color-placeholder-icon);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.4rem;
  min-height: 100%;
}

.review-card--placeholder svg {
  width: 24px;
  height: 24px;
}

.review-card--placeholder span {
  font-size: 0.85rem;
  color: #8b8a7f;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
}

.contact-info dl {
  display: grid;
  gap: var(--space-2);
  margin: 0 0 var(--space-3);
}

.contact-info dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 0.2rem;
}

.contact-info dd {
  margin: 0;
  font-size: 1.05rem;
}

.contact-info a:not(.btn) {
  text-decoration: none;
}

.contact-info a:not(.btn):hover {
  color: var(--color-accent-dark);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin-bottom: var(--space-3);
}

.hours-table td {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--color-border);
}

.hours-table td:last-child {
  text-align: right;
  color: var(--color-text-muted);
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  }
}

/* ---------- Final CTA ---------- */

.cta-final {
  background: var(--color-primary-dark);
  color: #f2f1e9;
  text-align: center;
}

.cta-final h2 {
  color: #ffffff;
  font-size: clamp(1.9rem, 1.5rem + 1.8vw, 2.7rem);
  margin-bottom: var(--space-2);
}

.cta-final p {
  color: #cfd0c2;
  margin-inline: auto;
  margin-bottom: var(--space-3);
}

.cta-final .hero-actions {
  justify-content: center;
}

.cta-final .btn-secondary {
  border-color: #f2f1e9;
  color: #f2f1e9;
}

.cta-final .btn-secondary:hover {
  background: #f2f1e9;
  color: var(--color-primary-dark);
}

/* ---------- Pages légales (mentions, confidentialité) ---------- */

.legal-content {
  max-width: 70ch;
}

.legal-content h1 {
  font-size: clamp(2rem, 1.6rem + 1.8vw, 2.8rem);
  margin-bottom: var(--space-2);
}

.legal-content h2 {
  font-size: 1.4rem;
  margin-top: var(--space-5);
  margin-bottom: var(--space-2);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
  max-width: none;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.4rem;
  display: grid;
  gap: 0.4rem;
  margin-bottom: var(--space-2);
  color: var(--color-text-muted);
}

.legal-content strong {
  color: var(--color-text);
}

.legal-content .legal-updated {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.legal-placeholder {
  background: var(--color-placeholder-bg);
  color: #6c6a5c;
  padding: 0.1em 0.4em;
  border-radius: 4px;
  font-size: 0.95em;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--color-primary-dark);
  color: #cfd0c2;
  padding-block: var(--space-5) var(--space-3);
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(242, 241, 233, 0.15);
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  }
}

.footer-brand .logo-name {
  color: #fff;
}

.footer-brand p {
  color: #b9baa9;
  margin-top: var(--space-2);
  font-size: 0.9rem;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #f2f1e9;
  margin-bottom: var(--space-2);
}

.footer-col ul {
  display: grid;
  gap: 0.55rem;
}

.footer-col a {
  text-decoration: none;
  color: #cfd0c2;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2);
  padding-top: var(--space-3);
  color: #a3a494;
  font-size: 0.85rem;
}

.footer-villes {
  color: #a3a494;
}

.footer-villes a {
  text-decoration: none;
}

.footer-villes a:hover {
  color: #ffffff;
}

.footer-social {
  display: flex;
  gap: var(--space-2);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(242, 241, 233, 0.25);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}
