/* Transports Sallaberry
   Direction : éditoriale. Beaucoup de blanc, titres à empattement très grands (Source Serif 4, coupe display),
   photos pleine largeur légendées, texte en Schibsted Grotesk, un seul accent : le vert des camions, réservé aux actions. */

@font-face { font-family: "Source Serif 4"; src: url(/fonts/source-serif-4.woff2) format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url(/fonts/source-serif-4-italic.woff2) format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url(/fonts/schibsted-grotesk.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --blanc: #ffffff;
  --papier: #f5f7f6;
  --encre: #121a16;
  --encre-2: #47524c;
  --encre-3: #626d67;
  --filet: #e2e6e4;
  --filet-fort: #c9d0cc;
  --vert: #1d5641;
  --vert-fonce: #123d2e;
  --vert-pale: #eef4f1;
  --serif: "Source Serif 4", "Iowan Old Style", "Charter", Georgia, serif;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1360px;
  --gout: clamp(20px, 5vw, 72px);
  --sec: clamp(72px, 10vw, 152px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --head-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0; background: var(--blanc); color: var(--encre);
  font: 400 1.0625rem/1.65 var(--sans);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  caret-color: var(--vert);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--vert); }
::selection { background: var(--vert); color: #fff; }
:focus-visible { outline: 2px solid var(--vert); outline-offset: 3px; }
html { scrollbar-color: var(--filet-fort) var(--blanc); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; font-optical-sizing: auto; margin: 0; text-wrap: balance; letter-spacing: -.02em; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.nw { white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gout); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--encre); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { top: 12px; }

/* ---------- Emplacements à compléter ---------- */
.a-completer {
  display: inline-block; font: 600 .8125rem/1.4 var(--sans); letter-spacing: 0;
  color: #5a4200; background: #fff3c4; border: 1px dashed #b88a00; padding: 2px 8px; vertical-align: middle;
}
p.a-completer, div.a-completer { display: block; padding: 10px 14px; margin: 0 0 1.1em; }

/* ---------- Boutons et liens ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em; justify-content: center;
  font: 600 .9375rem/1 var(--sans); letter-spacing: .01em; text-decoration: none;
  padding: 14px 20px; border: 1px solid transparent; border-radius: 2px; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn--plein { background: var(--vert); color: #fff; }
.btn--plein:hover { background: var(--vert-fonce); color: #fff; }
.btn--trait { border-color: var(--encre); color: var(--encre); background: transparent; }
.btn--trait:hover { background: var(--encre); color: #fff; }
.btn--lg { font-size: 1.0625rem; padding: 19px 28px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.lien-fleche { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--filet-fort); padding-bottom: 3px; transition: border-color .25s, color .25s; }
.lien-fleche .ico { transition: transform .35s var(--ease); }
.lien-fleche:hover { color: var(--vert); border-color: var(--vert); }
.lien-fleche:hover .ico { transform: translateX(4px); }
.lien { font-weight: 600; }

/* ---------- 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 .3s; }
@supports (backdrop-filter: blur(8px)) { .head { background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(10px); } }
.head.is-scrolled { border-color: var(--filet); }
.head__in { display: flex; align-items: center; gap: 32px; height: var(--head-h); }
.logo { flex: none; display: block; }
.logo img { width: 196px; height: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: clamp(16px, 2vw, 30px); list-style: none; }
.nav a { font-size: .9375rem; font-weight: 500; text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a[aria-current="page"] { border-color: var(--encre); }
.nav a:hover { color: var(--vert); }
.nav__extra { display: none; }
.head__actions { display: flex; align-items: center; gap: 20px; }
.head__tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9375rem; text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.head__tel .ico { color: var(--vert); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--encre); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1180px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--head-h) 0 0 0; background: var(--blanc); padding: 24px var(--gout) 120px; overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s .4s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid var(--filet); }
  .nav a { display: block; font: 400 clamp(1.75rem, 6vw, 2.5rem)/1.2 var(--serif); padding: 14px 0; border: 0; letter-spacing: -.015em; }
  .nav a[aria-current="page"] { color: var(--vert); }
  .nav__extra { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 32px; }
  .nav__tel { font-weight: 600; font-size: 1.125rem; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
  .nav__h { color: var(--encre-2); font-size: .9375rem; margin: 0; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
  :root { --head-h: 68px; }
  .logo img { width: 156px; }
  .head__tel span, .head__devis { display: none; }
  .head__tel { width: 44px; height: 44px; justify-content: center; }
  .head__tel .ico { width: 22px; height: 22px; }
  .head__actions { gap: 4px; margin-left: auto; }
}

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

/* ---------- Une (accueil) et en-têtes de page ---------- */
.une { padding-top: clamp(36px, 5vw, 80px); }
.une__h1, .ptete__h1 {
  font-size: clamp(3rem, 7.2vw, 6.25rem); line-height: .98; letter-spacing: -.035em; font-weight: 400; max-width: 13ch;
}
@media (min-width: 1100px) { .une__h1 { max-width: 19ch; text-wrap: wrap; } }
.ptete__h1 { font-size: clamp(2.75rem, 6.6vw, 6rem); max-width: 15ch; line-height: 1; }
.une__h1 em, .ptete__h1 em { font-style: italic; color: var(--vert); font-weight: 300; }
.une__bas { margin-top: clamp(28px, 3vw, 44px) !important; }
.une__bas, .ptete__bas {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 6vw, 96px); align-items: end;
  margin-top: clamp(32px, 4.5vw, 64px);
}
.chapo { font: 400 clamp(1.1875rem, 1.6vw, 1.4375rem)/1.5 var(--serif); color: var(--encre-2); max-width: 46ch; margin: 0; }
.une__cta, .ptete__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.ptete__tel { margin: 0; color: var(--encre-2); font-size: .9375rem; }
.ptete__tel a { font-weight: 600; color: var(--encre); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ptete { padding-top: clamp(32px, 6vw, 96px); }
.ptete + .section, .ptete + .ptete-sep { padding-top: clamp(56px, 7vw, 104px); }
@media (max-width: 860px) {
  .une__bas, .ptete__bas { grid-template-columns: 1fr; align-items: start; }
}

/* ---------- Photos pleine largeur ---------- */
.pleine { margin: clamp(48px, 7vw, 104px) 0 0; }
.pleine img { width: 100%; height: clamp(300px, 50vw, 720px); object-fit: cover; object-position: 50% 40%; }
.pleine--une { margin-top: clamp(40px, 5vw, 72px); }
.pleine--une img { object-position: 50% 30%; height: clamp(300px, 46vw, 660px); }
.pleine .pleine__cadre-haut { object-position: 50% 30%; }
.pleine figcaption { font: italic 400 .9375rem/1.5 var(--serif); color: var(--encre-3); padding-top: 14px; }
.pleine + .section { padding-top: clamp(64px, 8vw, 120px); }
/* Le moment animé du site : la photo d'accueil s'ouvre depuis un cadre resserré */
@media (prefers-reduced-motion: no-preference) {
  .js .pleine--une img { animation: ouvrir 1.6s var(--ease) .15s both; }
  @keyframes ouvrir { from { clip-path: inset(7% 9% 7% 9%); filter: saturate(.6); } to { clip-path: inset(0 0 0 0); filter: none; } }
}

/* ---------- Réassurance ---------- */
.preuves { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 0; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--filet); font-size: .9375rem; color: var(--encre-2); }
.preuves li { display: flex; align-items: center; }
.preuves li + li::before { content: ""; width: 1px; height: 14px; background: var(--filet-fort); margin: 0 18px; }
.note { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: inherit; }
.note strong { color: var(--encre); font-weight: 600; }
.note small { font-size: .8125rem; color: var(--encre-3); }
.note__etoile { color: var(--vert); width: 1em; height: 1em; }
.note:hover strong { color: var(--vert); }
@media (max-width: 640px) {
  .preuves { flex-direction: column; gap: 8px; }
  .preuves li + li::before { display: none; }
}

/* ---------- Sections éditoriales ---------- */
.section { padding-block: var(--sec); }
.section + .section:not(.section--papier) { padding-top: 0; }
.section + .section:not(.section--papier) > .wrap:first-child { padding-top: var(--sec); background: linear-gradient(var(--filet), var(--filet)) var(--gout) 0 / calc(100% - 2 * var(--gout)) 1px no-repeat; }
.section.section--papier + .section:not(.section--papier) > .wrap:first-child { background: none; }
.section--papier { background: var(--papier); }
.diptyque + .section, .archive + .section { padding-top: clamp(64px, 8vw, 120px); }
.grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 112px); align-items: start; }
.grille__titre, .titre-section { font-size: clamp(2rem, 4.2vw, 3.625rem); line-height: 1.05; letter-spacing: -.028em; }
.titre-section { margin-bottom: clamp(32px, 4vw, 56px); max-width: 18ch; }
.grille__titre { position: sticky; top: calc(var(--head-h) + 32px); }
.texte { max-width: 66ch; }
.texte h3 { font-size: clamp(1.5rem, 2.2vw, 1.875rem); line-height: 1.2; margin: 1.8em 0 .55em; letter-spacing: -.015em; }
.texte h3:first-child { margin-top: 0; }
.texte ul { list-style: none; margin: 0 0 1.3em; }
.texte ul li { position: relative; padding-left: 22px; margin-bottom: .45em; }
.texte ul li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 6px; height: 6px; background: var(--vert); }
.texte ol { margin: 0 0 1.3em 1.2em; }
.texte ol li { margin-bottom: .45em; padding-left: 4px; }
.texte ol li::marker { font-family: var(--serif); color: var(--vert); }
.texte__aside { color: var(--encre-2); font-size: .9375rem; border-top: 1px solid var(--filet); padding-top: 18px; margin-top: 32px; }
.lettrine::first-letter { float: left; font: 400 5.2em/.82 var(--serif); margin: .06em .1em 0 -.03em; color: var(--vert); }
.lettrine { font-size: 1.1875rem; line-height: 1.6; }
.grand { font: 400 clamp(1.375rem, 2vw, 1.75rem)/1.45 var(--serif); letter-spacing: -.01em; color: var(--encre); }
.note-src { font-size: .8125rem; color: var(--encre-3); margin-top: 12px; }
@media (max-width: 900px) {
  .grille { grid-template-columns: 1fr; }
  .grille__titre { position: static; }
}

/* ---------- Rubriques (accueil) ---------- */
.rubriques { list-style: none; margin-top: clamp(48px, 6vw, 96px); }
.rubrique { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 6vw, 112px); padding-block: clamp(32px, 4vw, 56px); border-top: 1px solid var(--filet); align-items: center; }
.rubrique:last-child { border-bottom: 1px solid var(--filet); }
.rubrique__img { display: block; overflow: hidden; }
.rubrique__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1.2s var(--ease); }
.rubrique:hover .rubrique__img img { transform: scale(1.03); }
.rubrique h3 { font-size: clamp(1.875rem, 3.4vw, 3rem); line-height: 1.06; letter-spacing: -.025em; margin-bottom: 18px; max-width: 16ch; }
.rubrique h3 a { text-decoration: none; }
.rubrique p { color: var(--encre-2); max-width: 52ch; }
@media (max-width: 900px) { .rubrique { grid-template-columns: 1fr; } }

/* ---------- Devise ---------- */
.devise { padding-block: clamp(48px, 7vw, 104px) clamp(72px, 10vw, 144px); text-align: center; }
.section + .devise { margin-top: calc(-1 * clamp(24px, 4vw, 64px)); }
.devise__txt { font: italic 300 clamp(2.5rem, 7.5vw, 6rem)/1.02 var(--serif); letter-spacing: -.035em; margin: 0 auto; max-width: 14ch; text-wrap: balance; }
.devise__src { margin: 28px 0 0; font-size: .875rem; color: var(--encre-3); }

/* ---------- Distances ---------- */
.distances { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; margin: 28px 0 0; }
.distances div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--filet); }
.distances dt { color: var(--encre-2); }
.distances dd { margin: 0; font: 400 1.375rem/1 var(--serif); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
@media (max-width: 560px) { .distances { grid-template-columns: 1fr; } }

/* ---------- Fiche (définitions) ---------- */
.fiche { margin: 0; }
.fiche div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 20px; padding: 18px 0; border-top: 1px solid var(--filet); }
.fiche div:last-child { border-bottom: 1px solid var(--filet); }
.fiche dt { color: var(--encre-3); font-size: .9375rem; }
.fiche dd { margin: 0; font: 400 1.25rem/1.4 var(--serif); }
@media (max-width: 560px) { .fiche div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Sommaire (maillage) ---------- */
.sommaire { list-style: none; border-top: 1px solid var(--encre); }
.sommaire a { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 28px; gap: 24px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--filet); text-decoration: none; }
.sommaire__t { font: 400 clamp(1.5rem, 2.6vw, 2.25rem)/1.1 var(--serif); letter-spacing: -.02em; transition: color .25s; }
.sommaire__d { color: var(--encre-2); }
.sommaire .ico { align-self: center; transition: transform .35s var(--ease); }
.sommaire a:hover .sommaire__t { color: var(--vert); }
.sommaire a:hover .ico { transform: translateX(5px); color: var(--vert); }
@media (max-width: 700px) {
  .sommaire a { grid-template-columns: 1fr 24px; gap: 6px 16px; }
  .sommaire__d { grid-column: 1; }
  .sommaire .ico { grid-row: 1 / span 2; grid-column: 2; }
}

/* ---------- Deux images côte à côte ---------- */
.diptyque { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); margin-top: clamp(48px, 7vw, 104px); }
.diptyque figure { margin: 0; }
.diptyque img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.diptyque img.haut { object-position: 50% 25%; }
.diptyque figcaption { font: italic 400 .9375rem/1.5 var(--serif); color: var(--encre-3); padding-top: 12px; }
@media (max-width: 640px) { .diptyque { grid-template-columns: 1fr; } }

/* ---------- Galerie ---------- */
.galerie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 20px); }
.galerie__item { display: block; overflow: hidden; background: var(--papier); }
.galerie__item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1s var(--ease); }
.galerie__item:hover img { transform: scale(1.03); }
@media (max-width: 700px) { .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(255,255,255,.97); display: grid; place-items: center; padding: 56px 20px; }
.lb[hidden] { display: none; }
.lb img { max-height: 86vh; width: auto; }
.lb__close { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; }
.lb__close .ico { width: 28px; height: 28px; }

/* ---------- Chronologie ---------- */
.chrono { list-style: none; border-top: 1px solid var(--encre); }
.chrono li { display: grid; grid-template-columns: 9ch minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--filet); }
.chrono b { font: 400 1.75rem/1.1 var(--serif); font-variant-numeric: lining-nums; }
.chrono p { margin: 0; }

/* ---------- Tableaux ---------- */
.tableau-wrap { overflow-x: auto; margin: 0 0 1.4em; }
.tableau { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.tableau th, .tableau td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--filet); vertical-align: top; }
.tableau thead th { font-weight: 600; border-bottom: 1px solid var(--encre); }
.tableau tbody th { font: 400 1.0625rem/1.35 var(--serif); }

/* ---------- FAQ ---------- */
.faq__list { 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: 24px; padding: 22px 0; font: 400 clamp(1.1875rem, 1.7vw, 1.4375rem)/1.35 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; margin-top: .45em; background: linear-gradient(currentColor 0 0) center / 14px 1.5px no-repeat, linear-gradient(currentColor 0 0) center / 1.5px 14px no-repeat; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--vert); }
.faq__rep { padding: 0 0 24px; color: var(--encre-2); max-width: 64ch; }
.faq__rep a { color: var(--encre); font-weight: 600; }

/* ---------- Appel à l'action ---------- */
.cta { padding-block: var(--sec); border-top: 2px solid var(--encre); }
.cta__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 6vw, 112px); align-items: start; }
.cta__titre { font-size: clamp(2.5rem, 5.6vw, 5rem); line-height: 1; letter-spacing: -.035em; max-width: 12ch; }
.cta__corps > p:first-child { font: 400 1.25rem/1.5 var(--serif); color: var(--encre-2); }
.cta__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin: 28px 0 24px; }
.cta__tel { display: inline-flex; align-items: center; gap: 8px; font: 400 1.5rem/1 var(--serif); text-decoration: none; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.cta__tel .ico { color: var(--vert); }
.cta__h { font-size: .875rem; color: var(--encre-3); display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
@media (max-width: 900px) { .cta__in { grid-template-columns: 1fr; } }

/* ---------- Formulaires ---------- */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.form .plein { grid-column: 1 / -1; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: .875rem; font-weight: 600; }
.form label small { font-weight: 400; color: var(--encre-3); }
.form input, .form select, .form textarea {
  font: 400 1rem/1.4 var(--sans); color: var(--encre); background: var(--blanc);
  border: 1px solid var(--filet-fort); border-radius: 2px; padding: 14px 14px; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--vert); box-shadow: 0 0 0 3px var(--vert-pale); }
.form input::placeholder, .form textarea::placeholder { color: #6f7873; }
.form .case { flex-direction: row; align-items: flex-start; gap: 12px; font-weight: 400; color: var(--encre-2); }
.form .case input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--vert); }
.form__pot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__envoi { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form__msg { grid-column: 1 / -1; padding: 16px 18px; margin: 0; border: 1px solid; font-weight: 500; }
.form__msg--ok { border-color: var(--vert); background: var(--vert-pale); color: var(--vert-fonce); }
.form__msg--err { border-color: #a3261d; background: #fdf1f0; color: #7d1c15; }
.form fieldset { border: 0; padding: 0; margin: 0; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

.coord { list-style: none; }
.coord li { padding: 18px 0; border-top: 1px solid var(--filet); }
.coord li:last-child { border-bottom: 1px solid var(--filet); }
.coord .k { display: block; font-size: .8125rem; color: var(--encre-3); margin-bottom: 4px; }
.coord .v { font: 400 1.375rem/1.35 var(--serif); text-decoration: none; }
.coord a.v:hover { color: var(--vert); }

/* ---------- Pages légales ---------- */
.legal h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 2em 0 .6em; }
.legal h2:first-child { margin-top: 0; }

/* ---------- Pied de page ---------- */
.foot { background: var(--papier); padding: clamp(64px, 8vw, 120px) 0 calc(28px + env(safe-area-inset-bottom)); font-size: .9375rem; }
.foot__devise { font: italic 300 clamp(2rem, 4.6vw, 3.75rem)/1.05 var(--serif); letter-spacing: -.03em; margin: 0 0 clamp(40px, 5vw, 72px); max-width: 18ch; }
.foot__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 32px; border-top: 1px solid var(--filet-fort); }
.foot__h { font: 600 .8125rem/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--encre-3); margin-bottom: 14px; }
.foot ul { list-style: none; }
.foot li { margin-bottom: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot__tel { font: 400 1.5rem/1.3 var(--serif); font-variant-numeric: lining-nums; }
.foot__petit { color: var(--encre-3); font-size: .875rem; }
.foot__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--filet-fort); color: var(--encre-3); font-size: .875rem; }
.foot__bas p { margin: 0; }
.foot__liens { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
@media (max-width: 900px) { .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .foot__grid { grid-template-columns: 1fr; } }

/* ---------- Barre d'appel mobile ---------- */
.mbar { display: none; }
@media (max-width: 860px) {
  .mbar {
    display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--blanc); border-top: 1px solid var(--filet-fort); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
    transition: transform .35s var(--ease);
  }
  .mbar.is-hidden { transform: translateY(110%); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; font-weight: 600; text-decoration: none; border-radius: 2px; }
  .mbar__tel { border: 1px solid var(--encre); }
  .mbar__devis { background: var(--vert); color: #fff; }
  .mbar__devis:hover { color: #fff; }
  body { padding-bottom: 72px; }
}

/* ---------- Apparition douce ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print { .head, .mbar, .cta, .foot__grid { display: none; } }

/* ---------- Photo d'archives (petite source : jamais pleine largeur) ---------- */
.archive { margin-top: clamp(48px, 7vw, 104px); }
.archive img { width: min(100%, 700px); filter: contrast(1.05); }
.archive figcaption { font: italic 400 .9375rem/1.5 var(--serif); color: var(--encre-3); padding-top: 12px; }
.note--bloc { margin-top: 8px; font-size: 1rem; }
.coord .v { overflow-wrap: anywhere; }
