/* Gard Ô D+ — feuille de style (mobile d'abord) */

@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-800.woff2") format("woff2"); }

:root {
  --foret: #0F2D24;
  --foret-sombre: #0A211A;
  --foret-trait: #2F4A40;
  --orange: #EA6B2E;
  --sable: #EDE8DD;
  --carte: #F6F3EC;
  --bord: #D6CFBE;
  --chip: #E3DDCF;
  --champ-bord: #8C8570;
  --gouttiere: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sable);
  color: var(--foret);
  font-family: "Barlow", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
img, svg { max-width: 100%; }
a { color: var(--foret); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.t {
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
}
.w { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gouttiere); }
.orange { color: var(--orange); }
.evitement { position: absolute; left: -9999px; }
.evitement:focus { left: 8px; top: 8px; z-index: 20; background: var(--sable); padding: 8px 12px; }

/* Typo */
.surtitre { font-size: 20px; letter-spacing: .12em; }
.h2 { font-size: 40px; }
.h2--clair { color: var(--sable); }
.h2--carte { font-size: 44px; }
.h3 { font-size: 32px; }
.prenom { font-size: 36px; }
.texte-l { font-size: 18px; }
.petit { font-size: 14px; }
.lien-fort { display: inline-flex; align-items: center; min-height: 44px; font-size: 18px; font-weight: 600; }

/* Boutons et pastilles */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px; align-self: flex-start;
  background: var(--orange); color: var(--foret);
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif; font-weight: 800;
  text-transform: uppercase; font-size: 22px; letter-spacing: .02em;
  border: 0; border-radius: 6px; text-decoration: none; cursor: pointer;
}
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn--plein { width: 100%; }
.chip {
  display: inline-block; background: var(--chip); color: var(--foret);
  font-family: "Barlow", Arial, sans-serif; font-weight: 400; text-transform: none;
  font-size: 14px; line-height: 1; padding: 7px 12px; border-radius: 999px;
}
.etiquettes { display: flex; flex-wrap: wrap; gap: 8px; }

/* En-tête */
.entete { background: var(--sable); position: relative; z-index: 10; }
.entete__barre { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.entete__logo { display: block; line-height: 0; }
.entete__logo img { height: 34px; width: auto; }
.burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 0; background: none; color: var(--foret); cursor: pointer; border-radius: 6px;
}
.menu { display: none; }
.menu--ouvert {
  display: flex; flex-direction: column;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--sable); padding: 8px var(--gouttiere) 20px; border-bottom: 1px solid var(--bord);
}
.menu a {
  display: flex; align-items: center; min-height: 52px;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif; font-weight: 800;
  text-transform: uppercase; font-size: 30px; text-decoration: none;
  border-bottom: 1px solid var(--bord);
}
.menu a[aria-current="page"] { color: var(--foret); box-shadow: inset 4px 0 0 var(--orange); padding-left: 12px; }

/* Héros */
.heros { position: relative; overflow: hidden; background: var(--foret); color: var(--sable); padding: 36px 0 90px; }
.heros--accueil { padding: 40px 0 150px; }
.heros--court { padding: 36px 0 40px; }
.heros__montagne { position: absolute; left: 0; bottom: 0; width: 100%; height: 120px; fill: var(--foret-sombre); }
.heros--accueil .heros__montagne { height: 190px; }
.heros__contenu { position: relative; display: flex; flex-direction: column; gap: 14px; }
.heros__titre { font-size: 56px; color: var(--sable); }
.heros__titre--geant { font-size: 64px; }
.heros__texte { font-size: 19px; line-height: 1.45; max-width: 760px; }

/* Rendez-vous (accueil) */
.rdv { margin-top: -40px; position: relative; }
.rdv__carte {
  background: var(--carte); border: 1px solid var(--bord); border-radius: 10px;
  padding: 24px 20px; display: flex; flex-direction: column; gap: 16px;
}
.rdv__carte > div { display: flex; flex-direction: column; gap: 10px; }
.rdv__surtitre { font-size: 16px; letter-spacing: .1em; color: var(--foret-trait); }
.rdv__nom { font-size: 34px; }
.rdv__texte { font-size: 18px; }

/* Blocs et grilles */
.bloc { padding-top: 40px; padding-bottom: 16px; display: flex; flex-direction: column; gap: 16px; }
.bloc:last-child { padding-bottom: 56px; }
.bloc--centre { align-items: center; text-align: center; }
.bloc--centre > * { max-width: none; text-wrap: balance; }
.bloc--etroit > * { max-width: 760px; }
.pile { display: flex; flex-direction: column; gap: 14px; }
.grille { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.deux-col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center; }
.deux-col--haut { align-items: start; }
.carte {
  background: var(--carte); border: 1px solid var(--bord); border-radius: 10px;
  padding: 22px 20px; display: flex; flex-direction: column; gap: 10px;
}
.carte--centre { text-align: center; align-items: center; justify-content: center; }
.carte--liste { padding-top: 6px; padding-bottom: 6px; }
.carte__tete { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.carte p + p, .carte ul { margin: 0; }

/* Lignes clé / valeur */
.lignes { margin: 4px 0 0; }
.ligne { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--bord); }
.carte--liste .ligne:first-child { border-top: 0; }
.ligne dt { margin: 0; color: var(--foret-trait); }
.ligne dd { margin: 0; font-weight: 600; text-align: right; }

/* Bandeaux verts */
.bandeau { background: var(--foret); color: var(--sable); padding: 44px 0; margin-top: 40px; }
.bandeau a:not(.btn) { color: var(--sable); }
.bandeau__grille, .bandeau__ligne { display: flex; flex-direction: column; gap: 24px; }
.bandeau--court { padding: 40px 0; }
main > .bandeau:last-child { margin-bottom: 0; }

/* Formulaires */
label { display: flex; flex-direction: column; gap: 8px; font-weight: 600; font-size: 17px; }
.champ {
  font: inherit; font-weight: 400; color: var(--foret); background: #fff;
  border: 1px solid var(--champ-bord); border-radius: 6px; min-height: 52px; padding: 10px 14px; width: 100%;
}
textarea.champ { resize: vertical; }
.champ--clair { background: var(--sable); border: 2px solid var(--sable); }
.previens { display: flex; flex-direction: column; gap: 14px; }
.previens label { font-weight: 400; }
.formulaire { gap: 18px; }
fieldset { border: 0; margin: 0; padding: 0; }
legend { padding: 0; margin-bottom: 4px; font-weight: 600; font-size: 17px; }
.cases { display: flex; flex-direction: column; }
.case { flex-direction: row; align-items: flex-start; gap: 12px; min-height: 44px; font-weight: 400; font-size: 18px; padding-top: 10px; }
.case input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--foret); }

/* Formulaires : piège à robots et messages */
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.formulaire__statut { font-weight: 600; min-height: 1.5em; }
.formulaire__statut--ok { color: #1F6B3A; }
.formulaire__statut--erreur { color: #A3361A; }

/* FAQ */
.faq__liste { display: flex; flex-direction: column; gap: 18px; }
.faq__item { display: flex; flex-direction: column; gap: 6px; padding-bottom: 18px; border-bottom: 1px solid var(--bord); }
.faq__item:last-child { border-bottom: 0; }
.faq__q { margin: 0; font-size: 20px; font-weight: 600; }
.faq__item p { font-size: 18px; }
.faq__item .btn { margin-top: 6px; }

/* Actus */
.actus { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }

/* Mentions légales */
.mentions { gap: 22px; }
.mentions__bloc { display: flex; flex-direction: column; gap: 10px; padding-bottom: 22px; border-bottom: 1px solid var(--bord); }
.mentions p { font-size: 17px; line-height: 1.6; }

/* Pied de page */
.pied { background: var(--foret); color: var(--sable); padding: 40px 0 32px; }
.pied a { color: var(--sable); }
.pied__grille { display: flex; flex-direction: column; gap: 24px; }
.pied__marque { display: flex; flex-direction: column; gap: 20px; }
.pied__marque img { height: 34px; width: auto; align-self: flex-start; }
.pied__slogan { font-size: 22px; letter-spacing: .1em; }
.pied__nav { display: flex; flex-direction: column; }
.pied__nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 16px; }
.pied__legal { display: flex; flex-direction: column; gap: 6px; font-size: 14px; border-top: 1px solid var(--foret-trait); padding-top: 20px; }
.pied__liens { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; }

/* Tablette */
@media (min-width: 700px) {
  :root { --gouttiere: 32px; }
  .grille--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grille--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .heros__titre { font-size: 88px; }
  .heros__titre--geant { font-size: 110px; }
  .rdv__carte { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
}

/* Ordinateur */
@media (min-width: 1000px) {
  :root { --gouttiere: 48px; }
  body { font-size: 18px; line-height: 1.55; }
  .burger { display: none; }
  .entete__barre { padding-top: 16px; }
  .entete__logo img { height: 46px; }
  .menu, .menu--ouvert { display: flex; flex-direction: row; gap: 32px; position: static; padding: 0; border: 0; background: none; }
  .menu a { min-height: 48px; padding: 0 4px; font-family: "Barlow", Arial, sans-serif; font-weight: 600; text-transform: none; font-size: 18px; border-bottom: 4px solid transparent; }
  .menu a:hover { border-bottom-color: var(--orange); }
  .menu a[aria-current="page"] { border-bottom-color: var(--orange); box-shadow: none; padding-left: 4px; }

  .surtitre { font-size: 26px; letter-spacing: .14em; }
  .h2 { font-size: 64px; }
  .h2--carte { font-size: 56px; }
  .h3 { font-size: 40px; }
  .prenom { font-size: 52px; }
  .texte-l { font-size: 22px; }
  .lien-fort { font-size: 20px; }
  .btn { min-height: 56px; padding: 0 32px; font-size: 24px; }
  .chip { font-size: 15px; padding: 8px 14px; }

  .heros { padding: 72px 0 150px; }
  .heros--accueil { padding: 88px 0 230px; }
  .heros--court { padding: 64px 0 72px; }
  .heros__montagne { height: 300px; }
  .heros--accueil .heros__montagne { height: 380px; }
  .heros__contenu { gap: 18px; }
  .heros__titre { font-size: 120px; }
  .heros__titre--geant { font-size: 150px; }
  .heros__texte { font-size: 26px; line-height: 1.4; }

  .rdv { margin-top: -110px; }
  .rdv__carte { padding: 36px 44px; border-radius: 12px; }
  .rdv__surtitre { font-size: 18px; }
  .rdv__nom { font-size: 54px; }
  .rdv__texte { font-size: 20px; }

  .bloc { padding-top: 64px; gap: 28px; }
  .bloc:last-child { padding-bottom: 88px; }
  .grille { gap: 24px; }
  .grille--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grille--haut { align-items: start; }
  .deux-col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
  .carte { padding: 28px 26px; gap: 12px; }
  .carte--centre { padding: 32px 26px; }

  .bandeau { padding: 72px 0; }
  .bandeau__grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: center; }
  .bandeau__ligne { flex-direction: row; align-items: center; justify-content: space-between; gap: 48px; }
  .bandeau__ligne .btn { align-self: center; flex: none; }
  #previens-moi .h2 { font-size: 76px; }

  .faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; align-items: start; }
  .faq__q { font-size: 22px; }
  .faq__item p { font-size: 20px; }
  .actus { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 48px; }

  .mentions p { font-size: 19px; }
  .pied { padding: 64px 0 40px; }
  .pied__grille { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; }
  .pied__marque img { height: 46px; }
  .pied__slogan { font-size: 26px; }
  .pied__nav a { font-size: 17px; }
  .pied__legal { border-top: 0; padding-top: 0; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
