/* ============================================================
   Identidade visual — ajuste as cores da marca aqui
   ============================================================ */
:root {
  --brand: #13291B;        /* verde-escuro (fundos e títulos) */
  --brand-700: #1F3D27;
  --accent: #5E9A1F;       /* verde da folha, versão legível em texto */
  --accent-400: #7BB92B;   /* verde da folha do logo */
  --yellow: #F2CB02;       /* amarelo do logo */
  --yellow-600: #DDB800;

  --ink: #0F1B2D;
  --muted: #5B6B80;
  --line: #DCE3EC;
  --bg: #F6F8FB;
  --surface: #FFFFFF;
  --danger: #C2410C;

  --gptw-red: #E3101A;
  --gptw-blue: #1B2D6B;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(19, 41, 27, .08);
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-family: var(--font-display); font-size: clamp(2.8rem, 6.5vw, 4.6rem); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; line-height: 1; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; color: var(--brand); }
h3 { font-size: 1.15rem; font-weight: 700; color: var(--brand); }
p { margin: 0 0 1em; }
a { color: inherit; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 760px; }

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.5rem;
  border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1 var(--font);
  text-decoration: none; cursor: pointer;
  transition: transform .15s, background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--yellow); color: var(--brand); box-shadow: 0 6px 18px rgba(242, 203, 2, .35); }
.btn--primary:hover { background: var(--yellow-600); }
.btn--ghost { background: transparent; border-color: currentColor; color: var(--brand); }
.btn--ghost:hover { background: rgba(19, 41, 27, .06); }
.btn--sm { padding: .6rem 1.1rem; font-size: .9rem; }
.btn:disabled { opacity: .7; cursor: progress; }
:focus-visible { outline: 3px solid var(--accent-400); outline-offset: 2px; }

/* Topbar */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand__logo { height: 40px; width: auto; }
.topbar__nav { display: flex; align-items: center; gap: 1.5rem; font-weight: 600; font-size: .95rem; }
.topbar__nav a:not(.btn) { text-decoration: none; color: var(--muted); }
.topbar__nav a:not(.btn):hover { color: var(--brand); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(123, 185, 43, .28), transparent 60%),
    linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%);
  color: #fff;
  padding: clamp(56px, 9vw, 110px) 0;
}
.hero::after {
  content: ""; position: absolute; inset: auto -10% -60px -10%; height: 120px;
  background: var(--bg); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.hero .eyebrow { color: var(--accent-400); }
.hero h1 { color: #fff; }
.hl { color: var(--yellow); }
.lead { font-size: 1.15rem; color: rgba(255, 255, 255, .85); max-width: 560px; }
.chips { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li {
  padding: .4rem .85rem; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  font-size: .85rem; font-weight: 600;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero .btn--ghost { color: #fff; }
.hero .btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.hero__badge { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
.hero__badge-text { color: rgba(255, 255, 255, .85); margin: 0; }

/* Selo GPTW */
.gptw__img { width: 190px; height: auto; filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .3)); }
.gptw__img--sm { width: 130px; filter: none; }
.gptw__fallback {
  width: 170px;
  display: flex; flex-direction: column;
  font-family: Montserrat, "Plus Jakarta Sans", Arial, sans-serif; color: #fff; text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 50% 100%, 0 92%);
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .3));
}
.gptw__top { background: var(--gptw-red); padding: 18px 14px 14px; font-size: 1.85rem; font-weight: 700; line-height: 1.02; text-align: left; letter-spacing: -.02em; }
.gptw__top sup { font-size: .35em; vertical-align: .2em; }
.gptw__mid { background: var(--gptw-blue); padding: 14px 8px 4px; font-weight: 700; font-size: 1.2rem; }
.gptw__bottom { background: var(--gptw-blue); padding: 2px 8px 30px; font-size: .78rem; font-weight: 700; display: flex; flex-direction: column; gap: 4px; }
.gptw__bottom b { font-size: .68rem; letter-spacing: .01em; }
.gptw__fallback--sm { width: 120px; filter: none; }
.gptw__fallback--sm .gptw__top { font-size: 1.3rem; padding: 12px 10px 10px; }
.gptw__fallback--sm .gptw__mid { font-size: .85rem; padding: 10px 6px 3px; }
.gptw__fallback--sm .gptw__bottom { font-size: .6rem; padding: 2px 6px 22px; }
.gptw__fallback--sm .gptw__bottom b { font-size: .5rem; }

/* Seções */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section__head { max-width: 720px; margin-bottom: 40px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__lead { color: var(--muted); font-size: 1.08rem; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar, .card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.pillar p { color: var(--muted); margin: 0; }
.pillar__icon {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 16px;
  display: grid; place-items: center;
  background: rgba(94, 154, 31, .1); color: var(--accent);
}
.pillar__icon svg, .dropzone svg, .success__icon svg {
  width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.section--band { background: var(--surface); border-block: 1px solid var(--line); padding: 56px 0; }
.band { display: flex; align-items: center; gap: 40px; }
.band__seal { flex: none; }
.band__text p { color: var(--muted); margin: 0; }
.band__text h2 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.checklist li { position: relative; padding-left: 30px; color: #334155; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Formulário */
.section--form { background: linear-gradient(180deg, var(--bg) 0%, #EAF1F8 100%); }
.formcard {
  background: var(--surface); border-radius: 20px; border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(19, 41, 27, .12);
  padding: clamp(22px, 4vw, 40px);
}
.steps { list-style: none; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.steps__item { display: flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 600; color: var(--muted); }
.steps__item span {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid var(--line); background: #fff; font-size: .8rem;
  transition: all .2s;
}
.steps__item em { font-style: normal; }
.steps__item.is-active { color: var(--brand); }
.steps__item.is-active span { border-color: var(--accent); color: var(--accent); }
.steps__item.is-done span { background: var(--accent); border-color: var(--accent); color: #fff; }
.progress { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; margin-bottom: 28px; }
.progress__bar { height: 100%; width: 25%; background: linear-gradient(90deg, var(--accent-400), var(--yellow)); border-radius: inherit; transition: width .35s ease; }

.step { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.step.is-active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
legend { font-size: 1.3rem; font-weight: 800; color: var(--brand); margin-bottom: 20px; padding: 0; }

.field { margin-bottom: 20px; }
.field label:not(.option):not(.check):not(.dropzone), .label {
  display: block; font-weight: 600; margin-bottom: .45rem; font-size: .95rem;
}
.field__help { color: var(--muted); font-size: .88rem; margin: -.2rem 0 .6rem; }
.opt { color: var(--muted); font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; padding: .85rem 1rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: 500 1rem var(--font); color: var(--ink); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(94, 154, 31, .15); }
.field.has-error input, .field.has-error textarea, .field.has-error .dropzone { border-color: var(--danger); }
.field__error { display: block; min-height: 0; color: var(--danger); font-size: .85rem; font-weight: 500; margin-top: .35rem; }
.field__error:empty { display: none; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Upload */
.dropzone {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: .3rem;
  padding: 26px 16px; text-align: center; cursor: pointer;
  border: 2px dashed var(--line); border-radius: var(--radius); background: #FAFCFE;
  transition: border-color .2s, background .2s;
}
.dropzone:hover, .dropzone.is-drag { border-color: var(--accent); background: rgba(94, 154, 31, .05); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone svg { color: var(--accent); width: 30px; height: 30px; }
.dropzone__text { font-size: .95rem; }
.dropzone__text strong { color: var(--accent); }
.dropzone__hint { color: var(--muted); font-size: .82rem; }
.dropzone__file {
  margin-top: .5rem; padding: .35rem .8rem; border-radius: 999px;
  background: rgba(94, 154, 31, .12); color: #3F6E12; font-weight: 600; font-size: .88rem;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dropzone.has-file { border-style: solid; border-color: var(--accent); }

/* Opções */
.options { display: grid; gap: 10px; }
.options--2 { grid-template-columns: repeat(2, 1fr); }
.options--3 { grid-template-columns: repeat(3, 1fr); }
.options--4 { grid-template-columns: repeat(4, 1fr); }
.options--wrap { display: flex; flex-wrap: wrap; }
.option { position: relative; cursor: pointer; }
.option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.option span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 52px; height: 100%; padding: .7rem 1rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  font-weight: 600; font-size: .95rem; transition: all .15s;
}
.option--check span { min-height: 44px; padding: .55rem 1rem; border-radius: 999px; font-size: .9rem; }
.option:hover span { border-color: #A8B8CC; }
.option input:checked + span { border-color: var(--accent); background: rgba(94, 154, 31, .08); color: #3F6E12; box-shadow: inset 0 0 0 1px var(--accent); }
.option input:focus-visible + span { outline: 3px solid var(--accent-400); outline-offset: 2px; }
.field.has-error .option span { border-color: rgba(194, 65, 12, .5); }

.reveal { margin: -6px 0 20px; padding: 18px 18px 2px; border-left: 3px solid var(--accent); background: #F4FAF7; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; animation: fadeIn .25s ease; }

.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--muted); cursor: pointer; }
.check input { margin-top: .25rem; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }

.money { position: relative; }
.money__prefix { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--muted); }
.money input { padding-left: 2.8rem !important; font-size: 1.15rem !important; font-weight: 700 !important; }

.summary { margin-top: 8px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.summary:empty { display: none; }
.summary h4 { margin: 0; padding: 12px 16px; background: var(--bg); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.summary dl { margin: 0; padding: 6px 16px 10px; display: grid; grid-template-columns: minmax(140px, 40%) 1fr; }
.summary dt, .summary dd { margin: 0; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.summary dt { color: var(--muted); padding-right: 12px; }
.summary dd { font-weight: 600; word-break: break-word; }
.summary dt:nth-last-of-type(1), .summary dd:last-of-type { border-bottom: 0; }

.form-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.form-actions #btnNext, .form-actions #btnSubmit { margin-left: auto; min-width: 190px; }
.form-feedback { margin: 16px 0 0; padding: 12px 14px; border-radius: var(--radius-sm); background: #FFF4ED; color: var(--danger); font-weight: 500; font-size: .92rem; }

.spinner { display: none; width: 18px; height: 18px; border: 2.5px solid rgba(19, 41, 27, .25); border-top-color: var(--brand); border-radius: 50%; animation: spin .8s linear infinite; }
.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.success { text-align: center; padding: 24px 8px; animation: fadeIn .4s ease; }
.success__icon { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; box-shadow: 0 10px 30px rgba(94, 154, 31, .35); }
.success__icon svg { width: 36px; height: 36px; stroke-width: 2.8; }
.success p { color: var(--muted); max-width: 520px; margin: 0 auto; }

/* Footer */
.footer { background: var(--brand); color: rgba(255, 255, 255, .7); padding: 32px 0; font-size: .9rem; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__logo { height: 34px; width: auto; }
.footer p { margin: 0; }

/* Responsivo */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__badge { flex-direction: row; text-align: left; justify-content: flex-start; }
  .gptw__img { width: 120px; }
  .gptw__fallback { width: 120px; }
  .gptw__fallback .gptw__top { font-size: 1.3rem; padding: 12px 10px 10px; }
  .gptw__fallback .gptw__mid { font-size: .85rem; padding: 10px 6px 3px; }
  .gptw__fallback .gptw__bottom { font-size: .6rem; padding: 2px 6px 22px; }
  .gptw__fallback .gptw__bottom b { font-size: .5rem; }
  .pillars, .split { grid-template-columns: 1fr; }
  .options--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .topbar__nav a:not(.btn) { display: none; }
  .brand__logo { height: 30px; }
  .topbar__nav .btn { white-space: nowrap; padding: .55rem .9rem; font-size: .82rem; }
  .grid-2, .options--3 { grid-template-columns: 1fr; }
  .band { flex-direction: column; text-align: center; }
  .steps__item em { display: none; }
  .steps__item { justify-content: center; }
  .form-actions { flex-direction: column-reverse; }
  .form-actions .btn { width: 100%; }
  .summary dl { grid-template-columns: 1fr; }
  .summary dt { border-bottom: 0; padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
