/* Azimut Nord - feuille de style commune à toutes les pages du site. */

/* ─── Police Archivo, hébergée sur le serveur ──────────────────────
   Police variable, sous-ensemble latin (français complet : accents, œ, €),
   graisses 400 à 700 et largeur 100 à 104 % : tout ce que ce site utilise.
   Licence SIL OFL 1.1 : /assets/polices/OFL.108b4e57c9.txt
   Chaque repère « arobase-asset » est remplacé par le générateur par l'adresse versionnée du fichier.
   font-display: swap affiche tout de suite le texte avec une police du système,
   puis bascule sur Archivo dès qu'elle est chargée. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100% 104%;
  font-display: swap;
  src: url("/assets/polices/archivo-latin.e3a28eade2.woff2") format("woff2");
}

/* ─── Jetons de design ─────────────────────────────────────────────
   Couleurs reprises du logo : bleu nuit (texte, boutons), cuivre
   (accent très ponctuel), bleu ciel non utilisé pour rester sobre. */
:root {
  --ink: #16243a;
  --ink-2: #3a4658;
  --muted: #5f6878;
  --paper: #f6f5f1;
  --white: #ffffff;
  --line: #d9d5cc;
  --line-soft: #e7e4dd;
  --copper: #9c5a34;
  --night: #121d2f;
  --radius: 3px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.015em; line-height: 1.12; font-stretch: 104%; }
h2 { font-size: clamp(28px, 3.2vw, 42px); }
h3 { font-size: 20px; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section-white { background: var(--white); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

/* En-tête de section : titre à gauche, texte d'intro à droite */
.section-head {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 24px 64px;
  align-items: end;
  margin-bottom: 48px;
}
.section-head p { color: var(--ink-2); max-width: 62ch; }
.section-head .link-more { justify-self: end; }

/* ─── Boutons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  font: inherit; font-size: 16px; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: #22344f; }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: #e9edf2; }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.link-more { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--copper); padding-bottom: 2px; white-space: nowrap; }
.link-more:hover { color: var(--copper); }

/* Mode brouillon : contenus à compléter (en pointillés) et badge d'avertissement.
   La génération en mode production refuse toute page qui en contient encore. */
.todo { outline: 1px dashed var(--copper); outline-offset: 3px; }
.badge-brouillon {
  position: fixed; left: 12px; bottom: 12px; z-index: 50;
  background: var(--white); color: var(--ink-2); border: 1px solid var(--line);
  font-size: 12px; padding: 6px 10px; border-radius: var(--radius); pointer-events: none;
}

/* ─── En-tête du site ─────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--white); border-bottom: 1px solid var(--line-soft);
}
.header-inner { display: flex; align-items: center; gap: 32px; min-height: 76px; }
.brand { flex: none; }
.brand img { height: 34px; width: auto; }
.main-nav { display: flex; gap: 28px; margin-left: auto; }
.main-nav a { text-decoration: none; font-size: 15.5px; font-weight: 500; color: var(--ink-2); padding: 6px 0; border-bottom: 1px solid transparent; }
.main-nav a:hover { color: var(--ink); border-bottom-color: var(--copper); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-phone { font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.header-phone:hover { color: var(--copper); }
.header-actions .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }
.menu-toggle {
  display: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink);
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  min-height: 42px; padding: 0 14px; cursor: pointer;
}

/* ─── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative; display: grid; align-items: end;
  min-height: clamp(560px, 84vh, 800px);
  color: var(--white); background: var(--night); overflow: hidden;
}
.hero-media, .hero-scrim { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
/* Voile fonctionnel pour la lisibilité du texte sur la photo */
.hero-scrim {
  background:
    linear-gradient(to top, rgba(12,20,34,.86) 0%, rgba(12,20,34,.5) 38%, rgba(12,20,34,0) 70%),
    linear-gradient(to right, rgba(12,20,34,.55) 0%, rgba(12,20,34,0) 60%);
}
.hero-content { position: relative; width: 100%; padding-top: 120px; padding-bottom: clamp(48px, 7vw, 88px); }
.hero h1 { font-size: clamp(34px, 4.8vw, 62px); max-width: 17ch; }
.hero-lead { margin-top: 22px; max-width: 54ch; font-size: clamp(17px, 1.4vw, 19px); color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-caption {
  position: absolute; right: var(--gutter); bottom: 22px;
  font-size: 13px; color: rgba(255,255,255,.72); text-align: right;
}

/* ─── Bande de garanties ──────────────────────────────────────── */
.proof { background: var(--white); border-bottom: 1px solid var(--line-soft); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { padding: 26px 24px; border-left: 1px solid var(--line-soft); }
.proof-item:first-child { border-left: 0; padding-left: 0; }
.proof-item strong { display: block; font-size: 16px; font-weight: 600; }
.proof-item span { display: block; margin-top: 2px; font-size: 14.5px; color: var(--muted); }

/* ─── Prestations (liste type index) ──────────────────────────── */
.services { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.service a {
  display: grid;
  grid-template-columns: 4fr 6fr 2.4fr 1.6fr 24px;
  gap: 8px 40px; align-items: baseline;
  padding: 30px 12px; margin: 0 -12px;
  border-top: 1px solid var(--line);
  text-decoration: none; transition: background-color .15s;
}
.service a:hover { background: var(--white); }
.service a:hover .service-arrow { color: var(--copper); }
.service-desc { color: var(--ink-2); }
.service-deliv { display: block; margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.service-for { font-size: 14.5px; color: var(--muted); }
.service-price { font-size: 15px; color: var(--muted); white-space: nowrap; }
.service-price strong { font-size: 18px; color: var(--ink); font-weight: 600; }
.service-arrow { font-size: 18px; color: var(--ink-2); }

.audiences { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.audience {
  display: flex; flex-direction: column; gap: 10px;
  padding: 28px; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius);
}
.audience p { color: var(--ink-2); }
.audience .link-more { align-self: flex-start; margin-top: 8px; }

/* ─── Réalisations ────────────────────────────────────────────── */
.case-meta { font-size: 14px; color: var(--muted); margin-bottom: 8px; }

/* Accueil : trois cartes identiques. Le lien du titre couvre toute la carte (::after),
   ce qui garde un nom de lien court pour les lecteurs d'écran. */
.cases-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 48px; margin-bottom: 48px; }
.cases-head p { margin-top: 12px; color: var(--ink-2); max-width: 56ch; }
.cases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.case { position: relative; display: flex; flex-direction: column; }
.case:focus-within { outline: 2px solid var(--copper); outline-offset: 6px; }
.case h3 a:focus-visible { outline: 0; }
.case-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--line-soft); border-radius: var(--radius); }
.case-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.case:hover .case-photo img { transform: scale(1.035); }
.case-photo .case-formats { position: absolute; left: 12px; bottom: 12px; margin: 0; }
.case-photo .case-formats li { border-color: transparent; }
.case-body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding-top: 20px; }
.case-type { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--copper); }
.case h3 a { text-decoration: none; }
.case h3 a::after { content: ""; position: absolute; inset: 0; }
.case:hover h3 a { text-decoration: underline; text-decoration-color: var(--copper); text-underline-offset: 4px; }
.case-text { flex: 1; padding-bottom: 6px; color: var(--ink-2); font-size: 16px; }
.case-foot { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--muted); }
.case-go { font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.case-go span { display: inline-block; transition: transform .2s; }
.case:hover .case-go { color: var(--copper); }
.case:hover .case-go span { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .case-photo img, .case-go span { transition: none; } }

/* ─── Méthode : titre fixe à gauche, étapes numérotées sur un fil à droite ─────
   Le nombre d'étapes est libre : le fil s'allonge, le titre reste visible pendant le défilement. */
.timeline { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.timeline-head { position: sticky; top: 108px; }
.timeline-head p { margin-top: 18px; color: var(--ink-2); max-width: 44ch; }
.steps { list-style: none; margin: 0 0 0 17px; padding: 0; border-left: 1px solid var(--ink); }
.step { position: relative; padding: 0 0 40px 48px; }
.step:last-child { padding-bottom: 0; }
.step-num {
  position: absolute; left: -18px; top: -3px; width: 35px; height: 35px;
  display: grid; place-items: center;
  background: var(--paper); border: 1px solid var(--ink); border-radius: var(--radius);
  font-size: 14px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums;
}
.step:last-child .step-num { background: var(--ink); color: var(--white); }
.step h3 { padding-top: 3px; margin-bottom: 10px; }
.step p { color: var(--ink-2); font-size: 16px; }
.step .step-time { display: inline-block; margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }

/* ─── À propos ────────────────────────────────────────────────── */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.portrait-ph {
  aspect-ratio: 4 / 5; display: grid; place-items: center; padding: 24px; text-align: center;
  background: #ebe8e1; color: var(--muted); font-size: 14.5px; border-radius: var(--radius);
}
.portrait { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
/* Sans portrait (photo pas encore fournie) : le texte occupe toute la largeur. */
.about.about-solo { grid-template-columns: 1fr; }
.about h2 { margin-bottom: 24px; }
.about p + p { margin-top: 16px; }
.about-text p { color: var(--ink-2); max-width: 60ch; }
.about-sub { margin: 40px 0 16px; font-size: 17px; font-stretch: 100%; }
/* Matériel : une fiche par drone, avec son usage */
.fleet { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.drone { padding: 22px 22px 10px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.drone-use { font-size: 14px; color: var(--muted); }
.drone h4, .drone .drone-name { margin: 4px 0 14px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; font-stretch: 104%; }
.drone ul { list-style: none; margin: 0; padding: 0; }
.drone li { padding: 9px 0; border-top: 1px solid var(--line-soft); font-size: 15px; color: var(--ink-2); }
.specs { margin: 24px 0 0; display: grid; grid-template-columns: max-content 1fr; border-top: 1px solid var(--line); }
.specs dt, .specs dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.specs dt { color: var(--muted); padding-right: 32px; }
.specs dd { font-weight: 500; }
/* Page « À propos » : cartes des drones avec photo, puis les certifications sur une ligne. */
.drone-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.drone-card { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.drone-photo { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--line-soft); }
.drone-photo-ph { display: grid; place-items: center; padding: 16px; text-align: center; outline-offset: -8px;
                  background: #ebe8e1; color: var(--muted); font-size: 14.5px; }
.drone-body { padding: 24px 28px 14px; }
.drone-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; margin-bottom: 14px; }
.drone-card .drone-name { font-size: 24px; }
.drone-card ul { list-style: none; margin: 0; padding: 0; }
.drone-card li { padding: 10px 0; border-top: 1px solid var(--line-soft); font-size: 15.5px; color: var(--ink-2); }
.drone-creds { margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.drone-creds div { padding-top: 14px; border-top: 1px solid var(--line); }
.drone-creds dt { font-size: 14px; color: var(--muted); }
.drone-creds dd { margin: 2px 0 0; font-size: 15.5px; font-weight: 500; line-height: 1.45; }
.nowrap { white-space: nowrap; }

/* ─── Avis clients ────────────────────────────────────────────────
   Avis recopiés depuis la fiche Google via l'outil d'administration.
   Obligations (art. D111-17 C. conso) : date de publication, date de
   l'expérience et existence d'un contrôle affichées près des avis. */
.rating-summary { justify-self: end; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; }
.rating-score { font-size: 42px; font-weight: 600; line-height: 1; font-stretch: 104%; }
.rating-max { margin-left: 4px; font-size: 18px; color: var(--muted); }
.rating-count { color: var(--ink-2); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review {
  margin: 0; padding: 26px; display: flex; flex-direction: column; gap: 16px;
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius);
}
.review-stars { color: var(--copper); font-size: 15px; letter-spacing: 3px; }
.review-text { flex: 1; margin: 0; font-size: 16.5px; }
.review-meta { display: flex; flex-direction: column; gap: 2px; padding-top: 14px; border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--muted); }
.review-meta strong { font-size: 15px; font-weight: 600; color: var(--ink); }
.reviews-note { margin-top: 24px; max-width: 90ch; font-size: 13.5px; color: var(--muted); }

/* ─── Zone + FAQ ──────────────────────────────────────────────── */
.zone-faq { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 88px); }
.zone h2, .faq h2 { margin-bottom: 20px; }
.zone p { color: var(--ink-2); }
.towns { list-style: none; margin: 28px 0 0; padding: 0; columns: 2; column-gap: 32px; }
.towns li { padding: 7px 0; border-bottom: 1px solid var(--line-soft); break-inside: avoid; font-size: 15.5px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-weight: 600; font-size: 17.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 22px; font-weight: 400; color: var(--ink-2); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 40px 22px 0; color: var(--ink-2); }

/* ─── Contact ─────────────────────────────────────────────────── */
.contact { background: var(--night); color: var(--white); padding: var(--section) 0; }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 88px); }
.contact h2 { margin-bottom: 20px; }
.contact-intro { color: rgba(255,255,255,.8); max-width: 44ch; }
.contact-list { list-style: none; margin: 36px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.18); }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.18); font-size: 16px; }
.contact-list span { color: rgba(255,255,255,.62); }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }

.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
/* Une liste d'options longue (« Relevés topographiques et 3D… ») ne doit pas élargir la colonne :
   sans min-width: 0, la grille suit la largeur naturelle du <select> et la page déborde sur téléphone. */
.contact-grid > *, .quote-form > * { min-width: 0; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field select { max-width: 100%; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; color: rgba(255,255,255,.8); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--white); border: 1px solid transparent; border-radius: var(--radius);
  min-height: 48px; padding: 10px 14px;
}
.field textarea { min-height: 120px; resize: vertical; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 6px; }
.form-foot p { font-size: 14px; color: rgba(255,255,255,.62); }

/* ─── Pied de page ────────────────────────────────────────────── */
.site-footer { padding: 64px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 4fr 3fr 3fr 3fr; gap: 40px; }
.footer-grid h2 { font-size: 15px; font-weight: 600; letter-spacing: 0; margin-bottom: 14px; font-stretch: 100%; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { padding: 4px 0; color: var(--ink-2); }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--copper); }
.footer-brand img { height: 32px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: var(--ink-2); max-width: 34ch; }

/* Réseaux sociaux : tuiles de 40 px aux couleurs des marques (pied de page et page Contact).
   Le dessin des logos est défini une fois par page (<svg class="sprite">, modeles/partiels/reseaux.html). */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.socials { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.socials a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; overflow: hidden; color: #fff; text-decoration: none; transition: filter .15s; }
.socials a:hover, .site-footer .socials a:hover { color: #fff; filter: brightness(1.1); }
.socials svg { display: block; fill: currentColor; }
.socials .s-li { background: #0a66c2; border-radius: 12%; }
.socials .s-li svg { width: 72%; height: 72%; }
.socials .s-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); border-radius: 22.5%; }
.socials .s-ig svg { width: 70%; height: 70%; fill: none; stroke: #fff; stroke-width: 2; }
.socials .s-fb { background: #0866ff; border-radius: 50%; }
.socials .s-fb svg { width: 46%; height: 80%; align-self: flex-end; }
.footer-brand .socials { margin-top: 20px; }
.aside-social p { margin: 0 0 14px; color: var(--ink-2); font-size: 15.5px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px;
}

/* ─── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .header-phone { display: none; }
  .service a { grid-template-columns: 1fr auto; gap: 8px 24px; }
  .service h3 { grid-column: 1; }
  .service-price { grid-column: 2; grid-row: 1; text-align: right; }
  .service-desc { grid-column: 1 / -1; }
  .service-for { grid-column: 1 / -1; }
  .service-arrow { display: none; }
}
@media (max-width: 880px) {
  .section-head, .cases, .about, .zone-faq, .contact-grid { grid-template-columns: 1fr; }
  .cases { gap: 44px; }
  .section-head .link-more, .rating-summary { justify-self: start; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-item { padding: 20px 16px 20px 0; border-left: 0; }
  .proof-item:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .proof-item:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line-soft); }
  .timeline { grid-template-columns: 1fr; }
  .timeline-head { position: static; }
  .reviews { grid-template-columns: 1fr; }
  .audiences { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about .portrait-ph { aspect-ratio: 3 / 2; }
  .drone-cards, .drone-creds { grid-template-columns: 1fr; }
  .drone-creds { gap: 0; }
  .drone-creds div { padding: 12px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .brand img { height: 28px; }
  .header-actions .btn { display: none; }
  .hero { min-height: 600px; }
  .hero-content { padding-bottom: 72px; }
  /* Le texte occupe toute la hauteur de l'écran : voile plus dense pour rester lisible sur la photo. */
  .hero-scrim { background: linear-gradient(to top, rgba(12,20,34,.9) 0%, rgba(12,20,34,.78) 50%, rgba(12,20,34,.55) 80%, rgba(12,20,34,.35) 100%); }
  .hero-actions .btn { width: 100%; }
  .hero-caption { left: var(--gutter); right: var(--gutter); bottom: 20px; text-align: left; font-size: 12px; }
  .quote-form { grid-template-columns: 1fr; }
  .fleet { grid-template-columns: 1fr; }
  .towns { columns: 2; }
  .footer-grid { grid-template-columns: 1fr; }
  .badge-brouillon { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   Navigation : sous-menu « Prestations » et page courante
   ═══════════════════════════════════════════════════════════════ */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* Lien d'évitement : hors écran tant qu'il n'a pas le focus clavier. */
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000; padding: 12px 18px;
  background: var(--ink); color: var(--white); border-radius: var(--radius);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
.main-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--copper); }
.nav-group { position: relative; display: flex; align-items: center; gap: 2px; }
.sub-toggle {
  width: 26px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--ink-2);
}
.sub-toggle::before {
  content: ""; display: block; width: 7px; height: 7px; margin: -4px auto 0;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
}
.subnav {
  display: none; position: absolute; top: calc(100% + 14px); left: -20px; z-index: 45;
  min-width: 310px; margin: 0; padding: 8px 0; list-style: none;
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(18, 29, 47, .10);
}
/* Pont invisible : le sous-menu reste ouvert quand la souris descend vers lui. */
.subnav::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-group:hover .subnav, .nav-group:focus-within .subnav, .nav-group.is-open .subnav { display: block; }
.main-nav .subnav a { display: block; padding: 10px 20px; border: 0; font-size: 15px; }
.main-nav .subnav a:hover { background: var(--paper); }

/* Menu mobile : sous 1100 px, la navigation complète ne tient plus sur une ligne. */
@media (max-width: 1100px) {
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px;
    background: var(--white); border-bottom: 1px solid var(--line-soft);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 17px; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .header-inner { gap: 12px; }
  .main-nav { max-height: calc(100vh - 76px); overflow-y: auto; }
  .header-actions { margin-left: auto; gap: 10px; }
  .nav-group { flex-direction: column; align-items: stretch; }
  .sub-toggle { display: none; }
  .subnav { display: block; position: static; min-width: 0; padding: 0 0 6px 16px; border: 0; box-shadow: none; }
  .subnav::before { display: none; }
  .main-nav .subnav a { padding: 11px 0; font-size: 16px; border-bottom: 1px solid var(--line-soft); }
  .main-nav .subnav a:hover { background: none; }
}

/* ═══════════════════════════════════════════════════════════════
   Pages intérieures : composants communs
   ═══════════════════════════════════════════════════════════════ */
.breadcrumb { margin-bottom: 28px; font-size: 14px; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: var(--line); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }

.page-head { padding: 48px 0 var(--section); background: var(--white); border-bottom: 1px solid var(--line-soft); }
.page-head h1 { font-size: clamp(32px, 4.2vw, 54px); max-width: 20ch; }
.page-head .lead { margin-top: 20px; max-width: 62ch; font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); }

.btn-outline { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-outline:hover { border-color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* En-tête de prestation : texte + photo */
.service-hero { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.service-hero figure { margin: 0; }
.service-hero figcaption, .figure-caption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.facts { display: grid; grid-template-columns: 1fr 1fr; margin: 36px 0 0; border-top: 1px solid var(--line); }
.facts div { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.facts div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.facts dt { font-size: 14px; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; }

/* Liste de points en colonnes, filet au-dessus (liste de points, sans numéros) */
.points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.points li { padding-top: 20px; border-top: 1px solid var(--ink); }
.points h3 { margin-bottom: 10px; font-size: 19px; }
.points p { font-size: 16px; color: var(--ink-2); }
.points-note { margin-top: 36px; max-width: 70ch; color: var(--ink-2); }

/* Deux colonnes : texte + illustration */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.split h2 { margin-bottom: 20px; }
.split-text > p { color: var(--ink-2); max-width: 54ch; }
.checklist { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); }
.split > .checklist { margin-top: 24px; }
.checklist li { position: relative; padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line); font-size: 16px; }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 19px; width: 11px; height: 6px;
  border-left: 2px solid var(--copper); border-bottom: 2px solid var(--copper); transform: rotate(-45deg);
}

/* Aperçu d'un extrait de rapport (illustration en HTML) */
.report {
  margin: 0; padding: clamp(20px, 3vw, 36px); background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: 0 18px 40px rgba(18, 29, 47, .07); font-size: 14px;
}
.report-head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.report-head strong { display: block; font-size: 16px; }
.report-head span { color: var(--muted); }
.report-head img { height: 22px; width: auto; }
.report figure { margin: 18px 0; }.report table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.report th, .report td { padding: 9px 8px 9px 0; text-align: left; border-bottom: 1px solid var(--line-soft); }
.report th { font-weight: 600; color: var(--muted); font-size: 13px; }
.level { display: inline-block; padding: 1px 8px; border-radius: 2px; font-size: 12.5px; font-weight: 600; }
.level-high { background: #f6e3d9; color: #8a3c17; }
.level-mid { background: #f3ecd6; color: #6e5512; }

/* Tarifs */
.prices { border-top: 1px solid var(--line); }
.price-row {
  display: grid; grid-template-columns: 5fr 5fr 2fr; gap: 8px 40px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.price-row p { color: var(--ink-2); }
.price-row .price { text-align: right; font-size: 15px; color: var(--muted); white-space: nowrap; }
.price-row .price strong { font-size: 22px; color: var(--ink); font-weight: 600; }
.prices-note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* Carte compacte vers une réalisation */
.related-case {
  display: grid; grid-template-columns: 220px 1fr auto; gap: 28px; align-items: center;
  padding: 20px; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius);
  text-decoration: none; transition: border-color .15s;
}
.related-case:hover { border-color: var(--ink); }
.related-case img { width: 220px; aspect-ratio: 3 / 2; object-fit: cover; }
.related-case p { color: var(--ink-2); }
.related-case .case-meta { margin-bottom: 6px; }

/* Autres prestations */
.other-services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 32px; border-top: 1px solid var(--line); }
.other-services a {
  display: flex; justify-content: space-between; gap: 16px; padding: 18px 0;
  border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600;
}
.other-services a:hover { color: var(--copper); }

/* Bandeau d'appel à l'action (pages sans formulaire) */
.cta-band { background: var(--night); color: var(--white); padding: clamp(56px, 7vw, 88px) 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px 48px; }
.cta-band h2 { max-width: 22ch; }
.cta-band p { margin-top: 14px; color: rgba(255, 255, 255, .8); max-width: 52ch; }
.cta-band .actions { margin-top: 0; }

/* ═══════════════════════════════════════════════════════════════
   Réalisations : liste filtrable et page détail
   ═══════════════════════════════════════════════════════════════ */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filters[hidden] { display: none; }
.filter {
  min-height: 40px; padding: 0 16px; font: inherit; font-size: 15px; font-weight: 500; color: var(--ink-2);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.filter .count { margin-left: 6px; font-variant-numeric: tabular-nums; opacity: .85; }

.case-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; }
.case-card[hidden] { display: none; }
.case-card a { display: block; text-decoration: none; }
.case-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--line-soft); }
.case-card .case-meta { margin: 18px 0 8px; }
.case-card h2 { font-size: 20px; letter-spacing: -0.01em; line-height: 1.25; font-stretch: 100%; }
.case-card p:last-child { margin-top: 8px; font-size: 16px; color: var(--ink-2); }
/* Page « Réalisations » : petites tuiles (photo, lieu, titre) */
.case-tiles { grid-template-columns: repeat(4, 1fr); gap: 32px 20px; }
.case-tiles .case-meta { margin: 12px 0 4px; font-size: 13px; }
.case-tiles h2 { font-size: 17px; }
.case-card a:hover h2 { text-decoration: underline; text-decoration-color: var(--copper); text-underline-offset: 4px; }

.case-facts { display: flex; flex-wrap: wrap; margin: 36px 0 0; border-top: 1px solid var(--line); }
.case-facts div { padding: 14px 32px 14px 0; margin-right: 32px; border-right: 1px solid var(--line-soft); }
.case-facts div:last-child { border-right: 0; margin-right: 0; }
.case-facts dt { font-size: 14px; color: var(--muted); }
.case-facts dd { margin: 2px 0 0; font-weight: 600; }
.case-figure { margin: 0; }
.case-figure img { width: 100%; }
.story { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.story section { padding-top: 20px; border-top: 1px solid var(--ink); }
.story section:only-child { grid-column: 1 / -1; max-width: 62ch; }   /* contexte et résultat non rédigés : l'intervention seule, en pleine largeur lisible */
.story h2 { margin-bottom: 12px; font-size: 21px; letter-spacing: -0.01em; font-stretch: 100%; }
.story p { color: var(--ink-2); }
.case-nav { display: flex; justify-content: space-between; gap: 24px; padding-top: 28px; border-top: 1px solid var(--line); }
.related-case + .case-nav { margin-top: 56px; }
.case-nav a { text-decoration: none; max-width: 48%; }
.case-nav span { display: block; font-size: 14px; color: var(--muted); }
.case-nav strong { font-weight: 600; }
.case-nav a:hover strong { color: var(--copper); }
.case-nav .next { margin-left: auto; text-align: right; }

/* ─── Responsive des pages intérieures ───────────────────────── */
@media (max-width: 1080px) {
  .points { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .service-hero, .split { grid-template-columns: 1fr; }
  .case-grid, .case-tiles { grid-template-columns: 1fr 1fr; }
  .story { grid-template-columns: 1fr; gap: 32px; }
  .other-services { grid-template-columns: 1fr 1fr; }
  .price-row { grid-template-columns: 1fr auto; }
  .price-row p { grid-column: 1 / -1; grid-row: 2; }
  .related-case { grid-template-columns: 160px 1fr; }
  .related-case img { width: 160px; }
  .related-case > span:last-child { display: none; }
  .case-facts { display: grid; grid-template-columns: 1fr 1fr; }
  .case-facts div { padding: 12px 16px 12px 0; margin-right: 0; border-right: 0; border-bottom: 1px solid var(--line-soft); }
}
@media (max-width: 560px) {
  .points, .case-grid, .other-services { grid-template-columns: 1fr; }
  .case-tiles { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .facts { grid-template-columns: 1fr; }
  .facts div:nth-child(even) { padding-left: 0; border-left: 0; }
  .related-case { grid-template-columns: 1fr; }
  .related-case img { width: 100%; }
  .report th:nth-child(3), .report td:nth-child(3) { display: none; }
  .report-head img { display: none; }
  .case-nav { flex-direction: column; }
  .case-nav a { max-width: none; }
  .case-nav .next { text-align: left; margin-left: 0; }
}

/* ═══════════════════════════════════════════════════════════════
   Particuliers, Professionnels, À propos, Contact, zone, légal, 404
   ═══════════════════════════════════════════════════════════════ */
.points.cols-3 { grid-template-columns: repeat(3, 1fr); }
.section-intro { margin-bottom: 40px; max-width: 62ch; color: var(--ink-2); }

/* Formulaire sur fond clair (page Contact) */
.form-card { padding: clamp(24px, 4vw, 44px); background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.quote-form.is-light .field label, .quote-form.is-light legend { color: var(--ink-2); }
.quote-form.is-light .field input, .quote-form.is-light .field select, .quote-form.is-light .field textarea { border-color: var(--line); }
.quote-form.is-light .field input:focus, .quote-form.is-light .field select:focus, .quote-form.is-light .field textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(22, 36, 58, .12); }
.quote-form.is-light .form-foot p { color: var(--muted); }
.quote-form fieldset { margin: 0; padding: 0; border: 0; }
.quote-form legend { padding: 0; margin-bottom: 10px; font-size: 14.5px; }
.req { color: var(--copper); }
.field-hint { font-size: 13px; color: var(--muted); }
.field-hint.counter { text-align: right; font-variant-numeric: tabular-nums; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; cursor: pointer; min-height: 28px; }
/* Les cases à cocher ne doivent pas hériter du style des champs de saisie (.field input). */
.quote-form .check input { width: 18px; height: 18px; min-height: 0; margin: 3px 0 0; padding: 0; accent-color: var(--ink); flex: none; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-legal { grid-column: 1 / -1; font-size: 13.5px; color: var(--muted); }
.form-legal a { color: inherit; }

.contact-page { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-aside { position: sticky; top: 100px; }
.aside-block + .aside-block { margin-top: 36px; }
.aside-block h2 { margin-bottom: 14px; font-size: 19px; font-stretch: 100%; }
.aside-block .contact-list { margin: 0; border-top-color: var(--line); }
.aside-block .contact-list li { border-bottom-color: var(--line); grid-template-columns: 100px 1fr; }
.aside-block .contact-list span { color: var(--muted); }
.urgent { padding: 18px 20px; background: var(--white); border: 1px solid var(--line-soft); border-left: 3px solid var(--copper); }
.urgent p { color: var(--ink-2); font-size: 15.5px; }
.urgent strong { display: block; margin-bottom: 4px; color: var(--ink); }
.next-steps { list-style: none; margin: 0; padding: 0; counter-reset: next; }
.next-steps li { position: relative; padding: 0 0 16px 36px; color: var(--ink-2); font-size: 15.5px; counter-increment: next; }
.next-steps li::before {
  content: counter(next); position: absolute; left: 0; top: 1px; width: 24px; height: 24px;
  display: grid; place-items: center; font-size: 13px; font-weight: 600; color: var(--white); background: var(--ink); border-radius: 50%;
}

/* Pages légales : sommaire + texte */
.legal-layout { display: grid; grid-template-columns: 3fr 8fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
/* Sans min-width: 0, un tableau large élargirait la colonne au lieu de défiler. */
.legal-layout > * { min-width: 0; }
.legal-toc { position: sticky; top: 100px; font-size: 15px; }
.legal-toc ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.legal-toc a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line-soft); text-decoration: none; color: var(--ink-2); }
.legal-toc a:hover { color: var(--ink); }
.prose { max-width: 760px; }
.prose h2 { margin: 56px 0 16px; font-size: 24px; font-stretch: 100%; scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose p + p, .prose dl + p, .prose .table-wrap + p { margin-top: 14px; }
.prose p { color: var(--ink-2); }
.prose dl { display: grid; grid-template-columns: 210px 1fr; margin: 0; border-top: 1px solid var(--line); }
.prose dt, .prose dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.prose dt { padding-right: 24px; color: var(--muted); }
.updated { margin-top: 20px; font-size: 14px; color: var(--muted); }

/* Pages 404 et confirmation d'envoi */
.error-page { padding: clamp(72px, 12vw, 160px) 0; }
.error-page .lead { margin: 20px 0 40px; max-width: 54ch; color: var(--ink-2); font-size: 19px; }
.error-code {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--copper);
}
.error-code::before { content: ""; width: 28px; height: 1px; background: var(--copper); }

/* Pages d'état (404 et confirmation d'envoi) : texte à gauche, photo à droite avec coins de viseur de caméra.
   Section blanche entre deux filets : sépare nettement la page du pied de page (crème).
   --cadrage : point de la photo conservé au recadrage (à régler par page selon la photo choisie). */
.status-page { --cadrage: 50% 50%; padding: clamp(40px, 6vw, 88px) 0; background: var(--white); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.status-404 { --cadrage: 68% 78%; }
.status-merci { --cadrage: 42% 40%; }
.status-layout { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.status-layout-solo { grid-template-columns: 1fr; }
.status-visual { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--night); border-radius: var(--radius); }
.status-visual img { width: 100%; height: 100%; object-fit: cover; object-position: var(--cadrage); }
/* Voile fonctionnel : garde le « 404 » ou la coche lisible quelle que soit la photo. */
.status-visual::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,20,34,.78) 0%, rgba(12,20,34,.3) 36%, rgba(12,20,34,0) 62%);
}
/* Coins d'un viseur de caméra, tracés en CSS (huit traits de 2 px). */
.status-visual::after {
  content: ""; position: absolute; inset: 18px; pointer-events: none; background-repeat: no-repeat;
  --trait: rgba(255,255,255,.88); --long: 24px; --epais: 2px;
  background-image:
    linear-gradient(var(--trait), var(--trait)), linear-gradient(var(--trait), var(--trait)),
    linear-gradient(var(--trait), var(--trait)), linear-gradient(var(--trait), var(--trait)),
    linear-gradient(var(--trait), var(--trait)), linear-gradient(var(--trait), var(--trait)),
    linear-gradient(var(--trait), var(--trait)), linear-gradient(var(--trait), var(--trait));
  background-size:
    var(--long) var(--epais), var(--epais) var(--long), var(--long) var(--epais), var(--epais) var(--long),
    var(--long) var(--epais), var(--epais) var(--long), var(--long) var(--epais), var(--epais) var(--long);
  background-position: left top, left top, right top, right top, left bottom, left bottom, right bottom, right bottom;
}
/* 404 : liens en cartes et « 404 » en grand sur la photo. */
.error-links {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.error-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 0 20px;
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius);
  font-weight: 600; text-decoration: none; transition: border-color .15s, color .15s, background-color .15s;
}
.error-links a:hover { border-color: var(--ink); color: var(--copper); background: var(--white); }
.error-links a span { display: inline-block; transition: transform .2s; }
.error-links a:hover span { transform: translateX(4px); }
.error-figure {
  position: absolute; left: 36px; bottom: 30px; z-index: 1;
  font-size: clamp(72px, 9vw, 132px); font-weight: 600; font-stretch: 104%;
  letter-spacing: -.04em; line-height: .9; color: var(--white);
}
/* Confirmation d'envoi : grande coche blanche sur la photo, dans le style du repère de confirmation. */
.status-merci .lead { margin-bottom: 32px; }
.status-merci .actions { margin-top: 28px; }
.confirm-check {
  position: absolute; left: 36px; bottom: 34px; z-index: 1;
  width: clamp(64px, 7vw, 104px); aspect-ratio: 1; display: grid; place-items: center;
  border: 3px solid var(--white); border-radius: 50%;
}
.confirm-check::before {
  content: ""; width: 38%; height: 19%; margin-top: -6%;
  border-left: 4px solid var(--white); border-bottom: 4px solid var(--white); transform: rotate(-45deg);
}
@media (prefers-reduced-motion: reduce) { .error-links a, .error-links a span { transition: none; } }
@media (max-width: 880px) {
  .status-layout { grid-template-columns: 1fr; }
  /* Photo en bandeau au-dessus du texte (ordre visuel seulement : la photo n'est pas interactive). */
  .status-visual { order: -1; aspect-ratio: 16 / 9; }
  .error-figure { left: 28px; bottom: 22px; font-size: clamp(56px, 16vw, 96px); }
  .confirm-check { left: 28px; bottom: 22px; width: 64px; }
}
@media (max-width: 560px) {
  .error-links { grid-template-columns: 1fr; }
}

/* Bouton présenté comme un lien (ex. « Gestion des cookies ») */
.link-button { padding: 2px 0; min-height: 24px; font: inherit; color: inherit; background: none; border: 0; text-decoration: underline; cursor: pointer; }

/* Bandeau de consentement (mesure d'audience) - refuser aussi simple qu'accepter */
.cookie-banner {
  position: fixed; left: 16px; bottom: 16px; z-index: 60; width: min(520px, calc(100% - 32px));
  padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(18, 29, 47, .18);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { margin-bottom: 8px; font-size: 17px; font-stretch: 100%; }
.cookie-banner p { font-size: 15px; color: var(--ink-2); }
.cookie-banner p a { color: inherit; }
.cookie-actions { display: flex; gap: 10px; margin-top: 16px; }
.cookie-actions .btn { flex: 1; min-height: 44px; }

@media (max-width: 1080px) {
  .points.cols-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .contact-page, .legal-layout { grid-template-columns: 1fr; }
  .contact-aside, .legal-toc { position: static; }
  .legal-toc { display: none; }
}
@media (max-width: 560px) {
  .points.cols-3, .checks { grid-template-columns: 1fr; }
  .prose dl { grid-template-columns: 1fr; }
  .prose dt { padding-bottom: 0; border-bottom: 0; }
}

/* Compléments : liste de communes large, titre des pages 404 et de confirmation */
.towns.wide { columns: 4; }
.error-page h1 { font-size: clamp(32px, 4.2vw, 54px); max-width: 20ch; }
@media (max-width: 880px) { .towns.wide { columns: 3; } }
@media (max-width: 560px) { .towns.wide { columns: 2; } }

/* ═══════════════════════════════════════════════════════════════
   Pages prestation (suite), réalisations, pages légales, confirmation
   ═══════════════════════════════════════════════════════════════ */
/* Emplacement d'une photo à fournir */
.media-ph {
  aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 24px; text-align: center;
  background: #ebe8e1; color: var(--muted); font-size: 14.5px; border-radius: var(--radius);
}

/* Photo annotée (extrait de rapport d'inspection) */
.annotated { margin: 0; }
.annotated-media { position: relative; }
.annotated-media img { width: 100%; }
.marker {
  position: absolute; width: 28px; height: 28px; margin: -14px 0 0 -14px;
  display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--white);
  background: var(--copper); border: 2px solid var(--white); border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
}
.annotations { list-style: none; margin: 16px 0 0; padding: 0; counter-reset: note; }
.annotations li { position: relative; padding: 8px 0 8px 36px; border-bottom: 1px solid var(--line-soft); font-size: 15px; color: var(--ink-2); counter-increment: note; }
.annotations li::before {
  content: counter(note); position: absolute; left: 0; top: 8px; width: 24px; height: 24px;
  display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--white); background: var(--copper); border-radius: 50%;
}

/* Encadré d'information (limites d'une prestation, points à vérifier) */
.notice {
  margin-top: 36px; padding: 20px 24px; max-width: 80ch;
  background: var(--white); border: 1px solid var(--line-soft); border-left: 3px solid var(--copper);
}
.notice strong { display: block; margin-bottom: 4px; }
.notice p { color: var(--ink-2); font-size: 16px; }
/* Page en préparation : encadré sous l'introduction, avant les boutons. */
.notice.coming-soon { margin-top: 28px; }
/* Réalisation dont l'étude de cas n'est pas encore rédigée. */
.case-coming { margin-top: 32px; font-size: 15px; color: var(--muted); }

/* Pages légales : listes, tableaux, encadrés */
.prose h3 { margin: 32px 0 12px; font-size: 18px; font-stretch: 100%; }
.prose ul { margin: 12px 0 0; padding-left: 20px; color: var(--ink-2); }
.prose li + li { margin-top: 8px; }
.prose .tag { font-size: 13px; font-weight: 600; color: var(--copper); }
.table-wrap { margin: 16px 0 0; overflow-x: auto; }
.data-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.data-table th, .data-table td { padding: 10px 16px 10px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.data-table th { font-size: 13.5px; font-weight: 600; color: var(--muted); border-bottom-color: var(--ink); }
.data-table td { color: var(--ink-2); }
.form-model { margin-top: 20px; padding: 24px; background: var(--white); border: 1px dashed var(--line); }
.form-model p + p { margin-top: 10px; }

/* Page de vérification du formulaire : ce qui reste à corriger ou à confirmer */
.form-alert { grid-column: 1 / -1; padding: 16px 20px; background: #fbf5f0; border: 1px solid var(--line-soft); border-left: 3px solid var(--copper); }
.form-alert ul { margin: 8px 0 0; padding-left: 20px; color: var(--ink-2); font-size: 15.5px; }
.form-alert li + li { margin-top: 4px; }

/* Confirmation d'envoi du formulaire */
.confirm-mark {
  width: 56px; height: 56px; margin-bottom: 28px; display: grid; place-items: center;
  border: 2px solid var(--ink); border-radius: 50%;
}
.confirm-mark::before {
  content: ""; width: 20px; height: 10px; margin-top: -4px;
  border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg);
}

/* Page de confirmation d'envoi */
.error-page .next-steps { max-width: 620px; }
.confirm-phone { margin-top: 8px; color: var(--ink-2); }

/* Positions des repères d'une photo annotée : une classe par valeur (0 à 100 %), car la
   politique de sécurité (CSP) interdit l'attribut style="…" dans les pages. */
.pos-x0 { left: 0%; }
.pos-x1 { left: 1%; }
.pos-x2 { left: 2%; }
.pos-x3 { left: 3%; }
.pos-x4 { left: 4%; }
.pos-x5 { left: 5%; }
.pos-x6 { left: 6%; }
.pos-x7 { left: 7%; }
.pos-x8 { left: 8%; }
.pos-x9 { left: 9%; }
.pos-x10 { left: 10%; }
.pos-x11 { left: 11%; }
.pos-x12 { left: 12%; }
.pos-x13 { left: 13%; }
.pos-x14 { left: 14%; }
.pos-x15 { left: 15%; }
.pos-x16 { left: 16%; }
.pos-x17 { left: 17%; }
.pos-x18 { left: 18%; }
.pos-x19 { left: 19%; }
.pos-x20 { left: 20%; }
.pos-x21 { left: 21%; }
.pos-x22 { left: 22%; }
.pos-x23 { left: 23%; }
.pos-x24 { left: 24%; }
.pos-x25 { left: 25%; }
.pos-x26 { left: 26%; }
.pos-x27 { left: 27%; }
.pos-x28 { left: 28%; }
.pos-x29 { left: 29%; }
.pos-x30 { left: 30%; }
.pos-x31 { left: 31%; }
.pos-x32 { left: 32%; }
.pos-x33 { left: 33%; }
.pos-x34 { left: 34%; }
.pos-x35 { left: 35%; }
.pos-x36 { left: 36%; }
.pos-x37 { left: 37%; }
.pos-x38 { left: 38%; }
.pos-x39 { left: 39%; }
.pos-x40 { left: 40%; }
.pos-x41 { left: 41%; }
.pos-x42 { left: 42%; }
.pos-x43 { left: 43%; }
.pos-x44 { left: 44%; }
.pos-x45 { left: 45%; }
.pos-x46 { left: 46%; }
.pos-x47 { left: 47%; }
.pos-x48 { left: 48%; }
.pos-x49 { left: 49%; }
.pos-x50 { left: 50%; }
.pos-x51 { left: 51%; }
.pos-x52 { left: 52%; }
.pos-x53 { left: 53%; }
.pos-x54 { left: 54%; }
.pos-x55 { left: 55%; }
.pos-x56 { left: 56%; }
.pos-x57 { left: 57%; }
.pos-x58 { left: 58%; }
.pos-x59 { left: 59%; }
.pos-x60 { left: 60%; }
.pos-x61 { left: 61%; }
.pos-x62 { left: 62%; }
.pos-x63 { left: 63%; }
.pos-x64 { left: 64%; }
.pos-x65 { left: 65%; }
.pos-x66 { left: 66%; }
.pos-x67 { left: 67%; }
.pos-x68 { left: 68%; }
.pos-x69 { left: 69%; }
.pos-x70 { left: 70%; }
.pos-x71 { left: 71%; }
.pos-x72 { left: 72%; }
.pos-x73 { left: 73%; }
.pos-x74 { left: 74%; }
.pos-x75 { left: 75%; }
.pos-x76 { left: 76%; }
.pos-x77 { left: 77%; }
.pos-x78 { left: 78%; }
.pos-x79 { left: 79%; }
.pos-x80 { left: 80%; }
.pos-x81 { left: 81%; }
.pos-x82 { left: 82%; }
.pos-x83 { left: 83%; }
.pos-x84 { left: 84%; }
.pos-x85 { left: 85%; }
.pos-x86 { left: 86%; }
.pos-x87 { left: 87%; }
.pos-x88 { left: 88%; }
.pos-x89 { left: 89%; }
.pos-x90 { left: 90%; }
.pos-x91 { left: 91%; }
.pos-x92 { left: 92%; }
.pos-x93 { left: 93%; }
.pos-x94 { left: 94%; }
.pos-x95 { left: 95%; }
.pos-x96 { left: 96%; }
.pos-x97 { left: 97%; }
.pos-x98 { left: 98%; }
.pos-x99 { left: 99%; }
.pos-x100 { left: 100%; }
.pos-y0 { top: 0%; }
.pos-y1 { top: 1%; }
.pos-y2 { top: 2%; }
.pos-y3 { top: 3%; }
.pos-y4 { top: 4%; }
.pos-y5 { top: 5%; }
.pos-y6 { top: 6%; }
.pos-y7 { top: 7%; }
.pos-y8 { top: 8%; }
.pos-y9 { top: 9%; }
.pos-y10 { top: 10%; }
.pos-y11 { top: 11%; }
.pos-y12 { top: 12%; }
.pos-y13 { top: 13%; }
.pos-y14 { top: 14%; }
.pos-y15 { top: 15%; }
.pos-y16 { top: 16%; }
.pos-y17 { top: 17%; }
.pos-y18 { top: 18%; }
.pos-y19 { top: 19%; }
.pos-y20 { top: 20%; }
.pos-y21 { top: 21%; }
.pos-y22 { top: 22%; }
.pos-y23 { top: 23%; }
.pos-y24 { top: 24%; }
.pos-y25 { top: 25%; }
.pos-y26 { top: 26%; }
.pos-y27 { top: 27%; }
.pos-y28 { top: 28%; }
.pos-y29 { top: 29%; }
.pos-y30 { top: 30%; }
.pos-y31 { top: 31%; }
.pos-y32 { top: 32%; }
.pos-y33 { top: 33%; }
.pos-y34 { top: 34%; }
.pos-y35 { top: 35%; }
.pos-y36 { top: 36%; }
.pos-y37 { top: 37%; }
.pos-y38 { top: 38%; }
.pos-y39 { top: 39%; }
.pos-y40 { top: 40%; }
.pos-y41 { top: 41%; }
.pos-y42 { top: 42%; }
.pos-y43 { top: 43%; }
.pos-y44 { top: 44%; }
.pos-y45 { top: 45%; }
.pos-y46 { top: 46%; }
.pos-y47 { top: 47%; }
.pos-y48 { top: 48%; }
.pos-y49 { top: 49%; }
.pos-y50 { top: 50%; }
.pos-y51 { top: 51%; }
.pos-y52 { top: 52%; }
.pos-y53 { top: 53%; }
.pos-y54 { top: 54%; }
.pos-y55 { top: 55%; }
.pos-y56 { top: 56%; }
.pos-y57 { top: 57%; }
.pos-y58 { top: 58%; }
.pos-y59 { top: 59%; }
.pos-y60 { top: 60%; }
.pos-y61 { top: 61%; }
.pos-y62 { top: 62%; }
.pos-y63 { top: 63%; }
.pos-y64 { top: 64%; }
.pos-y65 { top: 65%; }
.pos-y66 { top: 66%; }
.pos-y67 { top: 67%; }
.pos-y68 { top: 68%; }
.pos-y69 { top: 69%; }
.pos-y70 { top: 70%; }
.pos-y71 { top: 71%; }
.pos-y72 { top: 72%; }
.pos-y73 { top: 73%; }
.pos-y74 { top: 74%; }
.pos-y75 { top: 75%; }
.pos-y76 { top: 76%; }
.pos-y77 { top: 77%; }
.pos-y78 { top: 78%; }
.pos-y79 { top: 79%; }
.pos-y80 { top: 80%; }
.pos-y81 { top: 81%; }
.pos-y82 { top: 82%; }
.pos-y83 { top: 83%; }
.pos-y84 { top: 84%; }
.pos-y85 { top: 85%; }
.pos-y86 { top: 86%; }
.pos-y87 { top: 87%; }
.pos-y88 { top: 88%; }
.pos-y89 { top: 89%; }
.pos-y90 { top: 90%; }
.pos-y91 { top: 91%; }
.pos-y92 { top: 92%; }
.pos-y93 { top: 93%; }
.pos-y94 { top: 94%; }
.pos-y95 { top: 95%; }
.pos-y96 { top: 96%; }
.pos-y97 { top: 97%; }
.pos-y98 { top: 98%; }
.pos-y99 { top: 99%; }
.pos-y100 { top: 100%; }

/* Page de prestation sans photo : le texte occupe toute la largeur. */
.service-hero.service-hero-solo { grid-template-columns: 1fr; }

/* ═══════════════════════════════════════════════════════════════
   Accueil (sans liste des prestations ni prix) et page « Tarifs »
   ═══════════════════════════════════════════════════════════════ */
.section-head + .audiences { margin-top: 0; }
.home-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 32px; margin-top: 32px; }

/* Cartes « besoin » de l'accueil : le besoin du client, puis la prestation qui y répond. */
.needs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.need {
  display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 26px 26px 22px;
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius);
  text-decoration: none; transition: border-color .15s;
}
.need:hover { border-color: var(--ink); }
.need p { flex: 1; color: var(--ink-2); font-size: 16px; }
.need-service { padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 14.5px; font-weight: 600; }
.need:hover .need-service { color: var(--copper); }
/* Prestation « À venir » : filet cuivre à gauche (comme .urgent) et ruban diagonal « Très bientôt » dans
   l'angle supérieur droit. Le ruban est hors flux et coupé par le bord de la carte (overflow: hidden) ;
   le retrait à droite du titre (et des premières lignes du texte, sur cartes larges) l'empêche de passer
   dessous, sans décaler l'alignement du titre avec les cartes voisines. */
.need-soon { position: relative; overflow: hidden; border-left: 3px solid var(--copper); }
.need-soon-ribbon {
  position: absolute; top: 32px; right: -48px; width: 194px; padding: 3px 0;
  transform: rotate(45deg); text-align: center;
  font-size: 11.5px; font-weight: 600; letter-spacing: .06em; line-height: 1.5; text-transform: uppercase;
  color: var(--white); background: var(--copper);
}
.need-soon h3 { padding-right: 78px; }
.need-soon p { padding-right: 36px; }

/* Page « Prestation très prochainement disponible » */
.status-a-venir .lead { margin-bottom: 24px; }
.status-a-venir .actions { margin-top: 28px; }
.soon-points { margin: 0 0 8px; padding: 0 0 0 20px; max-width: 54ch; color: var(--ink-2); font-size: 16px; }
.soon-points li + li { margin-top: 6px; }

/* Bloc « particulier / professionnel » d'une prestation */
.audiences-solo { grid-template-columns: minmax(0, 760px); }
/* Lien long (« Travailler ensemble… ») : il peut passer à la ligne, sinon il élargit la carte sur téléphone. */
.audience .link-more { white-space: normal; }
.audiences > * { min-width: 0; }
.audience-facts { display: grid; grid-template-columns: max-content 1fr; margin: 4px 0 0; border-top: 1px solid var(--line-soft); font-size: 15px; }
.audience-facts dt, .audience-facts dd { margin: 0; padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
.audience-facts dt { padding-right: 20px; color: var(--muted); }

.price-groups { display: grid; gap: clamp(56px, 7vw, 88px); }
.price-group { scroll-margin-top: 100px; }
.price-group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; margin-bottom: 12px; }
.price-group-head h2 { font-size: clamp(24px, 2.4vw, 30px); }
.price-group-intro { margin-bottom: 24px; max-width: 70ch; color: var(--ink-2); }

/* ═══════════════════════════════════════════════════════════════
   Réalisations : formats, vidéos, visites virtuelles, galerie
   ═══════════════════════════════════════════════════════════════ */
.filters + .filters { margin-top: -28px; }
.filters-empty { margin-bottom: 32px; color: var(--ink-2); }
.filters-empty[hidden] { display: none; }

.case-formats { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 -6px; padding: 0; list-style: none; }
.case-formats li {
  padding: 2px 9px; font-size: 13px; font-weight: 600; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: 2px;
}

/* Lecteur : image d'aperçu + bouton « Lancer », remplacés par le lecteur du service au clic. */
.embeds { display: grid; gap: 56px; }
.embed { margin: 0; }
.embed-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--night); border-radius: var(--radius); }
.embed-frame > img, .embed-frame > video, .embed-frame > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-frame > img { object-fit: cover; }
/* Le lecteur met quelques secondes à s'afficher : message visible derrière lui (iframe transparente) jusque-là. */
.embed-frame.is-playing::before { content: "Chargement…"; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .7); font-size: 15px; }
.embed-frame > video { object-fit: contain; background: #000; }
.embed-play {
  /* Bas de l'image d'aperçu (20 % du bord inférieur) : le centre de la photo reste visible. */
  position: absolute; left: 50%; bottom: 20%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 24px 0 16px;
  font: inherit; font-size: 17px; font-weight: 600; color: var(--ink);
  background: var(--white); border: 0; border-radius: 999px; cursor: pointer;
  box-shadow: 0 10px 30px rgba(12, 20, 34, .35); transition: background-color .15s;
}
.embed-play[hidden] { display: none; }
.embed-play:hover { background: #e9edf2; }
.embed-play-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--copper); position: relative; flex: none; }
.embed-play-icon::after {
  content: ""; position: absolute; left: 13px; top: 10px;
  border-left: 11px solid var(--white); border-top: 7px solid transparent; border-bottom: 7px solid transparent;
}
.embed-caption { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; max-width: 80ch; }
.embed-caption span { color: var(--ink-2); }
.embed-caption .embed-note { font-size: 13.5px; color: var(--muted); }
.embed-note a { color: inherit; }

.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.gallery figure { margin: 0; }
.gallery-link { display: block; overflow: hidden; border-radius: var(--radius); background: var(--line-soft); }
.gallery-link img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .25s; }
.gallery-link:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .gallery-link img { transition: none; } .gallery-link:hover img { transform: none; } }

/* Visionneuse de photos (créée par site.js) */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(10, 16, 28, .94); color: var(--white);
}
.lightbox::backdrop { background: rgba(10, 16, 28, .6); }
.lightbox-figure { height: 100%; margin: 0; padding: 56px 72px 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.lightbox-figure img { max-width: 100%; max-height: calc(100vh - 160px); width: auto; height: auto; object-fit: contain; }
.lightbox-caption { max-width: 80ch; text-align: center; font-size: 15px; color: rgba(255, 255, 255, .85); }
.lightbox-count { position: absolute; left: 24px; top: 18px; font-size: 14px; color: rgba(255, 255, 255, .7); font-variant-numeric: tabular-nums; }
.lightbox-btn {
  position: absolute; width: 48px; height: 48px; padding: 0; font: inherit; font-size: 30px; line-height: 1;
  color: var(--white); background: rgba(255, 255, 255, .1); border: 0; border-radius: 50%; cursor: pointer;
}
.lightbox-btn:hover { background: rgba(255, 255, 255, .22); }
.lightbox-btn[hidden] { display: none; }
.lightbox-close { right: 16px; top: 12px; }
.lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); }

@media (max-width: 880px) {
  .gallery { grid-template-columns: 1fr 1fr; gap: 20px; }
  .home-links { justify-content: flex-start; }
  .needs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .needs { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .embed-frame { aspect-ratio: 4 / 3; }
  .embed-play { font-size: 16px; padding: 0 18px 0 12px; }
  .lightbox-figure { padding: 56px 8px 80px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 16px; transform: none; }
  .lightbox-prev { left: calc(50% - 60px); }
  .lightbox-next { right: calc(50% - 60px); }
}
