/* =====================================================================
   herbes-a-t.fr — Feuille de style
   Palette lin & sauge, typographie Cormorant Garamond + Jost.
   ===================================================================== */

/* ---------- Polices (hébergées localement, aucun appel externe) ------- */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/assets/fonts/cormorant-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/assets/fonts/cormorant-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/assets/fonts/cormorant-400-italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Jost';
  src: url('/assets/fonts/jost-300.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Jost';
  src: url('/assets/fonts/jost-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Jost';
  src: url('/assets/fonts/jost-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}

/* ---------------------------- Jetons ---------------------------------- */
:root {
  --lin:            #FAF6EF;
  --lin-fonce:      #F3ECE0;
  --creme:          #FFFDF9;
  --encre:          #2E3A34;
  --encre-doux:     #5C6B62;
  --encre-clair:    #8B968E;
  --sauge:          #7C9A85;
  --sauge-fonce:    #55755F;
  --sauge-profond:  #3C5548;
  --terre:          #C08B6E;
  --trait:          #E7DFD1;
  --trait-clair:    #F0E9DD;
  --ombre-douce:    0 1px 2px rgba(62,74,66,.04), 0 8px 24px rgba(62,74,66,.05);
  --ombre-levee:    0 2px 4px rgba(62,74,66,.05), 0 18px 40px rgba(62,74,66,.09);

  --serif: 'Cormorant Garamond', Cormorant, Garamond, Georgia, 'Times New Roman', serif;
  --sans:  'Jost', 'Avenir Next', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --largeur:      1160px;
  --largeur-fine: 720px;
  --rythme:       clamp(4.5rem, 9vw, 7.5rem);
  --rayon:        18px;
  --transition:   .5s cubic-bezier(.22,.61,.36,1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--lin);
  color: var(--encre);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1rem, .97rem + .18vw, 1.075rem);
  line-height: 1.75;
  letter-spacing: .012em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: var(--sauge-fonce); text-decoration-color: rgba(85,117,95,.35); text-underline-offset: .25em; }
a:hover { color: var(--encre); }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; letter-spacing: -.005em; margin: 0; }

strong { font-weight: 500; color: var(--encre); }

::selection { background: rgba(124,154,133,.25); }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.lien-evitement {
  position: absolute; left: 50%; top: -100px; transform: translateX(-50%);
  z-index: 200; background: var(--creme); color: var(--encre);
  padding: .8rem 1.4rem; border-radius: 0 0 12px 12px; box-shadow: var(--ombre-levee);
  transition: top .25s ease;
}
.lien-evitement:focus { top: 0; }

/* --------------------------- Structure -------------------------------- */
.conteneur {
  width: min(100% - 2.5rem, var(--largeur));
  margin-inline: auto;
}
.conteneur--etroit { width: min(100% - 2.5rem, var(--largeur-fine)); }

.section { padding-block: var(--rythme); position: relative; }
.section--claire { background: var(--creme); }
.section--lin    { background: var(--lin); }

.section--sauge {
  background:
    radial-gradient(120% 90% at 15% 0%, #4A6553 0%, transparent 60%),
    linear-gradient(160deg, var(--sauge-profond) 0%, #354B3F 100%);
  color: #EFEADF;
}
.section--sauge h2, .section--sauge h3 { color: #FBF8F1; }
.section--sauge a { color: #D9E3D6; }
.section--sauge a:hover { color: #fff; }

.page-simple { padding-top: 72px; }

/* --------------------------- Typographie ------------------------------ */
.sur-titre {
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--sauge-fonce);
  margin-bottom: 1.1rem;
}
.sur-titre--clair { color: #AFC4B3; }

.titre-section {
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem);
  margin-bottom: 1.2rem;
}

.texte-large {
  font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem);
  line-height: 1.8;
  color: var(--encre-doux);
}
.section--sauge .texte-large { color: #D7DED2; }

.entete-section { max-width: 42rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.entete-section__texte { margin-top: .4rem; }

.note {
  margin-top: 2.5rem;
  font-size: .92rem;
  color: var(--encre-clair);
  max-width: 44rem;
}
.note--attention {
  margin-inline: auto;
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--terre);
  background: rgba(192,139,110,.06);
  color: var(--encre-doux);
  text-align: left;
}

.centre { text-align: center; }
.centre__actions { margin-top: 2.5rem; }

/* ----------------------------- Boutons -------------------------------- */
.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-family: var(--sans);
  font-size: .93rem;
  font-weight: 400;
  letter-spacing: .09em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2rem;
  border: 1px solid var(--sauge-fonce);
  border-radius: 999px;
  background: var(--sauge-fonce);
  color: var(--lin);
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
}
.bouton:hover {
  background: var(--sauge-profond);
  border-color: var(--sauge-profond);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--ombre-levee);
}

.bouton--discret {
  background: transparent;
  color: var(--encre);
  border-color: var(--trait);
}
.bouton--discret:hover {
  background: transparent;
  color: var(--sauge-fonce);
  border-color: var(--sauge);
}

.bouton--petit { padding: .62rem 1.25rem; font-size: .78rem; }

.bouton--plein { width: 100%; margin-top: .6rem; padding: 1.05rem 2rem; }

/* ----------------------------- En-tête -------------------------------- */
.entete {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 1.15rem;
  transition: background .45s ease, box-shadow .45s ease, padding .45s ease;
}
.entete.defile {
  background: rgba(250,246,239,.88);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--trait-clair);
  padding-block: .7rem;
}
.entete__interieur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.marque {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  color: var(--encre);
}
.marque__sceau { width: 38px; color: var(--sauge); flex: none; }
.marque__sceau svg { width: 100%; height: auto; }
.marque__texte { display: flex; flex-direction: column; line-height: 1.15; }
.marque__nom {
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: .06em;
}
.marque__sous {
  font-size: .63rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--encre-clair);
}

.navigation__liste {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.navigation__liste a:not(.bouton) {
  text-decoration: none;
  font-size: .88rem;
  letter-spacing: .05em;
  color: var(--encre-doux);
  position: relative;
  padding-block: .3rem;
}
.navigation__liste a:not(.bouton)::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--sauge);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}
.navigation__liste a:not(.bouton):hover { color: var(--encre); }
.navigation__liste a:not(.bouton):hover::after { transform: scaleX(1); transform-origin: left; }

.navigation__bouton {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--trait);
  border-radius: 50%;
  background: rgba(255,253,249,.7);
  cursor: pointer;
  position: relative;
}
.navigation__barres,
.navigation__barres::before,
.navigation__barres::after {
  position: absolute;
  left: 50%; top: 50%;
  width: 18px; height: 1px;
  background: var(--encre);
  transform: translate(-50%,-50%);
  transition: transform .35s ease, opacity .2s ease;
}
.navigation__barres::before { content: ''; transform: translate(-50%,-6px); }
.navigation__barres::after  { content: ''; transform: translate(-50%, 5px); }
.navigation__bouton[aria-expanded="true"] .navigation__barres { background: transparent; }
.navigation__bouton[aria-expanded="true"] .navigation__barres::before { transform: translate(-50%,-50%) rotate(45deg); }
.navigation__bouton[aria-expanded="true"] .navigation__barres::after  { transform: translate(-50%,-50%) rotate(-45deg); }

/* ---------------------------- Ouverture ------------------------------- */
.ouverture {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 0 6rem;
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 50% 0%, #FDFBF6 0%, transparent 70%),
    linear-gradient(180deg, var(--lin) 0%, var(--lin-fonce) 100%);
}

.ouverture__voile { position: absolute; inset: 0; pointer-events: none; }
.halo {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .5;
  animation: derive 26s ease-in-out infinite;
}
.halo--1 {
  width: 46vw; height: 46vw; min-width: 340px; min-height: 340px;
  top: -8%; left: -6%;
  background: radial-gradient(circle, rgba(124,154,133,.42) 0%, transparent 68%);
}
.halo--2 {
  width: 38vw; height: 38vw; min-width: 280px; min-height: 280px;
  bottom: -12%; right: -4%;
  background: radial-gradient(circle, rgba(192,139,110,.28) 0%, transparent 68%);
  animation-delay: -9s;
}
.halo--3 {
  width: 30vw; height: 30vw; min-width: 220px; min-height: 220px;
  top: 38%; right: 22%;
  background: radial-gradient(circle, rgba(216,201,168,.34) 0%, transparent 68%);
  animation-delay: -17s;
}
@keyframes derive {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  33%      { transform: translate3d(3vw, 2vh, 0) scale(1.08); }
  66%      { transform: translate3d(-2vw, -3vh, 0) scale(.95); }
}

.ouverture__interieur { position: relative; max-width: 46rem; }

.ouverture__titre {
  font-size: clamp(2.7rem, 1.6rem + 4.6vw, 5.1rem);
  line-height: 1.08;
  margin-bottom: 1.5rem;
}
.ouverture__titre em {
  font-style: italic;
  color: var(--sauge-fonce);
}

.ouverture__texte {
  font-size: clamp(1.05rem, .98rem + .45vw, 1.28rem);
  line-height: 1.85;
  color: var(--encre-doux);
  max-width: 34rem;
  margin-inline: auto;
}

.ouverture__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.6rem;
}

.ouverture__fleche {
  position: absolute;
  bottom: 2.4rem; left: 50%;
  transform: translateX(-50%);
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 1px solid var(--trait);
  border-radius: 50%;
  background: rgba(255,253,249,.55);
}
.ouverture__fleche span {
  width: 7px; height: 7px;
  border-right: 1px solid var(--encre-doux);
  border-bottom: 1px solid var(--encre-doux);
  transform: translateY(-2px) rotate(45deg);
  animation: descendre 2.6s ease-in-out infinite;
}
@keyframes descendre {
  0%, 100% { transform: translateY(-3px) rotate(45deg); opacity: .5; }
  50%      { transform: translateY(1px) rotate(45deg);  opacity: 1; }
}

/* ---------------------------- Grilles --------------------------------- */
.grille-deux {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: start;
}

.grille-rdv {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.grille-infos {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

/* ---------------------------- Repères --------------------------------- */
.reperes {
  list-style: none;
  margin: 2.6rem 0 0;
  padding: 1.8rem 0 0;
  border-top: 1px solid var(--trait);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.6rem;
}
.reperes li { display: flex; flex-direction: column; gap: .35rem; }
.reperes__valeur {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--sauge-fonce);
}
.reperes__legende { font-size: .87rem; color: var(--encre-clair); line-height: 1.55; }

/* ----------------------------- Cartes --------------------------------- */
.cartes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}

.carte {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.4rem);
  background: var(--creme);
  border: 1px solid var(--trait);
  border-radius: var(--rayon);
  box-shadow: var(--ombre-douce);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.carte:hover {
  transform: translateY(-5px);
  box-shadow: var(--ombre-levee);
  border-color: rgba(124,154,133,.45);
}

.carte__ornement {
  width: 46px; height: 46px;
  color: var(--sauge);
  margin-bottom: 1.5rem;
  opacity: .9;
}
.carte__ornement svg { width: 100%; height: 100%; }

.carte__titre { font-size: 1.55rem; margin-bottom: .7rem; }
.carte__texte { color: var(--encre-doux); font-size: .97rem; line-height: 1.75; flex: 1; }

.carte__pied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.6rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--trait-clair);
}
.carte__tarif { font-family: var(--serif); font-size: 1.35rem; color: var(--encre); }

.etiquette {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sauge-fonce);
  background: rgba(124,154,133,.1);
  padding: .35rem .75rem;
  border-radius: 999px;
}

/* ----------------------------- Étapes --------------------------------- */
.etapes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  counter-reset: etape;
}
.etape { position: relative; padding-top: 2.2rem; border-top: 1px solid var(--trait); }
.etape__numero {
  position: absolute;
  top: -.75rem; left: 0;
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: .18em;
  color: var(--sauge);
  background: var(--creme);
  padding-right: .8rem;
}
.etape__titre { font-size: 1.4rem; margin-bottom: .55rem; }
.etape p { color: var(--encre-doux); font-size: .96rem; line-height: 1.75; }

/* ---------------------------- Citation -------------------------------- */
.citation {
  margin: clamp(3.5rem, 7vw, 5.5rem) auto 0;
  max-width: 44rem;
  text-align: center;
}
.citation blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 1.05rem + 1.3vw, 2rem);
  line-height: 1.45;
  color: var(--encre);
}
.citation figcaption {
  margin-top: 1.1rem;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--encre-clair);
}

/* --------------------------- Rendez-vous ------------------------------ */
.rdv__points {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: .8rem;
}
.rdv__points li {
  position: relative;
  padding-left: 1.6rem;
  font-size: .95rem;
  color: #CFD8CB;
}
.rdv__points li::before {
  content: '';
  position: absolute;
  left: 0; top: .62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sauge);
}

.rdv__telephone {
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(239,234,223,.18);
  font-size: .93rem;
  color: #BDC8BC;
}
.rdv__telephone a {
  font-family: var(--serif);
  font-size: 1.5rem;
  text-decoration: none;
  color: #F3EFE4;
}

.rdv__carte {
  background: var(--creme);
  border-radius: var(--rayon);
  padding: clamp(1.6rem, 3.5vw, 2.8rem);
  box-shadow: 0 30px 60px rgba(28,40,33,.22);
  color: var(--encre);
}

/* --------------------------- Formulaire ------------------------------- */
.formulaire { display: grid; gap: 1.15rem; }

.champ-duo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 1.15rem;
}

.champ { display: grid; gap: .45rem; margin: 0; }

.champ label {
  font-size: .82rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--encre-doux);
}
.requis { color: var(--terre); }

.champ input[type="text"],
.champ input[type="email"],
.champ input[type="tel"],
.champ input[type="date"],
.champ textarea,
.selecteur select {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--encre);
  background: var(--lin);
  border: 1px solid var(--trait);
  border-radius: 10px;
  padding: .85rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  appearance: none;
}
.champ textarea { resize: vertical; min-height: 7rem; line-height: 1.7; }

.champ input::placeholder,
.champ textarea::placeholder { color: #A9B2A8; }

.champ input:focus,
.champ textarea:focus,
.selecteur select:focus {
  outline: none;
  background: var(--creme);
  border-color: var(--sauge);
  box-shadow: 0 0 0 3px rgba(124,154,133,.16);
}

.selecteur { position: relative; display: block; }
.selecteur::after {
  content: '';
  position: absolute;
  right: 1.1rem; top: 50%;
  width: 7px; height: 7px;
  border-right: 1px solid var(--encre-doux);
  border-bottom: 1px solid var(--encre-doux);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.selecteur select { padding-right: 2.6rem; cursor: pointer; }

.champ--case {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: .75rem;
}
.champ--case input[type="checkbox"] {
  appearance: none;
  width: 20px; height: 20px;
  margin: .18rem 0 0;
  border: 1px solid var(--trait);
  border-radius: 6px;
  background: var(--lin);
  cursor: pointer;
  flex: none;
  transition: background var(--transition), border-color var(--transition);
}
.champ--case input[type="checkbox"]:checked {
  background: var(--sauge-fonce);
  border-color: var(--sauge-fonce);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23FAF6EF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5 6.5 11.5 12.5 5'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}
.champ--case label {
  text-transform: none;
  letter-spacing: 0;
  font-size: .93rem;
  line-height: 1.6;
  color: var(--encre-doux);
  cursor: pointer;
}

.formulaire__note {
  font-size: .82rem;
  color: var(--encre-clair);
  line-height: 1.6;
  margin: .3rem 0 0;
}

.chausse-trappe {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.alerte {
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  margin-bottom: 1.6rem;
  font-size: .93rem;
  line-height: 1.65;
}
.alerte--erreur {
  background: rgba(192,139,110,.09);
  border: 1px solid rgba(192,139,110,.35);
  color: #8A5236;
}
.alerte p { margin: 0 0 .4rem; }
.alerte ul { margin: 0; padding-left: 1.1rem; }

/* -------------------------- Confirmation ------------------------------ */
.sceau-confirmation {
  display: block;
  width: 74px;
  margin: 0 auto 2rem;
  color: var(--sauge);
  animation: apparaitre .9s cubic-bezier(.22,.61,.36,1) both;
}
@keyframes apparaitre {
  from { opacity: 0; transform: scale(.86); }
  to   { opacity: 1; transform: scale(1); }
}

.recapitulatif {
  margin: 2.8rem auto 0;
  max-width: 30rem;
  text-align: left;
  background: var(--lin);
  border: 1px solid var(--trait);
  border-radius: var(--rayon);
  padding: 1.6rem 1.8rem;
}
.recapitulatif__titre {
  font-size: .74rem;
  font-family: var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--encre-clair);
  margin-bottom: 1rem;
}
.recapitulatif dl { margin: 0; display: grid; gap: .7rem; }
.recapitulatif dl > div { display: flex; justify-content: space-between; gap: 1.5rem; }
.recapitulatif dt { color: var(--encre-clair); font-size: .88rem; }
.recapitulatif dd { margin: 0; text-align: right; font-size: .95rem; }

/* ------------------------ Informations pratiques ----------------------- */
.infos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(1.8rem, 4vw, 3rem);
}
.infos__bloc { padding-top: 1.5rem; border-top: 1px solid var(--trait); }
.infos__titre {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sauge-fonce);
  margin-bottom: .9rem;
}
.infos p { font-size: .98rem; color: var(--encre-doux); }
.infos a { text-decoration: none; }
.infos a:hover { text-decoration: underline; }
.infos__note { margin-top: .8rem; font-size: .87rem; color: var(--encre-clair); line-height: 1.6; }

.horaires { margin: 0; display: grid; gap: .5rem; }
.horaires__ligne { display: flex; justify-content: space-between; gap: 1rem; font-size: .95rem; }
.horaires dt { color: var(--encre-doux); }
.horaires dd { margin: 0; color: var(--encre); }

/* ---------------------------- Pied de page ---------------------------- */
.pied {
  background: var(--lin-fonce);
  border-top: 1px solid var(--trait);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.pied__interieur {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 2.5rem;
}
.pied__nom {
  font-family: var(--serif);
  font-size: 1.9rem;
  color: var(--encre);
  display: block;
  margin-bottom: .5rem;
}
.pied__texte { font-size: .93rem; color: var(--encre-clair); line-height: 1.7; }
.pied__titre {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sauge-fonce);
  margin-bottom: 1rem;
}
.pied__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.pied__liste a { font-size: .94rem; text-decoration: none; color: var(--encre-doux); }
.pied__liste a:hover { color: var(--sauge-fonce); text-decoration: underline; }

.pied__bas {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--trait);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: .8rem;
  color: var(--encre-clair);
}
.pied__bas p { margin: 0; }
.pied__avertissement { max-width: 34rem; line-height: 1.6; }

/* --------------------------- Page de texte ----------------------------- */
.texte-legal h2 {
  font-size: 1.55rem;
  margin: 2.6rem 0 .8rem;
}
.texte-legal h2:first-of-type { margin-top: 1.5rem; }
.texte-legal p, .texte-legal li { color: var(--encre-doux); font-size: .98rem; }
.texte-legal ul { padding-left: 1.2rem; display: grid; gap: .4rem; }

/* ------------------------- Révélation au défilement -------------------- */
.reveler {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .95s cubic-bezier(.22,.61,.36,1) var(--retard, 0ms),
              transform .95s cubic-bezier(.22,.61,.36,1) var(--retard, 0ms);
  will-change: opacity, transform;
}
.reveler.vu { opacity: 1; transform: none; }

.retard-1 { --retard: 0ms; }
.retard-2 { --retard: 90ms; }
.retard-3 { --retard: 180ms; }
.retard-4 { --retard: 270ms; }
.retard-5 { --retard: 360ms; }

/* ------------------------------ Mobile --------------------------------- */
@media (max-width: 900px) {
  .grille-deux, .grille-rdv, .grille-infos { grid-template-columns: 1fr; }
  html { scroll-padding-top: 76px; }
}

@media (max-width: 760px) {
  .navigation__bouton { display: block; z-index: 2; }

  .navigation__liste {
    position: fixed;
    inset: 0 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6rem 1.75rem 2.5rem;
    background: rgba(250,246,239,.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 24px 48px rgba(46,58,52,.12);
    transform: translateY(-102%);
    transition: transform .55s cubic-bezier(.22,.61,.36,1);
  }
  .navigation__liste.ouvert { transform: translateY(0); }
  .navigation__liste li { border-bottom: 1px solid var(--trait-clair); }
  .navigation__liste li:last-child { border: 0; padding-top: 1.4rem; }
  .navigation__liste a:not(.bouton) {
    display: block;
    padding: 1rem 0;
    font-family: var(--serif);
    font-size: 1.3rem;
    color: var(--encre);
  }
  .navigation__liste .bouton { width: 100%; }

  .ouverture { min-height: 92svh; padding-top: 7rem; }
  .ouverture__actions .bouton { width: 100%; }
  .marque__sous { display: none; }
  .marque__nom { font-size: 1.3rem; letter-spacing: .04em; }
  .marque__sceau { width: 32px; }
  .recapitulatif dl > div { flex-direction: column; gap: .15rem; }
  .recapitulatif dd { text-align: left; }
}

/* --------------------- Préférences d'accessibilité --------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveler { opacity: 1; transform: none; }
}

@media print {
  .entete, .ouverture__fleche, .navigation, .section--sauge { display: none; }
  body { background: #fff; color: #000; }
}
