:root {
  --encre: #1b2d52;
  --ivoire: #f7f4ef;
  --ambre: #b8922a;
  --ardoise: #455268;
  --brume: #e8e3dc;
  --blanc: #ffffff;
  --transition: 200ms ease;
  --police-titre: Georgia, 'Times New Roman', serif;
  --police-corps: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --largeur-max: 1160px;
  --rayon: 4px;
  --espace-xs: 0.5rem;
  --espace-s: 0.875rem;
  --espace-m: 1.5rem;
  --espace-l: 3rem;
  --espace-xl: 5rem;
  --espace-xxl: 8rem;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--police-corps);
  background-color: var(--ivoire);
  color: var(--encre);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ambre);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--ambre);
  outline-offset: 3px;
  border-radius: 2px;
}

.conteneur {
  max-width: var(--largeur-max);
  margin-inline: auto;
  padding-inline: var(--espace-m);
}

/* ============================
   EN-TÊTE
   ============================ */

.en-tete {
  position: sticky;
  top: 0;
  z-index: 200;
  background-color: var(--blanc);
  border-bottom: 2px solid var(--ambre);
}

.en-tete-interieur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--espace-m);
  padding-block: 1.1rem;
}

.nom-marque {
  font-family: var(--police-titre);
  font-size: 1.45rem;
  font-weight: normal;
  color: var(--encre);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.nom-marque:hover {
  color: var(--ambre);
  text-decoration: none;
}

.nav-principale {
  display: flex;
  list-style: none;
  gap: 0;
  align-items: center;
}

.nav-principale li a {
  display: block;
  padding: 0.5rem var(--espace-s);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ardoise);
  transition: color var(--transition);
}

.nav-principale li a:hover,
.nav-principale li a[aria-current="page"] {
  color: var(--ambre);
  text-decoration: none;
}

.nav-principale li a[aria-current="page"] {
  border-bottom: 2px solid var(--ambre);
}

/* ============================
   SECTION HÉROS
   ============================ */

.heros {
  padding-block: var(--espace-xxl) var(--espace-xl);
  background-color: var(--ivoire);
  overflow: hidden;
}

.heros-disposition {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: var(--espace-xl);
  align-items: center;
}

.heros-texte {}

.etiquette-section {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ambre);
  border-left: 3px solid var(--ambre);
  padding-left: 0.75rem;
  margin-bottom: var(--espace-m);
}

h1 {
  font-family: var(--police-titre);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.15;
  color: var(--encre);
  font-weight: normal;
  margin-bottom: var(--espace-m);
}

.intro-principale {
  font-size: 1.1rem;
  color: var(--ardoise);
  max-width: 52ch;
  margin-bottom: var(--espace-l);
  line-height: 1.75;
}

.groupe-boutons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--espace-s);
  align-items: center;
}

.btn-premier {
  display: inline-block;
  background-color: var(--encre);
  color: var(--blanc);
  padding: 0.9rem 1.8rem;
  border-radius: var(--rayon);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background-color var(--transition);
}

.btn-premier:hover {
  background-color: var(--ambre);
  text-decoration: none;
  color: var(--blanc);
}

.btn-deuxieme {
  display: inline-block;
  color: var(--encre);
  padding: 0.9rem 1.8rem;
  border-radius: var(--rayon);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1.5px solid var(--brume);
  transition: border-color var(--transition), color var(--transition);
}

.btn-deuxieme:hover {
  border-color: var(--ambre);
  color: var(--ambre);
  text-decoration: none;
}

.zone-visuel {
  position: relative;
}

.illustration-principale {
  width: 100%;
  border-radius: var(--rayon);
  border: 1px solid var(--brume);
}

/* ============================
   SECTIONS GÉNÉRALES
   ============================ */

.section-standard {
  padding-block: var(--espace-xl);
}

.section-blanche {
  background-color: var(--blanc);
}

.section-ivoire {
  background-color: var(--ivoire);
}

.section-sombre {
  background-color: var(--encre);
  color: var(--blanc);
}

.section-brume {
  background-color: var(--brume);
}

.en-tete-rubrique {
  margin-bottom: var(--espace-l);
}

.en-tete-rubrique.centre {
  text-align: center;
}

.en-tete-rubrique.centre .sous-titre-rubrique {
  margin-inline: auto;
}

h2 {
  font-family: var(--police-titre);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: normal;
  color: var(--encre);
  margin-bottom: 0.75rem;
  line-height: 1.22;
}

.section-sombre h2 {
  color: var(--blanc);
}

.sous-titre-rubrique {
  font-size: 1rem;
  color: var(--ardoise);
  max-width: 62ch;
  line-height: 1.7;
}

.section-sombre .sous-titre-rubrique {
  color: rgba(255, 255, 255, 0.72);
}

.section-sombre .etiquette-section {
  color: var(--ambre);
  border-color: var(--ambre);
}

h3 {
  font-family: var(--police-titre);
  font-size: 1.2rem;
  font-weight: normal;
  color: var(--encre);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.section-sombre h3 {
  color: var(--blanc);
}

/* ============================
   GRILLE DE CARTES
   ============================ */

.grille-modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--espace-m);
}

.module {
  background-color: var(--blanc);
  border: 1.5px solid var(--brume);
  padding: var(--espace-l) var(--espace-m);
  border-radius: var(--rayon);
  position: relative;
  overflow: hidden;
}

.module::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--ambre);
}

.numero-module {
  font-family: var(--police-titre);
  font-size: 2.8rem;
  color: var(--brume);
  line-height: 1;
  margin-bottom: var(--espace-s);
  display: block;
}

.titre-module {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}

.texte-module {
  font-size: 0.94rem;
  color: var(--ardoise);
  line-height: 1.68;
}

/* ============================
   DISPOSITION BICOLORE
   ============================ */

.disposition-bicolore {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--espace-xl);
  align-items: center;
}

.disposition-bicolore.droite-premiere {
  direction: rtl;
}

.disposition-bicolore.droite-premiere > * {
  direction: ltr;
}

.bloc-contenu-texte p {
  color: var(--ardoise);
  margin-bottom: var(--espace-m);
  font-size: 0.97rem;
}

.bloc-contenu-texte ul {
  list-style: none;
  padding: 0;
  margin-bottom: var(--espace-m);
}

.bloc-contenu-texte ul li {
  padding-left: 1.6rem;
  position: relative;
  color: var(--ardoise);
  margin-bottom: 0.65rem;
  font-size: 0.94rem;
}

.bloc-contenu-texte ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--ambre);
}

.cadre-visuel {
  background-color: var(--brume);
  border-radius: var(--rayon);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(27, 45, 82, 0.08);
}

.cadre-visuel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================
   PANNEAU SOMBRE / CTA
   ============================ */

.panneau-exploration {
  padding-block: var(--espace-xl);
}

.grille-destinations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--espace-m);
  margin-top: var(--espace-l);
}

.destination {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: var(--espace-m);
  border-radius: var(--rayon);
  transition: border-color var(--transition), background-color var(--transition);
}

.destination:hover {
  border-color: var(--ambre);
  background-color: rgba(255, 255, 255, 0.05);
  text-decoration: none;
}

.destination-titre {
  font-family: var(--police-titre);
  font-size: 1.1rem;
  color: var(--blanc);
  display: block;
  margin-bottom: 0.5rem;
}

.destination-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.62);
  display: block;
}

.destination-fleche {
  display: block;
  color: var(--ambre);
  margin-top: var(--espace-s);
  font-size: 1.1rem;
}

/* ============================
   BANDEAU CTA
   ============================ */

.bandeau-appel {
  background-color: var(--encre);
  padding-block: var(--espace-xl);
  text-align: center;
}

.bandeau-appel h2 {
  color: var(--blanc);
  margin-bottom: var(--espace-s);
}

.bandeau-appel p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: var(--espace-l);
  max-width: 52ch;
  margin-inline: auto;
}

.bandeau-appel .btn-premier {
  background-color: var(--ambre);
}

.bandeau-appel .btn-premier:hover {
  background-color: var(--blanc);
  color: var(--encre);
}

/* ============================
   PIED DE PAGE
   ============================ */

.pied-page {
  background-color: var(--encre);
  color: rgba(255, 255, 255, 0.72);
  padding-block: var(--espace-xl) var(--espace-l);
  border-top: 3px solid var(--ambre);
}

.pied-disposition {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--espace-l);
  margin-bottom: var(--espace-xl);
}

.pied-marque .nom-marque {
  color: var(--blanc);
  display: inline-block;
  margin-bottom: var(--espace-s);
}

.pied-marque .nom-marque:hover {
  color: var(--ambre);
}

.pied-description {
  font-size: 0.88rem;
  line-height: 1.65;
  margin-top: var(--espace-xs);
}

.pied-coordonnees {
  margin-top: var(--espace-m);
  font-size: 0.85rem;
  line-height: 1.8;
}

.pied-coordonnees a {
  color: rgba(255, 255, 255, 0.72);
}

.pied-coordonnees a:hover {
  color: var(--ambre);
  text-decoration: none;
}

.pied-colonne h4 {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ambre);
  margin-bottom: var(--espace-s);
  font-family: var(--police-corps);
  font-weight: 700;
}

.pied-liste {
  list-style: none;
  padding: 0;
}

.pied-liste li {
  margin-bottom: 0.55rem;
}

.pied-liste a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.62);
  transition: color var(--transition);
}

.pied-liste a:hover {
  color: var(--ambre);
  text-decoration: none;
}

.pied-bas {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--espace-m);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.38);
}

/* ============================
   BANDEAU DE PAGE INTÉRIEURE
   ============================ */

.bandeau-page {
  background-color: var(--encre);
  padding-block: var(--espace-xl) var(--espace-l);
  color: var(--blanc);
}

.bandeau-page .etiquette-section {
  color: rgba(184, 146, 42, 0.9);
  border-color: rgba(184, 146, 42, 0.9);
}

.bandeau-page h1 {
  color: var(--blanc);
  margin-bottom: var(--espace-s);
}

.chapeau-page {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 62ch;
  line-height: 1.72;
}

/* ============================
   FAQ
   ============================ */

.liste-questions {
  list-style: none;
  padding: 0;
}

.element-question {
  border-bottom: 1px solid var(--brume);
  padding-block: var(--espace-m);
}

.element-question:first-child {
  border-top: 1px solid var(--brume);
}

.texte-question {
  font-family: var(--police-titre);
  font-size: 1.05rem;
  color: var(--encre);
  margin-bottom: 0.65rem;
}

.texte-reponse {
  font-size: 0.94rem;
  color: var(--ardoise);
  max-width: 72ch;
  line-height: 1.72;
}

/* ============================
   ÉTAPES
   ============================ */

.liste-etapes {
  list-style: none;
  padding: 0;
}

.etape {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: var(--espace-m);
  margin-bottom: var(--espace-l);
  align-items: start;
}

.etape:last-child {
  margin-bottom: 0;
}

.pastille-etape {
  width: 3.2rem;
  height: 3.2rem;
  background-color: var(--ambre);
  color: var(--blanc);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--police-titre);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contenu-etape h3 {
  margin-bottom: 0.4rem;
}

.contenu-etape p {
  font-size: 0.94rem;
  color: var(--ardoise);
}

/* ============================
   FORMULAIRE DE CONTACT
   ============================ */

.disposition-contact {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--espace-xl);
  align-items: start;
}

.formulaire-envoi h2 {
  margin-bottom: var(--espace-l);
}

.champ-groupe {
  margin-bottom: var(--espace-m);
}

.champ-groupe label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ardoise);
  margin-bottom: 0.4rem;
}

.champ-groupe input,
.champ-groupe select,
.champ-groupe textarea {
  width: 100%;
  padding: 0.8rem var(--espace-s);
  border: 1.5px solid var(--brume);
  border-radius: var(--rayon);
  font-family: var(--police-corps);
  font-size: 1rem;
  color: var(--encre);
  background-color: var(--blanc);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.champ-groupe input:focus,
.champ-groupe select:focus,
.champ-groupe textarea:focus {
  outline: none;
  border-color: var(--ambre);
  box-shadow: 0 0 0 3px rgba(184, 146, 42, 0.14);
}

.champ-groupe textarea {
  min-height: 150px;
  resize: vertical;
}

.champ-groupe select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath fill='%23455268' d='M1 1l7 7 7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 12px;
  padding-right: 2.5rem;
  cursor: pointer;
}

.note-validation {
  font-size: 0.78rem;
  color: var(--ardoise);
  margin-top: 0.3rem;
  opacity: 0.8;
}

.btn-envoyer {
  display: block;
  width: 100%;
  background-color: var(--ambre);
  color: var(--blanc);
  padding: 0.95rem 2rem;
  border-radius: var(--rayon);
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-family: var(--police-corps);
  letter-spacing: 0.03em;
  transition: background-color var(--transition);
  margin-top: var(--espace-m);
}

.btn-envoyer:hover {
  background-color: var(--encre);
}

.btn-envoyer:focus-visible {
  outline: 2px solid var(--ambre);
  outline-offset: 3px;
}

.panneau-coordonnees {}

.encart-info {
  background-color: var(--blanc);
  border: 1.5px solid var(--brume);
  border-radius: var(--rayon);
  padding: var(--espace-l) var(--espace-m);
  margin-bottom: var(--espace-m);
}

.encart-info h3 {
  margin-bottom: var(--espace-m);
  border-bottom: 1px solid var(--brume);
  padding-bottom: var(--espace-s);
}

.ligne-coordonnee {
  display: flex;
  gap: var(--espace-s);
  align-items: flex-start;
  margin-bottom: 0.75rem;
  font-size: 0.93rem;
}

.ligne-coordonnee strong {
  color: var(--encre);
  min-width: 5.5rem;
  flex-shrink: 0;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-top: 0.1rem;
}

.ligne-coordonnee span,
.ligne-coordonnee a {
  color: var(--ardoise);
}

.nota-formulaire {
  margin-top: var(--espace-s);
  font-size: 0.85rem;
  color: var(--ardoise);
  line-height: 1.65;
}

.note-acces {
  background-color: var(--brume);
  border-left: 4px solid var(--ambre);
  padding: var(--espace-m);
  border-radius: 0 var(--rayon) var(--rayon) 0;
  font-size: 0.91rem;
  color: var(--ardoise);
  line-height: 1.68;
}

/* ============================
   TABLEAU DES FONCTIONS
   ============================ */

.grille-fonctions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background-color: var(--brume);
  border: 1px solid var(--brume);
  border-radius: var(--rayon);
  overflow: hidden;
  margin-bottom: var(--espace-l);
}

.cellule-fonction {
  background-color: var(--blanc);
  padding: var(--espace-m);
}

.cellule-fonction h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.picto-fonction {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  background-color: var(--ambre);
  border-radius: 50%;
  flex-shrink: 0;
}

.cellule-fonction p {
  font-size: 0.9rem;
  color: var(--ardoise);
  line-height: 1.65;
}

/* ============================
   PAGES LÉGALES / SUPPLÉMENTAIRES
   ============================ */

.corps-legal {
  padding-block: var(--espace-xl);
}

.texte-legal {
  max-width: 74ch;
  margin-inline: auto;
}

.texte-legal h2 {
  font-size: 1.35rem;
  margin-top: var(--espace-l);
  margin-bottom: var(--espace-s);
  color: var(--encre);
  padding-left: var(--espace-s);
  border-left: 3px solid var(--ambre);
}

.texte-legal h2:first-of-type {
  margin-top: 0;
}

.texte-legal h3 {
  font-size: 1.05rem;
  margin-top: var(--espace-m);
  margin-bottom: 0.4rem;
}

.texte-legal p {
  margin-bottom: var(--espace-m);
  color: var(--ardoise);
  font-size: 0.96rem;
  line-height: 1.8;
}

.texte-legal ul {
  list-style: disc;
  padding-left: 1.6rem;
  margin-bottom: var(--espace-m);
}

.texte-legal ul li {
  margin-bottom: 0.45rem;
  color: var(--ardoise);
  font-size: 0.96rem;
}

.encadre-neutre {
  background-color: var(--brume);
  border-left: 4px solid var(--ambre);
  padding: var(--espace-m) var(--espace-m);
  border-radius: 0 var(--rayon) var(--rayon) 0;
  margin-bottom: var(--espace-m);
}

.encadre-neutre p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.liens-pages {
  display: flex;
  flex-wrap: wrap;
  gap: var(--espace-s);
  margin-top: var(--espace-l);
  padding-top: var(--espace-l);
  border-top: 1px solid var(--brume);
}

.liens-pages a {
  font-size: 0.88rem;
  color: var(--ardoise);
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--brume);
  border-radius: var(--rayon);
  transition: border-color var(--transition), color var(--transition);
}

.liens-pages a:hover {
  border-color: var(--ambre);
  color: var(--ambre);
  text-decoration: none;
}

/* ============================
   LIENS CROISÉS
   ============================ */

.grille-liens-croisés {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--espace-m);
  margin-top: var(--espace-l);
}

.lien-croisé {
  display: block;
  border: 1.5px solid var(--brume);
  padding: var(--espace-m);
  border-radius: var(--rayon);
  transition: border-color var(--transition);
  background-color: var(--blanc);
}

.lien-croisé:hover {
  border-color: var(--ambre);
  text-decoration: none;
}

.lien-croisé-titre {
  font-family: var(--police-titre);
  font-size: 1.05rem;
  color: var(--encre);
  display: block;
  margin-bottom: 0.4rem;
}

.lien-croisé-desc {
  font-size: 0.87rem;
  color: var(--ardoise);
  display: block;
  line-height: 1.6;
}

/* ============================
   GLOSSAIRE / EXTRA
   ============================ */

.grille-termes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--espace-m);
}

.terme {
  background-color: var(--blanc);
  border: 1.5px solid var(--brume);
  padding: var(--espace-m);
  border-radius: var(--rayon);
}

.terme dt {
  font-family: var(--police-titre);
  font-size: 1rem;
  color: var(--encre);
  margin-bottom: 0.4rem;
}

.terme dd {
  font-size: 0.91rem;
  color: var(--ardoise);
  line-height: 1.65;
}

/* ============================
   RESPONSIVE — 900px
   ============================ */

@media (max-width: 900px) {
  .heros-disposition,
  .disposition-bicolore,
  .disposition-contact {
    grid-template-columns: 1fr;
  }

  .disposition-bicolore.droite-premiere {
    direction: ltr;
  }

  .grille-modules {
    grid-template-columns: repeat(2, 1fr);
  }

  .grille-destinations {
    grid-template-columns: repeat(2, 1fr);
  }

  .pied-disposition {
    grid-template-columns: 1fr 1fr;
  }

  .grille-liens-croisés {
    grid-template-columns: 1fr;
  }

  .grille-fonctions {
    grid-template-columns: 1fr;
  }

  .zone-visuel {
    order: -1;
  }
}

/* ============================
   RESPONSIVE — 640px
   ============================ */

@media (max-width: 640px) {
  :root {
    --espace-xl: 3rem;
    --espace-xxl: 4rem;
  }

  .en-tete-interieur {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--espace-xs);
  }

  .nav-principale {
    flex-wrap: wrap;
    gap: 0;
  }

  .nav-principale li a {
    font-size: 0.78rem;
    padding: 0.4rem 0.6rem;
  }

  .grille-modules {
    grid-template-columns: 1fr;
  }

  .grille-destinations {
    grid-template-columns: 1fr;
  }

  .pied-disposition {
    grid-template-columns: 1fr;
    gap: var(--espace-m);
  }

  .pied-bas {
    flex-direction: column;
    text-align: center;
  }

  .grille-termes {
    grid-template-columns: 1fr;
  }

  .etape {
    grid-template-columns: 2.6rem 1fr;
    gap: var(--espace-s);
  }

  .pastille-etape {
    width: 2.6rem;
    height: 2.6rem;
    font-size: 1rem;
  }
}
