/* =========================================================
   Varela Jardinagem — "Caderno de Campo"
   Sistema visual: papel creme, serifa editorial, verde-floresta.
   ========================================================= */

:root {
  /* Papel */
  --paper: #f4efe6;
  --paper-2: #ebe3d5;
  --paper-3: #fffdf9;
  --line: #d6cbba;
  --line-strong: #b9ab98;

  /* Tinta (derivada do marrom da logo #84716B) */
  --ink: #2a2320;
  --ink-2: #4a3c37;
  --muted: #65554f;

  /* Verdes (derivados do verde da logo #5F9659) */
  --green-950: #13251a;
  --green-900: #1e3a22;
  --green-700: #2f5a31;   /* botões e links — 7.4:1 sobre o papel */
  --green-600: #3d6e3e;
  --green-500: #5f9659;   /* verde da logo — só decorativo/textos grandes */
  --green-300: #8cc36a;
  --green-100: #e3ecdc;

  --brown: #84716b;       /* marrom da logo — decorativo */
  --focus: #b4541f;       /* anel de foco: contraste alto contra papel e verde */

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 6px;
  --radius-lg: 12px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 136px);

  --shadow: 0 1px 0 rgba(42, 35, 32, .04), 0 18px 40px -24px rgba(42, 35, 32, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
/* Grão de papel sutil */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: .35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .33 0 0 0 0 .28 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--green-900); text-decoration-thickness: 2px; }

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  font-variation-settings: "SOFT" 30, "opsz" 96;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.25rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
em.hand, h1 em, h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--green-700);
  font-variation-settings: "SOFT" 100, "opsz" 144;
}

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

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--green-900); color: #fff; padding: 12px 18px;
  border-radius: var(--radius); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; color: #fff; }

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

/* ---------- Rótulos de caderno ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.25rem;
  flex-wrap: wrap;
}
.kicker::before {
  content: ""; width: 28px; height: 1px; background: currentColor;
}
.entry {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  color: var(--green-700); font-size: 1rem; letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

/* ---------- Botões ---------- */
.btn {
  --b-bg: var(--green-700); --b-fg: #fff; --b-bd: var(--green-700);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 12px 22px;
  border: 1.5px solid var(--b-bd); border-radius: var(--radius);
  background: var(--b-bg); color: var(--b-fg);
  font: 700 .975rem/1.2 var(--sans);
  text-decoration: none; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { --b-bg: var(--green-900); --b-bd: var(--green-900); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(30, 58, 34, .7); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--green-700); }
.btn--ghost:hover { --b-bg: var(--green-700); --b-bd: var(--green-700); }
.btn--light { --b-bg: var(--paper); --b-fg: var(--green-900); --b-bd: var(--paper); }
.btn--light:hover { --b-bg: #fff; --b-bd: #fff; color: var(--green-900); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 700; text-decoration: none; color: var(--green-700);
  min-height: 44px;
}
.link-arrow span { border-bottom: 1.5px solid currentColor; }
.link-arrow:hover { color: var(--green-900); text-decoration: none; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }
.nav-list { display: flex; gap: clamp(16px, 2.2vw, 32px); list-style: none; margin: 0; padding: 0; }
.nav-list a {
  color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 10px 2px; display: inline-block; position: relative;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1.5px;
  background: var(--green-700); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--green-900); }
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { min-height: 44px; padding: 10px 18px; }

.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: var(--radius);
  border: 1.5px solid var(--line-strong); background: transparent; color: var(--ink);
  cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: 76px 0 auto 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    display: none;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list a { display: block; padding: 16px 0; font-size: 1.1rem; }
  .nav-list a::after { display: none; }
}
@media (max-width: 520px) {
  .header-actions .btn--ghost { display: none; }
  .brand img { height: 40px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
  padding-block: clamp(48px, 7vw, 96px);
}
.hero h1 { margin-bottom: .45em; }
.hero .lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); color: var(--ink-2); max-width: 34ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2.25rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; color: var(--ink-2); font-size: .95rem; font-weight: 600; }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 18px; height: 18px; color: var(--green-600); flex: none; }

.plate {
  display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr;
  gap: 12px; aspect-ratio: 1 / 1.02; position: relative;
}
.plate figure { margin: 0; position: relative; overflow: hidden; border-radius: 4px; background: var(--paper-2); }
.plate figure:first-child { grid-row: span 2; }
.plate img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.plate figure:hover img { transform: scale(1.04); }
.plate figcaption, .caption {
  position: absolute; left: 10px; bottom: 10px;
  background: var(--paper); color: var(--ink-2);
  font-size: .75rem; font-weight: 600; letter-spacing: .02em;
  padding: 4px 9px; border-radius: 3px;
  box-shadow: 0 1px 0 rgba(0,0,0,.05);
}
.plate figcaption b, .caption b { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--green-700); margin-right: 4px; }

/* Selo circular de "20 anos" */
.seal {
  position: absolute; z-index: 2;
  left: -34px; bottom: 18%;
  width: 124px; height: 124px; border-radius: 50%;
  background: var(--green-900); color: var(--paper);
  display: grid; place-items: center; text-align: center;
  box-shadow: 0 16px 30px -14px rgba(19, 37, 26, .8);
}
.seal svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 40s linear infinite; }
.seal svg.ring text { font: 700 9.4px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; fill: var(--green-300); }
.seal strong { font-family: var(--serif); font-weight: 500; font-size: 2.1rem; line-height: 1; display: block; }
.seal small { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Folha desenhada no fundo do hero */
.hero-leaf {
  position: absolute; right: -60px; top: -40px; width: 360px; height: auto;
  color: var(--green-500); opacity: .14; pointer-events: none;
}

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .plate { aspect-ratio: 4 / 3.4; }
  .seal { left: -6px; right: auto; bottom: auto; top: -22px; width: 84px; height: 84px; }
  .seal svg.ring { display: none; }
  .seal strong { font-size: 1.5rem; }
  .seal small { font-size: .6rem; }
}

/* ---------- Públicos (faixa de 3) ---------- */
.audiences { border-bottom: 1px solid var(--line); background: var(--paper); }
.audiences ul { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.audiences li { border-right: 1px solid var(--line); }
.audiences li:last-child { border-right: 0; }
.audience {
  display: grid; grid-template-columns: auto 1fr auto; gap: 4px 16px; align-items: center;
  padding: 28px clamp(16px, 3vw, 40px); text-decoration: none; color: var(--ink-2);
  height: 100%; transition: background .25s var(--ease);
}
.audience:hover { background: var(--paper-2); color: var(--ink-2); text-decoration: none; }
.audience .ico { grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; color: var(--green-700); transition: background .25s, color .25s, border-color .25s; }
.audience:hover .ico { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.audience .ico svg { width: 22px; height: 22px; }
.audience strong { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; color: var(--ink); line-height: 1.2; }
.audience span.d { font-size: .95rem; grid-column: 2; }
.audience .go { grid-row: 1 / span 2; grid-column: 3; color: var(--green-700); transition: transform .25s var(--ease); }
.audience:hover .go { transform: translateX(4px); }
.audience .go svg { width: 20px; height: 20px; }
@media (max-width: 860px) {
  .audiences ul { grid-template-columns: 1fr; }
  .audiences li { border-right: 0; border-bottom: 1px solid var(--line); }
  .audiences li:last-child { border-bottom: 0; }
}

/* ---------- Seções ---------- */
.section { padding-block: var(--section); }
.section--tint { background: var(--paper-2); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { margin: 0; }
.section-head p { color: var(--ink-2); font-size: 1.1rem; margin: 0; max-width: 46ch; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Números ---------- */
.ledger { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.ledger div { padding: 28px 24px 26px 0; border-right: 1px solid var(--line); }
.ledger div:not(:first-child) { padding-left: 24px; }
.ledger div:last-child { border-right: 0; }
.ledger dt { font-size: .9rem; color: var(--muted); font-weight: 600; order: 2; }
.ledger dd { margin: 0; font-family: var(--serif); font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 400; line-height: 1; color: var(--ink); letter-spacing: -.02em; }
.ledger dd sup { font-size: .45em; color: var(--green-600); vertical-align: top; position: relative; top: .3em; margin-left: 2px; }
.ledger > div { display: flex; flex-direction: column-reverse; gap: 10px; }
@media (max-width: 760px) {
  .ledger { grid-template-columns: 1fr 1fr; }
  .ledger div:nth-child(2) { border-right: 0; }
  .ledger div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .ledger div:nth-child(3) { padding-left: 0; }
}

/* ---------- Serviços: fichas de herbário ---------- */
.svc-group + .svc-group { margin-top: clamp(56px, 7vw, 88px); }
.svc-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--ink); padding-bottom: 14px; margin-bottom: 28px; }
.svc-group-head h3 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.svc-group-head p { margin: 0; color: var(--muted); font-size: .95rem; }
.specimens { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 1080px) { .specimens { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .specimens { grid-template-columns: 1fr; } }

.specimen {
  background: var(--paper-3); border: 1px solid var(--line);
  border-radius: 4px; padding: 12px; height: 100%;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.specimen:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: var(--shadow); }
.specimen .ph { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; background: var(--paper-2); }
.specimen .ph img { width: 100%; height: 100%; object-fit: cover; }
.specimen .label { padding: 14px 6px 6px; display: flex; flex-direction: column; flex: 1; }
.specimen .no { font-family: var(--serif); font-style: italic; color: var(--green-700); font-size: .9rem; }
.specimen h4 { font-size: 1.3rem; margin: 2px 0 8px; }
.specimen p { font-size: .95rem; color: var(--ink-2); margin-bottom: 14px; }
.specimen dl { margin: auto 0 0; padding-top: 10px; border-top: 1px dashed var(--line-strong); display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; font-size: .82rem; }
.specimen dt { color: var(--muted); font-weight: 600; }
.specimen dd { margin: 0; color: var(--ink); font-weight: 600; }

/* ---------- Como funciona ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.steps li { position: relative; padding: 0 24px 0 0; counter-increment: step; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: 3.4rem; line-height: 1; color: var(--green-500); margin-bottom: 18px;
}
.steps h3 { font-size: 1.35rem; }
.steps p { color: var(--ink-2); font-size: .98rem; margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps li, .steps li + li { padding: 0 0 0 0; border-left: 0; }
  .steps li + li { padding-top: 32px; border-top: 1px solid var(--line); }
}

/* ---------- Bloco condomínios (feature dividida) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 900px) { .split, .split--rev { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }
.frame-photo { position: relative; margin: 0; }
.frame-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.frame-photo::after {
  content: ""; position: absolute; inset: 14px -14px -14px 14px;
  border: 1px solid var(--line-strong); border-radius: 4px; z-index: -1;
}
.checklist { list-style: none; margin: 0 0 2rem; padding: 0; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.checklist li:first-child { border-top: 1px solid var(--line); }
.checklist svg { width: 22px; height: 22px; color: var(--green-700); margin-top: 3px; }
.checklist strong { display: block; color: var(--ink); }
.checklist span { color: var(--ink-2); font-size: .97rem; }

/* ---------- Trabalhos ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 120px; gap: 12px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 4px; background: var(--paper-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.g1 { grid-column: 1 / 6;  grid-row: 1 / 5; }
.g2 { grid-column: 6 / 10; grid-row: 1 / 3; }
.g3 { grid-column: 10 / 13; grid-row: 1 / 3; }
.g4 { grid-column: 6 / 9;  grid-row: 3 / 5; }
.g5 { grid-column: 9 / 13; grid-row: 3 / 5; }
@media (max-width: 860px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery figure { grid-column: auto; grid-row: auto; }
  .gallery .g1 { grid-column: 1 / -1; grid-row: span 2; }
  .gallery .g5 { grid-column: 1 / -1; }
}

/* ---------- Depoimentos ---------- */
.quotes { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.quote { margin: 0; padding: clamp(28px, 4vw, 44px); background: var(--paper-3); border: 1px solid var(--line); border-radius: 4px; display: flex; flex-direction: column; }
.quote--big { grid-row: span 2; background: var(--green-900); color: var(--paper); border-color: var(--green-900); }
.quote blockquote { margin: 0 0 24px; font-family: var(--serif); font-weight: 400; font-size: 1.2rem; line-height: 1.45; }
.quote--big blockquote { font-size: clamp(1.5rem, 2.6vw, 2.15rem); font-weight: 300; line-height: 1.3; }
.quote blockquote::before { content: "“"; display: block; font-size: 3.5em; line-height: .6; color: var(--green-500); margin-bottom: 10px; }
.quote--big blockquote::before { color: var(--green-300); }
.quote figcaption { margin-top: auto; font-weight: 700; font-size: .95rem; }
.quote figcaption span { display: block; font-weight: 500; color: var(--muted); font-size: .88rem; }
.quote--big figcaption span { color: #c9d6c2; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } .quote--big { grid-row: auto; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; font-family: var(--serif); font-size: clamp(1.15rem, 1.8vw, 1.4rem); color: var(--ink);
  min-height: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: transform .3s var(--ease), background .3s, color .3s; color: var(--green-700); }
.faq summary .pm svg { width: 16px; height: 16px; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--green-700); color: #fff; border-color: var(--green-700); }
.faq summary:hover { color: var(--green-900); }
.faq .ans { padding: 0 64px 24px 0; color: var(--ink-2); max-width: 70ch; }

/* ---------- CTA final ---------- */
.cta {
  position: relative; overflow: hidden;
  background: var(--green-900); color: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 80px);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end;
}
.cta h2 { color: var(--paper); margin-bottom: .3em; }
.cta h2 em { color: var(--green-300); }
.cta p { color: #d4ddd0; max-width: 44ch; margin: 0; font-size: 1.1rem; }
.cta .actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.cta .btn--ghost { --b-fg: var(--paper); --b-bd: rgba(244, 239, 230, .5); }
.cta .btn--ghost:hover { --b-bg: var(--paper); --b-bd: var(--paper); color: var(--green-900); }
.cta .contact-line { font-size: .95rem; color: #c9d6c2; text-align: center; }
.cta .contact-line a { color: var(--paper); font-weight: 700; }
.cta-leaf { position: absolute; right: -40px; bottom: -70px; width: 300px; color: var(--green-300); opacity: .12; pointer-events: none; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Rodapé ---------- */
.site-footer { padding-block: 72px 32px; border-top: 1px solid var(--line); margin-top: var(--section); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .9fr 1fr 1.3fr; gap: 40px; }
.footer-grid h2 { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 6px; }
.footer-grid a { color: var(--ink-2); text-decoration: none; display: inline-block; padding: 4px 0; }
.footer-grid a:hover { color: var(--green-900); text-decoration: underline; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: var(--ink-2); max-width: 32ch; font-size: .97rem; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; color: var(--green-700); padding: 0; }
.socials a:hover { background: var(--green-700); color: #fff; border-color: var(--green-700); text-decoration: none; }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: .88rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer-brand { grid-column: span 2; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } .footer-brand { grid-column: auto; } }
@media (max-width: 520px) { .footer-grid a { overflow-wrap: anywhere; } }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--green-900); color: #fff; text-decoration: none;
  padding: 0 18px 0 14px; height: 54px; border-radius: 999px;
  font-weight: 700; font-size: .95rem;
  box-shadow: 0 14px 30px -12px rgba(19, 37, 26, .7);
  transition: transform .25s var(--ease), background .25s;
}
.wa-float:hover { background: var(--green-950); color: #fff; transform: translateY(-2px); text-decoration: none; }
.wa-float svg { width: 26px; height: 26px; }
@media (max-width: 520px) { .wa-float span { display: none; } .wa-float { padding: 0; width: 56px; justify-content: center; } }

/* ---------- Cabeçalho de página interna ---------- */
.page-head { border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 64px); }
.page-head h1 { max-width: 16ch; }
.page-head .lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); color: var(--ink-2); max-width: 52ch; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 24px; }
.breadcrumb ol { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; flex-wrap: wrap; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); }

/* ---------- Planos (condomínios) ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.plan { background: var(--paper-3); border: 1px solid var(--line); border-radius: 4px; padding: 32px 28px; height: 100%; display: flex; flex-direction: column; }
.plan--featured { border: 2px solid var(--green-700); position: relative; }
.plan--featured .flag { position: absolute; top: -13px; left: 24px; background: var(--green-700); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 3px; }
.plan .freq { font-family: var(--serif); font-style: italic; color: var(--green-700); }
.plan h3 { margin: 4px 0 12px; }
.plan > p { color: var(--ink-2); font-size: .97rem; }
.plan ul { list-style: none; margin: 8px 0 24px; padding: 0; font-size: .95rem; }
.plan ul li { padding: 8px 0 8px 26px; border-top: 1px dashed var(--line); position: relative; }
.plan ul li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 10px; height: 6px; border-left: 2px solid var(--green-700); border-bottom: 2px solid var(--green-700); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; } }

/* ---------- Formulário de orçamento ---------- */
.quote-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .quote-layout { grid-template-columns: 1fr; } .quote-aside { order: 2; } }

.qform { background: var(--paper-3); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); }
.progress { margin-bottom: 28px; }
.progress-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 12px; }
.progress-bar span { height: 5px; border-radius: 3px; background: var(--line); transition: background .4s var(--ease); }
.progress-bar span.done { background: var(--green-700); }
.progress-text { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0; }

.qstep { border: 0; margin: 0; padding: 0; min-width: 0; }
.qstep legend { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.15; letter-spacing: -.01em; padding: 0; margin-bottom: 8px; color: var(--ink); }
.qstep legend:focus { outline: none; }
.qstep legend:focus-visible { outline: 3px solid var(--focus); outline-offset: 6px; }
.qstep .hint { color: var(--muted); margin: 0 0 22px; font-size: .97rem; }
.js .qstep[hidden] { display: none; }

.choices { display: grid; gap: 10px; margin-bottom: 8px; }
.choices--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .choices--2 { grid-template-columns: 1fr; } }

.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice .box {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center;
  min-height: 64px; padding: 12px 16px;
  border: 1.5px solid var(--line-strong); border-radius: 8px; background: #fff;
  cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s;
}
.choice .box:hover { border-color: var(--green-600); background: #fbfaf5; }
.choice .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; color: var(--green-700); transition: background .2s, color .2s; }
.choice .ic svg { width: 22px; height: 22px; }
.choice b { display: block; font-size: 1.02rem; color: var(--ink); }
.choice small { display: block; color: var(--muted); font-size: .88rem; line-height: 1.4; }
.choice input:checked + .box { border-color: var(--green-700); background: var(--green-100); box-shadow: inset 0 0 0 1px var(--green-700); }
.choice input:checked + .box .ic { background: var(--green-700); color: #fff; }
.choice input:focus-visible + .box { outline: 3px solid var(--focus); outline-offset: 2px; }
.choice--check .ic { border-radius: 6px; }
.choice--check .ic svg { opacity: 0; transition: opacity .15s; }
.choice--check input:checked + .box .ic svg { opacity: 1; }
.choice--size .box { grid-template-columns: 1fr; min-height: 72px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; color: var(--ink); }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid var(--line-strong); border-radius: 8px; background: #fff;
  font: 500 1rem/1.4 var(--sans); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--green-600); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(47, 90, 49, .25); }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.field .help { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.error-msg { display: none; align-items: center; gap: 8px; color: #9b2c13; font-weight: 600; font-size: .92rem; margin: 10px 0 0; }
.error-msg svg { width: 18px; height: 18px; flex: none; }
.error-msg.show { display: flex; }
.field input[aria-invalid="true"] { border-color: #9b2c13; }

.qnav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.btn-back { background: none; border: 0; padding: 12px 4px; min-height: 48px; font: 700 .97rem var(--sans); color: var(--ink-2); cursor: pointer; text-decoration: underline; text-underline-offset: .25em; }
.btn-back:hover { color: var(--green-900); }

.summary { background: var(--paper); border: 1px dashed var(--line-strong); border-radius: 8px; padding: 16px 18px; margin: 4px 0 22px; }
.summary h3 { font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin: 0 0 8px; }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; font-size: .95rem; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; }
.summary .edit { font-size: .88rem; }

.send-options { display: grid; gap: 12px; }
.btn--wa { --b-bg: #1d5e34; --b-bd: #1d5e34; min-height: 56px; font-size: 1.02rem; }
.btn--wa:hover { --b-bg: #134226; --b-bd: #134226; }
.email-extra { margin-top: 8px; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.email-extra[hidden] { display: none; }

.quote-aside { position: sticky; top: 100px; }
.aside-card { border-top: 1px solid var(--ink); padding-top: 20px; }
.aside-card + .aside-card { margin-top: 32px; }
.aside-card h2 { font-size: 1.4rem; }
.aside-card p, .aside-card li { color: var(--ink-2); font-size: .97rem; }
.aside-card ul { padding-left: 18px; margin: 0; }

.done-panel { text-align: left; }
.done-panel .ok { width: 64px; height: 64px; border-radius: 50%; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; margin-bottom: 20px; }
.done-panel .ok svg { width: 32px; height: 32px; }

/* ---------- Animações de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

.draw path { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 3.2s var(--ease) .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .draw path { stroke-dashoffset: 0; }
}

/* ---------- Alto contraste do sistema ---------- */
@media (forced-colors: active) {
  .btn, .choice .box, .audience .ico { border: 2px solid ButtonText; }
  .choice input:checked + .box { outline: 3px solid Highlight; }
  body::before { display: none; }
}

/* ---------- Impressão ---------- */
@media print {
  .site-header, .wa-float, .cta, body::before { display: none !important; }
  body { background: #fff; }
}
