/* =========================================================================
   BRL INCORPORADORA — Website Institucional
   Paleta: #445930 (verde) · #D4DE6B (lima) · #354225 / #252C1D (escuros)
   Tipografia da marca: Montserrat  ·  Display editorial: Fraunces
   ========================================================================= */

:root {
  --ink:        #171B10;
  --forest-900: #252C1D;
  --forest-700: #354225;
  --green:      #445930;
  --green-soft: #5b7342;
  --lime:       #D4DE6B;
  --lime-soft:  #E5EBA6;
  --paper:      #F6F5EF;
  --paper-2:    #EEEDE3;
  --white:      #FFFFFF;

  --text:        #26301C;
  --text-muted:  #5c6a4d;
  --text-invert: #F3F4EA;

  --bg:          var(--paper);
  --line:        rgba(53, 66, 37, 0.14);

  --font-ui:      "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
  --radius: 14px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --logo-dark: var(--green);
  --logo-accent: var(--lime);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
/* Rolagem suave é controlada pelo Lenis (JS). Fallback nativo abaixo. */
html.no-smooth { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-ui);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Cursor personalizado ativo → esconde o padrão em telas com ponteiro fino */
body.has-cursor { cursor: none; }
body.has-cursor a, body.has-cursor button, body.has-cursor summary, body.has-cursor input, body.has-cursor textarea, body.has-cursor select { cursor: none; }

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--green); color: #fff; padding: 10px 16px; z-index: 999; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(72px, 12vh, 160px); }
.eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--green-soft); display: inline-flex; align-items: center; gap: 0.7em;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: 0.6; }

.display { font-family: var(--font-display); font-weight: 400; line-height: 1.04; letter-spacing: -0.015em; font-optical-sizing: auto; }
h1, h2, h3 { font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--green); --fg: var(--white);
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.95em 1.6em; border-radius: 100px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 0.92rem;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease), color 0.4s var(--ease);
  will-change: transform;
}
.btn:hover { box-shadow: 0 14px 30px -12px rgba(37, 44, 29, 0.5); }
.btn .arw { transition: transform 0.35s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }
.btn--lime { --bg: var(--lime); --fg: var(--forest-900); }
.btn--dark { --bg: var(--forest-900); --fg: var(--text-invert); }
.btn--ghost { --bg: transparent; --fg: currentColor; border: 1px solid var(--line); }
.btn--ghost:hover { background: rgba(255,255,255,0.06); box-shadow: none; }
.btn--lg { padding: 1.15em 2em; font-size: 1rem; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 0.62rem; }
.logo__mark { height: 30px; width: auto; }
.logo__mark .b, .logo__mark .l { fill: var(--logo-dark); transition: fill 0.45s var(--ease); }
.logo__mark .r { fill: var(--logo-accent); transition: fill 0.45s var(--ease); }
.logo__word {
  font-weight: 300; font-size: 0.86rem; letter-spacing: 0.02em; text-transform: lowercase;
  color: var(--logo-dark); transition: color 0.45s var(--ease); align-self: center; margin-top: 2px;
}

/* ---------- Cursor personalizado ----------
   Adapta-se à seção: claras → caixa verde escuro / centro branco;
   escuras → caixa branca / centro verde escuro. Sem mix-blend (evita o azul). */
.cursor { position: fixed; top: 0; left: 0; z-index: 1000; pointer-events: none; display: none;
  --cur: #252C1D; --cur-contrast: #FFFFFF; }
body.has-cursor .cursor { display: block; }
body.cursor-dark .cursor { --cur: #F3F4EA; --cur-contrast: #252C1D; }
.cursor__dot { position: fixed; top: 0; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--cur); transform: translate(-50%, -50%); transition: background 0.3s var(--ease), width 0.3s var(--ease), height 0.3s var(--ease); }
.cursor__ring { position: fixed; top: 0; left: 0; width: 38px; height: 38px; border: 1.5px solid var(--cur); border-radius: 50%; transform: translate(-50%, -50%); transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease); }
/* Sempre anel de centro transparente — muda só de cor/tamanho, nunca cobre o texto */
body.cursor-hover .cursor__ring { width: 54px; height: 54px; background: color-mix(in srgb, var(--cur) 10%, transparent); }
body.cursor-cta .cursor__ring { width: 66px; height: 66px; background: color-mix(in srgb, var(--cur) 16%, transparent); }

/* ---------- Barra de progresso ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--lime); z-index: 200; transition: width 0.08s linear; }

/* =========================================================================
   HEADER
   ========================================================================= */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; padding-block: 18px;
  transition: background 0.5s var(--ease), padding 0.4s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
  --logo-dark: var(--text-invert); --logo-accent: var(--lime);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__nav a, .header__actions .nav-link { color: var(--text-invert); }

.header.is-solid {
  background: rgba(246, 245, 239, 0.85);
  backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line); padding-block: 12px;
  box-shadow: 0 8px 30px -22px rgba(37,44,29,0.5);
  --logo-dark: var(--green); --logo-accent: var(--lime);
}
.header.is-solid .header__nav a, .header.is-solid .logo__word { color: var(--text); }

.header__nav { display: flex; gap: 34px; }
.header__nav a { font-size: 0.9rem; font-weight: 500; position: relative; padding-block: 4px; transition: color 0.3s var(--ease), opacity 0.3s var(--ease); }
.header__nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0; background: var(--lime); transition: width 0.35s var(--ease); }
.header__nav a:hover::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 14px; }

.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid transparent; transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.icon-btn svg { width: 20px; height: 20px; stroke: currentColor; }
.icon-btn:hover { transform: translateY(-2px); }
.header .icon-btn { color: var(--text-invert); border-color: rgba(243,244,234,0.35); }
.header .icon-btn:hover { background: rgba(243,244,234,0.12); }
.header.is-solid .icon-btn { color: var(--green); border-color: var(--line); }
.header.is-solid .icon-btn:hover { background: rgba(68,89,48,0.08); }

.access { position: relative; }
.access__toggle { display: inline-flex; align-items: center; gap: 0.55em; padding: 0.7em 1.25em; border-radius: 100px; font-weight: 600; font-size: 0.88rem; background: var(--lime); color: var(--forest-900); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.access__toggle:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -14px rgba(37,44,29,0.6); }
.access__toggle .chev { transition: transform 0.35s var(--ease); }
.access.is-open .access__toggle .chev { transform: rotate(180deg); }

.access__menu { position: absolute; right: 0; top: calc(100% + 14px); width: 288px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 10px; box-shadow: 0 30px 60px -28px rgba(37,44,29,0.5); opacity: 0; visibility: hidden; transform: translateY(10px) scale(0.98); transform-origin: top right; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s; }
.access.is-open .access__menu { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.access__item { display: flex; align-items: center; gap: 14px; padding: 13px 14px; border-radius: 12px; transition: background 0.25s var(--ease); }
.access__item:hover { background: var(--paper); }
.access__ico { flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--paper-2); color: var(--green); transition: background 0.25s, color 0.25s; }
.access__ico svg { width: 20px; height: 20px; }
.access__item:hover .access__ico { background: var(--lime); color: var(--forest-900); }
.access__txt strong { display: block; font-size: 0.9rem; font-weight: 600; color: var(--text); }
.access__txt span { display: block; font-size: 0.76rem; color: var(--text-muted); }
.access__sep { height: 1px; background: var(--line); margin: 6px 12px; }

.burger { display: none; width: 42px; height: 42px; border-radius: 50%; position: relative; z-index: 110; }
.burger span { position: absolute; left: 11px; width: 20px; height: 1.6px; background: currentColor; transition: transform 0.35s var(--ease), opacity 0.3s var(--ease); }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 26px; }
.header .burger { color: var(--text-invert); }
.header.is-solid .burger { color: var(--text); }
body.nav-open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--text-invert); overflow: hidden; background: var(--forest-900); }
.hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(23,27,16,0.55) 0%, rgba(23,27,16,0.12) 32%, rgba(23,27,16,0.35) 62%, rgba(23,27,16,0.92) 100%); }
.hero__img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; will-change: transform;
  background: radial-gradient(120% 90% at 78% 8%, rgba(212,222,107,0.20), transparent 55%), radial-gradient(120% 120% at 15% 100%, rgba(37,44,29,0.9), transparent 60%), linear-gradient(135deg, #2c3620 0%, #3c4c2a 46%, #495e33 100%); }
.hero__inner { position: relative; z-index: 2; padding-bottom: clamp(56px, 10vh, 120px); padding-top: 140px; }
.hero__eyebrow { color: var(--lime); margin-bottom: 26px; }
.hero__eyebrow::before { background: var(--lime); opacity: 0.9; }
.hero__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(3rem, 8vw, 6.6rem); line-height: 1.0; letter-spacing: -0.025em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title .line > span { display: block; }
.hero__title em { font-style: italic; color: var(--lime); }
.hero__sub { margin-top: 30px; max-width: 44ch; font-size: clamp(1rem, 1.35vw, 1.22rem); color: rgba(243,244,234,0.82); }
.hero__cta { margin-top: 42px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* Indicador de rolagem — canto inferior direito, com seta animada */
.hero__scroll { position: absolute; right: var(--gutter); bottom: 34px; z-index: 3; display: inline-flex; flex-direction: column; align-items: center; gap: 14px; color: rgba(243,244,234,0.7); transition: color 0.3s var(--ease); }
.hero__scroll:hover { color: var(--lime); }
.hero__scroll-txt { writing-mode: vertical-rl; font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; }
.hero__scroll-arrow { width: 34px; height: 34px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; overflow: hidden; }
.hero__scroll-arrow svg { width: 16px; height: 16px; animation: arrowDown 1.8s var(--ease) infinite; }
@keyframes arrowDown { 0% { transform: translateY(-120%); opacity: 0; } 30% { opacity: 1; } 60% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(120%); opacity: 0; } }

/* =========================================================================
   MARQUEE cinético
   ========================================================================= */
.marquee { background: var(--lime); color: var(--forest-900); overflow: hidden; padding-block: 22px; border-block: 1px solid rgba(37,44,29,0.12); }
.marquee__track { display: inline-flex; white-space: nowrap; will-change: transform; }
.marquee__track span { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 3.4vw, 2.8rem); letter-spacing: -0.01em; padding-right: 0.2em; }
.marquee__track b { color: var(--green); font-weight: 400; padding-inline: 0.25em; }

/* =========================================================================
   MANIFESTO
   ========================================================================= */
.manifesto { background: var(--paper); }
.manifesto__lead { font-size: clamp(1.8rem, 4vw, 3.5rem); line-height: 1.14; letter-spacing: -0.015em; max-width: 20ch; color: var(--forest-700); }
.manifesto__body { margin-top: 46px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px; max-width: 900px; }
.manifesto__body p { color: var(--text-muted); font-size: 1.02rem; }
.manifesto__signature { margin-top: 54px; font-size: 0.9rem; color: var(--green-soft); font-weight: 500; letter-spacing: 0.04em; }

/* =========================================================================
   MÉTODO
   ========================================================================= */
.method { background: var(--forest-900); color: var(--text-invert); }
.method .eyebrow { color: var(--lime); }
.method__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; margin-bottom: 68px; }
.method__head h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.method__head p { color: rgba(243,244,234,0.72); font-size: 1.05rem; max-width: 42ch; }
.method__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(243,244,234,0.12); border: 1px solid rgba(243,244,234,0.12); border-radius: var(--radius); overflow: hidden; }
.method__cell { background: var(--forest-900); padding: 40px 34px; min-height: 260px; display: flex; flex-direction: column; transition: background 0.4s var(--ease); }
.method__cell:hover { background: #2b3422; }
.method__cell .n { font-family: var(--font-display); font-size: 1.1rem; color: var(--lime); margin-bottom: auto; }
.method__cell h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 12px; margin-top: 30px; }
.method__cell p { color: rgba(243,244,234,0.66); font-size: 0.95rem; }

/* =========================================================================
   GESTÃO / ERP
   ========================================================================= */
.erp { background: var(--paper); overflow: hidden; }
.erp__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.erp__content h2 { font-size: clamp(2rem, 4vw, 3.2rem); color: var(--forest-700); margin: 18px 0 22px; }
.erp__lead { color: var(--text-muted); font-size: 1.08rem; max-width: 46ch; }
.erp__lead strong { color: var(--green); font-weight: 600; }
.erp__list { margin-top: 30px; display: grid; gap: 14px; }
.erp__list li { display: flex; align-items: center; gap: 14px; color: var(--text); font-weight: 500; font-size: 1rem; }
.erp__list .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; box-shadow: 0 0 0 4px rgba(212,222,107,0.5); }

.erp__visual { display: grid; place-items: center; }
.erp__panel { width: 100%; max-width: 460px; background: var(--forest-900); border-radius: 20px; padding: 26px; box-shadow: 0 40px 80px -40px rgba(37,44,29,0.6); will-change: transform; }
.erp__panel-top { display: flex; gap: 8px; margin-bottom: 26px; }
.erp__panel-top span { width: 11px; height: 11px; border-radius: 50%; background: rgba(243,244,234,0.2); }
.erp__panel-top span:first-child { background: var(--lime); }
.erp__bars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; align-items: end; height: 180px; padding-bottom: 8px; border-bottom: 1px solid rgba(243,244,234,0.12); }
.erp__bars .bar { display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.erp__bars .bar i { display: block; width: 100%; height: var(--h); background: linear-gradient(180deg, var(--lime), var(--green-soft)); border-radius: 6px 6px 3px 3px; transform-origin: bottom; }
.erp__bars .bar small { font-size: 0.6rem; color: rgba(243,244,234,0.55); letter-spacing: 0.02em; }
.erp__rows { margin-top: 20px; display: grid; gap: 12px; }
.erp__rows span { height: 10px; border-radius: 5px; background: rgba(243,244,234,0.1); }
.erp__rows span:nth-child(1) { width: 90%; } .erp__rows span:nth-child(2) { width: 70%; } .erp__rows span:nth-child(3) { width: 80%; }

/* =========================================================================
   ADMINISTRAÇÃO
   ========================================================================= */
.admin { background: var(--white); }
.admin__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.admin__figure { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.admin__figure .ph { position: absolute; inset: -8% 0; height: 116%; will-change: transform; background: radial-gradient(90% 70% at 20% 10%, rgba(212,222,107,0.35), transparent 60%), linear-gradient(160deg, #4a6034 0%, #37461f 100%); }
.admin__figure .tag { position: absolute; left: 20px; bottom: 20px; z-index: 2; background: rgba(23,27,16,0.55); color: var(--text-invert); backdrop-filter: blur(6px); padding: 10px 16px; border-radius: 100px; font-size: 0.78rem; }
.admin__content h2 { font-size: clamp(2rem, 4vw, 3.2rem); color: var(--forest-700); margin-bottom: 22px; }
.admin__content > p { color: var(--text-muted); font-size: 1.06rem; max-width: 48ch; }
.admin__list { margin-top: 34px; display: grid; gap: 2px; }
.admin__row { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); align-items: start; }
.admin__row:last-child { border-bottom: 1px solid var(--line); }
.admin__row .mark { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--lime); display: grid; place-items: center; color: var(--forest-900); margin-top: 2px; }
.admin__row .mark svg { width: 14px; height: 14px; }
.admin__row strong { display: block; font-size: 1.06rem; color: var(--text); font-weight: 600; margin-bottom: 4px; }
.admin__row p { color: var(--text-muted); font-size: 0.95rem; }

/* =========================================================================
   PROCESSO
   ========================================================================= */
.process { background: var(--paper); }
.process__head { max-width: 640px; margin-bottom: 70px; }
.process__head h2 { font-size: clamp(2rem, 4vw, 3.2rem); color: var(--forest-700); margin: 18px 0; }
.process__head p { color: var(--text-muted); font-size: 1.05rem; }
.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 92px 1fr; gap: 28px; padding: 34px 0; border-top: 1px solid var(--line); align-items: start; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--lime-soft); line-height: 1; transition: color 0.6s var(--ease); }
.step.is-active .step__num { color: var(--green); }
.step h3 { font-size: 1.35rem; font-weight: 600; margin-bottom: 8px; color: var(--forest-700); }
.step p { color: var(--text-muted); max-width: 60ch; }

/* =========================================================================
   OBRAS
   ========================================================================= */
.works { background: var(--white); }
.works__head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 56px; flex-wrap: wrap; }
.works__head h2 { font-size: clamp(2rem, 4vw, 3.2rem); color: var(--forest-700); }
.works__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.work { position: relative; border-radius: var(--radius); overflow: hidden; }
.work .ph { position: absolute; inset: -6% 0; height: 112%; transition: transform 0.9s var(--ease); will-change: transform; }
.work:hover .ph { transform: scale(1.05); }
.work::after { content:""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(23,27,16,0.72) 100%); z-index: 1; }
.work__meta { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2; color: var(--text-invert); }
.work__meta .t { font-size: 1.2rem; font-weight: 600; }
.work__meta .s { font-size: 0.82rem; opacity: 0.8; margin-top: 3px; }
.work--a { grid-column: span 4; aspect-ratio: 16/10; } .work--b { grid-column: span 2; aspect-ratio: 3/4; }
.work--c { grid-column: span 2; aspect-ratio: 3/4; } .work--d { grid-column: span 4; aspect-ratio: 16/10; }
.work--a .ph { background: linear-gradient(150deg, #52693a, #33421e); }
.work--b .ph { background: linear-gradient(150deg, #5e7745, #3d4d26); }
.work--c .ph { background: linear-gradient(150deg, #46592f, #2b3519); }
.work--d .ph { background: linear-gradient(150deg, #5a7141, #384824); }

/* =========================================================================
   INDICADORES
   ========================================================================= */
.stats { background: var(--green); color: var(--text-invert); }
.stats__slogan { font-size: clamp(1.6rem, 3.4vw, 2.8rem); max-width: 20ch; margin-bottom: 64px; color: var(--text-invert); }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 30px; }
.stat .num { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.8rem, 6.5vw, 4.8rem); line-height: 1; letter-spacing: -0.02em; }
.stat .num .suf { color: var(--lime); font-size: 0.55em; }
.stat .lbl { margin-top: 14px; font-size: 0.95rem; color: rgba(243,244,234,0.82); max-width: 24ch; }

/* =========================================================================
   EQUIPE — perfil único em destaque
   ========================================================================= */
.team { background: var(--white); }
.team__head { margin-bottom: 56px; }
.team__head h2 { font-size: clamp(2rem, 4vw, 3.2rem); color: var(--forest-700); margin-top: 18px; }
.team__feature { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.team__photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.team__photo .ph { position: absolute; inset: -8% 0; height: 116%; will-change: transform; background: linear-gradient(160deg, #4d6337 0%, #2f3d1c 100%); }
.team__photo::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 60%, rgba(23,27,16,0.3)); }
.team__name { font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.8rem); color: var(--forest-700); line-height: 1.05; }
.team__role { color: var(--green-soft); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.02em; margin-top: 8px; margin-bottom: 26px; }
.team__text { color: var(--text-muted); font-size: 1.05rem; max-width: 52ch; }
.team__text + .team__text { margin-top: 18px; }
.team__text strong { color: var(--green); font-weight: 600; }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq { background: var(--paper); }
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq__head h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--forest-700); margin: 18px 0; }
.faq__head p { color: var(--text-muted); }
.faq__list { display: grid; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 26px 48px 26px 0; position: relative; font-size: 1.12rem; font-weight: 600; color: var(--forest-700); display: flex; align-items: center; transition: color 0.3s var(--ease); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23445930' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat; transform: translateY(-50%) rotate(0); transition: transform 0.4s var(--ease); }
.qa[open] summary::after { transform: translateY(-50%) rotate(135deg); }
.qa summary:hover { color: var(--green); }
.qa__body p { padding: 0 40px 28px 0; color: var(--text-muted); max-width: 60ch; }

/* =========================================================================
   CONTATO
   ========================================================================= */
.contact { background: var(--forest-900); color: var(--text-invert); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact .eyebrow { color: var(--lime); }
.contact h2 { font-size: clamp(2.2rem, 5vw, 4rem); margin: 20px 0 24px; }
.contact__intro { color: rgba(243,244,234,0.78); font-size: 1.1rem; max-width: 40ch; }
.contact__info { margin-top: 44px; display: grid; gap: 22px; }
.contact__info a { display: flex; align-items: center; gap: 14px; color: rgba(243,244,234,0.9); font-size: 1rem; transition: color 0.3s var(--ease); }
.contact__info a:hover { color: var(--lime); }
.contact__info .ico { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid rgba(243,244,234,0.2); display: grid; place-items: center; }
.contact__info .ico svg { width: 18px; height: 18px; }
.form { display: grid; gap: 18px; background: rgba(243,244,234,0.04); border: 1px solid rgba(243,244,234,0.12); border-radius: 20px; padding: clamp(24px, 3vw, 38px); }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.8rem; letter-spacing: 0.04em; color: rgba(243,244,234,0.7); font-weight: 500; }
.field input, .field textarea, .field select { width: 100%; padding: 14px 16px; border-radius: 12px; font: inherit; font-size: 0.95rem; background: rgba(243,244,234,0.06); border: 1px solid rgba(243,244,234,0.16); color: var(--text-invert); transition: border-color 0.3s var(--ease), background 0.3s var(--ease); }
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(243,244,234,0.4); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--lime); background: rgba(243,244,234,0.1); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4DE6B' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; padding-right: 44px; }
.field select option { color: #222; }
.form .btn { justify-content: center; margin-top: 6px; }
.form .btn[disabled] { opacity: 0.7; pointer-events: none; }
.form__note { font-size: 0.78rem; color: rgba(243,244,234,0.5); text-align: center; }
.form__status { font-size: 0.86rem; text-align: center; min-height: 1.1em; margin-top: 2px; }
.form__status.ok { color: var(--lime); }
.form__status.err { color: #f0a58f; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { background: var(--ink); color: rgba(243,244,234,0.72); padding-block: clamp(56px, 8vh, 96px) 34px; --logo-dark: var(--text-invert); --logo-accent: var(--lime); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(243,244,234,0.1); }
.footer .logo__word { color: var(--text-invert); }
.footer__brand p { margin-top: 20px; max-width: 34ch; font-size: 0.92rem; }
.footer__col h4 { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(243,244,234,0.5); margin-bottom: 18px; font-weight: 600; }
.footer__col ul { display: grid; gap: 12px; }
.footer__col a { font-size: 0.92rem; transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--lime); }
.footer__social { display: flex; gap: 12px; margin-top: 22px; }
.footer__social .icon-btn { color: var(--text-invert); border-color: rgba(243,244,234,0.2); }
.footer__social .icon-btn:hover { background: var(--lime); color: var(--forest-900); border-color: var(--lime); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 30px; font-size: 0.82rem; color: rgba(243,244,234,0.5); }

/* =========================================================================
   ESTADOS DE ANIMAÇÃO (fallback quando não há JS/GSAP)
   Sem JS: tudo visível. Com GSAP: o JS define o estado inicial (gsap.set).
   ========================================================================= */
/* Imagens reais preenchendo os contêineres (.ph) e o hero */
img.hero__img { object-fit: cover; }
img.ph { width: 100%; object-fit: cover; }
.team__photo img.ph { object-position: center 28%; }
.admin__figure img.ph { object-position: center 40%; }

[data-anim] { opacity: 1; }

/* Fallback simples caso GSAP não carregue mas JS esteja ativo */
.js-fallback [data-anim] { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.js-fallback [data-anim].is-visible { opacity: 1; transform: none; }

/* =========================================================================
   RESPONSIVO
   ========================================================================= */
@media (max-width: 1024px) {
  .method__grid { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  body.has-cursor, body.has-cursor * { cursor: auto; }
  body.has-cursor .cursor { display: none; }
  .header__nav { display: none; }
  .burger { display: inline-grid; place-items: center; }
  /* Menu mobile: painel branco compacto que desce do topo (legível, sem tela cheia) */
  .header__nav.is-mobile {
    display: grid; gap: 2px; position: fixed; top: 70px; left: var(--gutter); right: var(--gutter); z-index: 95;
    background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 10px;
    box-shadow: 0 30px 60px -28px rgba(37,44,29,0.5);
    opacity: 0; visibility: hidden; transform: translateY(-12px) scale(0.98); transform-origin: top center;
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
  }
  body.nav-open .header__nav.is-mobile { opacity: 1; visibility: visible; transform: none; }
  .header__nav.is-mobile a { color: var(--text); font-size: 1.05rem; font-weight: 500; padding: 14px 16px; border-radius: 11px; }
  .header__nav.is-mobile a::after { display: none; }
  .header__nav.is-mobile a:hover, .header__nav.is-mobile a:active { background: var(--paper); color: var(--green); }

  .manifesto__body { grid-template-columns: 1fr; gap: 22px; }
  .method__head { grid-template-columns: 1fr; }
  .erp__grid { grid-template-columns: 1fr; }
  .erp__visual { order: -1; }
  .admin__grid { grid-template-columns: 1fr; }
  .admin__figure { aspect-ratio: 16/11; order: -1; }
  .stats__grid { grid-template-columns: 1fr; gap: 40px; }
  .team__feature { grid-template-columns: 1fr; }
  .team__photo { aspect-ratio: 16/12; max-width: 460px; }
  .faq__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .works__grid { grid-template-columns: repeat(2, 1fr); }
  .work--a, .work--b, .work--c, .work--d { grid-column: span 2; aspect-ratio: 16/11; }
  .hero__scroll { display: none; }

  /* Acordeão mobile: Método e Processo mostram só o título; texto abre no toque */
  .acc h3 { cursor: pointer; position: relative; padding-right: 30px; }
  .acc h3::after { content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); font-weight: 300; font-size: 1.5em; line-height: 1; }
  .method__cell.acc h3::after { color: var(--lime); }
  .step.acc h3::after { color: var(--green); }
  .acc.acc-open h3::after { content: "\2212"; }
  .acc-body { max-height: 0; overflow: hidden; opacity: 0; margin-top: 0;
    transition: max-height 0.45s var(--ease), opacity 0.3s var(--ease), margin-top 0.3s var(--ease); }
  .acc.acc-open .acc-body { max-height: 400px; opacity: 1; margin-top: 12px; }
  .method__cell.acc { min-height: 0; padding: 22px 26px; }
  .method__cell.acc .n { margin-bottom: 12px; }
  .method__cell.acc h3 { margin-top: 0; margin-bottom: 0; }
  .step.acc { padding: 22px 0; }
  .step.acc h3 { margin-bottom: 0; }
}
@media (max-width: 560px) {
  .method__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 34px; }
  .step { grid-template-columns: 60px 1fr; gap: 18px; }
  .access__toggle span.lbl { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll-arrow svg { animation: none; }
}
