:root {
  --navy: #020633;
  --navy-2: #091350;
  --blue: #294bec;
  --blue-soft: #334780;
  --lime: #e5fb35;
  --ink: #151515;
  --gray: #687386;
  --mist: #f1f5ff;
  --white: #fff;
  --radius: 28px;
  --container: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.narrow { max-width: 1140px; }
.center { text-align: center; }
.section { padding: clamp(82px, 8vw, 140px) 0; }
h1, h2, h3, p { margin-top: 0; }
h2 { margin-bottom: 28px; font-size: clamp(2rem, 4vw, 4rem); line-height: 1.15; letter-spacing: 0; }
.lead { margin-bottom: 48px; font-size: clamp(1.05rem, 1.5vw, 1.55rem); line-height: 1.4; }
.lead.light { max-width: 780px; margin-inline: auto; color: #f3f5ff; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; padding: 10px 14px; border-radius: 8px; background: white; transform: translateY(-140%); }
.skip-link:focus { transform: none; }

.site-header { position: fixed; top: 0; left: 0; z-index: 100; display: flex; align-items: center; width: 100%; min-height: 112px; padding: 18px max(32px, calc((100vw - 1440px)/2)); color: white; background: transparent; transition: min-height .25s ease, background-color .25s ease, box-shadow .25s ease, backdrop-filter .25s ease; }
.site-header.is-scrolled { min-height: 96px; background: rgba(51, 71, 128, .86); box-shadow: 0 8px 30px rgba(1, 4, 41, .16); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.brand img { width: 190px; height: auto; }
.main-nav { position: absolute; left: 50%; display: flex; gap: clamp(26px, 4vw, 70px); align-items: center; transform: translateX(-50%); }
.main-nav a { font-size: 1.08rem; transition: color .2s ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--lime); }
.nav-toggle, .nav-button { display: none; }

.hero { position: relative; min-height: clamp(780px, 100svh, 1020px); overflow: hidden; color: white; background: radial-gradient(circle at 72% 48%, #13245f 0, var(--navy) 37%, #010429 76%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(transparent, rgba(1,4,41,.8)); }
.hero-mesh { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 42px; min-height: clamp(720px, calc(100svh - 65px), 950px); padding: 126px 0 105px; }
.hero-copy { max-width: 800px; }
.hero-copy h1 { margin-bottom: 34px; font-size: clamp(2.1rem, 2.7vw, 3rem); font-weight: 300; line-height: 1.22; letter-spacing: 0; }
.hero-copy h1 strong { display: inline; font-weight: 700; }
.hero-copy p { max-width: 700px; margin-bottom: 38px; font-size: clamp(1.12rem, 1.55vw, 1.55rem); font-weight: 600; line-height: 1.3; }
.hero-phone { position: relative; justify-self: center; width: min(287px, 100%); height: 587px; overflow: hidden; border: 6px solid #1f1f1f; border-radius: 32px; background: #000; box-shadow: 0 1px 61px rgba(95,58,181,.72); }
.hero-phone img { position: absolute; top: 7px; bottom: 14px; left: 50%; width: 327px; max-width: none; height: calc(100% - 21px); object-fit: contain; transform: translateX(-50%); }
.hero .button-primary { width: min(520px, 100%); }
.meta-partner { position: absolute; z-index: 3; bottom: 28px; left: 50%; width: 170px; height: auto; transform: translateX(-50%); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 62px; padding: 15px 46px; border-radius: 999px; font-size: 1.15rem; transition: transform .2s ease, filter .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); filter: brightness(.96); }
.button-primary { color: #111; background: var(--lime); }

.video-section { padding-bottom: 64px; background: #fff; }
.video-section h2 { color: #09196d; font-size: clamp(2.25rem, 3vw, 43px); }
.brand-video { width: 100%; margin: 54px auto 40px; border-radius: 19px; background: var(--navy); aspect-ratio: 1200/721; object-fit: cover; }
.metrics { color: #51606e; background: #fff; }
.metrics-grid { width: min(960px, calc(100% - 48px)); display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; gap: 20px; padding: 0 0 80px; }
.metrics article { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; min-width: 0; text-align: center; }
.metrics article > svg { width: 57px; height: 57px; margin-bottom: 10px; color: #020f59; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.metrics span { font-size: 1.3rem; line-height: 1.08; }

.section-dark { color: white; background: var(--navy); }
.how { padding-bottom: 0; }
.how h2 { font-size: clamp(2.5rem, 4.2vw, 4.2rem); }
.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 54px; align-items: stretch; margin-top: 78px; }
.flow-card { display: flex; flex-direction: column; }
.flow-card h3 { margin-bottom: 14px; color: var(--lime); font-size: 1.35rem; }
.flow-card > p { min-height: 54px; color: #aeb6d0; font-size: 1rem; line-height: 1.35; }
.phone-demo { position: relative; display: flex; flex-direction: column; flex: 1 0 auto; align-self: center; width: min(250px, 72%); min-height: 0; margin-top: auto; padding: 60px 0 16px; overflow: visible; color: #111; background: #eadcc4; border: 7px solid #222; border-bottom: 0; border-radius: 38px 38px 0 0; box-shadow: 0 -20px 95px rgba(255,255,255,.38), 0 0 64px rgba(202,210,255,.28); }
.phone-demo::before { content: ""; position: absolute; z-index: 0; inset: 0 0 auto; height: 54px; border-radius: 30px 30px 0 0; background: #1d9276; }
.phone-notch { position: absolute; top: 0; left: 50%; z-index: 4; width: 98px; height: 24px; border-radius: 0 0 14px 14px; background: #050505; transform: translateX(-50%); }
.chat { position: relative; z-index: 2; width: 117%; margin: 0 0 10px -15%; padding: 10px 12px; border-radius: 6px; font-size: .74rem; line-height: 1.4; text-align: left; box-shadow: 0 3px 12px rgba(0,0,0,.13); }
.chat.white { background: white; }
.chat.green { width: 100%; margin-left: 16%; background: #d0ffcf; }
.chat.link { color: #1388ef; font-weight: 700; background: white; }
.whatsapp-chat-logo { position: absolute; top: 28px; right: -22px; z-index: 5; width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 3px 4px rgba(0,0,0,.2)); }
.audio-bubble { position: relative; z-index: 3; display: flex; align-items: center; gap: 7px; width: 78%; margin: 0 -15% 10px auto; padding: 8px 10px; border-radius: 7px; color: #55ad77; background: #d0ffcf; box-shadow: 0 3px 12px rgba(0,0,0,.08); }
.audio-toggle { display: grid; flex: 0 0 22px; width: 22px; height: 22px; padding: 0; border: 0; color: #55ad77; background: transparent; cursor: pointer; place-items: center; }
.audio-toggle svg { grid-area: 1 / 1; width: 18px; height: 18px; fill: currentColor; stroke-width: 1.8; }
.audio-icon-pause { display: none; }
.audio-bubble.is-playing .audio-icon-play { display: none; }
.audio-bubble.is-playing .audio-icon-pause { display: block; }
.audio-bubble .audio-wave { flex: 1; height: 20px; background: repeating-linear-gradient(90deg,#59a875 0 2px,transparent 2px 4px); mask-image: linear-gradient(to bottom, transparent, black 22%, black 78%, transparent); transform-origin: left; }
.audio-bubble.is-playing .audio-wave { animation: audio-pulse .55s ease-in-out infinite alternate; }
.audio-bubble small { flex: 0 0 auto; font-size: .65rem; font-variant-numeric: tabular-nums; }
.phone-demo-flexibility,
.phone-demo-conversion { width: min(240px, 69%); }
.phone-demo-flexibility .chat:last-child,
.phone-demo-conversion .chat:last-child { margin-bottom: 0; }
.chat.green.prescription-msg { width: max-content; max-width: none; margin: 0 -15% 0 auto; padding: 6px; }
.prescription-preview { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 104px; aspect-ratio: 1 / 1.414; border-radius: 3px; color: #5a8f68; background: #f4fff4; font-size: .62rem; font-weight: 600; line-height: 1.2; text-align: center; white-space: nowrap; }
.prescription-preview svg { width: 24px; height: 24px; stroke-width: 1.6; }
.phone-demo-conversion .chat { width: 126%; margin-left: -13%; }
.phone-demo-conversion .chat.link { overflow: hidden; white-space: nowrap; font-size: .7rem; }
@keyframes audio-pulse { from { opacity: .55; transform: scaleY(.64); } to { opacity: 1; transform: scaleY(1); } }

.cta { padding-block: clamp(90px, 10vw, 160px); background: linear-gradient(180deg, #17235f 0%, #091044 38%, #020633 100%); }
.cta h2 { font-size: clamp(2.1rem, 3.7vw, 3.65rem); }
.cta-lead { margin-bottom: 22px; font-size: clamp(1.2rem, 2vw, 2rem); }
.muted-light { margin-bottom: 40px; color: #b6bfdc; font-size: 1.03rem; }

.features { background: linear-gradient(#fff 70%, #f2f5ff); }
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.feature-card { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 470px; padding: 38px 28px; border: 1px solid #c8c8c8; border-radius: 28px; text-align: center; }
.feature-card > svg { width: 82px; height: 82px; margin-bottom: 62px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { margin-bottom: 20px; font-size: 1.35rem; line-height: 1.08; }
.feature-card p { color: #777; font-size: 1rem; line-height: 1.2; }
.feature-card.featured { color: white; border-color: var(--blue); background: #2e4ba1; }
.feature-card.featured p { color: #f4f6ff; }

.plans { min-height: 650px; display: flex; align-items: center; background: linear-gradient(180deg, #d6e2ff 0%, #edf3ff 12%, #fff 30%, #fff 70%, #edf3ff 88%, #d6e2ff 100%); }
.plans h2 { font-size: clamp(2.25rem, 3.35vw, 3.25rem); }
.plan-copy { margin-bottom: 60px; font-size: clamp(1.45rem, 2.15vw, 2.05rem); font-weight: 300; line-height: 1.2; letter-spacing: 0; }
.plan-copy span { color: var(--blue); }

.benefits { background: var(--mist); }
.benefits h2 { font-size: clamp(2rem, 3.1vw, 3rem); font-weight: 300; line-height: 1.15; }
.benefits h2 strong { color: var(--blue); }
.benefits .lead { font-size: 1.15rem; }
.italic { font-style: italic; }
.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 64px 100px; margin: 80px 50px 90px; }
.benefit-grid article:last-child { grid-column: 1/-1; width: 50%; margin: 0 auto; }
.benefit-grid b { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 50%; color: white; background: var(--blue); font-size: 1.2rem; font-weight: 400; }
.benefit-grid h3 { margin-bottom: 14px; font-size: clamp(1.25rem, 1.55vw, 1.55rem); line-height: 1.05; }
.benefit-grid p { color: #333; font-size: 1rem; line-height: 1.3; }

.contact { padding: 0; background: #f6f8fc; }
.contact .container { width: 100%; max-width: none; }
.contact iframe { display: block; width: 100%; height: auto; aspect-ratio: 21/9; border: 0; border-radius: 0; background: white; }

.faq { padding-bottom: 160px; background: white; }
.faq h2 { margin-bottom: 12px; font-size: clamp(2rem, 3vw, 2.75rem); }
.faq-lead { margin-bottom: 65px; font-size: clamp(1.2rem, 2vw, 1.8rem); font-weight: 300; letter-spacing: 0; }
.accordion { display: grid; gap: 20px; }
.accordion details { border: 1.5px solid #1c1c1c; border-radius: 42px; overflow: clip; }
.accordion summary { position: relative; padding: 26px 80px 26px 26px; cursor: pointer; list-style: none; font-size: 1.22rem; line-height: 1.25; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary > svg { position: absolute; top: 50%; right: 20px; width: 42px; height: 42px; padding: 9px; border-radius: 50%; color: white; background: var(--blue); stroke-width: 2.3; transform: translateY(-50%); transition: transform .2s ease; }
.accordion details[open] summary > svg { transform: translateY(-50%) rotate(180deg); }
.accordion details p { padding: 0 34px 26px; margin: 0; color: var(--gray); font-size: 1.08rem; line-height: 1.45; }

.footer { position: relative; padding: 80px 0 34px; color: white; background: var(--navy); border-radius: 45px 45px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 70px; }
.footer-brand img { width: 200px; height: auto; margin-bottom: 32px; }
.footer-brand p { max-width: 410px; color: #ecedfa; line-height: 1.35; }
.footer h3 { margin: 34px 0 24px; font-size: 1rem; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 18px; }
.footer a { color: #f3f4fc; }
.footer a:hover, .footer a:focus-visible { color: var(--lime); }
.socials { display: flex; align-items: center; gap: 4px; width: max-content; margin-top: 48px; transform: scale(.86); transform-origin: left center; }
.socials a { display: grid; width: 62px; height: 62px; place-items: center; }
.socials img { display: block; width: 60px; max-width: none; height: 60px; object-fit: contain; }
.socials a[aria-label*="Instagram"] img { width: 85px; height: 85px; transform: translate(-10px, -13px); }
.copyright { margin: 80px 7vw 0; color: #c9cee0; text-align: right; }
.whatsapp-float { position: fixed; right: 32px; bottom: 32px; z-index: 150; display: flex; align-items: center; gap: 12px; padding: 15px 26px; border-radius: 999px; color: #111; background: var(--lime); box-shadow: 0 10px 30px rgba(0,0,0,.18); font-size: 1.05rem; }
.whatsapp-float svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Páginas legais */
.legal-page { color: #1b1918; background: #fff; }
.legal-page .site-header { position: relative; min-height: 98px; padding-block: 16px; background: var(--blue-soft); }
.legal-page .brand img { width: 145px; }
.legal-main { padding: 62px 0 96px; }
.legal-article { width: min(852px, calc(100% - 40px)); margin: 0 auto; }
.legal-article > h1 { margin: 0; padding: 0 16px 12px; color: #0540f2; border-bottom: 1px solid #cfcfcf; font-size: 43px; font-weight: 700; line-height: 1.1; letter-spacing: 0; text-align: center; }
.legal-article > h1 + .legal-update { margin: 0; padding: 16px; border-bottom: 1px solid #cfcfcf; }
.legal-article > section { margin: 0; padding: 23px 16px 22px; border-bottom: 1px solid #cfcfcf; }
.legal-article h2 { margin: 0 0 10px; color: #1b1918; font-size: 26px; font-weight: 700; line-height: 1.2; letter-spacing: 0; }
.legal-article h3 { margin: 22px 0 8px; font-size: 16px; line-height: 1.6; }
.legal-article p, .legal-article li { color: #1b1918; font-size: 16px; line-height: 1.6; letter-spacing: -.02em; }
.legal-article p { margin-bottom: 0; }
.legal-article ul { margin: 0 0 20px; padding-left: 20px; }
.legal-article ul:last-child { margin-bottom: 0; }
.legal-article a { color: inherit; text-decoration: none; }
.legal-article > .legal-update:last-child { margin: 20px 16px 0; color: #1b1918; }
.legal-terms .legal-article > section { padding-top: 27px; }
.legal-page .footer { border-radius: 0; }

@media (max-width: 1050px) {
  h1, h2, h3, p, .button, .lead, .plan-copy, .metrics span {
    word-spacing: .06em;
  }
  .hero { min-height: auto; height: auto; }
  .hero-inner { grid-template-columns: 1fr 320px; gap: 30px; min-height: 0; }
  .flow-grid { gap: 18px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 76px; }
  .container { width: min(100% - 32px, var(--container)); }
  .section { padding-block: 72px; }
  .how { padding-bottom: 0; }
  .site-header { position: fixed; min-height: 82px; padding: 14px 20px; }
  .site-header.is-scrolled { min-height: 76px; }
  .brand img { width: 138px; }
  .nav-toggle { position: absolute; display: block; opacity: 0; pointer-events: none; }
  .nav-button { display: grid; gap: 5px; width: 44px; margin-left: auto; padding: 10px; cursor: pointer; }
  .nav-button span { display: block; height: 2px; border-radius: 4px; background: white; }
  .main-nav { position: absolute; top: 76px; right: 16px; left: 16px; display: none; flex-direction: column; gap: 0; align-items: stretch; padding: 10px; border-radius: 18px; color: var(--navy); background: white; box-shadow: 0 18px 45px rgba(0,0,0,.24); transform: none; }
  .main-nav a { padding: 14px 16px; }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  .hero { overflow: visible; height: auto; min-height: 0; }
  .hero-inner { display: flex; flex-direction: column; align-items: center; gap: 36px; min-height: 0; padding: 118px 0 28px; text-align: center; }
  .hero-copy { width: 100%; max-width: 36rem; }
  .hero-copy h1 { font-size: 2rem; line-height: 1.25; }
  .hero-copy p { font-size: 1.1rem; line-height: 1.4; }
  .hero-phone { display: block; flex: none; width: 230px; height: 470px; }
  .hero-phone img { width: 262px; }
  .meta-partner { position: relative; bottom: auto; left: auto; width: 145px; margin: 0 auto 28px; transform: none; }
  .button { width: 100%; max-width: 460px; padding-inline: 24px; }
  .video-section h2 br, .cta h2 br, .benefits h2 br, .plan-copy br { display: none; }
  .metrics-grid, .flow-grid, .cards-grid, .benefit-grid, .footer-grid { grid-template-columns: 1fr; }
  .metrics-grid { width: min(100% - 40px, 960px); gap: 56px; padding-bottom: 40px; }
  .flow-grid { gap: 65px; margin-top: 55px; }
  .flow-card > p { min-height: 0; }
  .phone-demo { width: min(250px, 72%); min-height: 0; flex-basis: auto; }
  .phone-demo-flexibility,
  .phone-demo-conversion { width: min(240px, 69%); }
  .feature-card { min-height: 390px; }
  .feature-card svg { margin-bottom: 40px; }
  .plans { min-height: 580px; }
  .benefit-grid { gap: 52px; margin: 60px 0 70px; }
  .benefit-grid article:last-child { grid-column: auto; width: auto; }
  .contact iframe { min-height: 500px; }
  .accordion summary { padding: 22px 68px 22px 22px; font-size: 1rem; }
  .accordion summary > svg { right: 14px; width: 38px; height: 38px; }
  .accordion details p { padding: 0 22px 24px; font-size: .96rem; }
  .footer { padding-bottom: 110px; border-radius: 28px 28px 0 0; }
  .footer-grid { gap: 30px; }
  .copyright { margin: 55px 20px 0; text-align: left; }
  .whatsapp-float { right: 16px; bottom: 16px; padding: 14px; }
  .whatsapp-float span { display: none; }
  .legal-page .site-header { position: relative; min-height: 82px; }
  .legal-page .brand img { width: 138px; }
  .legal-main { padding: 42px 0 72px; }
  .legal-article { width: min(100% - 24px, 852px); }
  .legal-article > h1 { padding-inline: 8px; font-size: 32px; }
  .legal-article > h1 + .legal-update,
  .legal-article > section { padding-right: 8px; padding-left: 8px; }
  .legal-article h2 { font-size: 23px; }
  .legal-article p, .legal-article li { font-size: 15px; line-height: 1.55; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
