/* =========================================================
   SUD ALPES ÉTANCHÉITÉ - Design system
   Palette: bleu nuit #14233B / bleu moyen #3E6EB5 /
            blanc cassé #F7F8FA / gris clair #E9EDF2 /
            gris texte #667085 / blanc #FFFFFF
   ========================================================= */

:root {
  --navy: #14233B;
  --navy-rgb: 20, 35, 59;
  --blue: #3E6EB5;
  --blue-rgb: 62, 110, 181;
  --off-white: #F7F8FA;
  --light-grey: #E9EDF2;
  --text-grey: #667085;
  --white: #FFFFFF;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;

  --glass-light-bg: rgba(255,255,255,0.08);
  --glass-light-border: rgba(255,255,255,0.16);
  --glass-blue-bg: rgba(62,110,181,0.1);
  --glass-blue-border: rgba(62,110,181,0.28);

  --container: 1240px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --section-y: clamp(64px, 9vw, 140px);
  --transition: 240ms cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container { padding: 0 40px; }
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--navy);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  text-wrap: balance;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--blue);
  display: inline-block;
}

h2.section-title {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.15;
  max-width: 720px;
}

.section-lede {
  font-size: 17px;
  color: var(--text-grey);
  max-width: 620px;
  margin-top: 18px;
  line-height: 1.65;
}

.section-head {
  margin-bottom: 56px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head.center .section-lede { margin-left: auto; margin-right: auto; }
.section-head.center h2 { max-width: 760px; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(135deg, #4a7cc4, #3660a0);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(20,35,59,0.12);
}
.btn-primary:hover { background: linear-gradient(135deg, #3f6db2, #2e5589); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.btn-outline-navy {
  background: transparent;
  border-color: rgba(20,35,59,0.25);
  color: var(--navy);
}
.btn-outline-navy:hover { border-color: var(--navy); background: rgba(20,35,59,0.04); }

.btn-light {
  background: var(--white);
  color: var(--navy);
}
.btn-light:hover { background: var(--off-white); }

.btn-sm { padding: 10px 18px; font-size: 14px; }

.btn-icon { width: 17px; height: 17px; flex: none; }

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(20,35,59,0.0);
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.site-header.scrolled {
  background: rgba(20,35,59,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  letter-spacing: 0.01em;
  flex: none;
}

.brand img { height: 34px; width: auto; flex: none; }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.brand-text small {
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.13em;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  margin-top: 2px;
}

.main-nav {
  display: none;
  min-width: 0;
  flex: 1;
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 22px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  display: inline-block;
  color: rgba(255,255,255,0.82);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
  white-space: nowrap;
  padding-bottom: 4px;
}
.main-nav a:hover { color: var(--white); }

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.header-call {
  display: none;
  align-items: center;
  gap: 7px;
  color: var(--white);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

@media (min-width: 1080px) {
  .main-nav { display: block; }
  .nav-toggle { display: none; }
}

@media (min-width: 1300px) {
  .header-call { display: inline-flex; }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  padding: 24px 24px 32px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}
.mobile-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }

.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.mobile-nav ul a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 20px;
  font-weight: 500;
}

.mobile-nav-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  cursor: pointer;
  flex: none;
}

.mobile-nav-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
}

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

.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  position: absolute;
  left: 0;
  top: -90px;
  width: 100%;
  height: calc(100% + 180px);
  object-fit: cover;
  object-position: 0% 22%;
  will-change: transform;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,35,59,0.5) 0%, rgba(20,35,59,0.38) 45%, rgba(20,35,59,0.82) 100%),
    linear-gradient(90deg, rgba(20,35,59,0.45) 0%, rgba(20,35,59,0.1) 55%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 156px;
  padding-bottom: 90px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

@media (min-width: 1150px) {
  .hero-grid { grid-template-columns: 1.4fr 0.6fr; gap: 48px; align-items: center; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 22px;
}
.hero-eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--blue);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.12;
  font-weight: 600;
}

.hero h1 .accent-text { color: #8FB4E8; }

.hero-sub {
  margin-top: 26px;
  font-size: clamp(15.5px, 1.3vw, 17.5px);
  color: rgba(247,248,250,0.85);
  max-width: 560px;
  line-height: 1.65;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: rgba(247,248,250,0.86);
  line-height: 1.5;
}

.hero-points .tick {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  margin-top: 1px;
  background: var(--glass-blue-bg);
  border: 1px solid var(--glass-blue-border);
  backdrop-filter: blur(6px);
  color: #8CB1E6;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-points .tick svg { width: 12px; height: 12px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.hero-zones {
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.18);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.68);
  letter-spacing: 0.02em;
}

.hero-zones strong {
  color: rgba(255,255,255,0.92);
  font-weight: 500;
}

/* ---------- Hero quote card ---------- */

.hero-quote-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--blue);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 30px 70px -24px rgba(10,18,32,0.55);
}

@media (min-width: 460px) {
  .hero-quote-card { padding: 36px; }
}

.hero-quote-head h2 {
  font-size: 21px;
  color: var(--navy);
  margin-bottom: 6px;
}

.hero-quote-head p {
  font-size: 13.5px;
  color: var(--text-grey);
  margin: 0;
}

.hero-quote-card .form-submit { width: 100%; margin-top: 4px; }

.hero-quote-note {
  font-size: 11.5px;
  color: var(--text-grey);
  line-height: 1.5;
  margin: 0;
}

.scroll-cue {
  position: absolute;
  right: 40px;
  bottom: 36px;
  z-index: 1;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.6);
}

.scroll-cue span {
  writing-mode: vertical-rl;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-cue .line {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.35);
  position: relative;
  overflow: hidden;
}
.scroll-cue .line::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 14px;
  background: var(--blue);
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue {
  0% { transform: translateY(-14px); }
  100% { transform: translateY(44px); }
}

@media (min-width: 900px) {
  .scroll-cue { display: flex; }
}

/* ---------- Reassurance bar ---------- */

.reassurance {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(160deg, #182a45 0%, #14233B 55%, #101c30 100%);
  color: var(--white);
  padding: 30px 0;
}

.reassurance-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 700px) {
  .reassurance-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
  .reassurance-grid { grid-template-columns: repeat(4, 1fr); }
}

.reassurance-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.reassurance-item .icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8CB1E6;
}
.reassurance-item .icon svg { width: 21px; height: 21px; }

.reassurance-item .label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  line-height: 1.35;
}
.reassurance-item .label small {
  display: block;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  font-size: 12.5px;
  margin-top: 2px;
}

/* ---------- Generic section ---------- */

.section {
  position: relative;
  padding: var(--section-y) 0;
}

.section-alt { background: var(--off-white); }

.section-navy {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(165deg, #182a45 0%, #14233B 45%, #101c30 100%);
  color: var(--white);
}
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy .section-lede { color: rgba(247,248,250,0.7); }

/* Soft translucent brand-colour texture, kept faint so the palette
   ratio (mostly white / off-white) still holds */
.section-navy::before,
.section-navy::after,
.reassurance::before,
.reassurance::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}
.section-navy::before, .reassurance::before {
  width: 620px;
  height: 620px;
  top: -260px;
  right: -180px;
  background: radial-gradient(circle, rgba(62,110,181,0.18), rgba(62,110,181,0) 70%);
}
.section-navy::after, .reassurance::after {
  width: 520px;
  height: 520px;
  bottom: -220px;
  left: -160px;
  background: radial-gradient(circle, rgba(62,110,181,0.1), rgba(62,110,181,0) 70%);
}
.section-navy > .container, .reassurance > .container {
  position: relative;
  z-index: 1;
}

.section:not(.section-navy)::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    radial-gradient(1200px 700px at 105% -10%, rgba(62,110,181,0.18), transparent 65%),
    radial-gradient(1000px 620px at -10% 110%, rgba(62,110,181,0.14), transparent 65%);
  pointer-events: none;
}
.section > .container { position: relative; z-index: 1; }

#methode::before {
  background: rgba(62,110,181,0.09);
}

/* ---------- Expertises grid ---------- */

.expertise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 700px) {
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
  .expertise-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Mid-page CTA band ---------- */

.mid-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 56px 0;
}

.mid-cta-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.mid-cta-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mid-cta-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20,35,59,0.92);
}

.mid-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

@media (min-width: 700px) {
  .mid-cta-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.mid-cta-text {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.4vw, 23px);
  font-weight: 600;
  color: var(--white);
  margin: 0;
  max-width: 560px;
}

.mid-cta .btn { flex: none; }

/* ---------- Assistance technique (audience tabs) ---------- */

.audience { padding: 52px 0; }
.audience .section-head { margin-bottom: 24px; }
.audience .section-title { font-size: clamp(26px, 3vw, 36px); }

.audience-points {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: 0 auto 24px;
}

.audience-point { position: relative; text-align: center; }

.audience-point .step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid rgba(var(--blue-rgb), 0.35);
  font-size: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--blue);
  margin: 0 auto 10px;
}

.audience-point h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}

.audience-points::after,
.audience-points::before { content: none; }

.audience-points .audience-point + .audience-point { position: relative; }
.audience-points .audience-point:first-child::after {
  content: "";
  display: block;
  position: absolute;
  top: 20px;
  left: calc(100% + 14px);
  width: 40px;
  height: 1px;
  background: rgba(var(--navy-rgb), 0.15);
}

.audience-tabs { max-width: 720px; margin: 0 auto; text-align: center; }

.audience-tab-buttons {
  display: inline-flex;
  gap: 4px;
  padding: 6px;
  margin-bottom: 20px;
  background: var(--white);
  border: 1px solid rgba(20,35,59,0.1);
  border-radius: 999px;
}

.audience-tab-btn {
  padding: 12px 28px;
  border: none;
  border-radius: 999px;
  background: transparent;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-grey);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.audience-tab-btn:hover { color: var(--navy); }
.audience-tab-btn.active { background: var(--navy); color: var(--white); }

.audience-tab-panel { display: none; }
.audience-tab-panel.active { display: block; }

.audience-tab-panel p {
  margin: 0 auto;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-grey);
}

.audience-chip-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.audience-chip-list li {
  padding: 10px 22px;
  border: 1px solid rgba(20,35,59,0.14);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 14.5px;
  font-weight: 600;
}

.expertise-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--light-grey);
  aspect-ratio: 4/5;
  display: flex;
  align-items: flex-end;
  transition: transform var(--transition);
}

.expertise-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.expertise-card:hover img { transform: scale(1.05); }

.expertise-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,35,59,0) 30%, rgba(20,35,59,0.86) 100%);
}

.expertise-card-body {
  position: relative;
  z-index: 1;
  padding: 26px;
  color: var(--white);
  min-height: 200px;
}

.expertise-card > .num {
  position: absolute;
  top: 26px;
  left: 26px;
  z-index: 2;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
}

.expertise-card-body h3 {
  color: var(--white);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.expertise-card-body p {
  font-size: 13.5px;
  color: rgba(247,248,250,0.78);
  margin: 0;
  line-height: 1.5;
}

.expertise-more {
  margin-top: 44px;
  text-align: center;
}

.expertise-card.has-gallery { cursor: pointer; }

.gallery-hint {
  display: inline-block;
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #8CB1E6;
  letter-spacing: 0.02em;
}

/* ---------- Photo modal (expertise finish galleries) ---------- */

.photo-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.photo-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.photo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,18,32,0.72);
  backdrop-filter: blur(4px);
}

.photo-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  transform: translateY(12px);
  transition: transform var(--transition);
}
.photo-modal.open .photo-modal-panel {
  transform: translateY(0);
}

.photo-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--light-grey);
  background: var(--white);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.photo-modal-close:hover { background: var(--off-white); }

.photo-modal-title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--navy);
  margin: 0 44px 24px 0;
}

.photo-modal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 560px) {
  .photo-modal-grid { grid-template-columns: repeat(2, 1fr); }
}

.photo-modal-item {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--light-grey);
}
.photo-modal-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.photo-modal-item figcaption {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
}

/* ---------- Zone d'intervention modal ---------- */

.zone-trigger {
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition);
}
.zone-trigger:hover, .zone-trigger:focus-visible {
  border-color: currentColor;
}

.zone-modal-panel {
  max-width: 900px;
}

.zone-modal-subtitle {
  margin: -14px 0 20px;
  color: var(--text-grey);
  font-size: 14.5px;
}

.zone-modal-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--light-grey);
  width: 100%;
  height: 360px;
  background: var(--off-white);
}
@media (min-width: 640px) {
  .zone-modal-map { height: 440px; }
}

.zone-map-hq-marker span {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--navy);
}
.leaflet-container {
  font-family: var(--font);
}

.zone-map-label {
  background: none;
  border: none;
  box-shadow: none;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  text-shadow: 0 1px 2px rgba(255,255,255,0.9), 0 0 6px rgba(255,255,255,0.9);
  white-space: nowrap;
}
.zone-map-label::before { display: none; }

/* ---------- Leak detection card (fills the expertise grid gap) ---------- */

.leak-card .expertise-card-body .num {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11.5px;
  color: #8CB1E6;
}

.leak-card .expertise-card-body .btn {
  margin-top: 14px;
}

/* ---------- Method / process (light timeline) ---------- */

.method-list {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  counter-reset: step;
}

@media (min-width: 700px) {
  .method-list { grid-template-columns: repeat(2, 1fr); gap: 44px 32px; }
}
@media (min-width: 1080px) {
  .method-list { grid-template-columns: repeat(4, 1fr); gap: 0; }
}

.method-line {
  display: none;
}
@media (min-width: 1080px) {
  .method-line {
    display: block;
    position: absolute;
    top: 23px;
    left: 11.5%;
    right: 11.5%;
    height: 1px;
    background: rgba(62,110,181,0.4);
    z-index: 0;
  }
}

.method-step {
  position: relative;
  z-index: 1;
  padding: 0 20px;
  text-align: center;
}

.method-step .step-num {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--off-white);
  border: 1.5px solid rgba(var(--blue-rgb), 0.35);
  font-size: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--blue);
  margin: 0 auto 22px;
}

.method-step h3 {
  font-size: 19px;
  margin-bottom: 12px;
  color: var(--navy);
}

.method-step p {
  color: var(--text-grey);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

/* ---------- Heritage section ---------- */

.heritage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.heritage-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.heritage-backdrop img {
  position: absolute;
  left: 0;
  top: -110px;
  width: 100%;
  height: calc(100% + 220px);
  object-fit: cover;
  will-change: transform;
}
.heritage-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(20,35,59,0.78) 0%, rgba(62,110,181,0.55) 50%, rgba(20,35,59,0.82) 100%);
}

.heritage .eyebrow,
.heritage .eyebrow::before {
  color: #8CB1E6;
}
.heritage .eyebrow::before { background: #8CB1E6; }

.heritage-content {
  max-width: 620px;
}

/* ---------- Fournisseurs ---------- */

.suppliers-row {
  display: flex;
  justify-content: center;
}

.suppliers-row img {
  width: 100%;
  max-width: 640px;
  height: auto;
}

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

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--light-grey);
}

.faq-item {
  border-bottom: 1px solid var(--light-grey);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font);
  font-size: 16.5px;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
}

.faq-question .plus {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--light-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform var(--transition), background var(--transition);
}
.faq-question .plus::before,
.faq-question .plus::after {
  content: "";
  position: absolute;
  background: var(--navy);
  transition: transform var(--transition), opacity var(--transition);
}
.faq-question .plus::before { width: 10px; height: 1.5px; }
.faq-question .plus::after { width: 1.5px; height: 10px; }

.faq-item.open .faq-question .plus { background: var(--blue); border-color: var(--blue); }
.faq-item.open .faq-question .plus::before,
.faq-item.open .faq-question .plus::after { background: var(--white); }
.faq-item.open .faq-question .plus::after { opacity: 0; transform: rotate(90deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms ease;
}

.faq-answer-inner {
  padding: 0 4px 26px;
  color: var(--text-grey);
  font-size: 15px;
  line-height: 1.7;
  max-width: 700px;
}

/* ---------- Final CTA + form ---------- */

.cta-final {
  position: relative;
  overflow: hidden;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

@media (min-width: 980px) {
  .cta-grid { grid-template-columns: 0.85fr 1.15fr; gap: 80px; }
}

.cta-final .eyebrow { color: #7FA6E0; }

.cta-final h2 { color: var(--white); }

.cta-final .section-lede { color: rgba(247,248,250,0.72); }

.cta-contact-list {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cta-contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.cta-contact-list .icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8CB1E6;
}
.cta-contact-list .icon svg { width: 19px; height: 19px; }

.cta-contact-list .label {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 3px;
}
.cta-contact-list .value {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--white);
}

.quote-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
}

@media (min-width: 640px) {
  .quote-form { padding: 44px; }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 600px) {
  .form-grid.two { grid-template-columns: 1fr 1fr; }
}

.field { display: flex; flex-direction: column; gap: 8px; }

.field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}

.field .optional {
  font-weight: 400;
  color: var(--text-grey);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font);
  font-size: 15px;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--light-grey);
  background: var(--off-white);
  color: var(--navy);
  transition: border-color var(--transition), background var(--transition);
  width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}

.field textarea { resize: vertical; min-height: 110px; }

.file-drop {
  border: 1.5px dashed var(--light-grey);
  border-radius: var(--radius-sm);
  padding: 22px;
  text-align: center;
  background: var(--off-white);
  color: var(--text-grey);
  font-size: 13.5px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.file-drop:hover { border-color: var(--blue); }
.file-drop svg { width: 22px; height: 22px; color: var(--blue); margin-bottom: 8px; }
.file-drop input { display: none; }

.form-footer {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.form-note {
  font-size: 12.5px;
  color: var(--text-grey);
  max-width: 320px;
}

.form-submit { width: 100%; }
@media (min-width: 600px) { .form-submit { width: auto; } }

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

.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
}

@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
}

.footer-brand .brand { color: var(--white); margin-bottom: 18px; }
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  max-width: 300px;
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--white);
  font-size: 13.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a, .footer-col span {
  font-size: 14.5px;
  color: rgba(255,255,255,0.62);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }

.footer-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-group img { width: 42px; height: auto; flex: none; }
.footer-group-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13.5px;
}
.footer-group-text span { color: rgba(255,255,255,0.55); }
.footer-group-text a { color: rgba(255,255,255,0.85); font-weight: 600; transition: color var(--transition); }
.footer-group-text a:hover { color: var(--white); }

.footer-bottom {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Mobile sticky call bar ---------- */

.mobile-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  gap: 1px;
  background: var(--light-grey);
  box-shadow: 0 -6px 20px rgba(20,35,59,0.1);
}

.mobile-cta-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 10px;
  font-size: 14px;
  font-weight: 600;
}

.mobile-cta-bar .call {
  background: var(--navy);
  color: var(--white);
}
.mobile-cta-bar .quote {
  background: var(--blue);
  color: var(--white);
}

.mobile-cta-bar svg { width: 17px; height: 17px; }

@media (min-width: 1080px) {
  .mobile-cta-bar { display: none; }
}

body { padding-bottom: 0; }
@media (max-width: 1079px) {
  body { padding-bottom: 62px; }
}

/* ---------- Reveal animation (subtle) ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms cubic-bezier(.4,0,.2,1), transform 700ms cubic-bezier(.4,0,.2,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Utility ---------- */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 900px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 64px; }
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
