/* ==========================================================================
   Réuni Étanchéité — feuille de style
   Sommaire :
   1. Polices          5. En-tête & navigation    9.  À propos
   2. Variables        6. Hero                    10. Appel à l'action
   3. Base             7. Prestations             11. Pied de page
   4. Composants       8. Pourquoi nous choisir   12. Préférences utilisateur
   ========================================================================== */

/* 1. Polices — Poppins auto-hébergée (sous-ensemble latin, licence OFL) */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/poppins-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/poppins-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/poppins-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/poppins-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Police de secours aux métriques ajustées sur Poppins : limite le décalage au chargement (CLS) */
@font-face {
  font-family: "Poppins Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  ascent-override: 93.62%;
  descent-override: 31.21%;
  line-gap-override: 8.92%;
  size-adjust: 112.16%;
}

/* 2. Variables ------------------------------------------------------------ */
:root {
  /* Palette (charte graphique) */
  --color-navy: #10283F;
  --color-teal: #008C99;
  --color-teal-dark: #007481;
  --color-teal-light: #35B3BE;      /* teinte du turquoise, uniquement sur fond marine (contraste AA) */
  --color-text: #203044;
  --color-white: #FFFFFF;
  --color-soft: #F7F9FA;
  --color-sand: #FAF6F0;
  --color-border: #DDE5E9;

  /* Rôles de couleur — modifier ici pour changer le rendu global */
  --color-cta: var(--color-teal-dark);        /* fond des boutons (blanc sur #007481 = 5,5:1). Mettre var(--color-teal) pour le turquoise exact de la maquette (4,03:1) */
  --color-cta-hover: var(--color-navy);
  --color-accent: var(--color-teal);          /* filets, pictogrammes, soulignements */
  --color-accent-text: var(--color-teal-dark);/* petits textes turquoise sur fond clair */
  --focus-color: var(--color-teal-dark);

  /* Typographie */
  --font-main: "Poppins", "Poppins Fallback", Arial, sans-serif;
  --fs-h1: clamp(2.125rem, 1.3rem + 2.55vw, 3.5rem);      /* 34 → 56 px */
  --fs-h2: clamp(1.75rem, 1.2rem + 1.55vw, 2.5rem);       /* 28 → 40 px */
  --fs-h3: clamp(1.25rem, 1.15rem + 0.3vw, 1.375rem);     /* 20 → 22 px */
  --fs-body: 1rem;                                         /* 16 px */
  --fs-lead: 1.125rem;                                     /* 18 px */
  --fs-nav: 0.9375rem;                                     /* 15 px */
  --fs-btn: 1rem;                                          /* 16 px */
  --fs-eyebrow: 0.8125rem;                                 /* 13 px */
  --fs-small: 0.875rem;                                    /* 14 px */

  /* Mise en page & espacements */
  --container-width: 1240px;
  --gutter: 40px;
  --section-padding: 100px;
  --header-height: 84px;
  --grid-gap: 28px;

  /* Formes */
  --card-radius: 14px;
  --button-radius: 10px;
  --shadow-card: 0 1px 2px rgba(16, 40, 63, 0.05), 0 10px 28px rgba(16, 40, 63, 0.08);
  --shadow-menu: 0 12px 32px rgba(16, 40, 63, 0.12);

  /* Boutons */
  --btn-height: 52px;
  --btn-padding: 0.8125rem 1.5rem;
}

@media (max-width: 68.75em) {
  :root { --section-padding: 88px; }
}
@media (max-width: 60em) {
  :root { --section-padding: 80px; --gutter: 28px; --header-height: 76px; }
}
@media (max-width: 37.5em) {
  :root { --section-padding: 60px; --gutter: 20px; --header-height: 68px; --grid-gap: 20px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-height) + 8px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-main);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ul, figure { margin: 0; }
h1, h2, h3 { color: var(--color-navy); font-weight: 700; }
ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
address { font-style: normal; }
button { font: inherit; color: inherit; }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  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: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  border-radius: var(--button-radius);
  background: var(--color-navy);
  color: var(--color-white);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: calc(var(--container-width) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

/* 4. Composants ------------------------------------------------------------ */
.eyebrow {
  margin-bottom: 0.625rem;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-text);
}

.section-title {
  font-size: var(--fs-h2);
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.accent-bar {
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 1.25rem;
  border-radius: 2px;
  background: var(--color-accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: var(--btn-height);
  padding: var(--btn-padding);
  border: 2px solid transparent;
  border-radius: var(--button-radius);
  font-family: var(--font-main);
  font-size: var(--fs-btn);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn__icon { flex: none; width: 1.25rem; height: 1.25rem; }

.btn--primary { background: var(--color-cta); color: var(--color-white); }
.btn--primary:hover { background: var(--color-cta-hover); }

.btn--outline {
  background: var(--color-white);
  border-color: var(--color-navy);
  border-width: 1.5px;
  color: var(--color-navy);
}
.btn--outline:hover { background: var(--color-navy); color: var(--color-white); }

.btn--lg { --btn-height: 60px; padding-inline: 2rem; }

/* 5. En-tête & navigation -------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-white);
  box-shadow: 0 1px 0 rgba(16, 40, 63, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  height: var(--header-height);
  gap: 2rem;
}

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 0.6875rem;
  color: var(--color-navy);
  text-decoration: none;
}
.brand__mark { width: 62px; height: 56px; }
.brand__name {
  font-size: 1.5625rem;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.site-header .brand {
  padding-right: 2rem;
  border-right: 1px solid var(--color-border);
}

.site-nav {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 1.5rem;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-inline: auto;
}

.nav__link {
  position: relative;
  display: inline-block;
  padding-block: 0.5rem;
  font-size: var(--fs-nav);
  font-weight: 500;
  color: var(--color-navy);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.nav__link:hover { color: var(--color-accent-text); }
.nav__link.is-active { color: var(--color-accent-text); }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-accent);
}

/* Sous-menu « Prestations » */
.nav__item--sub {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.125rem;
}
.nav__subtoggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--color-navy);
  cursor: pointer;
}
.nav__subtoggle svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.nav__subtoggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.nav__sub {
  position: absolute;
  top: calc(100% + 14px);
  left: -1rem;
  z-index: 10;
  display: none;
  min-width: 280px;
  padding: 0.5rem;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-white);
  box-shadow: var(--shadow-menu);
}
.nav__item--sub.is-open .nav__sub { display: block; }
.nav__sub a {
  display: block;
  padding: 0.625rem 0.875rem;
  border-radius: 8px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--color-navy);
  text-decoration: none;
}
.nav__sub a:hover { background: var(--color-soft); color: var(--color-accent-text); }

@media (hover: hover) and (min-width: 71.3125em) {
  /* pont invisible pour ne pas perdre le survol entre le lien et le sous-menu */
  .nav__item--sub::after {
    content: "";
    position: absolute;
    top: 100%; left: 0; right: 0;
    height: 16px;
  }
  .nav__item--sub:hover .nav__sub { display: block; }
}

.header__cta { flex: none; padding-inline: 1.375rem; }
.header__cta .btn__icon { width: 1.125rem; height: 1.125rem; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--button-radius);
  background: var(--color-white);
  color: var(--color-navy);
  cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle__close,
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

@media (max-width: 71.25em) {
  .site-header .brand { padding-right: 0; border-right: 0; }
  .js .nav-toggle { display: inline-flex; }

  .js .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    max-height: calc(100vh - var(--header-height));
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    padding: 0.5rem var(--gutter) 1.75rem;
    border-top: 1px solid var(--color-border);
    background: var(--color-white);
    box-shadow: var(--shadow-menu);
  }
  .js .site-nav.is-open { display: flex; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
  .nav__list > li { border-bottom: 1px solid var(--color-border); }
  .nav__link { display: block; padding-block: 1rem; font-size: 1.0625rem; }
  .nav__link.is-active::after { display: none; }

  .nav__item--sub { flex-wrap: wrap; justify-content: space-between; }
  .nav__item--sub .nav__link { flex: 1; }
  .nav__subtoggle { width: 44px; height: 44px; }
  .nav__subtoggle svg { width: 18px; height: 18px; }
  .nav__sub {
    position: static;
    flex-basis: 100%;
    min-width: 0;
    margin-bottom: 0.75rem;
    padding: 0 0 0 0.75rem;
    border: 0;
    border-left: 2px solid var(--color-accent);
    border-radius: 0;
    box-shadow: none;
  }
  .nav__sub a { padding: 0.625rem 0.75rem; font-size: 1rem; }

  .header__cta { width: 100%; --btn-height: 54px; }

  /* Sans JavaScript : menu affiché en clair sous le logo */
  html:not(.js) .header__inner { flex-wrap: wrap; height: auto; padding-block: 1rem; }
  html:not(.js) .site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; }
}

/* 6. Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(560px, 48vw, 720px);
  padding-block: 110px;
  overflow: hidden;
  background: var(--color-soft);
}
.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__media { z-index: -2; }
.hero__media img { object-fit: cover; object-position: 30% 40%; }

/* Voile clair limité à la moitié droite : l'artisan reste parfaitement visible */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,
    rgba(247, 249, 250, 0) 42%,
    rgba(247, 249, 250, 0.7) 52%,
    rgba(247, 249, 250, 0.82) 66%,
    rgba(247, 249, 250, 0.86) 100%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
}
.hero__content { grid-column: 2; container-type: inline-size; }
/* Desktop : retours à la ligne identiques à la maquette (3 lignes).
   La taille est plafonnée à 9 % de la largeur de la colonne, pour que chaque ligne tienne
   quelle que soit la taille de police réglée dans le navigateur. */
.hero__title span { display: block; }
@media (min-width: 60.0625em) {
  .hero__content .hero__title { font-size: min(var(--fs-h1), 9cqi); }
}

.hero__title {
  font-size: var(--fs-h1);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero .accent-bar { width: 84px; margin-top: 1.625rem; }
.hero__lead {
  max-width: 23em;
  margin-top: 1.5rem;
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--color-text);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.125rem;
  margin-top: 2.25rem;
}

/* Petits écrans d'ordinateur / tablette paysage : boutons plus compacts */
@media (max-width: 79.9375em) and (min-width: 60.0625em) {
  .hero__actions { gap: 0.875rem; }
  .hero .btn--lg { padding-inline: 1.5rem; }
}

@media (max-width: 60em) {
  .hero {
    display: block;
    min-height: 0;
    padding: 0;
    background: var(--color-white);
  }
  .hero::before { display: none; }
  .hero__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
  }
  .hero__media img { object-position: 22% 35%; }
  .hero__inner { display: block; padding-block: 48px 64px; }
  .hero__title { max-width: 18ch; text-wrap: balance; }
  .hero__title span { display: inline; }
}

@media (max-width: 37.5em) {
  .hero__media { aspect-ratio: 1100 / 941; }
  .hero__media img { object-position: 50% 30%; }
  .hero__inner { padding-block: 36px 60px; }
  .hero .accent-bar { width: 64px; margin-top: 1.25rem; }
  .hero__lead { margin-top: 1.25rem; font-size: var(--fs-lead); }
  .hero__actions { flex-direction: column; margin-top: 1.75rem; }
  .hero__actions .btn { width: 100%; }
}

/* 7. Prestations ----------------------------------------------------------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
  margin-top: 3rem;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--card-radius);
  background: var(--color-soft);
  box-shadow: var(--shadow-card);
  scroll-margin-top: calc(var(--header-height) + 24px);
}
.service-card__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.service-card__body { flex: 1; padding: 1.75rem 1.75rem 2rem; }
.service-card__title {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.service-card__body p { margin-top: 0.875rem; max-width: 30em; }

@media (max-width: 61.25em) and (min-width: 37.5625em) {
  .services { grid-template-columns: 1fr; gap: 24px; margin-top: 2.5rem; }
  .service-card { flex-direction: row; }
  .service-card__img { flex: 0 0 42%; width: 42%; height: auto; min-height: 220px; aspect-ratio: auto; }
  .service-card__body { display: flex; flex-direction: column; justify-content: center; padding: 1.75rem 2rem; }
}

@media (max-width: 37.5em) {
  .services { grid-template-columns: 1fr; margin-top: 2.25rem; }
  .service-card__body { padding: 1.375rem 1.375rem 1.625rem; }
}

/* 8. Pourquoi nous choisir ------------------------------------------------- */
.why { background: var(--color-sand); }

.why__inner {
  display: grid;
  grid-template-columns: minmax(280px, 1.3fr) 4fr;
  align-items: center;
  gap: 2.5rem;
}
.why__head { container-type: inline-size; }
.why__title { font-size: clamp(1.75rem, 1.3rem + 1vw, 2.25rem); line-height: 1.18; }
.why__head .why__title { font-size: min(clamp(1.75rem, 1.3rem + 1vw, 2.25rem), 12cqi); }

.why__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.why__item {
  padding: 0.25rem 0.75rem;
  border-left: 1px solid var(--color-border);
  text-align: center;
}
.why__icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 0.875rem;
  color: var(--color-accent);
}
.why__item-title {
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.3;
  text-wrap: balance;
}
.why__item p {
  text-wrap: balance;
  margin-top: 0.375rem;
  font-size: var(--fs-small);
  line-height: 1.5;
}

@media (max-width: 68.75em) {
  .why__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .why__item:first-child { border-left: 0; padding-left: 0; }
}

@media (max-width: 47.5em) {
  .why__list { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .why__item:nth-child(odd) { border-left: 0; }
}

@media (max-width: 35em) {
  .why__inner { gap: 1.75rem; }
  .why__list { grid-template-columns: 1fr; row-gap: 0; }
  .why__item {
    display: grid;
    grid-template-columns: 40px 1fr;
    align-items: start;
    gap: 1rem;
    padding: 1.25rem 0;
    border-left: 0;
    border-top: 1px solid var(--color-border);
    text-align: left;
  }
  .why__item:first-child { padding-top: 0; border-top: 0; }
  .why__item:last-child { padding-bottom: 0; }
  .why__icon { width: 36px; height: 36px; margin: 0; }
  .why__item-title { text-wrap: wrap; }
  .why__item-title br { display: none; }
}

/* 9. À propos -------------------------------------------------------------- */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 64px;
}
.about__media {
  overflow: hidden;
  min-height: 340px;
  border-radius: var(--card-radius);
  background: var(--color-soft);
}
.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 50%;
}
.about__content { align-self: center; container: about / inline-size; }
.about__title { max-width: 17em; }
.about__text { max-width: 33em; margin-top: 1.5rem; font-size: 1.0625rem; line-height: 1.6; }

/* Par défaut (colonne étroite) : 3 colonnes égales, pictogramme au-dessus du texte */
.about__points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1.75rem;
}
.about__points li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding-inline: 0.5rem;
  border-left: 1px solid var(--color-border);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  color: var(--color-navy);
}
.about__points li:first-child { border-left: 0; }
.about__points svg { flex: none; width: 34px; height: 34px; color: var(--color-accent); }

/* Colonne assez large : les 3 éléments sur une ligne, pictogramme à gauche (maquette) */
@container about (min-width: 34rem) {
  .about__points { display: flex; margin-top: 2rem; }
  .about__points li {
    flex-direction: row;
    gap: 0.75rem;
    padding-inline: 1.5rem;
    font-size: 0.9375rem;
    text-align: left;
  }
  .about__points li:first-child { padding-left: 0; }
  .about__points svg { width: 38px; height: 38px; }
}

@media (max-width: 73.75em) and (min-width: 60.0625em) {
  .about__inner { gap: 48px; }
}

@media (max-width: 60em) {
  .about__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .about__media { min-height: 0; aspect-ratio: 16 / 8; }
}

@media (max-width: 35em) {
  .about__media { aspect-ratio: 4 / 3; }
  .about__points li { font-size: 0.8125rem; }
}

/* 10. Appel à l'action ---------------------------------------------------- */
.cta {
  --focus-color: var(--color-white);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: var(--section-padding);
  background: var(--color-navy);
  color: var(--color-white);
}
.cta__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 0%;
}
/* Voile bleu marine : plus dense sous le texte, plus léger à droite */
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,
    rgba(16, 40, 63, 0.8) 0%,
    rgba(16, 40, 63, 0.66) 45%,
    rgba(16, 40, 63, 0.32) 100%);
}

.cta__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
}
.cta__title {
  max-width: 12em;
  font-size: clamp(1.75rem, 1.3rem + 1.15vw, 2.375rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--color-white);
}
.cta__lead {
  max-width: 28rem;
  margin-top: 0.875rem;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.94);
}

.cta__actions {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding-left: 3.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.45);
}

.btn--phone {
  --btn-height: 68px;
  gap: 0.875rem;
  padding-inline: 2rem;
  background: var(--color-cta);
  color: var(--color-white);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.btn--phone .btn__icon { width: 1.75rem; height: 1.75rem; }
.btn--phone:hover { background: var(--color-white); color: var(--color-navy); }

.btn--light {
  background: var(--color-white);
  color: var(--color-navy);
}
.btn--light:hover { background: var(--color-sand); }
.btn__icon--end { width: 1.125rem; height: 1.125rem; }

@media (max-width: 53.75em) {
  .cta__inner { flex-direction: column; align-items: flex-start; gap: 2rem; }
  .cta__actions {
    width: 100%;
    max-width: 440px;
    padding-left: 0;
    padding-top: 2rem;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.45);
  }
  .cta::before { background: rgba(16, 40, 63, 0.76); }
}

@media (max-width: 37.5em) {
  .cta__bg { object-position: 72% 50%; }
  .cta__actions { max-width: none; }
  .btn--phone { --btn-height: 62px; font-size: 1.5rem; }
  .btn--light { white-space: normal; }
}

/* 11. Pied de page --------------------------------------------------------- */
.site-footer {
  --focus-color: var(--color-white);
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.86);
}

.footer__inner {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  padding-block: 3rem;
}
.footer__inner > * + * {
  margin-left: 3rem;
  padding-left: 3rem;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}
.footer__inner > .footer__map { margin-left: 2rem; padding-left: 0; border-left: 0; }

.brand--light { color: var(--color-white); }

.footer__contact li {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.footer__contact li + li { margin-top: 0.625rem; }
.footer__contact svg { flex: none; width: 18px; height: 18px; color: var(--color-white); }
.footer__contact a { color: var(--color-white); text-decoration: none; }
.footer__contact a:hover { text-decoration: underline; text-underline-offset: 3px; }

.footer__title {
  margin-bottom: 0.5rem;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-teal-light);
}
.footer__zone p { max-width: 36rem; font-size: var(--fs-small); line-height: 1.7; }

.footer__map { width: 116px; height: auto; color: var(--color-teal-light); }

.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.25rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.72);
}
.footer__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.footer__links a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.footer__links a:hover { color: var(--color-white); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 68.75em) {
  .footer__inner { grid-template-columns: minmax(0, 1fr) auto; row-gap: 2.25rem; }
  .footer__inner > .footer__zone { margin-left: 0; padding-left: 0; border-left: 0; }
  .footer__inner > .footer__map { justify-self: end; margin-left: 2rem; }
}

@media (max-width: 37.5em) {
  .footer__inner { grid-template-columns: 1fr; padding-block: 2.75rem; row-gap: 1.75rem; }
  .footer__inner > * + * {
    margin-left: 0;
    padding-left: 0;
    padding-top: 1.75rem;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }
  .footer__inner > .footer__map { display: none; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; }
}

/* 12. Préférences utilisateur --------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

@media (forced-colors: active) {
  .btn { border: 2px solid ButtonText; }
  .accent-bar { background: CanvasText; }
}

/* 13. Pages secondaires (mentions légales, confidentialité) ---------------- */
.page-header .header__inner { justify-content: space-between; }
.page-header .brand { padding-right: 0; border-right: 0; }
.back-link {
  font-size: var(--fs-nav);
  font-weight: 500;
  color: var(--color-accent-text);
  text-decoration: none;
}
.back-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.legal { max-width: 820px; }
.legal h1 { font-size: var(--fs-h2); line-height: 1.2; letter-spacing: -0.015em; }
.legal h2 { margin-top: 2.5rem; font-size: 1.25rem; line-height: 1.3; }
.legal p, .legal ul { margin-top: 0.75rem; }
.legal ul { padding-left: 1.25rem; list-style: disc; }
.legal li + li { margin-top: 0.375rem; }
.legal a { color: var(--color-accent-text); }
.legal__notice {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--button-radius) var(--button-radius) 0;
  background: var(--color-soft);
}
.todo {
  padding: 0.0625rem 0.375rem;
  border-radius: 4px;
  background: var(--color-sand);
  color: var(--color-navy);
  font-weight: 600;
}
