/* Layout: hero violeta com conversa da Lívia que responde ao toque; blocos de cor sólida alternando violeta, lilás, ameixa e verde a cada seção. */
:root {
  --plum: #170B36;
  --plum-2: #22124D;
  --plum-3: #2F1C63;
  --violet: #6C3BF5;
  --violet-deep: #5427D9;
  --lilac: #EFE9FF;
  --lime: #C7F464;
  --paper: #FFFFFF;
  --ink: #170B36;
  --muted-d: #B9AEDB;
  --muted-l: #5A4F7A;
  --wa-bg: #0B141A;
  --wa-in: #1F2C33;
  --wa-out: #005C4B;
  --display: "Bricolage Grotesque", "Arial Black", Arial, sans-serif;
  --body: "Manrope", "Segoe UI", Arial, sans-serif;
  --wrap: 1220px;
  --ease: cubic-bezier(.2,.75,.15,1);
  color-scheme: dark;
}
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body { background: var(--plum); color: var(--paper); font: 500 1rem/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--violet); }
a { color: inherit; }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.035em; margin: 0; text-wrap: balance; overflow-wrap: break-word; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * max(16px, env(safe-area-inset-left, 0px))); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 760px) { .wrap { padding-left: max(36px, env(safe-area-inset-left, 0px)); padding-right: max(36px, env(safe-area-inset-right, 0px)); } }
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1; }
.section-head p { margin-top: 16px; font-size: 1.08rem; max-width: 54ch; }

/* Botões */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 26px; border-radius: 999px; border: 0; background: var(--lime); color: var(--ink); font: 800 1rem/1.2 var(--body); text-decoration: none; text-align: center; cursor: pointer; overflow: hidden; isolation: isolate; transition: transform .3s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper); transform: translateY(101%); transition: transform .4s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn:hover { transform: translateY(-2px); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-dark { background: var(--plum); color: var(--paper); }
.btn-dark::before { background: var(--violet-deep); }
.btn-violet { background: var(--violet); color: var(--paper); }
.btn-violet::before { background: var(--plum); }

/* Header */
.site-header { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50; transition: background .3s; }
.site-header.scrolled, .site-header.open { background: var(--plum); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 46px; height: 46px; border-radius: 15px; background: var(--lime); display: grid; place-items: center; flex-shrink: 0; }
.brand-mark svg { width: 34px; height: 34px; }
.brand > span:last-child { display: grid; gap: 2px; }
.brand-name { font: 800 1.42rem/1 var(--display); letter-spacing: -.035em; white-space: nowrap; }
.brand-by { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav > a:not(.btn) { position: relative; text-decoration: none; font-weight: 700; font-size: .95rem; color: rgba(255,255,255,.82); transition: color .2s; }
.nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav > a:not(.btn):hover { color: #fff; }
.nav > a:not(.btn):hover::after { transform: scaleX(1); }
.nav .btn { display: none; }
.header-cta { min-height: 46px; padding: 0 20px; font-size: .92rem; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--plum); color: var(--paper); cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header.open .nav { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--plum); padding: 6px max(16px, env(safe-area-inset-left, 0px)) 22px; }
  .site-header.open .nav > a:not(.btn) { padding: 14px 0; font-size: 1.1rem; color: #fff; }
  .site-header.open .nav .btn { display: inline-flex; margin-top: 10px; }
}

/* Hero */
.hero { position: relative; background: var(--violet); overflow: hidden; padding-top: calc(76px + env(safe-area-inset-top, 0px)); }
.hero::after { content: ""; position: absolute; width: 760px; height: 760px; right: -220px; bottom: -380px; border-radius: 50%; background: var(--violet-deep); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 7vh, 80px) clamp(48px, 8vh, 88px); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: .94; }
.hero h1 .hl { color: var(--lime); display: block; }
.hero-lead { margin-top: 22px; max-width: 46ch; font-size: clamp(1.05rem, 1.35vw, 1.2rem); color: rgba(255,255,255,.88); }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero-price { font-weight: 700; color: rgba(255,255,255,.9); }
.hero-price b { color: var(--lime); font-size: 1.15rem; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* Conversa com a Lívia (demonstração interativa) */
.chat { justify-self: end; width: min(420px, 100%); border-radius: 30px; background: var(--wa-bg); box-shadow: 0 40px 90px rgba(23,11,54,.45); overflow: hidden; display: flex; flex-direction: column; }
.chat-top { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--wa-in); }
.chat-top img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.chat-top strong { display: block; font-size: .98rem; color: #E9EDEF; line-height: 1.2; }
.chat-top small { color: #8696A0; font-size: .78rem; }
.chat-top small.typing { color: #25D366; }
.chat-body { height: 330px; overflow-y: auto; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; scroll-behavior: smooth; }
.msg { max-width: 86%; padding: 9px 12px; border-radius: 4px 14px 14px 14px; background: var(--wa-in); color: #E9EDEF; font-size: .9rem; line-height: 1.45; align-self: flex-start; animation: pop .35s var(--ease) both; }
.msg.me { align-self: flex-end; border-radius: 14px 4px 14px 14px; background: var(--wa-out); }
.msg b { color: #fff; }
.dots { display: inline-flex; gap: 4px; padding: 12px 14px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: #8696A0; animation: dot 1s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
.chat-replies { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; background: #111B21; min-height: 64px; }
.chat-replies button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid #25D366; background: transparent; color: #E9EDEF; font: 700 .86rem var(--body); cursor: pointer; transition: background .2s, color .2s; }
.chat-replies button:hover { background: #25D366; color: #0B141A; }
.chat-replies button.go { background: var(--lime); border-color: var(--lime); color: var(--ink); }
@media (max-width: 900px) { .chat { justify-self: stretch; width: 100%; } .chat-body { height: 270px; } }

/* Como funciona */
.how { background: var(--lilac); color: var(--ink); }
.how .section-head p { color: var(--muted-l); }
.steps { margin-top: 56px; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: st; }
.steps li { counter-increment: st; position: relative; padding: 26px 22px 24px; border-radius: 24px; background: var(--paper); display: grid; gap: 8px; align-content: start; min-width: 0; }
.steps li::before { content: counter(st); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--violet); color: var(--paper); font: 800 1.05rem/1 var(--display); margin-bottom: 8px; }
.steps li:last-child { background: var(--violet); color: var(--paper); }
.steps li:last-child::before { background: var(--lime); color: var(--ink); }
.steps strong { font: 800 1.22rem/1.15 var(--display); letter-spacing: -.02em; }
.steps span { color: var(--muted-l); font-size: .95rem; }
.steps li:last-child span { color: rgba(255,255,255,.85); }
.costs { margin-top: 14px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.costs div { padding: 20px 24px; border-radius: 22px; background: var(--plum); color: var(--paper); display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: center; min-width: 0; }
.costs div i { width: 36px; height: 36px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-style: normal; font-weight: 800; }
.costs div p { font-size: .95rem; }
.costs div p b { color: var(--lime); }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .costs { grid-template-columns: minmax(0, 1fr); } .steps li { padding: 20px 16px; } .steps strong { font-size: 1.05rem; } .steps span { font-size: .86rem; } }
@media (max-width: 340px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.chat-body > :first-child { margin-top: auto; }

/* Lívia */
.livia { background: var(--plum); }
.livia-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.livia-photo { position: relative; border-radius: 36px; overflow: hidden; background: #0A4BC4; aspect-ratio: 1 / 1; max-width: 100%; }
.livia-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.livia-badge { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: var(--paper); color: var(--ink); box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.livia-badge i { width: 10px; height: 10px; border-radius: 50%; background: #25C66A; flex-shrink: 0; box-shadow: 0 0 0 5px rgba(37,198,106,.18); }
.livia-badge strong { display: block; font-size: .92rem; line-height: 1.2; }
.livia-badge small { color: var(--muted-l); font-size: .8rem; }
.livia h2 { font-size: clamp(2.1rem, 4.4vw, 3.7rem); line-height: .98; }
.livia h2 span { color: var(--lime); display: block; }
.livia-text { margin-top: 20px; color: var(--muted-d); font-size: 1.05rem; max-width: 56ch; }
.livia-text + .livia-text { margin-top: 12px; }
.livia-points { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.livia-points div { padding: 18px; border-radius: 20px; background: var(--plum-2); min-width: 0; }
.livia-points strong { display: block; color: var(--lime); font-size: 1.02rem; }
.livia-points span { display: block; margin-top: 6px; color: var(--muted-d); font-size: .88rem; line-height: 1.45; }
.persona { margin-top: 16px; padding: 22px 24px; border-radius: 22px; background: var(--lime); color: var(--ink); display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; align-items: center; }
.persona .brand-mark { width: 46px; height: 46px; background: var(--plum); }
.persona .brand-mark svg { width: 32px; height: 32px; }
.persona strong { display: block; font: 800 1.15rem/1.2 var(--display); }
.persona p { margin-top: 4px; font-size: .95rem; color: rgba(23,11,54,.8); }
@media (max-width: 900px) { .livia-grid { grid-template-columns: minmax(0, 1fr); } .livia-photo { max-width: 460px; } }
@media (max-width: 560px) { .livia-points { grid-template-columns: minmax(0, 1fr); } }

/* Planos */
.plans { background: var(--lime); color: var(--ink); }
.plans .section-head p { color: rgba(23,11,54,.78); }
.plan-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.plan { position: relative; padding: 30px 26px 26px; border-radius: 28px; background: var(--paper); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.plan .mode { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--lilac); color: var(--violet-deep); font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.plan h3 { font-size: clamp(1.45rem, 2vw, 1.75rem); line-height: 1.05; }
.price { display: grid; gap: 2px; }
.price small { font-size: .82rem; font-weight: 700; color: var(--muted-l); }
.price strong { font: 800 clamp(2.3rem, 3.4vw, 2.9rem)/1 var(--display); letter-spacing: -.04em; }
.price strong span { font-size: .42em; letter-spacing: 0; font-family: var(--body); font-weight: 700; }
.plan p.desc { color: var(--muted-l); font-size: .96rem; }
.plan .btn { margin-top: auto; width: 100%; }
.plan.featured { background: var(--violet); color: var(--paper); box-shadow: 0 30px 70px rgba(84,39,217,.35); }
.plan.featured .mode { background: rgba(255,255,255,.16); color: var(--paper); }
.plan.featured .price small, .plan.featured p.desc { color: rgba(255,255,255,.85); }
.save { padding: 12px 14px; border-radius: 16px; background: var(--lime); color: var(--ink); font-size: .9rem; font-weight: 700; line-height: 1.35; }
.save b { font-size: 1.05rem; }
.plan-common { margin-top: 14px; padding: 22px 26px; border-radius: 24px; background: var(--plum); color: var(--paper); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 26px; align-items: center; }
.plan-common > strong { font: 800 1.1rem/1.2 var(--display); color: var(--lime); }
.plan-common ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.plan-common li { padding: 8px 14px; border-radius: 999px; background: var(--plum-2); font-size: .88rem; font-weight: 700; }
.overage { margin-top: 10px; border-radius: 20px; background: rgba(23,11,54,.08); }
.overage summary { list-style: none; cursor: pointer; padding: 16px 22px; font-weight: 800; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.overage summary::-webkit-details-marker { display: none; }
.overage summary::after { content: "+"; width: 28px; height: 28px; border-radius: 50%; background: var(--plum); color: var(--paper); display: grid; place-items: center; flex-shrink: 0; transition: transform .3s var(--ease); }
.overage[open] summary::after { transform: rotate(45deg); }
.overage p { padding: 0 22px 18px; color: rgba(23,11,54,.82); max-width: 80ch; }
@media (max-width: 980px) { .plan-grid { grid-template-columns: minmax(0, 1fr); } .plan-common { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { background: var(--plum); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-side p { margin-top: 16px; color: var(--muted-d); }
.faq-list { display: grid; gap: 8px; }
details.q { border-radius: 20px; background: var(--plum-2); transition: background .3s; }
details.q[open] { background: var(--plum-3); }
details.q summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 34px; gap: 18px; align-items: center; padding: 20px 22px; font-weight: 800; font-size: 1.05rem; line-height: 1.35; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: "+"; width: 34px; height: 34px; border-radius: 50%; background: var(--violet); display: grid; place-items: center; font-size: 1.2rem; transition: transform .35s var(--ease), background .3s; }
details.q[open] summary::after { transform: rotate(45deg); background: var(--lime); color: var(--ink); }
details.q .answer { padding: 0 22px 22px; color: var(--muted-d); }
details.q[open] .answer { animation: pop .45s var(--ease) both; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } .faq-side { position: static; } }

/* Contato */
.contact { background: var(--lilac); color: var(--ink); }
.contact-box { border-radius: 36px; background: var(--violet); color: var(--paper); padding: clamp(28px, 5vw, 68px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; overflow: hidden; }
.contact-box::before { content: ""; position: absolute; width: 520px; height: 520px; left: -200px; bottom: -300px; border-radius: 50%; background: var(--violet-deep); }
.contact-box > * { position: relative; }
.contact-box h2 { font-size: clamp(2.2rem, 4.4vw, 3.7rem); line-height: .98; }
.contact-intro { margin-top: 18px; color: rgba(255,255,255,.88); font-size: 1.06rem; max-width: 44ch; }
.contact-who { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.contact-who img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--lime); }
.contact-who strong { display: block; }
.contact-who small { color: rgba(255,255,255,.8); }
.lead-form { background: var(--plum); color: var(--paper); border-radius: 26px; padding: clamp(22px, 3vw, 32px); display: grid; gap: 16px; min-width: 0; box-shadow: 0 30px 80px rgba(23,11,54,.35); }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 700; font-size: .9rem; }
.field input, .field select { width: 100%; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--plum-3); background: var(--plum-2); color: var(--paper); font: 600 1rem var(--body); transition: border-color .2s; }
.field input:focus, .field select:focus { outline: none; border-color: var(--lime); }
.field .hint { color: var(--muted-d); font-size: .8rem; }
.field.invalid input, .field.invalid select { border-color: #FF8A7A; }
.field .error { color: #FF9B8C; font-size: .82rem; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.lead-form .btn { width: 100%; }
.legal { color: var(--muted-d); font-size: .8rem; }
.legal a { color: var(--paper); }
.form-done { display: grid; gap: 12px; }
.form-done h3 { font-size: 1.6rem; }
.form-done p { color: var(--muted-d); }
@media (max-width: 900px) { .contact-box, .form-row { grid-template-columns: minmax(0, 1fr); } .contact-box { border-radius: 26px; } }

/* Rodapé */
.site-footer { background: var(--plum); padding-block: 72px 30px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.footer-grid h4 { margin: 0 0 14px; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-d); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; }
.footer-grid ul a:hover { color: var(--lime); }
.footer-about p { margin-top: 16px; color: var(--muted-d); max-width: 34ch; }
.eco { margin-top: 22px; display: inline-flex; align-items: center; gap: 12px; padding: 12px 14px 12px 18px; border-radius: 999px; background: var(--violet); color: var(--paper); font-weight: 800; text-decoration: none; transition: transform .3s var(--ease); }
.eco i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--ink); font-style: normal; transition: transform .3s var(--ease); }
.eco:hover { transform: translateY(-2px); }
.eco:hover i { transform: rotate(-45deg); }
.footer-bottom { margin-top: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted-d); font-size: .86rem; }
.cookie-link { padding: 0; border: 0; background: none; color: var(--muted-d); font: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-about { grid-column: 1 / -1; } }

/* Flutuante + modal */
.float-wa { position: fixed; z-index: 40; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); width: 64px; height: 64px; padding: 0; border-radius: 50%; border: 3px solid #25D366; cursor: pointer; background: #25D366; overflow: hidden; box-shadow: 0 14px 34px rgba(0,0,0,.4); transition: transform .3s var(--ease), opacity .3s; }
.float-wa img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.float-wa::after { content: ""; position: absolute; right: 2px; bottom: 2px; width: 14px; height: 14px; border-radius: 50%; background: #25D366; border: 2px solid #fff; }
.float-wa:hover { transform: scale(1.07); }
.float-wa.away { opacity: 0; pointer-events: none; transform: scale(.6); }
.modal { position: fixed; inset: 0; z-index: 70; background: rgba(12,5,30,.74); backdrop-filter: blur(6px); display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); overflow-y: auto; }
.modal-box { width: min(480px, 100%); position: relative; animation: pop .45s var(--ease) both; }
.modal-head { display: flex; gap: 14px; align-items: center; padding-right: 44px; }
.modal-head img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.modal-head h3 { font-size: 1.4rem; line-height: 1.05; }
.modal-head p { color: var(--muted-d); font-size: .92rem; margin-top: 4px; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--plum-3); color: var(--paper); font-size: 1.3rem; cursor: pointer; z-index: 2; }
body.modal-open { overflow: hidden; }

/* Revelação no scroll (o estado em repouso é visível) */
.js .rv { transition: transform 1s var(--ease), opacity 1s var(--ease); }
.js .rv.pre { transform: translateY(40px); opacity: .001; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv.pre { transform: none; opacity: 1; }
}

/* Preferências de cookies (LGPD) */
.consent { position: fixed; z-index: 160; left: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); width: min(460px, calc(100% - 48px)); padding: 22px; border-radius: 22px; background: var(--plum-2); color: var(--paper); box-shadow: 0 24px 60px rgba(0,0,0,.5); font-size: .9rem; line-height: 1.55; }
.consent-text { margin: 0; color: rgba(255,255,255,.86); }
.consent-text a { color: var(--lime); font-weight: 700; }
.consent-options { margin-top: 16px; display: grid; gap: 10px; }
.consent-option { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; cursor: pointer; }
.consent-option input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--lime); }
.consent-option strong { display: block; font-size: .88rem; }
.consent-option small { display: block; color: var(--muted-d); font-size: .78rem; line-height: 1.45; }
.consent-actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.consent-btn { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.3); background: transparent; color: var(--paper); font: 800 .86rem var(--body); cursor: pointer; }
.consent-accept, .consent-save { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.consent-link { min-height: 44px; padding: 0 6px; border: 0; background: none; color: rgba(255,255,255,.8); font: 700 .84rem var(--body); text-decoration: underline; cursor: pointer; }
body.consent-open .float-wa { opacity: 0; pointer-events: none; }
@media (max-width: 740px) {
  .consent { left: 12px; right: 12px; width: auto; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); padding: 18px; border-radius: 20px; }
  .consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .consent-accept, .consent-save { grid-column: 1 / -1; }
}
