@import url("/assets/fonts/fonts.css");

:root {
  --bg: #0D1117;
  --surface: #161B22;
  --surface-2: #1C232D;
  --text: #F2F4F7;
  --silver: #B8BEC6;
  --cyan: #06ADEC;
  --petrol: #0871A1;
  --navy: #29436E;
  --gold: #C9A44C;
  --wood: #9A6B45;
  --ash: #5A5652;
  --cta: #F5A524;
  --cta-hover: #FFB43D;
  --cta-text: #0D1117;
  --line: rgba(184, 190, 198, 0.2);
  --line-strong: rgba(184, 190, 198, 0.35);
  --plate: #F2F4F7;

  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Barlow Condensed", "Barlow", system-ui, sans-serif;

  --wrap: 1160px;
  --gutter: 16px;
  --radius: 10px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: #3CC2F5; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.1; margin: 0 0 0.5em; letter-spacing: 0.2px; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 28px; } }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--cta); color: var(--cta-text); padding: 8px 14px; border-radius: 6px; z-index: 100; font-weight: 600; }
.skip:focus { left: 8px; }

.eyebrow { font-family: var(--font-head); font-size: 0.95rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--gold); }
.lead { font-size: 1.15rem; color: var(--silver); max-width: 62ch; }
.muted { color: var(--silver); }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 8px; font-family: var(--font-body); font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background 0.15s, border-color 0.15s, color 0.15s; }
.btn-cta { background: var(--cta); color: var(--cta-text); }
.btn-cta:hover { background: var(--cta-hover); color: var(--cta-text); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--text); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(13, 17, 23, 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { width: 44px; height: auto; }
.brand span { font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; letter-spacing: 0.3px; }
.nav { display: none; gap: 26px; }
.nav a { color: var(--silver); text-decoration: none; font-size: 0.98rem; }
.nav a:hover { color: var(--text); }
.site-header .btn { min-height: 42px; padding: 0 16px; font-size: 0.95rem; }
@media (min-width: 900px) { .nav { display: flex; } }

/* ---------- Seções ---------- */
section { padding: 72px 0; }
@media (min-width: 900px) { section { padding: 104px 0; } }
.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 44px; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 56px; position: relative; overflow: hidden; }
@media (min-width: 900px) { .hero { padding: 112px 0 88px; } }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; opacity: 0.35; mask-image: radial-gradient(ellipse 70% 60% at 70% 20%, #000 0%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 20%, #000 0%, transparent 75%); }
.hero::after { content: ""; position: absolute; width: 620px; height: 620px; right: -180px; top: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(6, 173, 236, 0.16), transparent 65%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { max-width: 17ch; }
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero .lead { margin: 22px 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 64px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg); padding: 22px 20px; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; color: var(--cyan); margin-bottom: 8px; }
.stat span { color: var(--silver); font-size: 0.95rem; line-height: 1.35; display: block; }

/* ---------- Cards blueprint ---------- */
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.alt .card { background: var(--bg); }
.card::before, .card::after { content: ""; position: absolute; width: 12px; height: 12px; border-color: var(--cyan); border-style: solid; opacity: 0.8; }
.card::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; border-top-left-radius: var(--radius); }
.card::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; border-bottom-right-radius: var(--radius); }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--navy); color: var(--cyan); margin-bottom: 18px; }
.icon svg { width: 22px; height: 22px; }
.icon.warm { background: rgba(154, 107, 69, 0.18); color: #C99872; }

.grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Duas portas ---------- */
.door { display: flex; flex-direction: column; padding: 34px 28px; }
.door .tag { font-family: var(--font-head); font-size: 0.9rem; letter-spacing: 2px; text-transform: uppercase; color: var(--silver); margin-bottom: 8px; }
.door h3 { font-size: 1.9rem; }
.door ul { list-style: none; padding: 0; margin: 6px 0 28px; flex: 1; }
.door li { padding: 9px 0 9px 28px; position: relative; border-bottom: 1px dashed var(--line); color: var(--silver); }
.door li:last-child { border-bottom: 0; }
.door li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 6px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg); }
.door .btn { align-self: flex-start; }
.door.big { background: linear-gradient(160deg, rgba(41, 67, 110, 0.55), var(--surface) 60%); }

/* ---------- Metodologia ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.step { position: relative; padding: 0 0 0 64px; }
@media (min-width: 900px) { .step { padding: 64px 24px 0 0; } }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--cyan); display: grid; place-items: center; font-family: var(--font-head); font-size: 1.15rem; color: var(--cyan); background: var(--bg); }
.step::after { content: ""; position: absolute; left: 23px; top: 46px; bottom: -18px; width: 1px; background: var(--line-strong); }
.step:last-child::after { display: none; }
@media (min-width: 900px) { .step::after { left: 46px; right: 0; top: 23px; bottom: auto; width: auto; height: 1px; } .step:last-child::after { display: none; } }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--silver); margin: 0; }

/* ---------- Lista de escopo ---------- */
.scope { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 720px) { .scope { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .scope { grid-template-columns: repeat(3, 1fr); } }
.scope > div { background: var(--surface); padding: 26px 24px; }
.scope h3 { font-size: 1.25rem; display: flex; align-items: center; gap: 10px; }
.scope h3 svg { width: 20px; height: 20px; color: var(--cyan); flex: none; }
.scope p { color: var(--silver); margin: 0; font-size: 0.98rem; }

/* ---------- Diferenciais ---------- */
.why { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .why { grid-template-columns: 5fr 7fr; gap: 64px; } }
.quote { font-family: var(--font-head); font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.15; border-left: 2px solid var(--gold); padding-left: 22px; margin: 26px 0 0; color: var(--text); }
.why-list { list-style: none; margin: 0; padding: 0; }
.why-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.why-list li:first-child { padding-top: 0; }
.why-list strong { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.why-list span { color: var(--silver); }
.why-list .icon { margin: 0; }

/* ---------- Operadoras / clientes ---------- */
.logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 720px) { .logos { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .logos { grid-template-columns: repeat(5, 1fr); } }
.plate { background: var(--plate); border-radius: 8px; height: 86px; display: grid; place-items: center; padding: 14px 18px; }
.plate img { max-height: 44px; width: auto; max-width: 100%; object-fit: contain; }
.logos-note { margin-top: 18px; font-size: 0.95rem; }

/* ---------- Depoimentos (comentado no HTML) ---------- */
.testimonial blockquote { margin: 0 0 18px; font-size: 1.1rem; }
.testimonial figcaption { color: var(--silver); font-size: 0.95rem; }
.testimonial figcaption strong { color: var(--text); display: block; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font-size: 1.12rem; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--silver); padding: 0 0 22px; margin: 0; max-width: 70ch; }

/* ---------- Contato / formulário ---------- */
.contact { display: grid; gap: 40px; }
@media (min-width: 1000px) { .contact { grid-template-columns: 5fr 7fr; gap: 64px; } }
.contact-aside ul { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-aside li { display: flex; gap: 12px; padding: 10px 0; color: var(--silver); }
.contact-aside li svg { width: 20px; height: 20px; color: var(--cyan); flex: none; margin-top: 3px; }
.contact-aside a { color: var(--text); }

.form { padding: 30px 24px; }
@media (min-width: 720px) { .form { padding: 38px 36px; } }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 500; margin-bottom: 7px; font-size: 0.97rem; }
.field label .req { color: var(--cta); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); font: inherit; font-size: 1rem; }
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--silver) 50%), linear-gradient(135deg, var(--silver) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(6, 173, 236, 0.25); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #FF7A7A; }
.field .hint { font-size: 0.85rem; color: var(--silver); margin-top: 5px; }
.field .err { font-size: 0.88rem; color: #FF9B9B; margin-top: 6px; min-height: 0; }
.check, .field label.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 0.95rem; color: var(--silver); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--cyan); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form-actions .btn { min-width: 220px; }
.form-status { font-size: 0.97rem; }
.form-status.error { color: #FF9B9B; }
.form-success { text-align: left; }
.form-success h3 { color: var(--cyan); }
.btn[disabled] { opacity: 0.6; cursor: wait; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 52px 0 36px; color: var(--silver); font-size: 0.95rem; }
.footer-grid { display: grid; gap: 30px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 2fr 2fr; } }
.site-footer h2 { font-size: 1.05rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text); margin-bottom: 12px; }
.site-footer p { margin: 0 0 6px; }
.site-footer a { color: var(--silver); }
.site-footer a:hover { color: var(--text); }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 0.88rem; }
.footer-brand img { width: 72px; margin-bottom: 14px; }

/* ---------- WhatsApp flutuante (comentado no HTML) ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; background: var(--surface-2); color: var(--text); border: 1px solid var(--line-strong); border-radius: 999px; padding: 12px 18px; text-decoration: none; font-weight: 600; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); }
.wa-float svg { width: 20px; height: 20px; color: var(--cyan); }

/* ---------- Página de texto (privacidade / 404) ---------- */
.doc { max-width: 820px; padding-top: 56px; padding-bottom: 88px; }
.doc h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
.doc h2 { font-size: 1.6rem; margin-top: 2em; }
.doc p, .doc li { color: var(--silver); }
.doc strong { color: var(--text); }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: 0.4em; }
.doc .updated { font-size: 0.95rem; }
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Ilustrações ---------- */
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 40px; } }
.hero-visual { margin: 0; max-width: 560px; width: 100%; justify-self: center; }
.hero-visual svg { width: 100%; height: auto; display: block; overflow: visible; }
.hero-visual text { font-family: var(--font-body); fill: var(--silver); font-size: 15px; }
.hero-visual .hv-eyebrow { font-family: var(--font-head); font-size: 13px; letter-spacing: 2.5px; fill: var(--cyan); }
.hero-visual .hv-title { font-family: var(--font-head); font-size: 22px; font-weight: 600; fill: var(--text); }
.hero-visual .hv-label { font-size: 14px; }
.hero-visual .hv-gold { font-size: 12px; fill: var(--gold); letter-spacing: 1px; }
.hero-visual .hv-row text { fill: var(--text); font-size: 15px; }
.hero-visual .hv-row .hv-ok { fill: var(--cyan); font-family: var(--font-head); font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; }
.hero-visual .hv-chip { fill: var(--text); font-weight: 600; font-size: 15px; }
.hero-visual .hv-note { font-size: 12px; fill: var(--silver); opacity: 0.75; font-style: italic; }
.door-art { width: calc(100% + 56px); max-width: none; margin: -34px -28px 22px; height: auto; border-bottom: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; background: rgba(13, 17, 23, 0.35); }

/* ---------- Faixa famílias (fotos) ---------- */
.family-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .family-grid { grid-template-columns: 5fr 7fr; gap: 64px; } }
.family-copy .lead { margin: 18px 0 28px; }
.family-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ph { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4 / 3; }
.ph-main { grid-column: 1 / -1; }
.ph-main img { aspect-ratio: 16 / 10; }
.ph-main::after { content: ""; position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-top: 2px solid var(--cyan); border-left: 2px solid var(--cyan); border-top-left-radius: var(--radius); }
.family { border-bottom: 1px solid var(--line); }
