/* ==========================================================================
   Comptadour : blanc pur, un bleu franc (celui du logo, saturé), Jost géométrique.
   Motif : l'arc du « C » du logo, repris en cercles et quarts de cercle.
   ========================================================================== */

@font-face {
  font-family: "Jost";
  src: url("/fonts/jost-latin.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("/fonts/jost-italic-latin.woff2") format("woff2");
  font-weight: 400 600; font-style: italic; font-display: swap;
}
@font-face {           /* repli métrique proche pour limiter le saut au chargement */
  font-family: "Jost Repli";
  src: local("Arial");
  size-adjust: 96%; ascent-override: 104%; descent-override: 30%;
}

:root {
  --blanc: #ffffff;
  --encre: #0b1a26;          /* titres */
  --texte: #23323f;          /* corps */
  --gris: #586674;           /* secondaire : 5,9:1 sur blanc */
  --filet: #dfe5eb;
  --filet-fort: #c4ced8;
  --bleu: #0070b8;           /* accent : 5,2:1 sur blanc */
  --bleu-fonce: #005790;
  --bleu-nuit: #003e66;
  --bleu-voile: #eef6fc;     /* sélection, survol discret */
  --sur-bleu: #d6ebfa;       /* texte secondaire sur fond bleu */

  --f: "Jost", "Jost Repli", system-ui, sans-serif;
  --wrap: 1200px;
  --gout: clamp(20px, 4vw, 40px);
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --r: 6px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ombre: 0 18px 40px -22px rgba(11, 26, 38, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; scrollbar-color: var(--filet-fort) var(--blanc); }
body {
  margin: 0; background: var(--blanc); color: var(--texte);
  font: 400 1.0625rem/1.62 var(--f); font-kerning: normal;
  caret-color: var(--bleu); text-rendering: optimizeLegibility;
}
::selection { background: var(--bleu); color: var(--blanc); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bleu); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--bleu-fonce); }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { color: var(--encre); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 var(--s4); text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.7rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.03; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); font-weight: 500; letter-spacing: -.025em; }
h3 { font-size: 1.3rem; letter-spacing: -.01em; }
p { margin: 0 0 var(--s4); }
ul { margin: 0; padding: 0; }
strong, b { font-weight: 600; color: var(--encre); }
.nw { white-space: nowrap; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gout)); margin-inline: auto; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--encre); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }
.tab { font-variant-numeric: tabular-nums; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent;
  font: 500 1rem/1 var(--f); text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn .ico { transition: transform .3s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn--bleu { background: var(--bleu); color: #fff; }
.btn--bleu:hover { background: var(--bleu-fonce); color: #fff; }
.btn--ligne { border-color: var(--encre); color: var(--encre); background: transparent; }
.btn--ligne:hover { background: var(--encre); color: #fff; }
.btn--blanc { background: #fff; color: var(--bleu-nuit); }
.btn--blanc:hover { background: var(--bleu-voile); color: var(--bleu-nuit); }
.btn[disabled] { opacity: .55; cursor: progress; }
.lien-fleche { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; }
.lien-fleche .ico { transition: transform .3s var(--ease); }
.lien-fleche:hover .ico { transform: translateX(4px); }

/* ---------- En-tête ---------- */
.head { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--filet); }
.head__top { border-bottom: 1px solid var(--filet); font-size: .875rem; color: var(--gris); }
.head__top-in { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.head__top a { display: inline-flex; align-items: center; gap: 6px; color: var(--encre); text-decoration: none; font-weight: 500; }
.head__top a:hover { color: var(--bleu); }
.head__top .ico { width: 15px; height: 15px; }
.head__in { display: flex; align-items: center; gap: var(--s6); min-height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.logo img { width: auto; height: 60px; }
.logo__base { font-size: .78rem; line-height: 1.2; color: var(--gris); padding-left: 12px; border-left: 1px solid var(--filet-fort); }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; }
.nav a { display: block; padding: 10px 12px; color: var(--encre); text-decoration: none; font-weight: 500; border-radius: var(--r); }
.nav a:hover { color: var(--bleu); }
.nav a[aria-current="page"] { color: var(--bleu); box-shadow: inset 0 -2px 0 var(--bleu); border-radius: 0; }
.nav__mob { display: none !important; }
.head__actions { display: flex; align-items: center; gap: var(--s4); }
.head__tel { display: inline-flex; align-items: center; gap: 8px; color: var(--encre); font-weight: 600; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.head__tel .ico { color: var(--bleu); }
.head__tel:hover { color: var(--bleu); }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--filet-fort); border-radius: 50%; background: #fff; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.burger span { display: block; width: 18px; height: 2px; background: var(--encre); transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1100px) {
  .logo__base { display: none; }
  .nav a { padding: 10px 9px; }
}
@media (max-width: 960px) {
  .head__top { display: none; }
  .head__in { min-height: 64px; gap: var(--s4); }
  .logo img { height: 42px; }
  .burger { display: flex; }
  .head__devis { display: none; }
  .head__tel span { display: none; }
  .head__tel { width: 46px; height: 46px; justify-content: center; border-radius: 50%; background: var(--bleu); color: #fff; }
  .head__tel .ico { color: #fff; }
  .head__actions { margin-left: auto; }
  .nav { position: fixed; inset: 64px 0 0 0; background: #fff; padding: var(--s5) var(--gout) 120px; overflow-y: auto;
         transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; margin: 0; }
  .nav.ouvert { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { font-size: 1.5rem; padding: 14px 0; border-bottom: 1px solid var(--filet); border-radius: 0; display: flex; align-items: center; gap: 10px; }
  .nav a[aria-current="page"] { box-shadow: none; }
  .nav__mob { display: block !important; }
  .nav__bureaux { margin-top: var(--s6); }
  .nav__bureaux p { color: var(--gris); font-size: .9rem; margin-bottom: var(--s2); }
  .nav__bureaux a { display: flex; justify-content: space-between; font-size: 1.05rem; padding: 12px 0; font-variant-numeric: tabular-nums; }
  .nav__bureaux a span { color: var(--encre); }
}

/* ---------- Fil d'Ariane ---------- */
.fil { padding-top: var(--s5); font-size: .9rem; }
.fil ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; color: var(--gris); }
.fil li + li::before { content: "/"; margin-right: 6px; color: var(--filet-fort); }
.fil a { color: var(--gris); text-decoration: none; }
.fil a:hover { color: var(--bleu); text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--serre { padding-block: clamp(48px, 6vw, 80px); }
.section--filet { border-top: 1px solid var(--filet); }
.tete { max-width: 760px; margin-bottom: var(--s7); }
.tete p { color: var(--gris); font-size: 1.125rem; }
.lead { font-size: clamp(1.125rem, 1rem + .4vw, 1.3rem); line-height: 1.55; color: var(--texte); max-width: 62ch; }
.prose { max-width: 68ch; }
.prose h2 { margin-top: var(--s8); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--s6); }
.prose ul { margin: 0 0 var(--s5); }

/* Listes à coches */
.coches { list-style: none; display: grid; gap: 10px; margin-bottom: var(--s5); align-content: start; }
.coches li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.coches li::before { content: ""; width: 10px; height: 10px; margin-top: .55em; border-radius: 50%; background: var(--bleu); justify-self: center; }
.coches--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); column-gap: var(--s6); }

/* ---------- Accueil : héros ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px) clamp(56px, 7vw, 104px); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: var(--s5); }
.hero h1 em { font-style: normal; color: var(--bleu); }
.hero__lead { font-size: clamp(1.125rem, 1rem + .45vw, 1.35rem); line-height: 1.5; max-width: 34em; margin-bottom: var(--s6); }
.hero__btns { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); align-items: center; }
.hero__preuves { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin-top: var(--s6); font-size: .95rem; color: var(--gris); }
.hero__preuves li { display: inline-flex; align-items: center; gap: 8px; }
.hero__preuves .ico { color: var(--bleu); }
.hero__media { position: relative; }
.hero__media img { position: relative; z-index: 1; border-radius: var(--r); width: 100%; aspect-ratio: 1012 / 628; object-fit: cover; box-shadow: var(--ombre); }
.hero__media figcaption { position: relative; z-index: 1; font-size: .875rem; color: var(--gris); margin-top: 10px; }
.arc { position: absolute; pointer-events: none; color: var(--bleu); }
.hero__media .arc { width: 128%; left: -20%; top: -34%; z-index: 0; }
.arc circle { fill: none; stroke: currentColor; }
.arc .arc__trait { stroke-dasharray: .62 1; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero .arc__trait { animation: tracer 1.6s .2s var(--ease) both; }
}
@keyframes tracer { from { stroke-dashoffset: .62; } to { stroke-dashoffset: 0; } }

/* Héros des pages intérieures */
.ph { position: relative; overflow: hidden; padding-block: clamp(32px, 5vw, 64px) clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--filet); }
.ph__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.ph h1 { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.6rem); margin-bottom: var(--s5); }
.ph .lead { margin-bottom: var(--s6); }
.ph__side { position: relative; }
.ph__side .arc { width: 150%; left: -8%; top: -42%; z-index: 0; }
.ph__btns { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); align-items: center; }
.ph__aside { position: relative; z-index: 1; background: #fff; border: 1px solid var(--filet); border-radius: var(--r); padding: var(--s5); box-shadow: var(--ombre); }
.ph__aside h2 { font-size: 1.05rem; letter-spacing: 0; margin-bottom: var(--s3); font-weight: 600; }
.ph__aside p { font-size: .95rem; color: var(--gris); margin-bottom: var(--s3); }
.ph__aside .bureau__tel { margin-bottom: var(--s3); }

/* ---------- Faits (ligne de réassurance) ---------- */
.faits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--filet); list-style: none; }
.faits li { padding: var(--s5) var(--s5) var(--s5) 0; display: grid; gap: 2px; }
.faits li + li { padding-left: var(--s5); border-left: 1px solid var(--filet); }
.faits b { font-size: clamp(1.3rem, 1rem + 1.2vw, 2.1rem); font-weight: 500; color: var(--bleu); letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.faits span { color: var(--gris); font-size: .95rem; line-height: 1.4; }

/* ---------- Index des missions (liste typographique) ---------- */
.duo { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.duo__titre { position: sticky; top: 140px; }
.duo__titre + p, .duo > div > p { color: var(--gris); }
.index { list-style: none; border-top: 1px solid var(--encre); }
.index li { border-bottom: 1px solid var(--filet); }
.index a { display: grid; grid-template-columns: minmax(0, 1fr) 28px; column-gap: var(--s5); padding: 20px 0; text-decoration: none; color: inherit; transition: padding .35s var(--ease), background-color .35s var(--ease); }
.index__nom { font-size: clamp(1.2rem, 1rem + .6vw, 1.5rem); font-weight: 500; color: var(--encre); letter-spacing: -.01em; line-height: 1.25; }
.index__txt { grid-column: 1; color: var(--gris); font-size: .98rem; margin-top: 4px; }
.index__fl { grid-row: 1 / span 2; grid-column: 2; align-self: center; color: var(--bleu); width: 24px; height: 24px; transition: transform .35s var(--ease); }
.index a:hover { padding-left: 12px; background: linear-gradient(90deg, var(--bleu-voile), rgba(238, 246, 252, 0)); }
.index a:hover .index__nom { color: var(--bleu); }
.index a:hover .index__fl { transform: translateX(4px); }

/* ---------- Bande agricole (le bloc bleu) ---------- */
.agri { background: var(--bleu); color: #fff; position: relative; overflow: hidden; }
.agri::after { content: ""; position: absolute; width: 720px; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .22); right: -260px; bottom: -380px; }
.agri__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; position: relative; z-index: 1; }
.agri h2, .agri h3, .agri strong { color: #fff; }
.agri p, .agri li { color: var(--sur-bleu); }
.agri .lead { color: #fff; }
.agri .coches li::before { background: #fff; }
.formes { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: var(--s5) 0 var(--s6); }
.formes li { font-size: clamp(1.15rem, .9rem + 1vw, 1.75rem); font-weight: 500; letter-spacing: .02em; color: #fff; padding: 6px 20px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 999px; line-height: 1.2; }
.agri a:not(.btn) { color: #fff; }

/* ---------- Bureaux ---------- */
.bureaux__liste { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; border-top: 1px solid var(--encre); }
.bureau { padding: var(--s5) var(--s5) var(--s5) 0; display: flex; flex-direction: column; gap: var(--s3); }
.bureau + .bureau { padding-left: var(--s5); border-left: 1px solid var(--filet); }
.bureau h3 { font-size: 1.45rem; margin: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.bureau h3 a { color: var(--encre); text-decoration: none; }
.bureau h3 a:hover { color: var(--bleu); }
.bureau__siege { font-size: .78rem; font-weight: 500; letter-spacing: .02em; color: var(--bleu); border: 1px solid currentColor; border-radius: 999px; padding: 1px 9px; }
.bureau__adr { color: var(--gris); margin: 0; }
.bureau__tel { display: inline-flex; align-items: center; gap: 10px; font-size: 1.3rem; font-weight: 500; color: var(--bleu); text-decoration: none; font-variant-numeric: tabular-nums; margin-top: auto; }
.bureau__tel:hover { color: var(--bleu-fonce); text-decoration: underline; }
.bureau .lien-fleche { font-size: .95rem; }
.bureau--actif h3 a { color: var(--bleu); }

/* ---------- Associés ---------- */
.associes__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.associes__ordre { display: inline-flex; gap: 10px; align-items: center; font-weight: 500; color: var(--encre); }
.associes__ordre .ico { color: var(--bleu); }
.associes__liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); list-style: none; }
.associes__liste li { display: grid; gap: 2px; }
.associes__liste img { width: 100%; aspect-ratio: 198 / 260; object-fit: cover; object-position: top; border-radius: var(--r); margin-bottom: var(--s3); filter: saturate(.9); }
.associes__liste strong { font-weight: 600; line-height: 1.25; }
.associes__liste span { font-size: .875rem; color: var(--gris); line-height: 1.35; }

/* ---------- Photo + texte ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split img { border-radius: var(--r); width: 100%; }
.split figcaption { font-size: .875rem; color: var(--gris); margin-top: 10px; }
.split figure { margin: 0; }

/* ---------- Trajets ---------- */
.trajets { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.trajets th, .trajets td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--filet); }
.trajets th { font-weight: 500; color: var(--encre); }
.trajets td { color: var(--gris); text-align: right; white-space: nowrap; }
.trajets td b { color: var(--bleu); font-weight: 600; }
.note { font-size: .875rem; color: var(--gris); }
.carte { border: 0; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r); background: var(--bleu-voile); }

/* ---------- Colonnes de missions (pages service) ---------- */
.blocs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: var(--s7) var(--s7); }
.blocs h3 { padding-top: var(--s4); border-top: 2px solid var(--bleu); }
.blocs ul { list-style: none; display: grid; gap: 8px; }
.blocs li { padding-left: 18px; position: relative; }
.blocs li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--bleu); }
.encart { border: 1px solid var(--filet); border-radius: var(--r); padding: var(--s6); background: #fff; }
.encart h2, .encart h3 { font-size: 1.35rem; }

/* ---------- FAQ ---------- */
.faq__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__liste { border-top: 1px solid var(--encre); }
.faq details { border-bottom: 1px solid var(--filet); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s5); padding: 20px 0; font-size: 1.15rem; font-weight: 500; color: var(--encre); line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--bleu); }
.faq__ico { color: var(--bleu); width: 22px; height: 22px; transition: transform .35s var(--ease); margin-top: 2px; }
.faq details[open] .faq__ico { transform: rotate(45deg); }
.faq__rep { padding: 0 0 var(--s5); max-width: 64ch; }
.faq__rep p:last-child { margin-bottom: 0; }

/* ---------- Bande CTA ---------- */
.cta { border-top: 1px solid var(--filet); padding-block: clamp(56px, 8vw, 104px); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; width: 380px; aspect-ratio: 1; border-radius: 50%; background: var(--bleu); left: -250px; bottom: -250px; }
.cta__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; position: relative; }
.cta h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); }
.cta p { color: var(--gris); font-size: 1.125rem; max-width: 40em; }
.cta__actions { display: grid; gap: var(--s5); justify-items: start; }
.cta .btn--blanc { background: var(--bleu); color: #fff; }
.cta .btn--blanc:hover { background: var(--bleu-fonce); color: #fff; }
.cta__tel { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; font-size: 1.6rem; font-weight: 500; color: var(--encre); text-decoration: none; font-variant-numeric: tabular-nums; }
.cta__tel .ico { color: var(--bleu); }
.cta__tel small { grid-column: 2; font-size: .9rem; font-weight: 400; color: var(--gris); }
.cta__tel:hover { color: var(--bleu); }

/* ---------- Formulaire ---------- */
.form-zone { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.form__grille { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.champ { display: grid; gap: 6px; }
.champ--large { grid-column: 1 / -1; }
.champ label, .choix legend { font-weight: 500; color: var(--encre); font-size: .98rem; }
.opt { font-weight: 400; color: var(--gris); font-size: .875rem; }
.req { color: var(--bleu); }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form select, .form textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; font: 400 1rem/1.4 var(--f); color: var(--encre);
  border: 1.5px solid var(--filet-fort); border-radius: var(--r); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; min-height: 140px; }
.form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230070b8' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: var(--gris); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--bleu); box-shadow: 0 0 0 3px var(--bleu-voile); }
.form ::placeholder { color: #6b7783; }
.form [aria-invalid="true"] { border-color: #b42318 !important; }
.choix { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.choix legend { margin-bottom: 8px; padding: 0; }
.choix label { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1.5px solid var(--filet-fort); border-radius: 999px; cursor: pointer; font-size: .98rem; }
.choix label:has(input:checked) { border-color: var(--bleu); background: var(--bleu-voile); color: var(--bleu-nuit); }
.choix input, .rgpd input { accent-color: var(--bleu); width: 18px; height: 18px; margin: 0; }
.rgpd { display: grid; grid-template-columns: 18px 1fr; gap: 12px; margin: var(--s5) 0; font-size: .92rem; color: var(--gris); align-items: start; }
.rgpd input { margin-top: 3px; }
.form__bas { display: flex; flex-wrap: wrap; gap: var(--s4) var(--s5); align-items: center; }
.form__note { font-size: .875rem; color: var(--gris); margin: 0; }
.form__piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__retour { margin-top: var(--s5); padding: 14px 18px; border-radius: var(--r); font-weight: 500; }
.form__retour.ok { background: #ecf8f0; color: #14532d; }
.form__retour.err { background: #fdecea; color: #8a1c12; }
.aside-contact { display: grid; gap: var(--s5); }
.aside-contact h2 { font-size: 1.35rem; }

/* ---------- Emplacements à compléter ---------- */
.a-completer { display: inline-block; padding: 2px 10px; border: 1.5px dashed #b45309; border-radius: 4px; background: #fff7ed; color: #8a3c04; font-size: .9rem; font-weight: 500; }
div.a-completer, p.a-completer { display: block; padding: 14px 18px; }

/* ---------- Pied de page ---------- */
.foot { background: var(--encre); color: #b7c3ce; padding-top: clamp(56px, 7vw, 88px); font-size: .95rem; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { color: #9fd3f7; text-decoration: underline; }
.foot__haut { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); padding-bottom: var(--s7); border-bottom: 1px solid rgba(255, 255, 255, .14); }
.foot__marque img { height: 60px; width: auto; margin-bottom: var(--s5); }
.foot__horaires { display: inline-flex; gap: 8px; align-items: center; color: #fff; }
.foot__bureaux { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) var(--s6); }
.foot__bureaux li { display: grid; gap: 2px; font-variant-numeric: tabular-nums; }
.foot__ville { font-size: 1.2rem; font-weight: 500; }
.foot__liens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); padding-block: var(--s7); }
.foot__h { color: #fff; font-size: .95rem; font-weight: 600; letter-spacing: 0; margin-bottom: var(--s3); }
.foot__liens ul { list-style: none; display: grid; gap: 6px; }
.foot__liens a { color: #b7c3ce; }
.foot__liens a:hover { color: #fff; }
.foot__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: var(--s5) calc(var(--s5) + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .14); font-size: .875rem; }
.foot__bas p { margin: 0; }
.foot__bas a { color: #b7c3ce; margin-left: 16px; }
.foot__bas a:first-child { margin-left: 0; }

/* ---------- Barre mobile + choix du bureau ---------- */
.mbar { display: none; }
.appel { position: fixed; inset: 0; z-index: 70; background: rgba(11, 26, 38, .45); display: flex; align-items: flex-end; }
.appel[hidden] { display: none; }
.appel__boite { background: #fff; width: 100%; border-radius: 16px 16px 0 0; padding: var(--s5) var(--gout) calc(var(--s5) + env(safe-area-inset-bottom)); }
.appel__tete { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s3); }
.appel__tete p { margin: 0; font-weight: 600; color: var(--encre); font-size: 1.15rem; }
.appel__fermer { width: 44px; height: 44px; border: 0; background: var(--bleu-voile); border-radius: 50%; display: grid; place-items: center; color: var(--encre); cursor: pointer; }
.appel a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-top: 1px solid var(--filet); text-decoration: none; color: var(--encre); font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.appel a b { color: var(--bleu); font-weight: 600; }
@media (max-width: 960px) {
  .mbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--filet); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .mbar a, .mbar button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 999px; font: 500 1rem/1 var(--f); text-decoration: none; cursor: pointer; }
  .mbar__tel { background: #fff; border: 1.5px solid var(--encre); color: var(--encre); }
  .mbar__devis { background: var(--bleu); color: #fff; border: 0; }
  body { padding-bottom: 76px; }
}

/* ---------- Plan du site, mentions ---------- */
.plan { columns: 2 280px; column-gap: var(--s7); }
.plan section { break-inside: avoid; margin-bottom: var(--s6); }
.plan ul { list-style: none; display: grid; gap: 6px; }
.legal dl { display: grid; grid-template-columns: minmax(0, 14em) minmax(0, 1fr); gap: 10px 24px; margin: 0 0 var(--s6); }
.legal dt { font-weight: 500; color: var(--encre); }
.legal dd { margin: 0; }

/* ---------- Apparition au défilement (un seul effet, discret) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.vu { opacity: 1; transform: none; }
}

/* ---------- Adaptations ---------- */
@media (max-width: 1000px) {
  .hero__in, .ph__in, .duo, .agri__in, .associes__in, .faq__in, .cta__in, .form-zone, .split, .foot__haut { grid-template-columns: 1fr; }
  .duo__titre { position: static; }
  .duo, .faq__in, .associes__in, .agri__in { gap: var(--s5); }
  .bureaux__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bureau:nth-child(3) { padding-left: 0; border-left: 0; }
  .bureau:nth-child(n+3) { border-top: 1px solid var(--filet); }
  .faits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faits li:nth-child(3) { padding-left: 0; border-left: 0; }
  .faits li:nth-child(n+3) { border-top: 1px solid var(--filet); }
  .ph__aside { max-width: 480px; }
}
@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .bureaux__liste { grid-template-columns: 1fr; }
  .faits b { font-size: 1.2rem; }
  .bureau, .bureau + .bureau { padding-left: 0; border-left: 0; }
  .bureau + .bureau { border-top: 1px solid var(--filet); }
  .form__grille { grid-template-columns: 1fr; }
  .associes__liste { gap: var(--s3); }
  .associes__liste span { font-size: .8rem; }
  .foot__liens { grid-template-columns: 1fr 1fr; }
  .foot__bureaux { grid-template-columns: 1fr; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 10px; }
  .ph__side .arc { width: 120%; left: 10%; top: -30%; }
  .cta__tel { font-size: 1.35rem; }
  .btn--lg { width: 100%; }
}

/* Mini-liste des bureaux (encart des pages intérieures) */
.mini-bureaux { list-style: none; display: grid; }
.mini-bureaux li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--filet); }
.mini-bureaux a { text-decoration: none; }
.mini-bureaux a:first-child { color: var(--encre); font-weight: 500; }
.mini-bureaux a:first-child:hover { color: var(--bleu); }
.mini-bureaux a.tab { font-weight: 500; }

/* Colonnes sur fond bleu */
.agri h2 + .blocs { margin-top: var(--s7); }
.blocs--clair h3 { border-top-color: #fff; color: #fff; }
.blocs--clair li { color: var(--sur-bleu); }
.blocs--clair li::before { border-color: #fff; }
.agri .coches li::before, .ph__aside .coches li::before { justify-self: center; }
.ph__aside .coches { font-size: .95rem; gap: 8px; margin: 0; }

/* Étapes numérotées (l'ordre porte une information) */
.etapes { list-style: none; margin: 0; padding: 0; counter-reset: e; border-top: 1px solid var(--encre); }
.etapes li { counter-increment: e; display: grid; grid-template-columns: 56px 1fr; column-gap: var(--s4); padding: var(--s5) 0; border-bottom: 1px solid var(--filet); }
.etapes li::before { content: counter(e); grid-row: 1 / span 2; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--bleu); color: var(--bleu); display: grid; place-items: center; font-weight: 600; font-size: 1.05rem; }
.etapes h3 { margin: 6px 0 6px; }
.etapes p { margin: 0; color: var(--gris); }
.formes--bleu { margin: 0; }
.formes--bleu li { color: var(--encre); border-color: var(--filet-fort); font-size: clamp(1.05rem, .9rem + .6vw, 1.4rem); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.encart__adr { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--texte) !important; font-size: 1rem !important; }
.encart__adr .ico { color: var(--bleu); margin-top: 3px; }
.ph__aside .lien-fleche { font-size: .95rem; }

/* Sections blanches consécutives : on ne double pas l'espace */
.section:not(.agri):not(.section--filet) + .section:not(.agri):not(.section--filet) { padding-top: clamp(16px, 3vw, 40px); }
