@font-face { font-family: "Bricolage"; src: url(fonts/bricolage-grotesque-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url(fonts/bricolage-grotesque-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url(fonts/bricolage-grotesque-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url(fonts/atkinson-hyperlegible-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url(fonts/atkinson-hyperlegible-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --mata: #0E2A20;      /* fundo da noite na mata */
  --mata2: #17402F;
  --serra: #2C5A45;
  --neblina: #E7EEE9;   /* seções claras */
  --ipe: #F4C430;       /* amarelo do ipê */
  --ipe-esc: #D9A915;
  --texto: #13241C;
  --musgo: #5E7A6D;
  --display: "Bricolage", "Trebuchet MS", sans-serif;
  --body: "Atkinson", Verdana, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.55; color: var(--texto); background: var(--neblina); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ipe); color: var(--texto); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--ipe); outline-offset: 3px; }

/* ---------- topo ---------- */
.hero { position: relative; color: #F3F7F4; background: var(--mata); overflow: hidden; padding: 72px 0 120px; }
.sky { position: absolute; inset: 0; width: 100%; height: 100%; }
.stars circle { fill: #F3F7F4; opacity: .7; }
.orbit { stroke: rgba(244, 196, 48, .28); stroke-width: 1.2; stroke-dasharray: 3 7; }
.sat rect { fill: #9DB8C9; }
.sat .body { fill: var(--ipe); }
.sat { offset-path: path("M -40 420 Q 720 -120 1480 420"); offset-rotate: auto; offset-distance: 51%; }
.ridge.r1 { fill: #143829; }
.ridge.r2 { fill: #1A4433; }
.ridge.r3 { fill: #0B2219; }
.house path { fill: #0B2219; stroke: #2C5A45; stroke-width: 1.5; }
.house .door { fill: #0B2219; stroke: #2C5A45; stroke-width: 1.5; }
.house .win { fill: var(--ipe); }
.dish path { fill: #D7E2DB; }
.dish line { stroke: #D7E2DB; stroke-width: 3; }
@media (prefers-reduced-motion: no-preference) {
  .sat { animation: voo 3.2s cubic-bezier(.3, .1, .2, 1) .3s both; }
  .house .win { animation: acende .6s ease-out 3.3s both; }
  @keyframes voo { from { offset-distance: 4%; } to { offset-distance: 51%; } }
  @keyframes acende { from { fill: #2C5A45; } to { fill: var(--ipe); } }
}

.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.who { font-size: 16px; color: #B9CEC2; margin-bottom: 18px; }
h1 { font-size: clamp(44px, 6.4vw, 84px); font-weight: 800; max-width: 11ch; }
.lead { font-size: 20px; color: #D6E3DA; max-width: 34em; margin-top: 22px; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.facts li { padding: 7px 14px; border: 1px solid rgba(243, 247, 244, .25); border-radius: 999px; font-size: 15.5px; color: #E7EEE9; background: rgba(14, 42, 32, .5); }

.card { background: var(--neblina); color: var(--texto); border-radius: 18px; padding: 28px; box-shadow: 0 24px 60px rgba(3, 14, 10, .45); }
.card h2 { font-size: 28px; font-weight: 800; }
.hint { color: var(--musgo); margin: 6px 0 18px; font-size: 16px; }
.card label { display: block; font-weight: 700; font-size: 16px; margin-top: 14px; }
.card input:not([type=radio]) { display: block; width: 100%; margin-top: 6px; font: inherit; font-weight: 400; padding: 13px 14px; border-radius: 10px; border: 1.5px solid #B8C8BE; background: #fff; color: var(--texto); }
.card input:focus { outline: none; border-color: var(--mata); box-shadow: 0 0 0 3px rgba(244, 196, 48, .55); }
.card input[aria-invalid=true] { border-color: #B3261E; }
.plan-pick { border: 0; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.plan-pick legend { font-weight: 700; font-size: 16px; padding: 0; margin-bottom: 8px; }
.plan-pick label { margin: 0; font-weight: 400; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1.5px solid #B8C8BE; border-radius: 999px; background: #fff; cursor: pointer; font-size: 15.5px; }
.plan-pick label:has(input:checked) { border-color: var(--mata); background: var(--mata); color: #fff; }
.plan-pick input { accent-color: var(--ipe); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.err { color: #B3261E; font-size: 15.5px; min-height: 1.4em; margin-top: 12px; }
.btn-ipe { display: block; width: 100%; text-align: center; text-decoration: none; font: 700 19px var(--display); padding: 16px 18px; border: 0; border-radius: 12px; background: var(--ipe); color: var(--texto); cursor: pointer; margin-top: 6px; box-shadow: 0 3px 0 var(--ipe-esc); }
.btn-ipe:hover { background: #F7CF4E; }
.btn-ipe:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ipe-esc); }
.btn-ipe:disabled { opacity: .6; cursor: progress; }
.fine { font-size: 14px; color: var(--musgo); margin-top: 10px; text-align: center; }
.form-done h2 { margin-bottom: 10px; }
.form-done p { margin-bottom: 18px; }

/* ---------- seções ---------- */
main section { padding: 88px 0; }
main h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; }
.steps ol { list-style: none; counter-reset: passo; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.steps ol::before { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--serra) 0 6px, transparent 6px 12px); }
.steps li { counter-increment: passo; position: relative; padding-top: 62px; }
.steps li::before { content: counter(passo); position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--mata); color: var(--ipe); font: 800 20px var(--display); box-shadow: 0 0 0 6px var(--neblina); }
.steps b { display: block; font-family: var(--display); font-size: 22px; margin-bottom: 6px; }
.steps span { color: #3D5248; }

.plans { background: var(--mata); color: #EEF3F0; }
.plans .sub { color: #B9CEC2; max-width: 40em; margin-top: 12px; }
.plan-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.plan { border: 1.5px solid #2C5A45; border-radius: 18px; padding: 30px; background: var(--mata2); display: flex; flex-direction: column; gap: 14px; }
.plan h3 { font-size: 26px; font-weight: 700; }
.price { font: 800 64px/1 var(--display); color: var(--ipe); letter-spacing: -0.03em; }
.price span { font-size: 24px; vertical-align: top; margin-right: 4px; position: relative; top: 8px; }
.price small { font-size: 20px; color: #B9CEC2; font-weight: 500; margin-left: 4px; }
.plan p:not(.price) { color: #D2DFD7; flex: 1; }
.btn-line { font: 700 17px var(--display); padding: 13px 18px; border-radius: 12px; border: 2px solid var(--ipe); background: transparent; color: var(--ipe); cursor: pointer; align-self: flex-start; }
.btn-line:hover { background: var(--ipe); color: var(--texto); }
.note { margin-top: 26px; color: #B9CEC2; }

.me-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.me p { margin-top: 16px; font-size: 19px; max-width: 34em; }
.btn-wa { display: inline-flex; justify-content: center; text-decoration: none; font: 700 19px var(--display); padding: 17px 22px; border-radius: 14px; background: var(--mata); color: #fff; }
.btn-wa:hover { background: var(--mata2); }

.faq { background: #DCE6E0; }
.faq h2 { margin-bottom: 24px; }
.faq details { border-top: 1.5px solid #B8C8BE; max-width: 780px; }
.faq details:last-child { border-bottom: 1.5px solid #B8C8BE; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font: 700 20px var(--display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 30px; font-weight: 500; color: var(--serra); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; color: #2F4439; max-width: 40em; }

footer { background: var(--mata); color: #B9CEC2; padding: 40px 0 100px; font-size: 16px; }
footer b { color: #fff; }
.legal { font-size: 14px; margin-top: 8px; color: #8FA79A; }

.float-wa { position: fixed; right: 18px; bottom: 18px; width: 60px; height: 60px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); z-index: 5; }
.float-wa svg { width: 32px; height: 32px; fill: #fff; }

@media (max-width: 900px) {
  .hero { padding: 40px 0 90px; }
  .hero-grid, .me-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps ol { grid-template-columns: 1fr; gap: 26px; }
  .steps ol::before { top: 22px; bottom: 22px; left: 22px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--serra) 0 6px, transparent 6px 12px); }
  .steps li { padding: 4px 0 0 66px; }
  .plan-row { grid-template-columns: 1fr; }
  main section { padding: 64px 0; }
  .card { padding: 22px; }
}
