/* ==========================================================================
   Cabinet Lefèvre Patrimoine — feuille de styles globale
   Header et footer sont partagés par toutes les pages du site.
   ========================================================================== */

/* Polices auto-hébergées (sous-ensemble latin, couvre le français, € et œ) */
@font-face {
  font-family: "Spectral";
  src: url("../fonts/spectral-300-latin.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Spectral";
  src: url("../fonts/spectral-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Spectral";
  src: url("../fonts/spectral-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Spectral";
  src: url("../fonts/spectral-400-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-var-latin.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs de marque */
  --c-stone: #EFEAE2;
  --c-ink: #14201C;
  --c-bronze: #8C6F4E;
  --c-structure: #35473E;
  --c-vellum: #FAF8F4;

  /* Rôles (redéfinis par .theme-dark) */
  --bg: var(--c-stone);
  --text: var(--c-ink);
  --text-muted: var(--c-structure);
  --line: rgb(53 71 62 / 0.2);
  --line-strong: rgb(53 71 62 / 0.45);
  --accent: var(--c-bronze);
  --focus: var(--c-bronze);

  /* Typographie */
  --font-serif: "Spectral", "Iowan Old Style", Georgia, serif;
  --font-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: clamp(1rem, 0.96rem + 0.18vw, 1.0625rem);
  --step-1: clamp(1.125rem, 1.07rem + 0.25vw, 1.25rem);
  --step-2: clamp(1.375rem, 1.27rem + 0.45vw, 1.625rem);
  --step-3: clamp(1.5rem, 1.3rem + 0.9vw, 2.125rem);
  --step-4: clamp(2.125rem, 1.7rem + 1.9vw, 3.25rem);
  --step-5: clamp(2.5rem, 1.55rem + 4.1vw, 5.25rem);

  /* Espacements & structure */
  --gutter: clamp(1.25rem, 0.6rem + 3vw, 4rem);
  --container: 82.5rem;
  --grid-gap: clamp(1rem, 0.5rem + 1.5vw, 2rem);
  --space-section: clamp(5rem, 3.4rem + 7vw, 10rem);
  --header-h: 4.25rem;

  --radius-sm: 2px;
  --radius-md: 4px;

  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 900px) {
  :root { --header-h: 5rem; }
}

.theme-dark {
  --bg: var(--c-ink);
  --text: var(--c-stone);
  --text-muted: rgb(239 234 226 / 0.72);
  --line: rgb(239 234 226 / 0.16);
  --line-strong: rgb(239 234 226 / 0.4);
  --focus: var(--c-stone);
  background-color: var(--bg);
  color: var(--text);
}

.theme-surface {
  background-color: var(--c-vellum);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

html.menu-open {
  overflow: hidden;
}

/* Le menu ouvert contient déjà le bouton Contact */
html.menu-open .header-actions .btn {
  visibility: hidden;
}

main:focus {
  outline: none;
}

body {
  margin: 0;
  background-color: var(--c-stone);
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, address {
  margin: 0;
}

address {
  font-style: normal;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
  padding: 0;
}

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

img {
  height: auto;
}

a {
  color: inherit;
}

p {
  text-wrap: pretty;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: var(--gutter);
  z-index: 100;
  padding: 0.75rem 1.125rem;
  background: var(--c-ink);
  color: var(--c-vellum);
  border-radius: var(--radius-sm);
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-250%);
}

.skip-link:focus {
  transform: none;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

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

/* --------------------------------------------------------------------------
   Typographie
   -------------------------------------------------------------------------- */
.h-display,
.h-section,
.h-item {
  font-family: var(--font-serif);
  font-weight: 400;
  text-wrap: balance;
}

.h-display {
  font-size: var(--step-5);
  line-height: 1.04;
  letter-spacing: -0.022em;
}

.h-section {
  font-size: var(--step-4);
  line-height: 1.08;
  letter-spacing: -0.016em;
}

.h-item {
  font-size: var(--step-2);
  line-height: 1.22;
  letter-spacing: -0.004em;
}

.lead {
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 46ch;
}

.link {
  font-weight: 500;
  color: var(--text);
  text-decoration-line: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.32em;
  transition: text-decoration-thickness 0.15s ease, text-underline-offset 0.15s ease;
}

.link:hover {
  text-decoration-thickness: 2px;
  text-underline-offset: 0.26em;
}

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.625rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.005em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
  background-color: var(--c-ink);
  color: var(--c-vellum);
}

.btn--primary:hover {
  background-color: var(--c-structure);
}

.btn--lg {
  min-height: 3.5rem;
  padding: 1rem 1.875rem;
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--c-stone);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.75rem;
  color: var(--text);
  text-decoration: none;
}

.brand__mark {
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
}

.brand__mark-angle {
  stroke: var(--c-bronze);
}

.brand__name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.005em;
  white-space: nowrap;
}

@media (min-width: 900px) {
  .brand__mark { width: 2rem; height: 2rem; }
  .brand__name { font-size: 1.3125rem; }
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 0.5rem + 1.6vw, 2.5rem);
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration-line: none;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.5em;
  cursor: pointer;
}

.nav__link:hover {
  text-decoration-line: underline;
}

.nav__link[aria-current="page"] {
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
}

.nav__chevron {
  width: 0.75rem;
  height: 0.75rem;
  transition: transform 0.2s ease;
}

.nav__toggle[aria-expanded="true"] .nav__chevron {
  transform: rotate(180deg);
}

.nav__item--sub {
  position: relative;
}

.submenu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: -1.25rem;
  z-index: 10;
  width: 20rem;
  padding: 0.5rem;
  background-color: var(--c-vellum);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 40px -24px rgb(20 32 28 / 0.35);
}

/* Pont invisible entre le bouton et le panneau, pour le survol */
.submenu::before {
  content: "";
  position: absolute;
  inset: -0.5rem 0 auto;
  height: 0.5rem;
}

.submenu__link {
  display: grid;
  gap: 0.125rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--c-ink);
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.submenu__link:hover {
  background-color: rgb(53 71 62 / 0.07);
}

.submenu__title {
  font-weight: 500;
  line-height: 1.35;
}

.submenu__desc {
  font-size: var(--step--1);
  line-height: 1.4;
  color: var(--c-structure);
}

/* Sans JavaScript : le sous-menu s'ouvre au survol et au focus */
.no-js .nav__item--sub:hover .submenu,
.no-js .nav__item--sub:focus-within .submenu {
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 2.75rem;
  padding: 0 0.25rem 0 0.5rem;
  border: 0;
  background: none;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
}

.menu-toggle__icon {
  position: relative;
  width: 1.375rem;
  height: 0.75rem;
}

.menu-toggle__icon::before,
.menu-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: currentColor;
  transition: transform 0.25s var(--ease-out), top 0.25s var(--ease-out);
}

.menu-toggle__icon::before { top: 0; }
.menu-toggle__icon::after { top: calc(100% - 1.5px); }

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before {
  top: calc(50% - 0.75px);
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after {
  top: calc(50% - 0.75px);
  transform: rotate(-45deg);
}

@media (max-width: 899.98px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    display: none;
    padding: 0.5rem var(--gutter) 2.5rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    background-color: var(--c-stone);
    border-top: 1px solid var(--line);
  }

  .nav.is-open {
    display: block;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__list > li {
    border-bottom: 1px solid var(--line);
  }

  .nav__list > li.nav__item--cta {
    border-bottom: 0;
    padding-top: 2rem;
  }

  .nav__link {
    justify-content: space-between;
    width: 100%;
    min-height: 4rem;
    font-family: var(--font-serif);
    font-size: 1.625rem;
    font-weight: 400;
  }

  .nav__chevron {
    width: 1rem;
    height: 1rem;
  }

  .submenu {
    position: static;
    width: auto;
    padding: 0 0 1rem;
    background: none;
    border: 0;
    box-shadow: none;
  }

  .submenu__link {
    padding: 0.75rem 0;
  }

  .nav__cta {
    width: 100%;
    min-height: 3.5rem;
    font-size: 1rem;
  }

  /* Le Contact du menu est déjà visible dans l'en-tête */
  .no-js .nav { display: block; position: static; padding: 0; border: 0; }
  .no-js .menu-toggle { display: none; }
}

@media (min-width: 900px) {
  .header-actions {
    display: none;
  }
}

/* Petits écrans : logo, Contact et menu doivent tenir sur une ligne */
@media (max-width: 479.98px) {
  .site-header__inner { gap: 0.625rem; }
  .brand { gap: 0.5rem; }
  .brand__mark { width: 1.375rem; height: 1.375rem; }
  .brand__name { font-size: 1rem; }
  .header-actions { gap: 0.25rem; }
  .header-actions .btn { padding-inline: 0.75rem; }

  .menu-toggle {
    justify-content: center;
    min-width: 2.75rem;
    padding: 0;
  }

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

@media (max-width: 359.98px) {
  .header-actions .btn { display: none; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  padding-top: clamp(2.5rem, 1rem + 6vw, 6.5rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  row-gap: clamp(1.75rem, 1rem + 2.2vw, 3.25rem);
}

.hero__title,
.hero__lead,
.hero__actions {
  grid-column: 1 / -1;
}

.hero__title {
  max-width: 17em;
}

.hero__lead {
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--c-structure);
  max-width: 50ch;
}

.hero__actions {
  display: grid;
  justify-items: start;
  align-content: end;
  gap: 1.125rem;
}

.hero__note {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--c-structure);
}

@media (min-width: 900px) {
  .hero__lead { grid-column: 1 / span 6; }
  .hero__actions { grid-column: 8 / span 5; }
}

.hero__stage {
  display: grid;
  margin-top: clamp(3rem, 2rem + 4vw, 6rem);
}

.hero__media {
  overflow: hidden;
  background-color: var(--c-structure);
}

.hero__media img {
  width: 100%;
  height: clamp(20rem, 12rem + 34vw, 46rem);
  object-fit: cover;
  object-position: 50% 58%;
}

/* Bandeau de preuve : cartouche posé à la base de la photographie */
.proof {
  display: grid;
  background-color: var(--c-ink);
  color: var(--c-stone);
}

.proof__item {
  display: grid;
  align-content: start;
  gap: 0.625rem;
  padding: 1.75rem var(--gutter);
}

.proof__item + .proof__item {
  border-top: 1px solid rgb(239 234 226 / 0.14);
}

.proof__figure {
  font-family: var(--font-serif);
  font-size: var(--step-4);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.015em;
  font-variant-numeric: lining-nums;
  white-space: nowrap;
}

.proof__label {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: rgb(239 234 226 / 0.74);
  max-width: 28ch;
}

@media (max-width: 699.98px) {
  .hero__proof {
    position: relative;
    margin-top: -2.5rem;
  }
}

@media (min-width: 700px) {
  .hero__media,
  .hero__proof {
    grid-area: 1 / 1;
  }

  .hero__proof {
    align-self: end;
    position: relative;
  }

  .proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .proof__item {
    padding: clamp(1.75rem, 1rem + 1.6vw, 2.75rem) clamp(1.25rem, 0.5rem + 1.8vw, 2.75rem);
  }

  .proof__item + .proof__item {
    border-top: 0;
    border-left: 1px solid rgb(239 234 226 / 0.14);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__title,
  .hero__lead,
  .hero__actions {
    animation: rise 0.9s var(--ease-out) both;
  }

  .hero__lead { animation-delay: 0.1s; }
  .hero__actions { animation-delay: 0.2s; }

  .hero__media img {
    animation: settle 1.8s var(--ease-out) both;
  }

  .proof {
    animation: rise 1s var(--ease-out) 0.45s both;
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes settle {
  from { transform: scale(1.06); }
  to { transform: none; }
}

/* --------------------------------------------------------------------------
   En-tête de section réutilisable (titre + chapeau)
   -------------------------------------------------------------------------- */
.section-head {
  display: grid;
  gap: 1.25rem var(--grid-gap);
  align-items: end;
}

@media (min-width: 900px) {
  .section-head {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .section-head > :first-child { grid-column: 1 / span 6; }
  .section-head > :last-child { grid-column: 8 / span 5; }
}

/* --------------------------------------------------------------------------
   Pourquoi
   -------------------------------------------------------------------------- */
.why__grid {
  display: grid;
  gap: clamp(2.5rem, 1.5rem + 3vw, 4rem) var(--grid-gap);
}

.why__head {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 1.5rem;
}

.why__head .link {
  margin-top: 0.5rem;
}

.why__item {
  position: relative;
  display: grid;
  gap: 0.75rem 2rem;
  padding-block: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem);
  border-top: 1px solid var(--line);
}

.why__item:last-child {
  border-bottom: 1px solid var(--line);
}

/* Repère bronze : début de chaque engagement */
.why__item::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 2rem;
  height: 2px;
  background-color: var(--accent);
}

.why__item p {
  color: var(--text-muted);
  max-width: 52ch;
}

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

  .why__head {
    grid-column: 1 / span 5;
    position: sticky;
    top: calc(var(--header-h) + 2.5rem);
    align-self: start;
  }

  .why__list { grid-column: 7 / span 6; }
}

@media (min-width: 1200px) {
  .why__item { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */
.services__grid {
  display: grid;
  gap: clamp(1rem, 0.5rem + 1.2vw, 1.5rem);
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}

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

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: clamp(17rem, 13rem + 8vw, 22rem);
  padding: clamp(1.75rem, 1.2rem + 1.4vw, 2.5rem);
  background-color: var(--c-vellum);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease;
}

.service-card::before {
  content: "";
  width: 2rem;
  height: 2px;
  margin-bottom: 0.75rem;
  background-color: var(--accent);
}

.service-card:hover {
  border-color: var(--line-strong);
}

.service-card__text {
  color: var(--c-structure);
}

.service-card__link {
  margin-top: auto;
  padding-top: 1.25rem;
  align-self: flex-start;
}

/* Toute la carte est cliquable */
.service-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

@supports selector(:has(*)) {
  .service-card__link:focus-visible {
    outline: none;
  }

  .service-card:has(.service-card__link:focus-visible) {
    outline: 2px solid var(--focus);
    outline-offset: 4px;
  }
}

.service-card:hover .service-card__link {
  text-decoration-thickness: 2px;
}

/* --------------------------------------------------------------------------
   Approche
   -------------------------------------------------------------------------- */
.approach__head {
  display: grid;
  gap: clamp(2.5rem, 1.5rem + 3vw, 4rem) var(--grid-gap);
  align-items: end;
}

.approach__intro {
  display: grid;
  gap: 1.5rem;
}

.approach__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

@media (min-width: 900px) {
  .approach__head { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .approach__intro { grid-column: 1 / span 6; }
  .approach__media { grid-column: 8 / span 5; }
}

.steps {
  display: grid;
  gap: 3rem var(--grid-gap);
  margin-top: clamp(3.5rem, 2rem + 5vw, 7rem);
}

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

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

.step {
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.step__num {
  display: block;
  margin-bottom: 2rem;
  font-family: var(--font-serif);
  font-size: var(--step-4);
  font-weight: 300;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: lining-nums tabular-nums;
}

.step__title {
  margin-bottom: 0.75rem;
}

.step__text {
  color: var(--text-muted);
  max-width: 36ch;
}

/* --------------------------------------------------------------------------
   Antoine Lefèvre
   -------------------------------------------------------------------------- */
.founder__grid {
  display: grid;
  gap: clamp(2.5rem, 1.5rem + 3vw, 4rem) var(--grid-gap);
}

.founder__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 20%;
}

.founder__role {
  margin-top: 0.875rem;
  color: var(--c-structure);
}

.founder__statement {
  margin-top: clamp(2rem, 1.5rem + 1.5vw, 3rem);
  font-family: var(--font-serif);
  font-size: var(--step-3);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.008em;
  text-wrap: balance;
}

.founder__bio {
  margin-top: 1.5rem;
  color: var(--c-structure);
  max-width: 58ch;
}

.credentials {
  display: grid;
  margin-top: clamp(2rem, 1.5rem + 1.5vw, 3rem);
  border-top: 1px solid var(--line);
}

.credentials__row {
  padding-block: 1.125rem;
  border-bottom: 1px solid var(--line);
}

.credentials dt {
  font-size: var(--step--1);
  color: var(--c-structure);
}

.credentials dd {
  margin-top: 0.25rem;
  font-weight: 500;
  line-height: 1.45;
}

.founder__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin-top: 2rem;
}

.founder__links .link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

@media (min-width: 600px) {
  .credentials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2rem;
  }
}

@media (min-width: 900px) {
  .founder__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: center;
  }

  .founder__media { grid-column: 1 / span 5; }
  .founder__media img { aspect-ratio: 2 / 3; }
  .founder__body { grid-column: 7 / span 6; }
}

/* --------------------------------------------------------------------------
   Zone d'intervention
   -------------------------------------------------------------------------- */
.area__grid {
  display: grid;
  gap: clamp(2.5rem, 1.5rem + 3vw, 4rem) var(--grid-gap);
}

.area__body {
  display: grid;
  gap: 1.5rem;
  align-content: center;
}

.area__modes {
  display: grid;
  gap: 1.5rem 2rem;
  margin-top: 1.5rem;
}

.area__mode {
  display: grid;
  gap: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.area__mode p,
.area__mode address {
  color: var(--c-structure);
}

.area__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
}

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

@media (min-width: 900px) {
  .area__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: center;
  }

  .area__body { grid-column: 1 / span 6; }
  .area__media { grid-column: 8 / span 5; }
  .area__media img { aspect-ratio: 3 / 4; }
}

/* --------------------------------------------------------------------------
   Prise de rendez-vous
   -------------------------------------------------------------------------- */
.booking__grid {
  display: grid;
  gap: clamp(2.5rem, 1.5rem + 3vw, 4rem) var(--grid-gap);
}

.booking__intro {
  display: grid;
  align-content: start;
  gap: 1.5rem;
}

.assurances {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.assurances li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-weight: 500;
  line-height: 1.45;
}

.assurances svg {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.05em;
  color: var(--accent);
}

.booking__person {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.booking__person img {
  flex: none;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  object-fit: cover;
}

.booking__person p {
  display: grid;
  line-height: 1.4;
}

.booking__person-name {
  font-weight: 500;
}

.booking__person-role {
  font-size: var(--step--1);
  color: var(--c-structure);
}

.booking__alt {
  font-size: 0.9375rem;
  color: var(--c-structure);
}

/* Calendrier cal.com (embed inline) : l'iframe fixe elle-même sa hauteur */
.booking__embed {
  min-width: 0;
}

/* Hauteur réservée pendant le chargement uniquement */
.js .booking__embed:not(.is-ready, .is-failed) {
  min-height: 34rem;
}

/* Message de secours : sans JavaScript, ou si cal.com ne répond pas */
.booking__fallback {
  display: grid;
  gap: 0.75rem;
  padding: clamp(2rem, 1rem + 3vw, 3.5rem);
  background-color: var(--c-vellum);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.booking__fallback-title {
  font-family: var(--font-serif);
  font-size: var(--step-2);
  line-height: 1.25;
}

.booking__fallback p:last-child {
  color: var(--c-structure);
}

.js .booking__fallback,
.booking__embed.is-failed .booking__cal {
  display: none;
}

.booking__embed.is-failed .booking__fallback {
  display: grid;
}

/* Côte à côte seulement si le calendrier dispose d'au moins 768 px :
   en dessous, cal.com bascule sur sa mise en page mobile, bien plus haute. */
@media (min-width: 1280px) {
  .booking__grid {
    grid-template-columns: minmax(0, 1fr) minmax(48.5rem, 2fr);
    column-gap: clamp(3rem, 5vw, 6rem);
    align-items: start;
  }

  .booking__intro {
    position: sticky;
    top: calc(var(--header-h) + 2.5rem);
  }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding-top: clamp(4rem, 3rem + 4vw, 6.5rem);
  font-size: 0.9375rem;
}

.site-footer a {
  color: var(--text);
  text-decoration-line: none;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}

.site-footer a:hover {
  text-decoration-line: underline;
}

.site-footer .brand:hover {
  text-decoration-line: none;
}

.footer__top {
  display: grid;
  gap: 2.75rem var(--grid-gap);
  padding-bottom: clamp(3rem, 2rem + 3vw, 5rem);
}

.footer__brand {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 1.25rem;
}

.footer__brand p {
  color: var(--text-muted);
  max-width: 34ch;
}

.footer__title {
  margin-bottom: 1rem;
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-muted);
}

.footer__list {
  display: grid;
  gap: 0.125rem;
}

.footer__list a {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
}

.footer__contact address {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.footer__legal {
  display: grid;
  gap: 1.5rem;
  padding-block: 2rem 2.5rem;
  border-top: 1px solid var(--line);
  font-size: var(--step--1);
  color: var(--text-muted);
}

.footer__regulatory {
  max-width: 90ch;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
}

.footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.75rem;
}

.footer__legal-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

@media (min-width: 800px) {
  .footer__top {
    grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr);
  }
}
