/* =============================================================
   Organiza Agro — Em breve
   Camada global: reset, tokens de design e tipografia.
   Nenhuma regra de componente entra neste arquivo.
   ============================================================= */

/* ---------- Reset ---------- */

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

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

body {
  margin: 0;
  overflow-wrap: break-word;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

hr {
  border: 0;
  margin: 0;
}

/* ---------- Tokens de design (Figma: Brand / Neutral) ---------- */

:root {
  /* Cores */
  --color-brand-primary: #16c64f;
  --color-brand-secondary: #008440;
  --color-brand-secondary-shade-1: #2f473f;
  --color-neutral-white: #fffffa;
  --color-neutral-black: #040404;
  --color-gray-100: #fbf7ea;
  --color-gray-200: #d2d4c8;
  --color-gray-300: #a9b1a6;
  --color-gray-400: #81897e;
  --color-gray-500: #1e1e1e;

  /* Tipografia */
  --font-primary: 'DM Sans', system-ui, sans-serif;
  --fs-display: 65px;
  --fs-xxl: 24px;
  --fs-lg: 18px;
  --fs-sm: 14px;
  --fs-xs: 12px;
  --lh-tight: 1;
  --lh-base: 1.4;
  --ls-display: -3.9px;
  --ls-lg: -0.18px;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Espaçamento */
  --space-2xs: 8px;
  --space-xs: 12px;
  --space-sm: 16px;
  --space-ms: 20px;
  --space-md: 32px;
  --space-lg: 40px;
  --space-xl: 56px;
  --space-2xl: 80px;
  --space-hero-gap: 227px;

  /* Layout */
  --container-max: 1120px;
  --container-gutter: 16px;
  --divider-max: 1207px;
  --header-height: 80px;
  --hero-min-height: 600px;
  --radius-box: 16px;
  --radius-pill: 999px;
  --radius-hero: 80px;
}

/* ---------- Tipografia ----------
   Todas as regras de font-size, font-weight, line-height e
   letter-spacing do site vivem aqui. Componentes só aplicam cor. */

body {
  background-color: var(--color-neutral-white);
  color: var(--color-neutral-black);
  font-family: var(--font-primary);
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  line-height: var(--lh-base);
}

h1 {
  font-size: var(--fs-display);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-display);
  line-height: var(--lh-tight);
}

h2 {
  font-size: var(--fs-xxl);
  font-weight: var(--fw-bold);
  line-height: var(--lh-base);
}

p {
  font-size: var(--fs-sm);
  line-height: var(--lh-base);
}

.hero-lead {
  font-size: var(--fs-lg);
  letter-spacing: var(--ls-lg);
}

.button-label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
}

.site-footer-copyright {
  font-size: var(--fs-xs);
  font-weight: var(--fw-light);
}

.site-footer-copyright-brand {
  font-weight: var(--fw-bold);
  text-decoration: underline;
  text-underline-position: from-font;
}

/* ---------- Foco visível ---------- */

:focus-visible {
  outline: 2px solid var(--color-brand-primary);
  outline-offset: 3px;
}
