/* ==========================================================================
   Solhéol — feuille de style principale
   Mobile-first. Aucune dépendance, aucun JavaScript.

   Sommaire
   1. Polices
   2. Tokens (couleurs, typo, espacements)
   3. Reset & base
   4. Utilitaires & mise en page
   5. Composants (boutons, header, nav, footer, cartes…)
   6. Sections spécifiques
   7. Formulaire
   8. Préférences utilisateur (mouvement réduit, impression)
   ========================================================================== */

/* 1. Polices — auto-hébergées (performance + RGPD, pas d'appel à Google)
   ========================================================================== */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}

/* 2. Tokens
   ========================================================================== */
:root {
  /* Palette de la marque */
  --color-cream: #fdf8ee;
  --color-sand: #efe3d0;
  --color-sage: #95a98c;
  --color-blue: #4a6d7c;
  --color-terracotta: #d97555;
  --color-navy: #1e3043;

  /* Terracotta plus soutenu pour les boutons et liens (texte blanc lisible) */
  --color-terracotta-strong: #b4553a;
  --color-terracotta-strong-hover: #9c4630;
  --color-sage-soft: #dfe6da;
  --color-white: #fff;

  /* Rôles */
  --bg: var(--color-cream);
  --bg-alt: var(--color-sand);
  --text: var(--color-navy);
  --text-muted: #4b5b69;
  --accent: var(--color-terracotta-strong);
  --border: #e2d5bf;

  /* Typographie — tailles et hauteurs de ligne alignées sur la grille de 8px */
  --font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-sm: 0.875rem; /* 14px */
  --lh-sm: 1.5rem; /* 24px */
  --fs-base: 1rem; /* 16px */
  --lh-base: 1.5rem; /* 24px */
  --fs-lead: 1.125rem; /* 18px */
  --lh-lead: 1.75rem; /* 28px */
  --fs-h3: 1.25rem; /* 20px */
  --lh-h3: 1.75rem; /* 28px */
  --fs-h2: 2rem; /* 32px */
  --lh-h2: 2.5rem; /* 40px */
  --fs-h1: 2.5rem; /* 40px */
  --lh-h1: 3rem; /* 48px */

  /* Espacements — grille de 8px (4px pour les micro-ajustements) */
  --space-2xs: 0.25rem; /* 4px */
  --space-xs: 0.5rem; /* 8px */
  --space-sm: 1rem; /* 16px */
  --space-md: 1.5rem; /* 24px */
  --space-lg: 2rem; /* 32px */
  --space-xl: 3rem; /* 48px */
  --space-2xl: 4rem; /* 64px */
  --space-section: 4rem; /* 64px, 96px sur desktop */

  /* Mise en page */
  --container: 72rem; /* 1152px */
  --container-narrow: 46rem; /* 736px */
  --gutter: 1rem; /* 16px, puis 24px / 32px */
  --header-height: 4.5rem; /* 72px */

  /* Rayons */
  --radius-sm: 0.5rem; /* 8px */
  --radius: 1rem; /* 16px */
  --radius-lg: 1.5rem; /* 24px */

  --shadow: 0 1px 2px rgb(30 48 67 / 0.06), 0 8px 24px rgb(30 48 67 / 0.08);
  --transition: 180ms ease;
}

@media (min-width: 48em) {
  :root {
    --fs-lead: 1.25rem; /* 20px */
    --lh-lead: 2rem; /* 32px */
    --fs-h3: 1.5rem; /* 24px */
    --lh-h3: 2rem; /* 32px */
    --fs-h2: 2.5rem; /* 40px */
    --lh-h2: 3rem; /* 48px */
    --fs-h1: 3rem; /* 48px */
    --lh-h1: 3.5rem; /* 56px */
    --gutter: 1.5rem; /* 24px */
  }
}

@media (min-width: 64em) {
  :root {
    --fs-h1: 3.5rem; /* 56px */
    --lh-h1: 4rem; /* 64px */
    --gutter: 2rem; /* 32px */
    --space-section: 6rem; /* 96px */
  }
}

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

* {
  margin: 0;
}

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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
}

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

img {
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
}

h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
}

h3 {
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
}

p {
  text-wrap: pretty;
}

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

::selection {
  background: var(--color-sand);
  color: var(--color-navy);
}

/* 4. Utilitaires & mise en page
   ========================================================================== */
.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: -100%;
  left: var(--space-sm);
  z-index: 100;
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: var(--radius-sm);
}

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

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

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

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

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

.section--dark {
  background: var(--color-navy);
  color: var(--color-cream);
}

.section__header {
  max-width: 40rem;
  margin-bottom: var(--space-lg);
}

.section__header > * + * {
  margin-top: var(--space-sm);
}

.section__header--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: var(--space-xs);
  color: var(--color-blue);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section--dark .eyebrow,
.highlight .eyebrow,
.contact-aside .eyebrow {
  color: var(--color-sage);
}

.lead {
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  color: var(--text-muted);
}

.section--dark .lead,
.highlight .lead {
  color: var(--color-sand);
}

.flow > * + * {
  margin-top: var(--space-sm);
}

.flow > * + h2,
.flow > * + h3 {
  margin-top: var(--space-lg);
}

.grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 40em) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 75em) {
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Bloc texte + image côte à côte */
.split {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 56em) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .split--reverse > :first-child {
    order: 2;
  }
}

.split--top {
  align-items: start;
}

.split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* 5. Composants
   ========================================================================== */

/* Boutons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: var(--color-white);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.btn:hover {
  background: var(--color-terracotta-strong-hover);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  border-color: currentColor;
  color: var(--color-navy);
}

.btn--outline:hover {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-cream);
}

.btn--light {
  background: var(--color-cream);
  color: var(--color-navy);
}

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

.btn--sm {
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  font-size: var(--fs-sm);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 600;
  text-decoration: none;
}

.arrow-link::after {
  content: "→";
  transition: transform var(--transition);
}

.arrow-link:hover::after {
  transform: translateX(4px);
}

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(253 248 238 / 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.site-header__cta {
  display: none;
}

.site-header__logo img {
  width: auto;
  height: 3.5rem;
}

/* Navigation --------------------------------------------------------------
   Mobile : menu en "popover" natif HTML (ouverture/fermeture, touche Échap
   et clic extérieur gérés par le navigateur, sans JS).
   Desktop : la même liste est affichée en ligne.                            */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--color-white);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
}

.nav-toggle__icon {
  width: 1.5rem;
  height: 1.5rem;
}

.site-nav {
  /* reset des styles par défaut du popover */
  inset: 0 0 auto auto;
  width: min(22rem, 100%);
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: var(--space-lg) var(--space-md);
  border: 0;
  background: var(--color-cream);
  color: var(--text);
  box-shadow: var(--shadow);
}

.site-nav::backdrop {
  background: rgb(30 48 67 / 0.45);
}

.site-nav__close {
  display: block;
  margin-left: auto;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--color-white);
  font-size: var(--fs-sm);
  cursor: pointer;
}

.site-nav__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  margin-top: var(--space-md);
  padding: 0;
  list-style: none;
}

.site-nav__list a:not(.btn) {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 2rem;
  text-decoration: none;
}

.site-nav__list a[aria-current="page"] {
  color: var(--accent);
}

.site-nav__list .btn {
  width: 100%;
  margin-top: var(--space-md);
}

/* Navigateurs sans popover : le menu reste simplement visible sous le header */
@supports not selector(:popover-open) {
  .nav-toggle,
  .site-nav__close {
    display: none;
  }

  .site-header__inner {
    flex-wrap: wrap;
  }

  .site-nav {
    position: static;
    width: 100%;
    height: auto;
    padding: 0 0 var(--space-sm);
    box-shadow: none;
    background: transparent;
  }
}

@media (min-width: 62em) {
  /* Logo à gauche, liens centrés sur la page, bouton à droite */
  .site-header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }

  .site-header__cta {
    display: inline-flex;
    justify-self: end;
  }

  .nav-toggle,
  .site-nav__close,
  .site-nav__cta {
    display: none;
  }

  /* `display` l'emporte sur le `display: none` du popover fermé
     (les styles auteur priment sur ceux du navigateur). */
  .site-nav {
    display: block;
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .site-nav__list {
    flex-direction: row;
    align-items: center;
    gap: var(--space-lg);
    margin: 0;
  }

  .site-nav__list a:not(.btn) {
    position: relative;
    padding: 0.25rem 0;
    border: 0;
    font-family: var(--font-sans);
    font-size: var(--fs-base);
    font-weight: 500;
  }

  .site-nav__list a:not(.btn)::after {
    content: "";
    position: absolute;
    inset: auto 0 -2px;
    height: 2px;
    background: var(--color-terracotta);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
  }

  .site-nav__list a:not(.btn):hover::after,
  .site-nav__list a[aria-current="page"]::after {
    transform: scaleX(1);
  }

}

/* Hero (accueil) --------------------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  min-height: min(88vh, 50rem);
  /* Fond de secours (image non chargée) et référence pour les outils de contraste */
  background-color: var(--color-navy);
  color: var(--color-white);
  isolation: isolate;
}

.hero__media,
.hero__media img,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* La vidéo recouvre la photo, qui reste visible tant qu'elle ne joue pas */
@media (prefers-reduced-motion: reduce) {
  .hero__video {
    display: none;
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(30 48 67 / 0.72);
}

@media (min-width: 48em) {
  .hero::before {
    background: linear-gradient(
      100deg,
      rgb(30 48 67 / 0.9) 0%,
      rgb(30 48 67 / 0.75) 45%,
      rgb(30 48 67 / 0.3) 100%
    );
  }
}

.hero__content {
  align-self: center;
  padding-block: var(--space-2xl);
}

.hero__content > * {
  max-width: 38rem;
}

.hero .eyebrow {
  color: var(--color-sand);
}

.hero h1 {
  font-weight: 500;
}

.hero .lead {
  margin-top: var(--space-md);
  color: var(--color-white);
}

.hero .btn--outline {
  color: var(--color-white);
}

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

/* En-tête des pages internes ---------------------------------------------- */
.page-hero {
  position: relative;
  padding-block: var(--space-2xl);
  background-color: var(--color-navy);
  color: var(--color-white);
  isolation: isolate;
  overflow: hidden;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

@media (min-width: 64em) {
  .page-hero {
    padding-block: 8rem; /* 128px */
  }
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(30 48 67 / 0.75);
}

@media (min-width: 48em) {
  .page-hero::before {
    background: linear-gradient(
      100deg,
      rgb(30 48 67 / 0.9) 0%,
      rgb(30 48 67 / 0.75) 50%,
      rgb(30 48 67 / 0.4) 100%
    );
  }
}

.page-hero .eyebrow {
  color: var(--color-sand);
}

.page-hero .lead {
  max-width: 36rem;
  margin-top: var(--space-sm);
  color: var(--color-white);
}

/* Page hero sans image */
.page-hero--plain {
  background-color: var(--color-sand);
  color: var(--text);
}

.page-hero--plain::before {
  content: none;
}

.page-hero--plain .eyebrow {
  color: var(--color-blue);
}

.page-hero--plain .lead {
  color: var(--text-muted);
}

/* Cartes "atouts" --------------------------------------------------------- */
.feature {
  padding: var(--space-md);
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: var(--shadow);
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: var(--space-sm);
  border-radius: 50%;
  background: var(--color-sage-soft);
  color: var(--color-blue);
}

.feature__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.feature h3 {
  margin-bottom: var(--space-xs);
}

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

/* Étapes ---------------------------------------------------------------- */
.steps {
  display: grid;
  gap: var(--space-md);
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-sm) var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius);
  background: var(--color-white);
  counter-increment: step;
}

.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-cream);
  font-family: var(--font-serif);
  font-size: 1.5rem;
}

.step h3 {
  align-self: center;
}

.step > :not(h3) {
  grid-column: 1 / -1;
  color: var(--text-muted);
}

@media (min-width: 40em) {
  .step > :not(h3) {
    grid-column: 2;
  }
}

.note {
  display: grid;
  gap: var(--space-sm) var(--space-md);
  margin-top: var(--space-lg);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  background: var(--color-sage-soft);
}

@media (min-width: 40em) {
  .note {
    grid-template-columns: auto 1fr;
    padding: var(--space-lg);
  }
}

.note__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-blue);
}

.note__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.note__title {
  margin-bottom: var(--space-xs);
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
}

.note__body p + p {
  margin-top: var(--space-xs);
}

.note__body p:last-child {
  color: var(--text-muted);
}

/* Liste à puces "check" -------------------------------------------------- */
.check-list {
  display: grid;
  gap: var(--space-xs);
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--color-sage-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a6d7c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 1rem no-repeat;
}

/* Mosaïque destinations --------------------------------------------------- */
.mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  padding: 0;
  list-style: none;
}

.mosaic__item {
  position: relative;
  overflow: hidden;
  background-color: var(--color-navy);
  border-radius: var(--radius);
}

.mosaic__item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 600ms ease;
}

.mosaic__item:hover img {
  transform: scale(1.04);
}

.mosaic__item figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: var(--space-xl) var(--space-sm) var(--space-sm);
  background: linear-gradient(transparent, rgb(30 48 67 / 0.75));
  color: var(--color-white);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.75rem;
}

@media (min-width: 48em) {
  .mosaic {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Bandeau d'appel à l'action --------------------------------------------- */
.cta-band {
  text-align: center;
}

.cta-band__logo {
  width: 4.5rem;
  margin: 0 auto var(--space-md);
}

.cta-band h2 {
  max-width: 32rem;
  margin-inline: auto;
}

.cta-band p {
  max-width: 36rem;
  margin: var(--space-sm) auto 0;
}

.cta-band .btn-group {
  justify-content: center;
}

/* Footer ----------------------------------------------------------------- */
.site-footer {
  padding-block: var(--space-lg) var(--space-md);
  background: var(--color-navy);
  color: var(--color-sand);
  font-size: var(--fs-sm);
}

.site-footer__grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 48em) {
  .site-footer__grid {
    grid-template-columns: repeat(3, auto);
    justify-content: space-between;
  }

  /* Le texte de présentation occupe toute la largeur sur tablette */
  .site-footer__grid > :first-child {
    grid-column: 1 / -1;
    max-width: 24rem;
  }
}

@media (min-width: 64em) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 20rem) repeat(3, auto);
  }

  .site-footer__grid > :first-child {
    grid-column: auto;
  }
}

.site-footer__logo {
  width: 10rem;
  margin-bottom: var(--space-sm);
}

.site-footer h2 {
  margin-bottom: var(--space-sm);
  color: var(--color-cream);
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer ul {
  display: grid;
  gap: var(--space-xs);
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: var(--color-sand);
  text-decoration: none;
}

.site-footer__icon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.site-footer__icon-link svg {
  flex-shrink: 0;
  width: 1.1em;
  height: 1.1em;
}

.site-footer a:hover {
  color: var(--color-white);
  text-decoration: underline;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgb(239 227 208 / 0.2);
  color: rgb(239 227 208 / 0.75);
}

/* 6. Sections spécifiques
   ========================================================================== */

/* Encadré "pas une agence" ------------------------------------------------ */
.highlight {
  padding: var(--space-lg) var(--space-md);
  border-radius: var(--radius-lg);
  background: var(--color-navy);
  color: var(--color-cream);
}

.highlight h2 {
  margin-bottom: var(--space-sm);
}

.highlight p + p {
  margin-top: var(--space-sm);
}

@media (min-width: 48em) {
  .highlight {
    padding: var(--space-2xl);
  }
}

/* Tarifs ------------------------------------------------------------------ */
.pricing {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 56em) {
  .pricing {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-lg) var(--space-md);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow);
}

@media (min-width: 40em) {
  .price-card {
    padding: var(--space-xl);
  }
}

.price-card__intro {
  margin-top: var(--space-2xs);
  margin-bottom: var(--space-md);
  color: var(--text-muted);
}

.price-card__rates {
  margin-bottom: var(--space-md);
  border-top: 1px solid var(--border);
}

.price-card__rate {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-xs) var(--space-md);
  padding-block: var(--space-md);
  border-bottom: 1px solid var(--border);
}

.price-card__rate dt {
  font-weight: 600;
}

.price-card__rate dd {
  margin: 0;
  color: var(--text-muted);
}

.price-card__amount {
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 2.5rem; /* 40px */
  line-height: 3rem;
}

.price-card__footnote {
  margin-bottom: var(--space-lg);
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

/* Le bouton reste en bas de la carte, quelle que soit sa hauteur */
.price-card__cta {
  align-self: flex-start;
  margin-top: auto;
}

/* Encart offre (accueil) ------------------------------------------------ */
.offer-teaser {
  display: grid;
  gap: var(--space-md);
  justify-items: start;
  padding: var(--space-lg) var(--space-md);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow);
}

@media (min-width: 56em) {
  .offer-teaser {
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: var(--space-xl);
    padding: var(--space-xl);
  }
}

.offer-teaser__text h2 {
  margin-bottom: var(--space-xs);
}

.offer-teaser__text p {
  max-width: 36rem;
  color: var(--text-muted);
}

.offer-teaser__price {
  display: grid;
  justify-items: start;
}

@media (min-width: 56em) {
  .offer-teaser__price {
    justify-items: center;
    padding-inline: var(--space-xl);
    border-inline: 1px solid var(--border);
  }
}

.offer-teaser__from,
.offer-teaser__unit {
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.offer-teaser__amount {
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 3.5rem; /* 56px */
  line-height: 4rem;
}

/* Options ----------------------------------------------------------------- */
.options {
  margin-top: var(--space-xl);
}

.options h3 {
  margin-bottom: var(--space-md);
  text-align: center;
}

.options__list {
  display: grid;
  gap: var(--space-sm);
  padding: 0;
  list-style: none;
}

@media (min-width: 48em) {
  .options__list {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }
}

.option {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  border-radius: var(--radius);
  background: var(--color-sage-soft);
  font-weight: 500;
}

.option__icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-blue);
}

.option__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Contact ---------------------------------------------------------------- */
.contact-layout {
  display: grid;
  gap: var(--space-lg);
  align-items: start;
}

@media (min-width: 62em) {
  .contact-layout {
    grid-template-columns: 1.6fr 1fr;
    gap: var(--space-2xl);
  }

  .contact-aside {
    position: sticky;
    top: calc(var(--header-height) + var(--space-md));
  }
}

.contact-aside {
  padding: var(--space-lg) var(--space-md);
  border-radius: var(--radius-lg);
  background: var(--color-navy);
  color: var(--color-cream);
}

.contact-aside p {
  margin-top: var(--space-sm);
  color: var(--color-sand);
}

.contact-aside .btn {
  width: 100%;
  margin-top: var(--space-md);
}

/* 7. Formulaire
   ========================================================================== */
.form {
  display: grid;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-md);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow);
}

@media (min-width: 40em) {
  .form {
    grid-template-columns: repeat(2, 1fr);
    padding: var(--space-lg);
  }

  .form__field--full {
    grid-column: 1 / -1;
  }
}

.form__field {
  display: grid;
  gap: var(--space-2xs);
  align-content: start;
}

.form__field label {
  font-size: var(--fs-sm);
  font-weight: 600;
}

.form__hint {
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.form__required {
  color: var(--accent);
}

.form input:not([type="checkbox"]),
.form select,
.form textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border: 1px solid #cfc2ab;
  border-radius: var(--radius-sm);
  background: var(--color-cream);
  font-size: 1rem; /* ≥ 16px : évite le zoom auto sur iOS */
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

.form textarea {
  min-height: 9rem;
  resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgb(74 109 124 / 0.25);
}

.form input:user-invalid,
.form textarea:user-invalid {
  border-color: var(--color-terracotta-strong);
}

.form__consent {
  display: flex;
  gap: var(--space-xs);
  align-items: flex-start;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.form__consent input {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
  accent-color: var(--color-blue);
}

.form__honeypot {
  display: none;
}

/* Message d'erreur : visible seulement après redirection vers #erreur-envoi */
.form__alert {
  display: none;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  background: #fbe9e3;
  color: #6e2c1b;
}

.form__alert:target,
.form__alert--static {
  display: block;
}

.form__alert a {
  color: inherit;
}

/* Widget anti-spam ALTCHA invisible : ne doit pas occuper de ligne dans la grille */
.form > altcha-widget[display="invisible"] {
  position: absolute;
}

.form .btn {
  justify-self: start;
}

/* 8. Préférences utilisateur
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .cta-band,
  .btn {
    display: none !important;
  }

  .hero,
  .page-hero {
    color: #000;
    min-height: 0;
  }

  .hero img,
  .page-hero img,
  .hero::before,
  .page-hero::before {
    display: none;
  }
}
