* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background:
    radial-gradient(circle at 12% 82%, rgba(216,180,254,.40), transparent 28%),
    radial-gradient(circle at 88% 72%, rgba(192,132,252,.28), transparent 30%),
    linear-gradient(180deg, #fffaff 0%, #fff7ff 45%, #f8ecff 100%);
  color: #21172d;
  overflow-x: hidden;
}

/* ── TOPBAR ── */
.topbar {
  display: flex;
  justify-content: space-between;
  padding: 12px 8%;
  font-size: 14px;
  color: #6b4a7d;
  background: #fbf4ff;
}

/* ── NAVBAR ── */
.navbar {
  height: 90px;
  padding: 0 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #ead7f7;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo span {
  font-size: 38px;
  color: #9b4dcc;
}

.logo h2 {
  font-size: 32px;
  color: #7e22ce;
  font-family: Georgia, serif;
}

.logo p {
  font-size: 12px;
  letter-spacing: 2px;
  color: #6b4a7d;
  text-transform: uppercase;
}

.links {
  display: flex;
  gap: 30px;
}

.links a {
  text-decoration: none;
  color: #3b2c47;
  font-weight: 700;
}

.links a:hover {
  color: #9333ea;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  z-index: 200;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #7e22ce;
  border-radius: 3px;
  transition: .3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  text-decoration: none;
  color: #3b2c47;
  font-size: 28px;
  font-weight: 700;
  font-family: Georgia, serif;
  transition: color .2s;
}

.mobile-nav a:hover { color: #9333ea; }

/* ── HERO ── */
.hero {
  min-height: 720px;
  padding: 80px 8%;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 50px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 20%, rgba(216,180,254,.52), transparent 35%),
    linear-gradient(135deg, #fff, #fbf1ff, #f7e8ff);
}

.hero::after {
  content: "Previne";
  position: absolute;
  right: -90px;
  bottom: 30px;
  font-size: 180px;
  color: rgba(168,85,247,.06);
  font-family: Georgia, serif;
}

.tag {
  color: #9333ea;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
}

.hero h1 {
  font-size: 68px;
  line-height: 1.05;
  margin: 20px 0;
  max-width: 720px;
  font-family: Georgia, serif;
}

.hero p {
  font-size: 19px;
  color: #594866;
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 16px 24px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: bold;
  transition: .25s;
}

.secondary {
  color: #7e22ce;
  border: 1px solid #c084fc;
  background: white;
}

.btn:hover,
button:hover {
  transform: translateY(-3px);
}

.hero-card {
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(180,130,255,0.12);
  border-radius: 34px;
  padding: 55px 55px 45px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 620px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.circle {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, #dcb9ff, #ead8ff);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  box-shadow:
    0 20px 50px rgba(170,92,255,.14),
    inset 0 0 35px rgba(255,255,255,.6);
  position: relative;
}

.circle img {
  width: 620px;
  height: 580px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(149,76,255,.18));
}

.hero-card h3 {
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 14px;
  color: #201233;
  font-family: Georgia, serif;
}

.hero-card p {
  font-size: 18px;
  color: #5c5070;
  max-width: 540px;
  line-height: 1.7;
}

/* ── FEATURES ── */
.features {
  margin: -65px 8% 80px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.features div {
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(140,96,255,.14);
  border-radius: 26px;
  padding: 42px;
  min-height: 230px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(147,51,234,.08);
  transition: .35s ease;
}

.features div::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 5px;
  width: 100%;
  background: linear-gradient(90deg, #c084fc, #9333ea);
}

.features div:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 70px rgba(147,51,234,.14);
}

.features span {
  display: block;
  margin-bottom: 22px;
  color: #8b5cf6;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 800;
}

.features h3 {
  font-size: 28px;
  color: #24153d;
  font-family: Georgia, serif;
  margin-bottom: 14px;
}

.features p {
  font-size: 17px;
  line-height: 1.8;
  color: #5b506d;
}

/* ── SERVIÇOS ── */
.section {
  padding: 85px 8%;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 55px;
}

.section-title h2,
.sobre h2,
.contato h2 {
  font-size: 44px;
  margin-top: 12px;
  font-family: Georgia, serif;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 70px;
}

.service-card {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(180,130,255,0.14);
  border-radius: 30px;
  padding: 38px;
  position: relative;
  overflow: hidden;
  transition: 0.35s ease;
  min-height: 250px;
  backdrop-filter: blur(10px);
}

.service-card::before {
  content: "";
  position: absolute;
  left: 0; top: 40px;
  width: 4px;
  height: 90px;
  border-radius: 20px;
  background: linear-gradient(to bottom, #8b3dff, #c998ff);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(153,94,255,.14);
}

.service-card h3 {
  font-size: 28px;
  margin-bottom: 16px;
  color: #251437;
  line-height: 1.2;
  font-family: Georgia, serif;
}

.service-card p {
  color: #5f5572;
  font-size: 16px;
  line-height: 1.8;
}

.service-card .mini-line {
  width: 70px;
  height: 5px;
  border-radius: 20px;
  background: linear-gradient(90deg, #8b3dff, #ca9cff);
  margin-bottom: 28px;
}

/* ── NÚMEROS ── */
.numbers {
  margin: 40px 8%;
  padding: 50px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.35), transparent 35%),
    linear-gradient(135deg, #a855f7, #6b21a8);
  color: white;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  box-shadow: 0 28px 75px rgba(147,51,234,.25);
}

.numbers div {
  text-align: center;
}

.numbers h2 {
  font-size: 48px;
  font-family: Georgia, serif;
}

.numbers p {
  color: #f3e8ff;
  margin-top: 8px;
}

/* ── SOBRE ── */
.sobre {
  padding: 85px 8%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: center;
}

.sobre-text p {
  margin: 22px 0;
  max-width: 620px;
  color: #6b5a75;
  line-height: 1.7;
}

.about-points {
  display: grid;
  gap: 14px;
}

.about-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(250,240,255,.9);
  padding: 20px 24px;
  border-radius: 18px;
}

.about-item span {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #a855f7;
}

.about-item p {
  font-weight: 700;
  color: #3a234d;
  margin: 0;
}

.sobre-box {
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  padding: 35px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.35), transparent 35%),
    linear-gradient(135deg, #c084fc, #8b5cf6);
  box-shadow: 0 25px 70px rgba(147,51,234,.20);
}

.sobre-box h3 {
  font-size: 36px;
  font-family: Georgia, serif;
  color: white;
  line-height: 1.2;
}

/* ── CONTATO ── */
.contato {
  margin: 40px 8% 80px;
  padding: 60px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 90% 10%, rgba(216,180,254,.55), transparent 28%),
    rgba(255,255,255,.78);
  border: 1px solid #ead7f7;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 24px 70px rgba(147,51,234,.12);
}

.contato p {
  color: #6b5a75;
  line-height: 1.7;
  margin-top: 12px;
}

form {
  padding: 30px;
  background: white;
  border: 1px solid #ead7f7;
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(147,51,234,.10);
}

input, select {
  width: 100%;
  padding: 16px;
  border: 1px solid #e9d5ff;
  border-radius: 14px;
  margin-bottom: 14px;
  font-size: 15px;
  outline: none;
  background: #fff;
  color: #5b506d;
  font-family: inherit;
}

input:focus, select:focus {
  border-color: #a855f7;
}

button {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #a855f7, #7e22ce);
  color: white;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: .25s;
}

/* ── FOOTER ── */
footer {
  padding: 45px 8%;
  background: #fbf4ff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #6b5a75;
}

/* ── WHATSAPP ── */
.whatsapp {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 58px;
  height: 58px;
  background: #22c55e;
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 28px;
  box-shadow: 0 15px 35px rgba(34,197,94,.35);
  z-index: 50;
}

/* ── ANIMAÇÃO DE SCROLL ── */
.service-card,
.features div,
.sobre-text,
.sobre-box,
.numbers,
.contato {
  opacity: 0;
  transform: translateY(35px);
  transition: .7s;
}

.ativo {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ════════════════════════════════════
   RESPONSIVO — TABLET (max 900px)
════════════════════════════════════ */
@media (max-width: 900px) {
  .topbar { display: none; }

  .navbar {
    height: auto;
    padding: 18px 6%;
  }

  .links { display: none; }
  .hamburger { display: flex; }

  .hero {
    grid-template-columns: 1fr;
    padding: 50px 6%;
    min-height: auto;
    gap: 36px;
  }

  .hero::after { display: none; }

  .hero h1 { font-size: 42px; }
  .hero p { font-size: 16px; }

  .hero-card {
    min-height: auto;
    padding: 36px 28px;
  }

  .circle {
    width: 200px;
    height: 200px;
    margin: 0 auto 32px;
  }

  .circle img {
    width: 160px;
    height: 160px;
  }

  .features {
    grid-template-columns: 1fr;
    margin: 30px 6% 50px;
  }

  .features div { min-height: auto; padding: 30px; }
  .features h3 { font-size: 22px; }

  .section { padding: 60px 6%; }
  .section-title h2,
  .sobre h2,
  .contato h2 { font-size: 32px; }

  .services-grid {
    grid-template-columns: 1fr;
    margin-top: 40px;
    gap: 18px;
  }

  .service-card { min-height: auto; padding: 28px 28px 28px 32px; }
  .service-card h3 { font-size: 22px; }
  .service-card p { font-size: 15px; }

  .numbers {
    grid-template-columns: 1fr;
    margin: 30px 6%;
    padding: 40px 30px;
    gap: 28px;
    text-align: center;
  }

  .numbers h2 { font-size: 40px; }

  .sobre {
    grid-template-columns: 1fr;
    padding: 60px 6%;
    gap: 32px;
  }

  .sobre-box {
    min-height: 220px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .sobre-box h3 { font-size: 26px; }

  .contato {
    grid-template-columns: 1fr;
    margin: 30px 6% 60px;
    padding: 36px 24px;
    gap: 28px;
  }

  form { padding: 24px; }

  footer {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding: 36px 6%;
  }

  .logo h2 { font-size: 26px; }
  .logo span { font-size: 30px; }
}

/* ════════════════════════════════════
   RESPONSIVO — MOBILE (max 480px)
════════════════════════════════════ */
@media (max-width: 480px) {
  .hero { padding: 36px 5%; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 15px; }

  .btn { padding: 14px 20px; font-size: 14px; }

  .hero-card { padding: 28px 20px; border-radius: 24px; }
  .hero-card h3 { font-size: 20px; }
  .hero-card p { font-size: 15px; }

  .circle { width: 160px; height: 160px; }
  .circle img { width: 130px; height: 130px; }

  .features { margin: 20px 5% 40px; }
  .features div { padding: 24px; }
  .features h3 { font-size: 20px; }
  .features p { font-size: 15px; }

  .section { padding: 48px 5%; }
  .section-title h2,
  .sobre h2,
  .contato h2 { font-size: 26px; }

  .service-card { padding: 24px 24px 24px 28px; border-radius: 22px; }
  .service-card h3 { font-size: 20px; }

  .numbers { margin: 24px 5%; padding: 32px 20px; border-radius: 24px; }
  .numbers h2 { font-size: 36px; }

  .sobre { padding: 48px 5%; }
  .sobre-box { min-height: 180px; padding: 24px; border-radius: 22px; }
  .sobre-box h3 { font-size: 22px; }

  .contato { margin: 20px 5% 48px; padding: 28px 18px; border-radius: 24px; }
  form { padding: 20px; border-radius: 18px; }
  input, select { padding: 14px; font-size: 14px; }
  button { padding: 14px; font-size: 15px; }

  .whatsapp { right: 16px; bottom: 16px; width: 52px; height: 52px; font-size: 24px; }

  footer { padding: 28px 5%; }
  .logo h2 { font-size: 22px; }
  .logo p { font-size: 10px; }
}