* { box-sizing: border-box; }

html {
  width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  width: 100%;
  font-family: 'Montserrat', sans-serif;
  -webkit-font-smoothing: antialiased;
  background: #FDFBF7;
  color: #1E293B;
  overflow-x: hidden;
}

img { max-width: 100%; }

a { text-decoration: none; }

.wrap { max-width: 1200px; margin: 0 auto; }

/* ===== ANIMATIONS ===== */
@keyframes mm-float { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-20px) rotate(-4deg); } }
@keyframes mm-float2 { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-26px) rotate(5deg); } }
@keyframes mm-float3 { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-16px) rotate(-6deg); } }
@keyframes mm-bob { 0%,100% { transform: translateY(0) rotate(4deg); } 50% { transform: translateY(-14px) rotate(-4deg); } }
@keyframes mm-tilt { 0%,100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }

.anim-float { animation: mm-float 6s ease-in-out infinite; }
.anim-float2 { animation: mm-float2 7s ease-in-out infinite; }
.anim-float3 { animation: mm-float3 6.5s ease-in-out infinite; }
.anim-bob { animation: mm-bob 5s ease-in-out infinite; }
.anim-tilt { animation: mm-tilt 4.5s ease-in-out infinite; }

/* ===== NAV ===== */
.nav {
  max-width: 1200px; margin: 0 auto; padding: 26px 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { height: 54px; width: auto; display: block; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 13px; background: #4A90E2;
  border: 1.1px solid #2F72C4; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(74,144,226,.3);
}
.btn-cta {
  border-radius: 22px; border: 1px solid #E6C200; background: #FFD23F;
  box-shadow: 0 3px 0 0 #E6C200; height: 44px; padding: 0 24px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; color: #6B5300; cursor: pointer;
  white-space: nowrap; transition: transform .12s, box-shadow .12s; font-family: inherit;
}
.btn-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 0 0 #E6C200; }
.btn-cta:active { transform: translateY(2px); box-shadow: 0 1px 0 0 #E6C200; }

/* ===== HERO ===== */
.hero {
  max-width: 1200px; margin: 0 auto; padding: 100px 40px 100px;
  display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 40px; align-items: center;
}
.hero h1 {
  font-size: 52px; line-height: 1.1; font-weight: 800; letter-spacing: -1.4px;
  margin: 0 0 22px; color: #1E293B;
}
.hero h1 span { color: #4A90E2; }
.hero p.lead { font-size: 20px; line-height: 1.5; color: #64748B; margin: 0 0 38px; max-width: 470px; }

.email-form { display: flex; gap: 14px; max-width: 470px; align-items: stretch; }
.email-form input {
  flex: 1; height: 44px; border-radius: 22px; border: 1px solid #E6C200;
  background: #FFFFFF; padding: 0 22px; font-size: 14px; font-family: inherit;
  color: #1E293B; text-align: center; outline: none;
}
.email-form input:focus { border-color: #4A90E2; }

.form-success { margin: 16px 0 0; font-weight: 700; color: #2FA37A; font-size: 13px; display: none; }
.form-success.show { display: block; }
.form-note { margin: 14px 0 0; font-size: 13px; color: #94A3B8; }

.hero-banner { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-banner .hero-photo { width: 100%; max-width: 340px; height: auto; filter: drop-shadow(0 20px 30px rgba(120,150,200,.22)); }

/* ===== PESQUISA ===== */
.pesquisa-wrap { max-width: 1200px; margin: 20px auto 0; padding: 0 40px; }
.pesquisa-card {
  display: flex; padding: 40px; align-items: center; gap: 40px;
  border-radius: 20px; border: 3px solid #E2E8F0; background: #FFF;
}
.pesquisa-text { flex: 1; }
.pesquisa-card h2 { font-size: 20px; font-weight: 800; line-height: normal; margin: 0 0 12px; color: #1A202C; }
.pesquisa-card h2 .brand { color: #4A90E2; }
.pesquisa-card p { font-size: 16px; font-weight: 500; line-height: normal; color: #718096; margin: 0; }
.pesquisa-btn {
  display: flex; width: 278px; height: 44px; padding: 10px; flex-shrink: 0;
  justify-content: center; align-items: center; border-radius: 40px;
  border: 1px solid #E6C200; background: #FFD23F; box-shadow: 0 2px 0 0 #E6C200;
  font-weight: 800; font-size: 15px; color: #6B5300; font-family: inherit; cursor: pointer;
  transition: transform .12s, box-shadow .12s;
}
.pesquisa-btn:hover { transform: translateY(-1px); box-shadow: 0 3px 0 0 #E6C200; }
.pesquisa-btn:active { transform: translateY(1px); box-shadow: 0 1px 0 0 #E6C200; }

/* ===== DORES ===== */
.dores { max-width: 1000px; margin: 0 auto; padding: 60px 40px 90px; text-align: center; }
.dores h2 { font-size: 40px; line-height: 1.2; font-weight: 800; letter-spacing: -0.8px; margin: 0 auto 16px; max-width: 760px; color: #1E293B; }
.dores p.lead { font-size: 18px; color: #64748B; margin: 0 auto 20px; max-width: 560px; }

.dores-stage { position: relative; height: 400px; max-width: 820px; margin: 0 auto; }
.dores-stage .angry-star {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 240px; z-index: 2;
}
.dores-stage .angry-star img {
  display: block; width: 100%; height: auto;
  filter: drop-shadow(0 16px 24px rgba(120,150,200,.22));
}
.bubble {
  position: absolute; background: #E2E8F0; color: #475569; font-weight: 600; font-size: 16px;
  padding: 14px 22px; box-shadow: 0 6px 16px rgba(100,116,139,.12);
}
.bubble.b1 { left: 0; top: 60px; transform: rotate(-3deg); border-radius: 16px 16px 16px 4px; }
.bubble.b2 { left: 40px; bottom: 70px; transform: rotate(2deg); border-radius: 16px 16px 16px 4px; }
.bubble.b3 { right: 10px; top: 66px; transform: rotate(3deg); border-radius: 16px 16px 4px 16px; }
.bubble.b4 { right: 30px; bottom: 74px; transform: rotate(-2deg); border-radius: 16px 16px 4px 16px; }

/* ===== COMO FUNCIONA ===== */
.como-funciona { max-width: 1240px; margin: 0 auto; padding: 40px 40px 100px; }
.section-head { text-align: center; margin-bottom: 54px; }
.eyebrow { font-weight: 700; color: #4A90E2; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; }
.section-head h2, .funciona-cards h2 { font-size: 40px; font-weight: 800; letter-spacing: -0.8px; margin: 0 auto; max-width: 640px; color: #1E293B; }

.funciona-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.funciona-card { border-radius: 22px; padding: 40px; }
.funciona-card.pais { background: #FFFFFF; border: 3px solid #E2E8F0; }
.funciona-card.crianca {
  position: relative; background: linear-gradient(180deg, #4A90E2 0%, #A486A7 100%);
  color: #fff; box-shadow: 0 24px 44px rgba(74,144,226,.24); overflow: hidden;
}
.funciona-card .badge {
  display: inline-flex; align-items: center; padding: 8px 16px;
  border-radius: 22px; margin-bottom: 24px;
}
.funciona-card.pais .badge { background: #FDFBF7; border: 1px solid #E2E8F0; }
.funciona-card.crianca .badge { background: rgba(255,255,255,.22); }
.badge span.label { font-weight: 700; font-size: 14px; color: #1E293B; }
.funciona-card.crianca .badge span.label { color: #fff; }
.funciona-card h3 { font-size: 26px; font-weight: 800; margin: 0 0 12px; line-height: 1.2; }
.funciona-card.pais h3 { color: #1E293B; }
.funciona-card.pais p { font-size: 15px; color: #64748B; line-height: 1.6; margin: 0; }
.funciona-card.crianca h3 { max-width: 300px; }
.funciona-card.crianca p { font-size: 15px; color: rgba(255,255,255,.92); line-height: 1.6; margin: 0; max-width: 340px; }
.funciona-card .card-mascot {
  position: absolute; top: 14px; right: 14px; width: 92px; height: auto;
  filter: drop-shadow(0 10px 16px rgba(0,0,0,.15));
}

/* ===== TEMAS ===== */
.temas { max-width: 1240px; margin: 0 auto; padding: 40px 40px 100px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.temas h2 { font-size: 40px; font-weight: 800; letter-spacing: -0.8px; margin: 0 0 16px; color: #1E293B; line-height: 1.15; }
.temas p.lead { font-size: 18px; color: #64748B; margin: 0; max-width: 380px; }
.temas-mockup { text-align: center; }
.temas-mockup img { width: 100%; max-width: 520px; height: auto; }

/* ===== CTA FINAL ===== */
.cta-final { max-width: 720px; margin: 0 auto; padding: 60px 40px 40px; text-align: center; }
.cta-final h2 {
  font-size: 40px; font-weight: 800; letter-spacing: -0.8px; margin: 0 0 16px; color: #1E293B;
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
}
.cta-final h2 img { width: 46px; height: auto; vertical-align: middle; }
.cta-final p.lead { font-size: 17px; color: #64748B; margin: 0 auto 34px; max-width: 470px; line-height: 1.5; }
.cta-final .email-form { margin: 0 auto; }

/* ===== FOOTER ===== */
.site-footer {
  max-width: 1200px; margin: 60px auto 0; padding: 30px 40px 50px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.site-footer .footer-logo { height: 48px; width: auto; }
.site-footer .footer-actions { display: flex; align-items: center; gap: 14px; }
.site-footer .copyright {
  width: 100%; text-align: center; color: #94A3B8; font-size: 13px;
  padding-top: 10px; border-top: 1px solid #E2E8F0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding: 70px 24px 0; }
  .hero h1 { font-size: 38px; }
  .hero-banner { margin-top: 10px; max-width: 300px; margin-left: auto; margin-right: auto; }
  .hero-banner .hero-photo { max-width: 260px; }
  .pesquisa-wrap { padding: 0 24px; }
  .pesquisa-card { flex-direction: column; align-items: stretch; gap: 24px; padding: 28px 24px; border-radius: 20px; text-align: center; }
  .pesquisa-btn { width: 100%; }
  .funciona-grid { grid-template-columns: 1fr; }
  .temas { grid-template-columns: 1fr; text-align: center; }
  .temas p.lead { margin: 0 auto; }
  .dores h2, .section-head h2, .cta-final h2, .temas h2 { font-size: 30px; }
  .email-form { flex-direction: column; }
  .email-form input {
    display: flex; height: 52px; padding: 12px; justify-content: center; align-items: center;
    border-radius: 40px; border: 1px solid #E6C200; background: #FFF;
  }
  .nav { padding: 20px 24px; }

  .dores { padding: 100px 24px 60px; }
  .dores-stage {
    height: auto; max-width: 320px;
    display: flex; flex-direction: column; align-items: center; gap: 14px;
  }
  .dores-stage .angry-star { position: static; transform: none; width: 140px; }
  .bubble { position: static; transform: none !important; font-size: 13px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 34px; }
  .dores h2, .section-head h2, .cta-final h2, .temas h2 { font-size: 27px; }
}
