/* ===================== ENOVA — Landing Page ===================== */
:root {
  --yellow: #FFC928;
  --yellow-strong: #FFBF00;
  --dark: #2A2B2E;
  --dark-2: #333438;
  --text: #3A3B3F;
  --muted: #6B6C70;
  --light: #F4F4F2;
  --white: #FFFFFF;
  --radius: 18px;
  --shadow: 0 14px 40px rgba(20, 20, 25, .08);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--light);
  overflow-x: hidden;
}
img { max-width: 100%; }

/* ---------- Tipografia base ---------- */
.eyebrow {
  display: inline-block;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: .9rem;
}
.eyebrow-yellow { color: var(--yellow); }
.section-title {
  font-weight: 700;
  color: var(--dark);
  font-size: clamp(1.7rem, 2.6vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 1rem;
}
.section-text { color: var(--muted); font-size: .95rem; line-height: 1.65; max-width: 460px; }
.section-text.small { font-size: .88rem; }
.text-light-muted { color: #C9C9CC !important; }

/* ---------- Botões ---------- */
.btn-dark-pill,
.btn-yellow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .85rem;
  padding: .75rem 1.5rem;
  border: 0;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-dark-pill { background: var(--dark); color: var(--white); }
.btn-dark-pill:hover { background: #111; color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.btn-yellow { background: var(--yellow); color: var(--dark); }
.btn-yellow:hover { background: var(--yellow-strong); color: var(--dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255,190,0,.35); }
.btn-lg-pill { padding: 1rem 1.9rem; font-size: .92rem; }
.btn-dark-pill .bi-whatsapp, .btn-yellow .bi-whatsapp { font-size: 1.1rem; }

/* ---------- Hexágono ---------- */
.hex {
  --size: 56px;
  position: relative;
  width: var(--size);
  height: calc(var(--size) * 1.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  color: var(--dark);
  font-size: 1.35rem;
  flex-shrink: 0;
}
.hex-sm { --size: 40px; font-size: 1rem; }
.hex-lg { --size: 76px; font-size: 1.8rem; clip-path: none; background: none; }
.hex-lg::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--yellow);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  z-index: 0;
}
.hex-lg i { position: relative; z-index: 1; }
.hex-lg b {
  position: absolute;
  bottom: -4px; left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--yellow-strong);
  border: 2px solid var(--white);
  font-size: .68rem;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}

/* ===================== HEADER / NAV ===================== */
.site-header { background: var(--yellow); position: relative; }
#mainNav {
  position: sticky; top: 0;
  padding: 1.1rem 0;
  background: var(--yellow);
  z-index: 1030;
  transition: box-shadow .25s ease, padding .25s ease;
}
.site-header { position: static; }
#mainNav { position: fixed; left: 0; right: 0; }
#mainNav.scrolled { padding: .6rem 0; box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.logo { height: 34px; width: auto; }
#mainNav .nav-link {
  font-size: .8rem;
  font-weight: 500;
  color: var(--dark);
  padding: .5rem .85rem !important;
  position: relative;
}
#mainNav .nav-link::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .25rem;
  height: 2px; background: var(--dark); transform: scaleX(0); transition: transform .2s;
}
#mainNav .nav-link:hover::after, #mainNav .nav-link.active::after { transform: scaleX(1); }
.navbar-toggler { border: 0; font-size: 1.8rem; color: var(--dark); padding: 0; }
.navbar-toggler:focus { box-shadow: none; }

/* ===================== HERO ===================== */
.hero { position: relative; padding: 130px 0 120px; }
.hero h1 {
  font-weight: 800;
  font-size: clamp(2.3rem, 3.9vw, 3.05rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--dark);
  margin-bottom: 1.3rem;
}
.hero .lead-text { font-size: 1rem; line-height: 1.6; color: var(--dark-2); max-width: 430px; margin-bottom: 2rem; }
.hero-badges { display: flex; gap: 2rem; margin-top: 1.6rem; font-size: .78rem; font-weight: 500; color: var(--dark); flex-wrap: wrap; }
.hero-badges i { font-size: 1.1rem; margin-right: .35rem; vertical-align: -2px; }
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 90px; fill: var(--light); }

/* Dispositivos */
.devices { position: relative; padding: 10px 0 60px; max-width: 640px; margin-left: auto; }
.laptop { width: 88%; position: relative; }
.laptop-screen {
  background: #1b1c1f;
  border-radius: 16px 16px 0 0;
  padding: 12px 12px 14px;
  box-shadow: 0 30px 60px rgba(0,0,0,.18);
}
.laptop-base {
  height: 16px;
  margin: 0 -6%;
  background: linear-gradient(#d9dadd, #a9abb0);
  border-radius: 0 0 16px 16px;
  position: relative;
}
.laptop-base::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 18%; height: 6px; background: #bfc1c5; border-radius: 0 0 8px 8px;
}
.mini-site { background: #fff; border-radius: 6px; overflow: hidden; font-size: 10px; color: var(--dark); }
.ms-nav { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; }
.ms-logo { font-weight: 700; font-size: 9px; }
.ms-logo i { color: var(--yellow-strong); }
.ms-links { display: flex; gap: 8px; }
.ms-links i { display: block; width: 22px; height: 4px; background: #e2e2e2; border-radius: 3px; }
.ms-btn { background: var(--yellow); padding: 3px 9px; border-radius: 20px; font-size: 7px; font-weight: 600; }
.ms-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: end; background: linear-gradient(90deg, #fff 45%, #f6f1ea); }
.ms-copy { padding: 18px 16px 24px; }
.ms-copy h4 { font-size: clamp(13px, 1.6vw, 20px); font-weight: 600; line-height: 1.15; margin-bottom: 8px; }
.ms-copy p { font-size: 8px; color: var(--muted); margin-bottom: 10px; max-width: 130px; }
.ms-cta { display: inline-block; background: var(--yellow); padding: 4px 10px; border-radius: 20px; font-size: 7px; font-weight: 600; }
.ms-hero img { width: 100%; height: 170px; object-fit: cover; object-position: top; }
.ms-services { display: flex; justify-content: space-around; padding: 10px 6px; border-top: 1px solid #f0f0f0; }
.ms-services span { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 7px; color: var(--muted); }
.ms-services i { font-size: 12px; color: #b9b9b9; }

.phone {
  position: absolute; right: 0; bottom: 20px;
  width: 30%;
  background: #1b1c1f;
  border-radius: 28px;
  padding: 8px;
  box-shadow: 0 25px 50px rgba(0,0,0,.25);
  transform: rotate(4deg);
}
.phone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 34%; height: 12px; background: #1b1c1f; border-radius: 0 0 10px 10px; z-index: 2; }
.phone-screen { background: #fff; border-radius: 21px; overflow: hidden; }
.ps-nav { display: flex; justify-content: space-between; align-items: center; padding: 18px 10px 4px; font-size: 9px; color: var(--yellow-strong); }
.ps-nav span { width: 18px; height: 8px; background: var(--yellow); border-radius: 10px; }
.phone-screen img { width: 100%; height: 150px; object-fit: cover; object-position: top; }
.ps-copy { padding: 8px 12px 16px; }
.ps-copy h5 { font-size: 12px; font-weight: 600; line-height: 1.15; margin-bottom: 4px; color: var(--dark); }
.ps-copy p { font-size: 7px; color: var(--muted); margin-bottom: 6px; }
.handwrite {
  position: absolute; left: 44%; bottom: -10px;
  font-family: 'Caveat', cursive;
  font-size: 1.25rem; line-height: 1;
  color: var(--dark);
  transform: rotate(-4deg);
}
.hw-arrow { width: 56px; position: absolute; right: -62px; top: -2px; color: var(--dark); }

/* ===================== SEÇÕES ===================== */
.section { padding: 90px 0; position: relative; }
.section-light { background: var(--light); }
.section-white { background: var(--white); }

/* Features */
.feature { text-align: center; }
.feature p { font-size: .72rem; font-weight: 600; color: var(--dark); margin: .7rem auto 0; max-width: 110px; line-height: 1.35; }

/* Showcase de exemplos */
.showcase { position: relative; height: 380px; max-width: 580px; margin: 0 auto; }
.shot {
  position: absolute;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,.18);
  font-size: 8px;
}
.shot h6 { font-weight: 600; font-size: 12px; line-height: 1.2; margin-bottom: 6px; color: var(--dark); }
.shot-nav { display: flex; align-items: center; gap: 8px; padding: 7px 10px; }
.shot-nav.dark { background: #1d1e21; }
.dot-logo { width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); flex-shrink: 0; }
.lines { flex: 1; height: 4px; background: repeating-linear-gradient(90deg, #ddd 0 18px, transparent 18px 26px); border-radius: 3px; }
.shot-nav.dark .lines { background: repeating-linear-gradient(90deg, #555 0 18px, transparent 18px 26px); }
.bar { display: block; height: 4px; width: 80%; background: #ddd; border-radius: 3px; margin-bottom: 4px; }
.bar.short { width: 55%; }
.mini-btn { display: inline-block; width: 44px; height: 11px; background: var(--yellow); border-radius: 10px; margin-top: 6px; flex-shrink: 0; }
.mini-btn.red { background: #e5412f; }

.shot-auto { left: 0; top: 70px; width: 38%; height: 250px; background: #1d1e21; transform: perspective(900px) rotateY(18deg); }
.shot-body { padding: 10px; }
.shot-body.dark h6 { color: #fff; }
.shot-body.dark .bar { background: #444; }
.shot-auto img { width: 100%; height: 110px; object-fit: cover; }

.shot-pet { right: 0; top: 60px; width: 34%; height: 240px; transform: perspective(900px) rotateY(-18deg); background: #fffaf0; }
.shot-pet img { width: 100%; height: 120px; object-fit: cover; }

.shot-odonto { left: 20%; top: 0; width: 58%; height: 290px; z-index: 2; }
.shot-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: end; background: linear-gradient(90deg, #fff 40%, #f6f1ea); }
.shot-hero > div { padding: 14px 12px; }
.shot-hero h6 { font-size: 15px; }
.shot-hero img { width: 100%; height: 170px; object-fit: cover; object-position: top; }
.shot-icons { display: flex; justify-content: space-around; padding: 14px; color: #bbb; font-size: 14px; }

.shot-law { left: 14%; bottom: 0; width: 46%; height: 190px; background: #1d1e21; z-index: 3; }
.shot-law-hero { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; }
.shot-law-hero > div { padding: 14px 12px; }
.shot-law h6 { color: #fff; font-size: 12px; }
.shot-law h6 em { font-style: normal; color: var(--yellow); }
.shot-law .bar { background: #444; }
.shot-law-hero img { width: 100%; height: 110px; object-fit: cover; object-position: top; }
.shot-law-foot { display: flex; gap: 6px; padding: 8px 10px; }
.shot-law-foot span { flex: 1; height: 28px; background: #2b2c30; border-radius: 4px; }

.segments { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.4rem 0 1.8rem; max-width: 470px; }
.seg {
  border: 1px solid #cfcfd2;
  background: transparent;
  border-radius: 50px;
  padding: .35rem 1rem;
  font-size: .72rem;
  font-weight: 500;
  color: var(--dark);
  transition: all .2s;
}
.seg:hover { border-color: var(--dark); }
.seg.active { background: var(--yellow); border-color: var(--yellow); font-weight: 600; }

/* Como funciona */
#como-funciona { border-radius: 0 0 60px 60px; }
.steps { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; }
.step { text-align: center; flex: 1; }
.step p { font-size: .78rem; font-weight: 600; color: var(--dark); margin: 1rem auto 0; max-width: 130px; line-height: 1.35; }
.step-arrow { color: #b8b8bb; font-size: 1.2rem; margin-top: 26px; }

/* Planos */
.plans-section { overflow: hidden; padding-bottom: 60px; }
.blob-left {
  position: absolute;
  left: -120px; top: 35%;
  width: 520px; height: 520px;
  background: var(--yellow);
  border-radius: 45% 55% 60% 40% / 45% 45% 55% 55%;
}
.plans-section .col-lg-4 { position: relative; z-index: 1; }
.plan-card {
  background: var(--white);
  border-radius: 14px;
  padding: 2rem 1.7rem;
  box-shadow: var(--shadow);
  height: 100%;
  display: flex; flex-direction: column;
  text-align: center;
  transition: transform .25s ease;
}
.plan-card:hover { transform: translateY(-6px); }
.plan-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: .2rem; }
.plan-sub { font-size: .72rem; color: var(--muted); }
.price { font-size: 3.4rem; font-weight: 800; color: var(--dark); line-height: 1; margin: 1.4rem 0 1.6rem; letter-spacing: -.03em; }
.price small { font-size: 1.1rem; font-weight: 700; vertical-align: 12px; margin-right: 4px; }
.price sup { font-size: 1.3rem; top: -1.3em; }
.price .per { font-size: .85rem; font-weight: 500; margin-left: 2px; }
.checks { list-style: none; padding: 0; margin: 0 0 1.6rem; text-align: left; flex-grow: 1; }
.checks li { font-size: .78rem; padding: .35rem 0 .35rem 1.6rem; position: relative; }
.checks li::before {
  content: "\F26E";
  font-family: 'bootstrap-icons';
  position: absolute; left: 0; top: .2rem;
  color: var(--yellow-strong);
  font-size: 1.05rem;
}
.plan-card .btn-yellow { font-size: .78rem; border-radius: 8px; padding: .8rem 1rem; }
.plan-dark { background: var(--dark); color: #e5e5e7; }
.plan-dark h3, .plan-dark .price { color: #fff; }
.plan-dark .plan-sub { color: #a0a0a5; }
.plan-note { font-size: .62rem; color: var(--muted); text-align: right; margin-top: 1rem; }

.benefits-bar {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  background: var(--white);
  border-radius: 16px;
  padding: 1.6rem 1.4rem;
  margin-top: 2.2rem;
  box-shadow: var(--shadow);
}
.benefit { display: flex; flex-direction: column; align-items: center; gap: .6rem; text-align: center; font-size: .72rem; font-weight: 600; color: var(--dark); line-height: 1.3; }

/* Depoimentos */
#depoimentos { padding-top: 40px; }
.testimonial {
  background: var(--white);
  border-radius: 14px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
  height: 100%;
}
.t-head { display: flex; gap: .9rem; align-items: center; margin-bottom: 1rem; }
.t-head img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.t-head strong { display: block; font-size: .82rem; color: var(--dark); }
.t-head span { font-size: .7rem; color: var(--muted); }
.stars { color: var(--yellow-strong); font-size: .75rem; letter-spacing: 1px; }
.testimonial p { font-size: .82rem; line-height: 1.6; margin: 0; color: var(--text); }

/* FAQ */
.faq-section { background: var(--light); overflow: hidden; padding: 110px 0; }
.faq-yellow {
  position: absolute; top: 40px; bottom: 0; left: 0; right: 42%;
  background: var(--yellow);
  border-radius: 0 90px 140px 0;
}
.faq-card { background: var(--white); border-radius: 18px; padding: .8rem 1.6rem; box-shadow: var(--shadow); }
.faq-card .accordion-item { border-color: #ececee; }
.faq-card .accordion-button {
  font-size: .82rem;
  font-weight: 500;
  color: var(--dark);
  padding: 1.15rem 0;
  background: transparent;
  box-shadow: none;
}
.faq-card .accordion-button:not(.collapsed) { color: var(--dark); font-weight: 600; }
.faq-card .accordion-button::after { background-size: .8rem; width: .8rem; height: .8rem; }
.faq-card .accordion-body { padding: 0 0 1.1rem; font-size: .82rem; color: var(--muted); line-height: 1.6; }

/* ===================== FOOTER ===================== */
.footer-cta { background: var(--dark); color: #fff; padding: 90px 0 30px; position: relative; }
.footer-cta .section-title { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.footer-logo { width: 280px; max-width: 80%; }
.footer-slogan { color: #d7d7da; font-size: .88rem; margin-top: 1rem; line-height: 1.5; }
.footer-copy { border-top: 1px solid rgba(255,255,255,.08); margin-top: 60px; padding-top: 24px; text-align: center; font-size: .75rem; color: #8e8e93; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 22px; bottom: 22px;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 10px 25px rgba(37,211,102,.45);
  z-index: 1040;
  transition: transform .2s;
  animation: pulse 2.4s infinite;
}
.wa-float:hover { color: #fff; transform: scale(1.08); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* Animações de entrada */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.shot.reveal.in { transform: var(--shot-t, none); }
.shot-auto { --shot-t: perspective(900px) rotateY(18deg); }
.shot-pet { --shot-t: perspective(900px) rotateY(-18deg); }

/* ===================== RESPONSIVO ===================== */
@media (max-width: 1199.98px) {
  .benefits-bar { grid-template-columns: repeat(3, 1fr); row-gap: 1.6rem; }
}
@media (max-width: 991.98px) {
  #mainNav .navbar-collapse {
    background: #fff; border-radius: 14px; padding: 1rem; margin-top: .8rem;
    box-shadow: var(--shadow);
  }
  #mainNav .btn-dark-pill { width: 100%; margin-top: .6rem; }
  .hero { padding: 110px 0 110px; text-align: center; }
  .hero .lead-text { margin-left: auto; margin-right: auto; }
  .hero-badges { justify-content: center; }
  .devices { margin: 50px auto 0; }
  .section { padding: 70px 0; }
  .section-text { margin-left: 0; }
  .blob-left { top: auto; bottom: 20%; }
  .plan-note { text-align: center; }
  .faq-yellow { top: 0; right: 0; bottom: 50%; border-radius: 0 0 80px 0; }
}
@media (max-width: 767.98px) {
  .steps { flex-wrap: wrap; row-gap: 2rem; }
  .step { flex: 0 0 45%; }
  .step-arrow { display: none; }
  .showcase { height: 300px; }
  .shot h6 { font-size: 10px; }
  .shot-odonto { height: 230px; }
  .shot-hero img { height: 130px; }
  .shot-law { height: 150px; }
  .shot-law-hero img { height: 80px; }
  .benefits-bar { grid-template-columns: repeat(2, 1fr); }
  .handwrite { display: none; }
  .ms-hero img { height: 120px; }
  .phone-screen img { height: 90px; }
}
@media (max-width: 575.98px) {
  .hero h1 { font-size: 2.2rem; }
  .btn-lg-pill { width: 100%; padding: .95rem 1rem; font-size: .85rem; }
  .features p { font-size: .7rem; }
  .price { font-size: 3rem; }
  .footer-cta { text-align: center; }
  .footer-cta .section-text { margin: 0 auto 1rem; }
}
