/* ==========================================================================
   ClimFix — feuille de style unique
   Palette : bleu froid (#0A3D62) + cyan glacier (#22B8CF)
   ========================================================================== */

:root {
  --navy-950: #061A2A;
  --navy-900: #082B45;
  --navy-800: #0A3D62;
  --navy-700: #0D4C78;
  --cyan-700: #0B7085;
  --cyan-600: #0E8CA6;
  --cyan-500: #22B8CF;
  --cyan-400: #4FC9DC;
  --cyan-200: #AEE6F0;
  --cyan-100: #D9F2F7;
  --ice-50: #F4FAFC;
  --ice-100: #EAF6F9;
  --white: #FFFFFF;
  --ink: #10222F;
  --muted: #4E6579;
  --line: #D9E8EE;
  --line-strong: #BFD8E1;
  --success: #157F5B;
  --danger: #B42318;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(8, 43, 69, .06), 0 2px 8px rgba(8, 43, 69, .05);
  --shadow: 0 12px 32px -12px rgba(8, 43, 69, .22);
  --shadow-lg: 0 30px 60px -25px rgba(8, 43, 69, .3);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --header-h: 78px;
  color-scheme: light;
}

/* ---------- Reset / base ---------- */

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.15;
  color: var(--navy-900);
  letter-spacing: -.02em;
  font-weight: 800;
  text-wrap: balance;
}

h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--cyan-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-700); }

ul, ol { margin: 0 0 1em; padding-left: 1.35em; }
li { margin-bottom: .4em; }

strong { color: var(--navy-900); }

::selection { background: var(--cyan-200); color: var(--navy-950); }

:focus-visible {
  outline: 3px solid var(--cyan-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Utilitaires ---------- */

.container {
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
}

.container--narrow { width: min(820px, 100% - 2.5rem); margin-inline: auto; }

.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--ice { background: var(--ice-50); }
.section--white { background: var(--white); }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head p { color: var(--muted); font-size: 1.1rem; max-width: 62ch; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px; left: 1rem;
  z-index: 200;
  padding: .7rem 1.1rem;
  background: var(--navy-800);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--white); }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn svg { flex: none; }

.btn--primary {
  background: var(--navy-800);
  color: var(--white);
}
.btn--primary:hover { background: var(--navy-700); color: var(--white); }

.btn--cyan {
  background: var(--cyan-500);
  color: var(--navy-950);
}
.btn--cyan:hover { background: var(--cyan-400); color: var(--navy-950); }

.btn--ghost {
  background: var(--white);
  color: var(--navy-800);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--cyan-600); color: var(--navy-800); background: var(--ice-50); }

.btn--light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, .35);
}
.btn--light:hover { background: rgba(255, 255, 255, .1); color: var(--white); }

.btn--lg { padding: 1rem 1.9rem; font-size: 1.05rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 700;
  color: var(--cyan-700);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.link-arrow:hover { color: var(--navy-800); border-color: currentColor; }

/* ---------- Header ---------- */

.topbar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, .85);
  font-size: .84rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 36px;
  padding-block: .3rem;
}
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; white-space: nowrap; }
.topbar a:hover { color: var(--cyan-200); }
.topbar__zone { display: inline-flex; align-items: center; gap: .45rem; }
.topbar__zone svg { flex: none; }
.topbar__phone { display: inline-flex; align-items: center; gap: .45rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: var(--navy-900);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -.02em;
}
.brand:hover { color: var(--navy-900); }
.brand img, .brand svg { width: 42px; height: 42px; }
.brand span em { font-style: normal; color: var(--cyan-600); }

.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav__list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav__list a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: .97rem;
  padding-block: .4rem;
  border-bottom: 2px solid transparent;
}
.main-nav__list a:hover,
.main-nav__list a[aria-current="page"] {
  color: var(--navy-800);
  border-color: var(--cyan-500);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: .55rem .8rem;
  font-family: inherit;
  font-weight: 600;
  color: var(--navy-800);
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% -10%, var(--cyan-100) 0%, rgba(217, 242, 247, 0) 70%),
    radial-gradient(700px 420px at -10% 110%, var(--ice-100) 0%, rgba(234, 246, 249, 0) 70%),
    var(--ice-50);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 60h120' stroke='%23BFD8E1' stroke-opacity='.18' stroke-width='1'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(3rem, 6vw, 5.5rem);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.1rem;
  padding: .35rem .85rem .35rem .5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--navy-800);
  box-shadow: var(--shadow-sm);
}
.kicker svg { flex: none; }

.hero h1 { margin-bottom: 1rem; }
.hero h1 .accent {
  color: var(--cyan-700);
  white-space: nowrap;
}
.hero__lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--muted);
  max-width: 56ch;
  margin-bottom: 1.6rem;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.4rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy-800);
}
.hero__points li { display: flex; align-items: center; gap: .45rem; margin: 0; }
.hero__points svg { flex: none; color: var(--cyan-600); }

.hero__visual { position: relative; }
.hero__illustration {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero__badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .65rem .95rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: .88rem;
  font-weight: 700;
  color: var(--navy-800);
}
.hero__badge--temp { top: 8%; left: -4%; }
.hero__badge--temp strong { font-size: 1.3rem; color: var(--cyan-600); }
.hero__badge--zone { bottom: 7%; right: -2%; }
.hero__badge svg { flex: none; color: var(--cyan-600); }

/* ---------- Bandeau réassurance ---------- */

.trustbar { border-block: 1px solid var(--line); background: var(--white); }
.trustbar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  padding-block: 1.4rem;
}
.trustbar__item {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .93rem;
  font-weight: 600;
  color: var(--navy-800);
}
.trustbar__item svg { flex: none; color: var(--cyan-600); }
.trustbar__item span { line-height: 1.35; }

/* ---------- Cartes services ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}
.service-card__media { background: var(--ice-100); }
.service-card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service-card__body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.service-card__body p { color: var(--muted); font-size: .97rem; flex: 1; }

.tag {
  display: inline-block;
  padding: .18rem .6rem;
  margin-bottom: .8rem;
  background: var(--cyan-100);
  color: var(--cyan-700);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
}
.tag--navy { background: var(--ice-100); color: var(--navy-800); }

/* ---------- Pourquoi nous ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.feature {
  display: flex;
  gap: 1rem;
}
.feature__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: var(--ice-100);
  border-radius: 14px;
  color: var(--cyan-700);
}
.feature h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Étapes ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  counter-reset: step;
  padding: 0;
  margin: 0;
  list-style: none;
}
.step {
  position: relative;
  padding: 1.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: .9rem;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--cyan-500);
  letter-spacing: -.02em;
}
.step h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Zones ---------- */

.zones-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.zones-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  padding: 0;
  margin: 1.4rem 0 0;
  list-style: none;
}
.zones-chips li { margin: 0; }
.zones-chips span {
  display: inline-block;
  padding: .45rem .9rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy-800);
}
.zones-chips--muted span { background: transparent; color: var(--muted); }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: .8rem; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 1.4rem;
  transition: border-color .2s ease;
}
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.15rem;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: var(--navy-900);
  font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--cyan-600);
  border-bottom: 2px solid var(--cyan-600);
  transform: rotate(45deg);
  transition: transform .2s ease;
  margin-top: -4px;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.faq details p { padding-bottom: 1.2rem; color: var(--muted); margin: 0; max-width: 72ch; }

/* ---------- CTA ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, var(--navy-950) 0%, var(--navy-800) 62%, var(--navy-700) 100%);
  color: rgba(255, 255, 255, .9);
}
.cta-band__lines {
  position: absolute;
  inset: 0;
  opacity: .35;
  pointer-events: none;
}
.cta-band .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.cta-band h2 { color: var(--white); margin-bottom: .4rem; }
.cta-band p { color: rgba(255, 255, 255, .78); max-width: 52ch; margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .8rem; flex: none; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, .72);
  font-size: .93rem;
}
.site-footer .container { padding-block: 3.5rem 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.site-footer h2 {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.site-footer a:hover { color: var(--cyan-200); text-decoration: underline; }
.site-footer .brand { color: var(--white); font-size: 1.25rem; margin-bottom: .9rem; }
.site-footer .brand:hover { color: var(--white); }
.footer-about p { max-width: 34ch; color: rgba(255, 255, 255, .6); }
.footer-nap { font-style: normal; line-height: 1.8; }
.footer-nap strong { color: var(--white); }
.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: .4rem;
  padding: .55rem 1rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-sm);
  color: var(--white) !important;
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none !important;
}
.footer-phone:hover { background: rgba(255, 255, 255, .14); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem 2rem;
  padding-top: 1.6rem;
  font-size: .84rem;
  color: rgba(255, 255, 255, .5);
}
.footer-bottom a { color: rgba(255, 255, 255, .6); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1.4rem; }

/* ---------- Pages intérieures ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 400px at 90% -20%, var(--cyan-100) 0%, rgba(217, 242, 247, 0) 70%),
    var(--ice-50);
  border-bottom: 1px solid var(--line);
}
.page-hero .container {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}
.page-hero h1 { margin-bottom: .9rem; }
.page-hero__lead { color: var(--muted); font-size: 1.12rem; max-width: 58ch; margin-bottom: 1.5rem; }
.page-hero img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.page-hero--center { text-align: center; }
.page-hero--center .container { display: block; }
.page-hero--center .page-hero__lead { margin-inline: auto; }
.page-hero--center .btn-row { justify-content: center; }

.breadcrumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1.1rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { display: flex; align-items: center; gap: .4rem; margin: 0; }
.breadcrumbs li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--navy-800); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--navy-800); font-weight: 600; }

.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose p, .prose li { color: #2A3F4F; }
.prose ul { padding-left: 1.2em; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split--media-right .split__media { order: 2; }

.info-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-sm);
}
.info-panel h2 { font-size: 1.45rem; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.checklist li { display: flex; gap: .65rem; margin: 0; color: #2A3F4F; }
.checklist svg { flex: none; color: var(--cyan-600); margin-top: .22rem; }

.price-note {
  display: flex;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  background: var(--ice-100);
  border: 1px solid var(--cyan-100);
  border-radius: var(--radius);
  color: var(--navy-900);
  font-size: .97rem;
}
.price-note svg { flex: none; color: var(--cyan-700); margin-top: .15rem; }
.price-note p { margin: 0; }

.city-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.city-card {
  padding: 1.3rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.city-card h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.city-card p { color: var(--muted); font-size: .9rem; margin: 0; }

/* ---------- Formulaires ---------- */

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.6rem);
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 700; color: var(--navy-900); }
.field .req { color: var(--danger); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .75rem .95rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--ice-50);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--cyan-400); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--cyan-600);
  box-shadow: 0 0 0 3px rgba(34, 184, 207, .22);
}
.field textarea { min-height: 140px; resize: vertical; }
.field__hint { font-size: .82rem; color: var(--muted); margin: 0; }

.file-drop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: 1.5rem 1rem;
  text-align: center;
  background: var(--ice-50);
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.file-drop:hover, .file-drop.is-dragover {
  border-color: var(--cyan-600);
  background: var(--ice-100);
}
.file-drop svg { color: var(--cyan-600); }
.file-drop strong { font-size: .95rem; color: var(--navy-800); }
.file-drop small { font-size: .82rem; color: var(--muted); }
.file-drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-list { list-style: none; margin: .7rem 0 0; padding: 0; display: grid; gap: .4rem; font-size: .88rem; }
.file-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding: .45rem .8rem;
  background: var(--ice-100);
  border-radius: 8px;
  margin: 0;
}
.file-list button {
  border: 0;
  background: none;
  color: var(--danger);
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  padding: .2rem .3rem;
}

.consent-field { display: flex; gap: .65rem; font-size: .88rem; color: var(--muted); align-items: flex-start; }
.consent-field input { margin-top: .25rem; width: 1.05rem; height: 1.05rem; accent-color: var(--cyan-600); flex: none; }

.form-status { margin-top: 1rem; font-size: .92rem; font-weight: 600; }
.form-status.is-error { color: var(--danger); }
.form-status.is-success { color: var(--success); }

.form-aside { display: grid; gap: 1.2rem; align-content: start; }

/* ---------- Bannière cookies ---------- */

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 150;
  width: min(680px, calc(100% - 2rem));
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.4rem 1.6rem;
  animation: cookie-in .35s ease;
}
@keyframes cookie-in {
  from { opacity: 0; transform: translate(-50%, 16px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
.cookie-banner h2 { font-size: 1.1rem; margin-bottom: .35rem; }
.cookie-banner p { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie-banner__actions .btn { padding: .65rem 1.1rem; font-size: .9rem; }
.cookie-banner__actions .btn--text {
  background: none;
  border: none;
  color: var(--cyan-700);
  text-decoration: underline;
  padding-inline: .4rem;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(6, 26, 42, .45);
  padding: 1rem;
}
.cookie-modal__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: min(620px, 100%);
  max-height: 88vh;
  overflow: auto;
  padding: 1.6rem;
  box-shadow: var(--shadow-lg);
}
.cookie-modal__card h2 { font-size: 1.2rem; }
.cookie-modal__card > p { color: var(--muted); font-size: .9rem; }
.cookie-cat {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.cookie-cat h3 { font-size: .98rem; margin-bottom: .2rem; }
.cookie-cat p { font-size: .85rem; color: var(--muted); margin: 0; }
.switch { position: relative; flex: none; width: 46px; height: 26px; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch span {
  position: absolute;
  inset: 0;
  background: var(--line-strong);
  border-radius: 999px;
  transition: background-color .18s ease;
  pointer-events: none;
}
.switch span::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .25);
  transition: transform .18s ease;
}
.switch input:checked + span { background: var(--cyan-600); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:disabled + span { opacity: .6; }
.cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .6rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.cookie-fab {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem .85rem;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: inherit;
  font-size: .8rem;
  font-weight: 600;
  color: var(--navy-800);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.cookie-fab.is-visible { opacity: 1; pointer-events: auto; }
.cookie-fab:hover { border-color: var(--cyan-600); }
.cookie-fab svg { width: 16px; height: 16px; color: var(--cyan-600); }

/* Décalage pour éviter que la bannière ne masque le contenu clé */
body.cookie-open .cookie-fab { display: none; }

/* ---------- Page 404 ---------- */

.error-page {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(700px 380px at 50% -20%, var(--cyan-100) 0%, rgba(217, 242, 247, 0) 70%),
    var(--ice-50);
  padding-block: clamp(3rem, 8vw, 6rem);
}
.error-page .container { max-width: 640px; }
.error-code {
  font-size: clamp(4.5rem, 12vw, 7.5rem);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--cyan-500);
  letter-spacing: -.03em;
  margin-bottom: .5rem;
}
.error-page img { margin: 0 auto 1.5rem; max-width: 300px; }

/* ---------- Page merci ---------- */

.thanks-icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 1.5rem;
  background: var(--cyan-100);
  border-radius: 50%;
  color: var(--cyan-700);
}

/* ---------- Divers ---------- */

.notice {
  display: flex;
  gap: .9rem;
  padding: 1rem 1.2rem;
  background: var(--ice-100);
  border-left: 4px solid var(--cyan-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .94rem;
}
.notice p { margin: 0; }

.hs-form-frame { min-height: 300px; }

.legal-date { color: var(--muted); font-size: .9rem; }
.legal-prose h2 { font-size: 1.35rem; margin-top: 2rem; }
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose p, .legal-prose li { font-size: .98rem; color: #2A3F4F; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero__grid,
  .page-hero .container { grid-template-columns: 1fr; }
  .hero__visual { max-width: 620px; margin-inline: auto; width: 100%; }
  .hero__badge--temp { left: 2%; }
  .hero__badge--zone { right: 2%; }
  .services-grid,
  .feature-grid,
  .steps,
  .city-grid { grid-template-columns: 1fr 1fr; }
  .trustbar .container { grid-template-columns: 1fr 1fr; }
  .zones-layout,
  .split { grid-template-columns: 1fr; }
  .split--media-right .split__media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
  .main-nav__list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: .6rem 1.25rem 1.2rem;
    box-shadow: var(--shadow);
    display: none;
  }
  .main-nav__list.is-open { display: flex; }
  .main-nav__list a {
    display: block;
    padding: .85rem .25rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .main-nav__cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .topbar__zone { display: none; }
  .hero__badge { font-size: .8rem; padding: .5rem .75rem; }
  .services-grid,
  .feature-grid,
  .steps,
  .city-grid,
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .trustbar .container { grid-template-columns: 1fr; gap: .8rem; }
  .cookie-banner { bottom: .5rem; padding: 1.1rem 1.2rem; }
  .cookie-banner__actions .btn { flex: 1 1 auto; }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { flex: 1 1 auto; }
  .file-drop { padding: 1.2rem .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ---------- Icônes (sprite SVG) ---------- */

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 26px; height: 26px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Ajustements ---------- */

.nav-mobile-only { display: none; }
@media (max-width: 760px) {
  .nav-mobile-only { display: block; }
}

.cookie-settings-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.footer-bottom .cookie-settings-link { color: rgba(255, 255, 255, .6); }
.footer-bottom .cookie-settings-link:hover { color: var(--cyan-200); }

.page-hero--center .breadcrumbs ol { justify-content: center; }
