/*!
  AgriJr Soluções em Agronomia — Design System
  CSS puro, sem dependências externas, mobile-first.
*/

/* ===================== 1. FONTS ===================== */
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-variable.woff2") format("woff2-variations"),
       url("/assets/fonts/manrope-variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ===================== 2. TOKENS ===================== */
:root {
  /* Brand colors (extraídas da identidade visual oficial da AgriJr) */
  --green-50:  #eef7ee;
  --green-100: #d8ecd9;
  --green-300: #93c69a;
  --green-500: #5ea869; /* verde da folha do logo */
  --green-600: #47915a;
  --green-700: #357048;
  --green-800: #244d32;
  --green-900: #132b1c;
  --green-950: #0b1a11;

  --blue-400: #7bb3e0;
  --blue-500: #589cd4; /* azul do logo */
  --blue-600: #3d7fb8;
  --blue-700: #2f6394;

  --gold-400: #f0c669;
  --gold-500: #e3a93b; /* dourado colheita — acento de impacto */
  --gold-600: #c78a20;

  --gray-050: #faf9f6;
  --gray-100: #f2f0ea;
  --gray-200: #e6e3da;
  --gray-300: #d2cec1;
  --gray-400: #a9a49a;
  --gray-500: #7b797b; /* cinza do logo */
  --gray-600: #605e5f;
  --gray-700: #46453f;
  --gray-800: #2c2b27;

  --ink: #16211a;          /* texto principal, verde-preto premium */
  --paper: #fdfcf9;        /* fundo base, branco quente */
  --paper-alt: #f4f2ea;    /* fundo alternado das seções */

  --c-primary: var(--green-600);
  --c-primary-ink: var(--green-800);
  --c-secondary: var(--blue-600);
  --c-accent: var(--gold-500);

  /* Tipografia fluida */
  --font-base: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-xs:   clamp(0.76rem, 0.74rem + 0.1vw, 0.82rem);
  --fs-sm:   clamp(0.86rem, 0.83rem + 0.15vw, 0.94rem);
  --fs-base: clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  --fs-md:   clamp(1.15rem, 1.08rem + 0.35vw, 1.32rem);
  --fs-lg:   clamp(1.35rem, 1.22rem + 0.6vw, 1.7rem);
  --fs-xl:   clamp(1.7rem, 1.45rem + 1.2vw, 2.3rem);
  --fs-2xl:  clamp(2.1rem, 1.7rem + 1.9vw, 3.1rem);
  --fs-3xl:  clamp(2.2rem, 1.7rem + 2.2vw, 3.4rem);
  --fs-4xl:  clamp(2.4rem, 1.7rem + 2.6vw, 4.2rem);

  --lh-tight: 1.08;
  --lh-snug: 1.25;
  --lh-normal: 1.55;
  --lh-relaxed: 1.75;

  /* Espaçamento */
  --space-2xs: 0.4rem;
  --space-xs: 0.7rem;
  --space-sm: 1.1rem;
  --space-md: 1.8rem;
  --space-lg: 2.8rem;
  --space-xl: 4.5rem;
  --space-2xl: 7rem;
  --space-3xl: 10rem;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 999px;

  --container: 1240px;
  --container-narrow: 820px;
  --container-wide: 1400px;

  --shadow-sm: 0 2px 10px rgba(19, 30, 20, 0.06);
  --shadow-md: 0 10px 30px -8px rgba(19, 30, 20, 0.16);
  --shadow-lg: 0 24px 60px -16px rgba(19, 30, 20, 0.28);
  --shadow-glow: 0 0 0 1px rgba(255,255,255,0.08), 0 20px 50px -12px rgba(11, 26, 17, 0.55);

  --ease: cubic-bezier(.22,.9,.32,1);
  --dur: .5s;

  color-scheme: light;
}

/* ===================== 3. RESET ===================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
body {
  font-family: var(--font-base);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4, h5 { font-weight: 800; line-height: var(--lh-tight); letter-spacing: -0.02em; text-wrap: balance; }
p { text-wrap: pretty; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }

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

.skip-link {
  position: absolute; left: 1rem; top: -60px; background: var(--green-800); color: #fff;
  padding: .8rem 1.2rem; border-radius: var(--radius-sm); z-index: 200; transition: top .25s var(--ease);
  font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* ===================== 4. LAYOUT ===================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--space-md); }
.container-narrow { width: 100%; max-width: var(--container-narrow); margin-inline: auto; padding-inline: var(--space-md); }
.container-wide { width: 100%; max-width: var(--container-wide); margin-inline: auto; padding-inline: var(--space-md); }

.section { padding-block: var(--space-2xl); position: relative; }
.section--sm { padding-block: var(--space-xl); }
.section--alt { background: var(--paper-alt); }
.section--dark {
  background: radial-gradient(120% 140% at 15% -10%, var(--green-700) 0%, var(--green-900) 55%, var(--green-950) 100%);
  color: #eef3ec;
}
.section--dark .eyebrow { color: var(--gold-400); }

.grid { display: grid; gap: var(--space-md); }
.grid > *, .split > *, .hero-inner > *, .footer-grid > *, .with-toc > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.flow > * + * { margin-top: var(--space-md); }

/* ===================== 5. TYPOGRAPHY HELPERS ===================== */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-700);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

h1, .h1 { font-size: var(--fs-4xl); }
h2, .h2 { font-size: var(--fs-2xl); }
h3, .h3 { font-size: var(--fs-lg); }
h4, .h4 { font-size: var(--fs-md); }

.lede { font-size: var(--fs-md); line-height: var(--lh-relaxed); color: var(--gray-700); }
.section--dark .lede { color: #cfe0d3; }

.text-muted { color: var(--gray-600); }
.text-accent { color: var(--c-accent); }
.text-center { text-align: center; }
.max-prose { max-width: 68ch; }
.mx-auto { margin-inline: auto; }

/* ===================== 6. BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.7rem; border-radius: var(--radius-full); font-weight: 700; font-size: var(--fs-sm);
  border: 1.5px solid transparent; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: linear-gradient(135deg, var(--green-500), var(--green-700)); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { box-shadow: 0 16px 34px -10px rgba(53,112,72,.55); }

.btn--gold { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: var(--green-950); box-shadow: 0 12px 30px -10px rgba(227,169,59,.6); }

.btn--ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.6); }

.btn--outline { background: transparent; color: var(--green-700); border-color: var(--green-300); }
.btn--outline:hover { background: var(--green-50); border-color: var(--green-500); }

.btn--sm { padding: .6rem 1.15rem; font-size: var(--fs-xs); }
.btn--block { width: 100%; }

/* ===================== 7. HEADER / NAV ===================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 252, 249, 0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(22,33,26,0.07);
  transition: box-shadow .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(19,30,20,.18); }

.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding-block: .85rem; }

.brand { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.brand img { height: 38px; width: auto; }
.brand-text { display: none; }

.nav-primary { display: flex; align-items: center; gap: var(--space-lg); }
.nav-links { display: flex; align-items: center; gap: var(--space-md); font-weight: 700; font-size: var(--fs-sm); }
.nav-links > li { position: relative; }
.nav-links a { padding: .5rem .1rem; position: relative; color: var(--green-900); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--gold-500);
  transition: right .3s var(--ease); border-radius: 2px;
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-links a[aria-current="page"] { color: var(--green-700); }

.has-dropdown { display: flex; align-items: center; gap: .3rem; }
.dropdown { position: relative; }
.dropdown-panel {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  width: 340px; padding-top: 14px; /* zona invisível que liga o gatilho ao painel, mantendo o :hover */
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.dropdown:hover .dropdown-panel, .dropdown:focus-within .dropdown-panel {
  opacity: 1; visibility: visible;
}
.dropdown-panel-inner {
  background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  padding: .6rem; border: 1px solid var(--gray-200);
  transform: translateY(6px); transition: transform .25s var(--ease);
}
.dropdown:hover .dropdown-panel-inner, .dropdown:focus-within .dropdown-panel-inner {
  transform: translateY(0);
}
.dropdown-panel a { display: flex; align-items: center; gap: .8rem; padding: .7rem .8rem; border-radius: var(--radius-sm); font-weight: 700; color: var(--ink); }
.dropdown-panel a:hover { background: var(--green-50); color: var(--green-700); }
.dropdown-panel a::after { display: none; }
.dropdown-panel .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; flex-shrink: 0; }
.dropdown-panel .ic svg { width: 18px; height: 18px; }
.dropdown-panel .all-services { display: flex; justify-content: center; margin-top: .3rem; padding-top: .6rem; border-top: 1px solid var(--gray-200); font-size: var(--fs-xs); color: var(--green-700); }

.nav-cta { display: flex; align-items: center; gap: .8rem; }
.nav-toggle { display: none; position: relative; z-index: 110; background: none; border: none; padding: .4rem; color: var(--green-900); }
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .ic-close { display: none; }
.nav-toggle.is-active .ic-menu { display: none; }
.nav-toggle.is-active .ic-close { display: block; }

@media (max-width: 940px) {
  .brand-text { display: none; }
  .nav-primary {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); height: 100dvh; z-index: 105;
    background: var(--paper); flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 5.5rem var(--space-md) var(--space-md); gap: var(--space-lg);
    transform: translateX(100%); transition: transform .4s var(--ease); box-shadow: var(--shadow-lg);
    overflow-y: auto;
  }
  .nav-primary.is-open { transform: translateX(0); }
  .nav-links { flex-direction: column; align-items: flex-start; gap: var(--space-sm); font-size: var(--fs-md); width: 100%; }
  .nav-links a::after { display: none; }
  .dropdown-panel { position: static; opacity: 1; visibility: visible; width: 100%; padding-top: 0; display: none; }
  .dropdown-panel-inner { background: none; box-shadow: none; border: none; padding: .5rem 0 0 .5rem; transform: none; }
  .dropdown.is-open .dropdown-panel { display: block; }
  .nav-cta { flex-direction: column; align-items: stretch; width: 100%; }
  .nav-toggle { display: inline-flex; }
}

.backdrop { position: fixed; inset: 0; background: rgba(11,26,17,.45); opacity: 0; visibility: hidden; transition: opacity .35s ease; z-index: 90; }
.backdrop.is-visible { opacity: 1; visibility: visible; }

/* ===================== 8. HERO ===================== */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(160deg, var(--green-800) 0%, var(--green-900) 48%, var(--green-950) 100%);
  padding-block: var(--space-3xl) var(--space-2xl);
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35; pointer-events: none;
}
.hero::before { width: 480px; height: 480px; background: var(--green-500); top: -160px; right: -120px; }
.hero::after { width: 380px; height: 380px; background: var(--blue-500); bottom: -160px; left: -80px; opacity: .22; }

.hero-grain { position: absolute; inset: 0; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--space-xl); align-items: center; }
.hero--simple .hero-inner { grid-template-columns: 1fr; text-align: center; max-width: 900px; margin-inline: auto; }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; text-align: left; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border-radius: var(--radius-full);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); font-size: var(--fs-xs); font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; color: var(--gold-400); backdrop-filter: blur(8px);
}
.hero-badge svg { width: 15px; height: 15px; }

.hero h1 { margin-top: var(--space-sm); }
.hero .lede { color: #cfe0d3; margin-top: var(--space-sm); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: var(--space-lg); }
.hero--simple .hero-cta { justify-content: center; }

.hero-stats { display: grid; grid-template-columns: repeat(2, minmax(auto, 160px)); gap: 1.6rem 2.6rem; margin-top: var(--space-xl); }
.hero-stats strong { display: block; font-size: var(--fs-xl); font-weight: 800; color: #fff; }
.hero-stats span { font-size: var(--fs-xs); color: #a9c4ad; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }

.hero-visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-glow); aspect-ratio: 4/5; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(11,26,17,0) 45%, rgba(11,26,17,.65) 100%); }
.hero-visual-card {
  position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.2rem; z-index: 2; background: rgba(253,252,249,.94);
  color: var(--ink); border-radius: var(--radius-md); padding: 1rem 1.2rem; display: flex; gap: .8rem; align-items: center;
  box-shadow: var(--shadow-md); backdrop-filter: blur(6px);
}
.hero-visual-card .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; flex-shrink: 0; }
.hero-visual-card .ic svg { width: 22px; height: 22px; }
.hero-visual-card strong { display: block; font-size: var(--fs-sm); }
.hero-visual-card span { font-size: var(--fs-xs); color: var(--gray-600); }

.page-hero {
  position: relative; color: #fff; padding-block: calc(var(--space-2xl) + 1rem) var(--space-xl);
  background: linear-gradient(160deg, var(--green-800), var(--green-950) 85%);
  overflow: hidden;
}
.page-hero::before { content:""; position:absolute; width: 420px; height: 420px; border-radius: 50%; background: var(--green-500); opacity: .28; filter: blur(70px); top: -180px; right: -100px; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero .lede { color: #cfe0d3; max-width: 62ch; }

/* ===================== 9. BREADCRUMBS ===================== */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: var(--fs-xs); font-weight: 700; margin-bottom: var(--space-sm); color: #b9d0bd; }
.breadcrumbs a { color: #b9d0bd; opacity: .9; }
.breadcrumbs a:hover { color: var(--gold-400); }
.breadcrumbs .sep { opacity: .5; }
.breadcrumbs [aria-current="page"] { color: #fff; opacity: 1; }
.breadcrumbs--light { color: var(--gray-600); }
.breadcrumbs--light a { color: var(--gray-600); }
.breadcrumbs--light a:hover { color: var(--green-700); }
.breadcrumbs--light [aria-current="page"] { color: var(--ink); }

/* ===================== 10. CARDS ===================== */
.card {
  background: #fff; border-radius: var(--radius-md); padding: var(--space-md); border: 1px solid var(--gray-200);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }

.service-card { display: flex; flex-direction: column; gap: var(--space-sm); height: 100%; }
.service-card .ic { width: 54px; height: 54px; border-radius: 14px; background: linear-gradient(135deg, var(--green-100), var(--green-50)); color: var(--green-700); display: grid; place-items: center; }
.service-card .ic svg { width: 28px; height: 28px; }
.service-card h3 { font-size: var(--fs-md); }
.service-card p { color: var(--gray-600); font-size: var(--fs-sm); }
.service-card .card-link { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; font-size: var(--fs-xs); color: var(--green-700); text-transform: uppercase; letter-spacing: .04em; }
.service-card .card-link svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.service-card:hover .card-link svg { transform: translateX(4px); }

.value-card { text-align: left; }
.value-card .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--green-800); color: var(--gold-400); display: grid; place-items: center; margin-bottom: var(--space-sm); }
.value-card .ic svg { width: 24px; height: 24px; }

.stat-card { text-align: center; padding: var(--space-lg) var(--space-md); }
.stat-card strong { display: block; font-size: var(--fs-3xl); font-weight: 800; background: linear-gradient(135deg, var(--green-600), var(--blue-600)); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.stat-card span { display: block; margin-top: .6rem; font-weight: 700; font-size: var(--fs-sm); color: var(--gray-600); }

.quote-card { position: relative; background: var(--green-900); color: #fff; padding: var(--space-lg); border-radius: var(--radius-lg); }
.quote-card .ic { color: var(--gold-400); width: 40px; height: 40px; margin-bottom: var(--space-sm); }
.quote-card p { font-size: var(--fs-md); line-height: var(--lh-relaxed); }
.quote-card footer { margin-top: var(--space-md); font-size: var(--fs-sm); color: #a9c4ad; font-weight: 700; }

.info-card { display: flex; gap: var(--space-sm); align-items: flex-start; }
.info-card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; flex-shrink: 0; }
.info-card .ic svg { width: 22px; height: 22px; }
.info-card h3 { font-size: var(--fs-base); }
.info-card p, .info-card a { color: var(--gray-600); font-size: var(--fs-sm); }

/* ===================== 11. TIMELINE ===================== */
.timeline { position: relative; margin-top: var(--space-lg); }
.timeline::before { content: ""; position: absolute; left: 18px; top: 6px; bottom: 6px; width: 2px; background: var(--gray-200); }
.timeline-item { position: relative; padding-left: 52px; padding-bottom: var(--space-lg); }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: 10px; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--green-600); z-index: 1;
}
.timeline-item .year { display: inline-block; font-weight: 800; color: var(--green-700); font-size: var(--fs-sm); margin-bottom: .3rem; }
.timeline-item h3 { font-size: var(--fs-base); margin-bottom: .3rem; }
.timeline-item p { color: var(--gray-600); font-size: var(--fs-sm); }

/* ===================== 12. TOC ===================== */
.toc { background: var(--paper-alt); border-radius: var(--radius-md); padding: var(--space-md); border: 1px solid var(--gray-200); }
.toc-title { display: flex; align-items: center; gap: .5rem; font-weight: 800; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .05em; color: var(--green-800); margin-bottom: var(--space-xs); }
.toc-title svg { width: 18px; height: 18px; }
.toc ol { counter-reset: toc; display: flex; flex-direction: column; gap: .35rem; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: .6rem; padding: .4rem .3rem; border-radius: 8px; font-weight: 700; font-size: var(--fs-sm); color: var(--gray-700); }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--green-500); font-weight: 800; }
.toc a:hover { background: rgba(94,168,105,.1); color: var(--green-800); }

.aside-sticky { position: sticky; top: 6.5rem; }

/* ===================== 13. FAQ / ACCORDION ===================== */
.accordion-item { border-bottom: 1px solid var(--gray-200); }
.accordion-item:first-child { border-top: 1px solid var(--gray-200); }
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-md);
  padding: var(--space-sm) 0; background: none; border: none; text-align: left; font-weight: 800; font-size: var(--fs-base); color: var(--ink);
}
.accordion-trigger .plus { width: 30px; height: 30px; border-radius: 50%; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; flex-shrink: 0; transition: transform .35s var(--ease), background .3s; }
.accordion-trigger .plus svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.accordion-item[open] .accordion-trigger .plus { background: var(--green-700); color: #fff; transform: rotate(135deg); }
.accordion-content { padding-bottom: var(--space-sm); color: var(--gray-600); max-width: 68ch; }
details.accordion-item summary { list-style: none; cursor: pointer; }
details.accordion-item summary::-webkit-details-marker { display: none; }

/* ===================== 14. FORMS ===================== */
.form-field { display: flex; flex-direction: column; gap: .4rem; }
.form-field label { font-weight: 700; font-size: var(--fs-sm); }
.form-field .required { color: var(--gold-600); }
.form-field input, .form-field select, .form-field textarea {
  padding: .85rem 1rem; border-radius: var(--radius-sm); border: 1.5px solid var(--gray-300); background: #fff;
  font-size: var(--fs-base); transition: border-color .25s, box-shadow .25s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(94,168,105,.15); outline: none;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-hint { font-size: var(--fs-xs); color: var(--gray-500); }
.form-note { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--fs-xs); color: var(--gray-500); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ===================== 15. FOOTER ===================== */
.site-footer { background: var(--green-950); color: #cfe0d3; padding-top: var(--space-2xl); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: var(--space-lg); padding-bottom: var(--space-xl); border-bottom: 1px solid rgba(255,255,255,.08); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 40px; margin-bottom: var(--space-sm); }
.footer-brand p { color: #9db8a1; font-size: var(--fs-sm); max-width: 34ch; }
.footer-social { display: flex; gap: .6rem; margin-top: var(--space-md); }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; transition: background .25s, transform .25s; }
.footer-social a:hover { background: var(--gold-500); color: var(--green-950); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h3 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--gold-400); margin-bottom: var(--space-sm); }
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col a { color: #cfe0d3; font-size: var(--fs-sm); }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-col .info-line { display: flex; gap: .6rem; align-items: flex-start; color: #cfe0d3; font-size: var(--fs-sm); }
.footer-col .info-line svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: .15rem; color: var(--gold-400); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .8rem; padding-block: var(--space-md); font-size: var(--fs-xs); color: #86a08b; }
.footer-bottom a { color: #86a08b; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom-links { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===================== 16. MISC COMPONENTS ===================== */
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--gray-300), transparent); margin-block: var(--space-lg); border: none; }

.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .85rem; border-radius: var(--radius-full); background: var(--green-50); color: var(--green-700); font-size: var(--fs-xs); font-weight: 800; }
.chip svg { width: 14px; height: 14px; }

.cta-banner {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: var(--space-xl) var(--space-lg); color: #fff;
  background: linear-gradient(135deg, var(--green-700), var(--green-900)); text-align: center;
}
.cta-banner::before { content:""; position:absolute; width:340px; height:340px; border-radius:50%; background: var(--gold-500); opacity: .18; filter: blur(70px); top: -120px; left: -60px; }
.cta-banner h2 { position: relative; z-index: 1; }
.cta-banner p { position: relative; z-index: 1; }
.cta-banner .hero-cta { justify-content: center; position: relative; z-index: 1; }

.logo-strip { display: flex; flex-wrap: wrap; gap: var(--space-lg); align-items: center; justify-content: center; }
.logo-strip span { font-weight: 800; color: var(--gray-500); font-size: var(--fs-sm); padding: .6rem 1.2rem; border: 1.5px dashed var(--gray-300); border-radius: var(--radius-full); }

.img-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); position: relative; }
.img-frame img { width: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.img-frame:hover img { transform: scale(1.045); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); align-items: center; }
.split.reverse { direction: rtl; } .split.reverse > * { direction: ltr; }
@media (max-width: 900px) { .split, .split.reverse { grid-template-columns: 1fr; direction: ltr; } }

.with-toc { display: grid; grid-template-columns: 300px 1fr; align-items: start; gap: var(--space-xl); }
@media (max-width: 980px) { .with-toc { grid-template-columns: 1fr; } .with-toc .aside-sticky { position: static; order: 2; } }

.badge-list { display: flex; flex-wrap: wrap; gap: .6rem; }
.check-list { display: flex; flex-direction: column; gap: .7rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; }
.check-list .ic { width: 22px; height: 22px; border-radius: 50%; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; flex-shrink: 0; margin-top: .1rem; }
.check-list .ic svg { width: 12px; height: 12px; }

.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm); }
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; filter: grayscale(.15) contrast(1.05); }

.back-to-top {
  position: fixed; right: 1.4rem; bottom: 1.4rem; width: 48px; height: 48px; border-radius: 50%;
  background: var(--green-800); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease); z-index: 60; border: none;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; transform: rotate(-90deg); }

/* Scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: translateY(0); }
[data-reveal-group] > * { transition-delay: calc(var(--i, 0) * 90ms); }

.social-proof-strip { display: flex; align-items: center; gap: var(--space-md); flex-wrap: wrap; }

/* WhatsApp floating button */
.wa-float {
  position: fixed; left: 1.4rem; bottom: 1.4rem; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37,211,102,.6);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

/* Tables */
.data-table { width: 100%; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--gray-200); }
.data-table th, .data-table td { padding: .9rem 1.1rem; text-align: left; font-size: var(--fs-sm); border-bottom: 1px solid var(--gray-200); }
.data-table th { background: var(--green-800); color: #fff; font-weight: 800; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: var(--paper-alt); }

/* 404 */
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: var(--space-2xl); }
.error-page .code { font-size: var(--fs-4xl); font-weight: 800; background: linear-gradient(135deg, var(--green-600), var(--blue-600)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Utilities */
.mt-0 { margin-top: 0 !important; }
.mt-sm { margin-top: var(--space-sm) !important; }
.mt-md { margin-top: var(--space-md) !important; }
.mt-lg { margin-top: var(--space-lg) !important; }
.mb-lg { margin-bottom: var(--space-lg) !important; }
.gap-sm { gap: var(--space-sm) !important; }
.w-full { width: 100%; }

@media print {
  .site-header, .site-footer, .wa-float, .back-to-top, .nav-toggle { display: none !important; }
}
