:root {
  --fond: #f3efe8;
  --surface: #ffffff;
  --fond-inverse: #0e2535;
  --texte: #1a1a1a;
  --titre: #0e2535;
  --discret: #666070;
  --chaud: #c05a2f;
  --lisere: #ddd9d0;
  --lisere-fort: #b8b2a8;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --r1: 0.5rem;
  --r2: 1rem;
  --r3: 1.5rem;
  --r4: 2rem;
  --r6: 3rem;
  --r8: 4rem;
  --r12: 6rem;
  --max: 1180px;
  --etroit: 760px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--fond);
  color: var(--texte);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--chaud);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--titre);
}

a:focus-visible {
  outline: 2px solid var(--chaud);
  outline-offset: 3px;
  border-radius: 2px;
}

ul, ol {
  list-style: none;
}

button {
  font-family: var(--sans);
  cursor: pointer;
}

.cadre {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--r4);
}

.cadre-etroit {
  max-width: var(--etroit);
  margin-inline: auto;
  padding-inline: var(--r4);
}

.bandeau-haut {
  background-color: var(--fond-inverse);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-primaire {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--r4);
  max-width: var(--max);
  margin-inline: auto;
  flex-wrap: wrap;
  gap: var(--r2);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: normal;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.nav-logo:hover {
  color: #e8d5c8;
}

.nav-liens {
  display: flex;
  gap: var(--r3);
  flex-wrap: wrap;
}

.nav-liens a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  padding-bottom: 2px;
}

.nav-liens a:hover {
  color: #ffffff;
}

.nav-liens a[aria-current="page"] {
  color: #ffffff;
  border-bottom: 2px solid var(--chaud);
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--titre);
  line-height: 1.25;
}

h1 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: normal;
}

h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: normal;
}

h3 {
  font-size: 1.15rem;
  font-weight: bold;
}

h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

p + p {
  margin-top: var(--r2);
}

.texte-chapeau {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--discret);
}

.texte-mise-en-avant {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--titre);
  line-height: 1.5;
  border-left: 3px solid var(--chaud);
  padding-left: var(--r3);
  margin-block: var(--r4);
}

.bouton-principal {
  display: inline-block;
  background-color: var(--chaud);
  color: #ffffff;
  text-decoration: none;
  padding: 0.7rem 1.6rem;
  font-size: 0.95rem;
  border: 2px solid var(--chaud);
  transition: background-color 0.2s, border-color 0.2s;
  letter-spacing: 0.02em;
}

.bouton-principal:hover {
  background-color: var(--titre);
  border-color: var(--titre);
  color: #ffffff;
}

.bouton-secondaire {
  display: inline-block;
  background-color: transparent;
  color: var(--chaud);
  text-decoration: none;
  padding: 0.7rem 1.6rem;
  font-size: 0.95rem;
  border: 2px solid var(--chaud);
  transition: background-color 0.2s, color 0.2s;
  letter-spacing: 0.02em;
}

.bouton-secondaire:hover {
  background-color: var(--chaud);
  color: #ffffff;
}

.bouton-inverse {
  display: inline-block;
  background-color: transparent;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  padding: 0.7rem 1.6rem;
  font-size: 0.95rem;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: background-color 0.2s, border-color 0.2s;
  letter-spacing: 0.02em;
}

.bouton-inverse:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.65);
  color: #ffffff;
}

.section {
  padding-block: var(--r12);
}

.section-compacte {
  padding-block: var(--r6);
}

.section-blanche {
  background-color: var(--surface);
}

.section-sombre {
  background-color: var(--fond-inverse);
  color: rgba(255, 255, 255, 0.85);
}

.section-sombre h1,
.section-sombre h2,
.section-sombre h3 {
  color: #ffffff;
}

.section-intro {
  padding: var(--r12) 0 var(--r8);
}

.intro-contenu {
  max-width: 680px;
}

.intro-contenu h1 {
  margin-bottom: var(--r3);
}

.intro-contenu .texte-chapeau {
  margin-bottom: var(--r2);
}

.intro-contenu p:not(.texte-chapeau) {
  color: var(--discret);
  margin-bottom: var(--r2);
}

.intro-actions {
  display: flex;
  gap: var(--r2);
  flex-wrap: wrap;
  margin-top: var(--r4);
}

.entete-section {
  margin-bottom: var(--r8);
}

.entete-section h2 {
  margin-bottom: var(--r2);
}

.entete-section p {
  color: var(--discret);
  max-width: 580px;
}

.cadre-photo {
  overflow: hidden;
}

.cadre-photo-ombre {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.photo-pleine-largeur {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}

.photo-paysage {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.photo-portrait {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.section-divisee {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--r8);
  align-items: center;
}

.col-texte {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.col-photo {
  overflow: hidden;
}

.section-divisee .col-photo img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}

.section-divisee.pleine {
  gap: 0;
}

.section-divisee.pleine .col-texte {
  padding: var(--r12) var(--r8);
}

.section-divisee.pleine .col-photo img {
  height: 100%;
  min-height: 440px;
}

.section-divisee.inverse .col-texte {
  order: 2;
}

.section-divisee.inverse .col-photo {
  order: 1;
}

.section-photo-fond {
  position: relative;
  overflow: hidden;
  height: 360px;
}

.section-photo-fond > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.superposition {
  position: absolute;
  inset: 0;
  background: rgba(14, 37, 53, 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--r4);
}

.superposition blockquote {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2.5vw, 1.65rem);
  color: #ffffff;
  text-align: center;
  max-width: 660px;
  line-height: 1.5;
  font-style: italic;
}

.liste-editoriale {
  margin-top: var(--r6);
}

.liste-editoriale li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: var(--r3);
  padding-block: var(--r4);
  border-top: 1px solid var(--lisere);
}

.liste-editoriale li:last-child {
  border-bottom: 1px solid var(--lisere);
}

.liste-editoriale .num {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--chaud);
  opacity: 0.65;
  line-height: 1;
  padding-top: 0.15rem;
}

.liste-editoriale .contenu {
  display: flex;
  flex-direction: column;
}

.liste-editoriale .contenu h3 {
  margin-bottom: var(--r1);
}

.liste-editoriale .contenu p {
  color: var(--discret);
  margin-top: var(--r1);
}

.points-cles {
  margin-top: var(--r6);
}

.point-cle {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: var(--r4);
  padding-bottom: var(--r6);
  margin-bottom: var(--r6);
  border-bottom: 1px solid var(--lisere);
}

.point-cle:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.point-cle-numero {
  font-family: var(--serif);
  font-size: 2.8rem;
  color: var(--chaud);
  opacity: 0.3;
  line-height: 1;
}

.point-cle-texte h3 {
  margin-bottom: var(--r2);
}

.point-cle-texte p {
  color: var(--discret);
}

.faq-liste {
  margin-top: var(--r6);
  border-top: 1px solid var(--lisere);
}

.faq-item {
  padding-block: var(--r3);
  border-bottom: 1px solid var(--lisere);
}

.faq-question {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--titre);
  margin-bottom: var(--r2);
}

.faq-reponse {
  color: var(--discret);
}

.grille-fonctions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--r6) var(--r8);
  margin-top: var(--r6);
}

.fonction-item h3 {
  margin-bottom: var(--r2);
  padding-bottom: var(--r2);
  border-bottom: 2px solid var(--lisere);
}

.fonction-item p {
  color: var(--discret);
}

.fonction-item p + p {
  margin-top: var(--r2);
}

.etapes-processus {
  margin-top: var(--r6);
}

.etape {
  display: flex;
  gap: var(--r4);
  padding-bottom: var(--r6);
  margin-bottom: var(--r6);
  border-bottom: 1px solid var(--lisere);
}

.etape:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.etape-numero {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  background-color: var(--chaud);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: bold;
}

.etape-contenu h3 {
  margin-bottom: var(--r1);
}

.etape-contenu p {
  color: var(--discret);
}

.bandeau-action {
  background-color: var(--fond-inverse);
  padding: var(--r8) var(--r4);
  text-align: center;
}

.bandeau-action h2 {
  color: #ffffff;
  margin-bottom: var(--r3);
}

.bandeau-action p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: var(--r4);
}

.bandeau-action .bouton-principal {
  margin-right: var(--r2);
}

.section-formulaire {
  padding-block: var(--r12);
}

.formulaire-grille {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--r8);
  align-items: start;
}

.formulaire-contact {
  background-color: var(--surface);
  padding: var(--r6);
  border: 1px solid var(--lisere);
}

.formulaire-contact h2 {
  margin-bottom: var(--r4);
}

.champ-formulaire {
  margin-bottom: var(--r3);
}

.champ-formulaire label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--titre);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.champ-formulaire input,
.champ-formulaire select,
.champ-formulaire textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--lisere-fort);
  background-color: var(--fond);
  color: var(--texte);
  font-family: var(--sans);
  font-size: 1rem;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.champ-formulaire select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666070' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.5rem;
}

.champ-formulaire input:focus,
.champ-formulaire select:focus,
.champ-formulaire textarea:focus {
  outline: 2px solid var(--chaud);
  outline-offset: 1px;
  border-color: var(--chaud);
}

.champ-formulaire textarea {
  resize: vertical;
  min-height: 120px;
}

.note-formulaire {
  font-size: 0.85rem;
  color: var(--discret);
  margin-top: var(--r2);
  line-height: 1.5;
}

.infos-contact {
  padding-top: var(--r2);
}

.infos-contact h3 {
  margin-bottom: var(--r3);
  padding-bottom: var(--r2);
  border-bottom: 2px solid var(--lisere);
}

.ligne-contact {
  display: flex;
  gap: var(--r2);
  margin-bottom: var(--r3);
  align-items: flex-start;
  color: var(--discret);
  font-size: 0.95rem;
}

.ligne-contact strong {
  color: var(--texte);
  min-width: 72px;
  flex-shrink: 0;
}

.section-legale {
  padding-block: var(--r12);
}

.section-legale h2 {
  margin-top: var(--r8);
  font-size: 1.3rem;
}

.section-legale h2:first-child {
  margin-top: 0;
}

.section-legale h3 {
  margin-top: var(--r4);
  font-size: 1.05rem;
}

.section-legale p {
  color: var(--discret);
  line-height: 1.75;
  margin-top: var(--r2);
}

.section-legale ul {
  padding-left: var(--r4);
  color: var(--discret);
  line-height: 1.75;
  margin-top: var(--r2);
}

.section-legale ul li {
  list-style: disc;
  margin-bottom: var(--r1);
}

.section-legale a {
  color: var(--chaud);
}

.encart-contact {
  background-color: var(--surface);
  border: 1px solid var(--lisere);
  padding: var(--r4);
  margin-top: var(--r6);
}

.encart-contact h3 {
  margin-bottom: var(--r2);
}

.encart-contact p {
  color: var(--discret);
  margin-top: var(--r2);
}

.sr-seulement {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bas-page {
  background-color: var(--fond-inverse);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--r12) 0 var(--r4);
}

.bas-page-colonnes {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--r8);
  margin-bottom: var(--r8);
}

.colonne-pied h4 {
  color: #ffffff;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--r3);
}

.colonne-pied ul li {
  margin-bottom: 0.6rem;
}

.colonne-pied ul li a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.colonne-pied ul li a:hover {
  color: #ffffff;
}

.marque-pied {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: var(--r2);
  display: block;
}

.description-pied {
  font-size: 0.875rem;
  line-height: 1.65;
}

.separateur-pied {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--r4);
}

.bas-page-bas {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--r2);
  font-size: 0.85rem;
}

@media (max-width: 1024px) {
  .bas-page-colonnes {
    grid-template-columns: 1fr 1fr;
  }

  .section-divisee {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .section-divisee .col-photo img {
    height: 300px;
  }

  .section-divisee.pleine .col-texte {
    padding: var(--r8) var(--r4);
  }

  .section-divisee.pleine .col-photo img {
    min-height: 300px;
  }

  .section-divisee.inverse .col-texte {
    order: unset;
  }

  .section-divisee.inverse .col-photo {
    order: unset;
  }

  .formulaire-grille {
    grid-template-columns: 1fr;
  }

  .grille-fonctions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --r12: 4rem;
    --r8: 2.5rem;
    --r6: 2rem;
  }

  .cadre,
  .cadre-etroit {
    padding-inline: var(--r2);
  }

  .nav-primaire {
    padding: var(--r2);
  }

  .nav-liens {
    gap: var(--r2);
  }

  .nav-liens a {
    font-size: 0.82rem;
  }

  .section-photo-fond {
    height: 240px;
  }

  .photo-pleine-largeur {
    height: 260px;
  }

  .photo-paysage {
    height: 200px;
  }

  .photo-portrait {
    height: 280px;
  }

  .bas-page-colonnes {
    grid-template-columns: 1fr;
  }

  .bas-page-bas {
    flex-direction: column;
    align-items: flex-start;
  }

  .intro-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .formulaire-contact {
    padding: var(--r3);
  }

  .bandeau-action .bouton-principal {
    margin-right: 0;
    margin-bottom: var(--r2);
    display: block;
    text-align: center;
  }

  .bandeau-action .bouton-inverse {
    display: block;
    text-align: center;
  }

  .bandeau-action {
    padding: var(--r6) var(--r2);
  }

  .point-cle {
    grid-template-columns: 3rem 1fr;
    gap: var(--r2);
  }

  .etape {
    gap: var(--r2);
  }

  .liste-editoriale li {
    grid-template-columns: 2.5rem 1fr;
    gap: var(--r2);
  }

  .superposition blockquote {
    font-size: 1rem;
  }
}
