/*
 * Itinemap — feuille de styles du site vitrine.
 * Encre profonde + jaune signature (#fddd2c). Aucune dépendance, aucun préprocesseur.
 */

/* ---------- Polices (auto-hébergées, licence OFL) ---------- */

@font-face {
  font-family: "Itinemap Text";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/text-latin.woff2?v=d740241675") 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: "Itinemap Text";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/text-latin-ext.woff2?v=ee0ebd2ef0") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Itinemap Display";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/assets/fonts/display-latin.woff2?v=9b03f9ffed") 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: "Itinemap Display";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/assets/fonts/display-latin-ext.woff2?v=98be87f64b") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

/* ---------- Jetons ---------- */

:root {
  --brand: #fddd2c;
  --brand-hover: #f5cf0b;
  --brand-soft: #fff6c7;

  --ink: #14161c;
  --ink-2: #1c1f27;
  --ink-line: rgba(255, 255, 255, 0.12);
  --on-ink: #f4f3ee;
  --on-ink-muted: #a7abb6;

  --bg: #ffffff;
  --surface: #f6f5f1;
  --text: #1a1d24;
  --muted: #5a606d;
  --line: #e6e4dd;
  --line-strong: #d3d0c6;

  --success: #1d7f47;
  --danger: #b4322a;

  --font-sans: "Itinemap Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Itinemap Display", "Itinemap Text", system-ui, sans-serif;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(20, 22, 28, 0.06);
  --shadow: 0 1px 2px rgba(20, 22, 28, 0.05), 0 8px 24px -12px rgba(20, 22, 28, 0.16);
  --shadow-lg: 0 24px 48px -24px rgba(20, 22, 28, 0.35);

  --container: 1200px;
  --gutter: 20px;
  --header-h: 72px;
  --section-y: 72px;
}

@media (min-width: 768px) {
  :root {
    --gutter: 32px;
    --section-y: 104px;
  }
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

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

html.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.section--dark :focus-visible,
.page-hero :focus-visible,
.hero :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--brand);
}

.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;
}

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

.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.icon-sm {
  width: 14px;
  height: 14px;
}
.icon-lg {
  width: 22px;
  height: 22px;
}

/* ---------- Boutons et liens ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease;
}
.btn .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.15s ease;
}
.btn:hover .icon:last-child {
  transform: translateX(2px);
}
.btn-sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 14px;
}
.btn-block {
  display: flex;
  width: 100%;
}
.btn-primary {
  background: var(--brand);
  color: var(--ink);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}
.btn-primary:hover {
  background: var(--brand-hover);
}
.btn-dark {
  background: var(--ink);
  color: var(--on-ink);
}
.btn-dark:hover {
  background: #262a34;
}
.btn-outline {
  border-color: var(--line-strong);
  background: var(--bg);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--ink);
}
.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--on-ink);
}
.btn-outline-light:hover {
  border-color: var(--on-ink);
  background: rgba(255, 255, 255, 0.06);
}
.btn-outline-dark {
  border-color: rgba(20, 22, 28, 0.3);
  color: var(--ink);
}
.btn-outline-dark:hover {
  border-color: var(--ink);
  background: rgba(20, 22, 28, 0.06);
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  font-weight: 600;
  border-bottom: 2px solid var(--brand);
  padding-bottom: 2px;
}
.text-link .icon {
  width: 16px;
  height: 16px;
}
.section--dark .text-link {
  color: var(--brand);
}

/* ---------- En-tête ---------- */

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--brand);
  color: var(--ink);
  font-weight: 600;
}
.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.header-logo .logo {
  width: auto;
  height: 52px;
}

.main-nav {
  display: none;
  margin-left: auto;
}
.main-nav ul {
  display: flex;
  gap: 2px;
}
.main-nav a {
  position: relative;
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.main-nav a:hover {
  color: var(--text);
}
.main-nav a[aria-current="page"] {
  color: var(--text);
}
.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -2px;
  height: 3px;
  border-radius: 3px;
  background: var(--brand);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.header-cta {
  display: none;
}

.menu-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  cursor: pointer;
}
.menu-toggle .icon {
  width: 20px;
  height: 20px;
}
.menu-toggle .icon-close,
.menu-toggle[aria-expanded="true"] .icon-open {
  display: none;
}
.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.lang-switch {
  position: relative;
}
.lang-switch summary {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  list-style: none;
}
.lang-switch summary::-webkit-details-marker {
  display: none;
}
.lang-switch summary:hover {
  color: var(--text);
  border-color: var(--line-strong);
}
.lang-switch summary .icon {
  width: 16px;
  height: 16px;
}
.lang-switch summary .icon-sm {
  width: 14px;
  height: 14px;
  transition: transform 0.15s ease;
}
.lang-switch[open] summary .icon-sm {
  transform: rotate(180deg);
}
.lang-switch ul {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 160px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow);
}
.lang-switch li a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
}
.lang-switch li a:hover {
  background: var(--surface);
}
.lang-switch li a[aria-current] {
  font-weight: 600;
  background: var(--brand-soft);
}
.lang-switch--desktop {
  display: none;
}

.mobile-nav {
  border-top: 1px solid var(--line);
  background: var(--bg);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.mobile-nav nav {
  display: grid;
  gap: 12px;
  padding-block: 16px 24px;
}
.mobile-nav ul:first-child a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 4px;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.mobile-nav a[aria-current="page"] {
  box-shadow: inset 3px 0 0 var(--brand);
  padding-left: 14px;
}
.mobile-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}
.mobile-langs a {
  display: block;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
}
.mobile-langs a[aria-current] {
  border-color: var(--ink);
  font-weight: 600;
}

@media (min-width: 640px) {
  .header-cta,
  .lang-switch--desktop {
    display: block;
  }
  .header-cta {
    display: inline-flex;
  }
  .mobile-langs {
    display: none;
  }
}

@media (min-width: 1080px) {
  .main-nav {
    display: block;
  }
  .header-actions {
    margin-left: 0;
  }
  .menu-toggle,
  .mobile-nav {
    display: none;
  }
}

@media (min-width: 1080px) and (max-width: 1239px) {
  .main-nav a {
    padding-inline: 9px;
    font-size: 14px;
  }
  .main-nav a[aria-current="page"]::after {
    left: 9px;
    right: 9px;
  }
  .header-bar {
    gap: 16px;
  }
}

/* ---------- Sections ---------- */

.section {
  padding-block: var(--section-y);
}
.section--surface {
  background: var(--surface);
}
.section--dark {
  background: var(--ink);
  color: var(--on-ink);
}
.section + .section:not(.section--surface):not(.section--dark):not(.section--cta) {
  border-top: 1px solid var(--line);
}
.section--surface + .section--surface {
  padding-top: 0;
}
.section--cta {
  padding-top: var(--section-y);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 3px;
  border-radius: 3px;
  background: var(--brand);
}
.section--dark .eyebrow,
.page-hero .eyebrow,
.hero .eyebrow {
  color: var(--brand);
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}
.section-title {
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
}
.section-subtitle {
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  white-space: pre-line;
}
.section--dark .section-subtitle {
  color: var(--on-ink-muted);
}
.split .section-head,
.contact-layout .section-head {
  margin-bottom: 0;
}

.h-lg {
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.75rem);
}
.h-md {
  font-size: 1.3rem;
}
.h-sm {
  font-size: 1.1rem;
  line-height: 1.3;
}

.prose-text {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.75;
}

.note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Grilles ---------- */

.grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .grid-auto {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

.split {
  display: grid;
  gap: 48px;
}
@media (min-width: 1024px) {
  .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 64px;
  }
  .split--center {
    align-items: center;
  }
}

.media-frame {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--surface);
}
.section--dark .media-frame,
.hero .media-frame {
  border-color: var(--ink-line);
}

/* ---------- Cartes ---------- */

.card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}
.card h3 {
  font-size: 1.15rem;
  line-height: 1.3;
}
.card > p,
.card dd {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.card--compact {
  padding: 20px 22px;
}
.card--link {
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}
.card--link:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.card--link:hover .card-more .icon {
  transform: translateX(3px);
}
.card--media {
  padding: 0 0 28px;
  overflow: hidden;
}
.card--media > :not(.card-media) {
  margin-inline: 28px;
}
.card-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.card-title-lg {
  font-size: 1.35rem;
}
.card-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  font-size: 14.5px;
  font-weight: 600;
}
.card-more .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.15s ease;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.brand-icon img {
  width: 36px;
  height: 36px;
}

.panel {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.panel--lg {
  padding: clamp(28px, 4vw, 48px);
  background: var(--bg);
  box-shadow: var(--shadow);
}
.panel--lg .btn {
  margin-top: 28px;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 650;
}

.label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Listes ---------- */

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.check-list li {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 15.5px;
}
.check-list .icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  padding: 3px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--ink);
  stroke-width: 3;
}
.section--dark .check-list li {
  color: var(--on-ink-muted);
}
.check-list--sm {
  gap: 10px;
  margin-top: 18px;
}
.check-list--sm li {
  font-size: 14.5px;
}
.check-list--sm .icon {
  width: 18px;
  height: 18px;
}
.check-list--lg {
  margin-top: 0;
  gap: 18px;
}
.check-list--lg li {
  font-size: 17px;
}

.dot-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14.5px;
}
.dot-list li {
  position: relative;
  padding-left: 18px;
}
.dot-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 1px rgba(20, 22, 28, 0.2);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}
.chips li {
  padding: 6px 12px;
  border: 1px solid var(--ink-line);
  border-radius: 6px;
  color: var(--on-ink-muted);
  font-size: 13px;
}

/* ---------- Héros ---------- */

.hero,
.page-hero {
  position: relative;
  background-color: var(--ink);
  background-image:
    radial-gradient(ellipse 60% 80% at 85% 0%, rgba(253, 221, 44, 0.12), transparent 70%),
    linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 100%);
  color: var(--on-ink);
}

.hero-grid {
  display: grid;
  gap: 48px;
  padding-block: 64px 56px;
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: 64px;
    padding-block: 96px 80px;
  }
}

.hero-title {
  font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.75rem);
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.hero-accent {
  color: var(--brand);
}
.hero-subtitle {
  max-width: 560px;
  margin-top: 24px;
  color: var(--on-ink-muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-stats {
  border-top: 1px solid var(--ink-line);
}
.stats-row {
  display: grid;
  gap: 28px;
  padding-block: 40px;
}
@media (min-width: 640px) {
  .stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .stats-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .stats-row > div + div {
    border-left: 1px solid var(--ink-line);
    padding-left: 28px;
  }
}
.stats-row dt {
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.stats-row dd {
  margin-top: 8px;
  color: var(--on-ink-muted);
  font-size: 14px;
  line-height: 1.5;
}

.page-hero .container {
  padding-block: 72px;
}
@media (min-width: 768px) {
  .page-hero .container {
    padding-block: 96px;
  }
}
.page-hero-title {
  max-width: 820px;
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.page-hero-subtitle {
  max-width: 680px;
  margin-top: 20px;
  margin-bottom: 32px;
  color: var(--on-ink-muted);
  font-size: 18px;
  line-height: 1.65;
}

/* ---------- Bandeau de références ---------- */

.proof {
  padding-block: 48px;
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.proof-title {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}
.proof-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px 40px;
  margin-top: 28px;
}
.proof-logos li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #3d424d;
  font-family: var(--font-display);
  font-weight: 600;
}

.client-logo {
  width: auto;
  max-width: 130px;
  height: 40px;
  object-fit: contain;
}
.client-monogram {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding-inline: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.1em;
}

/* ---------- Tableau comparatif ---------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}
.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 15px;
  text-align: left;
}
.compare-table th,
.compare-table td {
  padding: 16px 20px;
  vertical-align: top;
}
.compare-table thead th {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  font-size: 14px;
}
.compare-table tbody tr + tr {
  border-top: 1px solid var(--line);
}
.compare-table tbody th {
  width: 26%;
  font-weight: 600;
}
.compare-us {
  font-family: var(--font-display);
  font-size: 16px !important;
}
.compare-us,
.compare-table td:nth-child(2) {
  background: rgba(253, 221, 44, 0.08);
}
.compare-them {
  color: var(--muted);
}
.compare-cell {
  display: flex;
  gap: 10px;
}
.icon-yes {
  color: var(--success);
  margin-top: 3px;
  stroke-width: 2.5;
}
.icon-no {
  color: var(--danger);
  margin-top: 3px;
}

/* ---------- Chiffres clés ---------- */

.figures {
  margin-top: 0;
}
.figure {
  padding: 24px;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}
.figure dt {
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.figure dd {
  margin-top: 10px;
  color: var(--on-ink-muted);
  font-size: 14.5px;
  line-height: 1.55;
}
.figures--light {
  margin-top: 48px;
}
.figures--light .figure {
  border-color: var(--line);
  background: var(--bg);
}
.figures--light .figure dt {
  color: var(--text);
  font-size: 1.6rem;
  box-shadow: inset 0 -0.3em 0 var(--brand-soft);
  display: inline;
}
.figures--light .figure dd {
  color: var(--muted);
}

.seasons-grid {
  margin-top: 32px;
}

/* ---------- Témoignages ---------- */

.testimonial {
  position: relative;
}
.testimonial .flag {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 21px;
  height: 14px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.testimonial blockquote {
  padding-right: 32px;
  font-size: 15.5px;
  line-height: 1.7;
}
.testimonial figcaption {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  padding-top: 24px;
  font-size: 15px;
}
.testimonial-job {
  color: var(--muted);
  font-size: 13.5px;
}
.testimonial-role {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Appel à l'action final ---------- */

.cta-band {
  position: relative;
  display: grid;
  gap: 28px;
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background: var(--brand);
  color: var(--ink);
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 260px;
  height: 260px;
  background: url("/assets/img/icons/map.svg?v=cf13a4ccfd") center / contain no-repeat;
  opacity: 0.12;
  pointer-events: none;
}
@media (min-width: 1024px) {
  .cta-band {
    grid-template-columns: minmax(0, 1.3fr) auto;
    align-items: center;
    gap: 48px;
  }
}
.cta-band h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.4rem);
}
.cta-band p {
  max-width: 560px;
  margin-top: 12px;
  color: rgba(20, 22, 28, 0.78);
  font-size: 17px;
}
.cta-band-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Secteurs ---------- */

.sector-cover {
  aspect-ratio: 16 / 7;
  object-fit: cover;
  margin-bottom: 64px;
}

/* ---------- Vidéo ---------- */

.video-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--ink);
}
.section--dark .video-frame video {
  border-color: var(--ink-line);
}
.video-frame figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}
.section--dark .video-frame figcaption {
  color: var(--on-ink-muted);
}
.video-about {
  margin-top: 64px;
}

/* ---------- Données ---------- */

.feature-list {
  display: grid;
  gap: 28px;
}
@media (min-width: 768px) {
  .feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 48px;
  }
}
.feature-list li {
  display: flex;
  gap: 16px;
}
.feature-list .icon {
  color: var(--brand);
  margin-top: 2px;
}
.feature-list h3 {
  font-size: 1.05rem;
}
.feature-list p {
  margin-top: 6px;
  color: var(--on-ink-muted);
  font-size: 15px;
}

/* ---------- Références ---------- */

.client-card .client-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}
.client-card h3 {
  font-size: 1.25rem;
}
.client-place {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.client-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  margin-top: 10px;
  padding: 16px;
  border-radius: 8px;
  background: var(--surface);
}
.client-stats dt {
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.client-stats dd {
  margin-top: 2px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
}
.client-highlights {
  flex: 1;
  align-content: start;
}
.client-licence {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* ---------- Tarifs ---------- */

.billing-toggle {
  display: flex;
  width: fit-content;
  margin: -16px auto 40px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
}
.billing-toggle[hidden] {
  display: none;
}
.billing-toggle button {
  min-height: 42px;
  padding: 8px 18px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
}
.billing-toggle button:hover {
  color: var(--text);
}
.billing-toggle button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--on-ink);
}

.tiers {
  align-items: stretch;
}
.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}
.tier--explorer {
  border: 2px solid var(--brand);
  box-shadow: var(--shadow);
}
.tier--pioneer {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--on-ink);
}
.tier--pioneer .tier-for,
.tier--pioneer .price-struck,
.tier--pioneer .price-label,
.tier--pioneer .price-unit,
.tier--pioneer .check-list li {
  color: var(--on-ink-muted);
}
.tier--pioneer .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--on-ink);
}
.tier--pioneer .btn-outline:hover {
  border-color: var(--on-ink);
}
.tier-name {
  font-size: 1.9rem;
}
.tier-for {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14.5px;
}
.tier-pitch {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 500;
}
.tier-price {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.tier--pioneer .tier-price {
  border-color: var(--ink-line);
}
.tier-price[hidden] {
  display: none;
}
.price-struck {
  display: block;
  color: var(--muted);
  font-size: 16px;
}
.price-label {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.price-line {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 6px;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}
.price-currency {
  align-self: flex-start;
  padding-top: 4px;
  font-size: 1.25rem;
  font-weight: 600;
}
.price-unit {
  color: var(--muted);
  font-size: 16px;
}
.tier-features {
  flex: 1;
  align-content: start;
  margin-top: 28px;
}
.tier .btn {
  margin-top: 32px;
}

.option-name {
  font-size: 15px;
  font-weight: 600;
}
.option-price {
  margin-top: 10px !important;
  color: var(--text) !important;
  font-family: var(--font-display);
  font-size: 1.15rem !important;
  font-weight: 650;
}

/* ---------- À propos ---------- */

.quote-panel {
  padding: 32px;
  border: 1px solid var(--ink-line);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}
.quote-panel blockquote {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.6;
}
.quote-panel figcaption {
  margin-top: 20px;
  color: var(--brand);
  font-size: 14.5px;
  font-weight: 600;
}

.credentials {
  gap: 40px 64px;
}
.badge-grid {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
@media (min-width: 480px) {
  .badge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.badge-grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  text-align: center;
}
.badge-grid img {
  width: 100%;
  max-width: 120px;
  height: 44px;
  object-fit: contain;
}
.badge-grid span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.recognition li {
  display: flex;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 15px;
}
.recognition .icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--text);
}

.timeline {
  position: relative;
  max-width: 760px;
  margin-left: 8px;
  padding-left: 32px;
  border-left: 2px solid var(--line-strong);
}
.timeline::before {
  content: "";
  position: absolute;
  left: -2px;
  top: -40px;
  height: 40px;
  border-left: 2px dashed var(--line-strong);
}
.timeline-item {
  position: relative;
  padding-bottom: 36px;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -41px;
  top: 4px;
  width: 16px;
  height: 16px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--muted);
}
.timeline-item--next::before {
  background: var(--brand);
  box-shadow: 0 0 0 2px var(--ink);
}
.timeline-date {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.timeline h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  font-size: 1.15rem;
}
.timeline-done {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
}
.timeline-done .icon {
  width: 12px;
  height: 12px;
  stroke-width: 3;
}
.timeline-item > p:last-child {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

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

.faq-groups {
  display: grid;
  gap: 56px;
  max-width: 880px;
}
.accordion {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
}
.accordion details + details {
  border-top: 1px solid var(--line);
}
.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 60px;
  padding: 16px 24px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.accordion summary::-webkit-details-marker {
  display: none;
}
.accordion summary:hover {
  background: var(--surface);
}
.accordion-sign {
  position: relative;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}
.accordion-sign::before,
.accordion-sign::after {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s ease;
}
.accordion-sign::after {
  transform: rotate(90deg);
}
.accordion details[open] .accordion-sign::after {
  transform: rotate(0deg);
}
.accordion details > p {
  padding: 0 56px 22px 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

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

.contact-layout {
  display: grid;
  gap: 48px;
}
@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 64px;
    align-items: start;
  }
}
.contact-layout h1 {
  font-size: clamp(1.9rem, 1.3rem + 2vw, 2.6rem);
}

.contact-form {
  position: relative;
  display: grid;
  gap: 20px;
  margin-top: 40px;
}
@media (min-width: 640px) {
  .contact-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .field--full {
    grid-column: 1 / -1;
  }
}
.field {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--bg);
  font-size: 15px;
  font-weight: 400;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.field textarea {
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(253, 221, 44, 0.55);
}
.honeypot {
  position: absolute;
  left: -10000px;
}
.form-footer .btn {
  min-width: 220px;
}
.form-success {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-weight: 500;
}
.form-success[hidden],
.form-error[hidden] {
  display: none;
}
.form-success-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand);
}
.form-success-icon .icon {
  width: 16px;
  height: 16px;
  stroke-width: 3;
}
.form-error {
  margin-top: 16px;
  color: var(--danger);
  font-weight: 500;
}

.contact-aside {
  padding: 32px;
}
.contact-aside .check-list {
  margin-top: 0;
}
.contact-stats {
  display: grid;
  gap: 22px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.contact-stats dt {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.contact-stats dd {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13.5px;
}

/* ---------- Mentions légales ---------- */

.legal {
  display: grid;
  gap: 40px;
  max-width: 760px;
}
.legal-note {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  font-size: 14.5px;
}
.legal h2 {
  font-size: 1.3rem;
}
.legal p,
.legal ul {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.legal ul {
  padding-left: 20px;
  list-style: disc;
}
.legal li + li {
  margin-top: 6px;
}

/* ---------- Pages d'erreur ---------- */

.error-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 960px) {
  .error-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 64px;
  }
}

.error-sign-fr {
  color: var(--on-ink-muted);
  font-size: 12px;
}

/* Traduction française, en retrait sous le texte anglais. */
.error-fr {
  margin-top: 20px;
  padding-left: 16px;
  border-left: 3px solid var(--brand);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.error-fr-title {
  margin-bottom: 4px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 650;
}
.btn-fr {
  font-weight: 500;
  opacity: 0.7;
}
.btn-fr::before {
  content: "· ";
}

/* Code d'erreur façon panneau de randonnée, pointé vers l'accueil. */
.error-sign {
  display: inline-flex;
  align-items: stretch;
  margin-bottom: 24px;
  filter: drop-shadow(0 6px 10px rgba(20, 22, 28, 0.18));
}
.error-sign-code,
.error-sign-tag {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1;
}
.error-sign-code {
  padding: 14px 18px 14px 34px;
  background: var(--brand);
  color: var(--ink);
  font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  clip-path: polygon(20px 0, 100% 0, 100% 100%, 20px 100%, 0 50%);
}
.error-sign-tag {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  padding: 0 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--ink);
  color: var(--on-ink);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.error-routes {
  margin-top: 40px;
  max-width: 420px;
}
.error-routes-title {
  margin-bottom: 8px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.error-routes li + li {
  border-top: 1px dashed var(--line-strong);
}
.error-routes li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 2px;
}
.error-routes a {
  font-weight: 600;
}
.error-routes a:hover {
  text-decoration: underline;
  text-decoration-color: var(--brand);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}
.error-routes .error-routes-fr {
  color: var(--muted);
  font-weight: 500;
}

.error-map {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.em-bg {
  fill: #eef1e6;
}
.em-contours path {
  fill: rgba(170, 160, 120, 0.08);
  stroke: #b9b394;
  stroke-width: 1.2;
}
.em-river {
  fill: none;
  stroke: #8fc3e0;
  stroke-width: 5;
  stroke-linecap: round;
}
.em-lift path {
  stroke: var(--ink);
  stroke-width: 1.5;
}
.em-lift circle {
  fill: var(--ink);
}
.em-trail {
  fill: none;
  stroke: var(--danger);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 2 10;
  animation: em-walk 1.2s linear infinite;
}
.em-trail--faded {
  opacity: 0.35;
}
@keyframes em-walk {
  to {
    stroke-dashoffset: -24;
  }
}
@media (prefers-reduced-motion: reduce) {
  .em-trail {
    animation: none;
  }
}
.em-start {
  fill: var(--bg);
  stroke: var(--ink);
  stroke-width: 3;
}
.em-start-dot {
  fill: var(--ink);
}
.em-label {
  fill: var(--ink);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  paint-order: stroke;
  stroke: #eef1e6;
  stroke-width: 5px;
  stroke-linejoin: round;
}
.em-label--here {
  text-anchor: middle;
}
.em-label--fr {
  fill: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.em-marker {
  stroke: var(--ink);
  stroke-width: 2.5;
}
.em-marker--brand {
  fill: var(--brand);
}
.em-marker--danger {
  fill: var(--danger);
}
.em-marker--ink {
  fill: var(--ink);
}
.em-marker--ghost {
  fill: var(--bg);
  stroke-dasharray: 4 4;
}
.em-marker-glyph {
  fill: var(--ink);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  text-anchor: middle;
}
.em-marker-stroke {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.5;
  stroke-linecap: round;
}
.em-marker-stroke--light {
  stroke: var(--on-ink);
}
.em-compass circle {
  fill: var(--bg);
  stroke: #b9b394;
}
.em-compass path {
  fill: #b9b394;
}
.em-compass .em-compass-n {
  fill: var(--danger);
}
.em-compass text {
  fill: var(--muted);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-anchor: middle;
}

.error-pitch {
  margin-top: 24px;
  padding: 24px;
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  font-size: 15px;
}
.error-pitch .eyebrow {
  margin-bottom: 8px;
}
.error-pitch-fr {
  margin-top: 8px;
  font-style: italic;
}
.error-pitch-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 16px;
}
.error-pitch-links a {
  color: var(--text);
  font-weight: 600;
  border-bottom: 1px solid var(--line-strong);
}
.error-pitch-links a:first-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 2px solid var(--brand);
}

/* ---------- Pied de page ---------- */

.site-footer {
  margin-top: var(--section-y);
  background: var(--ink);
  color: var(--on-ink-muted);
}
.footer-grid {
  display: grid;
  gap: 40px;
  padding-block: 64px;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
  }
}
.footer-brand .logo {
  width: auto;
  height: 88px;
  margin-left: -6px;
}
.footer-tagline {
  max-width: 400px;
  margin-top: 20px;
  font-size: 15px;
}
.footer-note {
  max-width: 400px;
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.6;
}
.footer-title {
  color: var(--on-ink);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-links {
  margin-top: 12px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  font-size: 15px;
  transition: color 0.15s ease;
}
.footer-links a:hover,
.footer-legal a:hover,
.footer-legal button:hover {
  color: var(--brand);
}
.footer-bottom {
  border-top: 1px solid var(--ink-line);
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-block: 20px;
  font-size: 13px;
}
@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.footer-legal button {
  padding: 0;
  border: 0;
  background: none;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
}

/* Pas de pied de page décalé après le bandeau d'appel à l'action. */
main > .section--cta:last-child {
  padding-bottom: var(--section-y);
}
main:has(> .section--cta:last-child) + .site-footer {
  margin-top: 0;
}

/* ---------- Bandeau de consentement (tarteaucitron) ---------- */

#tarteaucitronRoot,
#tarteaucitronRoot button,
#tarteaucitronRoot span,
#tarteaucitronRoot a {
  font-family: var(--font-sans) !important;
}
#tarteaucitronRoot div#tarteaucitronAlertBig {
  padding: 16px 24px !important;
  background: var(--ink) !important;
  color: var(--on-ink) !important;
  border-top: 1px solid var(--ink-line);
}
#tarteaucitronRoot #tarteaucitronDisclaimerAlert {
  color: var(--on-ink) !important;
  font-size: 14px !important;
}
#tarteaucitronRoot #tarteaucitronAlertBig button,
#tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronPrivacyUrl {
  min-height: 38px;
  padding: 6px 14px !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}
#tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronPersonalize2,
#tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronAllDenied2 {
  background: var(--brand) !important;
  color: var(--ink) !important;
}
#tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronCloseAlert,
#tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronPrivacyUrl {
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  background: transparent !important;
  color: var(--on-ink) !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
