@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Chivo:wght@400;700;800&display=swap");

:root {
  --bg-1: #061426;
  --bg-2: #0d1d36;
  --bg-3: #111f3d;
  --surface: rgba(15, 25, 42, 0.72);
  --surface-soft: rgba(255, 255, 255, 0.08);
  --surface-strong: #ffffff;
  --border: rgba(148, 163, 184, 0.18);
  --primary: #4cc9ff;
  --primary-strong: #4f7cff;
  --secondary: #80f7d5;
  --text: #eef7ff;
  --muted: #b7cde6;
  --ink: #071826;
  --success: #25d366;
  --shadow-lg: 0 28px 80px rgba(4, 9, 20, 0.54);
  --shadow-md: 0 18px 40px rgba(2, 6, 23, 0.28);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: min(1180px, 92vw);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(76, 201, 255, 0.22), transparent 20%),
    radial-gradient(circle at bottom right, rgba(79, 124, 255, 0.22), transparent 20%),
    linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 42%, var(--bg-3) 100%);
  color: var(--text);
  min-height: 100vh;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 5.8rem 0;
}

.section-soft {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.section-tag {
  margin: 0 0 0.8rem;
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Chivo", sans-serif;
  line-height: 1.08;
}

h1 {
  max-width: 15ch;
  font-size: clamp(2.7rem, 5vw, 5rem);
  letter-spacing: -0.06em;
}

h1 span {
  color: var(--primary);
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

h3 {
  font-size: clamp(1.8rem, 2.8vw, 3rem);
  letter-spacing: -0.04em;
}

h4 {
  font-size: clamp(1.2rem, 1.8vw, 1.8rem);
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(6, 20, 38, 0.72);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  box-shadow: 0 12px 22px rgba(79, 124, 255, 0.22);
}

.brand-text {
  display: grid;
  gap: 0.08rem;
}

.brand-text strong {
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--text);
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-links a {
  position: relative;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.46rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-admin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: var(--text);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
}

.nav-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(76, 201, 255, 0.1);
  border: 1px solid rgba(76, 201, 255, 0.2);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2rem;
  min-height: calc(100vh - 90px);
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.hero-copy {
  display: grid;
  gap: 1.25rem;
}

.pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(76, 201, 255, 0.18);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
}

.lead {
  max-width: 58ch;
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.4rem;
  border: none;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--ink);
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  box-shadow: 0 18px 36px rgba(76, 201, 255, 0.25);
}

.btn-secondary,
.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-md);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.14);
  color: var(--text);
  font-weight: 600;
  font-size: 0.8rem;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 540px;
  perspective: 1200px;
}

.device {
  position: absolute;
  border-radius: 32px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(9, 17, 31, 0.8));
  box-shadow: var(--shadow-lg);
}

.device-back {
  width: 72%;
  height: 76%;
  transform: rotate(-18deg) translateX(-26px) translateY(18px);
  background: linear-gradient(160deg, rgba(79, 124, 255, 0.16), rgba(255, 255, 255, 0.04));
}

.device-front {
  width: 72%;
  height: 78%;
  padding: 1rem;
  transform: rotate(8deg) translateY(-12px);
}

.screen-header {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 1rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-1 { background: #ff5f57; }
.dot-2 { background: #ffbd2f; }
.dot-3 { background: #28c840; }

.screen-content {
  display: grid;
  gap: 1rem;
  height: calc(100% - 2rem);
  padding: 0.5rem 0.4rem 0.2rem;
}

.mini-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-panel.blue {
  background: linear-gradient(135deg, rgba(76, 201, 255, 0.2), rgba(79, 124, 255, 0.2));
}

.mini-panel span {
  color: var(--muted);
  font-size: 0.78rem;
}

.mini-panel strong {
  font-size: 1.2rem;
  color: var(--text);
}

.bars {
  display: flex;
  align-items: end;
  gap: 0.75rem;
  height: 140px;
  padding: 1rem 0.4rem 0;
}

.bars span {
  display: block;
  width: 18%;
  min-height: 30px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-strong) 100%);
  box-shadow: 0 10px 25px rgba(76, 201, 255, 0.18);
}

.floating-card {
  position: absolute;
  display: grid;
  gap: 0.18rem;
  max-width: 200px;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(7, 24, 38, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow-md);
}

.floating-card span {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.floating-card strong {
  font-size: 1rem;
}

.floating-card.positive {
  top: 16%;
  right: 6%;
}

.floating-link {
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
}

.floating-link:hover {
  border-color: rgba(76, 201, 255, 0.4);
  background: linear-gradient(
    135deg,
    rgba(76, 201, 255, 0.12),
    rgba(79, 124, 255, 0.08)
  );
  box-shadow: 0 12px 32px rgba(76, 201, 255, 0.15), 0 0 20px rgba(76, 201, 255, 0.08);
  transform: translateY(-4px);
}

.floating-link:focus-visible {
  outline: 2px solid rgba(76, 201, 255, 0.5);
  outline-offset: 2px;
}

.floating-cta {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.04em;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.floating-link:hover .floating-cta {
  opacity: 1;
}

.floating-card.insight {
  bottom: 16%;
  left: 1%;
}

.proof-grid,
.steps-grid,
.report-grid {
  display: grid;
  gap: 1.2rem;
}

.proof-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-card,
.step-card,
.report-card,
.quiz-panel,
.quiz-result,
.contact-form {
  background: rgba(9, 17, 31, 0.58);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.proof-card,
.step-card,
.report-card {
  padding: 1.5rem;
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.report-card h4 {
  margin: 0;
}

.icon-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(76, 201, 255, 0.18), rgba(79, 124, 255, 0.18));
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 1rem;
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card {
  padding-top: 1.2rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: var(--ink);
  font-weight: 800;
  margin-bottom: 1rem;
}

/* Enquanto o visitante não pede o orçamento, o quiz ocupa a largura toda:
   o card de resultado exposto desde o início só mostrava "R$ 0". */
.quiz-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3rem;
  align-items: start;
}

.quiz-shell.tem-resultado {
  grid-template-columns: 1.2fr 0.8fr;
}

@media (max-width: 980px) {
  .quiz-shell.tem-resultado {
    grid-template-columns: 1fr;
  }
}

.quiz-panel {
  padding: 1.5rem;
}

.quiz-step {
  display: grid;
  gap: 1.15rem;
}

/* display: grid vence o display:none que o atributo hidden aplica, e todos os
   passos apareciam empilhados de uma vez em vez de um por vez. */
.quiz-step[hidden] {
  display: none;
}

.quiz-step-label {
  margin: 0;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quiz-helper {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.96rem;
}

.quiz-warning {
  margin: 0;
  color: #ffd7d7;
  font-size: 0.88rem;
  font-weight: 700;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.quiz-option {
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0.9rem 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quiz-option:hover,
.quiz-option.is-selected {
  border-color: rgba(76, 201, 255, 0.56);
  background: linear-gradient(135deg, rgba(76, 201, 255, 0.16), rgba(79, 124, 255, 0.12));
  box-shadow: 0 12px 24px rgba(76, 201, 255, 0.1);
}

.quiz-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.quiz-result {
  display: none;
  position: sticky;
  top: 110px;
  padding: 1.5rem;
}

.quiz-result.is-visible {
  display: block;
}

.result-price {
  margin: 0.8rem 0 0.4rem;
  color: var(--primary);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.05em;
}

.result-timeline {
  font-weight: 700;
  color: var(--text);
}

.insight-box {
  margin: 1.2rem 0;
  padding: 1rem;
  border-radius: 16px;
  background: rgba(76, 201, 255, 0.08);
  border: 1px solid rgba(76, 201, 255, 0.18);
}

.insight-title {
  margin-bottom: 0.7rem;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.insight-box ul {
  padding-left: 1.2rem;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.summary-text {
  margin: 1rem 0 1.2rem;
  font-size: 0.92rem;
}

.report-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tier-badge {
  display: inline-flex;
  justify-self: start;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.12);
  color: #68e7a5;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
}

.tier-badge.premium {
  background: rgba(76, 201, 255, 0.12);
  color: var(--primary);
}

.report-card ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.7rem;
}

.paid-note {
  margin: 0;
  color: var(--primary);
  font-weight: 700;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.4rem;
  align-items: center;
}

.contact-copy {
  display: grid;
  gap: 1rem;
}

.response-box {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.18);
}

.response-box strong {
  color: #7af0b1;
}

.contact-whatsapp {
  width: fit-content;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: rgba(7, 19, 31, 0.96);
  background-image:
    linear-gradient(45deg, transparent 50%, var(--primary) 50%),
    linear-gradient(135deg, var(--primary) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
  color: var(--text);
  color-scheme: dark;
}

select option {
  background: #081a2b;
  color: var(--text);
}

select option:checked {
  background: linear-gradient(135deg, rgba(76, 201, 255, 0.22), rgba(79, 124, 255, 0.18));
  color: #f4fbff;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(76, 201, 255, 0.68);
  box-shadow: 0 0 0 3px rgba(76, 201, 255, 0.12);
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 130px;
}

.footer {
  padding: 0.9rem 0 1.1rem;
  background: rgba(4, 9, 20, 0.9);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.footer-wrap {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  align-items: start;
}

.footer-brand,
.footer-column {
  display: grid;
  gap: 0.45rem;
}

.footer-brand {
  align-content: start;
}

.footer-logo {
  max-width: 92px;
  height: auto;
}

.footer-tagline {
  max-width: 22ch;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-size: 0.92rem;
}

.footer-title {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-column a:hover {
  color: var(--text);
}

.footer-admin-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  width: fit-content;
  margin-top: 0.5rem;
  padding: 0;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-admin-title,
.footer-admin-subtext {
  display: block;
  line-height: 1.35;
}

.footer-admin-title {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 600;
}

.footer-admin-subtext {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  font-weight: 400;
}

.footer-admin-link:hover .footer-admin-title,
.footer-admin-link:hover .footer-admin-subtext,
.footer-admin-link:focus-visible .footer-admin-title,
.footer-admin-link:focus-visible .footer-admin-subtext {
  color: var(--text);
}

.footer-social {
  display: flex;
  gap: 0.55rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.whatsapp-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--success) 0%, #0f9d5a 100%);
  box-shadow: 0 18px 30px rgba(37, 211, 102, 0.38);
  color: #fff;
  text-decoration: none;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .header {
    position: static;
  }

  .whatsapp-float {
    display: none;
  }

  .hero,
  .quiz-shell,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual {
    min-height: 440px;
  }

  .quiz-result {
    position: static;
  }
}

@media (max-width: 760px) {
  .header {
    position: static;
  }

  .section {
    padding: 4.4rem 0;
  }

  .nav-wrap {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.8rem 0 1rem;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .nav-whatsapp {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-actions,
  .quiz-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn,
  .contact-whatsapp,
  .nav-whatsapp {
    width: 100%;
  }

  .proof-grid,
  .steps-grid,
  .report-grid,
  .field-row,
  .option-grid {
    grid-template-columns: 1fr;
  }

  .floating-card.positive {
    right: 0;
  }

  .floating-card.insight {
    left: 0;
  }

  .footer-wrap {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .footer {
    padding: 0.7rem 0 0.85rem;
  }

  .footer-brand {
    justify-items: start;
    gap: 0.35rem;
  }

  .footer-logo {
    max-width: 78px;
  }

  .footer-tagline {
    max-width: 100%;
    font-size: 0.84rem;
    line-height: 1.5;
  }

  .footer-column {
    gap: 0.3rem;
  }

  .footer-admin-text {
    width: auto;
  }

  .footer-social {
    gap: 0.45rem;
  }

  .footer-social a {
    width: 32px;
    height: 32px;
  }

  .whatsapp-float {
    width: 58px;
    height: 58px;
    right: 1rem;
    bottom: 1rem;
  }
}


/* Ícones desenhados como silhueta (WhatsApp): precisam de preenchimento.
   Com o stroke geral do rodapé viravam um emaranhado de linhas. */
.footer-social svg.icon-solid {
  fill: currentColor;
  stroke: none;
  width: 15px;
  height: 15px;
}

.footer-brand {
  gap: 0.7rem;
  max-width: 40ch;
}

.footer-tagline {
  margin: 0;
  line-height: 1.6;
}

.footer-social {
  margin-top: 0.35rem;
}

.footer-column {
  gap: 0.5rem;
}

.footer-column a {
  line-height: 1.5;
}


.footer-bottom {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 860px) {
  .footer-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand {
    max-width: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}

/* Sem isso o botão de enviar fica com a cor de ativo mesmo bloqueado, e o
   visitante clica achando que vai acontecer alguma coisa. */
.btn:disabled,
.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  filter: grayscale(0.4);
}

.btn:disabled:hover,
.btn[disabled]:hover {
  transform: none;
}

/* Piscada curta ao usar "Calcular orçamento", para o olho achar o resultado. */
.quiz-result.is-highlighted {
  animation: destaque-resultado 1.2s ease;
}

@keyframes destaque-resultado {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124, 156, 255, 0); }
  35% { box-shadow: 0 0 0 4px rgba(124, 156, 255, 0.35); }
}

@media (prefers-reduced-motion: reduce) {
  .quiz-result.is-highlighted { animation: none; }
}


/* Depois de calcular, as perguntas saem de cena: fica só o resultado, em
   largura total. O visitante volta pelo botão de refazer. */
.quiz-shell.mostrando-resultado {
  grid-template-columns: 1fr;
}

.quiz-shell.mostrando-resultado .quiz-panel {
  display: none;
}

.quiz-shell.mostrando-resultado .quiz-result {
  position: static;
  padding: 2rem;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-top: 1.2rem;
}


/* Páginas de política de privacidade e termos de uso. */
.legal-page {
  max-width: 76ch;
}

.legal-page h1 {
  margin: 0.4rem 0 0.3rem;
}

.legal-page h2 {
  margin: 2rem 0 0.6rem;
  font-size: 1.15rem;
}

.legal-page p,
.legal-page li {
  line-height: 1.7;
  color: var(--muted);
}

.legal-page ul {
  display: grid;
  gap: 0.5rem;
  padding-left: 1.1rem;
}

.legal-page strong {
  color: var(--text);
}

.legal-updated {
  font-size: 0.9rem;
}

.legal-back {
  margin-top: 2.5rem;
}

/* Cada opção explica o que é, para quem não é da área saber onde a ideia dele
   se encaixa sem precisar perguntar. */
.quiz-option {
  display: grid;
  gap: 0.3rem;
  text-align: left;
}

.option-title {
  font-weight: 700;
}

.option-desc {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.86rem;
  line-height: 1.45;
}

.quiz-option.is-selected .option-desc {
  color: var(--text);
}
