/* ==========================================================================
   Mikro Adventures Soluções — folha de estilos
   Visual corporativo nas cores da marca (verde da molécula, grafite, cinza)
   ========================================================================== */

:root {
  /* Superfícies */
  --bg: #F4F5F3;
  --surface: #FFFFFF;
  --surface-2: #ECEEEB;
  --line: #DCE0DB;
  --line-strong: #C5CBC6;

  /* Texto */
  --ink: #121613;
  --ink-2: #39413C;
  --muted: #5B645E;

  /* Marca */
  --green: #2F9E3A;        /* verde da molécula (grafismos, detalhes) */
  --green-600: #23802E;    /* verde para botões e textos sobre claro */
  --green-700: #1A6424;
  --green-50: #EAF5E6;
  --lime: #9CCB3F;         /* verde-claro, só sobre escuro */
  --grey: #8C918E;         /* cinza de "soluções" */

  /* Seções escuras */
  --dark: #0E1310;
  --dark-2: #161D18;
  --dark-line: #2A322C;
  --on-dark: #EEF1ED;
  --on-dark-2: #A9B2AC;

  --error: #B3261E;
  --error-bg: #FCECEA;

  /* Tipografia */
  --display: "Red Hat Display", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text: "Red Hat Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Red Hat Mono", ui-monospace, Consolas, monospace;

  /* Medidas */
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 84px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(18, 22, 19, .04), 0 8px 24px -12px rgba(18, 22, 19, .14);
  --shadow-lg: 0 2px 4px rgba(18, 22, 19, .04), 0 24px 48px -24px rgba(18, 22, 19, .28);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scrollbar-color: #A9B0AB var(--bg);
}
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  caret-color: var(--green);
}
body.nav-open { overflow: hidden; }

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

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #B4BAB5; border: 3px solid var(--bg); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

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

h1, h2, h3, h4 { margin: 0; font-family: var(--display); line-height: 1.1; text-wrap: balance; }
h3, h4 { line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul[role="list"], ol[role="list"] { list-style: none; }

a {
  color: var(--green-600);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .2s var(--ease);
}
a:hover { color: var(--ink); }

:focus-visible { outline: 2px solid var(--green-600); outline-offset: 3px; border-radius: 4px; }

button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 600;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 600; text-decoration: none;
}
.skip-link:focus, .skip-link:hover { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.icon {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Botões ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line-strong);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px;
  border: 1px solid var(--btn-bd); border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--display); font-weight: 600; font-size: .9875rem; letter-spacing: .005em; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn .icon { width: 1.05em; height: 1.05em; transition: transform .3s var(--ease); }
.btn:hover { text-decoration: none; color: var(--btn-fg); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .9375rem; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 1.03rem; }
.btn--block { width: 100%; }
.btn--primary { --btn-bg: var(--green-600); --btn-fg: #fff; --btn-bd: var(--green-600); }
.btn--primary:hover { --btn-bg: var(--green-700); --btn-bd: var(--green-700); box-shadow: 0 10px 24px -12px rgba(35, 128, 46, .7); }
.btn--dark { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }
.btn--dark:hover { --btn-bg: var(--green-600); --btn-bd: var(--green-600); }
.btn--ghost { --btn-bg: transparent; --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }
.btn--lime { --btn-bg: var(--lime); --btn-fg: var(--dark); --btn-bd: var(--lime); }
.btn--lime:hover { --btn-bg: #fff; --btn-bd: #fff; }
.btn--outline-light { --btn-fg: var(--on-dark); --btn-bd: #3A443D; }
.btn--outline-light:hover { --btn-bg: var(--on-dark); --btn-fg: var(--dark); --btn-bd: var(--on-dark); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; cursor: progress; transform: none; }

/* ---------- Loader ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 500;
  display: grid; place-items: center;
  background: var(--bg);
}
.js.is-loaded .loader { visibility: hidden; pointer-events: none; }
.loader__inner { display: grid; justify-items: center; gap: 30px; }
.loader__logo { width: min(230px, 54vw); height: auto; }
.loader__bar { position: relative; width: 132px; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.loader__bar span { position: absolute; inset: 0; background: var(--green-600); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), transform .45s var(--ease);
}
.site-header.is-scrolled { background: rgba(255, 255, 255, .96); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(18, 22, 19, .25); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }

.brand { flex: none; line-height: 0; }
.brand img { width: auto; height: 56px; transition: height .3s var(--ease); }
.site-header.is-scrolled .brand img { height: 48px; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.main-nav a:not(.btn) {
  position: relative; display: block; padding: 10px 14px;
  color: var(--ink-2); font-family: var(--display); font-weight: 500; font-size: .96875rem; text-decoration: none;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.main-nav a:not(.btn):hover { color: var(--ink); }
.main-nav a:not(.btn):hover::after, .main-nav a[aria-current="true"]::after { transform: scaleX(1); }
.main-nav a[aria-current="true"] { color: var(--ink); }
.main-nav__cta { display: none; }
.site-header__cta { flex: none; }

.nav-toggle {
  display: none; place-items: center; width: 46px; height: 46px; margin-left: auto; padding: 0;
  border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface); cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon--close { display: none; }
.site-header.is-open .nav-toggle .icon--open { display: none; }
.site-header.is-open .nav-toggle .icon--close { display: block; }

@media (max-width: 1080px) {
  .nav-toggle { display: grid; }
  .site-header__cta { margin-left: auto; }
  .site-header__cta + .nav-toggle { margin-left: 0; }
  .site-header.is-open { background: var(--surface); }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    display: flex; flex-direction: column; gap: 28px; margin: 0;
    padding: 20px var(--gutter) 40px; background: var(--surface); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .site-header.is-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a:not(.btn) { padding: 18px 0; font-size: 1.5rem; font-weight: 600; color: var(--ink); }
  .main-nav a:not(.btn)::after { display: none; }
  .main-nav__cta { display: inline-flex; align-self: flex-start; }
}
@media (max-width: 560px) {
  :root { --header-h: 72px; }
  .brand img, .site-header.is-scrolled .brand img { height: 42px; }
  .site-header__cta { display: none; }
  .nav-toggle, .site-header__cta + .nav-toggle { margin-left: auto; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding-top: calc(var(--header-h) + clamp(32px, 6vw, 80px));
  padding-bottom: clamp(56px, 7vw, 104px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  /* grade técnica discreta */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(18, 22, 19, .09) 1px, transparent 0);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 72px); align-items: center; }

.hero__title {
  font-size: clamp(2.75rem, 1.2rem + 5.2vw, 5.75rem);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -0.035em;
}
.hero__title em { font-style: italic; font-weight: 500; color: var(--green-600); }
.nowrap { white-space: nowrap; }
.line-mask { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__lead { margin-top: clamp(22px, 2.6vw, 32px); max-width: 54ch; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.6; color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 3vw, 40px); }
.hero__trust { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .9375rem; color: var(--muted); max-width: 54ch; }
.hero__trust b { color: var(--ink); font-weight: 600; }

.status-dot { position: relative; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.status-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--green); opacity: .5; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.8); opacity: 0; } }

.hero__visual { position: relative; }
.molecule { width: 100%; height: auto; overflow: visible; }
.molecule__orbits ellipse { fill: none; stroke: var(--line-strong); stroke-width: 1.2; stroke-dasharray: 2 7; }
.bond-edge { stroke: #2A2F2B; stroke-width: 22; stroke-linecap: round; }
.bond { stroke: #858C87; stroke-width: 13; stroke-linecap: round; }
.core__body { fill: #1D221E; stroke: #5E6560; stroke-width: 7; }
.core__shine { fill: #6C736E; opacity: .9; }
.atom__body { fill: #3BA935; stroke: #17251A; stroke-width: 7; }
.atom__glow { fill: #A2CF45; }
.atom__spec { fill: #fff; opacity: .95; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { max-width: min(460px, 100%); margin-inline: auto; width: 100%; }
}

/* ---------- Seções ---------- */
.section { position: relative; padding-block: clamp(80px, 10vw, 140px); }
.section--surface { background: var(--surface); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section__head { margin-bottom: clamp(44px, 5vw, 72px); }
.section__head--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; }
.section__title {
  font-size: clamp(2.125rem, 1.2rem + 2.9vw, 3.75rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.section__lead { max-width: 52ch; font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); line-height: 1.6; color: var(--ink-2); }
.section--dark .section__lead { color: var(--on-dark-2); }
@media (max-width: 860px) {
  .section__head--split { grid-template-columns: 1fr; }
}

/* ---------- Serviços ---------- */
.services {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.service {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(28px, 3vw, 40px) clamp(24px, 2.6vw, 36px) clamp(32px, 3.4vw, 44px);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: transparent; transition: background-color .4s var(--ease);
}
.service::before {
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px;
  background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.service:hover { background: var(--surface); }
.service:hover::before { transform: scaleX(1); }
.service__icon {
  width: 52px; height: 52px; padding: 11px; margin-bottom: 10px;
  border-radius: 12px; background: var(--green-50); color: var(--green-600);
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.service:hover .service__icon { background: var(--green-600); color: #fff; }
.service__title { font-size: 1.3125rem; font-weight: 600; letter-spacing: -0.01em; }
.service__text { font-size: 1rem; color: var(--muted); }

@media (max-width: 960px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } }

/* ---------- Setores ---------- */
.sectors { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.sectors__head { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 22px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chip {
  min-height: 40px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--surface); color: var(--ink-2); font-family: var(--display); font-weight: 500; font-size: .9375rem;
  cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.sector-list { border-top: 1px solid var(--line); }
.sector {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 8px 32px; align-items: start;
  padding: 24px 0; border-bottom: 1px solid var(--line);
  transition: padding .4s var(--ease);
}
.sector::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: 2px;
  background: var(--green); transform: scaleY(0); transition: transform .4s var(--ease);
}
.sector:hover { padding-left: 18px; }
.sector:hover::before { transform: scaleY(1); }
.sector__main { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.sector__name { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
.sector__text { font-size: .96875rem; color: var(--muted); }
.sector--feature .sector__name { color: var(--green-700); }

.badge {
  display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px;
  background: var(--surface-2); color: var(--ink-2);
  font-family: var(--mono); font-size: .71875rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
}
.badge--green { background: var(--green-50); color: var(--green-700); }

@media (max-width: 960px) {
  .sectors { grid-template-columns: 1fr; }
  .sectors__head { position: static; }
}
@media (max-width: 640px) {
  .sector { grid-template-columns: 1fr; }
  .sector:hover { padding-left: 0; }
}

/* ---------- Método ---------- */
.method { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.method__head { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 24px; }
.method__timing { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 12px; border-radius: var(--radius); overflow: hidden; background: var(--dark-line); border: 1px solid var(--dark-line); }
.method__timing div { padding: 18px 20px; background: var(--dark-2); }
.method__timing dt { font-size: .8125rem; color: var(--on-dark-2); line-height: 1.4; }
.method__timing dd { margin-top: 6px; font-family: var(--display); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; color: var(--lime); }

.steps { position: relative; display: grid; gap: 0; }
.steps__rail { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--dark-line); }
.steps__rail span { display: block; width: 100%; height: 100%; background: var(--lime); transform-origin: 50% 0; transform: scaleY(1); }
.js .steps__rail span { transform: scaleY(0); }
.step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 24px; padding-bottom: clamp(36px, 4vw, 52px); }
.step:last-child { padding-bottom: 0; }
.step__num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--dark); border: 1px solid #3A443D; color: var(--on-dark);
  font-family: var(--display); font-weight: 600; font-size: 1.125rem;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.step.is-active .step__num { background: var(--lime); border-color: var(--lime); color: var(--dark); }
.step__title { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.015em; margin: 12px 0 8px; }
.step__text { color: var(--on-dark-2); max-width: 52ch; }

@media (max-width: 960px) {
  .method { grid-template-columns: 1fr; }
  .method__head { position: static; }
}
@media (max-width: 520px) {
  .method__timing { grid-template-columns: 1fr; }
  .step { grid-template-columns: 48px minmax(0, 1fr); gap: 18px; }
  .step__num { width: 48px; height: 48px; }
  .steps__rail { left: 23px; }
}

/* ---------- Depoimentos ---------- */
.testimonials { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 20px; align-items: stretch; }
.testimonial {
  display: flex; flex-direction: column; gap: 24px; margin: 0;
  padding: clamp(28px, 3.4vw, 48px);
  border-radius: calc(var(--radius) + 4px); background: var(--surface); border: 1px solid var(--line);
}
.testimonial__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.testimonial__mark { width: 40px; height: 40px; color: var(--green); }
.testimonial__quote { margin: 0; }
.testimonial__quote p { font-size: 1.0625rem; line-height: 1.7; color: var(--ink-2); }
.testimonial__quote p + p { margin-top: 14px; }
.testimonial__author { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.testimonial__author b { display: block; font-family: var(--display); font-size: 1.0625rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.testimonial__author small { display: block; margin-top: 2px; font-size: .875rem; color: var(--muted); line-height: 1.45; }
.avatar {
  display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%;
  background: var(--green-50); color: var(--green-700);
  font-family: var(--display); font-weight: 700; font-size: .9375rem; letter-spacing: .02em;
}

/* Depoimento em destaque (escuro) */
.testimonial--lead { background: var(--dark); border-color: var(--dark); color: var(--on-dark); }
.testimonial--lead .testimonial__mark { color: var(--lime); }
.testimonial--lead .badge { background: rgba(156, 203, 63, .14); color: var(--lime); }
.testimonial--lead .testimonial__quote p {
  font-family: var(--display); font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.4375rem); font-weight: 500;
  line-height: 1.5; letter-spacing: -0.005em; color: var(--on-dark);
}
.testimonial--lead .testimonial__author { border-top-color: var(--dark-line); }
.testimonial--lead .testimonial__author b { color: var(--on-dark); }
.testimonial--lead .testimonial__author small { color: var(--on-dark-2); }
.testimonial--lead .avatar { background: rgba(156, 203, 63, .14); color: var(--lime); }

@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; } }

/* ---------- Equipe ---------- */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.person {
  display: flex; flex-direction: column; gap: 20px; padding: clamp(26px, 3vw, 40px);
  border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line);
}
.person__head { display: flex; align-items: center; gap: 22px; }
.person__photo {
  flex: none; width: 112px; height: 112px; border-radius: 50%;
  object-fit: cover; object-position: 50% 30%;
  background: var(--surface-2);
  box-shadow: 0 0 0 4px var(--surface), 0 0 0 5px var(--line);
}
@media (max-width: 420px) {
  .person__head { gap: 16px; }
  .person__photo { width: 84px; height: 84px; }
}
.person__name { font-size: clamp(1.375rem, 1.2rem + .5vw, 1.625rem); font-weight: 600; letter-spacing: -0.015em; }
.person__role { margin-top: 4px; font-family: var(--mono); font-size: .78125rem; letter-spacing: .04em; text-transform: uppercase; color: var(--green-600); }
.person__bio { color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.tags li { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .84375rem; font-weight: 500; color: var(--ink-2); }

.pillars { margin-top: clamp(64px, 8vw, 104px); }
.pillars__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 28px; }
.pillars__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.pillar { padding-top: 20px; border-top: 2px solid var(--ink); }
.pillar dt { font-family: var(--display); font-size: 1.25rem; font-weight: 600; margin-bottom: 8px; }
.pillar dd { font-size: .96875rem; color: var(--muted); }

@media (max-width: 960px) { .pillars__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .people { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .pillars__list { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 20px; justify-items: start; }
.faq__head .btn { margin-top: 8px; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  padding: 26px 0; cursor: pointer; list-style: none;
  font-family: var(--display); font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); font-weight: 600; line-height: 1.4; letter-spacing: -0.005em;
  transition: color .25s var(--ease);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--green-600); }
.qa summary .icon {
  width: 34px; height: 34px; padding: 8px; border-radius: 50%; margin-top: -3px;
  border: 1px solid var(--line-strong); color: var(--ink);
  transition: transform .4s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease), color .3s;
}
.qa[open] summary .icon { transform: rotate(45deg); background: var(--green-600); border-color: var(--green-600); color: #fff; }
.qa__body { overflow: hidden; }
.qa__body p { padding: 0 58px 28px 0; color: var(--ink-2); max-width: 66ch; }

@media (max-width: 960px) {
  .faq { grid-template-columns: 1fr; }
  .faq__head { position: static; }
}
@media (max-width: 560px) { .qa__body p { padding-right: 0; } }

/* ---------- Chamada ---------- */
.cta { position: relative; background: var(--dark); color: var(--on-dark); overflow: hidden; }
.cta::before {
  content: ""; position: absolute; right: -120px; top: 50%; width: 520px; height: 520px; transform: translateY(-50%);
  background: url("../img/marca/molecula.png") center / contain no-repeat; opacity: .08; pointer-events: none;
}
.cta__inner { position: relative; padding-block: clamp(72px, 9vw, 120px); display: grid; gap: 28px; }
.cta__title { max-width: 20ch; font-size: clamp(2rem, 1.1rem + 3vw, 3.75rem); font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; }
.cta__points { display: flex; flex-wrap: wrap; gap: 12px 28px; color: var(--on-dark-2); }
.cta__points li { display: flex; align-items: center; gap: 10px; }
.cta__points .icon { color: var(--lime); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.cta :focus-visible { outline-color: var(--lime); }

/* ---------- Contato ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__info { display: grid; gap: 22px; }
.how { counter-reset: how; display: grid; margin-top: 14px; border-top: 1px solid var(--line); }
.how li { counter-increment: how; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.how li::before {
  content: counter(how); grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--green-50); color: var(--green-700); font-family: var(--display); font-weight: 700;
}
.how b { font-family: var(--display); font-size: 1.0625rem; font-weight: 600; }
.how span { font-size: .9375rem; color: var(--muted); }

.channels { display: grid; gap: 14px; margin-top: 10px; }
.channels li { display: flex; align-items: center; gap: 14px; }
.channels__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--green-600); }
.channels small { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.channels span { font-weight: 500; overflow-wrap: anywhere; }

.form-card { display: grid; gap: 18px; padding: clamp(24px, 3.4vw, 44px); border-radius: calc(var(--radius) + 4px); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.form-card__title { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.015em; }
.form-card__meta { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; color: var(--muted); }
.form-card__meta .icon { color: var(--green-600); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 18px; }
.form-legal { font-size: .875rem; color: var(--muted); }
.form-legal .icon { display: inline-block; vertical-align: -3px; margin-right: 6px; color: var(--green-600); }

@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }

/* ---------- Campos ---------- */
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label { font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--ink); font-size: 1rem; line-height: 1.4;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23121613' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field input::placeholder, .field textarea::placeholder { color: #737B76; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-600); background: #fff; box-shadow: 0 0 0 4px rgba(47, 158, 58, .16);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field__error { font-size: .875rem; font-weight: 600; color: var(--error); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; font-size: .9375rem; }
.form-status:empty { display: none; }
.form-status[data-state="success"] { background: var(--green-50); color: var(--green-700); }
.form-status[data-state="error"] { background: var(--error-bg); color: #8A1C15; }

.notice { display: none; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--green-50); color: var(--green-700); font-weight: 600; }
.notice--error { background: var(--error-bg); color: #8A1C15; }
.notice:target { display: block; }

/* ---------- Rodapé + newsletter ---------- */
.site-footer { background: var(--dark); color: var(--on-dark-2); font-size: .9375rem; padding-top: clamp(56px, 7vw, 88px); }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.site-footer :focus-visible { outline-color: var(--lime); }

.newsletter {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 28px clamp(32px, 5vw, 72px); align-items: center;
  padding: clamp(28px, 4vw, 48px); border-radius: calc(var(--radius) + 6px);
  background: var(--dark-2); border: 1px solid var(--dark-line);
}
.newsletter__title { font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.375rem); font-weight: 600; letter-spacing: -0.025em; color: var(--on-dark); }
.newsletter__copy p { margin-top: 10px; max-width: 46ch; }
.newsletter__form { display: grid; gap: 14px; }
.newsletter__row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) auto; gap: 12px; align-items: end; }
.newsletter__row .btn { min-height: 50px; }
.field--dark label { color: var(--on-dark); }
.field--dark .optional { color: var(--on-dark-2); }
.field--dark input { background: var(--dark); border-color: #3A443D; color: var(--on-dark); }
.field--dark input:hover { border-color: #56605A; }
.field--dark input:focus { background: var(--dark); border-color: var(--lime); box-shadow: 0 0 0 4px rgba(156, 203, 63, .18); }
.field--dark .field__error, .newsletter .consent__error { color: #FFB4AB; font-size: .875rem; font-weight: 600; }
.newsletter a { color: var(--lime); text-decoration: underline; }
.newsletter a:hover { color: var(--on-dark); }

.consent { display: flex; align-items: flex-start; gap: 12px; font-size: .9rem; cursor: pointer; color: var(--on-dark-2); }
.consent input {
  appearance: none; flex: none; width: 20px; height: 20px; margin: 2px 0 0; display: grid; place-items: center;
  border: 1.5px solid #56605A; border-radius: 6px; background: transparent; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.consent input::after {
  content: ""; width: 5px; height: 10px; margin-top: -2px; border: solid var(--dark); border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0); transition: transform .2s var(--ease);
}
.consent input:checked { background: var(--lime); border-color: var(--lime); }
.consent input:checked::after { transform: rotate(45deg) scale(1); }
.consent input:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.consent input[aria-invalid="true"] { border-color: #FFB4AB; }
.newsletter .form-status[data-state="success"] { background: rgba(156, 203, 63, .14); color: var(--lime); }
.newsletter .form-status[data-state="error"] { background: rgba(255, 180, 171, .1); color: #FFDAD5; }
.newsletter .notice { background: rgba(156, 203, 63, .14); color: var(--lime); }
.newsletter .notice--error { background: rgba(255, 180, 171, .1); color: #FFDAD5; }

.footer__top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: clamp(56px, 7vw, 80px); }
.footer__brand img { width: 200px; }
.footer__brand p { margin-top: 18px; max-width: 32ch; }
.footer__heading { margin-bottom: 16px; font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { overflow-wrap: anywhere; }

.seals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: clamp(48px, 6vw, 72px); padding-block: 28px; border-block: 1px solid var(--dark-line); }
.seal { border: 1px solid var(--dark-line); border-radius: var(--radius); background: var(--dark-2); }
.seal, .seal--link a { display: flex; align-items: center; gap: 14px; padding: 16px; }
.seal--link { padding: 0; transition: border-color .3s var(--ease); }
.seal--link a { width: 100%; color: inherit; }
.seal--link:hover { border-color: var(--lime); }
.seal--link a:hover { color: inherit; }
.seal > span:last-child, .seal--link a > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.seal__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(156, 203, 63, .12); color: var(--lime); }
.seal__icon .icon { width: 20px; height: 20px; }
.seal b { font-family: var(--display); font-size: .9375rem; font-weight: 600; color: var(--on-dark); }
.seal small { font-size: .8125rem; line-height: 1.35; color: var(--on-dark-2); }

.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 26px 34px; font-size: .875rem; color: #8F9892; }
.footer__legal .cnpj { font-family: var(--mono); color: var(--on-dark-2); }

@media (max-width: 1080px) { .seals { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .newsletter { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) { .newsletter__row { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .seals { grid-template-columns: 1fr; }
}
@media (min-width: 761px) { .footer__legal { padding-right: 80px; } }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--green-600); color: #fff; box-shadow: 0 12px 28px -12px rgba(18, 22, 19, .55);
  transition: transform .45s var(--ease), background-color .25s var(--ease);
}
.js .wa-float { transform: scale(0); }
.js .wa-float.is-visible { transform: scale(1); }
.wa-float:hover { background: var(--green-700); color: #fff; }
.wa-float .icon { width: 28px; height: 28px; }

/* ---------- Páginas internas (política, 404) ---------- */
.legal { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 88px)); padding-bottom: clamp(64px, 8vw, 120px); }
.legal__wrap { max-width: 1120px; }
.legal__head { max-width: 780px; margin-bottom: clamp(32px, 4vw, 56px); padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.legal__head p { margin-top: 14px; color: var(--ink-2); font-size: 1.125rem; }
.legal__title { font-size: clamp(2.25rem, 1.3rem + 2.8vw, 3.75rem); font-weight: 600; letter-spacing: -0.03em; }
.legal__updated { font-family: var(--mono); font-size: .8125rem !important; color: var(--muted) !important; }
.legal__code { font-family: var(--display); font-size: clamp(4rem, 12vw, 6rem); font-weight: 300; line-height: .9; letter-spacing: -0.04em; color: var(--green-600); margin-bottom: 14px; }
.legal__wrap:has(.legal__toc) { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 0 clamp(32px, 5vw, 72px); }
.legal__wrap:has(.legal__toc) .legal__head { grid-column: 1 / -1; }
.legal__toc { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.legal__toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; font-size: .9375rem; }
.legal__toc a { color: var(--ink-2); text-decoration-color: var(--line-strong); }
.legal__toc a:hover { color: var(--green-600); }
.legal__body { max-width: 72ch; }
.legal__body section { padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.legal__body section:last-child { border-bottom: 0; }
.legal__body h2 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 14px; }
.legal__body h3 { font-size: 1.125rem; font-weight: 600; margin: 20px 0 8px; }
.legal__body p + p, .legal__body p + ul, .legal__body ul + p { margin-top: 12px; }
.legal__body ul, .legal__body ol { padding-left: 1.3em; display: grid; gap: 6px; }
.legal__body li::marker { color: var(--green-600); }
.legal--404 .legal__head { border-bottom: 0; }
.legal--404 .btn { margin: 0 10px 10px 0; }
@media (max-width: 899px) {
  .legal__wrap:has(.legal__toc) { grid-template-columns: 1fr; }
  .legal__toc { position: static; margin-bottom: 36px; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html:not(.lenis) { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js .steps__rail span { transform: scaleY(1); }
  .js .loader { display: none; }
  .js .wa-float { transform: scale(1); }
}
