/* ───────────────────────────────────────────────
   Dinda — landing institucional + app + legais
   ─────────────────────────────────────────────── */

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

:root {
  --primary: #DC2626;
  --primary-dark: #991B1B;
  --secondary: #EF4444;
  --tertiary: #FCA5A5;
  --bg: #FFFFFF;
  --bg-soft: #FAFAFA;
  --text: #14181B;
  --text-muted: #5E6770;
  --text-light: #98A2B3;
  --border: #EAECEF;
  --white: #FFFFFF;
  --dark: #1F1A1B;
  --green: #25D366;
  --shadow-sm: 0 2px 12px rgba(127, 137, 161, 0.10);
  --shadow: 0 0 30px rgba(127, 137, 161, 0.15);
  --shadow-lg: 0 18px 50px rgba(127, 137, 161, 0.22);
  --radius: 12px;
  --radius-lg: 18px;
  --radius-sm: 8px;
  --transition: 0.35s ease;
  --maxw: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* topbar é fixed; reservar 78px para o conteúdo não ficar atrás dele */
  padding-top: 78px;
}
/* Landing tem hero full-bleed atrás da topbar transparente */
body.has-hero { padding-top: 0; }

/* ────── AOS-like reveal on scroll ────── */
[data-aos] {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(.22,.61,.36,1), transform 0.7s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
[data-aos="fade-up"]   { transform: translateY(40px); }
[data-aos="fade-down"] { transform: translateY(-40px); }
[data-aos="fade-left"] { transform: translateX(-40px); }
[data-aos="fade-right"]{ transform: translateX(40px); }
[data-aos="zoom-in"]   { transform: scale(.92); }
[data-aos].aos-animate {
  opacity: 1;
  transform: translate(0,0) scale(1);
}
@media (prefers-reduced-motion: reduce) {
  [data-aos] { opacity: 1; transform: none; transition: none; }
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.2; color: var(--text); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ───────── TOPBAR ───────── */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(127, 137, 161, 0.08);
  transition:
    background var(--transition),
    backdrop-filter var(--transition),
    -webkit-backdrop-filter var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}
.topbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 24px rgba(127, 137, 161, 0.12);
}

/* ──── Variante transparente: só na landing (body.has-hero) enquanto NÃO rolou ──── */
body.has-hero .topbar:not(.scrolled) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}
body.has-hero .topbar:not(.scrolled) .logo { color: var(--white); text-shadow: 0 2px 12px rgba(0,0,0,.25); }
body.has-hero .topbar:not(.scrolled) .nav-links a { color: rgba(255,255,255,.92); text-shadow: 0 2px 8px rgba(0,0,0,.2); }
body.has-hero .topbar:not(.scrolled) .nav-links a:hover { color: var(--white); }
body.has-hero .topbar:not(.scrolled) .nav-links a::after { background: var(--white); }
body.has-hero .topbar:not(.scrolled) .menu-toggle { color: var(--white); }
body.has-hero .topbar:not(.scrolled) .logo-img { box-shadow: 0 4px 14px rgba(0,0,0,.30); }
.topbar-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 78px; padding: 0 24px;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Playfair Display', serif;
  font-weight: 900; font-size: 26px; color: var(--primary);
  letter-spacing: 0.3px;
}
.logo-img { width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0; box-shadow: 0 2px 8px rgba(220, 38, 38, .25); }
.logo-dot { width: 8px; height: 8px; background: var(--secondary); border-radius: 50%; }
.nav-links { display: flex; gap: 34px; list-style: none; }
.nav-links a {
  color: var(--text-muted); font-size: 14px; font-weight: 600;
  letter-spacing: 0.2px;
  position: relative;
  transition: color var(--transition);
}
.nav-links a::after {
  content: ""; position: absolute;
  left: 50%; bottom: -8px;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width var(--transition), left var(--transition);
  border-radius: 2px;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; left: 0; }
.topbar-cta {
  background: var(--primary); color: var(--white) !important;
  padding: 12px 24px; border-radius: 50px;
  font-weight: 600; font-size: 14px;
  letter-spacing: 0.2px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 14px rgba(220, 38, 38, .25);
}
.topbar-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(220, 38, 38, .38);
}
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-muted); font-size: 14px; font-weight: 500;
  transition: color .2s;
}
.back-link:hover { color: var(--primary); }
.back-link svg { width: 18px; height: 18px; }
.menu-toggle { display: none; padding: 8px; color: var(--primary); }
.menu-toggle svg { width: 28px; height: 28px; }

/* ───────── CARROSSEL ───────── */
.carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  background: #1A1517;
}
.carousel-track {
  display: flex; height: 100%;
  transition: transform 1s cubic-bezier(.22,.61,.36,1);
}
.carousel-slide {
  flex: 0 0 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex; align-items: center; justify-content: center;
  transform: scale(1.08);
  transition: transform 1.5s cubic-bezier(.22,.61,.36,1);
}
.carousel-slide.active { transform: scale(1); }
.carousel-slide::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,16,18,.30) 0%, rgba(20,16,18,.55) 60%, rgba(20,16,18,.75) 100%),
    radial-gradient(ellipse at center, rgba(0,0,0,0) 0%, rgba(20,16,18,.40) 100%);
}
.carousel-content {
  position: relative; z-index: 2;
  text-align: center; color: var(--white);
  max-width: 820px; padding: 0 24px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s 0.2s cubic-bezier(.22,.61,.36,1), transform 0.8s 0.2s cubic-bezier(.22,.61,.36,1);
}
.carousel-slide.active .carousel-content { opacity: 1; transform: translateY(0); }
.carousel-content .eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 8px 18px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50px;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}
.carousel-content h1 {
  color: var(--white);
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 700;
  margin-bottom: 22px;
  letter-spacing: -1px;
  line-height: 1.05;
  text-shadow: 0 6px 30px rgba(0,0,0,.35);
}
.carousel-content p {
  font-size: clamp(16px, 1.6vw, 20px);
  margin: 0 auto 36px;
  max-width: 620px;
  opacity: .95;
  line-height: 1.6;
  font-weight: 400;
}
.carousel-cta {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--white); color: var(--primary) !important;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 700; font-size: 15px;
  letter-spacing: 0.3px;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 12px 30px rgba(0,0,0,.30);
}
.carousel-cta:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.40); }
.carousel-cta svg { transition: transform var(--transition); }
.carousel-cta:hover svg { transform: translateX(4px); }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: var(--white);
  border: 1px solid rgba(255,255,255,.30);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
}
.carousel-arrow:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  transform: translateY(-50%) scale(1.06);
}
.carousel-arrow.prev { left: 32px; }
.carousel-arrow.next { right: 32px; }
.carousel-arrow svg { width: 22px; height: 22px; }
.carousel-dots {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 14px; z-index: 3;
}
.carousel-dot {
  width: 32px; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,.4);
  transition: background var(--transition), width var(--transition);
}
.carousel-dot.active { background: var(--white); width: 48px; }

/* ───────── SECTION BASE ───────── */
.section { padding: 100px 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.section-title {
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 700;
  margin-bottom: 18px;
  text-align: center;
  letter-spacing: -0.5px;
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 56px; height: 3px;
  background: var(--primary);
  margin: 18px auto 0;
  border-radius: 3px;
}
.section-sub {
  color: var(--text-muted);
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
  font-size: 16.5px;
  line-height: 1.7;
}
.section-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 50px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .section-sub { margin-bottom: 0; }

/* ───────── CARD-AD CLICKAVER ───────── */
.ad-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(127, 137, 161, 0.22);
  position: relative;
  color: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
}
.ad-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(255,255,255,.18) 0%, transparent 55%);
  pointer-events: none;
}
.ad-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(220, 38, 38, .30);
}
.ad-badge {
  position: absolute; top: 16px; left: 16px;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 11px; font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  z-index: 2;
  border: 1px solid rgba(255,255,255,.22);
}
.ad-phone-wrap {
  position: relative;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.14) 0%, transparent 70%);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 0;
}
.ad-phone {
  width: 180px; height: 360px;
  background: linear-gradient(180deg, #2A2A3E 0%, #1A1A2E 100%);
  border-radius: 28px;
  border: 6px solid #1A1A2E;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.ad-phone-screen {
  flex: 1; background: linear-gradient(180deg, var(--secondary) 0%, var(--primary) 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--white);
  padding: 14px; gap: 8px;
}
.ad-phone-screen .ph-logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 900; letter-spacing: .5px;
}
.ad-phone-screen .ph-sub { font-size: 11px; opacity: .9; }
.ad-phone-screen .ph-pill {
  margin-top: 8px;
  background: rgba(255,255,255,.95);
  color: var(--primary);
  font-size: 11px; font-weight: 700;
  padding: 6px 12px; border-radius: 999px;
}
.ad-content {
  padding: 56px 48px;
  display: flex; flex-direction: column;
  justify-content: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.ad-eyebrow {
  font-size: 12px; font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: .9;
}
.ad-title {
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700; line-height: 1.15;
  letter-spacing: -0.5px;
}
.ad-copy { font-size: 15.5px; opacity: .92; max-width: 460px; line-height: 1.65; }
.ad-cta {
  align-self: flex-start;
  margin-top: 14px;
  background: var(--white);
  color: var(--primary) !important;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700; font-size: 14px;
  letter-spacing: 0.3px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 8px 22px rgba(0,0,0,.18);
}
.ad-cta:hover { transform: translateX(6px); box-shadow: 0 12px 30px rgba(0,0,0,.28); }
.ad-cta svg { transition: transform var(--transition); }
.ad-card:hover .ad-cta svg { transform: translateX(4px); }

/* ───────── CARD INSTAGRAM ───────── */
.ig-card {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: linear-gradient(135deg, #F58529 0%, #DD2A7B 35%, #8134AF 70%, #515BD4 100%);
  border-radius: var(--radius-lg);
  padding: 52px 48px;
  color: var(--white);
  box-shadow: 0 18px 50px rgba(127, 137, 161, 0.22);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.ig-card::before {
  content: ""; position: absolute;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,255,255,.18) 0%, transparent 70%);
  top: -160px; left: -100px;
  pointer-events: none;
}
.ig-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(221, 42, 123, .30);
}
.ig-text { flex: 1; }
.ig-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; opacity: .85; margin-bottom: 8px;
}
.ig-title {
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700; margin-bottom: 8px;
}
.ig-handle { font-size: 17px; opacity: .95; margin-bottom: 18px; }
.ig-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); color: #DD2A7B !important;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 700; font-size: 14px;
  transition: transform .2s;
}
.ig-cta:hover { transform: translateX(4px); }
.ig-icon {
  width: 120px; height: 120px;
  background: rgba(255,255,255,.16);
  border: 2px solid rgba(255,255,255,.28);
  border-radius: 28px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ig-icon svg { width: 64px; height: 64px; color: var(--white); }

/* ───────── CONTATO / MAPA ───────── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 32px; align-items: stretch;
}
.contact-info {
  background: var(--white);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: 0 0 30px rgba(127, 137, 161, 0.10);
  border: 1px solid rgba(127, 137, 161, 0.08);
}
.contact-info h3 {
  font-size: 26px; margin-bottom: 28px; font-weight: 700;
  letter-spacing: -0.3px;
}
.contact-item {
  display: flex; gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(127, 137, 161, 0.10);
  align-items: flex-start;
  transition: transform var(--transition);
}
.contact-item:hover { transform: translateX(4px); }
.contact-item:last-of-type { border-bottom: none; }
.contact-item-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(220, 38, 38, .22);
}
.contact-item-icon svg { width: 20px; height: 20px; }
.contact-item-label {
  font-size: 11px; color: var(--text-muted);
  font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.2px;
}
.contact-item-value { font-weight: 500; color: var(--text); font-size: 15.5px; margin-top: 2px; }
.contact-item-value a { transition: color var(--transition); }
.contact-item-value a:hover { color: var(--primary); }
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 30px rgba(127, 137, 161, 0.10);
  min-height: 440px;
  background: var(--bg-soft);
  position: relative;
  border: 1px solid rgba(127, 137, 161, 0.08);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; min-height: 440px; }

/* ───────── SOBRE ───────── */
.about {
  max-width: 820px; margin: 0 auto; text-align: center;
  position: relative;
}
.about::before {
  content: '\201C';
  position: absolute;
  font-family: 'Playfair Display', serif;
  font-size: 260px;
  color: rgba(220, 38, 38, 0.06);
  top: -110px; left: -10px;
  line-height: 1;
  font-weight: 700;
  pointer-events: none;
}
.about p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 22px;
  line-height: 1.8;
}
.about-signature {
  margin-top: 40px;
  font-family: 'Playfair Display', serif;
  font-size: 24px; font-style: italic;
  font-weight: 500;
  color: var(--primary);
}

/* ───────── RODAPÉ ───────── */
footer {
  background: #1F1A1B;
  color: rgba(255,255,255,.72);
  padding: 80px 0 28px;
  position: relative;
}
footer::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 50%, var(--primary) 100%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand .logo { color: var(--white); margin-bottom: 18px; font-size: 28px; }
.footer-brand p { font-size: 14.5px; line-height: 1.75; opacity: .72; max-width: 300px; }
.footer-col h4 {
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 28px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a, .footer-col ul li {
  font-size: 14.5px; opacity: .72;
  transition: opacity var(--transition), color var(--transition), padding var(--transition);
  display: inline-block;
}
.footer-col ul a:hover { opacity: 1; color: var(--secondary); padding-left: 4px; }
.footer-socials { display: flex; gap: 12px; margin-top: 18px; }
.footer-socials a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
}
.footer-socials a:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
}
.footer-socials svg { width: 18px; height: 18px; color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 28px;
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: space-between;
  font-size: 13px; opacity: .55;
}
.footer-bottom-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom-links a { transition: opacity var(--transition), color var(--transition); }
.footer-bottom-links a:hover { opacity: 1; color: var(--secondary); }

/* footer compacto (app + páginas legais) */
.footer-compact {
  padding: 44px 0 28px;
  background: #1F1A1B;
  color: rgba(255,255,255,.72);
  position: relative;
}
.footer-compact::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 50%, var(--primary) 100%);
}
.footer-compact-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center;
  gap: 18px; font-size: 13.5px;
}
.footer-compact a { color: rgba(255,255,255,.78); transition: color var(--transition); }
.footer-compact a:hover { color: var(--secondary); }

/* ───────── WhatsApp flutuante + Back-to-top ───────── */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 60px; height: 60px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .45);
  z-index: 90;
  transition: transform var(--transition), box-shadow var(--transition);
}
.wa-float::before {
  content: ""; position: absolute; inset: -6px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.35;
  animation: waPulse 2.2s ease-out infinite;
  z-index: -1;
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: .35; }
  100% { transform: scale(1.45); opacity: 0; }
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 14px 36px rgba(37, 211, 102, .55); }
.wa-float svg { width: 32px; height: 32px; color: var(--white); }

.back-to-top {
  position: fixed;
  bottom: 100px; right: 28px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(220, 38, 38, .35);
  z-index: 89;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-4px); }
.back-to-top svg { width: 20px; height: 20px; }

/* ───────── PÁGINA DO APP ───────── */
.app-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 60%, #1A1A2E 100%);
  color: var(--white);
  padding: 80px 0 120px;
  position: relative;
  overflow: hidden;
}
.app-hero::before {
  content: ""; position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(239, 68, 68, .35) 0%, transparent 70%);
  top: -200px; right: -150px;
  border-radius: 50%;
}
.app-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative; z-index: 2;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.22);
  color: var(--white);
  font-size: 12px; font-weight: 600;
  padding: 7px 14px; border-radius: 999px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.app-hero h1 {
  color: var(--white);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
  margin-bottom: 20px;
}
.app-hero h1 em { color: var(--tertiary); font-style: italic; }
.app-hero p { font-size: 18px; opacity: .92; margin-bottom: 32px; max-width: 520px; }

.store-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--white); color: var(--text);
  padding: 12px 20px;
  border-radius: 14px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 18px rgba(0,0,0,.18);
}
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.25); }
.store-btn svg { width: 28px; height: 28px; }
.store-btn-text { display: flex; flex-direction: column; line-height: 1.1; }
.store-btn-text small { font-size: 11px; color: var(--text-muted); font-weight: 500; }
.store-btn-text strong { font-size: 15px; font-weight: 700; }

.phone-wrap { display: flex; justify-content: center; position: relative; }
.phone {
  width: 280px; height: 560px;
  background: linear-gradient(180deg, #2A2A3E 0%, #0F0F1F 100%);
  border-radius: 42px;
  border: 8px solid #0F0F1F;
  box-shadow: 0 40px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08);
  position: relative; overflow: hidden;
}
.phone-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 24px; background: #0F0F1F;
  border-radius: 14px; z-index: 3;
}
.phone-screen {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, var(--secondary) 0%, var(--primary) 50%, var(--primary-dark) 100%);
  display: flex; flex-direction: column;
  padding: 56px 22px 22px;
  color: var(--white);
}
.ph-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.ph-greet { font-size: 13px; opacity: .85; }
.ph-name { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 900; }
.ph-balance {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px;
  padding: 18px; margin-bottom: 18px;
}
.ph-balance .lbl { font-size: 11px; opacity: .85; text-transform: uppercase; letter-spacing: 1px; }
.ph-balance .val { font-size: 26px; font-weight: 800; margin-top: 4px; }
.ph-balance .meta { font-size: 11px; opacity: .8; margin-top: 6px; }
.ph-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ph-act {
  background: rgba(255,255,255,.95); color: var(--primary);
  padding: 12px; border-radius: 12px;
  font-size: 12px; font-weight: 700; text-align: center;
}
.ph-list { margin-top: 18px; }
.ph-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 0;
  border-top: 1px solid rgba(255,255,255,.15);
  font-size: 13px;
}
.ph-row .when { opacity: .7; font-size: 11px; }
.ph-row .amt { font-weight: 700; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}
.feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 2px 8px rgba(220, 38, 38, .04);
  transition: transform .2s, box-shadow .2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
  width: 48px; height: 48px;
  background: var(--bg-soft);
  color: var(--primary);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { font-family: 'Inter', sans-serif; font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 980px; margin: 0 auto;
}
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
}
.step-num {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px;
  margin: 0 auto 18px;
  box-shadow: 0 8px 18px rgba(220, 38, 38, .3);
}
.step h3 { font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 14px; }

.final-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(239, 68, 68, .35) 0%, transparent 60%);
}
.final-cta > * { position: relative; z-index: 2; }
.final-cta h2 { color: var(--white); font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.final-cta p { opacity: .92; font-size: 16px; max-width: 520px; margin: 0 auto 28px; }
.final-cta .store-buttons { justify-content: center; }

/* ───────── PÁGINAS LEGAIS ───────── */
.legal-hero {
  background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg) 100%);
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.legal-tag {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  color: var(--primary);
  background: var(--white);
  padding: 6px 14px; border-radius: 999px;
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 14px;
  border: 1px solid var(--border);
}
.legal-hero h1 { font-size: clamp(32px, 4.5vw, 44px); font-weight: 700; margin-bottom: 10px; }
.legal-hero p { color: var(--text-muted); }
.legal-content { padding: 56px 0 80px; max-width: 840px; margin: 0 auto; }
.legal-content h2 {
  font-size: 22px; font-weight: 700;
  margin-top: 36px; margin-bottom: 14px;
  color: var(--primary);
}
.legal-content h3 { font-family: 'Inter', sans-serif; font-size: 17px; font-weight: 700; margin-top: 24px; margin-bottom: 8px; }
.legal-content p { color: var(--text); margin-bottom: 14px; }
.legal-content ul, .legal-content ol { margin: 0 0 14px 24px; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--primary); }
.legal-content a:hover { text-decoration: underline; }
.legal-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 24px 0;
  box-shadow: 0 2px 8px rgba(220, 38, 38, .04);
}
.legal-card strong { color: var(--primary); }

/* ───────── RESPONSIVO ───────── */
@media (max-width: 900px) {
  .ad-card { grid-template-columns: 1fr; }
  .ad-phone-wrap { padding: 36px 0 0; }
  .ad-phone { width: 160px; height: 320px; }
  .ad-content { padding: 32px 32px 40px; }
  .ig-card { flex-direction: column; text-align: center; padding: 44px 32px; gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .app-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .app-hero { padding: 56px 0 80px; }
  .phone { width: 240px; height: 480px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .topbar-cta { padding: 10px 18px; font-size: 13px; }
  .topbar-inner { height: 70px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .section-sub { margin-bottom: 40px; }
  .carousel { height: 100vh; min-height: 520px; }
  .carousel-arrow.prev { left: 14px; }
  .carousel-arrow.next { right: 14px; }
  .carousel-arrow { width: 44px; height: 44px; }
  .carousel-content .eyebrow { font-size: 11px; padding: 6px 14px; }
  .carousel-dots { bottom: 24px; }
  .carousel-dot { width: 24px; }
  .carousel-dot.active { width: 36px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-compact-inner { flex-direction: column; text-align: center; }
  .contact-info { padding: 32px; }
  .store-buttons { justify-content: center; }
  .legal-hero { padding: 48px 0 36px; }
  .legal-content { padding: 40px 0 64px; }
  .back-link span { display: none; }
  .wa-float { bottom: 20px; right: 20px; width: 54px; height: 54px; }
  .back-to-top { bottom: 86px; right: 20px; }
  .about::before { display: none; }
}
