/* =========================================================
   LMCONTS — global.css
   Tokens de marca, reset, tipografia e utilitários.
   EDITAR CORES AQUI (uma vez só, vale pro site inteiro).
   ========================================================= */

:root {
  /* ---- Paleta de marca (NÃO alterar os nomes) ---- */
  --verde-claro: #75d19e;     /* CTAs, destaques, links importantes */
  --verde-medio: #30665b;     /* Cor secundária, texto auxiliar */
  --verde-escuro: #1f4740;    /* Texto principal */
  --verde-profundo: #16302c;  /* Backgrounds escuros, hero */
  --cinza-claro: #ececec;     /* Backgrounds claros, divisores */
  --branco: #ffffff;          /* Texto em fundos escuros */

  /* ---- Derivadas / apoio ---- */
  --verde-claro-12: rgba(117, 209, 158, 0.12);
  --verde-claro-30: rgba(117, 209, 158, 0.30);
  --texto-suave: #4a5b56;
  --texto-mute: #6c7d78;
  --linha: rgba(31, 71, 64, 0.12);

  /* ---- Tipografia ---- */
  --font-base: "DM Sans", "Poppins", "Montserrat", sans-serif;

  /* ---- Espaçamento de seção ---- */
  --sec-pad-y: 112px;     /* desktop */
  --sec-pad-y-mob: 64px;  /* mobile */
  --container: 1200px;
  --container-narrow: 880px;

  /* ---- Sombras e raios ---- */
  --radius-card: 4px;
  --radius-pill: 999px;
  --shadow-cta: 0 8px 24px rgba(117, 209, 158, 0.30);
  --shadow-card: 0 1px 2px rgba(22, 48, 44, 0.04);
  --shadow-card-hover: 0 18px 40px rgba(22, 48, 44, 0.10);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

* { margin: 0; }

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

body {
  font-family: var(--font-base);
  font-weight: 400;
  font-size: 1.0625rem;       /* 17px */
  line-height: 1.65;
  color: var(--verde-escuro);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea,
select { font: inherit; color: inherit; }

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

/* ---------------- Tipografia ---------------- */
h1, h2, h3, h4 {
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--verde-escuro);
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4.5rem); letter-spacing: -0.03em; font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); }

p { color: var(--texto-suave); }

/* ---------------- Layout ---------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--sec-pad-y); }
.section--tight { padding-block: 72px; }

.bg-light    { background: #f6f8f7; }
.bg-cinza    { background: var(--cinza-claro); }
.bg-profundo { background: var(--verde-profundo); color: var(--branco); }
.bg-profundo h1, .bg-profundo h2, .bg-profundo h3 { color: var(--branco); }
.bg-profundo p { color: rgba(255, 255, 255, 0.78); }

/* ---------------- Cabeçalho de seção ---------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--verde-medio);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--verde-claro);
}
.bg-profundo .eyebrow { color: var(--verde-claro); }

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head p { font-size: 1.125rem; margin-top: 14px; }

/* ---------------- Utilitários ---------------- */
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Reveal on scroll (ativado por main.js) */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- Mobile ---------------- */
@media (max-width: 768px) {
  :root { --sec-pad-y: var(--sec-pad-y-mob); }
  body { font-size: 1rem; }
  .container { padding-inline: 20px; }
  .section-head { margin-bottom: 40px; }
}
