/* =========================================================================
   EMMA DELPORTE  ·  Private Animal Osteopath
   Feuille de style unique. Palette et typographies conformes a la
   charte graphique de marque (06/08/26).
   ========================================================================= */

/* ---------------------------------------------------------------- POLICES */
@font-face {
  font-family: 'Span';
  src: url('../fonts/span-light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Span';
  src: url('../fonts/span-semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('../fonts/outfit-var.woff2') format('woff2-variations');
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Allura';
  src: url('../fonts/allura.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ----------------------------------------------------------------- TOKENS */
:root {
  /* Palette charte */
  --ebene: #1f1d1d;
  --lin: #efe6e1;
  --brun: #834f2e;

  /* Declinaisons */
  --ebene-profond: #141212;
  --ebene-clair: #2b2726;
  --brun-clair: #a9683d;
  --brun-lisible: #bb7343;   /* meme teinte, portee au seuil AA sur ebene */
  --brun-sombre: #5e3821;
  --lin-sourd: #d8ccc5;

  /* Encres sur fond ebene */
  --sur-ebene: #efe6e1;
  --sur-ebene-70: rgba(239, 230, 225, .70);
  --sur-ebene-45: rgba(239, 230, 225, .56);
  --filet-ebene: rgba(239, 230, 225, .16);

  /* Encres sur fond lin */
  --sur-lin: #1f1d1d;
  --sur-lin-70: rgba(31, 29, 29, .72);
  --sur-lin-45: rgba(31, 29, 29, .66);
  --filet-lin: rgba(31, 29, 29, .16);

  /* Typographies */
  --titre: 'Span', 'Lora', 'Times New Roman', serif;
  --corps: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --accent: 'Allura', 'Snell Roundhand', cursive;

  /* Echelle typographique fluide */
  --t-hero: clamp(2.6rem, min(7vw, 10.6vh), 6.6rem);
  --t-1: clamp(2.1rem, 5vw, 4.25rem);
  --t-2: clamp(1.5rem, 2.9vw, 2.4rem);
  --t-3: clamp(1.12rem, 1.5vw, 1.4rem);
  --t-corps: clamp(1rem, .42vw + .92rem, 1.1rem);
  --t-petit: .8125rem;
  --t-micro: .6875rem;

  /* Rythme */
  --section-y: clamp(5.5rem, 11vw, 11rem);
  --gouttiere: clamp(1.5rem, 5vw, 6.5rem);
  --largeur: 1560px;

  /* Mouvement */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --duree: .8s;
}

/* ------------------------------------------------------------------ RESET */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}
body {
  margin: 0;
  background: var(--ebene);
  color: var(--sur-ebene);
  font-family: var(--corps);
  font-size: var(--t-corps);
  font-weight: 300;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
:focus-visible {
  outline: 1px solid var(--brun-clair);
  outline-offset: 4px;
}
::selection { background: var(--brun); color: var(--lin); }

/* ------------------------------------------------------------ UTILITAIRES */
.sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.enveloppe {
  width: 100%;
  max-width: var(--largeur);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}
.section { padding-block: var(--section-y); position: relative; }
.sur-lin {
  background: var(--lin);
  color: var(--sur-lin);
}
.sur-ebene { background: var(--ebene); color: var(--sur-ebene); }

/* Titres */
.titre-1 {
  font-family: var(--titre);
  font-weight: 300;
  font-size: var(--t-1);
  line-height: 1.02;
  letter-spacing: -.018em;
  text-wrap: balance;
}
.titre-2 {
  font-family: var(--titre);
  font-weight: 300;
  font-size: var(--t-2);
  line-height: 1.14;
  letter-spacing: -.012em;
}
.chapo {
  font-family: var(--titre);
  font-weight: 300;
  font-size: var(--t-3);
  line-height: 1.5;
  letter-spacing: -.005em;
  color: var(--sur-ebene-70);
}
.sur-lin .chapo { color: var(--sur-lin-70); }
.texte { max-width: 52ch; color: var(--sur-ebene-70); }
.sur-lin .texte { color: var(--sur-lin-70); }
.texte + .texte { margin-top: 1.35em; }

/* Lien souligne qui se trace */
.lien {
  position: relative;
  display: inline-block;
  padding-bottom: .18em;
  color: inherit;
}
.lien::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  opacity: .35;
  transform: scaleX(1);
  transform-origin: right;
  transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.lien:hover::after { opacity: .9; transform: scaleX(1); }

/* Bouton principal */
.bouton {
  --fond: var(--brun);
  --encre: var(--lin);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  padding: 1.06rem 2.15rem;
  border: 1px solid var(--fond);
  background: var(--fond);
  color: var(--encre);
  font-size: var(--t-micro);
  font-weight: 400;
  letter-spacing: .24em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: color .55s var(--ease), border-color .55s var(--ease);
}
.bouton span { position: relative; z-index: 1; }
.bouton::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--lin);
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.bouton:hover { color: var(--brun-sombre); border-color: var(--lin); }
.bouton:hover::before { transform: translateY(0); }
.bouton--fantome {
  --fond: transparent;
  --encre: var(--sur-ebene);
  border-color: var(--filet-ebene);
}
.bouton--fantome:hover { color: var(--ebene); }

/* Fleche discrete */
.fleche { width: 1.1em; height: 1.1em; flex: none; }

/* Grain argentique tres leger, cale sur tout le document */
.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Filigrane monogramme */
.filigrane {
  position: absolute;
  pointer-events: none;
  opacity: .032;
  z-index: 0;
}
.filigrane img { width: 100%; height: auto; }

/* ================================================================== NAV == */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding-block: clamp(1rem, 1.7vw, 1.6rem);
  transition: background .55s var(--ease), padding .55s var(--ease),
              box-shadow .55s var(--ease);
}
.nav::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 18, .88);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--filet-ebene);
  opacity: 0;
  transition: opacity .55s var(--ease);
  z-index: -1;
}
.nav.est-dense { padding-block: .85rem; }
.nav.est-dense::after { opacity: 1; }
.nav__interieur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav__logo {
  width: clamp(132px, 12vw, 168px);
  transition: width .55s var(--ease), opacity .4s var(--ease);
}
.nav__logo:hover { opacity: .78; }
.nav.est-dense .nav__logo { width: clamp(118px, 10vw, 142px); }
.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 2.6vw, 2.9rem);
}
.nav__lien {
  position: relative;
  font-size: var(--t-micro);
  font-weight: 300;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sur-ebene-70);
  transition: color .4s var(--ease);
  padding-block: .3rem;
}
.nav__lien::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--brun-clair);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.nav__lien:hover { color: var(--lin); }
.nav__lien:hover::after,
.nav__lien.est-actif::after { transform: scaleX(1); }
.nav__lien.est-actif { color: var(--lin); }

.nav__droite { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.9rem); }
.langues {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: var(--t-micro);
  letter-spacing: .16em;
  color: var(--sur-ebene-45);
}
.langues a { transition: color .4s var(--ease); }
.langues a:hover { color: var(--lin); }
.langues [aria-current='true'] { color: var(--lin); }
.langues i { font-style: normal; opacity: .35; }

.nav__contact {
  font-size: var(--t-micro);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--lin);
  border: 1px solid var(--filet-ebene);
  padding: .72rem 1.35rem;
  transition: background .5s var(--ease), color .5s var(--ease),
              border-color .5s var(--ease);
}
.nav__contact:hover {
  background: var(--brun);
  border-color: var(--brun);
  color: var(--lin);
}

/* Bouton burger */
.burger {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 10px;
  width: 24px; height: 1px;
  background: var(--lin);
  transition: transform .5s var(--ease), opacity .3s var(--ease);
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; }
.burger.est-ouvert span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.burger.est-ouvert span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* ================================================================= HERO == */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr minmax(0, 42%);
  align-items: stretch;
  overflow: hidden;
}
.hero__texte {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(7rem, 12vh, 9.5rem) clamp(2rem, 4vw, 4.5rem)
           clamp(4.5rem, 9vh, 7rem) var(--gouttiere);
  max-width: 62rem;
}
.hero__sur {
  font-size: var(--t-micro);
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--brun-clair);
  margin-bottom: clamp(1.6rem, 3vw, 2.5rem);
}
.hero__titre {
  font-family: var(--titre);
  font-weight: 300;
  font-size: var(--t-hero);
  line-height: .97;
  letter-spacing: -.028em;
  margin-bottom: clamp(1.7rem, 3vw, 2.6rem);
}
.hero__titre em {
  display: block;
  font-style: normal;
  color: var(--sur-ebene-70);
  padding-left: clamp(0px, 4vw, 3.6rem);
}
.hero__chapo {
  max-width: 41ch;
  color: var(--sur-ebene-70);
  margin-bottom: clamp(2.4rem, 4vw, 3.4rem);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.6rem);
  margin-bottom: clamp(3rem, 7vh, 5.5rem);
}
.hero__marqueurs {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.2rem, 3vw, 3.2rem);
  padding-top: clamp(1.4rem, 3vw, 2.2rem);
  border-top: 1px solid var(--filet-ebene);
  font-size: var(--t-micro);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sur-ebene-45);
}
.hero__media {
  position: relative;
  z-index: 1;
}
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% center;
}
/* Fondu de la photo vers l'ebene sur son bord gauche et en bas */
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--ebene) 0%, rgba(31,29,29,.86) 14%, rgba(31,29,29,.5) 38%, rgba(31,29,29,.12) 66%, rgba(31,29,29,0) 84%),
    linear-gradient(0deg, var(--ebene) 0%, rgba(31,29,29,.2) 22%, rgba(31,29,29,0) 42%);
}
.hero__filigrane {
  left: -7%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(320px, 46vw, 760px);
  opacity: .03;
}
.hero__scroll {
  position: absolute;
  right: var(--gouttiere);
  bottom: clamp(1.8rem, 4.5vh, 3.2rem);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .85rem;
  font-size: var(--t-micro);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--sur-ebene-45);
}
.hero__scroll i {
  display: block;
  width: 42px; height: 1px;
  background: var(--filet-ebene);
  position: relative;
  overflow: hidden;
}
.hero__scroll i::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--brun-clair);
  animation: filer 2.9s var(--ease) infinite;
}
@keyframes filer {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

/* =========================================================================
   ORNEMENTS DE MARQUE
   Trois signes tires du logotype, et rien d'autre :
   le double filet du cartouche, le point du sceau, la capitale espacee.
   ========================================================================= */

/* Libelle de section : capitale espacee soulignee du double filet */
.signe {
  display: inline-block;
  font-family: var(--titre);
  font-weight: 300;
  font-size: .8rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--brun-lisible);
  padding-bottom: .78rem;
  margin-bottom: clamp(2.2rem, 4.5vw, 3.6rem);
  position: relative;
}
.signe::before,
.signe::after {
  content: '';
  position: absolute;
  left: 0;
  right: .34em;
  height: 1px;
  background: currentColor;
}
.signe::before { bottom: 3px; opacity: .9; }
.signe::after  { bottom: 0;   opacity: .45; }
.sur-lin .signe { color: var(--brun); }

/* Point du sceau, employe en separateur et en ponctuation */
.point {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brun-clair);
  margin-inline: auto;
}
.sur-lin .point { background: var(--brun); }

/* Cartouche seul, ornement de respiration entre deux mouvements */
.ornement {
  display: flex;
  justify-content: center;
  color: var(--brun-clair);
  opacity: .5;
}
.ornement svg,
.ornement img { height: clamp(30px, 3.4vw, 44px); width: auto; }
.sur-lin .ornement { color: var(--brun); opacity: .42; }

/* Colonne de lecture centree dans la page */
.colonne {
  max-width: 62ch;
  margin-inline: auto;
}
.colonne--large { max-width: 44rem; }

/* Mentions en ligne, ponctuees du point de marque */
.mentions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .55rem 1.4rem;
  font-size: var(--t-micro);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sur-lin-45);
}
.sur-ebene .mentions { color: var(--sur-ebene-45); }
.mentions li { display: flex; align-items: center; gap: 1.4rem; }
.mentions li:not(:last-child)::after {
  content: '';
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--brun);
  opacity: .8;
}
.sur-ebene .mentions li:not(:last-child)::after { background: var(--brun-clair); }

/* ==============================================================  APPROCHE  =
   Premier mouvement : une page de titre. Colonne unique, marges immenses.
   ========================================================================= */

.approche__phrase {
  font-family: var(--titre);
  font-weight: 300;
  font-size: clamp(1.75rem, 3.45vw, 2.95rem);
  line-height: 1.17;
  letter-spacing: -.014em;
  margin-bottom: clamp(2rem, 3.6vw, 2.9rem);
  text-wrap: balance;
}
.approche__prose { max-width: 40rem; }
.approche__prose p + p { margin-top: 1.35em; }

.signature {
  margin-top: clamp(2.4rem, 4vw, 3.4rem);
  display: flex;
  align-items: baseline;
  gap: 1.3rem;
}
.signature span {
  font-family: var(--accent);
  font-size: clamp(2.5rem, 4.2vw, 3.5rem);
  line-height: 1;
  color: var(--brun);
}
.signature i {
  font-style: normal;
  font-size: var(--t-micro);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--sur-lin-45);
}

/* Photographie en debord, calee sur la marge droite de la page */
.approche__media {
  margin-top: clamp(3.5rem, 7vw, 6.5rem);
  margin-left: auto;
  width: min(100%, 62rem);
}
.approche__media img { width: 100%; }
.legende {
  margin-top: 1rem;
  font-size: var(--t-micro);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sur-lin-45);
}
.sur-ebene .legende { color: var(--sur-ebene-45); }

.approche__mentions { margin-top: clamp(3.5rem, 6vw, 5.5rem); }

/* ===============================================================  ESPECES  =
   Deuxieme mouvement : une frise de planches. Aucune boite, aucun cadre.
   ========================================================================= */
.especes__entree {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 5rem);
  margin-bottom: clamp(4rem, 8vw, 7rem);
}
.especes__entree .chapo { max-width: 34ch; }

.frise {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.8rem, 4vw, 4.5rem);
}
.espece { position: relative; }
.espece__planche {
  position: relative;
  aspect-ratio: 7 / 5;
  margin-bottom: clamp(1.7rem, 2.6vw, 2.4rem);
  background-color: var(--lin-sourd);
  -webkit-mask-position: center bottom;
  mask-position: center bottom;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  opacity: .58;
  transition: opacity .8s var(--ease), background-color .8s var(--ease),
              transform 1s var(--ease);
}
.espece:hover .espece__planche {
  opacity: 1;
  background-color: var(--lin);
  transform: translateY(-6px);
}
.espece--cheval .espece__planche { -webkit-mask-image: url('../img/sq-cheval.webp'); mask-image: url('../img/sq-cheval.webp'); }
.espece--chien  .espece__planche { -webkit-mask-image: url('../img/sq-chien.webp');  mask-image: url('../img/sq-chien.webp'); }
.espece--chat   .espece__planche { -webkit-mask-image: url('../img/sq-chat.webp');   mask-image: url('../img/sq-chat.webp'); }
.espece--vache  .espece__planche { -webkit-mask-image: url('../img/sq-vache.webp');  mask-image: url('../img/sq-vache.webp'); }

/* Le nom reprend la construction du logotype : capitale espacee, double filet */
.espece__nom {
  font-family: var(--titre);
  font-weight: 300;
  font-size: clamp(.82rem, 1vw, .95rem);
  letter-spacing: .26em;
  text-transform: uppercase;
  padding-bottom: .85rem;
  margin-bottom: 1.1rem;
  position: relative;
}
.espece__nom::before,
.espece__nom::after {
  content: '';
  position: absolute;
  left: 0;
  height: 1px;
  background: currentColor;
  width: 100%;
  transition: width .9s var(--ease), opacity .7s var(--ease);
}
.espece__nom::before { bottom: 3px; opacity: .3; }
.espece__nom::after  { bottom: 0;   opacity: .16; }
.espece:hover .espece__nom::before { opacity: .75; }
.espece:hover .espece__nom::after  { opacity: .4; }
.espece__note {
  font-size: var(--t-petit);
  line-height: 1.72;
  color: var(--sur-ebene-45);
  transition: color .7s var(--ease);
}
.espece:hover .espece__note { color: var(--sur-ebene-70); }

/* ================================================================  MOTIFS  =
   Troisieme mouvement : une litanie. Le texte coule, ponctue du point
   de marque, au lieu d'etre range dans une liste numerotee.
   ========================================================================= */
.motifs { position: relative; }
.motifs__grille {
  display: grid;
  grid-template-columns: minmax(0, .52fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6.5rem);
  align-items: center;
}
.motifs__media img { width: 100%; }
.motifs__phrase {
  font-family: var(--titre);
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.18;
  letter-spacing: -.014em;
  margin-bottom: clamp(1.8rem, 3.2vw, 2.6rem);
  text-wrap: balance;
}

.litanie {
  font-family: var(--titre);
  font-weight: 300;
  font-size: clamp(1.18rem, 1.85vw, 1.62rem);
  line-height: 1.62;
  letter-spacing: -.004em;
  color: var(--sur-lin);
  max-width: 46ch;
}
.litanie li { display: inline; }
.litanie li::after {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--brun);
  margin: 0 .62em .18em;
  opacity: .78;
}
.litanie li:last-child::after { content: none; }

/* Le motif qui signe la clientele, sorti de la litanie */
.exergue {
  margin-top: clamp(2.4rem, 4.4vw, 3.6rem);
  padding-top: clamp(1.6rem, 2.6vw, 2.2rem);
  position: relative;
  max-width: 44ch;
}
.exergue::before,
.exergue::after {
  content: '';
  position: absolute;
  left: 0;
  width: 4.5rem;
  height: 1px;
  background: var(--brun);
}
.exergue::before { top: 0; opacity: .85; }
.exergue::after  { top: 3px; opacity: .4; }
.exergue b {
  display: block;
  font-family: var(--titre);
  font-weight: 300;
  font-size: clamp(1.22rem, 1.95vw, 1.7rem);
  line-height: 1.28;
  letter-spacing: -.008em;
  color: var(--brun-sombre);
  margin-bottom: .6rem;
}
.exergue i {
  font-style: normal;
  font-size: var(--t-petit);
  line-height: 1.66;
  color: var(--sur-lin-45);
}

/* =======================================================  PRISE EN CHARGE  =
   Quatrieme mouvement : une prose en colonne, comme une lettre.
   Les moments se succedent, separes par le point du sceau.
   ========================================================================= */
.parcours { position: relative; overflow: hidden; }
.parcours__fond {
  position: absolute;
  inset: 0;
  background-image: url('../img/cuir.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: .10;
  pointer-events: none;
  z-index: 0;
}
.parcours .enveloppe { position: relative; z-index: 1; }
.parcours__entree {
  text-align: center;
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
}
.parcours__phrase {
  font-family: var(--titre);
  font-weight: 300;
  font-size: clamp(1.8rem, 3.6vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -.018em;
  margin-bottom: clamp(1.4rem, 2.4vw, 2rem);
  text-wrap: balance;
}
.parcours__entree .chapo { max-width: 44ch; margin-inline: auto; }

.moments { max-width: 60ch; margin-inline: auto; }
.moment { text-align: center; }
.moment__titre {
  font-family: var(--titre);
  font-weight: 300;
  font-size: clamp(.84rem, 1vw, .96rem);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--brun-lisible);
  margin-bottom: 1.05rem;
}
.moment__note {
  color: var(--sur-ebene-70);
  font-size: var(--t-corps);
  line-height: 1.78;
}
.moments .point { margin-block: clamp(2rem, 3.6vw, 3rem); }

/* ============================================================  DISCRETION  =
   Cinquieme mouvement : le point culminant. Presque rien, tres grand.
   ========================================================================= */
.discretion {
  position: relative;
  background: var(--brun-sombre);
  color: var(--lin);
  overflow: hidden;
  text-align: center;
}
.discretion__fond {
  position: absolute;
  inset: 0;
  background-image: url('../img/cuir.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: .09;
  z-index: 0;
}
.discretion::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(115% 85% at 50% 4%, rgba(169,104,61,.28), rgba(169,104,61,.06) 55%, rgba(169,104,61,0) 78%);
  z-index: 0;
  pointer-events: none;
}
.discretion .enveloppe { position: relative; z-index: 1; }
.discretion .signe { color: rgba(239,230,225,.68); }
.discretion__sceau {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(2.4rem, 4.5vw, 3.8rem);
}
.discretion__sceau img { width: clamp(64px, 7vw, 96px); height: auto; opacity: .85; }
.discretion__phrase {
  font-family: var(--titre);
  font-weight: 300;
  font-size: clamp(2rem, 4.8vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: -.024em;
  margin-bottom: clamp(2.2rem, 4vw, 3.2rem);
  text-wrap: balance;
}
.discretion__phrase em { font-style: normal; color: rgba(239,230,225,.56); }
.discretion__texte {
  max-width: 52ch;
  margin-inline: auto;
  color: rgba(239,230,225,.8);
}
.discretion__texte + .discretion__texte { margin-top: 1.3em; }
.nda {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  margin-top: clamp(2.6rem, 4.4vw, 3.6rem);
  padding-bottom: .8rem;
  font-size: var(--t-micro);
  letter-spacing: .28em;
  text-transform: uppercase;
  position: relative;
}
.nda::before,
.nda::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: currentColor;
}
.nda::before { bottom: 3px; opacity: .55; }
.nda::after  { bottom: 0;   opacity: .25; }
.nda svg { width: 1.05em; height: 1.05em; opacity: .8; }

/* ============================================================  TERRITOIRE  =
   Sixieme mouvement : retour a l'asymetrie, la photographie reprend la main.
   ========================================================================= */
.territoire__grille {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  gap: clamp(2.5rem, 6vw, 6.5rem);
  align-items: center;
}
.territoire__phrase {
  font-family: var(--titre);
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -.014em;
  margin-bottom: clamp(1.6rem, 3vw, 2.3rem);
  text-wrap: balance;
}
.lieux {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.15rem;
  margin-top: clamp(2.2rem, 3.6vw, 3rem);
  padding-top: clamp(1.4rem, 2.4vw, 1.9rem);
  position: relative;
  font-family: var(--titre);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sur-lin-70);
}
.lieux::before,
.lieux::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4.5rem; height: 1px;
  background: var(--brun);
}
.lieux::before { opacity: .85; }
.lieux::after  { top: 3px; opacity: .4; }
.lieux li { display: flex; align-items: center; gap: 1.15rem; }
.lieux li:not(:last-child)::after {
  content: '';
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--brun);
  opacity: .7;
}
.territoire__media img { width: 100%; }

/* ===============================================================  CONTACT  =
   Septieme mouvement : la demande. Sobriete de la papeterie.
   ========================================================================= */
.contact { position: relative; overflow: hidden; }
.contact__filigrane {
  right: -3%;
  bottom: 4%;
  width: clamp(240px, 26vw, 430px);
  opacity: .03;
}
.contact__grille {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .68fr);
  gap: clamp(3rem, 7vw, 7.5rem);
  align-items: start;
}
.contact__phrase {
  font-family: var(--titre);
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.14;
  letter-spacing: -.014em;
  margin-bottom: clamp(1.6rem, 3vw, 2.2rem);
}

.champ { position: relative; margin-bottom: clamp(1.5rem, 2.3vw, 2rem); }
.champ label {
  display: block;
  font-size: var(--t-micro);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sur-ebene-45);
  margin-bottom: .7rem;
}
.champ input,
.champ select,
.champ textarea {
  width: 100%;
  padding: .85rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--filet-ebene);
  color: var(--lin);
  font-size: 1.02rem;
  font-weight: 300;
  border-radius: 0;
  transition: border-color .5s var(--ease);
}
.champ textarea { resize: vertical; min-height: 5.5rem; line-height: 1.6; }
.champ select {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23efe6e1' stroke-width='1.2' opacity='.55'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .2rem center;
  background-size: 12px;
}
.champ select option { background: var(--ebene-profond); color: var(--lin); }
.champ input:focus,
.champ select:focus,
.champ textarea:focus { outline: none; border-bottom-color: var(--brun-clair); }
.champ input::placeholder,
.champ textarea::placeholder { color: rgba(239,230,225,.26); }
.champs-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(1.5rem, 3vw, 2.5rem); }

.pot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.consentement {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  margin-block: clamp(1.4rem, 2.4vw, 2rem);
  font-size: var(--t-petit);
  line-height: 1.62;
  color: var(--sur-ebene-45);
  cursor: pointer;
}
.consentement input {
  flex: none;
  width: 16px; height: 16px;
  margin-top: .28rem;
  accent-color: var(--brun);
  cursor: pointer;
}

/* Note de confidentialite, tenue par le double filet et non par un cadre */
.mention-nda {
  position: relative;
  padding-top: clamp(1.3rem, 2.2vw, 1.7rem);
  margin-bottom: clamp(2.4rem, 4vw, 3.2rem);
  max-width: 54ch;
  font-size: var(--t-petit);
  line-height: 1.72;
  color: var(--sur-ebene-70);
}
.mention-nda::before,
.mention-nda::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4.5rem; height: 1px;
  background: var(--brun-clair);
}
.mention-nda::before { opacity: .9; }
.mention-nda::after  { top: 3px; opacity: .42; }

/* Coordonnees : de l'espace, pas de tableau */
.coordonnees { display: grid; gap: clamp(1.6rem, 2.8vw, 2.4rem); }
.coordonnee { display: block; transition: transform .6s var(--ease); }
a.coordonnee:hover { transform: translateX(6px); }
.coordonnee dt {
  font-size: var(--t-micro);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--sur-ebene-45);
  margin-bottom: .55rem;
}
.coordonnee dd {
  margin: 0;
  font-family: var(--titre);
  font-weight: 300;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  letter-spacing: -.004em;
  font-feature-settings: 'onum' 1;
  transition: color .5s var(--ease);
}
a.coordonnee:hover dd { color: var(--brun-clair); }

.contact__portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin-top: clamp(2.4rem, 4vw, 3.4rem);
}
.contact__portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.reponse {
  margin-top: 1.5rem;
  padding-left: 1.1rem;
  border-left: 1px solid var(--brun-clair);
  font-size: var(--t-petit);
  line-height: 1.66;
  color: var(--sur-ebene-70);
  display: none;
}
.reponse.est-visible { display: block; }
.reponse.est-erreur { border-color: #c26a4f; color: #e2b3a2; }

/* ================================================================  FOOTER  =
   ========================================================================= */
.pied {
  background: var(--ebene-profond);
  padding-block: clamp(3.5rem, 6vw, 5.5rem) clamp(2rem, 3vw, 2.6rem);
}
.pied__haut {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
}
.pied__logo { width: clamp(150px, 15vw, 205px); }
.pied__baseline {
  margin-top: 1.4rem;
  font-size: var(--t-micro);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sur-ebene-45);
  line-height: 2;
}
.pied__colonnes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: clamp(1.8rem, 3vw, 2.6rem);
}
.pied__titre {
  font-family: var(--titre);
  font-size: .74rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--sur-ebene-45);
  margin-bottom: 1.2rem;
  padding-bottom: .7rem;
  position: relative;
}
.pied__titre::before,
.pied__titre::after {
  content: '';
  position: absolute;
  left: 0; width: 2.2rem; height: 1px;
  background: currentColor;
}
.pied__titre::before { bottom: 3px; opacity: .6; }
.pied__titre::after  { bottom: 0;   opacity: .28; }
.pied__liste li { margin-bottom: .68rem; }
.pied__liste a, .pied__liste span {
  font-size: var(--t-petit);
  color: var(--sur-ebene-70);
  transition: color .4s var(--ease);
}
.pied__liste a:hover { color: var(--lin); }
.pied__bas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: clamp(1.6rem, 2.6vw, 2.2rem);
  border-top: 1px solid var(--filet-ebene);
  font-size: var(--t-micro);
  letter-spacing: .13em;
  color: var(--sur-ebene-45);
}
.pied__bas a:hover { color: var(--lin); }

/* =======================================================  PAGE SECONDAIRE  =
   ========================================================================= */
.page-texte { padding-top: clamp(9rem, 15vh, 12rem); }
.page-texte h2 {
  font-family: var(--titre);
  font-weight: 300;
  font-size: clamp(1.28rem, 1.9vw, 1.6rem);
  letter-spacing: .04em;
  margin-top: clamp(2.6rem, 4.4vw, 3.6rem);
  margin-bottom: 1.1rem;
}
.page-texte p, .page-texte li { color: var(--sur-ebene-70); max-width: 68ch; }
.page-texte p { margin-bottom: 1rem; }
.page-texte ul { margin-bottom: 1rem; }
.page-texte li { padding-left: 1.3rem; position: relative; margin-bottom: .5rem; }
.page-texte li::before {
  content: '';
  position: absolute;
  left: 0; top: .72em;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--brun-clair);
}
.page-texte a { color: var(--brun-clair); text-decoration: underline; text-underline-offset: .22em; }

/* ============================================================  ANIMATIONS  =
   ========================================================================= */
.js .revele {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--duree) var(--ease), transform var(--duree) var(--ease);
  transition-delay: var(--retard, 0ms);
}
.js .revele.est-visible { opacity: 1; transform: none; }

/* ============================================================  RESPONSIVE  =
   ========================================================================= */
@media (max-width: 1180px) {
  .hero { grid-template-columns: 1fr minmax(0, 38%); }
  .frise { grid-template-columns: repeat(2, 1fr); gap: clamp(2.5rem, 5vw, 4rem); }
}

@media (max-width: 980px) {
  .nav__menu {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 1.6rem;
    background: var(--ebene-profond);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s var(--ease), visibility .5s var(--ease);
  }
  .nav__menu.est-ouvert { opacity: 1; visibility: visible; }
  .nav__menu .nav__lien { font-size: 1rem; letter-spacing: .18em; }
  .burger { display: block; z-index: 2; }
  .nav__contact { display: none; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__media { grid-row: 1; aspect-ratio: 4 / 5; max-height: 70svh; }
  .hero__media img { object-position: 58% 32%; }
  .hero__media::after {
    background: linear-gradient(0deg, var(--ebene) 2%, rgba(31,29,29,.35) 45%, rgba(31,29,29,.15) 100%);
  }
  .hero__texte {
    grid-row: 2;
    padding: clamp(2.5rem, 6vw, 4rem) var(--gouttiere) clamp(4.5rem, 9vw, 6rem);
    margin-top: -14vh;
  }
  .hero__scroll, .hero__filigrane { display: none; }

  .motifs__grille,
  .territoire__grille,
  .contact__grille,
  .pied__haut { grid-template-columns: 1fr; }
  .motifs__media, .territoire__media { order: -1; }
  .approche__media { width: 100%; }
  .especes__entree { display: block; }
  .especes__entree .chapo { margin-top: 1.6rem; max-width: none; }
}

@media (max-width: 620px) {
  :root { --t-hero: clamp(2.35rem, 11vw, 3.4rem); }
  .frise { grid-template-columns: 1fr; gap: clamp(2.2rem, 6vw, 3rem); }
  .espece__planche { aspect-ratio: 16 / 7; }
  .champs-2 { grid-template-columns: 1fr; }
  .hero__marqueurs { gap: .55rem 1.4rem; }
  .litanie { font-size: 1.12rem; }
  /* Empilees, les mentions n'ont plus besoin du point de separation :
     il resterait orphelin en fin de ligne. */
  .mentions {
    display: block;
    justify-content: flex-start;
    line-height: 2.1;
  }
  .mentions li { display: block; }
  .mentions li:not(:last-child)::after { display: none; }
  .lieux { line-height: 2; }
}

/* ===========================================================  A11Y  PRINT  =
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .revele { opacity: 1; transform: none; }
}

@media print {
  .nav, .grain, .hero__scroll, .parcours__fond, .discretion__fond, .ornement { display: none; }
  body { background: #fff; color: #000; }
}
