/* ============================================================
   C-DRONE — feuille de style unique.
   Direction : « Apple + glassmorphism / altitude ».
   - Grande typographie SF (system font stack Apple), beaucoup
     d'air, hiérarchie nette, coins très arrondis, ombres douces
     multi-couches, panneaux en verre dépoli (backdrop-filter :
     blur + saturate) posés sur un ciel dégradé subtil.
   - Accent azur « aviation » (bleu système), CTA en pilule,
     nav translucide collante. Mode clair et mode sombre teinté.
   - Zéro webfont, zéro requête externe, zéro JS requis.
   - Repli sans backdrop-filter : fonds plus opaques (@supports).
   - Contrastes vérifiés AA ; le corps de lecture reste toujours
     sur fond franc, jamais sur verre translucide.
   ============================================================ */

:root {
  color-scheme: light;

  /* Fonds & encre */
  --bg: #E9EEF6;
  --bg-2: #F6F8FC;
  --ink: #0C1626;
  --ink-2: #515C6C;
  --ink-3: #7A8494;

  /* Accent azur (bleu système Apple) */
  --accent: #0A84FF;
  --accent-strong: #0060DF;
  --accent-soft: rgba(10, 132, 255, .12);
  --accent-ink: #ffffff;

  /* Sémantique « attention / espace aérien » (ambre) */
  --warn: #9A5108;
  --warn-line: #E9932A;
  --warn-bg: rgba(233, 147, 42, .12);

  /* Verre dépoli */
  --glass: rgba(255, 255, 255, .60);
  --glass-strong: rgba(255, 255, 255, .78);
  --glass-brd: rgba(16, 26, 44, .10);
  --glass-hi: rgba(255, 255, 255, .55);
  --surface: #ffffff;
  --hairline: rgba(16, 26, 44, .10);
  --blur: saturate(180%) blur(22px);

  /* Rayons */
  --r-xs: 8px; --r-sm: 12px; --r: 16px; --r-lg: 22px; --r-xl: 30px; --pill: 999px;

  /* Ombres douces multi-couches */
  --sh-1: 0 1px 2px rgba(12, 22, 38, .05), 0 6px 18px rgba(12, 22, 38, .06);
  --sh-2: 0 2px 8px rgba(12, 22, 38, .06), 0 18px 44px rgba(12, 22, 38, .11);
  --sh-3: 0 30px 80px rgba(12, 22, 38, .18);
  --ring: 0 0 0 4px rgba(10, 132, 255, .38);

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --num: var(--sans);

  --page: 70rem;
  --measure: 42rem;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Mode sombre : opt-in explicite via data-theme="dark" ----------
   (le site est en clair par défaut ; ne suit PLUS prefers-color-scheme de l'OS,
   le thème sombre reste prêt pour un futur bouton bascule.) */

:root[data-theme="light"] {
  --bg: #E9EEF6; --bg-2: #F6F8FC;
  --ink: #0C1626; --ink-2: #515C6C; --ink-3: #7A8494;
  --accent: #0A84FF; --accent-strong: #0060DF; --accent-soft: rgba(10, 132, 255, .12);
  --warn: #9A5108; --warn-line: #E9932A; --warn-bg: rgba(233, 147, 42, .12);
  --glass: rgba(255, 255, 255, .60); --glass-strong: rgba(255, 255, 255, .78);
  --glass-brd: rgba(16, 26, 44, .10); --glass-hi: rgba(255, 255, 255, .55);
  --surface: #ffffff; --hairline: rgba(16, 26, 44, .10);
  --sh-1: 0 1px 2px rgba(12, 22, 38, .05), 0 6px 18px rgba(12, 22, 38, .06);
  --sh-2: 0 2px 8px rgba(12, 22, 38, .06), 0 18px 44px rgba(12, 22, 38, .11);
  --sh-3: 0 30px 80px rgba(12, 22, 38, .18);
}
:root[data-theme="light"] body {
  background:
    radial-gradient(1100px 620px at 50% -8%, rgba(120, 170, 245, .35), transparent 62%),
    radial-gradient(1000px 560px at 92% 2%, rgba(245, 205, 150, .30), transparent 58%),
    var(--bg);
}

:root[data-theme="dark"] {
  --bg: #080B12; --bg-2: #0E1420;
  --ink: #F3F6FA; --ink-2: #AEB8C6; --ink-3: #8B95A4;
  --accent: #409CFF; --accent-strong: #0A84FF; --accent-soft: rgba(64, 156, 255, .16);
  --warn: #F0B562; --warn-line: #E9932A; --warn-bg: rgba(233, 147, 42, .12);
  --glass: rgba(26, 34, 49, .52); --glass-strong: rgba(22, 29, 43, .80);
  --glass-brd: rgba(255, 255, 255, .12); --glass-hi: rgba(255, 255, 255, .10);
  --surface: #141b28; --hairline: rgba(255, 255, 255, .12);
  --sh-1: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 18px rgba(0, 0, 0, .38);
  --sh-2: 0 2px 8px rgba(0, 0, 0, .4), 0 18px 44px rgba(0, 0, 0, .5);
  --sh-3: 0 30px 80px rgba(0, 0, 0, .6);
}

/* ---------- Base ---------- */

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font: 400 clamp(16px, 1vw + 14px, 17px)/1.65 var(--sans);
  letter-spacing: -0.003em;
  color: var(--ink);
  background:
    radial-gradient(1100px 620px at 50% -8%, rgba(120, 170, 245, .35), transparent 62%),
    radial-gradient(1000px 560px at 92% 2%, rgba(245, 205, 150, .30), transparent 58%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
:root[data-theme="dark"] body {
  background:
    radial-gradient(1100px 620px at 50% -8%, rgba(30, 66, 120, .5), transparent 62%),
    radial-gradient(1000px 560px at 92% 2%, rgba(70, 52, 26, .45), transparent 58%),
    var(--bg);
}

a { color: var(--accent-strong); text-decoration: none; text-underline-offset: 3px; transition: color .18s var(--ease); }
a:hover { color: var(--accent); }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

::selection { background: var(--accent-soft); }

img, svg { max-width: 100%; }

/* ---------- Verre dépoli (mixin logique) ---------- */

.entete, .heros-corps, .prestation-carte, .ville-tuile, .zones, details,
.prix-bloc, .sommaire-guides a, .pagination a, .pagination span, .bandeau,
.devis-form, .devis-etat, .pied, .strip {
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}
/* Repli : pas de flou → on opacifie les fonds pour garder AA. */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  :root { --glass: rgba(248, 250, 253, .94); --glass-strong: rgba(250, 251, 253, .97); }
  :root[data-theme="dark"] { --glass: rgba(24, 31, 45, .95); --glass-strong: rgba(20, 27, 40, .97); }
}

/* ---------- En-tête : nav en verre collante ---------- */

.entete {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .7rem clamp(1rem, 4vw, 2.5rem);
  background: var(--glass-strong);
  border-bottom: 1px solid var(--glass-brd);
  flex-wrap: wrap;
}
.marque { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); }
.marque:hover { color: var(--ink); }
.cocarde { width: 1.6rem; height: 1.6rem; color: var(--accent); }
.marque-nom { font-weight: 700; font-size: 1.06rem; letter-spacing: -.01em; }
.entete-nav { display: flex; align-items: center; gap: clamp(.4rem, 2vw, 1.35rem); flex-wrap: wrap; }
.entete-nav a { color: var(--ink); font-weight: 550; font-size: .95rem; padding: .35rem .2rem; }
.entete-nav a:hover { color: var(--accent); }
.entete-cta {
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  color: #fff !important;
  padding: .5rem 1.1rem; border-radius: var(--pill);
  font-weight: 600; box-shadow: 0 2px 8px rgba(10, 132, 255, .3);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s var(--ease);
}
.entete-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(10, 132, 255, .42); filter: saturate(1.06); }
.entete-cta:active { transform: translateY(0); }

/* ---------- Structure ---------- */

.principal {
  max-width: var(--page);
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2.25rem) clamp(1rem, 4vw, 2.5rem) 4rem;
}

.fil {
  font-size: .82rem; color: var(--ink-3);
  margin: .25rem 0 1.75rem; overflow-x: auto; white-space: nowrap;
}
.fil a { color: var(--ink-3); }
.fil a:hover { color: var(--accent); }
.fil span[aria-hidden] { opacity: .5; margin: 0 .15rem; }
.fil span[aria-current] { color: var(--ink-2); font-weight: 600; }

/* ---------- Typographie ---------- */

h1 {
  font-size: clamp(2rem, 5.2vw, 3.4rem); line-height: 1.06;
  font-weight: 700; letter-spacing: -.028em; margin: .3rem 0 1rem;
  text-wrap: balance;
}
h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.2;
  font-weight: 650; letter-spacing: -.02em;
  margin: 3rem 0 1rem;
}
h3 { font-size: 1.05rem; font-weight: 650; letter-spacing: -.01em; margin: 1.4rem 0 .5rem; }
p, ul, ol { margin: 0 0 1.05rem; }
article > p, article > ul, article > ol { max-width: var(--measure); }
li { margin-bottom: .3rem; }
strong { font-weight: 650; }

/* ---------- Éyebrow « strip » : pastille en verre ---------- */

.strip {
  display: inline-flex; align-items: center; gap: .5rem;
  max-width: 100%;
  font-size: .74rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink-2);
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  border-radius: var(--pill);
  padding: .4rem .85rem; margin: 0 0 1.1rem;
  box-shadow: var(--sh-1);
  overflow-x: auto; white-space: nowrap;
}
.strip::before {
  content: ""; flex: none; width: .5rem; height: .5rem; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}

.intro { font-size: clamp(1.08rem, 1.6vw, 1.28rem); line-height: 1.55; color: var(--ink-2); max-width: 44rem; }
.annexe { font-size: .82rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* ---------- Héros ---------- */

.heros { margin: 0 0 1.5rem; }

/* Sans photo : panneau de verre sur le ciel dégradé. */
.heros:not(.heros-photo) {
  padding: clamp(1.6rem, 4vw, 3rem);
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-2);
}

/* Avec photo : image plein cadre + panneau de verre par-dessus. */
.heros-photo {
  position: relative; isolation: isolate;
  padding: clamp(1.25rem, 3vw, 2rem);
  min-height: clamp(24rem, 60vh, 34rem);
  display: flex; align-items: flex-end;
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-2);
  animation: heros-in .9s var(--ease-out) both;
}
.heros-image {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02);
}
.heros-photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 12, 22, .12) 0%, rgba(6, 12, 22, .48) 100%),
    linear-gradient(75deg, rgba(6, 12, 22, .42) 0%, rgba(6, 12, 22, 0) 62%);
}
.heros-corps {
  position: relative;
  width: min(46rem, 100%);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: rgba(14, 20, 32, .46);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .14);
  color: #fff;
}
.heros-corps h1 { color: #fff; margin: .6rem 0 .9rem; }
.heros-corps .intro { color: rgba(255, 255, 255, .92); }
.heros-corps .lien-second { color: #fff; }
.heros-corps .strip {
  color: #fff; background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .28); box-shadow: none;
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .heros-corps { background: rgba(10, 16, 26, .72); }
}
@keyframes heros-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Actions & boutons pilule ---------- */

.actions { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; margin: 1.6rem 0; }
.bouton-devis {
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  color: #fff; font: inherit; font-weight: 600; font-size: 1.02rem;
  padding: .85rem 1.6rem; border-radius: var(--pill); border: none; cursor: pointer;
  box-shadow: 0 4px 16px rgba(10, 132, 255, .34), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s var(--ease);
  text-decoration: none;
}
.bouton-devis:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(10, 132, 255, .46), inset 0 1px 0 rgba(255, 255, 255, .3); filter: saturate(1.06); }
.bouton-devis:active { transform: translateY(0); }
.lien-second { font-weight: 600; display: inline-flex; align-items: center; gap: .3rem; }
.heros-corps .lien-second:hover { color: rgba(255, 255, 255, .82); }

/* ---------- Cartes prestation ---------- */

.prestations-grille {
  list-style: none; padding: 0; margin: 0 0 1rem;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(21rem, 1fr)); gap: .85rem;
}
.prestation-carte {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem;
  background: var(--glass); border: 1px solid var(--glass-brd);
  border-radius: var(--r); padding: .85rem 1rem; color: var(--ink);
  box-shadow: var(--sh-1);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.prestation-carte:hover {
  transform: translateY(-3px); color: var(--ink);
  box-shadow: var(--sh-2); border-color: color-mix(in srgb, var(--accent) 45%, var(--glass-brd));
}
.prestation-carte:hover strong { color: var(--accent-strong); }
.prestation-picto {
  display: grid; place-items: center; width: 3.2rem; height: 3.2rem;
  font-size: 1.5rem; line-height: 1; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-strong);
}
.prestation-corps { display: flex; flex-direction: column; gap: .12rem; min-width: 0; }
.prestation-corps strong { font-size: 1.02rem; transition: color .2s var(--ease); }
.prestation-corps span { font-size: .86rem; color: var(--ink-2); }
.prestation-prix {
  font-size: .82rem; font-weight: 600; color: var(--ink-2);
  text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums;
}

/* ---------- Zones d'attention (ambre, sémantique) ---------- */

.zones {
  margin: 1.5rem 0; padding: 1.1rem 1.2rem 1.1rem 1.4rem;
  background: var(--warn-bg);
  border: 1px solid color-mix(in srgb, var(--warn-line) 40%, transparent);
  border-radius: var(--r); position: relative; overflow: hidden;
  max-width: var(--measure);
}
.zones::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--warn-line); }
.zones-titre {
  font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--warn); margin-bottom: .55rem;
}
.zones ul { margin-bottom: .6rem; padding-left: 1.1rem; }
.zones p:last-child { margin-bottom: 0; font-size: .92rem; color: var(--ink-2); }

/* ---------- Grilles villes & murs de liens ---------- */

.villes-grille {
  list-style: none; padding: 0; margin: 0 0 1rem;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr)); gap: .7rem;
}
.ville-tuile {
  display: flex; flex-direction: column; gap: .15rem;
  background: var(--glass); border: 1px solid var(--glass-brd); border-radius: var(--r-sm);
  padding: .85rem 1rem; color: var(--ink); box-shadow: var(--sh-1);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.ville-tuile:hover { transform: translateY(-2px); box-shadow: var(--sh-2); border-color: color-mix(in srgb, var(--accent) 40%, var(--glass-brd)); color: var(--ink); }
.ville-tuile strong { font-size: 1rem; }
.ville-tuile span { font-size: .78rem; color: var(--ink-3); }

.mur-liens {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1.2rem 2rem;
  margin-bottom: 1rem;
}
.mur-groupe h3 {
  font-size: .76rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3);
  border-bottom: 1px solid var(--hairline); padding-bottom: .4rem; margin: 0 0 .5rem;
}
.mur-groupe ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 1.25rem; }
.mur-groupe li { break-inside: avoid; margin-bottom: .3rem; font-size: .92rem; }
.mur-groupe a { color: var(--ink-2); }
.mur-groupe a:hover { color: var(--accent); }

/* ---------- Listes de liens, étapes, FAQ ---------- */

.liens-liste { list-style: none; padding: 0; max-width: var(--measure); }
.liens-liste li {
  padding: .55rem 0; border-bottom: 1px solid var(--hairline);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: baseline;
}
.liens-liste a { font-weight: 550; }
.liens-liste a:hover { color: var(--accent); }

.etapes { counter-reset: etape; list-style: none; padding: 0; max-width: var(--measure); display: grid; gap: .9rem; }
.etapes li { counter-increment: etape; position: relative; padding-left: 3.4rem; min-height: 2.4rem; }
.etapes li::before {
  content: counter(etape); position: absolute; left: 0; top: -.1rem;
  width: 2.4rem; height: 2.4rem; display: grid; place-items: center;
  font-size: 1rem; font-weight: 700; color: var(--accent-strong);
  background: var(--accent-soft); border-radius: 50%;
  font-variant-numeric: tabular-nums;
}

details {
  background: var(--glass); border: 1px solid var(--glass-brd); border-radius: var(--r-sm);
  margin-bottom: .6rem; padding: .95rem 1.1rem; max-width: var(--measure);
  box-shadow: var(--sh-1);
  transition: border-color .2s var(--ease);
}
details[open] { border-color: color-mix(in srgb, var(--accent) 30%, var(--glass-brd)); }
details summary {
  cursor: pointer; font-weight: 600; list-style: none; position: relative; padding-right: 1.8rem;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.35rem; font-weight: 400; line-height: 1; color: var(--accent);
  transition: transform .25s var(--ease);
}
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details summary:hover { color: var(--accent); }
details[open] summary { margin-bottom: .7rem; }
details p { margin: 0; color: var(--ink-2); }

.prix-bloc {
  font-size: 1.05rem; background: var(--glass); border: 1px solid var(--glass-brd);
  border-radius: var(--r); padding: 1.1rem 1.3rem; max-width: var(--measure);
  box-shadow: var(--sh-1);
}
.prix-bloc strong { font-size: 1.35rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }

/* ---------- Sommaire des guides ---------- */

.sommaire-guides {
  list-style: none; padding: 0; margin: 0 0 1rem;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); gap: .85rem;
}
.sommaire-guides a {
  display: flex; flex-direction: column; gap: .3rem; height: 100%;
  background: var(--glass); border: 1px solid var(--glass-brd); border-radius: var(--r);
  padding: 1.1rem 1.2rem; color: var(--ink); box-shadow: var(--sh-1);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.sommaire-guides a:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: color-mix(in srgb, var(--accent) 40%, var(--glass-brd)); color: var(--ink); }
.sommaire-guides strong { font-size: 1.05rem; letter-spacing: -.01em; }
.sommaire-guides a:hover strong { color: var(--accent-strong); }
.sommaire-guides span { font-size: .9rem; color: var(--ink-2); line-height: 1.5; }

.pagination {
  display: flex; flex-wrap: wrap; gap: .5rem; align-items: center;
  margin: 2rem 0 0; font-variant-numeric: tabular-nums;
}
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 2.6rem;
  background: var(--glass); border: 1px solid var(--glass-brd); border-radius: var(--pill);
  padding: .5rem .8rem; box-shadow: var(--sh-1);
}
.pagination a { color: var(--ink); }
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination span[aria-current="page"] { background: var(--accent); color: #fff; border-color: transparent; }

/* ---------- Tableaux (guides) ---------- */

table { border-collapse: collapse; width: 100%; margin: 0 0 1.4rem; font-size: .94rem; }
th, td { border-bottom: 1px solid var(--hairline); padding: .7rem .8rem; text-align: left; vertical-align: top; }
th { font-size: .78rem; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-2); font-weight: 650; }
article { overflow-wrap: break-word; }
article table { display: block; overflow-x: auto; }

/* Corps de lecture des guides : lisibilité longue, jamais sur verre. */
article h2 + p, article h2 + ul, article p { color: var(--ink); }

/* ---------- Formulaire devis (verre premium) ---------- */

.devis-form {
  max-width: 36rem;
  background: var(--glass); border: 1px solid var(--glass-brd); border-radius: var(--r-lg);
  padding: clamp(1.3rem, 3vw, 2rem); box-shadow: var(--sh-2);
}
.devis-form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 1.1rem; }
.devis-form input, .devis-form select, .devis-form textarea {
  display: block; width: 100%; margin-top: .4rem;
  font: 1rem/1.4 var(--sans); color: var(--ink);
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-sm);
  padding: .7rem .85rem;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.devis-form textarea { resize: vertical; }
.devis-form input:focus, .devis-form select:focus, .devis-form textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: var(--ring);
}
.devis-form .actions { margin: .4rem 0 0; }
.devis-piege { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.devis-etat {
  font-weight: 550; padding: .85rem 1rem; border-radius: var(--r-sm);
  border: 1px solid var(--glass-brd); background: var(--glass); margin-top: 1rem;
}
.devis-etat-succes { border-color: rgba(26, 127, 55, .5); background: rgba(26, 127, 55, .12); color: #147a37; }
.devis-etat-erreur { border-color: rgba(180, 60, 20, .5); background: rgba(180, 60, 20, .12); color: #b43c14; }
:root[data-theme="dark"] .devis-etat-succes { color: #6ee7a0; }
:root[data-theme="dark"] .devis-etat-erreur { color: #ff9d7a; }

/* ---------- Bandeau illustré (hub, prestation×ville, guide) ---------- */

.bandeau {
  margin: 0 0 1.6rem; border: 1px solid var(--glass-brd); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--sh-2);
}
.bandeau-image { display: block; width: 100%; height: clamp(11rem, 30vw, 18rem); object-fit: cover; }
.prestation-vignette { width: 3.2rem; height: 3.2rem; object-fit: cover; display: block; border-radius: 12px; }

/* ---------- Pied de page ---------- */

.pied {
  margin-top: 4rem;
  padding: 2.2rem clamp(1rem, 4vw, 2.5rem) 2.6rem;
  background: var(--glass); border-top: 1px solid var(--glass-brd);
  font-size: .9rem; color: var(--ink-2);
}
.pied-texte { max-width: 46rem; margin: 0 auto .8rem; text-align: center; }
.pied-liens { max-width: 46rem; margin: 0 auto; text-align: center; }
.pied-liens a { color: var(--ink-2); }
.pied-liens a:hover { color: var(--accent); }

/* ---------- Réactif ---------- */

@media (max-width: 560px) {
  .prestation-carte { grid-template-columns: auto 1fr; }
  .prestation-prix { grid-column: 2; text-align: left; }
  .mur-groupe ul { columns: 1; }
  .heros-photo { min-height: 22rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .heros-image { transform: none; }
}

@media print {
  body { background: #fff; }
  .entete, .entete-nav, .pied-liens, .actions { display: none; }
  .entete { position: static; }
}
