/* Transport Express Jaureguiberry : feuille de style
   Direction : clair et lumineux, fond blanc pur, un seul accent (bleu signal, repris du panneau de l'entreprise),
   typographie géométrique sans empattement (Jost, auto-hébergée). */

@font-face {
  font-family: 'Jost';
  src: url('../fonts/jost-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
/* Repli calé sur les métriques de Jost pour limiter le décalage au chargement */
@font-face {
  font-family: 'Jost Repli';
  src: local('Arial');
  size-adjust: 94%;
  ascent-override: 106%;
  descent-override: 37%;
}

:root {
  --blanc: #ffffff;
  --encre: #0a0d14;
  --encre-2: #363c4a;
  --encre-3: #5b6273;
  --filet: #e4e7ee;
  --filet-f: #c6ccd7;
  --bleu: #1340e8;
  --bleu-f: #0c2fb8;
  --bleu-pale: #f2f5ff;
  --bleu-clair: #dfe6ff;

  --f: 'Jost', 'Jost Repli', system-ui, sans-serif;
  --wrap: 1200px;
  --pad: clamp(20px, 4vw, 40px);
  --sec: clamp(64px, 9vw, 120px);
  --r: 6px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --head-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--blanc); color: var(--encre-2);
  font: 400 1.125rem/1.62 var(--f);
  font-feature-settings: 'kern', 'liga';
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  caret-color: var(--bleu);
}
::selection { background: var(--bleu); color: #fff; }
html { scrollbar-color: var(--filet-f) var(--blanc); }

img, svg { display: block; max-width: 100%; }
a { color: var(--bleu); text-underline-offset: .22em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--bleu-f); }
: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.08; letter-spacing: -.022em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); letter-spacing: -.032em; line-height: 1.02; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong, b { font-weight: 600; color: var(--encre); }
small { font-size: .82em; }
address { font-style: normal; }
ul, ol { padding: 0; margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.wrap--etroit { max-width: 860px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--encre); color: #fff; padding: 10px 16px; }
.skip:focus { left: 8px; }
.ico { width: 1.2em; height: 1.2em; flex: none; }
.ico-star { color: var(--bleu); }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--encre-2); max-width: 58ch; }

/* ---------- Boutons et liens ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .82em 1.3em; border-radius: 4px; border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--f); letter-spacing: .005em; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn .ico { width: 1.15em; height: 1.15em; transition: transform .25s var(--ease); }
.btn:hover .ico:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--plein { background: var(--bleu); color: #fff; }
.btn--plein:hover { background: var(--bleu-f); color: #fff; box-shadow: 0 8px 20px -10px rgba(19, 64, 232, .55); }
.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); }
.btn--blanc:hover { background: var(--bleu-pale); color: var(--bleu-f); }
.btn--xl { font-size: 1.08rem; padding: 1em 1.55em; }
.btn[disabled] { opacity: .55; cursor: progress; }

.lien-fleche { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: underline; }
.lien-fleche .ico { width: 1.05em; height: 1.05em; }

/* ---------- À compléter ---------- */
.a-completer {
  background: var(--bleu-pale); border: 1px dashed var(--bleu); color: var(--encre-2);
  border-radius: 4px; padding: .1em .45em; font-size: .95em;
}
.a-completer b { color: var(--bleu); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .78em; margin-right: .35em; }
p.a-completer, div.a-completer, li.a-completer { display: block; padding: .75em 1em; margin: 0 0 1.1em; }

/* ---------- En-tête ---------- */
.head { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
@supports (backdrop-filter: blur(8px)) { .head { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(10px); } }
.head.is-scrolled { border-bottom-color: var(--filet); box-shadow: 0 6px 18px -16px rgba(10, 13, 20, .35); }
.head__in { display: flex; align-items: center; gap: 22px; height: var(--head-h); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--bleu); flex: none; }
.logo__marque { width: 38px; height: 38px; }
.logo__txt { display: flex; flex-direction: column; line-height: 1; }
.logo__nom { font-size: 1.42rem; font-weight: 600; color: var(--encre); letter-spacing: -.015em; }
.logo__sous { font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--bleu); margin-top: 5px; }
.nav { margin-left: auto; flex: 0 1 auto; }
.nav ul { list-style: none; display: flex; gap: 4px; }
.nav a { display: block; white-space: nowrap; padding: 10px 11px; color: var(--encre); text-decoration: none; font-weight: 500; font-size: 1rem; position: relative; border-radius: 4px; }
.nav a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--bleu); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--bleu); }
.nav__extra, .nav__mob { display: none; }
.head__actions { display: flex; align-items: center; gap: 18px; }
.head__tel { display: inline-flex; align-items: center; gap: 8px; color: var(--encre); font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.head__tel .ico { color: var(--bleu); }
.head__tel:hover { color: var(--bleu); }
.burger { display: none; width: 46px; height: 46px; border: 0; background: transparent; padding: 11px; cursor: pointer; border-radius: 4px; }
.burger span { display: block; height: 2px; background: var(--encre); margin: 5px 0; transition: transform .3s var(--ease), opacity .2s; }
.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1180px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--head-h) 0 0 0; background: #fff; padding: 12px var(--pad) 40px;
    overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s .35s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s var(--ease), transform .35s var(--ease); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid var(--filet); }
  .nav a { padding: 18px 0; font-size: 1.35rem; }
  .nav a::after { left: 0; right: auto; width: 32px; bottom: 10px; }
  .nav__mob { display: block; }
  .nav__extra { display: grid; gap: 12px; margin-top: 28px; }
  .nav__extra .btn { font-size: 1.08rem; padding: 1em; }
  .nav__h { display: flex; gap: 8px; align-items: center; color: var(--encre-3); font-size: .95rem; margin: 6px 0 0; }
  .nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
  :root { --head-h: 66px; }
  .head__tel span, .head__devis { display: none; }
  .head__tel { width: 44px; height: 44px; justify-content: center; border: 1.5px solid var(--filet-f); border-radius: 50%; }
  .head__actions { gap: 6px; margin-left: auto; }
  .logo__marque { width: 34px; height: 34px; }
  .logo__nom { font-size: 1.25rem; }
  .logo__sous { font-size: .62rem; letter-spacing: .17em; }
}

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

/* ---------- Héros ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 0; }
.hero__grille { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .85fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.hero h1 { max-width: 15ch; margin-bottom: .42em; }
.hero__texte .lead { margin-bottom: 1.8em; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero__panneau {
  background: var(--bleu); color: #fff; border-radius: var(--r); padding: clamp(26px, 3vw, 38px);
  box-shadow: 0 30px 60px -36px rgba(19, 64, 232, .7);
}
.hero__p-t { font-size: 1.05rem; color: #dfe6ff; margin: 0 0 .25em; }
.hero__tel { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-size: clamp(1.9rem, 3vw, 2.45rem); font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero__tel .ico { width: .85em; height: .85em; }
.hero__tel:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; }
.hero__infos { list-style: none; margin: 18px 0 22px; padding: 18px 0 0; border-top: 1px solid rgba(255, 255, 255, .28); display: grid; gap: 10px; font-size: 1rem; line-height: 1.45; }
.hero__infos li { display: flex; gap: 10px; color: #eef1ff; }
.hero__infos .ico { margin-top: 2px; color: #fff; }
.hero__route { position: relative; height: 2px; background: var(--bleu); margin-top: clamp(40px, 6vw, 72px); transform-origin: left; }
.hero__route::after { content: ''; position: absolute; right: 1px; top: -6px; width: 12px; height: 12px; border-top: 2px solid var(--bleu); border-right: 2px solid var(--bleu); transform: rotate(45deg); }
@media (prefers-reduced-motion: no-preference) {
  .hero__route { animation: trace 1.4s var(--ease) .2s both; }
}
@keyframes trace { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Note Google */
.note { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--encre-2); text-decoration: none; font-size: .95rem; line-height: 1.3; }
.note strong { font-weight: 600; }
.note span { color: var(--encre-3); }
.note:hover span { text-decoration: underline; }
.note--panneau { color: #fff; background: rgba(255, 255, 255, .12); padding: 8px 12px; border-radius: 4px; }
.note--panneau strong, .note--panneau .ico-star { color: #fff; }
.note--panneau span { color: #e6ebff; }
.note--panneau:hover { color: #fff; }

/* ---------- Faits ---------- */
.faits { padding: 0 0 clamp(24px, 4vw, 40px); }
.faits__liste { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.faits__liste > div { padding: 22px 24px 4px 0; }
.faits__liste > div + div { padding-left: 24px; border-left: 1px solid var(--filet); }
.faits dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: var(--encre-3); margin-bottom: 6px; }
.faits dd { margin: 0; color: var(--encre); font-size: 1.15rem; font-weight: 500; line-height: 1.35; }
.faits dd small { display: block; color: var(--encre-3); font-weight: 400; font-size: .8rem; margin-top: 3px; }

/* ---------- Sections ---------- */
.section { padding: var(--sec) 0; }
.section--filet { border-top: 1px solid var(--filet); }
.section--serre { padding-top: clamp(40px, 5vw, 64px); }
.grille-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 88px); align-items: start; }
.grille-2--carte { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; }
.grille-2--inverse { align-items: center; }
.grille-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.grille-3 > * { padding: 0 clamp(20px, 3vw, 40px); }
.grille-3 > *:first-child { padding-left: 0; }
.grille-3 > * + * { border-left: 1px solid var(--filet); }
.bloc-texte h2 { font-size: clamp(1.4rem, 2vw, 1.7rem); }
.intro p { max-width: 60ch; }
.liens { list-style: none; }
.liens li { border-top: 1px solid var(--filet); }
.liens li:last-child { border-bottom: 1px solid var(--filet); }
.liens a { display: block; padding: 12px 0; color: var(--encre); text-decoration: none; font-weight: 500; line-height: 1.4; }
.liens a:hover { color: var(--bleu); }

/* Prestations (liste maillée) */
.presta__titre { margin-bottom: .8em; }
.presta__liste { list-style: none; border-top: 1px solid var(--encre); }
.presta__liste li { border-bottom: 1px solid var(--filet); }
.presta__liste a {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) 28px; grid-template-areas: 'i t f' 'i d f';
  column-gap: 18px; row-gap: 4px; align-items: center; padding: 22px 0; text-decoration: none; color: inherit;
}
.presta__ico { grid-area: i; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--bleu-pale); color: var(--bleu); align-self: start; transition: background-color .25s, color .25s; }
.presta__ico .ico { width: 24px; height: 24px; }
.presta__t { grid-area: t; font-size: 1.32rem; font-weight: 600; color: var(--encre); letter-spacing: -.01em; transition: color .2s; }
.presta__d { grid-area: d; font-size: 1rem; color: var(--encre-3); line-height: 1.45; }
.presta__f { grid-area: f; color: var(--bleu); transition: transform .3s var(--ease); }
.presta__f .ico { width: 24px; height: 24px; }
.presta__liste a:hover .presta__t { color: var(--bleu); }
.presta__liste a:hover .presta__ico { background: var(--bleu); color: #fff; }
.presta__liste a:hover .presta__f { transform: translateX(5px); }
.presta--large .presta__liste a { grid-template-columns: 56px minmax(0, .9fr) minmax(0, 1.4fr) 28px; grid-template-areas: 'i t d f'; padding: 28px 0; }

/* Schéma des repères */
.carte { margin: 0; border: 1px solid var(--filet); border-radius: var(--r); overflow: hidden; background: #fff; }
.carte__defile { overflow-x: auto; overscroll-behavior-x: contain; }
.carte svg { width: 100%; min-width: 560px; height: auto; color: var(--bleu); font-family: var(--f); }
.carte__ligne { fill: none; stroke: var(--bleu); stroke-width: 3; stroke-linecap: round; }
.carte__ligne--merignac { stroke-dasharray: 2 8; }
.carte__ancien { stroke: var(--filet-f); stroke-width: 1.5; stroke-dasharray: 3 4; }
.carte__pt { fill: #fff; stroke: var(--encre); stroke-width: 2.5; }
.carte__creux { fill: #fff; stroke: var(--encre-3); stroke-width: 1.5; stroke-dasharray: 2 2; }
.carte__siege { fill: var(--bleu); }
.carte__lib { font-size: 16px; font-weight: 600; fill: var(--encre); }
.carte__lib--siege { fill: var(--bleu); font-size: 18px; }
.carte__note { font-size: 13px; fill: var(--encre-3); }
.carte__note--b { fill: var(--encre-2); font-weight: 500; }
.carte__mer { font-size: 13px; font-style: italic; fill: #8a91a0; letter-spacing: .04em; }
.carte__mont { fill: none; stroke: #d3d8e1; stroke-width: 1.5; stroke-linejoin: round; }
.carte figcaption { font-size: .85rem; color: var(--encre-3); padding: 12px 16px 14px; border-top: 1px solid var(--filet); line-height: 1.45; }

/* Photo à fournir */
.photo-a-fournir { aspect-ratio: 4 / 3; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 32px; border-width: 1.5px; }
.photo-a-fournir__ico { width: 64px; height: 64px; color: var(--bleu); stroke-width: 1.25; }
.photo-a-fournir p { max-width: 30ch; margin: 0; }

/* ---------- En-tête des pages internes ---------- */
.entete { padding: clamp(28px, 4vw, 48px) 0 clamp(48px, 6vw, 80px); }
.entete .hero__grille { align-items: start; }
.entete h1 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); max-width: 18ch; }
.entete .lead { margin-bottom: 1.6em; }
.entete .hero__panneau { margin-top: 8px; }
.rassure { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; font-size: .95rem; color: var(--encre-3); }
.rassure li { display: inline-flex; align-items: center; gap: 7px; }
.rassure .ico { color: var(--bleu); }

/* ---------- Contenu rédigé ---------- */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.9em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .liste-coches { list-style: none; margin: 0 0 1.2em; display: grid; gap: 10px; }
.prose ul li, .liste-coches li { position: relative; padding-left: 32px; }
.prose ul li::before, .liste-coches li::before {
  content: ''; position: absolute; left: 2px; top: .42em; width: 18px; height: 18px;
  background: var(--bleu); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.prose ul.a-completer { display: block; }
.prose ol { margin: 0 0 1.2em 1.3em; display: grid; gap: 8px; }
.colonnes { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 6vw, 88px); align-items: start; }
.colonnes__aside { position: sticky; top: calc(var(--head-h) + 24px); }
.encart { border: 1px solid var(--filet); border-top: 3px solid var(--bleu); border-radius: 0 0 var(--r) var(--r); padding: 26px; }
.encart h2, .encart h3 { font-size: 1.3rem; margin-bottom: .6em; }
.encart .btn { width: 100%; margin-top: 8px; }
.encart p { font-size: 1rem; }
.encart .coord { margin-bottom: 8px; }
.tableau { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 1rem; }
.tableau th, .tableau td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--filet); vertical-align: top; }
.tableau th { color: var(--encre); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.tableau td:first-child { font-weight: 600; color: var(--encre); white-space: nowrap; }

/* Étapes : la séquence porte l'information (ordre de traitement d'une demande) */
.etapes { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: e; margin: 0; border-top: 1px solid var(--encre); }
.etapes li { counter-increment: e; padding: 22px 24px 0 0; }
.etapes li + li { padding-left: 24px; border-left: 1px solid var(--filet); }
.etapes li::before { content: counter(e); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--bleu); color: var(--bleu); font-weight: 600; font-size: .95rem; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.etapes h3 { font-size: 1.15rem; margin-bottom: .35em; }
.etapes p { font-size: 1rem; color: var(--encre-3); margin: 0; }

/* Annonces de recrutement */
.annonces { list-style: none; border-top: 1px solid var(--encre); }
.annonces li { display: grid; grid-template-columns: 150px 160px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--filet); align-items: baseline; }
.annonces__date { color: var(--encre-3); font-size: .95rem; font-variant-numeric: tabular-nums; }
.annonces__poste { font-weight: 600; color: var(--encre); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--filet); }
.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; align-items: center; gap: 20px; padding: 20px 0; font-size: 1.18rem; font-weight: 500; color: var(--encre); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--bleu); }
.faq__ico { color: var(--bleu); transition: transform .3s var(--ease); transform: rotate(90deg); }
.faq details[open] .faq__ico { transform: rotate(-90deg); }
.faq__rep { padding: 0 48px 18px 0; }
.faq__rep p { margin: 0; max-width: 68ch; }

/* ---------- Bande d'appel ---------- */
.cta { background: var(--bleu); color: #e6ebff; padding: clamp(64px, 8vw, 104px) 0; }
.cta__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.cta h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: .35em; }
.cta p { margin: 0; max-width: 52ch; font-size: 1.15rem; }
.cta__actions { display: grid; gap: 14px; justify-items: start; }
.cta__tel { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 1.6rem; font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.cta__tel:hover { color: #fff; text-decoration: underline; }
.cta__h { font-size: .95rem !important; color: #dfe6ff; }
.cta :focus-visible { outline-color: #fff; }

/* ---------- Formulaire ---------- */
.form { display: grid; gap: 18px; }
.form__ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 7px; font-size: .95rem; font-weight: 500; color: var(--encre); }
.form__lib { display: block; }
.form label .opt { color: var(--encre-3); font-weight: 400; }
.form input, .form select, .form textarea {
  width: 100%; font: 400 1.05rem/1.4 var(--f); color: var(--encre); background: #fff;
  border: 1.5px solid var(--filet-f); border-radius: 4px; padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { min-height: 140px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: #6b7282; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: var(--encre-3); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--bleu); box-shadow: 0 0 0 3px var(--bleu-clair); }
.form input:user-invalid, .form textarea:user-invalid { border-color: #c4271d; }
.form select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231340e8' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 20px no-repeat; padding-right: 42px; }
.form .case { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: .92rem; color: var(--encre-2); line-height: 1.45; }
.form .case input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--bleu); flex: none; }
.form .pot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form__msg { margin: 0; padding: 14px 16px; border-radius: 4px; font-size: 1rem; }
.form__msg:empty { display: none; }
.form__msg.is-ok { background: var(--bleu-pale); border: 1px solid var(--bleu); color: var(--encre); }
.form__msg.is-err { background: #fff4f3; border: 1px solid #c4271d; color: #8f1c15; }
.form__note { font-size: .88rem; color: var(--encre-3); margin: 0; }

.coord { list-style: none; display: grid; gap: 18px; margin: 0 0 24px; }
.coord li { display: flex; gap: 14px; line-height: 1.45; font-size: 1rem; }
.coord .ico { color: var(--bleu); margin-top: 3px; width: 22px; height: 22px; }
.coord__t { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--encre-3); margin-bottom: 3px; }
.coord a[href^="tel"] { font-size: 1.3rem; font-weight: 600; text-decoration: none; color: var(--encre); font-variant-numeric: tabular-nums; }
.coord a[href^="tel"]:hover { color: var(--bleu); }

.form__note--apres { margin-top: 18px; }
.prose--apres { margin-top: 48px; }
.h1-page { font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
.coord .a-completer { display: block; padding: .5em .7em; margin-top: 4px; }
.encart__p-tel { margin: 16px 0 0; }
.encart__tel { display: inline-flex; align-items: center; gap: 8px; color: var(--encre); font-weight: 600; font-size: 1.15rem; text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.encart__tel .ico { color: var(--bleu); }
.encart__tel:hover { color: var(--bleu); }
.encart .form__note { margin-top: 6px; }
.plan__h { margin-top: 1.4em; }

/* Plan du site */
.plan { columns: 2; column-gap: 64px; list-style: none; }
.plan li { break-inside: avoid; border-bottom: 1px solid var(--filet); }
.plan a { display: block; padding: 12px 0; text-decoration: none; color: var(--encre); font-weight: 500; }
.plan a:hover { color: var(--bleu); }

/* 404 */
.erreur { padding: clamp(64px, 10vw, 140px) 0; }
.erreur__code { font-size: clamp(5rem, 14vw, 9rem); font-weight: 600; color: var(--bleu); line-height: 1; letter-spacing: -.04em; margin: 0 0 .1em; }

/* ---------- Pied de page ---------- */
.foot { border-top: 1px solid var(--filet); padding: clamp(56px, 7vw, 88px) 0 0; font-size: 1rem; }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.foot__brand p { max-width: 36ch; color: var(--encre-3); }
.logo--foot { margin-bottom: 20px; }
.foot__h { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--encre-3); margin: 0 0 16px; font-weight: 600; }
.foot ul { list-style: none; display: grid; gap: 9px; }
.foot ul a, .foot address a { color: var(--encre); text-decoration: none; }
.foot ul a:hover, .foot address a:hover { color: var(--bleu); text-decoration: underline; }
.foot address { margin-bottom: 12px; line-height: 1.55; }
.foot__h2 { color: var(--encre-3); font-size: .95rem; }
.foot__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; margin-top: 56px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--filet); font-size: .88rem; color: var(--encre-3); }
.foot__bas p { margin: 0; }
.foot__liens { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.foot__liens a { color: var(--encre-3); }
.foot__liens a:hover { color: var(--bleu); }

/* ---------- Barre d'appel mobile ---------- */
.mbar { display: none; }
@media (max-width: 900px) {
  .mbar {
    display: grid; grid-template-columns: 1fr 1.35fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97);
    border-top: 1px solid var(--filet); box-shadow: 0 -8px 24px -18px rgba(10, 13, 20, .4);
    transition: transform .3s var(--ease);
  }
  .mbar.is-hidden { transform: translateY(110%); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 4px; font-weight: 600; text-decoration: none; font-size: 1.02rem; }
  .mbar__tel { border: 1.5px solid var(--encre); color: var(--encre); }
  .mbar__devis { background: var(--bleu); color: #fff; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}

/* ---------- Adaptations ---------- */
@media (max-width: 1000px) {
  .hero__grille, .grille-2, .grille-2--carte, .colonnes, .cta__in { grid-template-columns: minmax(0, 1fr); }
  .colonnes__aside { position: static; }
  .grille-2--inverse > :first-child { order: 2; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .etapes li:nth-child(3) { padding-left: 0; border-left: 0; }
  .presta--large .presta__liste a { grid-template-columns: 48px minmax(0, 1fr) 28px; grid-template-areas: 'i t f' 'i d f'; }
}
@media (max-width: 760px) {
  body { font-size: 1.0625rem; }
  .faits__liste { grid-template-columns: 1fr 1fr; }
  .faits__liste > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .grille-3 { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .grille-3 > * { padding: 0; }
  .grille-3 > * + * { border-left: 0; border-top: 1px solid var(--filet); padding-top: 36px; }
  .form__ligne { grid-template-columns: 1fr; }
  .annonces li { grid-template-columns: 1fr; gap: 2px; }
  .plan { columns: 1; }
  .foot__grid { grid-template-columns: 1fr; gap: 32px; }
  .etapes { grid-template-columns: 1fr; }
  .etapes li, .etapes li + li { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--filet); }
  .hero__cta .btn { width: 100%; }
  .cta__actions .btn { width: 100%; }
  .tableau td:first-child { white-space: normal; }
}

/* Transitions entre pages (navigateurs compatibles) */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  @view-transition { navigation: none; }
}
@media print { .head, .mbar, .cta, .foot__liens { display: none; } body { padding: 0; } }
