/* Camping-Car Services 64 : papier, vert sauge, ocre. Literata (titres) + Karla (texte), auto-hébergées. */
@font-face { font-family: 'Literata'; src: url('/fonts/literata-normal.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Literata'; src: url('/fonts/literata-italic.woff2') format('woff2'); font-weight: 400 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'Karla'; src: url('/fonts/karla-normal.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --papier: #f2f0e6;
  --papier-2: #e7e5d6;
  --blanc: #fbfaf5;
  --encre: #1f2b24;
  --encre-2: #4a564d;
  --sauge: #7d977f;
  --sauge-fonce: #3b5643;
  --sauge-nuit: #2c4233;
  --sauge-clair: #dce3d3;
  --ocre: #c68f2e;
  --ocre-fonce: #a8761e;
  --ocre-clair: #f1dfb8;
  --trait: #cfcbb8;
  --serif: 'Literata', 'Iowan Old Style', Georgia, serif;
  --sans: 'Karla', 'Segoe UI', system-ui, sans-serif;
  --r: 3px;
  --wrap: 1180px;
  --ombre: 0 1px 2px rgb(31 43 36 / .06), 0 8px 24px -8px rgb(31 43 36 / .18);
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4.5rem; --s9: 6.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.62; color: var(--encre);
  background-color: var(--papier);
  /* grain de papier très léger */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .22 0 0 0 0 .15 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
::selection { background: var(--ocre-clair); color: var(--encre); }
:focus-visible { outline: 2px solid var(--ocre-fonce); outline-offset: 3px; border-radius: 2px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sauge-fonce); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--encre); }
p { margin: 0 0 var(--s4); }
ul, ol { padding-left: 1.2em; }
strong { font-weight: 700; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -.012em; margin: 0 0 var(--s4); text-wrap: balance; color: var(--encre); }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.9rem); font-weight: 450; }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.7vw, 2.5rem); margin-top: 0; }
h3 { font-size: 1.32rem; font-weight: 600; line-height: 1.25; }
h1 em, h2 em { font-style: italic; color: var(--sauge-fonce); font-weight: 400; }
.nw { white-space: nowrap; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.mesure { max-width: 68ch; }
.chapo { font-size: 1.2rem; line-height: 1.55; color: var(--encre-2); max-width: 60ch; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--encre); color: var(--blanc); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
.ico { width: 1.2em; height: 1.2em; flex: none; vertical-align: -.22em; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .78rem 1.25rem; border-radius: var(--r);
  font: 700 1rem/1.15 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s cubic-bezier(.2,.8,.2,1); }
.btn--lg { padding: .98rem 1.5rem; font-size: 1.05rem; }
.btn--ocre { background: var(--ocre); color: var(--encre); box-shadow: 0 1px 0 rgb(31 43 36 / .25), 0 6px 16px -8px rgb(168 118 30 / .7); }
.btn--ocre:hover { background: var(--ocre-fonce); color: var(--blanc); transform: translateY(-1px); }
.btn--trait { border-color: var(--encre); color: var(--encre); background: transparent; }
.btn--trait:hover { background: var(--encre); color: var(--papier); }
.btn--clair { border-color: rgb(242 240 230 / .7); color: var(--papier); }
.btn--clair:hover { background: var(--papier); color: var(--sauge-nuit); }
.btn:active { transform: translateY(1px); }
.lien-tel { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; color: inherit; }

/* ---------- Note Google ---------- */
.note { display: inline-flex; align-items: center; gap: .55rem; color: var(--encre-2); text-decoration: none; font-size: .95rem; line-height: 1.3; }
.note strong { color: var(--encre); }
.note small { font-size: .8rem; opacity: .85; }
.note__stars { display: inline-flex; color: var(--ocre-fonce); }
.note__stars .ico { width: 1rem; height: 1rem; }
.note:hover strong { text-decoration: underline; }
.note--sur-vert, .note--sur-vert strong, .note--pied, .note--pied strong { color: var(--papier); }
.note--sur-vert .note__stars, .note--pied .note__stars { color: var(--ocre); }

/* ---------- À compléter ---------- */
.a-completer { display: inline-block; background: repeating-linear-gradient(-45deg, #fff6d8, #fff6d8 8px, #fbefc6 8px, #fbefc6 16px);
  border: 1px dashed var(--ocre-fonce); color: #6b4a0e; font: 600 .88rem/1.4 var(--sans); padding: .2rem .55rem; border-radius: 2px; }
div.a-completer, p.a-completer { display: block; padding: .7rem .9rem; }

/* ---------- En-tête ---------- */
.head { position: sticky; top: 0; z-index: 50; background: rgb(242 240 230 / .94); backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.head.is-scrolled { border-bottom-color: var(--trait); box-shadow: 0 6px 20px -16px rgb(31 43 36 / .5); }
.head__in { display: flex; align-items: center; gap: var(--s5); min-height: 72px; }
.logo { display: inline-flex; align-items: baseline; gap: .4rem; text-decoration: none; color: var(--encre); font-family: var(--serif); white-space: nowrap; margin: 0; }
.logo__mot { font-size: 1.32rem; font-weight: 600; letter-spacing: -.01em; }
.logo__mot em { font-weight: 400; color: var(--sauge-fonce); }
.logo__num { font: 700 .82rem/1 var(--sans); letter-spacing: .06em; color: var(--blanc); background: var(--sauge-fonce); padding: .3rem .38rem .26rem; border-radius: 2px; transform: translateY(-.15rem); }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; white-space: nowrap; padding: .5rem .55rem; color: var(--encre); text-decoration: none; font-weight: 500; font-size: .98rem; border-radius: 2px; }
.nav a:hover { background: var(--sauge-clair); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--ocre); }
.nav__extra { display: none; }
.head__act { display: flex; align-items: center; gap: var(--s3); }
.head__tel { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--encre); text-decoration: none; white-space: nowrap; }
.head__tel:hover { color: var(--sauge-fonce); }
.burger { display: none; }

@media (max-width: 1080px) {
  .nav { position: fixed; inset: 64px 0 0 0; background: var(--papier); padding: var(--s5) 1.25rem calc(var(--s8) + env(safe-area-inset-bottom));
    overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s cubic-bezier(.2,.8,.2,1), visibility 0s .3s; }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .25s, transform .3s cubic-bezier(.2,.8,.2,1); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { font: 500 1.45rem/1.2 var(--serif); padding: .85rem 0; border-bottom: 1px solid var(--trait); border-radius: 0; }
  .nav a:hover { background: none; color: var(--sauge-fonce); }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--sauge-fonce); font-style: italic; }
  .nav__extra { display: grid; gap: var(--s3); margin-top: var(--s6); }
  .head__in { min-height: 64px; }
  .burger { display: inline-grid; place-content: center; gap: 5px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 0; }
  .burger span { display: block; width: 22px; height: 2px; background: var(--encre); transition: transform .25s, opacity .2s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
  .head__tel span, .head__devis { display: none; }
  .head__tel { width: 44px; height: 44px; justify-content: center; border: 1.5px solid var(--encre); border-radius: 50%; }
  .logo__mot { font-size: 1.12rem; }
}

/* ---------- Fil d'Ariane ---------- */
.fil { padding-top: var(--s4); font-size: .9rem; }
.fil ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; padding: 0; margin: 0; color: var(--encre-2); }
.fil li + li::before { content: "/"; margin-right: .3rem; color: var(--sauge); }
.fil a { color: var(--encre-2); }

/* ---------- Photos « tirage » ---------- */
.tirage { margin: 0; background: var(--blanc); padding: .6rem .6rem 0; box-shadow: var(--ombre); }
.tirage img { width: 100%; aspect-ratio: var(--ar, 4 / 3); object-fit: cover; }
.tirage figcaption { font: italic 400 .86rem/1.4 var(--serif); color: var(--encre-2); padding: .55rem .15rem .65rem; }
.tirage--incline { transform: rotate(-1.2deg); }
.tirage--incline-d { transform: rotate(1deg); }

/* ---------- Accueil : hero photo ---------- */
.hero { position: relative; padding-bottom: var(--s7); }
.hero__photo { position: relative; margin: 0; height: clamp(320px, 62vh, 640px); overflow: hidden; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__photo figcaption { position: absolute; right: 1rem; bottom: .8rem; font: italic .8rem/1.3 var(--serif); color: #fff; text-shadow: 0 1px 3px rgb(0 0 0 / .6); max-width: 32ch; text-align: right; }
.hero__carte { position: relative; margin-top: clamp(-220px, -18vw, -120px); background: var(--papier); padding: clamp(1.6rem, 1rem + 2.5vw, 3rem); max-width: 760px;
  box-shadow: 0 2px 4px rgb(31 43 36 / .05), 0 24px 48px -24px rgb(31 43 36 / .35); }
.hero__carte::before { content: ""; position: absolute; left: 0; top: 0; width: 72px; height: 4px; background: var(--ocre); }
.hero__carte h1 { margin-bottom: var(--s4); }
.hero__carte .chapo { margin-bottom: var(--s5); }
.hero__act { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); align-items: center; margin-bottom: var(--s5); }
.reassure { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); list-style: none; padding: var(--s4) 0 0; margin: 0; border-top: 1px solid var(--trait); color: var(--encre-2); font-size: .95rem; }
.reassure li { display: flex; align-items: center; gap: .45rem; }
.reassure .ico { color: var(--sauge-fonce); }
@media (max-width: 640px) {
  .hero__photo { height: 300px; }
  .hero__carte { margin-top: -64px; width: calc(100% - 1.25rem); margin-left: .625rem; padding: 1.5rem 1.25rem; }
  .hero__photo figcaption { display: none; }
  .hero__act .btn { width: 100%; }
}

.hero__bas { display: grid; grid-template-columns: minmax(0, 720px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.hero__infos { padding-bottom: var(--s2); font-size: .95rem; color: var(--encre-2); max-width: 320px; justify-self: end; width: 100%; }
.hero__infos-t { font: italic 500 1.35rem/1.2 var(--serif); color: var(--encre); margin-bottom: var(--s3); }
.hero__infos .horaires { margin-bottom: var(--s4); }
.hero__infos a { font-weight: 700; }
@media (max-width: 1000px) { .hero__bas { grid-template-columns: 1fr; } .hero__infos { display: none; } }

/* ---------- Sections ---------- */
.sec { padding-block: var(--s8); }
.sec--papier2 { background: var(--papier-2); }
.sec--sauge { background: var(--sauge-clair); }
.sec__tete { display: grid; gap: var(--s3); margin-bottom: var(--s6); max-width: 62ch; }
.sec__tete p { color: var(--encre-2); margin: 0; font-size: 1.1rem; }
@media (max-width: 640px) { .sec { padding-block: var(--s7); } }

/* Index éditorial des services */
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--encre); }
.index li { border-bottom: 1px solid var(--trait); }
.index a { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr) auto; gap: var(--s5); align-items: center; padding: var(--s5) 0; color: var(--encre); text-decoration: none; transition: background-color .2s, padding .25s cubic-bezier(.2,.8,.2,1); }
.index h3 { margin: 0; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.8rem); font-weight: 500; display: flex; align-items: center; gap: .7rem; }
.index h3 .ico { color: var(--sauge-fonce); width: 1.6rem; height: 1.6rem; }
.index p { margin: 0; color: var(--encre-2); }
.index .fleche { width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1.5px solid var(--encre); display: grid; place-content: center; transition: background-color .2s, color .2s, transform .25s; }
.index a:hover { background: rgb(220 227 211 / .55); padding-inline: var(--s4); }
.index a:hover .fleche { background: var(--encre); color: var(--papier); transform: translateX(3px); }
@media (max-width: 760px) { .index a { grid-template-columns: 1fr auto; } .index p { grid-column: 1 / -1; grid-row: 2; } }

/* Deux colonnes texte + photo */
.duo { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.duo--inverse > :first-child { order: 2; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } .duo--inverse > :first-child { order: 0; } }

/* Étapes */
.etapes { list-style: none; counter-reset: e; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); padding: 0; margin: 0; }
.etapes li { counter-increment: e; position: relative; padding-top: var(--s5); border-top: 2px solid var(--encre); }
.etapes li::before { content: counter(e); position: absolute; top: -1.05rem; left: 0; background: var(--fond, var(--papier-2)); padding-right: .6rem; font: italic 500 1.5rem/1.3 var(--serif); color: var(--ocre-fonce); }
.etapes h3 { margin-bottom: var(--s2); }
.etapes p { color: var(--encre-2); margin: 0; }
@media (max-width: 760px) { .etapes { grid-template-columns: 1fr; gap: var(--s6); } }

/* Listes à coches */
.coches { list-style: none; padding: 0; margin: 0 0 var(--s5); display: grid; gap: .55rem; }
.coches li { display: flex; gap: .65rem; align-items: flex-start; }
.coches .ico { color: var(--sauge-fonce); margin-top: .2rem; }

/* Citations de chantier (publications réelles de l'atelier) */
.carnet { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--s5); }
.fiche-chantier { background: var(--blanc); padding: var(--s5); box-shadow: var(--ombre); position: relative; }
.fiche-chantier::after { content: ""; position: absolute; top: -9px; left: 50%; width: 84px; height: 20px; margin-left: -42px; background: rgb(198 143 46 / .32); transform: rotate(-2deg); }
.fiche-chantier h3 { font-size: 1.2rem; margin-bottom: var(--s2); }
.fiche-chantier blockquote { margin: 0 0 var(--s3); font: italic 1.02rem/1.55 var(--serif); color: var(--encre); }
.fiche-chantier .src { font-size: .85rem; color: var(--encre-2); margin: 0; }
.fiche-chantier .a-completer { margin-top: var(--s3); }

/* Zone / trajets */
.trajets { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 0 var(--s5); }
.trajets li { display: flex; justify-content: space-between; gap: var(--s3); padding: .62rem 0; border-bottom: 1px dotted var(--sauge); font-variant-numeric: tabular-nums; }
.trajets span { color: var(--encre-2); white-space: nowrap; }

/* Horaires */
.horaires { margin: 0; display: grid; gap: .1rem; font-variant-numeric: tabular-nums; }
.horaires div { display: flex; justify-content: space-between; gap: var(--s4); padding: .38rem 0; border-bottom: 1px solid var(--trait); }
.horaires dt { font-weight: 600; }
.horaires dd { margin: 0; color: var(--encre-2); }
.horaires--pied div { border-bottom-color: rgb(242 240 230 / .15); padding: .2rem 0; }
.horaires--pied dd { color: rgb(242 240 230 / .8); }

/* Encadré infos */
.encadre { background: var(--blanc); padding: var(--s6); box-shadow: var(--ombre); }
.encadre h2, .encadre h3 { margin-top: 0; }

/* FAQ */
.faq { border-top: 1px solid var(--encre); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--trait); }
.faq summary { cursor: pointer; list-style: none; padding: var(--s5) 2.5rem var(--s5) 0; position: relative; font: 500 1.18rem/1.35 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .3rem; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 1.6px solid var(--encre); border-bottom: 1.6px solid var(--encre); transform: rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq summary:hover { color: var(--sauge-fonce); }
.faq__r { padding: 0 0 var(--s5); color: var(--encre-2); max-width: 70ch; }

/* Page intérieure : en-tête */
.ptete { padding-block: var(--s6) var(--s7); }
.ptete__grille { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: end; }
.ptete__act { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); align-items: center; margin-top: var(--s5); }
@media (max-width: 860px) { .ptete__grille { grid-template-columns: 1fr; } .ptete__act .btn { width: 100%; } }

/* Contenu rédactionnel */
.prose { max-width: 70ch; }
.prose h2 { margin-top: var(--s7); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--s6); }
.prose ul { margin: 0 0 var(--s5); }
.prose li { margin-bottom: .4rem; }
.colonnes { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.colonnes aside { position: sticky; top: 96px; display: grid; gap: var(--s5); }
@media (max-width: 960px) { .colonnes { grid-template-columns: 1fr; } .colonnes aside { position: static; } }
.aside-devis { background: var(--sauge-nuit); color: var(--papier); padding: var(--s5); }
.aside-devis h2 { color: var(--papier); font-size: 1.35rem; }
.aside-devis p { color: rgb(242 240 230 / .85); font-size: .98rem; }
.aside-devis .btn { width: 100%; }
.aside-devis .lien-tel { margin-top: var(--s3); color: var(--papier); }

/* Autres services */
.autres { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0 var(--s5); border-top: 1px solid var(--encre); }
.autres a { display: grid; grid-template-columns: 1fr auto; gap: .2rem var(--s3); padding: var(--s4) 0; border-bottom: 1px solid var(--trait); text-decoration: none; color: var(--encre); height: 100%; }
.autres strong { font: 500 1.15rem/1.3 var(--serif); }
.autres span { grid-column: 1; color: var(--encre-2); font-size: .95rem; }
.autres .ico { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--sauge-fonce); transition: transform .2s; }
.autres a:hover .ico { transform: translateX(4px); }

/* CTA de fin */
.cta-fin { background: var(--sauge-nuit); color: var(--papier); padding-block: var(--s8); }
.cta-fin__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: var(--s6); align-items: center; }
.cta-fin h2 { color: var(--papier); }
.cta-fin p { color: rgb(242 240 230 / .86); font-size: 1.1rem; max-width: 52ch; }
.cta-fin__act { display: grid; gap: var(--s4); justify-items: start; }
.cta-fin .lien-tel { color: var(--papier); }
@media (max-width: 760px) { .cta-fin__in { grid-template-columns: 1fr; } .cta-fin .btn { width: 100%; } }

/* Formulaire */
.form { display: grid; gap: var(--s4); }
.form__ligne { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
@media (max-width: 600px) { .form__ligne { grid-template-columns: 1fr; } }
.champ { display: grid; gap: .35rem; }
.champ label, .champ legend { font-weight: 700; font-size: .95rem; }
.champ small { color: var(--encre-2); font-size: .85rem; }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--encre); background: var(--blanc); border: 1.5px solid #b9b5a0; border-radius: var(--r); padding: .78rem .85rem; transition: border-color .2s, box-shadow .2s; }
input::placeholder, textarea::placeholder { color: #6c7468; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sauge-fonce); box-shadow: 0 0 0 3px rgb(59 86 67 / .2); }
textarea { min-height: 140px; resize: vertical; }
input[type=file] { font: inherit; font-size: .95rem; padding: .7rem; background: var(--blanc); border: 1.5px dashed var(--sauge); border-radius: var(--r); width: 100%; }
input[type=file]::file-selector-button { font: 700 .92rem var(--sans); background: var(--sauge-clair); color: var(--encre); border: 0; padding: .5rem .8rem; border-radius: 2px; margin-right: .8rem; cursor: pointer; }
.case { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; color: var(--encre-2); }
.case input { margin-top: .25rem; width: 1.1rem; height: 1.1rem; accent-color: var(--sauge-fonce); flex: none; }
.pot { position: absolute; left: -9999px; }
.form__msg { padding: .85rem 1rem; border-radius: var(--r); font-weight: 600; }
.form__msg[data-etat="ok"] { background: var(--sauge-clair); color: var(--sauge-nuit); }
.form__msg[data-etat="err"] { background: #f7dfd6; color: #7a2a12; }
.form button[disabled] { opacity: .6; cursor: progress; }

/* Contact */
.contact-grille { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 900px) { .contact-grille { grid-template-columns: 1fr; } }
.coord { list-style: none; padding: 0; margin: 0 0 var(--s5); display: grid; gap: var(--s3); }
.coord li { display: flex; gap: .7rem; align-items: flex-start; }
.coord .ico { color: var(--sauge-fonce); margin-top: .2rem; }
.coord a { font-weight: 700; }

/* Plan du site */
.plan { columns: 2 280px; column-gap: var(--s7); }
.plan li { margin-bottom: .5rem; break-inside: avoid; }

/* Pied */
.foot { background: var(--encre); color: rgb(242 240 230 / .82); padding-top: var(--s8); font-size: .97rem; }
.foot a { color: var(--papier); }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: var(--s6); padding-bottom: var(--s7); }
.foot__brand p { max-width: 36ch; }
.logo--pied { color: var(--papier); margin-bottom: var(--s4); }
.logo--pied .logo__mot em { color: var(--sauge); }
.foot__h { font: 600 .82rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--sauge); margin-bottom: var(--s4); }
.foot address { font-style: normal; line-height: 1.75; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.foot ul a { text-decoration: none; }
.foot ul a:hover { text-decoration: underline; }
.foot__maps { display: inline-flex; gap: .4rem; align-items: center; }
.foot__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); border-top: 1px solid rgb(242 240 230 / .15); padding-block: var(--s5) calc(var(--s5) + 70px); font-size: .88rem; }
.foot__bas p { margin: 0; }
.foot__liens { display: flex; flex-wrap: wrap; gap: var(--s4); align-items: center; }
@media (min-width: 761px) { .foot__bas { padding-bottom: var(--s5); } }
@media (max-width: 960px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot__grid { grid-template-columns: 1fr; } }

/* Barre mobile */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: grid; grid-template-columns: 1fr 1.25fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--papier);
    border-top: 1px solid var(--trait); padding: .5rem .6rem calc(.5rem + env(safe-area-inset-bottom)); gap: .5rem; box-shadow: 0 -8px 24px -14px rgb(31 43 36 / .4);
    transition: transform .3s cubic-bezier(.2,.8,.2,1); }
  .mbar.is-hidden { transform: translateY(110%); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; border-radius: var(--r); font-weight: 700; text-decoration: none; }
  .mbar__tel { border: 1.5px solid var(--encre); color: var(--encre); }
  .mbar__devis { background: var(--ocre); color: var(--encre); }
  body { padding-bottom: 0; }
}

/* Apparition douce : un seul moment, la carte du hero */
.js .hero__carte { animation: monte .9s cubic-bezier(.16,1,.3,1) both .1s; }
@keyframes monte { from { opacity: .001; transform: translateY(24px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

/* Barres de défilement */
html { scrollbar-color: var(--sauge) var(--papier-2); }

/* Correctifs passe 2 */
.cta-fin h2 em { color: var(--ocre-clair); }
.wrap.mesure { max-width: none; }
.wrap.mesure > * { max-width: 68ch; }
.wrap.mesure > h1 { max-width: 22ch; }
