/* =========================================================
   ABCARBONO — CSS3 puro
   ========================================================= */

:root {
  --brand-dark: #024424;
  --brand-green: #78ac3d;
  --brand-lime: #c8e59a;
  --brand-lime-soft: #dff0b8;
  --ink: #0f1a12;
  --muted: #4b5b4f;
  --muted-2: #6b7280;
  --muted-3: #9aa3a0;
  --bg-light: #f4f7f2;
  --border: #e3ebe0;
  --border-soft: #c8d8c0;
  --accent-light: #eaf3dc;
  --footer-dark: #031a11;
  --green-2: #22c55e;
  --orange: #f97316;
  --red: #e14b4b;
  --red-strong: #dc2626;
  --whatsapp: #25d366;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Poppins", "Inter", system-ui, sans-serif;
  --radius: 0.75rem;
  --shadow-card: 0 16px 40px -16px rgba(0, 0, 0, 0.45);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

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

body {
  margin: 0;
  background-color: #ffffff;
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
}

section[id] {
  scroll-margin-top: 100px;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--brand-green);
  outline-offset: 2px;
  border-radius: 6px;
}

::selection {
  background: var(--brand-green);
  color: #ffffff;
}

/* ---------- Layout container ---------- */
.container-ab {
  width: 100%;
  margin-inline: auto;
  padding-inline: 1.25rem;
  max-width: 1200px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 30px -24px rgba(2, 68, 36, 0.35);
}

.site-header__inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header__brand {
  display: flex;
  min-width: 0;
  align-items: center;
  flex: 0 0 auto;
}

.site-header__logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(46vw, 320px);
  min-height: 64px;
  overflow: hidden;
}

.site-header__logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
  color: var(--brand-dark);
  font-size: 0.875rem;
  font-weight: 600;
}

.site-nav__link {
  position: relative;
  padding: 0.35rem 0.15rem;
  color: var(--brand-dark);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.site-nav__link:hover {
  color: var(--brand-green);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--brand-green);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.35s var(--ease-out);
}

.site-nav__link:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.site-nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.1rem;
  border-radius: 9999px;
  background: var(--brand-dark);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 20px -10px rgba(2, 68, 36, 0.5);
}

.site-nav__cta:hover {
  background: var(--brand-green);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -10px rgba(120, 172, 61, 0.55);
}

.site-header__mobile-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.95rem;
  border-radius: 9999px;
  background: var(--brand-dark);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s ease, transform 0.2s ease;
}

.site-header__mobile-cta:hover {
  background: var(--brand-green);
}

/* Hamburger */
.site-header__menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.menu-bar {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--brand-dark);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-bar--open:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-bar--open:nth-child(2) { opacity: 0; }
.menu-bar--open:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile menu */
.site-mobile-menu {
  position: fixed;
  inset: 92px 0 auto 0;
  z-index: 35;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 20px 40px -20px rgba(2, 68, 36, 0.25);
  transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s ease;
}

.site-mobile-menu--open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.site-mobile-menu__nav {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.site-mobile-menu__link {
  padding: 0.9rem 0;
  color: var(--brand-dark);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.site-mobile-menu__link:last-child { border-bottom: none; }
.site-mobile-menu__link:hover { color: var(--brand-green); }

.site-mobile-menu__backdrop {
  position: fixed;
  inset: 0;
  z-index: 34;
  background: rgba(2, 68, 36, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.site-mobile-menu__backdrop--open {
  opacity: 1;
  visibility: visible;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  color: #ffffff;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
}

.hero__video {
  position: absolute;
  inset: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: rgba(2, 68, 36, 0.55);
}

.hero__ambient {
  position: absolute;
  inset: 0;
  z-index: 25;
  pointer-events: none;
  background:
    radial-gradient(circle at 25% 60%, rgba(120, 172, 61, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 75% 30%, rgba(2, 68, 36, 0.28) 0%, transparent 50%);
  animation: ambientShift 18s ease-in-out infinite alternate;
}

.hero__inner {
  position: relative;
  z-index: 30;
  display: flex;
  min-height: 92vh;
  align-items: center;
  padding-top: 4rem;
  padding-bottom: 6rem;
}

.hero__grid {
  display: grid;
  width: 100%;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 10rem;
}

.hero__copy {
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(200, 229, 154, 0.6);
  background: rgba(2, 68, 36, 0.7);
  padding: 0.375rem 0.75rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-lime);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.hero__badge-dot {
  position: relative;
  display: flex;
  width: 0.5rem;
  height: 0.5rem;
}

.hero__badge-dot::before,
.hero__badge-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: var(--brand-lime);
}

.hero__badge-dot::before {
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.hero__title {
  margin-top: 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 6px 36px rgba(0, 0, 0, 0.6), 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero__title .accent {
  color: var(--brand-lime);
}

.hero__card {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  border-radius: 1rem;
  border: 1px solid rgba(200, 229, 154, 0.4);
  background: rgba(2, 68, 36, 0.8);
  padding: 0.75rem;
  box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.hero__card-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.hero__card-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: rgba(200, 229, 154, 0.2);
  color: var(--brand-lime);
}

.hero__card-icon svg {
  width: 1rem;
  height: 1rem;
}

.hero__card-text {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.35;
  color: #ffffff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero__card-text .accent {
  font-weight: 800;
  color: var(--brand-lime);
  text-shadow: 0 0 12px rgba(200, 229, 154, 0.8);
}

.btn-pulse {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.625rem;
  border-radius: 0.75rem;
  background: var(--brand-lime);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--brand-dark);
  white-space: nowrap;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  animation: pulseGlow 2.2s ease-in-out infinite;
}

.btn-pulse svg {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
}

.btn-pulse:hover {
  background: var(--brand-lime-soft);
  box-shadow: 0 0 32px rgba(120, 172, 61, 0.7);
}

.btn-pulse:active {
  transform: scale(0.98);
}

/* ---------- Hero dashboard ---------- */
.hero-dash {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.375rem;
  margin-inline: auto;
  width: 100%;
  max-width: 36rem;
}

.dash-card {
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.5rem;
  box-shadow: var(--shadow-card);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.dash-card--wide { grid-column: span 2; }

.dash-label {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dash-label--red { color: var(--red); }
.dash-label--green { color: var(--brand-green); }
.dash-label--dark { color: rgba(15, 26, 18, 0.7); }
.dash-label--orange { color: var(--orange); }

.dash-label .unit { color: var(--muted-2); }

.dash-value {
  margin-top: 0.125rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
}

.dash-sub {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--muted);
}

.dash-sub--green {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--brand-green);
}

.dash-sub--green svg { width: 0.625rem; height: 0.625rem; fill: var(--brand-green); }

.dash-note {
  font-size: 0.55rem;
  color: var(--muted-3);
}

.dash-chart {
  width: 100%;
  height: 2.5rem;
  margin-top: 0.25rem;
}

.dash-value--green { color: var(--brand-green); }

.dash-legend {
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--muted);
}

.dash-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.dash-legend .swatch {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 2px;
}

.swatch--green { background: var(--brand-green); }
.swatch--green2 { background: var(--green-2); }

.dash-stock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.dash-bars {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.125rem;
}

.dash-bars span {
  display: block;
  width: calc(var(--ratio) * 50px);
  height: 0.125rem;
  border-radius: 9999px;
  background: #2f6b1f;
  opacity: 0;
  animation: barIn 0.5s ease-out forwards;
}

/* ---------- Marquee ---------- */
.marquee-fade {
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-light);
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  overflow: hidden;
}

.marquee-fade::before,
.marquee-fade::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4rem;
  z-index: 10;
  pointer-events: none;
}

.marquee-fade::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-light), transparent);
}

.marquee-fade::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-light), transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 3.5rem;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(2, 68, 36, 0.8);
  animation: marquee 40s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.marquee-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--brand-green);
}

/* ---------- Section utilities ---------- */
.section { padding-top: 6rem; padding-bottom: 6rem; }
.section--light { background: var(--bg-light); }
.section--dark { background: var(--footer-dark); }
.section--image {
  position: relative;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  color: #ffffff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  background: var(--accent-light);
  color: var(--brand-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: var(--brand-green);
}

.eyebrow--on-dark {
  background: rgba(200, 229, 154, 0.15);
  color: var(--brand-lime);
}

.eyebrow--on-dark::before { background: var(--brand-lime); }

.h2 {
  margin-top: 0.75rem;
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--brand-dark);
}

.lead { color: var(--muted); }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s var(--ease-out);
  will-change: opacity, transform;
}

.reveal.reveal-left { transform: translateX(-28px); }
.reveal.reveal-right { transform: translateX(28px); }
.reveal.is-visible { opacity: 1; transform: translate(0, 0); }

/* ---------- Quem somos ---------- */
.about-grid {
  display: grid;
  gap: 4rem;
}

.about-figure { position: relative; }
.about-figure--right { order: 2; }

.about-img {
  width: 100%;
  border-radius: 2rem;
  object-fit: cover;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-height: 620px;
}

.about-badge {
  position: absolute;
  bottom: -2rem;
  right: -1rem;
  max-width: 20rem;
  border-radius: 1rem;
  background: #ffffff;
  padding: 1.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border);
}

.about-badge__num {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.about-badge__text {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.about-values {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.25rem;
}

.value-block {
  border-left: 2px solid var(--brand-green);
  padding-left: 1rem;
}

.value-block__title {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-dark);
}

.value-block__desc {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- Solutions ---------- */
.solutions-head {
  display: grid;
  gap: 2rem;
}

.solutions-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.25rem;
}

.solution-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: #ffffff;
  will-change: transform;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out),
    border-color 0.35s ease;
}

.solution-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-green);
  box-shadow: 0 24px 48px -24px rgba(2, 68, 36, 0.35);
}

.solution-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.solution-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease-out;
}

.solution-card:hover .solution-card__img { transform: scale(1.06); }

.solution-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 68, 36, 0.7), rgba(2, 68, 36, 0.1) 40%, transparent);
}

.solution-card__title {
  position: absolute;
  bottom: 0.75rem;
  left: 1rem;
  right: 1rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.solution-card__desc {
  padding: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- Sustainability pillars ---------- */
.pillars-head {
  display: grid;
  gap: 1.5rem;
}

.pillars-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.5rem;
}

.pillar-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  aspect-ratio: 3 / 4;
}

.pillar-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.pillar-card:hover .pillar-card__img { transform: scale(1.1); }

.pillar-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #031a11, rgba(3, 26, 17, 0.4) 45%, transparent);
}

.pillar-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.75rem;
  color: #ffffff;
}

.pillar-card__kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brand-lime);
}

.pillar-card__title {
  margin-top: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
}

.pillar-card__list {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

.pillar-card__list li {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.375rem;
}

.pillar-card__list li::before {
  content: "—";
  color: var(--brand-green);
}

/* ---------- Impact (image band) ---------- */
.impact-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 68, 36, 0.8);
}

.impact-inner { position: relative; }

.impact-stats {
  margin-top: 3.5rem;
  display: grid;
  gap: 2rem;
}

.stat {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 1.5rem;
}

.stat__num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--brand-lime);
}

.stat__label {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Process ---------- */
.process-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.5rem;
}

.process-card {
  position: relative;
  border-radius: 1rem;
  background: #ffffff;
  padding: 2rem;
  border: 1px solid var(--border);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out),
    border-color 0.35s ease;
}

.process-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-green);
  box-shadow: 0 24px 48px -24px rgba(2, 68, 36, 0.35);
}

.process-card__head {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.process-card__num {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--brand-green);
}

.process-card__line {
  height: 1px;
  flex: 1;
  background: var(--border);
}

.process-card__title {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--brand-dark);
}

.process-card__desc {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  gap: 3.5rem;
}

.faq-img {
  margin-top: 2rem;
  width: 100%;
  border-radius: 1.5rem;
  object-fit: cover;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  max-height: 420px;
}

.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }

.faq-item {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: #ffffff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item--open {
  border-color: var(--brand-green);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.faq-item__btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  border: none;
  background: transparent;
  cursor: pointer;
}

.faq-item__q {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-dark);
}

.faq-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: var(--accent-light);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--brand-dark);
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.faq-item--open .faq-item__icon {
  transform: rotate(45deg);
  background: var(--brand-green);
  color: #ffffff;
}

.faq-item__answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  font-size: 0.875rem;
  color: var(--muted);
  transition: grid-template-rows 0.5s ease, opacity 0.5s ease;
}

.faq-item--open .faq-item__answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-item__answer-inner {
  overflow: hidden;
}

.faq-item__answer-inner p {
  padding-bottom: 1.25rem;
  line-height: 1.6;
}

/* ---------- Contact ---------- */
.contact-overlay {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
}

.contact-veil {
  position: absolute;
  inset: 0;
  background: rgba(2, 68, 36, 0.9);
}

.contact-grid {
  position: relative;
  display: grid;
  gap: 3.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2.5rem;
  font-size: 0.875rem;
}

.contact-info__row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info__icon {
  margin-top: 0.125rem;
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--brand-lime);
}

.contact-info__label {
  font-weight: 600;
  color: #ffffff;
}

.contact-info__value {
  color: rgba(255, 255, 255, 0.75);
}

.contact-info__value a:hover { color: #ffffff; }

.contact-form {
  border-radius: 1.5rem;
  background: #ffffff;
  padding: 1.75rem;
  color: var(--ink);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.contact-form__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.contact-form__subtitle {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.form-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  gap: 1.25rem;
}

.field-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin-bottom: 0.4rem;
}

.input-field {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: #ffffff;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.input-field:hover { border-color: var(--border-soft); }

.input-field:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(120, 172, 61, 0.15);
}

.input-field.input-error {
  border-color: var(--red-strong);
  background-color: #fef2f2;
}

.input-field.input-error:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

textarea.input-field { resize: vertical; }

select.input-field { appearance: none; }

.form-error {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--red-strong);
}

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

.form-submit-error {
  margin-top: -0.5rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--red-strong);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background-color 0.25s ease,
    color 0.25s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  font-family: inherit;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--brand-dark);
  color: #ffffff;
  box-shadow: 0 10px 24px -12px rgba(2, 68, 36, 0.6);
}

.btn-primary:hover {
  background: var(--brand-green);
  box-shadow: 0 14px 28px -10px rgba(120, 172, 61, 0.55);
}

.btn--block { width: 100%; padding-top: 1rem; padding-bottom: 1rem; }

.form-spinner {
  width: 1rem;
  height: 1rem;
  animation: spin 1s linear infinite;
}

.form-legal-note {
  font-size: 0.75rem;
  color: var(--muted);
}

.form-legal-note a {
  font-weight: 600;
  color: var(--brand-dark);
  text-decoration: underline;
  text-decoration-color: var(--brand-green);
  text-underline-offset: 2px;
}

.form-legal-note a:hover { color: var(--brand-green); }

.form-success {
  padding-top: 3rem;
  padding-bottom: 3rem;
  text-align: center;
}

.form-success__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background: var(--accent-light);
  color: var(--brand-dark);
}

.form-success__icon svg { width: 2rem; height: 2rem; }

.form-success__title {
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-dark);
}

.form-success__text {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.form-success__reset {
  margin-top: 1.5rem;
  border: none;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-green);
  cursor: pointer;
  transition: color 0.2s ease;
}

.form-success__reset:hover { color: var(--brand-dark); }

/* ---------- Footer ---------- */
.footer {
  background: var(--footer-dark);
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
}

.footer__logo {
  height: 3rem;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer__about {
  margin-top: 1.25rem;
  max-width: 24rem;
  line-height: 1.6;
}

.footer__legal {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__heading {
  font-weight: 700;
  color: #ffffff;
}

.footer__list { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }

.footer__list a { transition: color 0.2s ease; }
.footer__list a:hover { color: var(--brand-green); }

.footer__bottom {
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.5rem;
}

.footer__bottom a { transition: color 0.2s ease; }
.footer__bottom a:hover { color: var(--brand-green); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1.25rem;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: #ffffff;
  color: var(--brand-dark);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px -8px rgba(2, 68, 36, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease,
    background-color 0.25s ease, color 0.25s ease;
  cursor: pointer;
}

.back-to-top svg { width: 1.25rem; height: 1.25rem; }

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--brand-dark);
  color: #ffffff;
  border-color: var(--brand-dark);
}

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: var(--whatsapp);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.whatsapp-float svg { width: 2rem; height: 2rem; }

.whatsapp-float:hover { transform: scale(1.1); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: var(--brand-dark);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  left: 1rem;
  outline: 2px solid var(--brand-green);
  outline-offset: 2px;
}

/* ---------- Legal pages ---------- */
.legal-hero {
  background: var(--bg-light);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.legal-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brand-green);
}

.legal-title {
  margin-top: 0.75rem;
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--brand-dark);
}

.legal-intro {
  margin-top: 1.25rem;
  max-width: 42rem;
  color: var(--muted);
}

.legal-body {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.legal-article {
  max-width: 48rem;
}

.legal-block { margin-bottom: 2.5rem; }
.legal-block:last-child { margin-bottom: 0; }

.legal-block__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.legal-block__content {
  margin-top: 1rem;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.legal-block__content p { margin-top: 0.75rem; }
.legal-block__content p:first-child { margin-top: 0; }

.legal-block__content ul {
  margin-top: 0.75rem;
  list-style: disc;
  padding-left: 1.5rem;
}

.legal-block__content ul li { margin-top: 0.375rem; }

.legal-block__content a {
  font-weight: 600;
  color: var(--brand-dark);
}

.legal-block__content a:hover { color: var(--brand-green); }

.legal-block__content strong { color: var(--brand-dark); }

/* ---------- Keyframes ---------- */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes candleRise {
  0% { transform: scaleY(0); opacity: 0; }
  60% { opacity: 1; }
  100% { transform: scaleY(1); opacity: 1; }
}

@keyframes barIn {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(200, 229, 154, 0.55), 0 0 20px rgba(120, 172, 61, 0.35);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(200, 229, 154, 0), 0 0 32px rgba(120, 172, 61, 0.55);
    transform: scale(1.02);
  }
}

@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

@keyframes ambientShift {
  0% { opacity: 0.8; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.08); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .hero__title { font-size: 1.5rem; }
  .hero__grid { gap: 2.5rem; }
  .hero__inner { padding-top: 6rem; }
  .hero__badge { padding: 0.5rem 1rem; font-size: 0.75rem; }
  .hero__badge-dot { width: 0.625rem; height: 0.625rem; }
  .hero__card { padding: 1.25rem 1.5rem; gap: 1rem; }
  .hero__card-icon { width: 2.5rem; height: 2.5rem; }
  .hero__card-icon svg { width: 1.25rem; height: 1.25rem; }
  .hero__card-text { font-size: 0.875rem; }
  .btn-pulse { padding: 1rem 1.25rem; font-size: 1rem; gap: 0.75rem; }
  .btn-pulse svg { width: 1.5rem; height: 1.5rem; }
  .dash-card { padding: 0.75rem; }
  .dash-label { font-size: 0.55rem; }
  .dash-value { font-size: 1.125rem; }
  .dash-chart { height: 3.5rem; }
  .dash-bars span { height: 0.25rem; }
  .dash-note { font-size: 0.6rem; }
  .dash-bars span { width: calc(var(--ratio) * 70px); }
  .about-values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pillars-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .impact-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .solutions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat__num { font-size: 3rem; }
  .h2 { font-size: 3rem; }
  .legal-title { font-size: 3rem; }
  .legal-hero { padding-top: 6rem; padding-bottom: 6rem; }
  .legal-body { padding-top: 6rem; padding-bottom: 6rem; }
  .contact-form { padding: 2.5rem; }
}

@media (max-width: 640px) {
  section[id] { scroll-margin-top: 84px; }
  .site-header__inner { min-height: 76px; }
  .site-header__logo-card { width: min(52vw, 230px); min-height: 52px; }
  .site-header__logo { max-height: 46px; }
  .site-mobile-menu { inset: 76px 0 auto 0; }
  .about-badge { display: none; }
  .faq-img { display: none; }
}

@media (min-width: 768px) {
  .hero__inner { padding-bottom: 0; }
  .hero__grid { margin-bottom: 0; gap: 2.5rem; }
  .about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
  .about-figure--right { order: 1; }
  .about-copy--left { order: 2; }
  .pillars-head { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
  .faq-grid { grid-template-columns: 1fr 1.2fr; }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer__about-col { grid-column: span 2; }
  .footer__bottom { flex-direction: row; }
  .dash-value { font-size: 1.5rem; }
  .dash-chart { height: 5rem; }
  .dash-label { font-size: 0.6rem; }
}

@media (min-width: 1024px) {
  .site-nav { display: flex; }
  .site-header__menu-btn { display: none; }
  .site-mobile-menu { display: none; }
  .site-header__mobile-cta { display: none; }
  .solutions-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem; }
  .hero__copy { grid-column: span 6; text-align: left; }
  .hero__dash { grid-column: span 6; }
  .hero__title { font-size: 2.25rem; }
  .hero__card { flex-direction: row; align-items: center; justify-content: space-between; }
  .btn-pulse { width: auto; }
  .solutions-head { grid-template-columns: 1fr auto; align-items: end; }
  .solutions-head__aside { text-align: right; }
  .faq-list { gap: 0.75rem; }
}

@media (max-width: 1023px) {
  .site-nav__cta { display: none; }
}

@media (min-width: 1280px) {
  .hero__title { font-size: 2.25rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .btn-pulse { animation: none; }
  .reveal,
  .reveal.reveal-left,
  .reveal.reveal-right { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .hero__ambient { animation: none; }
  .hero__badge-dot::before { animation: none; }
  .back-to-top { transition: none; }
  .form-spinner { animation: none; }
  html { scroll-behavior: auto; }
}
