/* ==========================================================================
   JP ÉLAGAGE — Feuille de style principale
   Palette : vert forêt / vert mousse / beige / orange sécurité
   Tout le site utilise ce fichier unique.
   ========================================================================== */

/* ------------------------------------------------------ 0. Polices locales
   Les polices sont hébergées sur le serveur du site (dossier /fonts).
   Aucune requête vers Google Fonts : aucune adresse IP de visiteur n'est
   transmise à un tiers, et le site fonctionne même sans réseau externe.
   Archivo et Inter sont sous licence SIL Open Font License 1.1
   (voir fonts/LICENCE-Archivo.txt et fonts/LICENCE-Inter.txt).
   Les fichiers « latin-ext » ne sont téléchargés par le navigateur que si
   un caractère rare l'exige : dans les faits, ils ne se chargent jamais.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
                 U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
                 U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------- 1. Tokens */
:root {
  --forest: #173D2B;
  --forest-deep: #0F2A1D;
  --forest-soft: #1E4C36;
  --moss: #58724A;
  --moss-light: #7C9468;
  --beige: #F3EFE5;
  --beige-deep: #E7E0D0;
  --off: #FCFBF7;
  --orange: #E87824;
  --orange-dark: #C35F14;
  --orange-ondark: #F6A05A;
  --ink: #17201A;
  --muted: #4A5A4E;
  --muted-ondark: #C3D2C4;
  --line: rgba(23, 32, 26, .12);
  --line-strong: rgba(23, 32, 26, .22);

  --r-xs: 8px;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 28px;
  --r-xl: 40px;

  --shadow-sm: 0 1px 2px rgba(15, 42, 29, .06), 0 2px 8px rgba(15, 42, 29, .05);
  --shadow: 0 2px 6px rgba(15, 42, 29, .06), 0 18px 40px -20px rgba(15, 42, 29, .35);
  --shadow-lg: 0 30px 70px -32px rgba(15, 42, 29, .5);

  --wrap: 1180px;
  --gutter: clamp(18px, 5vw, 40px);
  --section: clamp(60px, 8vw, 110px);

  --font-title: "Archivo", "Archivo Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------------------------------------------------------------- 2. Reset */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--off);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3, h4, .h-title {
  font-family: var(--font-title);
  font-variation-settings: "wdth" 88;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.3rem, 6.2vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 4.2vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); line-height: 1.2; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--orange); color: #fff; }

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

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 999;
  background: var(--forest); color: #fff;
  padding: 12px 20px; border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 600; text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

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

/* -------------------------------------------------------------- 3. Layout */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 820px; }

.section { padding-block: var(--section); position: relative; }
.section--beige { background: var(--beige); }
.section--forest { background: var(--forest); color: var(--off); }
.section--forest h2, .section--forest h3 { color: #fff; }
.section--tight { padding-block: clamp(44px, 6vw, 72px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-title);
  font-variation-settings: "wdth" 92;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--moss);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px;
  background: var(--orange); border-radius: 2px; flex: none;
}
.section--forest .eyebrow, .hero .eyebrow { color: var(--orange-ondark); }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  color: var(--muted);
  max-width: 62ch;
}
.section--forest .lead { color: var(--muted-ondark); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 54px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-inline: auto; }

/* Fine lignes topographiques (motif Pyrénées) */
.topo {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("../images/topo.svg");
  background-size: 900px auto;
  background-position: center;
  opacity: .5;
}
.section--forest .topo { opacity: .28; }

/* -------------------------------------------------------------- 4. Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-title);
  font-variation-settings: "wdth" 95;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
  line-height: 1.15;
  text-align: center;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--orange); color: var(--ink); box-shadow: 0 8px 20px -12px rgba(232, 120, 36, .75); }
.btn--primary:hover { background: #F58B36; }
/* Sur ordinateur, l'ombre orange est volontairement plus discrète. */
@media (min-width: 768px) {
  .btn--primary { box-shadow: 0 4px 14px -10px rgba(232, 120, 36, .5); }
  .btn--primary:hover { box-shadow: 0 8px 18px -12px rgba(232, 120, 36, .55); }
}

.btn--forest { background: var(--forest); color: #fff; }
.btn--forest:hover { background: var(--forest-soft); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--forest); background: rgba(23, 61, 43, .05); }

.btn--ghost-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(4px); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .18); border-color: #fff; }

.btn--sm { padding: 11px 18px; font-size: .92rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--forest);
  text-decoration: none;
  border-bottom: 2px solid rgba(232, 120, 36, .45);
  padding-bottom: 2px;
  transition: border-color .18s ease, gap .18s ease;
}
.link-arrow:hover { border-color: var(--orange); gap: 12px; }
.link-arrow::after { content: "→"; font-size: 1.05em; line-height: 1; }

/* -------------------------------------------------------------- 5. Header */
.header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(252, 251, 247, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex; align-items: center; gap: 18px;
  min-height: 82px;
  padding-block: 12px;
}

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.logo__mark { width: 42px; height: 42px; flex: none; }
.logo__text {
  font-family: var(--font-title);
  font-variation-settings: "wdth" 85;
  font-weight: 800;
  line-height: .96;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--forest);
  /* « JP » étant court, le sigle est un peu plus gros et la baseline resserrée,
     pour que les deux lignes aient sensiblement la même largeur. */
  font-size: 1.62rem;
}
.logo__text span { display: block; font-size: .54em; font-weight: 600; letter-spacing: .15em; color: var(--moss); margin-top: 2px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: .97rem;
  color: var(--ink);
  transition: background-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.nav a:hover { background: rgba(23, 61, 43, .07); }
.nav a[aria-current="page"] { color: var(--forest); font-weight: 600; background: rgba(23, 61, 43, .09); }
/* Largeurs intermédiaires : le menu est resserré pour tenir sur une seule ligne. */
@media (min-width: 1181px) and (max-width: 1340px) {
  .nav a { padding-inline: 10px; font-size: .93rem; }
  .header__phone { padding: 10px 12px; font-size: .95rem; }
}
/* Le bouton « Devis gratuit » du menu ne sert qu'en affichage mobile. */
.nav__cta { display: none; }

.header__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.header__phone {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; font-weight: 700;
  font-family: var(--font-title);
  font-variation-settings: "wdth" 92;
  color: var(--forest);
  padding: 10px 14px; border-radius: 999px;
  border: 2px solid var(--line-strong);
  white-space: nowrap;
  transition: border-color .15s ease, background-color .15s ease;
}
.header__phone:hover { border-color: var(--forest); background: rgba(23, 61, 43, .05); }
.header__phone svg { width: 17px; height: 17px; }

.burger {
  display: none;
  width: 46px; height: 46px;
  border: 2px solid var(--line-strong); border-radius: 50%;
  background: transparent; cursor: pointer;
  align-items: center; justify-content: center;
  flex: none;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--forest); position: relative; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--forest); border-radius: 2px;
  transition: transform .2s ease;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1180px) {
  .burger { display: inline-flex; margin-left: auto; }
  .header__phone { display: none; }
  .header__actions .btn { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--off);
    border-bottom: 1px solid var(--line);
    padding: 14px var(--gutter) 22px;
    box-shadow: var(--shadow);
    display: none;
    margin-left: 0;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 14px; border-radius: var(--r-sm); font-size: 1.05rem; }
  .nav .nav__cta { margin-top: 10px; display: block; }
  .nav .btn { display: inline-flex; }
}

/* ---------------------------------------------------------------- 6. Hero */
.hero {
  position: relative;
  color: #fff;
  background: var(--forest-deep);
  isolation: isolate;
  overflow: hidden;
}
/* La photo du hero est la 1re couche : si le fichier n'existe pas encore,
   le navigateur affiche automatiquement l'illustration de repli en dessous. */
.hero__media {
  position: absolute; inset: 0; z-index: -2;
  background-image: url("../images/hero-elagueur.webp"), url("../images/hero-fallback.svg");
  background-size: cover, cover;
  background-position: center 40%, center;
  background-repeat: no-repeat, no-repeat;
  background-color: var(--forest-deep);
}
/* Voile sombre : garantit la lisibilité du texte sur la photo */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(15, 42, 29, .72) 0%, rgba(15, 42, 29, .46) 45%, rgba(15, 42, 29, .82) 100%),
    /* Renfort local derrière le texte : garantit la lisibilité même sur une
       photographie claire (ciel, neige) sans assombrir toute l'image. */
    linear-gradient(100deg, rgba(10, 30, 20, .62) 0%, rgba(10, 30, 20, .42) 46%, transparent 78%);
}
.hero__inner {
  padding-block: clamp(72px, 12vw, 148px);
  max-width: 860px;
}
.hero h1 { color: #fff; margin-bottom: .32em; }
.hero__text {
  font-size: clamp(1.08rem, 1.9vw, 1.28rem);
  color: rgba(255, 255, 255, .92);
  max-width: 54ch;
  margin-bottom: 34px;
}
.hero .btn-row { margin-bottom: 38px; }

.proofs {
  display: flex; flex-wrap: wrap; gap: 10px 14px;
  padding: 0; margin: 0; list-style: none;
}
.proofs li {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .28);
  font-size: .94rem;
  font-weight: 500;
  backdrop-filter: blur(3px);
}
.proofs svg { width: 17px; height: 17px; color: var(--orange-ondark); flex: none; }

/* Bandeau de page (sous-pages) */
.page-banner {
  background: var(--forest);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-banner .topo { opacity: .22; }
.page-banner__inner { padding-block: clamp(48px, 7vw, 86px); position: relative; max-width: 780px; }
.page-banner h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.1rem); }
.page-banner p { color: var(--muted-ondark); font-size: 1.08rem; max-width: 60ch; margin-bottom: 0; }

.breadcrumb {
  font-size: .86rem; color: rgba(255, 255, 255, .72);
  margin-bottom: 14px;
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; opacity: .6; }
.breadcrumb a { color: rgba(255, 255, 255, .9); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.breadcrumb a:hover { border-color: #fff; }

/* ---------------------------------------------------------- 7. Prestations */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(18px, 2.4vw, 26px);
}
.card {
  background: var(--off);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(23, 61, 43, .28); }
.card__media {
  aspect-ratio: 16 / 10;
  background: var(--forest);
  background-size: cover; background-position: center;
  position: relative;
}
.card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15, 42, 29, .1), rgba(15, 42, 29, .55));
}
/* Depuis l'intégration des vrais visuels, l'icône n'occupe plus le centre de
   l'image : elle devient une pastille discrète dans le coin. */
.card__icon {
  position: absolute; z-index: 1;
  left: 14px; bottom: 14px;
  width: 46px; height: 46px; padding: 10px;
  color: #fff;
  background: rgba(15, 42, 29, .68);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 14px;
  backdrop-filter: blur(6px);
}
.card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body h2, .card__body h3 {
  margin: 0; color: var(--forest);
  font-size: clamp(1.18rem, 2vw, 1.4rem);
  overflow-wrap: break-word; hyphens: auto;
}
.card__body p { color: var(--muted); font-size: .98rem; margin: 0; flex: 1; }
.card__body .link-arrow { margin-top: 6px; align-self: flex-start; font-size: .96rem; }

/* ------------------------------------------------- 8. Blocs en deux colonnes */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- 9. Méthode */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(20px, 3vw, 30px);
  counter-reset: step;
  position: relative;
}
.step {
  position: relative;
  padding: 30px 26px 28px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r-lg);
}
.section--beige .step { background: var(--off); border-color: var(--line); }
.step__num {
  counter-increment: step;
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--orange); color: var(--ink);
  font-family: var(--font-title); font-weight: 800; font-size: 1.25rem;
  margin-bottom: 16px;
}
.step__num::before { content: counter(step); }
.step h3 { font-size: 1.16rem; margin-bottom: 8px; }
.step p { font-size: .96rem; color: var(--muted-ondark); margin: 0; }
.section--beige .step p { color: var(--muted); }

/* --------------------------------------------------------- 10. Réalisations */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(16px, 2.2vw, 24px);
}
.shot {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--moss);
  background-size: cover; background-position: center;
  border: 1px solid var(--line);
}
.shot__ph {
  position: absolute; inset: 0;
  display: grid; place-items: center; gap: 10px;
  background:
    linear-gradient(140deg, rgba(23, 61, 43, .94), rgba(88, 114, 74, .92)),
    url("../images/topo.svg") center / 520px auto;
  color: rgba(255, 255, 255, .82);
  text-align: center;
  padding: 20px;
  font-size: .9rem;
}
.shot__ph svg { width: 40px; height: 40px; opacity: .8; }
/* La vraie photo, quand elle existe, recouvre l'emplacement.
   Si le fichier est absent, l'attribut onerror la retire du DOM. */
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.shot__label {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  background: rgba(252, 251, 247, .94);
  color: var(--ink);
  font-family: var(--font-title); font-weight: 700; font-size: .78rem;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.gallery-note {
  margin-top: 22px;
  font-size: .92rem;
  color: var(--muted);
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--beige);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r);
  padding: 14px 18px;
}
.section--beige .gallery-note { background: var(--off); }
.gallery-note svg { width: 20px; height: 20px; flex: none; color: var(--moss); margin-top: 2px; }

/* --------------------------------------------------------------- 11. Secteur */
.zone-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
@media (max-width: 900px) { .zone-grid { grid-template-columns: 1fr; } }

.zone-map { width: 100%; max-width: 520px; margin-inline: auto; }

.dept-list { display: grid; gap: 14px; margin: 0 0 26px; padding: 0; list-style: none; }
.dept {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  border-radius: var(--r);
  background: var(--off);
  border: 1px solid var(--line);
}
.section--beige .dept { background: var(--off); }
/* Pastille de numéro de département dans les titres de la page Secteur */
.dept-tag {
  display: inline-grid; place-items: center;
  min-width: 56px; padding: 4px 12px;
  background: var(--forest); color: var(--beige);
  border-radius: var(--r-sm);
  font-family: var(--font-title); font-weight: 800;
  font-size: .62em; letter-spacing: .04em;
  vertical-align: middle;
}
.dept__num {
  font-family: var(--font-title); font-weight: 800; font-size: 1.5rem;
  color: var(--forest);
  background: var(--beige);
  width: 58px; height: 46px; border-radius: var(--r-sm);
  display: grid; place-items: center; flex: none;
}
.dept strong { display: block; font-size: 1.05rem; }
.dept span { color: var(--muted); font-size: .93rem; }

.chips { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; margin: 0; list-style: none; }
.chips li a, .chips li span {
  display: inline-block;
  padding: 8px 15px; border-radius: 999px;
  background: var(--off); border: 1px solid var(--line-strong);
  font-size: .92rem; text-decoration: none; color: var(--ink);
  transition: background-color .15s ease, border-color .15s ease;
}
.chips li a:hover { background: var(--forest); color: #fff; border-color: var(--forest); }
.section--forest .chips li a, .section--forest .chips li span {
  background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .3); color: #fff;
}

/* ------------------------------------------------------------ 12. Formulaire */
.form-section { background: var(--beige); position: relative; }
.form-shell {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
@media (max-width: 900px) { .form-shell { grid-template-columns: 1fr; } }

.form-side { position: sticky; top: 110px; }
@media (max-width: 900px) { .form-side { position: static; } }

.contact-block { display: grid; gap: 16px; margin-top: 26px; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; text-decoration: none; }
.contact-line svg { width: 22px; height: 22px; color: var(--orange); flex: none; margin-top: 3px; }
.contact-line strong { display: block; font-family: var(--font-title); font-weight: 700; font-size: 1.12rem; color: var(--forest); }
.contact-line span { color: var(--muted); font-size: .95rem; }
a.contact-line:hover strong { text-decoration: underline; }

.form-card {
  background: var(--off);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3.4vw, 40px);
  box-shadow: var(--shadow);
}
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .field-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .94rem; }
.field label .opt { font-weight: 400; color: var(--muted); font-size: .88em; }
.field .hint { font-size: .84rem; color: var(--muted); }

.field input, .field select, .field textarea {
  font: inherit;
  font-size: 1rem;
  padding: 13px 15px;
  border: 2px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink);
  width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 4px rgba(88, 114, 74, .18);
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: #B42318;
  box-shadow: 0 0 0 4px rgba(180, 35, 24, .12);
}
.field .error { color: #8E1B12; font-size: .86rem; font-weight: 500; min-height: 0; }

.field--file input[type="file"] { padding: 11px; background: var(--beige); border-style: dashed; cursor: pointer; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--forest); }
.consent a { color: var(--forest); }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  border-radius: var(--r);
  padding: 16px 20px;
  font-size: .96rem;
  display: none;
  gap: 12px;
  align-items: flex-start;
}
.form-status.is-visible { display: flex; }
.form-status svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.form-status--ok { background: #E7F3EA; border: 1px solid #A8CDB4; color: #14532D; }
.form-status--err { background: #FDECEA; border: 1px solid #F0B4AE; color: #8E1B12; }

/* ------------------------------------------------------------------ 13. FAQ */
.faq { display: grid; gap: 12px; max-width: 840px; }
.faq__item { background: var(--off); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 20px 56px 20px 22px;
  font-family: var(--font-title); font-weight: 700; font-size: 1.08rem;
  color: var(--forest); position: relative;
}
.faq__q::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--orange); line-height: 1;
}
.faq__q[aria-expanded="true"]::after { content: "–"; }
.faq__a { padding: 0 22px 22px; color: var(--muted); font-size: .98rem; display: none; }
.faq__a.is-open { display: block; }

/* --------------------------------------------------------------- 14. Footer */
.footer { background: var(--forest-deep); color: var(--muted-ondark); padding-block: clamp(48px, 6vw, 72px) 0; position: relative; overflow: hidden; }
.footer .topo { opacity: .16; }
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: clamp(26px, 4vw, 48px);
  position: relative;
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 {
  font-family: var(--font-title); font-weight: 700; font-size: .88rem;
  letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: var(--muted-ondark); text-decoration: none; font-size: .96rem; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .logo__text { color: #fff; }
.footer .logo__text span { color: var(--orange-ondark); }
.footer__about { font-size: .95rem; margin-top: 16px; max-width: 34ch; }
.footer__bottom {
  margin-top: clamp(34px, 5vw, 54px);
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-block: 22px;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  font-size: .88rem;
  position: relative;
}

/* ------------------------------------------------------- 15. Barre mobile */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: none;
  background: rgba(15, 42, 29, .97);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding: 8px max(8px, env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom));
}
.mobile-bar a {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 4px;
  text-decoration: none; color: #fff;
  font-size: .76rem; font-weight: 600;
  border-radius: var(--r-sm);
  min-height: 48px; justify-content: center;
}
.mobile-bar a svg { width: 21px; height: 21px; }
.mobile-bar a.is-accent { background: var(--orange); color: var(--ink); }
.mobile-bar a:active { background: rgba(255, 255, 255, .12); }
.mobile-bar a.is-accent:active { background: #F58B36; }

@media (max-width: 760px) {
  .mobile-bar { display: flex; gap: 6px; }
  body { padding-bottom: 76px; }
}

/* ------------------------------------------------------------- 16. Divers */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.4rem, 2.6vw, 1.85rem); }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; color: var(--muted); }
.prose li { margin-bottom: .5em; }
.prose a { color: var(--forest); }

.cta-band { background: var(--forest); color: #fff; position: relative; overflow: hidden; }
.cta-band__inner {
  padding-block: clamp(46px, 6vw, 76px);
  display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: space-between;
  position: relative;
}
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { color: var(--muted-ondark); margin: 0; max-width: 46ch; }

/* Information légale restant à fournir (visible uniquement en mode brouillon) */
.todo {
  display: inline-block;
  background: #FDECC8;
  border: 1px dashed #C78A20;
  color: #6B4A08;
  padding: 1px 9px;
  border-radius: 999px;
  font-size: .88em;
  font-weight: 600;
}

.note-box {
  background: var(--beige); border-left: 4px solid var(--orange);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 18px 22px; font-size: .95rem; color: var(--muted);
}

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.tile {
  display: block; text-decoration: none;
  padding: 24px 24px 26px;
  background: var(--off); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(23, 61, 43, .28); }
.tile strong { display: block; font-family: var(--font-title); font-weight: 800; font-size: 1.18rem; color: var(--forest); margin-bottom: 6px; }
.tile span { color: var(--muted); font-size: .95rem; }
