:root {
  --white: #ffffff;
  --ice: #f5f9ff;
  --mist: #eaf3ff;
  --blue: #0b66c3;
  --blue-deep: #06264a;
  --blue-dark: #031a33;
  --green: #44d7a8;
  --green-soft: #dffbf2;
  --text: #102033;
  --muted: #65758a;
  --line: rgba(11, 102, 195, 0.12);
  --glass: rgba(255, 255, 255, 0.13);
  --shadow: 0 24px 70px rgba(5, 35, 72, 0.16);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1120px, calc(100% - 40px));
}

* { 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;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: var(--container); margin: 0 auto; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: transparent;
  backdrop-filter: blur(0);
  box-shadow: none;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease, backdrop-filter 0.3s ease;
}
.site-header.scrolled {
  padding: 8px 0;
  background: rgba(2, 19, 38, 0.92);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 45px rgba(0, 14, 30, 0.30);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  padding: 0;
  transition: transform 0.25s ease;
}
.brand:hover { transform: translateY(-2px); }
.brand-logo {
  display: block;
  width: clamp(172px, 17vw, 238px);
  height: auto;
}
.footer-logo { width: min(280px, 100%); }
.nav-actions { display: flex; align-items: center; justify-content: flex-end; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { color: var(--white); background: linear-gradient(135deg, var(--blue), #1282ee); box-shadow: 0 16px 42px rgba(11, 102, 195, 0.28); }
.btn-primary:hover { box-shadow: 0 20px 54px rgba(11, 102, 195, 0.38); }
.btn-secondary { color: var(--white); background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.25); backdrop-filter: blur(18px); }
.btn-small { min-height: 46px; padding-inline: 20px; }
.btn-xl { min-height: 64px; padding-inline: 34px; font-size: 1.03rem; }
.btn-glow { position: relative; }
.btn-glow::before {
  content: "";
  position: absolute;
  inset: -8px;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(68, 215, 168, 0.36), transparent 65%);
  filter: blur(10px);
}

.section-dark { color: var(--white); background: var(--blue-dark); }
.section-light { position: relative; padding: 110px 0; background: linear-gradient(180deg, var(--white), var(--ice)); }
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg, .final-bg {
  position: absolute;
  inset: 0;
  background: url("https://i.imgur.com/3Tezm9D.png") center/cover no-repeat;
  transform: scale(1.03);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 18, 36, 0.92) 0%, rgba(3, 31, 61, 0.72) 46%, rgba(5, 64, 110, 0.48) 100%);
}
.hero-orb { position: absolute; border-radius: 999px; filter: blur(22px); opacity: 0.45; }
.hero-orb-one { width: 280px; height: 280px; top: 18%; right: 12%; background: rgba(68, 215, 168, 0.28); animation: float 8s ease-in-out infinite; }
.hero-orb-two { width: 190px; height: 190px; bottom: 10%; left: 48%; background: rgba(11, 102, 195, 0.35); animation: float 10s ease-in-out infinite reverse; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) 0.75fr; gap: 70px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-size: 0.78rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.65rem, 5.8vw, 5.25rem); line-height: 0.96; letter-spacing: -0.075em; margin-bottom: 24px; max-width: 760px; }
.hero-content p { max-width: 560px; color: rgba(255, 255, 255, 0.82); font-size: clamp(1rem, 1.7vw, 1.18rem); line-height: 1.65; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-actions.centered { justify-content: center; }
.hero-panel { min-height: 520px; position: relative; }
.floating-card {
  position: absolute;
  width: min(270px, 82vw);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255,255,255,0.20), rgba(255,255,255,0.08));
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(22px);
  animation: cardFloat 6s ease-in-out infinite;
}
.floating-card:nth-child(1) { top: 35px; right: 18px; }
.floating-card:nth-child(2) { top: 210px; left: 0; animation-delay: -1.6s; }
.floating-card:nth-child(3) { bottom: -42px; right: 0; animation-delay: -3s; }
.card-large { width: 305px; }
.card-icon { width: 42px; height: 42px; display: grid; place-items: center; color: var(--blue-dark); background: var(--green); border-radius: 14px; margin-bottom: 18px; font-weight: 900; }
.floating-card strong { display: block; font-size: 1.3rem; margin-bottom: 8px; }
.floating-card small { color: rgba(255, 255, 255, 0.75); line-height: 1.5; }
.scroll-indicator { position: absolute; left: 50%; bottom: 30px; z-index: 3; width: 34px; height: 54px; border: 1px solid rgba(255,255,255,0.38); border-radius: 999px; transform: translateX(-50%); }
.scroll-indicator span { position: absolute; top: 10px; left: 50%; width: 6px; height: 6px; background: var(--green); border-radius: 50%; transform: translateX(-50%); animation: scrollDot 1.8s infinite; }

.tech-grid { position: absolute; inset: 0; opacity: 0.5; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 62px 62px; mask-image: radial-gradient(circle at center, black, transparent 72%); }
.section-heading { position: relative; z-index: 1; max-width: 760px; margin: 0 auto 54px; text-align: center; }
.section-heading.align-left { margin-left: 0; text-align: left; }
h2 { color: var(--blue-deep); font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -0.065em; margin-bottom: 18px; }
.section-dark h2 { color: var(--white); }
.section-heading p { color: var(--muted); font-size: 1.14rem; line-height: 1.75; }
.section-dark .section-heading p { color: rgba(255,255,255,0.72); }
.symptoms-grid, .benefit-grid, .authority-grid { display: grid; gap: 22px; }
.symptoms-grid { grid-template-columns: repeat(3, 1fr); position: relative; z-index: 1; }
.symptom-card, .benefit-card, .testimonial-card {
  padding: 30px;
  border: 1px solid rgba(11, 102, 195, 0.10);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.82);
  box-shadow: 0 18px 54px rgba(5, 45, 92, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.symptom-card:hover, .benefit-card:hover, .testimonial-card:hover { transform: translateY(-8px); border-color: rgba(68, 215, 168, 0.36); box-shadow: var(--shadow); }
.symptom-card span, .icon-bubble { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 18px; color: var(--blue); background: linear-gradient(135deg, var(--mist), var(--green-soft)); font-size: 1.35rem; margin-bottom: 22px; }
h3 { color: var(--blue-deep); font-size: 1.25rem; letter-spacing: -0.035em; margin-bottom: 10px; }
.symptom-card p, .benefit-card p, .testimonial-card p { color: var(--muted); line-height: 1.65; margin-bottom: 0; }
.center-action { display: flex; justify-content: center; margin-top: 42px; }

.authority { padding: 120px 0; position: relative; overflow: hidden; }
.authority::before { content: ""; position: absolute; width: 620px; height: 620px; right: -160px; top: -160px; background: radial-gradient(circle, rgba(68, 215, 168, 0.20), transparent 67%); }
.authority-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr); gap: 34px; align-items: center; margin-bottom: 44px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-self: center; }
.stats div { min-width: 0; min-height: 150px; padding: 22px 14px; border-radius: var(--radius-lg); background: var(--glass); border: 1px solid rgba(255,255,255,0.14); backdrop-filter: blur(18px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.stats strong { display: block; width: 100%; max-width: 100%; font-size: clamp(1.7rem, 2.6vw, 2.55rem); line-height: 1; letter-spacing: -0.04em; color: var(--green); text-align: center; white-space: nowrap; }
.stats span { min-height: 2.4em; display: flex; align-items: flex-start; justify-content: center; color: rgba(255,255,255,0.70); font-weight: 700; line-height: 1.2; text-align: center; }
.authority-grid { grid-template-columns: repeat(3, 1fr); position: relative; z-index: 1; }
.glass-card { padding: 30px; border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(255,255,255,0.13), rgba(255,255,255,0.055)); border: 1px solid rgba(255,255,255,0.13); backdrop-filter: blur(20px); transition: transform 0.25s ease, background 0.25s ease; }
.glass-card:hover { transform: translateY(-8px); background: rgba(255,255,255,0.16); }
.glass-card span { color: var(--green); font-weight: 900; }
.glass-card h3 { color: var(--white); margin-top: 18px; }
.glass-card p { color: rgba(255,255,255,0.68); line-height: 1.65; margin: 0; }

.benefit-grid { grid-template-columns: repeat(3, 1fr); }
.benefit-card { min-height: 270px; }
.testimonials { padding-top: 40px; }
.testimonial-carousel { position: relative; }
.testimonial-viewport { overflow: hidden; padding: 8px; margin: -8px; }
.testimonial-track { display: flex; gap: 22px; transition: transform 0.45s ease; will-change: transform; }
.testimonial-card { flex: 0 0 calc((100% - 44px) / 3); text-align: center; }
.testimonial-card img, .review-avatar-fallback { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; border: 4px solid var(--white); box-shadow: 0 12px 30px rgba(5, 45, 92, 0.16); }
.review-avatar-fallback { display: grid; place-items: center; color: var(--white); background: linear-gradient(135deg, var(--blue), var(--green)); font-size: 1.8rem; font-weight: 900; }
.stars { color: #f7b500; letter-spacing: 0.08em; margin-bottom: 18px; }
.testimonial-card p { display: -webkit-box; min-height: 172px; margin-bottom: 18px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 7; font-size: 0.98rem; line-height: 1.55; }
.testimonial-card strong { color: var(--blue-deep); }
.testimonial-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 30px; }
.carousel-btn { width: 46px; height: 46px; border: 1px solid rgba(11, 102, 195, 0.14); border-radius: 50%; color: var(--blue); background: rgba(255,255,255,0.88); box-shadow: 0 14px 36px rgba(5,45,92,0.10); cursor: pointer; font-size: 1.8rem; line-height: 1; transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease; }
.carousel-btn:hover { transform: translateY(-2px); background: var(--white); box-shadow: var(--shadow); }
.carousel-dots { display: flex; gap: 8px; align-items: center; }
.carousel-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(11,102,195,0.24); cursor: pointer; transition: width 0.25s ease, background 0.25s ease; }
.carousel-dot.active { width: 28px; border-radius: 999px; background: var(--blue); }

.final-cta { position: relative; overflow: hidden; padding: 128px 0; text-align: center; }
.final-bg { background-image: linear-gradient(rgba(2,18,36,0.82), rgba(3,31,61,0.86)), url("https://i.imgur.com/ueYo02S.png"); }
.final-content { position: relative; z-index: 1; max-width: 820px; }
.final-content h2 { font-size: clamp(2.7rem, 6vw, 5.7rem); }
.final-content p { color: rgba(255,255,255,0.75); font-size: 1.2rem; line-height: 1.7; margin-bottom: 34px; }

.footer { padding: 64px 0 28px; background: #021326; color: rgba(255,255,255,0.72); }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.2fr 1fr; gap: 44px; }
.footer h3 { color: var(--white); }
.footer-brand { padding: 0; background: transparent; backdrop-filter: none; }
.footer p { line-height: 1.7; }
.footer strong { color: var(--white); }
.footer-address { display: grid; gap: 6px; margin: 0 0 18px; font-style: normal; line-height: 1.65; }
.footer-address span { color: rgba(255,255,255,0.72); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.10); margin-top: 44px; padding-top: 24px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.75s ease, transform 0.75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.22s; }
@keyframes float { 50% { transform: translate3d(18px, -18px, 0); } }
@keyframes cardFloat { 50% { transform: translateY(-16px); } }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 22px); } }
@keyframes pulse { 50% { transform: scale(1.06); box-shadow: 0 22px 62px rgba(68, 215, 168, 0.58); } }

@media (max-width: 980px) {
  .hero-grid, .authority-layout { grid-template-columns: 1fr; }
  .hero-panel { min-height: 390px; }
  .symptoms-grid, .benefit-grid, .authority-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card { flex-basis: calc((100% - 22px) / 2); }
}

@media (max-width: 680px) {
  :root { --container: min(100% - 28px, 1120px); }
  .site-header { padding: 10px 0; }
  .navbar { gap: 12px; }
  .brand-logo { width: clamp(136px, 40vw, 166px); }
  .btn-small { min-height: 42px; padding-inline: 14px; font-size: 0.86rem; }
  .hero { min-height: auto; padding: 120px 0 70px; }
  h1 { font-size: clamp(2.35rem, 11.5vw, 3.25rem); }
  .hero-actions, .hero-actions.centered { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .hero-panel { min-height: auto; display: grid; gap: 16px; margin-top: 12px; }
  .floating-card { position: static; width: 100%; animation: none; }
  .section-light, .authority, .final-cta { padding: 82px 0; }
  .testimonial-card { flex-basis: 100%; }
  .symptoms-grid, .benefit-grid, .authority-grid, .stats, .footer-grid { grid-template-columns: 1fr; }
  .section-heading, .section-heading.align-left { text-align: left; }
  .center-action { justify-content: stretch; }
  .footer-bottom { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Formulário de contato customizado */
.cform {
  max-width: 480px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: var(--radius-xl);
  padding: 40px 36px 36px;
  backdrop-filter: blur(20px);
  box-shadow: 0 32px 80px rgba(0,0,0,0.35);
}
.cform-field { display: flex; flex-direction: column; gap: 8px; }
.cform-field label {
  color: rgba(255,255,255,0.55);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.cform-field input {
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  color: #fff;
  padding: 15px 18px;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.cform-field input::placeholder { color: rgba(255,255,255,0.28); }
.cform-field input:focus {
  border-color: var(--green);
  background: rgba(68,215,168,0.06);
}
.cform-field input.invalid { border-color: #ff7070; }

.cform-privacy {
  color: rgba(255,255,255,0.3);
  font-size: 0.76rem;
  line-height: 1.6;
  margin: 0;
}
.cform .btn { margin-top: 4px; }

.cform-success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 56px 0;
  text-align: center;
}
.cform-success.visible { display: flex; }
.cform-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(68,215,168,0.15);
  border: 2px solid var(--green);
  color: var(--green);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cform-success strong { color: #fff; font-size: 1.25rem; }
.cform-success p { color: rgba(255,255,255,0.6); margin: 0; }
