:root {
  --primary: #8828B5;
  --primary-dark: #6e1f95;
  --accent: #FFC430;
  --bg: #ffffff;
  --bg-soft: #faf6fd;
  --bg-accent: linear-gradient(135deg, #8828B5 0%, #9b4cc2 100%);
  --text: #24182b;
  --muted: #665b6d;
  --border: rgba(136, 40, 181, 0.12);
  --shadow: 0 18px 40px rgba(83, 29, 108, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(136, 40, 181, 0.08);
}
.topbar-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand img {
  width: 190px;
  height: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 16px 32px rgba(136, 40, 181, 0.24);
}
.button-secondary {
  border: 1px solid rgba(136, 40, 181, 0.18);
  color: var(--primary);
  background: #fff;
}
.button-small {
  min-height: 44px;
  padding: 0 16px;
  font-size: 0.9rem;
}

.hero {
  padding: 28px 0 38px;
  background:
    radial-gradient(circle at top right, rgba(255, 196, 48, 0.20), transparent 30%),
    radial-gradient(circle at left center, rgba(136, 40, 181, 0.07), transparent 34%),
    #fff;
}
.hero-grid {
  display: grid;
  gap: 24px;
  align-items: center;
}
.eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(136, 40, 181, 0.08);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.86rem;
}
.hero h1,
.section-heading h2,
.final-cta h2 {
  margin: 14px 0 14px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.hero h1 { font-size: clamp(2rem, 5vw, 4.35rem); }
.hero-text,
.section-heading p,
.about-copy p,
.final-cta p {
  color: var(--muted);
  font-size: 1rem;
}
.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}
.hero-highlights span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.82);
  font-size: 0.92rem;
  color: #4a3f51;
}
.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
}
.hero-card {
  position: relative;
  padding: 14px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(250,246,253,0.96));
  box-shadow: var(--shadow);
  border: 1px solid rgba(136, 40, 181, 0.12);
}
.hero-photo {
  aspect-ratio: 1 / 1.02;
  object-fit: cover;
  border-radius: 24px;
  width: 100%;
}
.hero-badge {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(136, 40, 181, 0.12);
  box-shadow: 0 12px 28px rgba(74, 31, 96, 0.12);
  border-radius: 20px;
  padding: 16px 18px;
}
.hero-badge strong { display: block; font-size: 1rem; margin-bottom: 6px; }
.hero-badge span { color: var(--muted); font-size: 0.92rem; }

.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-accent { background: var(--bg-accent); color: #fff; }
.section-heading { margin-bottom: 34px; }
.section-heading.center { text-align: center; }
.section-heading.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.on-accent p { color: rgba(255,255,255,0.82); }
.tag-on-accent { background: rgba(255,255,255,0.12); color: #fff; }

.symptoms-grid,
.specialties-grid,
.steps-grid,
.benefits-grid,
.testimonials-grid,
.stats-grid {
  display: grid;
  gap: 16px;
}
.symptom-card,
.specialty-card,
.step-card,
.benefit-card,
.testimonial-card,
.stat-card {
  padding: 22px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 14px 30px rgba(89, 39, 112, 0.06);
}
.symptom-card {
  font-weight: 600;
  min-height: 88px;
  display: flex;
  align-items: center;
}
.about-grid {
  display: grid;
  gap: 26px;
  align-items: center;
}
.about-visual img {
  width: 100%;
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.stats-grid { margin-top: 24px; }
.stat-card strong { display: block; color: var(--primary); font-size: 1.1rem; margin-bottom: 6px; }
.stat-card span { color: var(--muted); }
.specialty-card h3,
.step-card h3 { margin: 0 0 10px; font-size: 1.12rem; }
.specialty-card p,
.step-card p,
.testimonial-card p { margin: 0 0 12px; color: var(--muted); }
.specialty-card span { color: var(--primary); font-weight: 700; }
.step-number {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(136, 40, 181, 0.1);
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 14px;
}
.benefit-card {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: none;
  backdrop-filter: blur(8px);
  font-weight: 600;
}
.testimonial-card strong { font-size: 0.96rem; color: var(--text); }

.final-cta {
  background:
    radial-gradient(circle at top left, rgba(255, 196, 48, 0.18), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #fbf8fd 100%);
}
.final-cta-box {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: 32px;
  border-radius: 32px;
  background: #fff;
  border: 1px solid rgba(136, 40, 181, 0.12);
  box-shadow: var(--shadow);
}
.final-cta-actions { display: grid; gap: 12px; }
.cta-note { margin: 0; font-size: 0.92rem; }

.footer {
  padding: 32px 0 110px;
  border-top: 1px solid rgba(136, 40, 181, 0.08);
  background: #fff;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.footer img { width: 200px; }
.footer p,
.footer a { margin: 0; color: var(--muted); }


.floating-whatsapp {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  background: #25D366;
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 18px 30px rgba(37, 211, 102, 0.26);
}
.floating-whatsapp:hover {
  background: #1ebe5d;
}
.floating-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.18);
  color: #ffffff;
  flex: 0 0 30px;
}


@media (min-width: 720px) {
  .hero-cta-group { flex-direction: row; flex-wrap: wrap; }
  .symptoms-grid { grid-template-columns: repeat(2, 1fr); }
  .specialties-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid,
  .testimonials-grid,
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .final-cta-box { grid-template-columns: 1.3fr 0.8fr; }
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 980px) {
  .hero { padding: 34px 0 56px; }
  .hero-grid { grid-template-columns: 1.04fr 0.96fr; gap: 42px; }
  .about-grid { grid-template-columns: 0.85fr 1.15fr; gap: 42px; }
  .symptoms-grid,
  .benefits-grid { grid-template-columns: repeat(4, 1fr); }
  .specialties-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .topbar-inner { align-items: flex-start; padding: 14px 0; flex-direction: column; }
  .brand img { width: 170px; }
  .button-small { width: 100%; }
  .final-cta-box,
  .hero-card { border-radius: 24px; }
  .section { padding: 58px 0; }
}


/* Ajustes finos solicitados */
.topbar-inner {
  min-height: 112px;
}

.brand img {
  width: 230px;
  height: auto;
}

.hero {
  padding-top: 34px;
}

.hero h1 {
  font-size: clamp(1.85rem, 4.4vw, 3.85rem);
  color: #b7b2bc;
}

.hero h1 .h1-highlight {
  color: var(--primary);
}

.hero-authority {
  margin: 14px 0 0;
  font-weight: 800;
  color: var(--text);
}

.hero-card {
  display: flex;
  flex-direction: column;
}

.hero-badge {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  margin-top: 14px;
}

.hero-photo {
  aspect-ratio: 1 / 1;
}

.about-visual img {
  aspect-ratio: 0.82 / 1;
  object-fit: cover;
}

@media (max-width: 640px) {
  .topbar-inner {
    min-height: 136px;
    align-items: center;
  }

  .brand img {
    width: 220px;
  }

  .hero h1 {
    font-size: 2.15rem;
  }
}


/* Ajustes finais solicitados */

.topbar-inner {
  min-height: 140px; /* mais espaço acima e abaixo da logo */
}

.hero h1 {
  color: #d8cfe3; /* lilás mais claro */
}

.hero h1 .h1-highlight {
  color: #8828B5; /* lilás principal */
}


/* Ajuste premium final da headline */
.hero h1 {
  color: #8828B5;
  font-size: calc(clamp(1.85rem, 4.4vw, 3.85rem) - 1px);
}

.hero h1 .h1-highlight {
  color: #8828B5;
  font-weight: 800;
  letter-spacing: 0.5px;
}


/* Ajuste leve e premium da headline */
.hero h1 {
  color: #8828B5;
  font-weight: 500;
}

.hero h1 .h1-highlight {
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(136, 40, 181, 0.18);
}


/* Botão WhatsApp padrão oficial */
.whatsapp-button {
  background: #25D366;
  color: white;
}

.whatsapp-button:hover {
  background: #1ebe5d;
}

.cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
}


/* Correção definitiva do botão flutuante em qualquer breakpoint */
.floating-whatsapp,
.floating-whatsapp:visited,
.floating-whatsapp:focus,
.floating-whatsapp:active {
  background: #25D366 !important;
  background-image: none !important;
  color: #ffffff !important;
}

.floating-whatsapp:hover {
  background: #1ebe5d !important;
  background-image: none !important;
}

.floating-whatsapp .floating-icon,
.floating-whatsapp .floating-icon svg {
  color: #ffffff !important;
  fill: currentColor !important;
}

@media (max-width: 1024px),
       (max-width: 768px),
       (max-width: 640px),
       (max-width: 480px) {
  .floating-whatsapp,
  .floating-whatsapp:visited,
  .floating-whatsapp:focus,
  .floating-whatsapp:active {
    background: #25D366 !important;
    background-image: none !important;
    color: #ffffff !important;
  }

  .floating-whatsapp:hover {
    background: #1ebe5d !important;
    background-image: none !important;
  }

  .floating-whatsapp .floating-icon,
  .floating-whatsapp .floating-icon svg {
    color: #ffffff !important;
    fill: currentColor !important;
  }
}
