/* ==========================================================================
   AJ Refri & Climatisation - styles
   Palette, typographie et mesures reprises de la maquette.
   ========================================================================== */

/* ---------- Polices auto-hébergées (variables, sous-ensembles latin + latin-ext) ---------- */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 500 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 500 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Variables ---------- */
:root {
  --navy-950: #04121f;
  --navy-900: #061a2e;
  --navy-800: #0a2540;
  --navy-700: #0f3a63;
  --blue-700: #17518a;
  --blue-500: #2b7ac0;
  --ice: #6fe3ff;
  --sky-400: #7fc4ea;
  --sky-300: #a9d0ea;
  --sky-250: #bdd6e8;
  --sky-200: #dbeaf6;
  --sky-150: #e3eef7;
  --sky-100: #eff6fb;
  --sky-50: #f6fafd;
  --ink: #0b1d2e;
  --muted: #5c7288;
  --muted-dark: #8fb3cc;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1280px;
  --gutter: clamp(20px, 3vw, 32px);
  --header-offset: 80px;
  --ease: .18s ease;
}

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

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

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }
a { color: var(--blue-700); text-decoration: none; }
a:where(:hover) { color: var(--blue-500); }
input, textarea, select, button { font-family: inherit; font-size: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 3px; border-radius: 2px; }
.topbar :focus-visible,
.hero :focus-visible,
.contact__info :focus-visible,
.site-footer :focus-visible { outline-color: var(--ice); }

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

.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  z-index: 100;
  background: var(--navy-800);
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  font: 700 14px/1 var(--font-body);
}
.skip-link:focus { top: 12px; color: #fff; }

section[id] { scroll-margin-top: var(--header-offset); }
#prestations { scroll-margin-top: calc(var(--header-offset) + 10px); }

.container { max-width: var(--container); margin: 0 auto; }

/* Losange - motif graphique récurrent */
.diamond { flex: none; width: 6px; height: 6px; background: var(--ice); transform: rotate(45deg); }
.diamond--md { width: 7px; height: 7px; }
.diamond--lg { width: 8px; height: 8px; }
.diamond--xl { width: 14px; height: 14px; }
.diamond--blue { background: var(--blue-500); }

/* ---------- Bandeau supérieur ---------- */
.topbar {
  background: var(--navy-900);
  color: var(--sky-200);
  padding: 9px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 18px;
  font: 500 13px/1.3 var(--font-body);
}
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__phone {
  color: var(--ice);
  font-weight: 700;
  border-bottom: 1px solid rgba(111, 227, 255, .4);
  padding-bottom: 1px;
  transition: color var(--ease), border-color var(--ease);
}
.topbar__phone:hover { color: #fff; border-bottom-color: #fff; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--sky-150);
}
.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px clamp(16px, 3vw, 32px);
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 36px);
}

.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand__logo { width: 46px; height: 46px; object-fit: cover; border-radius: 9px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font: 800 17px/1 var(--font-display); letter-spacing: .02em; color: var(--navy-800); }
.brand__tagline {
  font: 600 8.5px/1.4 var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.site-nav {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 28px);
  padding: 4px 3px;
  overflow-x: auto;
  scrollbar-width: none;
}
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a {
  font: 600 13.5px/1 var(--font-body);
  color: var(--ink);
  white-space: nowrap;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}
.site-nav a:hover { color: var(--blue-700); border-bottom-color: var(--blue-500); }

.header-call {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--navy-800);
  color: #fff;
  font: 700 13.5px/1 var(--font-body);
  padding: 12px 18px;
  border-radius: 10px;
  white-space: nowrap;
  transition: background var(--ease);
}
.header-call:hover { background: var(--blue-700); color: #fff; }
.header-call__icon { display: none; width: 18px; height: 18px; }

/* ---------- Boutons & liens ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 15px/1 var(--font-body);
  border-radius: 11px;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), border-color var(--ease);
}
.btn--light {
  background: #fff;
  color: var(--navy-800);
  padding: 16px 26px;
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .55);
}
.btn--light:hover { color: var(--navy-800); transform: translateY(-2px); box-shadow: 0 16px 38px -14px rgba(0, 0, 0, .6); }
.btn--ghost {
  border: 1px solid rgba(169, 208, 234, .38);
  color: var(--sky-200);
  padding: 16px 24px;
}
.btn--ghost:hover { color: var(--sky-200); background: rgba(169, 208, 234, .1); border-color: rgba(169, 208, 234, .7); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 14.5px/1 var(--font-body);
  color: var(--navy-800);
  border-bottom: 2px solid var(--sky-300);
  padding-bottom: 6px;
  transition: border-color var(--ease);
}
.text-link:hover { color: var(--navy-800); border-bottom-color: var(--blue-500); }
.text-link span { font-size: 16px; }

.text-button {
  margin-top: 8px;
  background: none;
  border: 0;
  border-bottom: 2px solid var(--sky-300);
  padding: 0 0 5px;
  cursor: pointer;
  font: 700 14.5px/1 var(--font-body);
  color: var(--blue-700);
  transition: border-color var(--ease);
}
.text-button:hover { border-bottom-color: var(--blue-500); }

/* ---------- Titres & textes communs ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font: 600 11.5px/1 var(--font-body);
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow--dark { color: var(--sky-300); }

.h2 {
  font: 800 clamp(30px, 3.8vw, 48px)/1.06 var(--font-display);
  letter-spacing: -.024em;
  color: var(--navy-800);
  margin-bottom: 20px;
  text-wrap: balance;
}
.h2--light { color: #fff; margin-bottom: 18px; }

.lead {
  font: 400 17px/1.7 var(--font-body);
  color: var(--muted);
  max-width: 56ch;
  margin-bottom: 16px;
  text-wrap: pretty;
}
.lead--spaced { margin-bottom: 30px; }

.kicker {
  font: 600 10.5px/1 var(--font-body);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.section { padding: clamp(64px, 8vw, 120px) var(--gutter); }

/* Cadre photo, avec trame hachurée visible pendant le chargement */
.photo {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--sky-200);
  background: var(--sky-100) repeating-linear-gradient(45deg, rgba(23, 81, 138, .06) 0 1px, transparent 1px 13px);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(158deg, var(--navy-800) 0%, var(--navy-900) 52%, var(--navy-800) 100%);
}
.hero::before,
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hero::before {
  background:
    radial-gradient(1100px 620px at 76% -14%, rgba(111, 176, 220, .30), transparent 62%),
    radial-gradient(700px 400px at 6% 102%, rgba(23, 81, 138, .42), transparent 66%);
}
.hero::after {
  background-image:
    repeating-linear-gradient(90deg, rgba(169, 208, 234, .07) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(169, 208, 234, .055) 0 1px, transparent 1px 96px);
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(52px, 7vw, 104px) var(--gutter) clamp(56px, 7vw, 96px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(169, 208, 234, .28);
  background: rgba(169, 208, 234, .07);
  border-radius: 100px;
  padding: 7px 15px 7px 11px;
  margin-bottom: clamp(20px, 3vw, 30px);
  font: 600 11.5px/1 var(--font-body);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--sky-300);
}

.hero__title {
  font: 800 clamp(38px, 5.6vw, 70px)/1.02 var(--font-display);
  letter-spacing: -.028em;
  color: #fff;
  margin-bottom: clamp(18px, 2.4vw, 26px);
  text-wrap: balance;
}
.hero__title span { color: var(--sky-400); }

.hero__lead {
  font: 400 clamp(16px, 1.35vw, 18.5px)/1.65 var(--font-body);
  color: var(--sky-250);
  max-width: 54ch;
  margin-bottom: clamp(26px, 3.4vw, 36px);
  text-wrap: pretty;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: clamp(30px, 4vw, 44px); }

.trust { display: flex; flex-wrap: wrap; gap: 10px; }
.trust__item {
  flex: 1 1 158px;
  background: rgba(169, 208, 234, .07);
  border: 1px solid rgba(169, 208, 234, .22);
  border-radius: 12px;
  padding: 16px 18px;
}
.trust__item strong { display: block; font: 700 13.5px/1.3 var(--font-body); color: #fff; margin-bottom: 3px; }
.trust__item span { display: block; font: 400 12px/1.4 var(--font-body); color: var(--muted-dark); }

/* Hauteur mini de 260 px calculée sur la largeur de la colonne : combiner aspect-ratio
   et min-height imposerait une largeur mini de 416 px, qui déborde sur mobile. */
.hero__media { position: relative; container-type: inline-size; }
.photo--hero {
  aspect-ratio: auto;
  height: max(260px, 62.5cqw);
  border-radius: 20px;
  border-color: rgba(169, 208, 234, .24);
  background: var(--navy-700) repeating-linear-gradient(45deg, rgba(169, 208, 234, .07) 0 1px, transparent 1px 13px);
}

.temp-card {
  position: absolute;
  left: clamp(-28px, -2vw, -12px);
  bottom: clamp(18px, 3vw, 34px);
  width: min(280px, 86%);
  background: rgba(6, 26, 46, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(169, 208, 234, .26);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 24px 60px -22px rgba(0, 0, 0, .8);
}
.temp-card__title {
  font: 600 10.5px/1 var(--font-body);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin-bottom: 13px;
}
.temp-card__list { display: grid; gap: 10px; }
.temp-card__list div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.temp-card__list div + div { border-top: 1px solid rgba(169, 208, 234, .16); padding-top: 10px; }
.temp-card__list dt { font: 500 13px/1.2 var(--font-body); color: var(--sky-200); }
.temp-card__list dd { font: 700 14px/1 var(--font-display); color: var(--ice); white-space: nowrap; }

/* ---------- Présentation ---------- */
.presentation { background: #fff; }
.presentation__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.presentation__card-wrap { display: flex; justify-content: center; }

.id-card {
  width: min(400px, 100%);
  border: 1px solid var(--sky-150);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 60px -40px rgba(10, 37, 64, .45);
  overflow: hidden;
}
.id-card__logo { display: flex; justify-content: center; padding: clamp(26px, 3.5vw, 38px) 28px clamp(20px, 3vw, 28px); }
.id-card__logo img { width: min(240px, 100%); height: auto; mix-blend-mode: multiply; }
.id-card__body {
  border-top: 1px solid var(--sky-150);
  background: var(--sky-50);
  padding: 20px 26px 22px;
  display: grid;
  gap: 9px;
}
.id-card__name { font: 800 13px/1.3 var(--font-display); letter-spacing: .09em; text-transform: uppercase; color: var(--navy-800); }
.id-card__address { font: 400 13.5px/1.6 var(--font-body); color: var(--muted); }
.id-card__zone { display: flex; align-items: center; gap: 9px; padding-top: 4px; font: 600 12px/1.4 var(--font-body); color: var(--blue-700); }

.audiences { display: flex; flex-wrap: wrap; gap: 10px; }
.audience {
  flex: 1 1 200px;
  background: #fff;
  border: 1px solid var(--sky-150);
  border-radius: 12px;
  padding: 15px 17px;
}
.audience strong { display: block; font: 700 14.5px/1.3 var(--font-display); color: var(--navy-800); margin-bottom: 4px; }
.audience span { display: block; font: 400 12.5px/1.45 var(--font-body); color: var(--muted); }

/* Sommaire des prestations */
.services-index { margin-top: clamp(52px, 7vw, 92px); }
.services-index__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--sky-150);
  padding-top: 26px;
  margin-bottom: 26px;
}
.services-index__head h3 { font: 700 13px/1 var(--font-body); letter-spacing: .17em; text-transform: uppercase; color: var(--navy-800); }
.services-index__head p { font: 400 13px/1 var(--font-body); color: var(--muted); }
.services-index__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }

.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 20px 22px;
  border: 1px solid var(--sky-150);
  border-radius: 14px;
  background: #fff;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.service-card:hover { border-color: var(--sky-300); transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(10, 37, 64, .5); }
.service-card__num { font: 700 11px/1 var(--font-display); letter-spacing: .14em; color: var(--blue-500); }
.service-card__title { font: 700 16.5px/1.25 var(--font-display); color: var(--navy-800); }
.service-card__desc { font: 400 13px/1.5 var(--font-body); color: var(--muted); }

/* ---------- Sections prestations ---------- */
.service { background: #fff; padding: clamp(64px, 8vw, 116px) var(--gutter); }
.service--tinted { background: var(--sky-50); border-top: 1px solid var(--sky-150); }
.service__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}

.service__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font: 600 11.5px/1 var(--font-body);
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--muted);
}
.service__num { font: 800 12px/1 var(--font-display); letter-spacing: .16em; color: var(--blue-500); }
.service__rule { flex: none; width: 48px; height: 1px; background: var(--sky-300); }

.service__title {
  font: 800 clamp(30px, 3.6vw, 46px)/1.06 var(--font-display);
  letter-spacing: -.024em;
  color: var(--navy-800);
  margin-bottom: 18px;
}
.service__text {
  font: 400 17px/1.7 var(--font-body);
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 28px;
  text-wrap: pretty;
}

.checklist { display: grid; gap: 11px; margin-bottom: 30px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font: 500 15.5px/1.5 var(--font-body); color: var(--ink); }
.checklist li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 7px;
  background: var(--blue-500);
  transform: rotate(45deg);
}

.service__media { position: relative; }

.badge {
  position: absolute;
  right: -8px;
  bottom: -18px;
  background: var(--navy-800);
  color: #fff;
  border-radius: 12px;
  padding: 13px 18px;
  box-shadow: 0 20px 44px -20px rgba(10, 37, 64, .7);
  pointer-events: none;
}
.badge--left { right: auto; left: -8px; }
.badge__label {
  display: block;
  font: 600 9.5px/1 var(--font-body);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin-bottom: 6px;
}
.badge__value { display: block; font: 800 19px/1 var(--font-display); color: var(--ice); white-space: nowrap; }

/* ---------- Contact ---------- */
.contact {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  padding: clamp(64px, 8vw, 116px) var(--gutter);
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 480px at 88% 0%, rgba(23, 81, 138, .5), transparent 64%);
  pointer-events: none;
}
.contact__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.contact__lead {
  font: 400 17px/1.7 var(--font-body);
  color: var(--sky-250);
  max-width: 46ch;
  margin-bottom: 34px;
  text-wrap: pretty;
}

.contact-list { display: grid; gap: 14px; max-width: 420px; }
.contact-item {
  display: grid;
  gap: 4px;
  background: rgba(169, 208, 234, .07);
  border: 1px solid rgba(169, 208, 234, .22);
  border-radius: 13px;
  padding: 16px 18px;
}
.contact-item--link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: border-color var(--ease), background var(--ease);
}
.contact-item--link:hover { border-color: rgba(111, 227, 255, .6); background: rgba(169, 208, 234, .12); }
.contact-item__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.contact-item__label {
  font: 600 10.5px/1 var(--font-body);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.contact-item__value { font: 700 15.5px/1.35 var(--font-body); color: #fff; overflow-wrap: anywhere; }
.contact-item--link .contact-item__value { line-height: 1.2; }
.contact-item__value--lg { font-size: 17px; }
.contact-item__arrow { font: 400 18px/1 var(--font-body); color: var(--ice); }

/* Formulaire de devis */
.quote {
  background: #fff;
  border-radius: 20px;
  padding: clamp(24px, 3vw, 38px);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .8);
}
.quote-form { position: relative; display: grid; gap: 16px; }
.quote-form__head { margin-bottom: 2px; }
.quote-form__head h3 { font: 800 22px/1.2 var(--font-display); color: var(--navy-800); margin-bottom: 6px; }
.quote-form__head p { font: 400 14px/1.5 var(--font-body); color: var(--muted); }
.quote-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }

.field { display: grid; gap: 7px; }
.field__label { font: 600 12px/1 var(--font-body); letter-spacing: .06em; color: var(--navy-800); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--sky-200);
  border-radius: 10px;
  background: var(--sky-50);
  color: var(--ink);
  font: 400 15px/1.2 var(--font-body);
  outline: none;
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}
.field textarea { line-height: 1.55; resize: vertical; }
.field select {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%232b7ac0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px 8px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue-500);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(43, 122, 192, .15);
}

.quote-form__note { font: 400 12.5px/1.55 var(--font-body); color: var(--muted); }
.quote-form__error {
  font: 600 13.5px/1.5 var(--font-body);
  color: #b42318;
  background: #fef3f2;
  border: 1px solid #fecdca;
  border-radius: 10px;
  padding: 12px 14px;
}
.quote-form__error a { color: inherit; text-decoration: underline; }
.quote-form__submit {
  width: 100%;
  background: var(--navy-800);
  color: #fff;
  border: 0;
  border-radius: 11px;
  padding: 17px 24px;
  font: 700 15.5px/1 var(--font-body);
  cursor: pointer;
  transition: background var(--ease);
}
.quote-form__submit:hover { background: var(--blue-700); }
.quote-form__submit:disabled { opacity: .7; cursor: progress; }

/* Champ piège anti-spam, invisible pour les visiteurs */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.quote-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(20px, 4vw, 48px) 0;
}
.quote-success__msg { display: grid; gap: 14px; }
.quote-success h3 { font: 800 26px/1.2 var(--font-display); color: var(--navy-800); outline: none; }
.quote-success p { font: 400 16px/1.65 var(--font-body); color: var(--muted); max-width: 38ch; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-950); padding: clamp(48px, 6vw, 76px) var(--gutter) 28px; }
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(32px, 4vw, 48px);
  border-bottom: 1px solid rgba(169, 208, 234, .14);
}
.brand--footer { gap: 12px; margin-bottom: 16px; }
.brand--footer .brand__logo { width: 54px; height: 54px; border-radius: 10px; }
.brand--footer .brand__name { font-size: 19px; color: #fff; }
.brand--footer .brand__tagline { color: var(--muted-dark); margin-top: 4px; }
.site-footer__about { font: 400 14px/1.65 var(--font-body); color: var(--muted-dark); max-width: 34ch; }
.site-footer__title {
  font: 600 10.5px/1 var(--font-body);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin-bottom: 16px;
}
.site-footer__links { display: grid; gap: 10px; font: 400 14px/1.5 var(--font-body); color: var(--muted-dark); }
.site-footer__links a {
  font: 500 14.5px/1.2 var(--font-body);
  color: var(--sky-200);
  overflow-wrap: anywhere;
  transition: color var(--ease);
}
.site-footer__links a:hover { color: var(--ice); }
.site-footer__links .site-footer__phone { font: 700 16px/1.2 var(--font-body); color: #fff; }
.site-footer__links .site-footer__phone:hover { color: var(--ice); }
.site-footer__links .site-footer__email { line-height: 1.35; }

.site-footer__bottom {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(169, 208, 234, .1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px 20px;
  font: 400 12.5px/1.4 var(--font-body);
  color: var(--muted-dark);
}
.site-footer__bottom a {
  color: var(--muted-dark);
  border-bottom: 1px solid rgba(143, 179, 204, .35);
  transition: color var(--ease);
}
.site-footer__bottom a:hover { color: var(--ice); }
.site-footer__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 22px; }

/* ---------- Mentions légales (fenêtre modale) ---------- */
/* En-tête fixe (titre + fermer) et texte qui défile dessous : le bouton ne recouvre jamais le texte. */
.mentions-modal {
  width: min(720px, 100% - 32px);
  max-width: none;
  max-height: min(100vh - 48px, 780px);
  max-height: min(100dvh - 48px, 780px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--sky-150);
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 40px 100px -30px rgba(4, 18, 31, .75);
  overflow: hidden;
}
/* Uniquement ouverte : un display posé sans condition afficherait la modale fermée */
.mentions-modal[open] {
  display: flex;
  flex-direction: column;
  animation: mentions-modal-in .24s cubic-bezier(.2, .8, .3, 1);
}
.mentions-modal::backdrop {
  background: rgba(4, 18, 31, .64);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.mentions-modal[open]::backdrop { animation: mentions-modal-fade .24s ease; }
@keyframes mentions-modal-in { from { opacity: 0; transform: translateY(12px) scale(.985); } }
@keyframes mentions-modal-fade { from { opacity: 0; } }

/* Page figée derrière la modale ; la gouttière garde la place de la barre de défilement,
   pour que le site ne se décale pas à l'ouverture sous Windows. */
html:has(.mentions-modal[open]) { overflow: hidden; scrollbar-gutter: stable; }

.mentions-modal__head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px 20px 32px;
  border-bottom: 1px solid var(--sky-150);
}
.mentions-modal__title {
  font: 800 clamp(20px, 2.4vw, 23px)/1.2 var(--font-display);
  letter-spacing: -.018em;
  color: var(--navy-800);
  text-wrap: balance;
}
.mentions-modal__close {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--sky-200);
  border-radius: 50%;
  background: #fff;
  color: var(--navy-800);
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease);
}
.mentions-modal__close:hover { background: var(--sky-100); border-color: var(--sky-300); }
.mentions-modal__close svg { width: 18px; height: 18px; }

.mentions-modal__inner {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 28px 32px 32px;
  scrollbar-width: thin;
  scrollbar-color: var(--sky-300) transparent;
  /* Ombres de défilement : une ombre n'apparaît en haut ou en bas que s'il reste du texte
     de ce côté. Les caches blancs suivent le texte (local), les ombres restent au bord (scroll). */
  background:
    linear-gradient(#fff 40%, rgba(255, 255, 255, 0)) center top / 100% 36px no-repeat local,
    linear-gradient(rgba(255, 255, 255, 0), #fff 60%) center bottom / 100% 36px no-repeat local,
    linear-gradient(rgba(10, 37, 64, .1), rgba(10, 37, 64, 0)) center top / 100% 12px no-repeat scroll,
    linear-gradient(rgba(10, 37, 64, 0), rgba(10, 37, 64, .1)) center bottom / 100% 12px no-repeat scroll;
}
.mentions-modal__inner:focus { outline: none; }

.mentions-modal__section + .mentions-modal__section { margin-top: 28px; }
.mentions-modal__section h3 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
  font: 700 12.5px/1.35 var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy-800);
}
.mentions-modal__num { flex: none; font: 800 12px/1 var(--font-display); letter-spacing: .12em; color: var(--blue-500); }
.mentions-modal__section p,
.mentions-modal__section li {
  font: 400 14.5px/1.65 var(--font-body);
  color: var(--muted);
  overflow-wrap: break-word;
  text-wrap: pretty;
}
.mentions-modal__section p + p,
.mentions-modal__section p + ul { margin-top: 10px; }
.mentions-modal__section ul { display: grid; gap: 4px; }
.mentions-modal__section li { position: relative; padding-left: 20px; }
.mentions-modal__section li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: calc(.85em - 2.5px);
  width: 5px;
  height: 5px;
  background: var(--blue-500);
  transform: rotate(45deg);
}
.mentions-modal__section strong { font-weight: 700; color: var(--ink); }
.mentions-modal__nowrap { white-space: nowrap; }
.mentions-modal__section a {
  color: var(--blue-700);
  text-decoration: underline;
  text-decoration-color: var(--sky-300);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--ease), text-decoration-color var(--ease);
}
.mentions-modal__section a:hover { color: var(--blue-500); text-decoration-color: currentColor; }

/* Téléphone à l'horizontale : en-tête resserré pour laisser la hauteur au texte */
@media (max-height: 520px) {
  .mentions-modal {
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
  }
  .mentions-modal__head { padding-top: 12px; padding-bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .mentions-modal[open],
  .mentions-modal[open]::backdrop { animation: none; }
}

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

/* Tablette / mobile : la navigation passe sur une seconde ligne de l'en-tête */
@media (max-width: 760px) {
  :root { --header-offset: 116px; }
  .site-header__inner { flex-wrap: wrap; row-gap: 6px; padding-bottom: 6px; }
  .header-call { margin-left: auto; }
  .site-nav {
    order: 3;
    flex: 1 1 100%;
    justify-content: center;
    gap: 28px;
    padding: 6px 3px 0;
    border-top: 1px solid var(--sky-150);
  }
}

/* Mobile : la carte des températures passe sous la photo au lieu de la recouvrir */
@media (max-width: 560px) {
  .temp-card { position: relative; left: auto; bottom: auto; margin: -44px 0 0 12px; }
  /* Sur-titres qui passent sur deux lignes : interligne desserré */
  .eyebrow, .service__eyebrow { line-height: 1.35; }

  /* Modale des mentions légales : marges et coins resserrés, plus de hauteur pour le texte */
  .mentions-modal {
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    border-radius: 16px;
  }
  .mentions-modal__head { gap: 14px; padding: 14px 14px 14px 20px; }
  .mentions-modal__inner { padding: 22px 20px 26px; }
}

/* Petit mobile : bouton d'appel réduit à l'icône */
@media (max-width: 480px) {
  .header-call { padding: 12px; }
  .header-call .diamond,
  .header-call__label { display: none; }
  .header-call__icon { display: block; }
}
