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

:root {
  --green: #1b7a4e;
  --green-mid: #2d9a64;
  --green-light: #5cc98a;
  --green-pale: #e8f7ee;
  --green-soft: #f3fbf6;
  --white: #ffffff;
  --text: #1a2e23;
  --muted: #5a7268;
  --font: 'Figtree', sans-serif;
}

html { scroll-behavior: auto; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }

/* ── TOP STRIP (≠ AquaLux : pas de barre sombre) ── */
.top-strip {
  background: var(--green);
  color: white;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.55rem 0;
}

.top-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-strip a {
  color: white;
  text-decoration: none;
  font-weight: 700;
}

/* ── HEADER : logo CENTRÉ, nav en dessous (≠ AquaLux logo gauche / menu droite) ── */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--green-pale);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1rem 1.5rem;
  gap: 1rem;
}

.logo {
  grid-column: 2;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.5px;
  text-align: center;
}
.logo span { color: var(--green); }

.main-nav {
  grid-column: 1;
  display: flex;
  gap: 1.75rem;
  justify-content: flex-start;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--green);
  border-bottom-color: var(--green-light);
}

.header-cta {
  grid-column: 3;
  justify-self: end;
  background: var(--green-pale);
  color: var(--green);
  padding: 0.55rem 1.2rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.header-cta:hover { background: var(--green); color: white; }

.burger {
  display: none;
  background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--green); }

/* ── HERO : vert clair, centré (≠ AquaLux plein écran bleu foncé) ── */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--green-soft) 0%, var(--white) 100%);
  padding: 5rem 0 4rem;
  text-align: center;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(45,154,100,0.12) 0%, transparent 70%);
  top: -100px; right: -100px;
  border-radius: 50%;
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green);
  padding: 0.4rem 1rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(45,154,100,0.2);
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  letter-spacing: -1.5px;
  color: var(--text);
}

.hero h1 .highlight {
  color: var(--green);
  position: relative;
}
.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 8px;
  background: var(--green-pale);
  z-index: -1;
}

.hero-content > p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto 2rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.btn-fill {
  background: var(--green);
  color: white;
  padding: 0.9rem 2rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  display: inline-block;
  transition: background 0.2s;
}
.btn-fill:hover { background: var(--green-mid); }

.btn-line {
  color: var(--green);
  padding: 0.9rem 2rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  border: 2px solid var(--green-pale);
  border-radius: 6px;
  background: white;
  transition: border-color 0.2s;
}
.btn-line:hover { border-color: var(--green-light); }

.btn-line-dark {
  display: block;
  text-align: center;
  padding: 0.75rem;
  border: 2px solid var(--green-pale);
  color: var(--green);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.btn-line-dark:hover { background: var(--green); color: white; border-color: var(--green); }

.hero-metrics {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--green-pale);
  max-width: 700px;
  margin: 0 auto;
}

.metric b {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1.2;
}
.metric small {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

/* ── SECTIONS ── */
.block-head { margin-bottom: 2.5rem; }
.block-head.center { text-align: center; }
.block-head h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.4rem;
}
.block-head p { color: var(--muted); }

/* SERVICES : liste horizontale (≠ grille cartes AquaLux) */
.services { padding: 5rem 0; background: var(--white); }

.service-list { display: flex; flex-direction: column; gap: 0; }

.service-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--green-pale);
  transition: background 0.2s;
}
.service-row:first-child { border-top: 1px solid var(--green-pale); }
.service-row:hover { background: var(--green-soft); padding-left: 1rem; padding-right: 1rem; margin: 0 -1rem; border-radius: 8px; }

.service-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s;
}
.service-icon-wrap svg { width: 32px; height: 32px; }
.service-row:hover .service-icon-wrap { transform: scale(1.08); }

.icon-residentiel { background: #e8f7ee; color: var(--green); }
.icon-bureaux     { background: #dff0e8; color: #1a6b45; }
.icon-industriel  { background: #d4ebe2; color: #145a38; }
.icon-vitres      { background: #c9e8db; color: #0f4d30; }

.service-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.2rem; }
.service-body p { color: var(--muted); font-size: 0.9rem; }

.service-tag {
  background: var(--green-pale);
  color: var(--green);
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

/* METHODE */
.methode {
  padding: 5rem 0;
  background: var(--green-soft);
}

.methode-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.methode-intro h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}
.methode-intro > p { color: var(--muted); margin-bottom: 2rem; }

.eco-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: white;
  padding: 1.25rem;
  border-radius: 10px;
  border-left: 4px solid var(--green);
}
.eco-card span { font-size: 1.8rem; }
.eco-card strong { display: block; font-size: 0.95rem; margin-bottom: 0.2rem; }
.eco-card p { color: var(--muted); font-size: 0.85rem; }

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

.step-card {
  background: white;
  padding: 1.75rem 1.5rem;
  border-radius: 10px;
  border: 1px solid var(--green-pale);
}

.step-num {
  width: 36px; height: 36px;
  background: var(--green);
  color: white;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.step-card h4 { font-weight: 700; margin-bottom: 0.4rem; font-size: 0.95rem; }
.step-card p { color: var(--muted); font-size: 0.85rem; }

/* TARIFS */
.tarifs { padding: 5rem 0; }

.tarif-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.tarif {
  background: var(--green-soft);
  padding: 2rem 1.75rem;
  border-radius: 12px;
  border: 2px solid var(--green-pale);
  position: relative;
}

.tarif.popular {
  background: var(--green);
  color: #ffffff;
  border-color: var(--green);
  transform: scale(1.03);
  box-shadow: 0 12px 40px rgba(27,122,78,0.25);
}
.tarif.popular h3 { color: #ffffff; }
.tarif.popular .tarif-price { color: #ffffff; }
.tarif.popular .tarif-price span { color: rgba(255,255,255,0.85); }
.tarif.popular li {
  color: #ffffff;
  border-color: rgba(255,255,255,0.25);
  padding-left: 1.4rem;
  position: relative;
}
.tarif.popular li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-light);
  font-weight: 700;
}
.tarif.popular .btn-fill { background: #ffffff; color: var(--green); font-weight: 800; }
.tarif.popular .btn-fill:hover { background: var(--green-pale); }

.popular-label {
  position: absolute;
  top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--green-light);
  color: white;
  padding: 0.25rem 0.85rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tarif h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.tarif-price { font-size: 2.4rem; font-weight: 800; color: var(--green); margin-bottom: 1.25rem; line-height: 1; }
.tarif-price span { font-size: 0.95rem; font-weight: 500; color: var(--muted); }

.tarif ul { list-style: none; margin-bottom: 1.75rem; }
.tarif li {
  padding: 0.45rem 0;
  font-size: 0.88rem;
  color: var(--muted);
  border-bottom: 1px solid var(--green-pale);
}

/* CONTACT */
.contact {
  padding: 5rem 0;
  background: var(--white);
}

.contact-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(27,122,78,0.1);
  border: 1px solid var(--green-pale);
}

.contact-aside {
  background: linear-gradient(160deg, var(--green) 0%, #145a38 100%);
  color: white;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
}

.contact-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.3rem 0.85rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
  width: fit-content;
}

.contact-aside h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.contact-aside > p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.contact-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex: 1;
}

.contact-perks li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}
.contact-perks svg { width: 18px; height: 18px; color: var(--green-light); flex-shrink: 0; }

.contact-coords { display: flex; flex-direction: column; gap: 0.75rem; }

.coord-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: white;
  background: rgba(255,255,255,0.1);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  transition: background 0.2s;
}
.coord-item:hover { background: rgba(255,255,255,0.18); }
.coord-icon { font-size: 1.1rem; }
.coord-item small {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.65;
  font-weight: 600;
}
.coord-item span > :not(small) { font-weight: 700; font-size: 0.92rem; }

.contact-form {
  background: var(--green-soft);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}
.form-header h3 { font-size: 1.15rem; font-weight: 800; color: var(--text); }
.form-step {
  background: var(--green-pale);
  color: var(--green);
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
}

.form-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
  margin-bottom: -0.25rem;
}

.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill { cursor: pointer; }
.pill input { display: none; }
.pill span {
  display: block;
  padding: 0.55rem 1rem;
  border: 2px solid var(--green-pale);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  background: white;
  transition: all 0.2s;
}
.pill input:checked + span {
  border-color: var(--green);
  background: var(--green);
  color: white;
}
.pill:hover span { border-color: var(--green-light); }

.form-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem 1rem;
  border: 2px solid transparent;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.92rem;
  background: white;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(27,122,78,0.04);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green-light);
  box-shadow: 0 0 0 3px rgba(92,201,138,0.2);
}

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: var(--green);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 10px;
  font-family: var(--font);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s, transform 0.2s;
}
.btn-submit svg { width: 18px; height: 18px; }
.btn-submit:hover { background: var(--green-mid); transform: translateY(-1px); }

/* FOOTER */
.footer {
  background: var(--green);
  color: rgba(255,255,255,0.7);
  padding: 2.5rem 0;
  text-align: center;
}
.footer .logo { color: white; display: inline-block; margin-bottom: 0.5rem; }
.footer .logo span { color: var(--green-light); }
.footer p { font-size: 0.82rem; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }
  .logo { grid-column: 1; text-align: left; }
  .header-cta { grid-column: 2; grid-row: 1; }
  .burger { display: flex; grid-column: 2; grid-row: 1; justify-self: end; margin-right: 0; }
  .header-cta { display: none; }

  .main-nav {
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
    gap: 0;
    background: var(--green-soft);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.75rem 1rem; border-bottom: none; }
  .main-nav a:hover { background: var(--green-pale); }

  .methode-wrap { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .tarif-cards { grid-template-columns: 1fr; }
  .tarif.popular { transform: none; }
  .contact-card { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 56px 1fr; }
  .service-tag { grid-column: 2; justify-self: start; margin-top: 0.25rem; }
}

@media (max-width: 600px) {
  .top-strip-inner { justify-content: center; text-align: center; }
  .hero-metrics { gap: 1.5rem; }
  .form-duo { grid-template-columns: 1fr; }
}
