/* =====================================================
   Mes Rénovateurs — Accueil v2
   Implémentation de « Accueil Mes Rénovateurs v2.dc.html »
   ===================================================== */

:root {
  --night: #0F231A;
  --night-deep: #07130D;
  --ink: #101613;
  --muted: #5A645E;
  --muted-light: #8A938D;
  --paper: #FCFDFC;
  --grey-bg: #F6F8F6;
  --grey-chip: #F1F4F1;
  --green: #1F7A50;
  --green-dark: #155C3B;
  --green-bright: #3FA872;
  --green-soft: #8FCBAA;
  --green-pale: #B9E3CC;
  --error: #B04632;
  --radius-section: 28px;
  --mono: ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #FFFFFF;
  font-family: 'Archivo', system-ui, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }

h1, h2, h3, p { margin: 0; }

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding-left: 36px;
  padding-right: 36px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Boutons & liens ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border-radius: 999px;
  font-weight: 700;
  transition: background .2s ease, color .2s ease;
}

.btn-orb {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex: none;
}

.btn-glass {
  gap: 12px;
  background: rgba(252, 253, 252, .14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(252, 253, 252, .28);
  color: var(--paper);
  font-size: 14.5px;
  font-weight: 600;
  padding: 10px 10px 10px 22px;
}
.btn-glass:hover { background: rgba(252, 253, 252, .26); color: var(--paper); }
.btn-orb-light {
  width: 30px;
  height: 30px;
  background: var(--paper);
  color: var(--night);
  font-size: 14px;
  font-weight: 700;
}

.btn-light {
  background: var(--paper);
  color: var(--night);
  font-size: 15.5px;
  padding: 10px 10px 10px 28px;
}
.btn-light:hover { background: #E7EFE9; color: var(--night); }
.btn-orb-dark { background: var(--night); color: var(--paper); }

.btn-green {
  align-self: flex-start;
  background: var(--green-bright);
  color: var(--night-deep);
  font-size: 15px;
  padding: 9px 9px 9px 26px;
  margin-top: 6px;
}
.btn-green:hover { background: #4FBE84; color: var(--night-deep); }
.btn-orb-night { width: 36px; height: 36px; background: var(--night-deep); color: var(--paper); font-size: 14px; }

.link-underline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 8px;
  border-bottom: 1px solid rgba(252, 253, 252, .4);
  text-shadow: 0 1px 8px rgba(7, 19, 13, .5);
}
.link-underline:hover { color: var(--green-soft); }

.chip {
  align-self: flex-start;
  display: inline-block;
  font-size: 13.5px;
  font-weight: 600;
  color: #3A443E;
  background: var(--grey-chip);
  border: 1px solid rgba(16, 34, 25, .08);
  border-radius: 999px;
  padding: 8px 18px;
}
.chip-on-grey { background: #FFFFFF; }
.chip-dark {
  color: var(--green-pale);
  background: rgba(252, 253, 252, .08);
  border-color: rgba(252, 253, 252, .18);
}

/* ---------- Emplacements photo (image slots) ---------- */

.img-slot {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(150deg, rgba(31, 122, 80, .10), rgba(15, 35, 26, .06)),
    linear-gradient(135deg, #E9F0EA, #D9E5DC);
  overflow: hidden;
}
.img-slot::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
}
.img-slot-dark {
  background:
    linear-gradient(150deg, rgba(63, 168, 114, .16), rgba(7, 19, 13, .4)),
    linear-gradient(135deg, #162B20, #0B1A13);
}
.img-slot-dark::after { color: rgba(252, 253, 252, .55); }
.img-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.site-header {
  position: fixed;
  top: 16px;
  left: 8px;
  right: 8px;
  z-index: 50;
  border-radius: 22px;
  background: transparent;
  border: 1px solid transparent;
  transition: background .4s ease, border-color .4s ease, backdrop-filter .4s ease,
    top .3s ease, left .3s ease, right .3s ease, border-radius .3s ease;
}
.site-header.is-scrolled {
  top: 0;
  left: 0;
  right: 0;
  border-radius: 0;
  background: #08140E;
  border-color: rgba(252, 253, 252, .10);
}

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 36px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-logo {
  display: flex;
  align-items: center;
  flex: 1;
}
.header-logo img {
  height: 50px;
  display: block;
  filter: drop-shadow(0 1px 8px rgba(7, 19, 13, .45));
}
.header-logo .wordmark,
.footer-logo .wordmark { display: none; }
.header-logo.logo-fallback .wordmark {
  display: block;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-shadow: 0 1px 8px rgba(7, 19, 13, .55);
  white-space: nowrap;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.header-nav a {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--paper);
  text-shadow: 0 1px 8px rgba(7, 19, 13, .55);
}
.header-nav a:hover { color: var(--green-soft); }

.header-cta {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

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

.hero {
  position: relative;
  background:
    radial-gradient(1100px 600px at 78% 30%, rgba(63, 168, 114, .22), transparent 65%),
    radial-gradient(900px 500px at 15% 85%, rgba(31, 122, 80, .18), transparent 60%),
    var(--night);
  border-radius: var(--radius-section);
  margin: 8px 8px 0;
  overflow: hidden;
}
.hero-photo { position: absolute; inset: 0; }
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-shade { position: absolute; inset: 0; pointer-events: none; }
.hero-shade-side {
  background: linear-gradient(105deg, rgba(7, 19, 13, .86) 0%, rgba(7, 19, 13, .55) 42%, rgba(7, 19, 13, .08) 72%);
}
.hero-shade-top {
  background: linear-gradient(180deg, rgba(7, 19, 13, .35) 0%, transparent 26%);
}

.mosaic { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.mosaic span {
  position: absolute;
  width: 44px;
  height: 44px;
  transition: background .7s linear, transform .7s linear;
}

.hero-content {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 150px 36px 246px;
  pointer-events: none;
}
.hero-copy {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  animation: fadeUp .8s ease-out both;
}

.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--green-bright);
  border-radius: 2px;
}
.eyebrow-text {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-pale);
  text-shadow: 0 1px 6px rgba(7, 19, 13, .5);
}

.hero h1 {
  font-size: clamp(46px, 5.6vw, 80px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--paper);
  text-shadow: 0 2px 24px rgba(7, 19, 13, .35);
}
.hero-copy > p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(252, 253, 252, .85);
  max-width: 520px;
  text-shadow: 0 1px 10px rgba(7, 19, 13, .45);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  pointer-events: auto;
}

.hero-stats {
  position: absolute;
  left: 0;
  bottom: 0;
  background: #FFFFFF;
  border-top-right-radius: 36px;
  padding: 30px 56px 28px max(36px, calc((100vw - 1320px) / 2 + 36px));
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 200px;
}
.stat-value {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.stat-label {
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

/* ---------- Sections communes ---------- */

.section-stack {
  padding-top: 110px;
  padding-bottom: 100px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 680px;
}
.section-head h2 {
  font-size: clamp(34px, 3.6vw, 50px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.025em;
}

/* ---------- Confiance / financement ---------- */

.trust { background: #FFFFFF; }
.trust-inner {
  padding-top: 88px;
  padding-bottom: 88px;
  display: flex;
  flex-direction: column;
  gap: 84px;
}

.trust-bar {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-partners {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  text-align: center;
}
.trust-label {
  font-size: 15px;
  color: var(--muted);
}
.partner-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}
.partner {
  color: #77817A;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
  opacity: .9;
  cursor: default;
  transition: color .25s ease, opacity .25s ease, transform .25s ease, border-color .25s ease;
}
.partner:hover {
  color: var(--ink);
  opacity: 1;
  transform: translateY(-3px);
}
.partner-mono:hover { border-color: var(--ink); }
.partner-serif { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; }
.partner-caps { text-transform: uppercase; font-size: 16px; letter-spacing: .08em; }
.partner-round { letter-spacing: -0.03em; }
.partner-mono {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  border: 2px solid #77817A;
  border-radius: 7px;
  padding: 2px 8px;
}

.trust-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto 250px;
  gap: 30px;
}

.bento-highlight {
  grid-row: 1 / 3;
  position: relative;
  overflow: hidden;
  background: url("../assets/prime-cee-bg.png") right center / cover no-repeat, #2E6B4F;
  border-radius: 24px;
  padding: 30px 32px 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.bento-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}
.bento-logo {
  height: 48px;
  width: auto;
  opacity: .95;
}
.bento-brand-name {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.bento-claim {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bento-claim-intro { font-size: 15.5px; color: rgba(252, 253, 252, .78); }
.bento-claim-value {
  font-size: 62px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--paper);
  text-shadow: 0 2px 16px rgba(7, 19, 13, .25);
}
.bento-claim-note {
  font-size: 22px;
  font-weight: 700;
  color: var(--green-pale);
}

.bento-pitch {
  grid-column: 2 / 4;
  align-self: start;
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--muted);
  padding: 2px 2px 14px;
}
.bento-pitch strong {
  color: var(--ink);
  font-weight: 600;
}

.bento-photo {
  position: relative;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
}
.bento-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bento-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(7, 19, 13, .55));
}
.bento-photo-caption,
.bento-photo-badge {
  position: absolute;
  z-index: 1;
  color: var(--paper);
}
.bento-photo-caption {
  left: 20px;
  bottom: 16px;
  font-size: 13.5px;
  opacity: .9;
}
.bento-photo-badge {
  right: 20px;
  bottom: 14px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: right;
  line-height: 1.25;
}

.bento-green {
  position: relative;
  overflow: hidden;
  background: url("../assets/garantie-bg.png") center / cover no-repeat, #DCEFE3;
  border-radius: 20px;
  padding: 26px 28px 0;
}
.bento-green h3 {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.garantie-num {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #FFFFFF;
  text-shadow: 0 2px 14px rgba(15, 35, 26, .28);
}
.garantie-sub {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 1px 8px rgba(15, 35, 26, .3);
  padding-left: 3px;
}

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

.expertises {
  background: var(--grey-bg);
  border-radius: var(--radius-section);
  margin: 0 8px;
  scroll-margin-top: 90px;
}

.cards { display: grid; gap: 22px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #FFFFFF;
  border: 1px solid rgba(16, 34, 25, .06);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 35, 26, .10);
}
.card-grey {
  background: var(--grey-bg);
  border-color: rgba(16, 34, 25, .05);
}
.card-media { height: 170px; padding: 10px; }
.card-media-tall { height: 200px; }
.card-media > .img-slot { border-radius: 14px; }
.card-body {
  padding: 18px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-grey .card-body { padding: 16px 26px 28px; gap: 8px; }
.card-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--green);
}
.card h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.card-grey h3 { font-size: 18px; }
.card p { font-size: 14px; line-height: 1.6; color: var(--muted); }
.card-grey p { line-height: 1.55; }

/* ---------- CEE ---------- */

.cee {
  position: relative;
  background: var(--night);
  border-radius: var(--radius-section);
  margin: 24px 8px;
  overflow: hidden;
  scroll-margin-top: 90px;
}
.cee-grid {
  position: relative;
  padding-top: 110px;
  padding-bottom: 110px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}
.cee-copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
}
.cee-copy h2 {
  font-size: clamp(34px, 3.6vw, 50px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--paper);
}
.cee-copy > p {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(252, 253, 252, .72);
}
.cee-points {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  width: 100%;
}
.cee-points li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(252, 253, 252, .12);
  font-size: 15.5px;
  line-height: 1.5;
  color: rgba(252, 253, 252, .88);
}
.point-dot {
  width: 7px;
  height: 7px;
  background: var(--green-bright);
  border-radius: 2px;
  flex: none;
  transform: translateY(-1px);
}
.cee-photo {
  height: 540px;
  border-radius: 24px;
}

/* ---------- Secteurs ---------- */

.secteurs { background: #FFFFFF; scroll-margin-top: 90px; }

/* ---------- Témoignages clients (carte du monde) ---------- */

.clients { background: #FFFFFF; }
.clients-inner {
  padding-top: 110px;
  padding-bottom: 110px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.clients-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
}
.clients-head h2 {
  font-size: clamp(34px, 3.8vw, 52px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.clients-head p {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--muted);
}

.clients-board { position: relative; }
.clients-map {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88%;
  pointer-events: none;
  user-select: none;
}

.clients-cards {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 5fr);
  row-gap: 96px;
}
.client-card {
  background: #FFFFFF;
  border: 1px solid rgba(16, 34, 25, .06);
  border-radius: 18px;
  box-shadow: 0 22px 55px rgba(15, 35, 26, .09);
  padding: 30px 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.client-card-1 { grid-column: 1; grid-row: 1; margin-left: 6%; }
.client-card-2 { grid-column: 3; grid-row: 1; margin-top: 34px; margin-right: 2%; }
.client-card-3 { grid-column: 1; grid-row: 2; margin-right: 12%; }
.client-card-4 { grid-column: 2 / 4; grid-row: 2; margin-top: 60px; margin-right: 18%; }

.client-head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.client-head img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.client-id { display: flex; flex-direction: column; gap: 3px; }
.client-name {
  font-size: 17px;
  font-weight: 700;
  color: #232B26;
}
.client-role {
  font-size: 14px;
  color: var(--muted);
}
.client-quote {
  font-size: 15.5px;
  line-height: 1.65;
  color: #4A554E;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(16, 34, 25, .1);
}
.client-location {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--green-dark);
}
.client-location svg {
  width: 21px;
  height: 21px;
  flex: none;
}

/* ---------- Méthode ---------- */

.methode {
  background: var(--grey-bg);
  border-radius: var(--radius-section);
  margin: 0 8px;
  scroll-margin-top: 90px;
}
.step {
  background: #FFFFFF;
  border: 1px solid rgba(16, 34, 25, .06);
  border-radius: 22px;
  padding: 30px 28px 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--night);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 14px;
}
.step h3 { font-size: 19px; font-weight: 700; }
.step p { font-size: 14.5px; line-height: 1.6; color: var(--muted); }

/* ---------- Témoignage ---------- */

.temoignage { background: #FFFFFF; }
.temoignage-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 110px 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  text-align: center;
  align-items: center;
}
.quote-mark {
  font-size: 44px;
  line-height: 0;
  color: var(--green);
  font-weight: 800;
}
.quote {
  font-size: clamp(21px, 2.3vw, 28px);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.quote-author { display: flex; flex-direction: column; gap: 4px; }
.quote-name { font-size: 14.5px; font-weight: 700; }
.quote-note {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Contact ---------- */

.contact {
  position: relative;
  background: var(--night);
  border-radius: var(--radius-section);
  margin: 0 8px 24px;
  overflow: hidden;
  scroll-margin-top: 90px;
}
.contact-grid {
  position: relative;
  padding-top: 110px;
  padding-bottom: 110px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.contact-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.contact-copy h2 {
  font-size: clamp(32px, 3.8vw, 50px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--paper);
}
.contact-copy p {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(252, 253, 252, .72);
  max-width: 460px;
}

.contact-card {
  background: var(--paper);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}

#contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: #3A443E;
}
.form-field .optional { font-weight: 400; color: var(--muted-light); }
.form-field input,
.form-field textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 13px 14px;
  border: 1px solid rgba(16, 34, 25, .18);
  border-radius: 12px;
  background: #FFFFFF;
  color: var(--ink);
  outline: none;
}
.form-field textarea { resize: vertical; }
.form-field input:focus,
.form-field textarea:focus { border-color: var(--green); }
.form-error { font-size: 13px; color: var(--error); }

.btn-submit {
  font-family: inherit;
  background: var(--night);
  color: #FFFFFF;
  font-size: 15.5px;
  font-weight: 700;
  padding: 15px 24px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease;
}
.btn-submit:hover { background: var(--green); }
.form-note {
  font-size: 12.5px;
  color: var(--muted-light);
  text-align: center;
}

.form-success {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  min-height: 300px;
  justify-content: center;
}
.form-success[hidden] { display: none; }
.success-check {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-bright);
  color: var(--night-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
}
.form-success h3 { font-size: 22px; font-weight: 700; }
.form-success p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.link-button {
  margin-top: 8px;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  cursor: pointer;
  text-decoration: underline;
}

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

.site-footer { background: #FFFFFF; color: var(--muted); }
.footer-inner {
  padding-top: 64px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo { align-self: flex-start; display: block; }
.footer-logo img { height: 44px; display: block; }
.footer-logo.logo-fallback .wordmark {
  display: block;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 300px;
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-heading {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
}
.footer-col a { font-size: 14px; color: var(--muted); }
.footer-col a:hover { color: var(--ink); }
.footer-text { font-size: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(16, 34, 25, .1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12.5px;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 12.5px; color: var(--muted-light); }
.footer-legal a:hover { color: var(--ink); }

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

@media (max-width: 1080px) {
  .trust-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
  }
  .bento-pitch { grid-column: 1 / 3; grid-row: 1; }
  .bento-highlight { grid-row: 2 / 4; min-height: 380px; }
  .bento-photo, .bento-green { min-height: 240px; }
  .clients-cards {
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
    row-gap: 48px;
  }
  .client-card-1 { grid-column: 1; margin-left: 0; }
  .client-card-2 { grid-column: 2; margin-right: 0; }
  .client-card-3 { grid-column: 1; margin-right: 0; }
  .client-card-4 { grid-column: 2; margin-top: 34px; margin-right: 0; }
  .clients-map { width: 110%; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .cee-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .cee-photo { height: 380px; }
  .hero-content { padding-bottom: 200px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .header-nav { display: none; }
}

@media (max-width: 640px) {
  .container { padding-left: 24px; padding-right: 24px; }
  .trust-inner { padding-top: 72px; gap: 48px; }
  .trust-bento { grid-template-columns: 1fr; grid-template-rows: none; }
  .bento-pitch { grid-column: auto; grid-row: auto; }
  .bento-highlight { grid-row: auto; min-height: 320px; }
  .partner-logos { gap: 24px; }
  .clients-inner { padding-top: 80px; padding-bottom: 72px; }
  .clients-cards { grid-template-columns: 1fr; row-gap: 24px; }
  .client-card-1, .client-card-2, .client-card-3, .client-card-4 {
    grid-column: 1;
    grid-row: auto;
    margin: 0;
  }
  .clients-head p br { display: none; }
  .partner { font-size: 20px; }
  .partner-caps { font-size: 16px; }
  .header-inner { padding: 0 20px; }
  .cards-4, .cards-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-content { padding: 130px 24px 60px; }
  .hero-stats {
    position: static;
    border-top-right-radius: 0;
    padding: 28px 24px;
    gap: 32px;
  }
  .contact-card { padding: 28px 22px; }
  .section-stack { padding-top: 80px; padding-bottom: 72px; }
  .cee-grid, .contact-grid { padding-top: 80px; padding-bottom: 80px; }
}
