/* ---------- Police (Raleway, hébergée localement) ---------- */
@font-face {
  font-family: "Raleway";
  src: url("/fonts/raleway-variable.woff2") format("woff2-variations"),
    url("/fonts/raleway-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Raleway";
  src: url("/fonts/raleway-italic-variable.woff2") format("woff2-variations"),
    url("/fonts/raleway-italic-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- Variables ---------- */
:root {
  --bg: #0f151e;
  --heading: #c5c8d9;
  --text: #fff5e0;
  --bg-transparent-70: rgba(15, 21, 30, 0.7);
  --bg-transparent-40: rgba(15, 21, 30, 0.4);
  --text-transparent-20: rgba(255, 245, 224, 0.2);
  --text-transparent-40: rgba(255, 245, 224, 0.4);
  --max-width: 1200px;
  /* Hauteur entre le bas des sections plein écran (Projets + À propos) et leur
     bloc texte. Augmenter = le texte remonte ; diminuer = il descend. */
  --project-text-bottom: 14vh;
  /* Dégradé sombre du hero : 1 = visible, 0 = masqué. */
  --hero-overlay-opacity: 0;
  /* Dégradés des sections plein écran (Projets + À propos) : 1 = visibles, 0 = masqués. */
  --overlay-opacity: 1;
  /* Espacements dans les blocs texte des sections Projets + À propos. */
  --space-eyebrow-title: 0.1875rem; /* sur-titre → titre (très serré) */
  --space-title-text: 0.675rem; /* titre → paragraphe, et entre deux paragraphes */
  --space-text-link: 0.9rem; /* paragraphe → lien « En savoir plus » */
  /* Phrase d'accroche de la page d'accueil. */
  --hero-quote-scale: 1.15; /* taille : 1 = taille d'origine, 1.2 = 20 % plus grand */
  --hero-quote-line-height: 1.26; /* interligne entre les deux lignes */
  --hero-text-width-tablet: 60vw; /* largeur du bloc de l'accroche sur iPad (768-1149px) */
  --text-transparent-60: rgba(255, 245, 224, 0.6); /* beige atténué (ligne Année · Matériel) */
  /* Pages catégories (fiches vidéo). */
  --portfolio-video-max-h: 65vh; /* hauteur maximale d'une vidéo, en % de la hauteur d'écran */
  --portfolio-row-gap: clamp(3.5rem, 9vh, 6.5rem); /* espace entre deux rangées de vidéos */
  --portfolio-section-gap: clamp(2.5rem, 6vh, 4rem); /* espace entre deux sections */
  --intro-max-width: none; /* largeur du texte d'intro : none = toute la largeur du site ; 52ch ≈ 65 caractères par ligne */
  --portfolio-intro-gap: 1.75rem; /* espace entre l'intro et la suite (première section ou bloc Services) */
  --portfolio-title-gap: 1.1rem; /* espace entre un titre de section / sous-section et ses vidéos */
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Raleway", sans-serif;
  font-weight: 300;
  font-variant-numeric: lining-nums;
  font-size: 1rem;
  line-height: 1.4;
}
h1,
h2,
h3 {
  color: var(--heading);
  font-weight: 700;
  margin: 0;
}
img,
video {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}

/* Un élément marqué « hidden » doit rester invisible, même si une autre règle
   lui donne un display (les champs du formulaire sont en display: flex). */
[hidden] {
  display: none !important;
}

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

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

.button {
  display: inline-block;
  background: var(--text);
  color: var(--bg);
  font-weight: 500;
  text-decoration: none;
  padding: 0.85em 1.8em;
  border-radius: 999px;
  border: none;
}

.heading__eyebrow {
  display: block;
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.5em;
  color: var(--text);
}
.heading__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin: 0 0 0.5em;
}
/* Titres qui doivent rester sur une seule ligne (drapeau `nowrap` des données).
   En dessous de 354px, « Expédition Pacifique » ne tient plus : on autorise le
   retour à la ligne plutôt que de le laisser couper. */
.heading__title--nowrap {
  white-space: nowrap;
}
@media (max-width: 353px) {
  .heading__title--nowrap {
    white-space: normal;
  }
}

/* ---------- En-tête ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem;
  transition: padding 0.3s ease, background-color 0.3s ease;
}
.site-header.is-scrolled {
  padding: 0.75rem 1.5rem;
  background: var(--bg-transparent-70);
  backdrop-filter: blur(10px);
}
.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.site-header__name {
  display: block;
  text-decoration: none;
  color: var(--text);
  text-align: center;
}
.site-header__name-text {
  display: block;
  font-size: 1.62rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.site-header__role {
  display: block;
  font-size: 0.84rem;
  /* 300 et non 200 : en 200 le mot devient illisible sur les passages clairs de
     la vidéo (lagon), et CLAUDE.md interdit les graisses très fines en petit sur vidéo. */
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1.4;
}
.site-header__toggle {
  display: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
}
.site-header__toggle-icon,
.site-header__toggle-icon::before,
.site-header__toggle-icon::after {
  content: "";
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--text);
  position: relative;
}
.site-header__toggle-icon::before {
  position: absolute;
  top: -6px;
}
.site-header__toggle-icon::after {
  position: absolute;
  top: 6px;
}
.site-menu {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border: 1px solid var(--text-transparent-20);
  border-radius: 999px;
  padding: 0.5rem 1.25rem;
}
.site-menu__list {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.site-menu__list a {
  text-decoration: none;
  font-size: 0.9rem;
}
.site-menu__lang {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  border-left: 1px solid var(--text-transparent-20);
  padding-left: 1.25rem;
}

/* Tablette / petit écran large : le nom centré chevaucherait la boîte du menu,
   on le cale donc à gauche (le menu reste à droite). */
@media (min-width: 768px) and (max-width: 1100px) {
  .site-header__inner {
    justify-content: flex-start;
  }
  .site-header__name {
    text-align: left;
  }
}

/* ---------- Sous-menu Portfolio ---------- */
.site-menu__item--has-sub {
  position: relative;
}
.site-menu__row {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.site-menu__sub-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  width: 0.9rem;
  height: 0.9rem;
  color: inherit;
}
.site-menu__chevron {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}
.site-menu__sub-toggle[aria-expanded="true"] .site-menu__chevron {
  transform: rotate(180deg);
}
.site-submenu {
  display: none;
}
.site-submenu.is-open {
  display: flex;
}

@media (min-width: 768px) {
  .site-submenu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 50%;
    transform: translateX(-50%);
    flex-direction: column;
    gap: 0.75rem;
    white-space: nowrap;
    background: var(--bg-transparent-70);
    backdrop-filter: blur(10px);
    border: 1px solid var(--text-transparent-20);
    border-radius: 1rem;
    padding: 0.85rem 1.25rem;
  }
  /* Passerelle invisible qui couvre le vide entre le menu et le sous-menu :
     sans elle, la souris « sort » du menu en descendant et le sous-menu se ferme. */
  .site-submenu::before {
    content: "";
    position: absolute;
    top: -0.75rem;
    left: 0;
    right: 0;
    height: 0.75rem;
  }
  /* Ouverture au survol et au focus clavier (le clic reste possible). */
  .site-menu__item--has-sub:hover .site-submenu,
  .site-menu__item--has-sub:focus-within .site-submenu {
    display: flex;
  }
}

@media (max-width: 767px) {
  .site-header__inner {
    justify-content: space-between;
  }
  .site-header__toggle {
    display: block;
    position: static;
    transform: none;
  }
  .site-menu {
    position: fixed;
    inset: 0;
    top: 0;
    border: none;
    border-radius: 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    transform: none;
    display: none;
  }
  .site-menu.is-open {
    display: flex;
  }
  .site-header__name {
    text-align: left;
  }
  .site-menu__list {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    font-size: 1.25rem;
  }
  .site-menu__item--has-sub {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  /* Le chevron sort du flux : « Portfolio » reste centré comme les autres entrées. */
  .site-menu__row {
    position: relative;
  }
  .site-menu__sub-toggle {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0.4rem;
  }
  .site-submenu.is-open {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
  }
  .site-menu__lang {
    margin-top: 2rem;
    border-left: none;
    padding-left: 0;
  }
}

/* ---------- Composant vidéo / image plein écran ---------- */
.media-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.media-video__poster,
.media-video__el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-video__el {
  opacity: 0;
  transition: opacity 0.4s ease;
}
.media-video__el.is-ready {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .media-video__el {
    display: none;
  }
}

/* ---------- Accueil : hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to right,
      rgba(15, 21, 30, 0.5) 0%,
      rgba(15, 21, 30, 0.22) 35%,
      transparent 62%
    ),
    linear-gradient(
      to top,
      var(--bg) 0%,
      rgba(15, 21, 30, 0.35) 45%,
      rgba(15, 21, 30, 0.15) 100%
    );
}
.hero__content {
  position: relative;
  width: 100%;
  padding: 0 1.5rem clamp(3.5rem, 9vh, 6rem) clamp(1.5rem, 6vw, 6rem);
  text-align: left;
}
.hero__text-block {
  max-width: min(50vw, 620px);
}
/* iPad : à 50 % de la largeur, « Je ne crée pas d'images. » passait sur 2 lignes. */
@media (min-width: 768px) and (max-width: 1149px) {
  .hero__text-block {
    max-width: var(--hero-text-width-tablet);
  }
}
.hero__quote {
  font-size: calc(clamp(1.5rem, 4vw, 2.75rem) * var(--hero-quote-scale));
  font-weight: 200;
  line-height: var(--hero-quote-line-height);
  color: var(--text);
  margin: 0;
}
.hero__quote-line {
  display: block;
}
.hero__scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;
  opacity: 0.6;
  animation: hero-scroll-bob 2s ease-in-out infinite;
}
.hero__scroll-hint svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--text);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@keyframes hero-scroll-bob {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__scroll-hint {
    animation: none;
  }
}
@media (max-width: 767px) {
  .hero__content {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-bottom: 3.5rem;
  }
  .hero__text-block {
    max-width: none;
  }
}

/* ---------- Sections plein écran alternées (catégories, à propos) ---------- */
.split-block {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
/* Dégradé ancré dans le coin bas où se trouve le texte, pas sur toute la
   largeur. Pour l'ajuster : 85%/75% = étendue du halo, les rgba = intensité. */
.split-block__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 100% 95% at 0% 100%,
    rgba(15, 21, 30, 0.85) 0%,
    rgba(15, 21, 30, 0.6) 45%,
    rgba(15, 21, 30, 0.25) 75%,
    transparent 100%
  );
}
.split-block--right .split-block__overlay {
  background: radial-gradient(
    ellipse 100% 95% at 100% 100%,
    rgba(15, 21, 30, 0.85) 0%,
    rgba(15, 21, 30, 0.6) 45%,
    rgba(15, 21, 30, 0.25) 75%,
    transparent 100%
  );
}
.split-block__content {
  position: relative;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
}
.split-block--right .split-block__content {
  justify-content: flex-end;
}
.split-block__text-block {
  max-width: 34rem;
}
.split-block__text {
  max-width: 42ch;
  font-weight: 300;
}
.link-more {
  display: inline-block;
  text-decoration: none;
  border-bottom: 1px solid var(--text-transparent-40);
  padding-bottom: 0.15em;
}

/* Espacements internes du bloc texte. Les marges natives des titres et
   paragraphes sont remises à zéro pour éviter les doublons : un seul écart
   est défini entre chaque paire d'éléments. */
.split-block__text-block > * {
  margin: 0;
}
.split-block__text-block .heading__eyebrow {
  margin-bottom: var(--space-eyebrow-title);
}
.split-block__text-block .heading__title {
  margin-bottom: var(--space-title-text);
}
.split-block__text-block .split-block__text + .split-block__text {
  margin-top: var(--space-title-text);
}
.split-block__text-block .link-more {
  margin-top: var(--space-text-link);
}

/* Sections plein écran (Projets + À propos) : bloc texte ancré dans le tiers
   inférieur. Ne s'applique pas au téléphone (le mobile garde ses propres règles). */
@media (min-width: 768px) {
  .split-block {
    align-items: flex-end;
  }
  .split-block__content {
    padding-bottom: var(--project-text-bottom);
  }

  /* Interrupteurs des dégradés sombres. */
  .hero__overlay {
    opacity: var(--hero-overlay-opacity);
  }
  .split-block__overlay {
    opacity: var(--overlay-opacity);
  }
}

@media (max-width: 767px) {
  .split-block {
    align-items: flex-end;
  }
  .split-block__overlay,
  .split-block--right .split-block__overlay {
    background: linear-gradient(
      to top,
      var(--bg) 0%,
      rgba(15, 21, 30, 0.35) 45%,
      transparent 100%
    );
  }
  .split-block__content,
  .split-block--right .split-block__content {
    max-width: none;
    padding: 0 1.25rem 3.5rem;
    justify-content: flex-start;
  }
  .split-block__text-block {
    max-width: none;
  }
}

/* ---------- Pages catégories ---------- */
.page-header {
  padding: 8rem 1.5rem var(--portfolio-intro-gap);
  max-width: var(--max-width);
  margin: 0 auto;
}

.corporate-info {
  max-width: var(--max-width);
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}
.corporate-info__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
.corporate-info__list li::before {
  content: "— ";
}

.page-header__intro {
  max-width: var(--intro-max-width);
  margin: 0.5rem 0 0;
}

/* ---------- Fiches vidéo des pages catégories ---------- */
.portfolio {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem 7rem;
}
.portfolio__section + .portfolio__section {
  margin-top: var(--portfolio-section-gap);
}
.portfolio__section-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin: 0 0 var(--portfolio-title-gap);
}
.portfolio__subsection {
  margin-top: var(--portfolio-row-gap);
}
.portfolio__subsection-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 var(--portfolio-title-gap);
}
.portfolio__subsection-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--text-transparent-20);
}
.portfolio__rows,
.portfolio__pair {
  display: flex;
  flex-direction: column;
  gap: var(--portfolio-row-gap);
}
.portfolio__soon {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--text-transparent-60);
}

/* Mobile et tablette : vidéo puis texte, empilés. */
.vcard {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.vcard__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.vcard--vertical .vcard__media {
  aspect-ratio: 9 / 16;
  width: min(260px, 100%);
}
.vcard__media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.vcard__play {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
}
.vcard__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vcard__play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  border: 1px solid var(--text-transparent-40);
  background: var(--bg-transparent-40);
  backdrop-filter: blur(4px);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}
.vcard__play-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  border-style: solid;
  border-width: 0.6rem 0 0.6rem 1rem;
  border-color: transparent transparent transparent var(--text);
  transform: translate(-50%, -50%);
}
.vcard__play:hover .vcard__play-icon,
.vcard__play:focus-visible .vcard__play-icon {
  transform: translate(-50%, -50%) scale(1.08);
}
.vcard__title {
  color: var(--heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}
.vcard__meta {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-transparent-60);
}
.vcard__comment {
  margin: 0;
  max-width: 46ch;
  /* Les retours à la ligne écrits dans la fiche JSON (\n) sont affichés. */
  white-space: pre-line;
}

/* Ordinateur et iPad paysage : vidéo et texte côte à côte. */
@media (min-width: 1024px) {
  .vcard--horizontal {
    display: grid;
    grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
    column-gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
  }
  .vcard--horizontal .vcard__media {
    width: min(100%, calc(var(--portfolio-video-max-h) * 16 / 9));
  }
  .vcard--horizontal.vcard--right {
    grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  }
  .vcard--horizontal.vcard--right .vcard__media {
    order: 2;
    justify-self: end;
  }
  .vcard--horizontal.vcard--right .vcard__text {
    order: 1;
  }
  /* Deux verticales par rangée ; une verticale seule reste dans la colonne de gauche. */
  .portfolio__pair {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(2rem, 4vw, 4rem);
  }
  /* Verticale seule sur sa rangée : son texte prend toute la largeur du site. */
  .portfolio__pair--single {
    grid-template-columns: minmax(0, 1fr);
  }
  .vcard--vertical {
    display: grid;
    grid-template-columns: min(55%, calc(var(--portfolio-video-max-h) * 9 / 16)) minmax(0, 1fr);
    column-gap: 1.5rem;
    align-items: center;
  }
  .vcard--vertical .vcard__media {
    width: 100%;
  }
}

/* ---------- Contact ---------- */
.text-page__cta {
  text-align: center;
  margin-top: 2.5rem;
}
/* Les retours à la ligne écrits dans les textes JSON (\n) sont affichés. */
.text-page__text {
  white-space: pre-line;
}
/* Date de mise à jour (page de confidentialité). */
.text-page__updated {
  font-size: 0.85rem;
  color: var(--text-transparent-60);
}
/* Sous-titre de rubrique dans une page de texte (ex. « Mon rapport à l'IA »). */
.text-page__subtitle {
  margin-top: 3rem;
}
/* L'invitation finale se détache de la rubrique qui la précède. */
.text-page__closing {
  margin-top: 2.5rem;
}
.text-page {
  max-width: 40rem;
  margin: 0 auto;
  padding: 9rem 1.5rem 5rem;
}
.contact-section {
  padding: 6rem 1.5rem;
}
.contact-section__inner {
  max-width: 40rem;
  margin: 0 auto;
}
.contact-page__intro {
  margin-bottom: 2rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.contact-form__field input,
.contact-form__field textarea {
  background: transparent;
  border: 1px solid var(--text-transparent-40);
  border-radius: 0.5rem;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75em 1em;
}
.contact-form button {
  align-self: flex-start;
}
/* Ligne « Vos données servent uniquement à vous répondre… » sous le bouton. */
.contact-form__privacy {
  margin: -0.5rem 0 0;
  font-size: 0.8rem;
  color: var(--text-transparent-60);
}
.contact-form__privacy a {
  color: inherit;
}
.contact-form__success,
.contact-form__error {
  color: var(--text);
}
.contact-form__honeypot {
  position: absolute;
  left: -9999px;
}

/* ---------- Pied de page ---------- */
.site-footer {
  border-top: 1px solid var(--text-transparent-20);
  padding: 2.5rem 1.5rem;
}
.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem 2rem;
  font-size: 0.9rem;
}
.site-footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}
.site-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  text-decoration: none;
}
.site-footer__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (min-width: 768px) {
  .site-footer__col {
    align-items: flex-end;
  }
}
/* Liens légaux : petite ligne centrée sous le pied de page, beige atténué. */
.site-footer__legal {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  max-width: var(--max-width);
  margin: 2rem auto 0;
  font-size: 0.8rem;
}
.site-footer__legal a {
  color: var(--text-transparent-60);
  text-decoration: none;
}
.site-footer__legal a:hover,
.site-footer__legal a:focus-visible {
  color: var(--text);
}
