/* ==========================================================================
   Oklahoma-Occitania – feuille de style
   ========================================================================== */

@font-face {
  font-family: "EB Garamond";
  src: url("fonts/ebgaramond.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "EB Garamond";
  src: url("fonts/ebgaramond-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Red Hat Display";
  src: url("fonts/redhatdisplay.woff2") format("woff2");
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #b3281f;
  --red-dark: #8c1f18;
  --ink: #1a1a1a;
  --muted: #5d5851;
  --sand: #f6f2ec;
  --line: #e3dcd2;
  --white: #fff;
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --display: "Red Hat Display", "Segoe UI", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 14px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  font-family: var(--serif);
  font-size: clamp(18px, 1.1vw + 14px, 21px);
  line-height: 1.65;
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--red);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--red-dark);
}

:focus-visible {
  outline: 3px solid #0b57d0;
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

.container {
  width: min(1000px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.btn,
.btn-contact {
  display: inline-block;
  background: var(--red);
  color: #fff;
  border: 2px solid var(--red);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  padding: 11px 22px;
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover,
.btn-contact:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff;
}

.btn-light {
  background: transparent;
  color: var(--red);
}

.btn-light:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.btn-small {
  font-size: 17px;
  padding: 9px 18px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 2.2em 0 0.5em;
  clear: both;
}

/* --------------------------------------------------------------------------
   En-tête / hero / navigation
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  height: 93vh;
  height: 93svh;
  min-height: 420px;
  background: url("images/fond.png") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(200, 200, 200, 0.28);
}

.hero--page {
  height: clamp(190px, 24vw, 280px);
  min-height: 0;
  background-position: center 38%;
}

.navbar {
  position: absolute;
  top: clamp(12px, 3vw, 36px);
  left: 50%;
  transform: translateX(-50%);
  width: min(1128px, calc(100% - clamp(24px, 5vw, 48px)));
  min-height: 75px;
  padding: 0 clamp(12px, 2vw, 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  border-radius: var(--radius);
  z-index: 20;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 70px;
  width: auto;
  display: block;
}

.nav-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 1.6vw, 24px);
  min-width: 0;
  align-self: stretch;
}

.menu {
  list-style: none;
  display: flex;
  align-items: stretch;
  justify-content: space-evenly;
  flex: 1;
  gap: clamp(6px, 1.2vw, 20px);
}

.menu > li {
  position: relative;
  display: flex;
  align-items: center;
}

.menu-link {
  color: var(--ink);
  text-decoration: none;
  font-size: clamp(16px, 1.55vw, 20px);
  font-weight: 700;
  white-space: nowrap;
}

.menu-link:hover,
.has-sub.is-current > .menu-link {
  color: var(--red);
}

.sub-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 36px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
}

.sub-toggle:hover {
  color: var(--red);
}

.chevron {
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s;
}

.has-sub.open > .sub-toggle .chevron {
  transform: rotate(-135deg) translate(-2px, 0);
}

.submenu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 290px;
  padding: 10px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  visibility: hidden;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  z-index: 30;
}

.menu > li:nth-last-child(-n + 2) .submenu {
  left: auto;
  right: -10px;
}

.submenu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.submenu a:hover,
.submenu a[aria-current="page"] {
  background: var(--sand);
  color: var(--red);
}

.has-sub.open > .submenu {
  visibility: visible;
  opacity: 1;
  transform: none;
}

@media (hover: hover) and (min-width: 1101px) {
  .has-sub:hover > .submenu {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .has-sub:hover > .sub-toggle .chevron {
    transform: rotate(-135deg) translate(-2px, 0);
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 18px);
}

.lang-switch {
  display: flex;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.lang-switch a,
.lang-switch .lang-current {
  padding: 6px 11px;
  text-decoration: none;
  line-height: 1.2;
}

.lang-switch a {
  color: var(--ink);
}

.lang-switch a:hover {
  background: var(--sand);
  color: var(--red);
}

.lang-switch .lang-current {
  background: var(--ink);
  color: #fff;
}

.btn-contact {
  font-size: clamp(16px, 1.45vw, 19px);
  padding: 9px 12px;
  border-radius: 0;
  white-space: nowrap;
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.burger span {
  width: 28px;
  height: 3px;
  background: #111;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}

.navbar.open .burger span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.navbar.open .burger span:nth-child(2) {
  opacity: 0;
}

.navbar.open .burger span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Tablette et mobile : menu burger */
@media (max-width: 1100px) {
  .burger {
    display: flex;
  }

  .nav-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 12px 20px 20px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-height: calc(100vh - 120px);
    max-height: calc(100svh - 120px);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }

  .navbar.open .nav-panel {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .menu {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
  }

  .menu > li {
    flex-wrap: wrap;
    border-bottom: 1px solid #e6e6e6;
  }

  .menu-link {
    flex: 1;
    font-size: 20px;
    padding: 14px 4px;
  }

  .sub-toggle {
    width: 48px;
    height: 48px;
  }

  .submenu {
    position: static;
    flex: 0 0 100%;
    display: none;
    min-width: 0;
    padding: 0 0 10px 12px;
    background: transparent;
    box-shadow: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .has-sub.open > .submenu {
    display: block;
  }

  .submenu a {
    font-size: 18px;
    padding: 9px 10px;
  }

  .nav-actions {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .btn-contact {
    flex: 1;
    min-width: 180px;
    font-size: 19px;
    padding: 13px 10px;
    border-radius: 4px;
  }

  .lang-switch {
    font-size: 15px;
  }

  .lang-switch a,
  .lang-switch .lang-current {
    padding: 10px 16px;
  }
}

@media (max-width: 600px) {
  .navbar {
    min-height: 64px;
  }

  .logo img {
    height: 54px;
  }

  .hero {
    background-position: 55% center;
  }
}

@media (max-width: 360px) {
  .logo img {
    height: 46px;
  }
}

/* --------------------------------------------------------------------------
   Pages intérieures
   -------------------------------------------------------------------------- */
.page {
  padding-bottom: clamp(40px, 6vw, 80px);
}

.breadcrumb {
  margin-top: 22px;
  font-size: 16px;
  color: var(--muted);
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 0;
}

.breadcrumb li + li::before {
  content: "›";
  margin: 0 8px;
  color: #aaa;
}

.breadcrumb a {
  color: var(--muted);
}

.page-title {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  font-size: clamp(26px, 4.4vw, 50px);
  line-height: 1.12;
  letter-spacing: 0.01em;
  margin: 18px 0 12px;
  text-wrap: balance;
}

.page-lead {
  text-align: center;
  font-style: italic;
  color: var(--muted);
  font-size: 1.12em;
  max-width: 44em;
  margin: 0 auto 26px;
  text-wrap: balance;
}

.subnav {
  margin: 0 0 clamp(28px, 4vw, 44px);
  text-align: center;
}

.subnav-title {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.subnav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.subnav a {
  display: block;
  padding: 5px 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

.subnav a:hover {
  border-color: var(--red);
  color: var(--red);
}

.subnav a[aria-current="page"] {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.prose {
  max-width: 920px;
  margin-inline: auto;
}

.prose::after,
.chief::after {
  content: "";
  display: block;
  clear: both;
}

.prose p,
.prose li {
  hyphens: auto;
  -webkit-hyphens: auto;
}

.prose p {
  margin-bottom: 1.1em;
}

@media (min-width: 700px) {
  .prose p {
    text-align: justify;
  }
}

.prose h2 {
  clear: both;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(21px, 2.4vw, 29px);
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin: 2.1em 0 0.7em;
  padding-bottom: 0.45em;
  position: relative;
  text-wrap: balance;
}

.prose h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  background: var(--red);
}

.prose > h2:first-child,
.prose > section:first-child > h2:first-child {
  margin-top: 0.2em;
}

.prose h3 {
  font-family: var(--display);
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.3;
  margin-bottom: 0.4em;
}

.prose strong {
  font-weight: 700;
}

.prose ul.plain,
.prose ol.plain {
  margin: 0 0 1.3em 1.3em;
}

.prose ul.plain li {
  margin-bottom: 0.35em;
}

.prose .subtitle {
  font-style: italic;
  color: var(--red);
  font-weight: 600;
  margin: -0.3em 0 1em;
  text-align: left;
}

.prose .emphasis {
  text-align: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.3em;
  line-height: 1.3;
  color: var(--red);
  margin: 1.6em 0 0.4em;
  clear: both;
}

.prose .small,
.small {
  font-size: 0.82em;
  color: var(--muted);
}

.center-text {
  text-align: center !important;
}

.prose address {
  font-style: normal;
}

blockquote {
  margin: 1.6em 0;
  padding: 18px 24px;
  background: var(--sand);
  border-left: 4px solid var(--red);
  border-radius: 0 10px 10px 0;
  font-style: italic;
  clear: both;
}

blockquote p {
  margin: 0 !important;
}

blockquote footer {
  margin-top: 8px;
  font-style: normal;
  font-size: 0.85em;
  color: var(--muted);
}

/* Illustrations */
.fig {
  margin: 0.3em 0 1.1em;
}

.fig img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  border-radius: 6px;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.14);
}

.fig figcaption {
  margin-top: 8px;
  font-size: 0.78em;
  line-height: 1.4;
  font-style: italic;
  color: var(--muted);
  text-align: left;
}

.fig-wide,
.fig-center {
  clear: both;
  margin: 1.6em auto;
}

.fig-wide img {
  width: 100%;
}

.fig-center {
  max-width: 460px;
}

@media (min-width: 760px) {
  .fig-right {
    float: right;
    width: min(36%, 320px);
    margin: 0.35em 0 1em 1.8em;
  }

  .fig-left {
    float: left;
    width: min(32%, 280px);
    margin: 0.35em 1.8em 1em 0;
  }

  .fig-small {
    float: left;
    width: 132px;
    margin: 0.35em 1.4em 0.8em 0;
  }

  .fig-right img,
  .fig-left img {
    width: 100%;
  }

  .fig-small img {
    width: 100%;
  }
}

@media (max-width: 759px) {
  .fig-right,
  .fig-left {
    max-width: 420px;
    margin: 1.4em auto;
  }

  .fig-small {
    display: inline-block;
    width: 120px;
    margin: 0.4em 1em 1em 0;
    vertical-align: top;
  }
}

/* Sections des chefs */
.chief {
  padding-top: 0.4em;
}

.chief + .chief {
  margin-top: 2.6em;
  padding-top: 2.2em;
  border-top: 1px solid var(--line);
}

.chief h2 {
  margin-top: 0;
}

/* Sommaire */
.toc {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 18px 24px;
  margin-bottom: 2.4em;
}

.toc ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 6px 24px;
}

.toc a {
  display: block;
  padding: 3px 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.toc a::before {
  content: "→ ";
  color: var(--red);
}

.toc a:hover {
  color: var(--red);
}

/* Cartes */
.cards {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 18px;
  margin: 0 0 1.6em;
}

.cards li {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  box-shadow: inset 0 4px 0 var(--red);
}

.cards h3,
.cards h4 {
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.25;
  text-transform: uppercase;
  margin-bottom: 0.6em;
}

.cards p {
  margin: 0 !important;
  text-align: left !important;
  font-size: 0.95em;
}

.cards-3 li {
  position: relative;
  padding-top: 36px;
}

.cards-3 .num {
  position: absolute;
  top: -20px;
  left: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  display: grid;
  place-items: center;
}

/* Frise chronologique */
.timeline {
  list-style: none;
  position: relative;
  margin: 0.5em 0 1.5em;
  padding-left: 100px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 76px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--line);
}

.timeline li {
  position: relative;
  margin-bottom: 1.1em;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 0.55em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px #fff;
}

.timeline .year {
  position: absolute;
  left: -100px;
  top: 0;
  width: 60px;
  text-align: right;
  font-family: var(--display);
  font-weight: 800;
  color: var(--red);
}

.timeline p {
  margin: 0 !important;
  text-align: left !important;
}

/* Conseil d'administration */
.people {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
  margin: 0 0 2em;
}

.people li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 22px 24px;
  background: var(--sand);
  border-radius: var(--radius);
  border-left: 4px solid var(--red);
}

.people .role {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

.people .name {
  font-size: 1.35em;
  font-weight: 600;
}

/* Adhésion */
.prices {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin: 1.6em 0 0.6em;
}

.price {
  min-width: 200px;
  padding: 22px 34px;
  text-align: center;
  background: var(--sand);
  border-radius: var(--radius);
  box-shadow: inset 0 4px 0 var(--red);
}

.price .amount {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.4em;
  line-height: 1.1;
  color: var(--red);
}

.price .label {
  text-transform: uppercase;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0 0 1.5em;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 1em 52px;
  min-height: 40px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  display: grid;
  place-items: center;
}

.postal {
  margin-top: 10px;
  padding: 14px 20px;
  display: block;
  width: fit-content;
  background: var(--sand);
  border-left: 4px solid var(--red);
  border-radius: 0 10px 10px 0;
  font-weight: 600;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

@media (min-width: 820px) {
  .contact-grid {
    grid-template-columns: 0.8fr 1.2fr;
  }
}

.contact-card,
.contact-form {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 26px;
}

.contact-card h2,
.contact-form h2 {
  margin-top: 0 !important;
}

.contact-card p {
  text-align: left !important;
}

.contact-form label {
  display: block;
  margin: 14px 0 0;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid #cfc7bb;
  border-radius: 8px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--red);
  outline: 3px solid rgba(179, 40, 31, 0.2);
}

.contact-form .btn {
  margin-top: 18px;
}

.form-status {
  margin-top: 12px;
  font-weight: 600;
  text-align: left !important;
}

/* Pages légales */
.page--legal .prose {
  max-width: 820px;
}

.page--legal .prose h2 {
  font-size: clamp(18px, 2vw, 23px);
}

.page--legal .prose p {
  text-align: left;
}

.table-wrap {
  overflow-x: auto;
  margin: 1.2em 0 1.4em;
  border: 1px solid var(--line);
  border-radius: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82em;
  line-height: 1.4;
  min-width: 720px;
}

th,
td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

th {
  background: var(--sand);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

code {
  background: var(--sand);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.88em;
}

mark.todo {
  background: #fff3a8;
  color: #6b4e00;
  padding: 0 4px;
  border-radius: 3px;
  font-style: normal;
}

/* Précédent / suivant */
.prevnext {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: clamp(36px, 5vw, 60px) auto 0;
  max-width: 920px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.prevnext a {
  display: flex;
  flex-direction: column;
  max-width: 48%;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.3;
}

.prevnext a span {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.prevnext .next {
  margin-left: auto;
  text-align: right;
}

.prevnext a:hover {
  color: var(--red);
}

.prevnext .prev span::before {
  content: "← ";
}

.prevnext .next span::after {
  content: " →";
}

/* Plan du site */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 10px 32px;
}

.sitemap-grid ul {
  list-style: none;
}

.sitemap-grid li {
  padding: 3px 0;
}

/* --------------------------------------------------------------------------
   Accueil : qui sommes-nous
   -------------------------------------------------------------------------- */
.intro {
  padding: clamp(48px, 8vw, 96px) 0 clamp(48px, 7vw, 90px);
}

.intro .page-title {
  margin-top: 0;
}

.kicker {
  text-align: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(14px, 1.4vw, 17px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 22px;
}

.lead-text {
  max-width: 860px;
  margin: 0 auto clamp(40px, 6vw, 70px);
  font-size: 1.12em;
  text-align: center;
  text-wrap: pretty;
}

.section-title {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  font-size: clamp(22px, 2.6vw, 30px);
  margin-bottom: 36px;
}

.intro .cards {
  margin-top: 8px;
}

.intro .cards p {
  hyphens: auto;
}

.tribute {
  margin: clamp(40px, 6vw, 70px) auto 0;
  max-width: 860px;
  padding: 28px clamp(22px, 4vw, 40px);
  background: var(--sand);
  border-radius: var(--radius);
  border-left: 5px solid var(--red);
}

.tribute h3 {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.3;
  margin-bottom: 12px;
}

.tribute p {
  hyphens: auto;
}

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.site-footer {
  flex-shrink: 0;
  background: var(--sand);
  border-top: 4px solid var(--red);
  font-size: 17px;
  line-height: 1.5;
}

.footer-main {
  width: min(1200px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  padding: clamp(36px, 5vw, 60px) 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px 28px;
}

@media (min-width: 640px) {
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1000px) {
  .footer-main {
    grid-template-columns: 1.5fr repeat(4, 1fr);
  }

  .footer-brand {
    grid-column: auto;
  }
}

.footer-logo img {
  height: 70px;
  width: auto;
  display: block;
  margin-bottom: 14px;
  mix-blend-mode: multiply;
}

.footer-brand p {
  max-width: 34em;
  margin-bottom: 18px;
}

.site-footer h2 {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}

.site-footer ul {
  list-style: none;
}

.site-footer li {
  margin-bottom: 6px;
}

.site-footer a {
  color: var(--ink);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--red);
  text-decoration: underline;
}

.site-footer .btn {
  color: #fff;
}

.site-footer .btn:hover {
  text-decoration: none;
}

.footer-contact {
  margin-bottom: 14px;
}

.footer-contact address {
  font-style: normal;
}

.footer-social {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
}

.footer-bottom {
  background: var(--ink);
  color: #e9e4dc;
  font-size: 15px;
}

.footer-bottom-inner {
  width: min(1200px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.legal-links li {
  margin: 0;
}

.footer-bottom a,
.link-button {
  color: #e9e4dc;
  text-decoration: none;
}

.footer-bottom a:hover,
.link-button:hover {
  color: #fff;
  text-decoration: underline;
}

.link-button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.hosted {
  opacity: 0.75;
}

/* --------------------------------------------------------------------------
   Bandeau cookies
   -------------------------------------------------------------------------- */
.cookie {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: min(390px, calc(100% - 32px));
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  font-size: 16px;
  line-height: 1.5;
  animation: cookie-in 0.35s ease-out;
}

.cookie[hidden] {
  display: none;
}

.cookie h2 {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.cookie p {
  margin-bottom: 14px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions .btn {
  flex: 1;
  font-size: 17px;
  padding: 9px 12px;
}

@keyframes cookie-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 520px) {
  .cookie {
    right: 16px;
    bottom: 16px;
  }
}

/* --------------------------------------------------------------------------
   Page 404
   -------------------------------------------------------------------------- */
.not-found {
  max-width: 560px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}

.not-found h1 {
  font-family: var(--display);
  font-size: 90px;
  color: var(--red);
  line-height: 1;
  margin: 20px 0;
}

.not-found p {
  margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   Accessibilité / impression
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .navbar,
  .cookie,
  .skip-link,
  .subnav,
  .prevnext,
  .site-footer .footer-main,
  .cta-row {
    display: none !important;
  }

  .hero {
    display: none;
  }

  body {
    font-size: 12pt;
  }
}
