/* ==========================================================================
   Nuzu — site de vendas
   Mobile-first. Paleta documentada no README.
   ========================================================================== */

:root {
  /* Paleta Nuzu */
  --petrol-950: #071418;   /* fundo principal */
  --petrol-900: #0B1E24;   /* fundo alternado / superfícies */
  --petrol-800: #12303A;   /* cards */
  --petrol-700: #1B4350;   /* bordas fortes */
  --ink:        #EAF4F3;   /* texto principal */
  --muted:      #A3BBBE;   /* texto secundário */
  --lime:       #C8F25A;   /* destaque principal (CTA) */
  --cyan:       #4FE3D6;   /* destaque secundário */
  --coral:      #FF8A5B;   /* acento quente */
  --danger:     #FF9C9C;

  --line: rgba(234, 244, 243, .10);
  --line-strong: rgba(234, 244, 243, .18);
  --grad: linear-gradient(100deg, var(--lime) 0%, var(--cyan) 100%);

  --font-display: "Sora", "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
  --header-h: 68px;
  --container: 1160px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--petrol-950);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 7vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--lime); }
ul, ol { margin: 0; padding: 0; }
[role="list"] { list-style: none; }

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

.sr-only {
  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: 12px; top: -60px; z-index: 100;
  background: var(--lime); color: var(--petrol-950);
  padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}
.container-narrow { max-width: 820px; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: .9rem;
}

.pill {
  display: inline-block;
  font-size: .8rem; font-weight: 700;
  padding: 6px 12px; border-radius: 999px;
  margin-bottom: 1rem;
}
.pill-warm { background: rgba(255, 138, 91, .14); color: var(--coral); border: 1px solid rgba(255, 138, 91, .4); }

/* ---------- Botões ---------- */
.btn {
  --btn-bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: var(--btn-bg);
  font: 700 1rem/1.2 var(--font-body);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { --btn-bg: var(--lime); color: var(--petrol-950); box-shadow: 0 10px 30px -12px rgba(200, 242, 90, .55); }
.btn-primary:hover { --btn-bg: #D6F77E; }
.btn-ghost { color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  background: rgba(7, 20, 24, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(7, 20, 24, .9); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.logo-mark { width: 36px; height: 36px; }
.logo-text { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; letter-spacing: -.03em; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--line-strong); border-radius: 12px;
  color: var(--ink); cursor: pointer;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px;
  position: relative; transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

.main-nav {
  position: absolute; top: var(--header-h); left: 0; right: 0;
  background: var(--petrol-900);
  border-bottom: 1px solid var(--line);
  padding: 12px 20px 20px;
  display: none;
}
.main-nav.is-open { display: block; }
.main-nav ul { list-style: none; margin-bottom: 12px; }
.main-nav li a {
  display: block; padding: 12px 4px;
  color: var(--ink); text-decoration: none; font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.main-nav li a:hover { color: var(--lime); }
.main-nav .btn { width: 100%; }

/* Sem JS: menu sempre visível no mobile */
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .main-nav { position: static; display: block; }
html:not(.js) .site-header { position: static; height: auto; }
html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 12px; }

/* ---------- Seções ---------- */
.section { padding-block: 72px; }
.section-alt { background: var(--petrol-900); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-sub { color: var(--muted); font-size: 1.05rem; }

.card {
  background: var(--petrol-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.section-alt .card { background: rgba(18, 48, 58, .7); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin: 0; }

.fine-print { color: var(--muted); font-size: .88rem; margin-top: 28px; max-width: 820px; }

.badge-illustrative {
  position: absolute; z-index: 3;
  top: 10px; right: 10px;
  background: var(--coral); color: #2A0F04;
  font-size: .72rem; font-weight: 700; letter-spacing: .02em;
  padding: 4px 10px; border-radius: 999px;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .5);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 72px;
  background:
    radial-gradient(900px 500px at 90% 0%, rgba(79, 227, 214, .12), transparent 60%),
    radial-gradient(700px 500px at 0% 30%, rgba(200, 242, 90, .08), transparent 60%);
}
html:not(.js) .hero { padding-top: 40px; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 60ch; }
.lead strong { color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.cta-row .btn { flex: 1 1 240px; }

.hero-points { display: grid; gap: 10px; color: var(--ink); font-size: .95rem; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; }
.icon-check {
  flex: none; width: 22px; height: 22px; padding: 3px;
  border-radius: 50%; background: rgba(200, 242, 90, .14);
  fill: none; stroke: var(--lime); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Mockup do celular ---------- */
.hero-visual { display: flex; justify-content: center; }
.phone {
  position: relative;
  width: min(100%, 350px);
  margin: 0;
  padding: 12px;
  border-radius: 42px;
  background: linear-gradient(160deg, #1d3a44, #0c1c22);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow), 0 0 0 6px rgba(234, 244, 243, .03);
}
.phone .badge-illustrative { top: -12px; right: 20px; }
.phone-screen {
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at 1px 1px, rgba(234, 244, 243, .05) 1px, transparent 0) 0 0 / 18px 18px,
    #0E1F25;
}
.chat-head {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 14px 12px;
  background: #12303A;
  border-bottom: 1px solid var(--line);
}
.chat-avatar {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #E8A33D; color: #3A1F00;
  font: 800 .8rem/1 var(--font-display);
}
.chat-head-text { display: flex; flex-direction: column; min-width: 0; }
.chat-head-text strong { font-size: .92rem; }
.chat-head-text span { font-size: .75rem; color: var(--muted); }

.chat { list-style: none; display: flex; flex-direction: column; gap: 8px; padding: 14px 12px 18px; }
.msg {
  position: relative;
  max-width: 85%;
  padding: 8px 10px 18px;
  border-radius: 14px;
  font-size: .84rem; line-height: 1.4;
}
.msg p { margin: 0; }
.msg time { position: absolute; right: 10px; bottom: 4px; font-size: .64rem; color: var(--muted); }
.msg-out { align-self: flex-end; background: #234B2F; border-bottom-right-radius: 4px; }
.msg-out time { color: #B9D3BE; }
.msg-in { align-self: flex-start; background: #17323B; border-bottom-left-radius: 4px; }
.msg-author { display: block; font-size: .72rem; font-weight: 700; color: var(--lime); margin-bottom: 2px; }
.msg-note { font-size: .74rem; color: var(--muted); margin-top: 4px !important; }

.mini-art {
  display: flex; flex-direction: column; gap: 4px;
  margin: 8px 0 2px;
  padding: 12px;
  border-radius: 10px;
  background: linear-gradient(145deg, #F6C453, #E8A33D);
  color: #3A1F00;
}
.mini-art-logo { font: 800 .7rem/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.mini-art-title { font: 800 1.15rem/1.1 var(--font-display); }
.mini-art-tag { align-self: flex-start; font-size: .68rem; font-weight: 700; background: #3A1F00; color: #F6C453; padding: 2px 8px; border-radius: 999px; }

.audio { display: flex; align-items: center; gap: 8px; min-width: 190px; padding: 2px 0; }
.audio-play {
  width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--lime); position: relative;
}
.audio-play::after {
  content: ""; position: absolute; left: 11px; top: 8px;
  border-left: 9px solid var(--petrol-950); border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.audio-wave { display: flex; align-items: center; gap: 3px; flex: 1; height: 24px; }
.audio-wave i { display: block; width: 3px; border-radius: 3px; background: var(--muted); height: 30%; }
.audio-wave i:nth-child(3n) { height: 70%; }
.audio-wave i:nth-child(4n) { height: 100%; background: var(--cyan); }
.audio-wave i:nth-child(5n) { height: 50%; }
.audio-time { font-size: .7rem; color: var(--muted); }

.mini-report {
  display: flex; flex-direction: column; gap: 2px;
  margin-bottom: 6px; padding: 10px;
  border-radius: 10px;
  background: rgba(7, 20, 24, .6);
  border: 1px solid var(--line);
  font-size: .78rem;
}
.mini-report strong { font-size: .82rem; margin-bottom: 2px; }

/* ---------- Problema ---------- */
.problem-grid { display: grid; gap: 16px; }
.problem { border-left: 3px solid var(--coral); }

/* ---------- Passos ---------- */
.steps { list-style: none; display: grid; gap: 16px; counter-reset: step; }
.step {
  position: relative;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(18, 48, 58, .7);
  border: 1px solid var(--line);
}
.step p { color: var(--muted); margin: 0; }
.step-num {
  display: grid; place-items: center;
  width: 44px; height: 44px; margin-bottom: 16px;
  border-radius: 14px;
  background: var(--grad); color: var(--petrol-950);
  font: 800 1.2rem/1 var(--font-display);
}

/* ---------- Prévia (posts) ---------- */
.posts-grid { display: grid; gap: 28px; }
.post-demo { position: relative; margin: 0; }
.post-demo figcaption { margin-top: 12px; font-size: .88rem; color: var(--muted); text-align: center; }
.post {
  --p-bg: #fff; --p-ink: #111; --p-accent: #000; --p-soft: #eee; --p-font: var(--font-display);
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex; flex-direction: column;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--p-bg);
  color: var(--p-ink);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.post::before {
  content: ""; position: absolute; width: 70%; aspect-ratio: 1; right: -22%; bottom: -26%;
  border-radius: 50%; background: var(--p-soft);
}
.post > * { position: relative; }
.post-top { display: flex; align-items: center; gap: 10px; margin-bottom: auto; }
.post-logo {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 50%; background: var(--p-accent); color: var(--p-bg);
  font: 800 .8rem/1 var(--font-display);
}
.post-brand { font-weight: 700; font-size: .9rem; }
.post-kicker { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--p-accent); margin: 0 0 6px; }
.post-title { font: 800 clamp(1.3rem, 5.5vw, 1.6rem)/1.15 var(--p-font); margin: 0 0 16px; max-width: 15ch; }
.post-cta {
  align-self: flex-start;
  padding: 8px 14px; border-radius: 999px;
  background: var(--p-accent); color: var(--p-bg);
  font-size: .82rem; font-weight: 700;
}
.post-handle { margin-top: 12px; font-size: .75rem; opacity: .7; }

.brand-clinic .post { --p-bg: #F2F8FB; --p-ink: #12324A; --p-accent: #17679A; --p-soft: #D6ECF6; }
.brand-clinic .post-logo { border-radius: 12px; }
.brand-food .post {
  --p-bg: #FBF1E3; --p-ink: #3B1510; --p-accent: #B3261E; --p-soft: #F2D9B8;
  --p-font: Georgia, "Times New Roman", serif;
}
.brand-food .post-title { font-weight: 700; font-style: italic; }
.brand-pet .post { --p-bg: #FFD84D; --p-ink: #2B1452; --p-accent: #5B2BB5; --p-soft: #FFC21A; }
.brand-pet .post-logo { border-radius: 40% 60% 55% 45%; }
.brand-pet .post-cta { border-radius: 10px; transform: rotate(-2deg); }

/* ---------- Entregas ---------- */
.features { display: grid; gap: 16px; }
.feature { display: flex; flex-direction: column; }
.feature p { flex: 1; }
.feature .icon {
  width: 46px; height: 46px; padding: 10px; margin-bottom: 16px;
  border-radius: 14px;
  background: rgba(79, 227, 214, .1);
  fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.tag {
  align-self: flex-start;
  margin-top: 16px;
  font-size: .74rem; font-weight: 600;
  padding: 3px 10px; border-radius: 999px;
  color: var(--lime); border: 1px solid rgba(200, 242, 90, .35);
}
.tag::before { content: "a partir do "; color: var(--muted); font-weight: 500; }

/* ---------- Para quem é ---------- */
.segments { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.segments li {
  padding: 8px 14px; border-radius: 999px;
  background: var(--petrol-800); border: 1px solid var(--line);
  font-size: .92rem;
}
.fit-grid { display: grid; gap: 16px; }
.fit ul { list-style: none; display: grid; gap: 10px; }
.fit li { position: relative; padding-left: 28px; color: var(--muted); }
.fit li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.fit-yes { border-top: 3px solid var(--lime); }
.fit-yes li::before { content: "✓"; color: var(--lime); }
.fit-no { border-top: 3px solid var(--coral); }
.fit-no li::before { content: "✕"; color: var(--coral); }

/* ---------- Planos ---------- */
.plans { display: grid; gap: 20px; align-items: start; }
.plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: 28px 24px;
  border-radius: 22px;
  background: var(--petrol-800);
  border: 1px solid var(--line);
}
.plan h3 { font-size: 1.4rem; margin-bottom: .3em; }
.plan-desc { color: var(--muted); font-size: .95rem; min-height: 3em; }
.price { display: flex; align-items: baseline; gap: 4px; margin: 4px 0 2px; font-family: var(--font-display); }
.price-cur { font-size: 1.1rem; color: var(--muted); font-weight: 600; }
.price-val { font-size: 2.8rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.price-per { color: var(--muted); font-weight: 500; }
.setup { color: var(--muted); font-size: .9rem; margin-bottom: 20px; }
.plan-list { list-style: none; display: grid; gap: 10px; margin-bottom: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.plan-list li { position: relative; padding-left: 26px; font-size: .95rem; }
.plan-list li::before {
  content: ""; position: absolute; left: 2px; top: .45em;
  width: 12px; height: 7px;
  border-left: 2.5px solid var(--lime); border-bottom: 2.5px solid var(--lime);
  transform: rotate(-45deg);
}
.plan-list small { color: var(--muted); }
.plan .btn { margin-top: auto; }
.plan-featured {
  background: linear-gradient(180deg, rgba(200, 242, 90, .10), rgba(18, 48, 58, 1) 45%);
  border: 1.5px solid var(--lime);
  box-shadow: 0 30px 60px -30px rgba(200, 242, 90, .35);
}
.plan-flag {
  position: absolute; top: -13px; left: 24px;
  padding: 4px 12px; border-radius: 999px;
  background: var(--lime); color: var(--petrol-950);
  font-size: .78rem; font-weight: 800;
}
.plan-flag-warm { background: var(--coral); color: #2A0F04; }

/* ---------- Fundadores ---------- */
.founders {
  display: grid; gap: 32px;
  padding: 32px 22px;
  border-radius: 26px;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(255, 138, 91, .14), transparent 70%),
    radial-gradient(600px 300px at 0% 100%, rgba(200, 242, 90, .10), transparent 70%),
    var(--petrol-900);
  border: 1px solid var(--line-strong);
}
.founders-copy p { color: var(--muted); font-size: 1.05rem; }
.founders-copy p strong { color: var(--ink); }
.founders-copy .eyebrow { color: var(--coral); }
.founders-deal { display: grid; gap: 16px; }
.deal { padding: 20px; border-radius: var(--radius); background: rgba(7, 20, 24, .55); border: 1px solid var(--line); }
.deal ul { list-style: none; display: grid; gap: 8px; }
.deal li { position: relative; padding-left: 22px; color: var(--muted); font-size: .95rem; }
.deal li::before { content: "→"; position: absolute; left: 0; color: var(--lime); }
.signature { font-family: var(--font-display); font-style: italic; color: var(--ink); margin: 0; }

/* ---------- Compromisso ---------- */
.promise-grid { display: grid; gap: 16px; }
.promise { border-top: 3px solid var(--cyan); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  border-radius: var(--radius-sm);
  background: var(--petrol-800);
  border: 1px solid var(--line);
  transition: border-color .2s;
}
.faq details[open] { border-color: rgba(200, 242, 90, .45); }
.faq summary {
  position: relative;
  padding: 18px 52px 18px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius-sm);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%);
  font: 500 1.5rem/1 var(--font-display); color: var(--lime);
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 20px 20px; margin: 0; color: var(--muted); }

/* ---------- Formulário ---------- */
.form-wrap { display: grid; gap: 32px; align-items: start; }
.form-intro p { color: var(--muted); font-size: 1.05rem; }
.lead-form { padding: 24px 20px; }
.form-grid { display: grid; gap: 16px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: .92rem; }
.req { color: var(--coral); }
.opt { color: var(--muted); font-weight: 400; }
.field input[type="text"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line-strong);
  background: var(--petrol-950);
  color: var(--ink);
  font: 400 1rem/1.4 var(--font-body);
  transition: border-color .2s, box-shadow .2s;
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 38px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field ::placeholder { color: #6F8A8E; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(79, 227, 214, .3);
}
.field [aria-invalid="true"] { border-color: var(--danger) !important; }
.field-error { margin: 0; font-size: .82rem; color: var(--danger); min-height: 0; }
.field-error:empty { display: none; }

.field-check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.field-check input {
  flex: none; width: 22px; height: 22px; margin: 2px 0 0;
  accent-color: var(--lime);
}
.field-check label { flex: 1; font-weight: 400; font-size: .9rem; color: var(--muted); }
.field-check .field-error { flex-basis: 100%; padding-left: 34px; }

.form-note { font-size: .82rem; color: var(--muted); }
.form-status { margin-top: 16px; }
.form-status:empty { display: none; }
.form-status:focus { outline: none; }
.notice {
  padding: 14px 16px;
  border-radius: 12px;
  font-size: .92rem;
}
.notice p { margin: 0 0 .5em; }
.notice p:last-child { margin: 0; }
.notice-warn { background: rgba(255, 138, 91, .12); border: 1px solid rgba(255, 138, 91, .5); }
.notice-ok { background: rgba(200, 242, 90, .1); border: 1px solid rgba(200, 242, 90, .45); }
.notice-error { background: rgba(255, 156, 156, .1); border: 1px solid rgba(255, 156, 156, .5); }
.notice pre {
  white-space: pre-wrap; word-break: break-word;
  margin: 10px 0 0; padding: 10px;
  max-height: 220px; overflow: auto;
  background: var(--petrol-950); border-radius: 8px;
  font: .8rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted);
}

/* ---------- Rodapé ---------- */
.site-footer { padding: 48px 0 calc(32px + 72px); border-top: 1px solid var(--line); }
.footer-inner { display: grid; gap: 28px; }
.footer-brand p { color: var(--muted); margin-top: 12px; font-size: .95rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.footer-links a:hover { color: var(--lime); text-decoration: underline; }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
.footer-bottom p { margin-bottom: .5em; }

/* ---------- Botão flutuante ---------- */
.float-cta {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  display: inline-flex; align-items: center; gap: 8px;
  height: 54px; padding: 0 16px;
  border-radius: 999px;
  background: var(--petrol-800);
  border: 1.5px solid var(--lime);
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: .9rem;
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), opacity .3s;
}
.float-cta svg { width: 24px; height: 24px; fill: none; stroke: var(--lime); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.float-cta:hover { background: var(--petrol-700); }
.float-cta.is-hidden { opacity: 0; transform: translateY(20px); pointer-events: none; visibility: hidden; }
.float-cta-text { display: none; }

/* ---------- Animações (só com JS e sem reduced-motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  html.js .reveal.is-visible { opacity: 1; transform: none; }

  .hero-visual .phone { animation: float 7s ease-in-out infinite; }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

  .audio-wave i { animation: wave 1.6s ease-in-out infinite; transform-origin: center; }
  .audio-wave i:nth-child(2n) { animation-delay: .2s; }
  .audio-wave i:nth-child(3n) { animation-delay: .4s; }
  @keyframes wave { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.55); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 600px) {
  .container { padding-inline: 28px; }
  .problem-grid, .features, .promise-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .fit-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .field-full { grid-column: 1 / -1; }
  .lead-form { padding: 32px; }
  .founders { padding: 44px; }
  .float-cta-text { display: inline; }
  .footer-inner { grid-template-columns: 1fr 1.4fr; align-items: start; }
}

@media (min-width: 900px) {
  :root { --header-h: 76px; }
  .section { padding-block: 104px; }
  .nav-toggle { display: none; }
  .main-nav, html:not(.js) .main-nav {
    position: static; display: flex; align-items: center; gap: 28px;
    padding: 0; background: none; border: 0;
  }
  .main-nav ul { display: flex; gap: 24px; margin: 0; }
  .main-nav li a { padding: 6px 0; border: 0; font-size: .95rem; color: var(--muted); }
  .main-nav li a:hover { color: var(--ink); }
  .main-nav .btn { width: auto; }

  .hero { padding-top: calc(var(--header-h) + 72px); padding-bottom: 104px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .cta-row .btn { flex: 0 0 auto; }

  .problem-grid { grid-template-columns: repeat(6, 1fr); }
  .problem-grid > :nth-child(-n+3) { grid-column: span 2; }
  .problem-grid > :nth-child(n+4) { grid-column: span 3; }

  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps .step:not(:last-child)::after {
    content: ""; position: absolute; top: 46px; right: -16px; width: 16px; height: 2px;
    background: var(--grad);
  }

  .posts-grid { grid-template-columns: repeat(3, 1fr); }
  .post-title { font-size: 1.45rem; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .promise-grid { grid-template-columns: repeat(6, 1fr); }
  .promise-grid > :nth-child(-n+3) { grid-column: span 2; }
  .promise-grid > :nth-child(n+4) { grid-column: span 3; }

  .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .plan-featured { margin-top: -12px; }

  .founders { grid-template-columns: 1.1fr 1fr; padding: 56px; align-items: center; }
  .form-wrap { grid-template-columns: .8fr 1.2fr; gap: 56px; }
  .form-intro { position: sticky; top: calc(var(--header-h) + 32px); }
}

@media (min-width: 1100px) {
  .phone { width: 360px; }
}
