/* =========================================================
   GR Digital — estilos do site (v2)
   Paleta e tipografia centralizadas em :root.
   ========================================================= */

:root {
  /* Cores */
  --paper: #F6F5F1;        /* fundo claro (off-white quente) */
  --surface: #FFFFFF;
  --ink: #0F1114;          /* preto da marca */
  --ink-soft: #113A2C;     /* superfícies elevadas sobre o verde-floresta */
  --forest: #0B2A20;       /* verde-floresta: hero, orçamento, rodapé */
  --forest-2: #113A2C;
  --sand: #EFE9DD;         /* areia: alterna com o off-white nas seções */
  --ink-2: #4A4F57;        /* texto secundário */
  --ink-3: #6E737B;        /* rótulos (contraste AA no fundo claro) */
  --line: #E2DFD8;
  --line-dark: #1F4A3A;
  --on-dark: #F6F5F1;
  --on-dark-2: #A8C3B7;
  --accent: #0B6E4F;       /* verde GR */
  --accent-hover: #095A41;
  --accent-bright: #3DDC97;/* menta: destaque sobre o verde-floresta */
  --accent-soft: #DDEFE6;
  --warn-bg: #F4EEDD;
  --warn: #8A6A12;

  /* Tipografia */
  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, Consolas, monospace;

  /* Layout */
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 8px;
  --section: clamp(72px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  overflow-x: clip;
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
p { text-wrap: pretty; }

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

.label {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.04em;
  color: var(--ink-3); text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
}
.label::before { content: ""; width: 18px; height: 1px; background: currentColor; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; border-radius: var(--radius); z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px; border-radius: var(--radius);
  font: 500 16px/1 var(--font); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-bright { background: var(--accent-bright); color: var(--ink); }
.btn-bright:hover { background: #6BE8B1; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-ghost-dark { background: transparent; color: var(--on-dark); border-color: #2F5E4C; }
.btn-ghost-dark:hover { border-color: var(--on-dark); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 15px; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.logo-mark {
  position: relative; width: 34px; height: 34px; border-radius: 7px;
  background: var(--on-dark); color: var(--ink);
  display: grid; place-items: center; font-size: 15px; font-weight: 700; letter-spacing: -0.04em;
}
.logo-mark::after { content: ""; position: absolute; right: 4px; bottom: 4px; width: 6px; height: 6px; border-radius: 1px; background: var(--accent); }
.logo-text span { opacity: .55; font-weight: 500; }

/* ---------- Header (sobre fundo escuro no topo) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; color: var(--on-dark);
  background: color-mix(in srgb, var(--forest) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line-dark); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a:not(.btn) { text-decoration: none; font-size: 15px; color: var(--on-dark-2); transition: color .15s; }
.nav a:not(.btn):hover { color: var(--on-dark); }
.nav a.active:not(.btn) { color: var(--on-dark); }
@media (min-width: 901px) {
  .nav a:not(.btn) { position: relative; }
  .nav a.active:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--accent-bright); }
}
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; cursor: pointer; color: var(--on-dark); }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--forest); border-bottom: 1px solid var(--line-dark); padding: 8px var(--gutter) 24px;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 17px; }
  .nav .btn { margin-top: 20px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--forest); color: var(--on-dark);
  padding: clamp(56px, 8vw, 112px) 0 clamp(64px, 8vw, 104px);
  margin-top: -72px; padding-top: calc(72px + clamp(56px, 8vw, 112px));
}
/* grade técnica de fundo */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent 100%);
}
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero .label { color: var(--on-dark-2); }
.hero h1 { font-size: clamp(40px, 5.4vw, 76px); margin-top: 24px; }
.hero h1 em { font-style: normal; color: var(--accent-bright); }
.hero .lead { margin-top: 28px; max-width: 560px; font-size: clamp(18px, 1.6vw, 20px); color: var(--on-dark-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--on-dark-2); display: flex; align-items: center; gap: 8px; }
.hero-note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-bright); }

.hero-strip {
  position: relative; margin-top: clamp(56px, 8vw, 96px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
}
.hero-strip div { padding: 24px 24px 0 0; }
.hero-strip div + div { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.hero-strip b { display: block; font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; letter-spacing: -0.03em; }
.hero-strip span { color: var(--on-dark-2); font-size: 14px; }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .agenda { margin-top: 84px; }
  .toast { left: 0; right: 0; }
  .hero-strip { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .hero-strip div:nth-child(3) { padding-left: 0; border-left: 0; }
}

/* Agenda ao vivo */
.agenda {
  position: relative; margin: 0; overflow: visible;
  background: var(--surface); color: var(--ink);
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 40px 80px -24px rgba(0,0,0,.6);
}
.agenda-head { border-radius: 12px 12px 0 0; display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.agenda-head strong { font-size: 15px; font-weight: 600; }
.live { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11.5px; color: var(--accent); text-transform: uppercase; letter-spacing: .05em; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-bright); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61,220,151,.6); } 70% { box-shadow: 0 0 0 8px rgba(61,220,151,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,151,0); } }
.agenda ul { list-style: none; margin: 0; padding: 0; }
.agenda li {
  display: grid; grid-template-columns: 50px 1fr auto; align-items: center; gap: 14px;
  padding: 13px 20px; border-bottom: 1px solid var(--line); font-size: 14px;
  transition: background-color .6s;
}
.agenda li.flash { background: var(--accent-soft); }
.agenda time { font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.agenda .who { line-height: 1.3; min-width: 0; }
.agenda .who b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agenda .who small { color: var(--ink-3); font-size: 13px; }
.chip { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; padding: 4px 8px; border-radius: 4px; white-space: nowrap; }
.chip-ok { background: var(--accent-soft); color: var(--accent); }
.chip-wait { background: var(--warn-bg); color: var(--warn); }
.chip-free { color: var(--ink-3); border: 1px dashed #CFCBC2; }
.chip-new { background: var(--accent); color: #fff; }
.agenda-foot { border-radius: 0 0 12px 12px; display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); font-size: 13px; color: var(--ink-2); }
.agenda-foot div { padding: 14px 20px; }
.agenda-foot div + div { border-left: 1px solid var(--line); }
.agenda-foot b { display: block; font-size: 22px; color: var(--ink); font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

.toast {
  position: absolute; left: 24px; right: -20px; bottom: calc(100% + 12px); z-index: 2;
  display: flex; gap: 12px; align-items: center;
  background: var(--ink); color: var(--on-dark); border-radius: 10px; padding: 12px 14px;
  font-size: 13.5px; line-height: 1.35;
  box-shadow: 0 16px 32px -12px rgba(0,0,0,.45);
  transform: translateY(12px); opacity: 0; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .3s;
}
.toast.show { transform: none; opacity: 1; }
.toast .t-ic { width: 32px; height: 32px; border-radius: 8px; background: var(--accent); display: grid; place-items: center; flex: none; }
.toast small { display: block; color: var(--on-dark-2); }
@media (prefers-reduced-motion: reduce) { .toast, .agenda li { transition: none; } .live i { animation: none; } }

/* ---------- Seções ---------- */
.section { padding: var(--section) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head h2 { font-size: clamp(36px, 5vw, 64px); margin-top: 18px; }
.section-head p { color: var(--ink-2); font-size: 18px; max-width: 480px; justify-self: end; }
@media (max-width: 860px) { .section-head { grid-template-columns: minmax(0, 1fr); } .section-head p { justify-self: start; } }

/* ---------- Calculadora de faltas ---------- */
.calc {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--ink); border-radius: 14px; overflow: hidden; background: var(--surface);
}
.calc-inputs { padding: clamp(28px, 4vw, 48px); display: grid; gap: 34px; align-content: start; }
.range { display: grid; gap: 12px; }
.range-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.range label { font-size: 15px; color: var(--ink-2); }
.range output { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(to right, var(--ink) var(--p, 50%), var(--line) var(--p, 50%)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--ink); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: var(--surface); border: 2px solid var(--ink); box-shadow: 0 2px 6px rgba(0,0,0,.12); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 2px solid var(--ink); }

.calc-out { background: var(--forest); color: var(--on-dark); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 28px; }
.calc-out .lbl { font-size: 14px; color: var(--on-dark-2); }
.big { font-size: clamp(44px, 5.6vw, 72px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; margin-top: 8px; }
.big.loss { color: #FF8A7A; }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.calc-row b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin-top: 4px; }
.calc-row .gain { color: var(--accent-bright); }
.calc-out .btn { align-self: start; margin-top: auto; }
.calc-note { font-size: 13px; color: var(--ink-3); margin-top: 16px; max-width: 760px; }
@media (max-width: 900px) { .calc { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Serviços (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  grid-column: span 2; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.tile:hover { border-color: var(--ink); transform: translateY(-3px); }
.tile-art { height: 180px; background: var(--paper); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.tile-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.tile h3 { font-size: 26px; letter-spacing: -0.03em; }
.tile p { color: var(--ink-2); font-size: 15.5px; }
.tile ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 6px; font-size: 14.5px; color: var(--ink-2); }
.tile ul li { display: flex; gap: 10px; }
.tile ul li::before { content: "→"; color: var(--accent); font-family: var(--mono); }
.tile-price { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tile-price strong { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.tile-price small { font-family: var(--mono); font-size: 12px; color: var(--ink-3); text-transform: uppercase; display: block; }
.tile-price span { font-size: 14px; color: var(--ink-2); }
.tile-cta { margin-top: 16px; width: 100%; }
.tile.dark .tile-cta { background: var(--accent-bright); color: var(--ink); border-color: var(--accent-bright); }
.tile.dark .tile-cta:hover { background: #6BE8B1; }
.tile.wide .tile-cta { margin: 0; width: auto; }
.tile.dark { background: var(--forest); color: var(--on-dark); border-color: var(--forest); }
.tile.dark p, .tile.dark ul, .tile.dark .tile-price span { color: var(--on-dark-2); }
.tile.dark .tile-art { background: var(--ink-soft); border-color: var(--line-dark); }
.tile.dark .tile-price { border-color: var(--line-dark); }
.tile.dark ul li::before { color: var(--accent-bright); }
.tile.wide { grid-column: span 6; flex-direction: row; align-items: center; }
.tile.wide .tile-body { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.tile.wide .tile-price { margin: 0; padding: 0; border: 0; gap: 24px; }
.tile.wide .tile-end { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
@media (max-width: 1000px) { .tile { grid-column: span 3; } .tile.featured { grid-column: span 6; } }
@media (max-width: 640px) { .tile, .tile.featured { grid-column: span 6; } }

/* mini ilustrações (wireframes em CSS) */
.wf { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 12px 24px -16px rgba(0,0,0,.25); }
.wf i { display: block; border-radius: 3px; background: var(--line); }
.wf-landing { left: 50%; top: 24px; width: 70%; transform: translateX(-50%); padding: 14px 14px 40px; display: grid; gap: 8px; }
.wf-landing i:nth-child(1) { width: 40%; height: 8px; }
.wf-landing i:nth-child(2) { width: 85%; height: 14px; background: var(--ink); }
.wf-landing i:nth-child(3) { width: 60%; height: 14px; background: var(--ink); }
.wf-landing i:nth-child(4) { width: 34%; height: 22px; background: var(--accent); margin-top: 6px; }
.wf-site { width: 46%; height: 130px; padding: 10px; display: grid; gap: 6px; align-content: start; }
.wf-site.a { left: 12%; top: 26px; } .wf-site.b { left: 42%; top: 46px; }
.wf-site i:nth-child(1) { height: 40px; background: var(--accent-soft); }
.wf-site i:nth-child(2) { width: 70%; height: 7px; } .wf-site i:nth-child(3) { width: 50%; height: 7px; }
.wf-cal { left: 50%; top: 24px; width: 76%; transform: translateX(-50%); padding: 12px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; background: var(--ink-soft); border-color: var(--line-dark); }
.wf-cal i { height: 22px; background: #1A4536; }
.wf-cal i.on { background: var(--accent); } .wf-cal i.w { background: #6B5A24; }

/* ---------- Projetos (vitrine) ---------- */
.showcase { display: grid; gap: clamp(64px, 9vw, 120px); }
.case { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.case:nth-child(even) { grid-template-columns: 1.25fr 0.75fr; }
.case:nth-child(even) .case-text { order: 2; }
.case-num { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.case h3 { font-size: clamp(32px, 3.6vw, 46px); margin-top: 14px; }
.case .type { color: var(--ink-3); margin-top: 8px; }
.case p.desc { color: var(--ink-2); margin-top: 20px; }
.case dl { margin: 24px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; font-size: 15px; }
.case dt { color: var(--ink-3); font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; padding-top: 2px; }
.case dd { margin: 0; }
.case .btn { margin-top: 32px; }
.browser { border-radius: 12px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(15,17,20,.35); display: block; text-decoration: none; }
.browser-bar { display: flex; align-items: center; gap: 14px; padding: 11px 14px; background: #EFEDE8; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; } .dots i { width: 10px; height: 10px; border-radius: 50%; background: #D6D2CA; }
.url { flex: 1; font-family: var(--mono); font-size: 12px; color: var(--ink-3); background: var(--surface); border-radius: 5px; padding: 5px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); }
.browser-view iframe { position: absolute; top: 0; left: 0; width: 1280px; height: 800px; border: 0; transform-origin: 0 0; pointer-events: none; }
.browser-view::after {
  content: "Abrir projeto ao vivo →"; position: absolute; right: 16px; bottom: 16px;
  background: var(--ink); color: var(--on-dark); font-size: 14px; padding: 8px 12px; border-radius: 6px;
  opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s;
}
.browser:hover .browser-view::after { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .case, .case:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .case:nth-child(even) .case-text { order: 0; }
}

/* ---------- Processo ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; }
.step { counter-increment: s; padding: 0 28px 0 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step::before { content: "0" counter(s); display: block; font-size: clamp(56px, 6vw, 84px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--ink-3); margin-bottom: 28px; }
.step h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
.step p { margin-top: 10px; color: var(--ink-2); font-size: 15.5px; }
.step .when { display: inline-block; margin-top: 16px; font-family: var(--mono); font-size: 12px; color: var(--accent); background: var(--accent-soft); padding: 4px 8px; border-radius: 4px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; } .step:nth-child(4) { padding-left: 0; border-left: 0; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } .step + .step { padding-left: 0; border-left: 0; } }

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.about-quote { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.25; letter-spacing: -0.025em; font-weight: 500; margin-top: 20px; }
.about-quote span { color: var(--ink-3); }
.signature { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.signature .av { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--on-dark); display: grid; place-items: center; font-weight: 600; }
.signature b { display: block; } .signature small { color: var(--ink-3); }
.diffs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; align-self: start; }
.diffs li { background: var(--paper); padding: 24px; }
.diffs svg { color: var(--accent); margin-bottom: 14px; }
.diffs b { display: block; font-weight: 600; letter-spacing: -0.01em; }
.diffs span { color: var(--ink-2); font-size: 14.5px; display: block; margin-top: 4px; }
@media (max-width: 900px) { .about { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .diffs { grid-template-columns: 1fr; } }

/* ---------- Montador de orçamento + contato ---------- */
.quote-sec { background: var(--forest); color: var(--on-dark); }
.quote-sec .label { color: var(--on-dark-2); }
.quote-sec .section-head p { color: var(--on-dark-2); }
.builder { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 24px; align-items: start; }
.builder fieldset { border: 0; margin: 0; padding: 0; }
.builder legend { font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--on-dark-2); margin-bottom: 14px; padding: 0; }
.builder fieldset + fieldset { margin-top: 36px; }
.opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.opts.extras { grid-template-columns: 1fr 1fr; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.opt label {
  display: flex; flex-direction: column; gap: 4px; height: 100%;
  padding: 18px; border: 1px solid var(--line-dark); border-radius: 10px; background: var(--ink-soft);
  cursor: pointer; transition: border-color .15s, background .15s;
}
.opt label b { font-weight: 500; font-size: 16px; }
.opt label span { font-size: 13.5px; color: var(--on-dark-2); }
.opt label em { font-style: normal; font-family: var(--mono); font-size: 12.5px; color: var(--accent-bright); margin-top: 6px; }
.opt input:hover + label { border-color: #3D6E5B; }
.opt input:checked + label { border-color: var(--accent-bright); background: #134634; }
.opt input:focus-visible + label { outline: 2px solid var(--accent-bright); outline-offset: 2px; }
.opts.extras .opt label { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.opts.extras .opt label em { margin: 0; white-space: nowrap; }
.check { width: 18px; height: 18px; border-radius: 4px; border: 1px solid #3D6E5B; flex: none; display: grid; place-items: center; }
.opt input:checked + label .check { background: var(--accent-bright); border-color: var(--accent-bright); }
.opt input:checked + label .check::after { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg) translate(1px, -1px); }
.extra-l { display: flex; align-items: center; gap: 12px; }

.summary { position: sticky; top: 96px; background: var(--paper); color: var(--ink); border-radius: 14px; padding: 28px; display: grid; gap: 18px; }
.summary .lbl { font-size: 14px; color: var(--ink-2); }
.summary .total { font-size: clamp(34px, 3.4vw, 44px); font-weight: 600; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; margin-top: 6px; }
.summary .monthly { font-size: 15px; color: var(--ink-2); margin-top: 8px; }
.summary .prazo { font-family: var(--mono); font-size: 12.5px; color: var(--accent); }
.summary hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13.5px; color: var(--ink-2); }
.field input, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--font); color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 13px;
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.summary .btn { width: 100%; }
.summary .hint { font-size: 12.5px; color: var(--ink-3); text-align: center; }
.summary.pulse { animation: flash 1s ease; }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(61,220,151,.7); } 100% { box-shadow: 0 0 0 14px rgba(61,220,151,0); } }

/* barra fixa com o total (só no celular, enquanto o montador está na tela) */
.quote-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45;
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--paper); color: var(--ink); border-radius: 12px; padding: 10px 10px 10px 18px;
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.55);
  transform: translateY(140%); transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.quote-bar.show { transform: none; }
.quote-bar small { display: block; font-size: 12px; color: var(--ink-2); }
.quote-bar b { font-size: 20px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.quote-bar .btn { height: 44px; padding: 0 16px; font-size: 15px; }
@media (max-width: 1000px) { .quote-bar { display: flex; } }
@media (max-width: 1000px) { .builder { grid-template-columns: minmax(0, 1fr); } .summary { position: static; } }
@media (max-width: 640px) { .opts, .opts.extras { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); }
.faq-wrap h2 { font-size: clamp(36px, 5vw, 64px); margin-top: 18px; }
.faq-wrap .side p { color: var(--ink-2); margin-top: 20px; max-width: 360px; }
.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: 24px 0; font-size: 19px; font-weight: 500; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 22px; color: var(--ink-3); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 640px; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); } }

/* ---------- CTA final + footer ---------- */
.cta-final { background: var(--forest); color: var(--on-dark); padding: clamp(64px, 9vw, 120px) 0; }
.cta-final .container { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; }
.cta-final h2 { font-size: clamp(40px, 6vw, 84px); max-width: 820px; }
.cta-final .btn { background: var(--accent-bright); color: var(--ink); height: 56px; padding: 0 28px; font-size: 17px; }
.cta-final .btn:hover { background: #6BE8B1; }
.site-footer { background: var(--forest); color: var(--on-dark-2); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding: 64px 0 40px; }
.footer-grid p { margin-top: 16px; max-width: 320px; }
.footer-grid h4 { margin: 0 0 14px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #7FA294; font-weight: 400; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: var(--on-dark); }
.site-footer a:hover { color: var(--accent-bright); }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 22px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.site-footer .logo { color: var(--on-dark); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: span 2; } }

/* WhatsApp flutuante (mobile) */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #fff; display: none; place-items: center; box-shadow: 0 8px 24px rgba(11,110,79,.35); }
@media (max-width: 900px) { .wa-float { display: grid; transition: opacity .2s; } }
body.quote-open .wa-float { opacity: 0; pointer-events: none; }

/* Entrada suave */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 480px) {
  .calc-row { grid-template-columns: 1fr; gap: 16px; }
  .hero-strip b { font-size: 19px; }
  .hero-strip span { font-size: 13px; line-height: 1.45; display: block; margin-top: 4px; }
  .hero-strip div { padding-right: 12px; }
  .hero-strip div + div { padding-left: 16px; }
}

/* =========================================================
   v3 — visual mais rico: verde-floresta, menta e areia,
   com animações que acompanham a leitura.
   Todas as animações respeitam prefers-reduced-motion.
   ========================================================= */

/* Seções em areia (alternam com o off-white) */
.section-sand { background: var(--sand); }
.section-sand + .section, .section + .section-sand { border-top: 0; }

/* Barra de progresso de leitura no topo */
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; background: var(--accent-bright); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* Hero: entrada em sequência */
.hero::after {
  content: ""; position: absolute; right: -10%; top: -20%; width: 60%; height: 90%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(61,220,151,.10), transparent);
}
.hero h1 em { position: relative; white-space: nowrap; }
.hero h1 em svg { position: absolute; left: 0; bottom: -0.14em; width: 100%; height: 0.32em; overflow: visible; }
.hero h1 em path { fill: none; stroke: var(--accent-bright); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; opacity: .55; animation: risco 1.1s .9s cubic-bezier(.6,.1,.2,1) forwards; }
@keyframes risco { to { stroke-dashoffset: 0; } }
.js .hero-in { opacity: 0; transform: translateY(18px); animation: entra .8s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: var(--d, 0s); }
@keyframes entra { to { opacity: 1; transform: none; } }
/* entrada + flutuação na mesma regra (duas regras de animation se sobrescreveriam) */
.js .hero .agenda.hero-in { animation: entra .8s cubic-bezier(.2,.8,.2,1) .5s forwards, flutua 7s ease-in-out 1.3s infinite; }
@keyframes flutua { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* Faixa de especialidades rolando */
.ticker { background: var(--accent-bright); color: var(--forest); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: rola 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker li { display: flex; align-items: center; gap: 28px; padding: 16px 0 16px 28px; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; white-space: nowrap; }
.ticker li::after { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--forest); }
@keyframes rola { to { transform: translateX(-50%); } }

/* Luz que segue o mouse nos cartões */
.tile, .diffs li { position: relative; }
.tile::before, .diffs li::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; z-index: 0; opacity: 0; transition: opacity .25s;
  background: radial-gradient(360px circle at var(--cx, 50%) var(--cy, 50%), rgba(11,110,79,.09), transparent 65%);
}
.tile.dark::before { background: radial-gradient(360px circle at var(--cx, 50%) var(--cy, 50%), rgba(61,220,151,.16), transparent 65%); }
.tile:hover::before, .diffs li:hover::before { opacity: 1; }
.tile > *, .diffs li > * { position: relative; z-index: 1; }
.tile { transition: border-color .2s, transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; }
.tile:hover { border-color: var(--accent); box-shadow: 0 24px 48px -28px rgba(11,42,32,.45); }
.tile.dark:hover { border-color: var(--accent-bright); }

/* Mini ilustrações ganham vida ao passar o mouse */
.wf-landing i { transition: width .5s cubic-bezier(.2,.8,.2,1), background-color .3s; }
.tile:hover .wf-landing i:nth-child(2) { width: 92%; }
.tile:hover .wf-landing i:nth-child(4) { width: 46%; background: var(--accent-bright); }
.wf-site { transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.tile:hover .wf-site.a { transform: translate(-8px, -4px) rotate(-2deg); }
.tile:hover .wf-site.b { transform: translate(8px, 4px) rotate(2deg); }
.wf-cal i.on { animation: acende 3.2s ease-in-out infinite; }
.wf-cal i.on:nth-child(3n) { animation-delay: .4s; }
.wf-cal i.on:nth-child(3n+1) { animation-delay: .9s; }
.wf-cal i.on:nth-child(4n) { animation-delay: 1.5s; }
@keyframes acende { 0%, 100% { background: var(--accent); } 50% { background: var(--accent-bright); } }

/* Prévia dos projetos: a página rola sozinha ao passar o mouse */
.browser { position: relative; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.browser:hover { transform: translateY(-6px); box-shadow: 0 56px 96px -40px rgba(11,42,32,.5); }
.browser-view iframe { height: 2400px; transform: scale(var(--s, .5)) translateY(var(--y, 0px)); transition: transform 7s cubic-bezier(.45,0,.25,1); }
.browser:hover .browser-view iframe { --y: -1600px; }
.browser-view::after { z-index: 2; }
.case-num { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 99px; background: var(--accent-soft); }

/* Como funciona: linha que enche conforme a leitura */
.steps { position: relative; padding-top: 32px; }
.steps-line { position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.steps-line i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); transition: transform .2s linear; }
.step::before { transition: color .5s, -webkit-text-stroke-color .5s; }
.step.on::before { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
@media (max-width: 900px) { .steps-line { display: none; } .steps { padding-top: 0; } }

/* Quem faz: avatar com anel menta, grade em tons de areia */
.signature .av { background: var(--forest); color: var(--accent-bright); box-shadow: 0 0 0 3px var(--sand), 0 0 0 5px var(--accent-bright); }
.section-sand .diffs { background: #DDD5C5; border-color: #DDD5C5; }
.section-sand .diffs li { background: #F4EFE5; }

/* Calculadora e orçamento: números "pulam" quando mudam */
.calc { box-shadow: 0 32px 64px -40px rgba(11,42,32,.45); }
.big.loss, .summary .total { transition: transform .2s, color .3s; transform-origin: 0 50%; }
.big.loss.bump, .summary .total.bump { transform: scale(1.04); }
.summary .total.bump { color: var(--accent); }
input[type="range"]::-webkit-slider-thumb { transition: transform .15s; }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.18); }

/* FAQ abre suave (navegadores que suportam) */
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height .35s ease, content-visibility .35s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}
.faq summary { transition: color .15s; }
.faq summary:hover { color: var(--accent); }

/* CTA final */
.cta-final { position: relative; overflow: hidden; }
.cta-final::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at 80% 100%, #000, transparent 70%);
}
.cta-final .container { position: relative; }
.cta-final h2 em { font-style: normal; color: var(--accent-bright); }
.cta-final p { color: var(--on-dark-2); margin-top: 16px; font-size: 18px; max-width: 520px; }

/* Botões principais com brilho ao passar o mouse */
.btn-bright, .btn-primary, .cta-final .btn { position: relative; overflow: hidden; }
.btn-bright::after, .btn-primary::after, .cta-final .btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent); transform: skewX(-20deg);
}
.btn-bright:hover::after, .btn-primary:hover::after, .cta-final .btn:hover::after { left: 130%; transition: left .6s ease; }

@media (prefers-reduced-motion: reduce) {
  .ticker-track, .js .hero .agenda.hero-in, .wf-cal i.on { animation: none; opacity: 1; transform: none; }
  .js .hero-in { animation: none; opacity: 1; transform: none; }
  .hero h1 em path { animation: none; stroke-dashoffset: 0; }
  .browser-view iframe { transition: none; }
  .browser:hover .browser-view iframe { --y: 0px; }
}

/* A agenda é um app de tela única: a prévia não rola */
.browser.fixo .browser-view iframe { height: 800px; }
.browser.fixo:hover .browser-view iframe { --y: 0px; }

/* =========================================================
   v3.1 — responsividade e acabamento
   ========================================================= */

/* Hero: no celular o aviso aparece dentro do cartão, sem cobrir o texto */
@media (max-width: 1000px) {
  .hero .agenda { margin-top: 40px; }
  .toast { left: 12px; right: 12px; top: 10px; bottom: auto; transform: translateY(-10px); }
  .toast.show { transform: none; }
  .hero-strip { grid-template-columns: 1fr 1fr; gap: 0 20px; border-top: 0; }
  .hero-strip div, .hero-strip div + div { padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--line-dark); }
}
@media (max-width: 560px) {
  .hero { padding-bottom: 56px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-strip { margin-top: 48px; }
  .calc-out .btn, .tile.wide .tile-cta { width: 100%; }
  .ticker li { font-size: 15px; gap: 22px; padding: 13px 0 13px 22px; }
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: clamp(32px, 9vw, 40px); }
  .case h3 { font-size: 32px; }
  .case .btn { margin-top: 24px; }
  .opt label { padding: 16px; }
  .summary { padding: 22px; }
  .about-quote { font-size: 24px; }
  .cta-final .btn { width: 100%; }
}

/* Preços: nunca quebram no meio */
.tile-price strong { white-space: nowrap; }
.tile.wide .tile-price { flex-wrap: wrap; row-gap: 6px; }
@media (max-width: 640px) {
  .tile.wide .tile-body { flex-direction: column; align-items: stretch; gap: 20px; }
  .tile.wide .tile-end { flex-direction: column; align-items: stretch; gap: 20px; }
  .tile.wide .tile-price { justify-content: flex-start; column-gap: 32px; }
  .tile.wide .tile-price span { flex-basis: 100%; }
}

/* Barra do orçamento no celular: total em uma linha, mensalidade em cima */
.quote-bar b { white-space: nowrap; }
.quote-bar small { white-space: nowrap; }
.quote-bar { bottom: calc(12px + env(safe-area-inset-bottom)); }

/* Projetos: em telas de toque a prévia não "rola" (não existe hover de verdade) */
@media (hover: none) {
  .browser:hover { transform: none; }
  .browser:hover .browser-view iframe { --y: 0px; }
  .browser-view::after { display: none; }
}

/* Botão do WhatsApp: menta sobre o escuro, só depois do hero */
.wa-float {
  width: 54px; height: 54px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  background: var(--accent-bright); color: var(--forest);
  box-shadow: 0 0 0 4px rgba(61,220,151,.18), 0 12px 28px -8px rgba(11,42,32,.55);
  opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none;
  transition: opacity .25s, transform .25s cubic-bezier(.2,.8,.2,1);
}
.wa-float svg { width: 28px; height: 28px; }
body.passou-hero .wa-float { opacity: 1; transform: none; pointer-events: auto; }
body.quote-open .wa-float { opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none; }
@media (max-width: 900px) { .site-footer { padding-bottom: 72px; } }

/* Menu do celular: ocupa a tela com folga e links maiores */
@media (max-width: 900px) {
  .nav { max-height: calc(100dvh - 72px); overflow-y: auto; box-shadow: 0 24px 40px -16px rgba(0,0,0,.5); }
  .nav .btn { height: 52px; }
}

/* Tablet: duas colunas onde cabe */
@media (min-width: 641px) and (max-width: 1000px) {
  .opts { grid-template-columns: repeat(3, 1fr); }
  .diffs { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 641px) and (max-width: 1000px) {
  .hero .agenda { max-width: 560px; }
}

/* Ícone oficial do WhatsApp (Simple Icons), centralizado no círculo */
.wa-float { place-items: center; line-height: 0; }
.wa-float svg { display: block; width: 28px; height: 28px; margin: 0; transform: translate(0.75px, -0.75px); } /* compensa o "rabinho" do balão: centro visual */
