/* =========================================================================
   ACMJ — Associação Cannabis Medicinal Jundiaí
   Design system inspirado no template "Herbalist" (paleta verde/creme/dourado,
   Nunito Sans, cantos arredondados, sombras verdes suaves).
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Tokens
   ------------------------------------------------------------------------- */
:root {
  /* Cores da marca */
  --green-900: #214842; /* verde-pinho — títulos, seções escuras */
  --green-700: #1c6d51;
  --green-500: #258f67; /* esmeralda — destaques, links, botão contorno */
  --sage:      #9ebca6; /* verde-sálvia — detalhes suaves */
  --gold:      #efc368; /* dourado — botão primário / acentos */
  --gold-deep: #e0ab45;

  --text:      #556260; /* corpo de texto */
  --heading:   var(--green-900);
  --muted:     #7d8a86;

  --cream:     #fafaf5; /* fundo alternado */
  --cream-2:   #f2f4ee;
  --white:     #ffffff;
  --border:    #e6e8e0;

  /* Tipografia */
  --font-head: "Nunito Sans", system-ui, -apple-system, sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, sans-serif;
  --font-alt:  "Montserrat", system-ui, sans-serif;

  /* Formas / sombras */
  --radius-sm: 12px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-pill: 100px;
  --shadow-sm: 1px 2px 15px rgba(33, 72, 66, .07);
  --shadow:    0 12px 30px rgba(37, 143, 103, .10);
  --shadow-lg: 0 24px 60px rgba(33, 72, 66, .14);
  --shadow-gold: 0 12px 26px rgba(224, 171, 69, .30);

  /* Layout */
  --container: 1200px;
  --gutter: 24px;
  --section-y: clamp(64px, 9vw, 120px);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* -------------------------------------------------------------------------
   2. Reset / base
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

/* -------------------------------------------------------------------------
   3. Tipografia
   ------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--heading);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); font-weight: 900; line-height: 1.08; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 900; }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
p  { color: var(--text); }
strong { color: var(--green-900); font-weight: 800; }

/* -------------------------------------------------------------------------
   4. Layout helpers
   ------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--cream { background: var(--cream); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-500);
  background: rgba(37, 143, 103, .10);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}
.eyebrow svg { width: 16px; height: 16px; }
.section-head p { margin-top: 16px; font-size: 1.08rem; }

.lead { font-size: 1.14rem; }

/* -------------------------------------------------------------------------
   5. Botões
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 30px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.02rem;
  border-radius: var(--radius-pill);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn svg { width: 20px; height: 20px; }
.btn--gold { background: var(--gold); color: var(--green-900); box-shadow: var(--shadow-gold); }
.btn--gold:hover { background: var(--gold-deep); color: var(--green-900); transform: translateY(-3px); }
.btn--green { background: var(--green-500); color: #fff; box-shadow: 0 12px 26px rgba(37,143,103,.28); }
.btn--green:hover { background: var(--green-900); color: #fff; transform: translateY(-3px); }
.btn--outline { background: transparent; color: var(--green-500); box-shadow: inset 0 0 0 2px var(--green-500); }
.btn--outline:hover { background: var(--green-500); color: #fff; transform: translateY(-3px); }
.btn--light { background: #fff; color: var(--green-900); box-shadow: var(--shadow-sm); }
.btn--light:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.btn--ghost-light { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.btn--ghost-light:hover { background: #fff; color: var(--green-900); }
.btn--sm { height: 46px; padding: 0 22px; font-size: .95rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 800; color: var(--green-500);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* -------------------------------------------------------------------------
   6. Header / navegação
   ------------------------------------------------------------------------- */
.topbar {
  background: var(--green-900);
  color: rgba(255,255,255,.85);
  font-size: .85rem;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 42px; flex-wrap: wrap;
}
.topbar a { color: #fff; }
.topbar__badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--gold); }
.topbar__badge svg { width: 15px; height: 15px; }
.topbar__contact { display: inline-flex; align-items: center; gap: 20px; }
.topbar__contact a { display: inline-flex; align-items: center; gap: 7px; }
.topbar__contact svg { width: 14px; height: 14px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
/* NB: sem backdrop-filter aqui de propósito — ele tornaria o header o
   containing block do menu mobile (position:fixed), quebrando o off-canvas. */
.site-header.is-stuck { box-shadow: var(--shadow-sm); border-color: var(--border); }
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 76px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; display: grid; place-items: center; flex: none;
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.brand__mark img { width: 100%; height: 100%; object-fit: contain; }
.brand__mark svg { width: 26px; height: 26px; }
.brand__name { font-family: var(--font-head); font-weight: 900; font-size: 1.15rem; color: var(--green-900); line-height: 1; letter-spacing: -.02em; }
.brand__tag { display: block; font-family: var(--font-alt); font-weight: 500; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  color: var(--green-900); padding: 10px 14px; border-radius: var(--radius-pill);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav a:hover, .nav a.is-active { background: rgba(37,143,103,.10); color: var(--green-500); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: 14px;
  background: rgba(37,143,103,.10); color: var(--green-900);
  place-items: center;
}
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
body.nav-open .nav-toggle .icon-open { display: none; }
body.nav-open .nav-toggle .icon-close { display: block; }

/* -------------------------------------------------------------------------
   7. Hero
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(158,188,166,.35), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(239,195,104,.18), transparent 55%),
    var(--cream);
  overflow: hidden;
}
.hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px);
  align-items: center; padding-block: clamp(56px, 8vw, 104px);
}
.hero h1 { margin-bottom: 22px; }
.hero h1 .accent { color: var(--green-500); }
.hero__lead { font-size: 1.16rem; max-width: 560px; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 22px; }
.hero__trust li { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; color: var(--green-900); font-size: .95rem; }
.hero__trust svg { width: 20px; height: 20px; color: var(--green-500); flex: none; }

/* Visual do hero (ilustração + card flutuante) */
.hero__media { position: relative; }
.hero__card-main {
  position: relative;
  border-radius: 28px;
  background: linear-gradient(160deg, var(--green-700), var(--green-900));
  padding: 40px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  min-height: 440px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero__card-main::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(33,72,66,.94) 8%, rgba(33,72,66,.5) 45%, rgba(33,72,66,.12) 100%);
}
.hero__card-main .leaf-bg { position: absolute; inset: 0; opacity: .18; }
.hero__card-main .leaf-bg svg { width: 100%; height: 100%; }
.hero__card-main h3 { color: #fff; font-size: 1.5rem; position: relative; z-index: 2; }
.hero__card-main p { color: rgba(255,255,255,.88); position: relative; z-index: 2; margin-top: 10px; }
.hero__pill {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.14); color: #fff; font-weight: 800;
  font-family: var(--font-head); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 8px 16px; border-radius: var(--radius-pill); margin-bottom: auto; width: fit-content;
  z-index: 2;
}
.hero__pill svg { width: 16px; height: 16px; color: var(--gold); }

.hero__stat {
  position: absolute; left: -26px; bottom: -26px; z-index: 3;
  background: #fff; border-radius: var(--radius);
  padding: 16px 20px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 14px;
}
.hero__stat .ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(239,195,104,.22); color: var(--gold-deep); display: grid; place-items: center; flex: none; }
.hero__stat .ico svg { width: 24px; height: 24px; }
.hero__stat b { font-family: var(--font-head); font-size: 1.15rem; color: var(--green-900); line-height: 1.1; display: block; }
.hero__stat span { font-size: .85rem; color: var(--muted); }

.hero__stat--top { left: auto; right: 8px; bottom: auto; top: 96px; }
.hero__stat--top .ico { background: rgba(37,143,103,.14); color: var(--green-500); }

/* -------------------------------------------------------------------------
   8. Faixa de marcadores / logos de confiança
   ------------------------------------------------------------------------- */
.marquee-strip {
  background: var(--green-900); color: rgba(255,255,255,.82);
  padding-block: 22px;
}
.marquee-strip .container { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; justify-content: center; }
.marquee-strip li { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: .98rem; }
.marquee-strip svg { width: 22px; height: 22px; color: var(--gold); flex: none; }

/* -------------------------------------------------------------------------
   9. Pilares / Quem somos
   ------------------------------------------------------------------------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about__media { position: relative; }
.about__frame {
  border-radius: 28px; overflow: hidden;
  background: linear-gradient(160deg, var(--sage), var(--green-500));
  aspect-ratio: 4/5; box-shadow: var(--shadow-lg);
  position: relative;
}
.about__frame img { width: 100%; height: 100%; object-fit: cover; }
.about__frame .leaf-bg { position: absolute; inset: 0; opacity: .25; }
.about__badge {
  position: absolute; right: -20px; bottom: 30px;
  background: #fff; border-radius: var(--radius); padding: 20px 24px;
  box-shadow: var(--shadow); text-align: center; max-width: 200px;
}
.about__badge b { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--green-500); line-height: 1; }
.about__badge span { font-size: .88rem; color: var(--muted); }

.pillars { display: grid; gap: 18px; margin-top: 30px; }
.pillar { display: flex; gap: 16px; align-items: flex-start; }
.pillar__ico {
  width: 52px; height: 52px; border-radius: 14px; flex: none;
  background: rgba(37,143,103,.10); color: var(--green-500);
  display: grid; place-items: center;
}
.pillar__ico svg { width: 26px; height: 26px; }
.pillar h3 { font-size: 1.15rem; margin-bottom: 4px; }
.pillar p { font-size: .98rem; }

/* -------------------------------------------------------------------------
   10. Grid de condições tratadas
   ------------------------------------------------------------------------- */
.cond-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.cond {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius); aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.cond img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cond::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,45,42,.92) 4%, rgba(28,45,42,.35) 48%, rgba(28,45,42,0) 80%);
}
.cond h3 { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; color: #fff; font-size: 1.02rem; font-weight: 800; line-height: 1.2; }
.cond:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cond:hover img { transform: scale(1.07); }
/* Tile de chamada (sem foto) */
.cond--cta { background: var(--green-900); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 20px; }
.cond--cta::after { display: none; }
.cond--cta .cond__ico { width: 54px; height: 54px; border-radius: 16px; background: rgba(255,255,255,.12); color: var(--gold); display: grid; place-items: center; }
.cond--cta .cond__ico svg { width: 28px; height: 28px; }
.cond--cta h3 { position: static; color: #fff; left: auto; right: auto; bottom: auto; }
.cond--cta p { color: var(--sage); font-size: .85rem; }
.cond-note { text-align: center; margin-top: 30px; color: var(--muted); font-size: .95rem; }

/* -------------------------------------------------------------------------
   11. Serviços
   ------------------------------------------------------------------------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service {
  position: relative; background: var(--white); border-radius: var(--radius-lg);
  padding: 34px 28px; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  border: 1px solid var(--border);
}
.service::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 4px;
  background: linear-gradient(90deg, var(--green-500), var(--gold)); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service:hover::after { transform: scaleX(1); }
.service__ico {
  width: 64px; height: 64px; border-radius: 18px; margin-bottom: 20px;
  background: linear-gradient(160deg, rgba(37,143,103,.14), rgba(239,195,104,.14));
  color: var(--green-500); display: grid; place-items: center;
}
.service__ico svg { width: 32px; height: 32px; }
.service h3 { margin-bottom: 10px; }
.service p { font-size: .96rem; }
.service .link-arrow { margin-top: 18px; font-size: .95rem; }

/* -------------------------------------------------------------------------
   12. Como funciona (passos)
   ------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step__num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green-900); color: #fff; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 900; font-size: 1.3rem; margin-bottom: 18px;
  box-shadow: 0 10px 22px rgba(33,72,66,.22);
}
.step:nth-child(2) .step__num { background: var(--green-500); }
.step:nth-child(3) .step__num { background: var(--sage); color: var(--green-900); }
.step:nth-child(4) .step__num { background: var(--gold); color: var(--green-900); }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { font-size: .96rem; }
.step::before {
  content: ""; position: absolute; top: 28px; left: 68px; right: -10px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--sage) 0 8px, transparent 8px 16px);
}
.step:last-child::before { display: none; }

/* -------------------------------------------------------------------------
   13. Seção P&D destacada
   ------------------------------------------------------------------------- */
.rnd { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.rnd__list { display: grid; gap: 14px; margin-top: 26px; }
.rnd__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; }
.rnd__list svg { width: 24px; height: 24px; color: var(--green-500); flex: none; margin-top: 2px; }
.rnd__media {
  border-radius: 28px; background: linear-gradient(160deg, var(--green-900), var(--green-700));
  min-height: 360px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
  display: grid; place-items: center; color: #fff; padding: 40px;
}
.rnd__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rnd__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(155deg, rgba(28,109,81,.88), rgba(33,72,66,.95)); }
.rnd__media .leaf-bg { position: absolute; inset: 0; opacity: .16; }
.rnd__quote { position: relative; z-index: 2; text-align: center; max-width: 380px; }
.rnd__quote svg { width: 44px; height: 44px; color: var(--gold); margin: 0 auto 16px; }
.rnd__quote p { color: #fff; font-size: 1.25rem; font-family: var(--font-head); font-weight: 700; line-height: 1.4; }
.rnd__quote span { display: block; margin-top: 16px; color: var(--sage); font-weight: 700; }

/* -------------------------------------------------------------------------
   14. Faixa CTA (verde escuro)
   ------------------------------------------------------------------------- */
.cta-band {
  background:
    radial-gradient(700px 400px at 90% 0%, rgba(37,143,103,.5), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(239,195,104,.20), transparent 55%),
    var(--green-900);
  color: #fff; border-radius: 32px; padding: clamp(40px, 6vw, 72px);
  text-align: center; position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 640px; margin: 16px auto 0; font-size: 1.1rem; }
.cta-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; text-align: left; }
.cta-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 26px; transition: background .25s var(--ease), transform .25s var(--ease);
}
.cta-card:hover { background: rgba(255,255,255,.12); transform: translateY(-4px); }
.cta-card__ico { width: 52px; height: 52px; border-radius: 14px; background: rgba(239,195,104,.2); color: var(--gold); display: grid; place-items: center; margin-bottom: 16px; }
.cta-card__ico svg { width: 26px; height: 26px; }
.cta-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: 8px; }
.cta-card p { color: rgba(255,255,255,.78); margin: 0 0 18px; font-size: .96rem; }

/* -------------------------------------------------------------------------
   14b. Reconhecimento (faixa verde com foto)
   ------------------------------------------------------------------------- */
.recognition {
  display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 5vw, 60px);
  align-items: center;
  background:
    radial-gradient(700px 400px at 90% 0%, rgba(37,143,103,.5), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(239,195,104,.20), transparent 55%),
    var(--green-900);
  color: #fff; border-radius: 32px; padding: clamp(32px, 5vw, 64px);
  position: relative; overflow: hidden;
}
.recognition h2 { color: #fff; }
.recognition__text p { color: rgba(255,255,255,.85); margin-top: 16px; font-size: 1.08rem; }
.recognition__figure { margin: 0; }
.recognition__figure img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.recognition__figure figcaption {
  margin-top: 14px; font-size: .9rem; color: rgba(255,255,255,.72); text-align: center;
}
@media (max-width: 860px) {
  .recognition { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------------------
   15. FAQ (sanfona)
   ------------------------------------------------------------------------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.faq-aside { position: sticky; top: 110px; }
.faq-aside .btn { margin-top: 22px; }
.faq { display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; overflow: hidden; transition: box-shadow .25s var(--ease), border-color .25s var(--ease); }
.faq-item.is-open { box-shadow: var(--shadow); border-color: transparent; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 24px; text-align: left; font-family: var(--font-head); font-weight: 800;
  font-size: 1.08rem; color: var(--green-900);
}
.faq-q .chevron { width: 34px; height: 34px; border-radius: 50%; background: rgba(37,143,103,.10); color: var(--green-500); display: grid; place-items: center; flex: none; transition: transform .3s var(--ease), background .25s var(--ease); }
.faq-q .chevron svg { width: 20px; height: 20px; }
.faq-item.is-open .chevron { transform: rotate(180deg); background: var(--green-500); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a__inner { padding: 0 24px 24px; }
.faq-a p { font-size: 1rem; }

/* -------------------------------------------------------------------------
   16. Contato
   ------------------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 5vw, 64px); }
.contact__cards { display: grid; gap: 16px; margin-top: 30px; }
.contact__card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.contact__card .ico { width: 50px; height: 50px; border-radius: 14px; background: rgba(37,143,103,.10); color: var(--green-500); display: grid; place-items: center; flex: none; }
.contact__card .ico svg { width: 24px; height: 24px; }
.contact__card h3 { font-size: 1.05rem; margin-bottom: 3px; }
.contact__card a, .contact__card p { font-size: .98rem; color: var(--text); }

.form { background: var(--cream); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--green-900); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--green-900);
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 13px 16px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(37,143,103,.15); outline: none; }
.form small { display: block; margin-top: 4px; color: var(--muted); font-size: .85rem; }

/* -------------------------------------------------------------------------
   17. Footer
   ------------------------------------------------------------------------- */
.footer { background: var(--green-900); color: rgba(255,255,255,.72); padding-block: clamp(56px, 7vw, 88px) 0; }
.footer a { color: rgba(255,255,255,.72); }
.footer a:hover { color: var(--gold); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.footer .brand__name { color: #fff; }
.footer .brand__tag { color: var(--sage); }
.footer .brand__mark { background: #fff; }
.footer__about { margin-top: 20px; max-width: 320px; font-size: .96rem; }
.footer__social { display: flex; gap: 12px; margin-top: 22px; }
.footer__social a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .2s var(--ease), transform .2s var(--ease); }
.footer__social a:hover { background: var(--gold); transform: translateY(-3px); }
.footer__social svg { width: 20px; height: 20px; }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 20px; }
.footer__links { display: grid; gap: 12px; font-size: .96rem; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; font-size: .96rem; }
.footer__contact svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 3px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: clamp(40px, 5vw, 64px); padding-block: 26px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; font-size: .88rem; }
.footer__legal { max-width: 720px; font-size: .82rem; color: rgba(255,255,255,.5); padding-bottom: 26px; }

/* -------------------------------------------------------------------------
   18. Botão flutuante WhatsApp
   ------------------------------------------------------------------------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 62px; height: 62px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37,211,102,.4); transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 34px; height: 34px; }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: wa-pulse 2.4s infinite;
}
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* -------------------------------------------------------------------------
   19. Animações de entrada
   ------------------------------------------------------------------------- */
/* Conteúdo visível por padrão; a animação só entra quando o JS marca <html class="js-reveal">.
   Assim, sem JS (ou se ele falhar), nada fica escondido. */
.js-reveal .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }
.js-reveal .reveal[data-delay="1"] { transition-delay: .08s; }
.js-reveal .reveal[data-delay="2"] { transition-delay: .16s; }
.js-reveal .reveal[data-delay="3"] { transition-delay: .24s; }
.js-reveal .reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .js-reveal .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* -------------------------------------------------------------------------
   20. Responsivo
   ------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .cond-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 880px) {
  .topbar__contact { display: none; }
  .nav-toggle { display: grid; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 84vw);
    background: #fff; flex-direction: column; align-items: stretch; gap: 6px;
    padding: 96px 24px 32px; box-shadow: var(--shadow-lg);
    transform: translateX(105%); transition: transform .35s var(--ease); z-index: 95;
    overflow-y: auto;
  }
  body.nav-open .nav { transform: none; }
  .nav a { padding: 14px 18px; font-size: 1.1rem; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(33,72,66,.45); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease); z-index: 94; }
  body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  .header-actions .btn { display: none; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 480px; margin-top: 4px; }
  .hero__stat, .hero__stat--top {
    position: static; left: auto; right: auto; top: auto; bottom: auto;
    margin-top: 14px; width: 100%;
  }

  .about, .rnd, .contact, .faq-wrap { grid-template-columns: 1fr; }
  .about__media { max-width: 440px; }
  .faq-aside { position: static; }
  .cta-cards { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .cond-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid, .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1 1 100%; }
  .about__badge, .hero__stat { position: static; margin-top: 16px; max-width: none; }
}
