/* epHealth — site institucional (v2)
   Referência: sites de grandes farmacêuticas (Novartis, Roche, Sanofi) · Marca: brand book epHealth */
:root {
  --navy: #16215E;
  --blue: #2E4BC6;
  --pink: #FE00A8;
  --grey: #9DA5D2;
  --lilac: #E9E9FF;
  --soft: #F5F6FB;
  --night: #050A2A;
  --ink: #0B1033;
  --muted: #545B7C;
  --line: #E3E5EE;
  --w: 1240px;
  --gut: clamp(20px, 4vw, 48px);
  --sec: clamp(64px, 8vw, 112px);
  --r: 8px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--ink); background: #fff; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 99; background: #fff; padding: 8px 12px; }

.wrap { max-width: calc(var(--w) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.sec { padding: var(--sec) 0; }
.sec.soft { background: var(--soft); }
.sec.tight { padding-top: 0; }

/* ---------- tipografia ---------- */
h1, .h1 { font-weight: 400; font-size: clamp(36px, 4.4vw, 58px); line-height: 1.08; letter-spacing: -.035em; color: var(--navy); }
h1 strong, .h2 strong { font-weight: 600; }
.h2 { font-weight: 400; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -.03em; color: var(--navy); }
.h3 { font-weight: 500; font-size: 21px; line-height: 1.3; letter-spacing: -.015em; color: var(--navy); }
.eyebrow { display: block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.lead { font-size: 19px; color: var(--muted); max-width: 52ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; color: var(--muted); }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 6px; background: var(--blue); color: #fff; font-size: 16px; font-weight: 500; border: 1.5px solid var(--blue); transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--navy); border-color: var(--navy); }
.btn.line { background: transparent; color: var(--blue); }
.btn.line:hover { background: var(--blue); color: #fff; }
.btn.white { background: #fff; color: var(--navy); border-color: #fff; }
.btn.white:hover { background: var(--lilac); border-color: var(--lilac); }
.btns { display: flex; gap: 14px; flex-wrap: wrap; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 16px; color: var(--blue); }
.more svg { transition: transform .25s var(--ease); }
.more:hover svg, a:hover .more svg { transform: translateX(4px); }

/* ---------- cabeçalho ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 36px; height: 76px; }
.top .logo img { height: 36px; width: auto; }
.top nav { display: flex; gap: 28px; margin-left: auto; align-items: center; }
.top nav a { font-size: 15px; font-weight: 500; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.top nav a:hover { color: var(--blue); }
.top nav a[aria-current] { color: var(--blue); border-bottom-color: var(--blue); }
.top .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }
.menu-btn { display: none; width: 44px; height: 44px; margin-left: auto; place-items: center; }
.menu-btn span, .menu-btn span::before { display: block; width: 22px; height: 2px; background: var(--navy); position: relative; transition: transform .3s; }
.menu-btn span::before { content: ''; position: absolute; top: 7px; }
.menu-btn span { top: -3.5px; }
.mobile-nav { display: none; }

/* ---------- topo ---------- */
.hero { background: linear-gradient(115deg, #fff 30%, #EEF0FF 70%, #F7E6F6); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(48px, 6vw, 88px); }
.hero .txt { display: flex; flex-direction: column; gap: 24px; }
.hero .pic { position: relative; }
.hero .pic img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: var(--r); }
.hero .pic .badge { position: absolute; left: -24px; bottom: 28px; background: #fff; border-radius: var(--r); padding: 16px 20px; box-shadow: 0 16px 40px rgba(6, 21, 102, .12); display: flex; gap: 14px; align-items: center; max-width: 290px; }
.hero .pic .badge b { white-space: nowrap; font-size: 30px; font-weight: 500; letter-spacing: -.03em; color: var(--navy); line-height: 1; }
.hero .pic .badge span { font-size: 13px; color: var(--muted); line-height: 1.35; }
.page-hero .wrap { grid-template-columns: 1.1fr 1fr; }

/* ---------- números ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; }
.stat b { display: block; font-weight: 400; font-size: clamp(36px, 3.6vw, 48px); letter-spacing: -.035em; line-height: 1; color: var(--navy); }
.stat span { display: block; margin-top: 10px; font-size: 15px; color: var(--muted); line-height: 1.45; }
.source { margin-top: 18px; font-size: 13px; color: var(--muted); }
.source a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- cabeçalho de seção ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.sec-head > div { max-width: 700px; }
.sec-head p { margin-top: 14px; }

/* ---------- cards ---------- */
.cards { display: grid; gap: 24px; }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.cards.c4 { grid-template-columns: repeat(4, 1fr); }
.cards.c5 { grid-template-columns: repeat(5, 1fr); gap: 20px; }
.card { display: flex; flex-direction: column; gap: 12px; }
.card .img { overflow: hidden; border-radius: var(--r); background: var(--lilac); aspect-ratio: 4 / 3; }
.card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .img img { transform: scale(1.04); }
.card .tag { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); margin-top: 8px; }
.card p { font-size: 15.5px; color: var(--muted); }
.card .more { margin-top: auto; padding-top: 4px; font-size: 15px; }
.cards.c5 .card .img { aspect-ratio: 3 / 4; }

/* ---------- destaque foto + texto ---------- */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.feature.rev .pic { order: 2; }
.feature .pic img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
.feature .pic.phone { background: linear-gradient(160deg, var(--lilac), #fff); border-radius: var(--r); padding: 32px; display: grid; place-items: center; }
.feature .pic.phone img { aspect-ratio: auto; width: min(80%, 430px); object-fit: contain; border-radius: 0; }
.feature .txt { display: flex; flex-direction: column; gap: 22px; }
.checks { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 6px; }
.checks li::before { content: ''; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--lilac) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%232E4BC6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.checks b { font-weight: 500; color: var(--navy); display: block; }
.checks span { font-size: 15.5px; color: var(--muted); }

/* ---------- galeria de campo ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 16px; }
.gallery figure { position: relative; overflow: hidden; border-radius: var(--r); }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; color: #fff; font-size: 15px; font-weight: 500; background: linear-gradient(transparent, rgba(5, 10, 42, .7)); }

/* ---------- publicações (lista) ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14.5px; color: var(--ink); transition: all .2s; }
.filter:hover { border-color: var(--blue); color: var(--blue); }
.filter.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.list { border-top: 1px solid var(--line); }
.item { display: grid; grid-template-columns: 240px 1fr 48px; gap: 24px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.item[hidden] { display: none; }
.item .meta { font-size: 14px; color: var(--muted); }
.item .meta b { display: block; font-weight: 600; color: var(--navy); font-size: 14.5px; }
.item .t b { display: block; font-weight: 500; font-size: 19px; letter-spacing: -.015em; color: var(--navy); transition: color .2s; }
.item .t span { font-size: 15.5px; color: var(--muted); }
.item .go { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--blue); transition: all .25s; }
.item:hover .go { background: var(--blue); border-color: var(--blue); color: #fff; }
.item:hover .t b { color: var(--blue); }

/* ---------- estudos ---------- */
.study { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.study .st { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; padding: 4px 12px; border-radius: 999px; background: var(--soft); color: var(--navy); }
.pill.live { background: #FFE6F6; color: #A1006B; }
.pill.live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); }
.study .big { font-weight: 400; font-size: 44px; letter-spacing: -.035em; line-height: 1; color: var(--navy); margin-top: 6px; }
.study .big small { display: block; font-size: 14px; letter-spacing: 0; color: var(--muted); margin-top: 8px; }
.study .more { margin-top: auto; padding-top: 8px; font-size: 15px; }
.ethics { margin-top: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 8px 28px; }
.ethics summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-weight: 500; color: var(--navy); }
.ethics summary::-webkit-details-marker { display: none; }
.ethics summary::after { content: '+'; font-size: 24px; font-weight: 300; color: var(--blue); }
.ethics[open] summary::after { content: '–'; }
.ethics table { width: 100%; border-collapse: collapse; font-size: 15px; margin-bottom: 16px; }
.ethics td { padding: 12px 16px 12px 0; border-top: 1px solid var(--line); vertical-align: top; color: var(--muted); }
.ethics td:first-child { color: var(--navy); font-weight: 500; white-space: nowrap; }
.ethics td:last-child { white-space: nowrap; text-align: right; }

/* ---------- faixa CTA + contato ---------- */
.cta-band { background: linear-gradient(115deg, #121B4D, #2B3C93 60%, #4A3C8C); color: #fff; border-radius: 12px; padding: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: 1.2fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band .h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .8); margin-top: 12px; max-width: 56ch; }
.cta-band .btns { position: relative; }

.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact .txt { display: flex; flex-direction: column; gap: 22px; }
.contact .lines { display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
.contact .lines a { color: var(--blue); }
.contact .lines a:hover { text-decoration: underline; }
.contact .txt img { border-radius: var(--r); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; margin-top: 8px; }
form.box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; box-shadow: 0 20px 50px rgba(6, 21, 102, .06); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 500; color: var(--navy); }
.field input, .field textarea, .field select { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid #D5D8E6; border-radius: 6px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(46, 75, 198, .14); }
.field .err { font-size: 13px; color: #C0006F; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #E0007F; }
.field.invalid .err { display: block; }
.consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { margin-top: 3px; accent-color: var(--blue); width: 17px; height: 17px; flex: none; }
.consent.invalid { color: #C0006F; }
.form-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-ok { grid-column: 1 / -1; display: none; padding: 20px; border-radius: var(--r); background: var(--soft); }
.form-ok b { display: block; font-weight: 500; font-size: 21px; color: var(--navy); margin-bottom: 4px; }
.form-ok button { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; margin-top: 10px; }
.form-ok.show { display: block; }
.hp { position: absolute; left: -9999px; }
#form-pilot, #form-error { grid-column: 1 / -1; }
#form-error { color: #C0006F; }

/* ---------- rodapé ---------- */
.foot { background: var(--night); color: #fff; padding-top: clamp(56px, 6vw, 80px); }
.foot .cols { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 40px; padding-bottom: 48px; }
.foot .cols img { height: 38px; width: auto; margin-bottom: 20px; }
.foot h4 { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); margin-bottom: 16px; }
.foot p, .foot a { font-size: 15px; color: rgba(255, 255, 255, .75); line-height: 1.75; }
.foot a { display: block; }
.foot a:hover { color: #fff; }
.foot .legal { border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: rgba(255, 255, 255, .55); }

/* ---------- páginas internas ---------- */
.values .card .img { aspect-ratio: 1; }
.mods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mod { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.mod b { font-weight: 500; font-size: 20px; color: var(--navy); letter-spacing: -.015em; }
.mod b em { font-style: normal; color: var(--grey); }
.mod span { font-size: 15px; color: var(--muted); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; counter-reset: s; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 14px; font-size: 15px; font-weight: 500; color: var(--navy); line-height: 1.3; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-size: 13px; font-weight: 600; color: var(--blue); margin-bottom: 10px; }
.empty { text-align: center; padding: 96px 20px; display: flex; flex-direction: column; align-items: center; gap: 16px; }

/* ---------- revelar ao rolar ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- responsivo ---------- */
@media (max-width: 1100px) {
  .top nav { display: none; }
  .top .btn { display: none; }
  .menu-btn { display: grid; }
  .mobile-nav { position: fixed; inset: 76px 0 0; z-index: 49; background: #fff; display: flex; flex-direction: column; padding: 8px var(--gut) 32px; opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .25s, transform .25s; overflow-y: auto; }
  .mobile-nav a { font-size: 22px; font-weight: 500; color: var(--navy); padding: 16px 0; border-bottom: 1px solid var(--line); }
  .mobile-nav a.btn { color: #fff; border: 0; margin-top: 24px; font-size: 16px; padding: 0 26px; }
  body.menu-open { overflow: hidden; }
  body.menu-open .mobile-nav { opacity: 1; pointer-events: auto; transform: none; }
  body.menu-open .menu-btn span { transform: rotate(45deg); top: 0; }
  body.menu-open .menu-btn span::before { transform: rotate(-90deg); top: 0; }
  .cards.c5 { grid-template-columns: repeat(3, 1fr); }
  .cards.c4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .mods { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .foot .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .top .wrap { height: 64px; }
  .top .logo img { height: 30px; }
  .mobile-nav { inset: 64px 0 0; }
  .hero .wrap, .feature, .contact, .cta-band { grid-template-columns: 1fr; }
  .hero .pic .badge { left: 12px; bottom: 12px; padding: 12px 14px; }
  .hero .pic .badge b { font-size: 24px; }
  .feature.rev .pic { order: 0; }
  .cards.c3, .cards.c4 { grid-template-columns: 1fr; }
  .cards.c5 { grid-template-columns: 1fr 1fr; gap: 16px; }
  .cards.c5 .card p { font-size: 14px; }
  .values.cards.c4 { grid-template-columns: 1fr 1fr; }
  .stats { gap: 10px; }
  .stat { padding: 20px 16px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 160px 160px; }
  .gallery figure:first-child { grid-column: span 2; grid-row: auto; }
  .item { grid-template-columns: 1fr 44px; gap: 8px 16px; }
  .item .meta { grid-column: 1 / -1; }
  .ethics { padding: 4px 18px; }
  .ethics td:last-child { display: none; }
  .ethics td:first-child { white-space: normal; }
  form.box { grid-template-columns: 1fr; }
  .mods { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .foot .cols { grid-template-columns: 1fr; gap: 28px; }
  .lead { font-size: 17px; }
}

/* ---------- epScience: mockups e telas ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sci-hero .pic { display: grid; place-items: center; }
.sci-hero .pic img { aspect-ratio: auto; width: min(100%, 460px); object-fit: contain; border-radius: 16px; box-shadow: 0 30px 70px rgba(6, 21, 102, .16); }
.feature .pic.duo { position: relative; padding-right: 12%; }
.feature .pic.duo .big { aspect-ratio: 4 / 3; }
.feature .pic.duo .float { position: absolute; right: -2%; bottom: -12%; width: 30%; aspect-ratio: auto; object-fit: contain; border-radius: 0; filter: drop-shadow(0 24px 40px rgba(6, 21, 102, .28)); }
.feature.notif .pic { display: grid; place-items: center; background: radial-gradient(closest-side, #E4E6FF, transparent); }
.feature.notif .pic img { aspect-ratio: auto; width: auto; max-height: 560px; object-fit: contain; border-radius: 0; filter: drop-shadow(0 30px 40px rgba(6, 21, 102, .22)); }
.scroll-btns { display: flex; gap: 10px; }
.nav-btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--blue); font-size: 18px; transition: all .2s; }
.nav-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.screens { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: max(var(--gut), calc((100vw - var(--w)) / 2)); padding: 8px max(var(--gut), calc((100vw - var(--w)) / 2)) 24px; scrollbar-width: none; }
.screens::-webkit-scrollbar { display: none; }
.screen { flex: 0 0 260px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 16px; }
.screen .shot { border-radius: 26px; overflow: hidden; background: #fff; border: 6px solid #fff; box-shadow: 0 18px 44px rgba(6, 21, 102, .12); aspect-ratio: 9 / 17.5; }
.screen .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.screen:hover .shot img { transform: scale(1.03); }
.screen figcaption b { display: block; font-weight: 500; font-size: 18px; color: var(--navy); letter-spacing: -.01em; }
.screen figcaption span { font-size: 15px; color: var(--muted); }
@media (max-width: 760px) {
  .feature .pic.duo { padding-right: 0; margin-bottom: 40px; }
  .feature .pic.duo .float { width: 34%; right: -4px; bottom: -40px; }
  .feature.notif .pic img { max-height: 420px; }
  .screen { flex-basis: 220px; }
  .scroll-btns { display: none; }
}

/* ================================================================
   v4 — site rico: topo com vídeo, seções animadas (GSAP)
   ================================================================ */
:root { --deep: #0D1433; --deep-2: #151E4A; --lav: #B9BFE6; --pink-soft: #E85BB5; }
img.soft { filter: saturate(.82); }
.cards .img img, .xp img { filter: saturate(.82); }

/* ---------- cabeçalho sobre fundo escuro ---------- */
.top .logo .w { display: none; }
body[data-hero=dark] .top { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background .35s, border-color .35s, box-shadow .35s; }
body[data-hero=dark] .top nav a { color: rgba(255, 255, 255, .85); }
body[data-hero=dark] .top nav a:hover, body[data-hero=dark] .top nav a[aria-current] { color: #fff; border-bottom-color: #fff; }
body[data-hero=dark] .top .logo .c { display: none; }
body[data-hero=dark] .top .logo .w { display: block; }
body[data-hero=dark] .top .btn { background: #fff; border-color: #fff; color: var(--navy); }
body[data-hero=dark] .menu-btn span, body[data-hero=dark] .menu-btn span::before { background: #fff; }
body[data-hero=dark].scrolled .top, body[data-hero=dark].menu-open .top { background: rgba(255, 255, 255, .96); border-bottom-color: var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
body[data-hero=dark].scrolled .top nav a, body[data-hero=dark].menu-open .top nav a { color: var(--ink); }
body[data-hero=dark].scrolled .top nav a:hover, body[data-hero=dark].scrolled .top nav a[aria-current] { color: var(--blue); border-bottom-color: var(--blue); }
body[data-hero=dark].scrolled .top .logo .c, body[data-hero=dark].menu-open .top .logo .c { display: block; }
body[data-hero=dark].scrolled .top .logo .w, body[data-hero=dark].menu-open .top .logo .w { display: none; }
body[data-hero=dark].scrolled .top .btn { background: var(--blue); border-color: var(--blue); color: #fff; }
body[data-hero=dark].scrolled .menu-btn span, body[data-hero=dark].scrolled .menu-btn span::before,
body[data-hero=dark].menu-open .menu-btn span, body[data-hero=dark].menu-open .menu-btn span::before { background: var(--navy); }

/* ---------- topo escuro (vídeo ou imagem) ---------- */
.vhero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; background: var(--deep); isolation: isolate; }
.vhero.short { min-height: 78svh; }
.vhero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.06); }
.vhero-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(13, 20, 51, .55) 0%, rgba(13, 20, 51, .15) 35%, rgba(13, 20, 51, .55) 70%, rgba(13, 20, 51, .92) 100%),
  linear-gradient(90deg, rgba(13, 20, 51, .75) 0%, rgba(13, 20, 51, 0) 65%); }
.vhero > .wrap { width: 100%; }
.vhero-in { padding-top: 120px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 22px; }
.vhero-in > * { max-width: 760px; }
.vhero-in > .vhero-title { max-width: 1040px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; font-size: 13.5px; font-weight: 500; letter-spacing: .02em; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink-soft); box-shadow: 0 0 0 4px rgba(232, 91, 181, .25); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(232, 91, 181, 0); } }
.vhero-title { font-weight: 400; font-size: clamp(40px, 5.6vw, 80px); line-height: 1.02; letter-spacing: -.04em; color: #fff; }
.vhero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.vhero-title .line > span { display: inline-block; }
.vhero-title em { font-style: normal; font-weight: 600; background: linear-gradient(90deg, #fff, var(--lav) 60%, #F3B6DD); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vhero-lead { font-size: clamp(17px, 1.5vw, 20px); color: rgba(255, 255, 255, .82); max-width: 56ch; }
.btn.glass { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .45); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn.glass:hover { background: rgba(255, 255, 255, .18); border-color: #fff; }
.vhero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255, 255, 255, .18); padding-bottom: 28px; }
.vstat { padding: 22px 20px 0 0; }
.vstat + .vstat { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .14); }
.vstat b { display: block; font-weight: 400; font-size: clamp(30px, 3vw, 44px); letter-spacing: -.035em; line-height: 1; }
.vstat span { display: block; margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, .7); line-height: 1.4; }
.vhero .src { font-size: 12px; color: rgba(255, 255, 255, .5); padding-bottom: 22px; }
.vhero .src a { text-decoration: underline; text-underline-offset: 3px; }
.scroll-cue { position: absolute; right: var(--gut); bottom: 40px; width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 14px; display: grid; justify-items: center; padding-top: 8px; }
.scroll-cue span { width: 3px; height: 8px; border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
.vhero .media-r { position: absolute; right: max(var(--gut), calc((100vw - var(--w)) / 2)); bottom: 12%; width: min(36vw, 440px); z-index: 0; }
.vhero .media-r img { width: 100%; border-radius: 18px; box-shadow: 0 40px 80px rgba(0, 0, 0, .35); }

/* ---------- faixa de nomes ---------- */
.marquee { border-bottom: 1px solid var(--line); background: #fff; overflow: hidden; padding: 22px 0; }
.marquee p { text-align: center; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.mq { display: flex; width: max-content; animation: mq 48s linear infinite; }
.marquee:hover .mq { animation-play-state: paused; }
.mq span { white-space: nowrap; font-size: clamp(18px, 1.8vw, 24px); letter-spacing: -.02em; color: var(--navy); padding: 0 28px; display: inline-flex; align-items: center; gap: 56px; }
.mq span::after { content: '✦'; color: var(--pink-soft); font-size: 14px; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- bento (pedaços da interface) ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.b-card { background: var(--soft); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 6px; position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.b-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(22, 33, 94, .08); }
.b-card.tall { min-height: 420px; justify-content: flex-end; }
.b-card.tall .ui { position: absolute; left: 26px; right: 26px; top: 26px; }
.b-card.short { min-height: 230px; justify-content: flex-end; }
.b-card.short .ui { margin-bottom: auto; }
.b-card .t { font-weight: 600; font-size: 18px; color: var(--navy); letter-spacing: -.015em; }
.b-card .d { font-size: 15px; color: var(--muted); }
.ui-dark { background: var(--deep); color: #fff; border-radius: 18px; padding: 14px 16px; box-shadow: 0 20px 44px rgba(13, 20, 51, .22); }
.ui-dark .row { display: flex; align-items: center; gap: 12px; padding: 11px 2px; }
.ui-dark .row + .row { border-top: 1px solid rgba(255, 255, 255, .08); }
.ui-dark .ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 14px; }
.ui-dark b { display: block; font-weight: 600; font-size: 16px; }
.ui-dark span { font-size: 12.5px; color: rgba(255, 255, 255, .6); }
.ui-white { background: #fff; border-radius: 16px; padding: 16px; box-shadow: 0 12px 30px rgba(22, 33, 94, .07); }
.ui-white + .ui-white { margin-top: 10px; }
.ui-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); gap: 10px; }
.tg { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; padding: 3px 10px; border-radius: 999px; background: #EEF0FB; color: var(--blue); white-space: nowrap; }
.tg.pink { background: #FBE6F3; color: #A2246F; }
.tg.green { background: #E4F4EA; color: #17703F; }
.tg .d0 { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ui-field { margin-top: 10px; display: grid; grid-template-columns: 64px 1fr; gap: 8px; font-size: 13px; align-items: center; }
.ui-field span { color: var(--muted); }
.ui-field b { background: #F3F4FA; border-radius: 8px; padding: 7px 10px; font-weight: 500; }
.bar { height: 10px; border-radius: 999px; background: #EDEEF4; overflow: hidden; display: flex; margin-top: 10px; }
.bar i { display: block; height: 100%; }
.toast { display: flex; gap: 12px; align-items: flex-start; background: #fff; border-radius: 16px; padding: 12px 14px; box-shadow: 0 10px 26px rgba(22, 33, 94, .08); font-size: 13px; }
.toast + .toast { margin-top: 8px; }
.toast:nth-child(2) { transform: scale(.97); opacity: .85; }
.toast:nth-child(3) { transform: scale(.94); opacity: .65; }
.toast .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; color: #fff; font-weight: 700; font-size: 12px; }
.toast b { display: block; font-size: 13.5px; color: var(--ink); }
.toast span { color: var(--muted); }
.big-n { font-weight: 400; font-size: 48px; letter-spacing: -.04em; line-height: 1; color: var(--navy); }
.chipz { display: flex; flex-wrap: wrap; gap: 6px; }
.chipz span { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: #fff; box-shadow: 0 4px 12px rgba(22, 33, 94, .06); color: var(--navy); }

/* ---------- soluções: painéis que se expandem ---------- */
.xpand { display: flex; gap: 12px; height: 540px; }
.xp { position: relative; flex: 1; min-width: 0; border-radius: 22px; overflow: hidden; cursor: pointer; transition: flex .7s var(--ease); background: var(--deep); outline: none; }
.xp.on { flex: 3.2; }
.xp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.xp.on img { transform: scale(1.04); }
.xp::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 20, 51, 0) 35%, rgba(13, 20, 51, .85)); }
.xp-in { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; z-index: 1; color: #fff; display: flex; flex-direction: column; gap: 8px; }
.xp-in .tg { align-self: flex-start; background: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(6px); }
.xp-in h3 { font-weight: 500; font-size: 22px; letter-spacing: -.02em; line-height: 1.2; white-space: nowrap; }
.xp-in p, .xp-in .more { opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .5s var(--ease); max-width: 42ch; color: rgba(255, 255, 255, .85); }
.xp-in .more { color: #fff; }
.xp.on .xp-in p, .xp.on .xp-in .more { opacity: 1; transform: none; transition-delay: .25s; }
.xp:not(.on) .xp-in h3 { white-space: normal; font-size: 18px; }
.xp:focus-visible { box-shadow: 0 0 0 3px var(--blue); }

/* ---------- história com rolagem ---------- */
.story { background: #fff; }
.story-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; min-height: 100vh; padding-top: 96px; padding-bottom: 64px; }
.story-steps { list-style: none; display: flex; flex-direction: column; margin-top: 28px; }
.story-steps li { padding: 18px 0 18px 22px; border-left: 2px solid var(--line); transition: border-color .4s, opacity .4s; opacity: .45; }
.story-steps li.on { border-left-color: var(--blue); opacity: 1; }
.story-steps b { display: block; font-weight: 600; font-size: 18px; color: var(--navy); letter-spacing: -.015em; }
.story-steps b small { font-size: 13px; color: var(--blue); font-weight: 600; margin-right: 10px; letter-spacing: .04em; }
.story-steps p { font-size: 15.5px; color: var(--muted); margin-top: 4px; max-width: 46ch; }
.story-steps .m { display: none; }
.story-media { position: relative; aspect-ratio: 4 / 4.4; border-radius: 26px; overflow: hidden; background: var(--deep); box-shadow: 0 40px 80px rgba(22, 33, 94, .16); }
.story-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); }
.story-media img:first-of-type { opacity: 1; transform: none; }
.story-media .cap { position: absolute; left: 18px; bottom: 18px; z-index: 2; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-radius: 12px; padding: 10px 14px; font-size: 13.5px; font-weight: 500; color: var(--navy); display: flex; align-items: center; gap: 10px; }
.story-media .prog { position: absolute; top: 16px; left: 16px; right: 16px; z-index: 2; display: flex; gap: 6px; }
.story-media .prog i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .35); overflow: hidden; position: relative; }
.story-media .prog i b { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }

/* ---------- galeria de campo (escura, parallax) ---------- */
.fieldwork { background: var(--deep); color: #fff; overflow: hidden; }
.fieldwork .h2 { color: #fff; }
.fieldwork .lead { color: rgba(255, 255, 255, .72); }
.field-head { text-align: center; max-width: 720px; margin: 0 auto 56px; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.field-head .eyebrow { color: var(--lav); margin: 0; }
.field-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.field-col { display: flex; flex-direction: column; gap: 18px; }
.field-col:nth-child(2) { margin-top: 80px; }
.field-col:nth-child(3) { margin-top: 30px; }
.fieldwork figure { position: relative; border-radius: 18px; overflow: hidden; }
.fieldwork figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.fieldwork figure:hover img { transform: scale(1.05); }
.fieldwork figure.t img { aspect-ratio: 3 / 4; }
.fieldwork figure.w img { aspect-ratio: 4 / 3; }
.fieldwork figcaption { position: absolute; left: 12px; bottom: 12px; font-size: 13.5px; font-weight: 500; padding: 7px 12px; border-radius: 999px; background: rgba(13, 20, 51, .55); backdrop-filter: blur(8px); }
.fieldwork .foot-link { text-align: center; margin-top: 48px; }
.fieldwork .more { color: var(--lav); }

/* ---------- epScience na home ---------- */
.sci2 { background: linear-gradient(180deg, #F3F4FB, #fff); }
.sci2-top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.sci2-pic { position: relative; display: grid; place-items: center; }
.sci2-pic .main { width: min(100%, 440px); border-radius: 22px; box-shadow: 0 40px 80px rgba(22, 33, 94, .18); }
.sci2-pic .float { position: absolute; width: 34%; filter: drop-shadow(0 24px 34px rgba(22, 33, 94, .25)); }
.sci2-pic .f1 { left: -2%; bottom: 8%; }
.sci2-pic .f2 { right: -4%; top: 4%; width: 24%; }
.chk { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.chk li { display: flex; gap: 10px; align-items: center; font-weight: 500; color: var(--navy); font-size: 15.5px; }
.chk li::before { content: ''; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--lilac) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%232E4BC6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.tabs2 { display: inline-flex; gap: 4px; padding: 4px; background: #E8EAF6; border-radius: 999px; margin: 72px auto 36px; }
.tabs2-wrap { text-align: center; }
.tabs2 button { height: 42px; padding: 0 20px; border-radius: 999px; font-weight: 500; font-size: 15px; color: var(--muted); transition: all .25s var(--ease); }
.tabs2 button[aria-selected=true] { background: #fff; color: var(--navy); box-shadow: 0 4px 14px rgba(22, 33, 94, .1); }
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.phones[hidden] { display: none; }
.phone { background: #fff; border-radius: 24px; padding: 26px 26px 0; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 18px; box-shadow: 0 16px 40px rgba(22, 33, 94, .06); }
.phone .frame { width: 100%; max-width: 230px; border: 7px solid #12152A; border-bottom: 0; border-radius: 36px 36px 0 0; overflow: hidden; height: 360px; background: #fff; }
.phone .frame img { width: 100%; }
.phone p { order: -1; text-align: center; font-size: 14.5px; color: var(--muted); }
.phone p b { display: block; color: var(--navy); font-size: 16px; font-weight: 600; }
.phones.anim .phone { animation: rise .55s var(--ease) both; }
.phones.anim .phone:nth-child(2) { animation-delay: .07s; }
.phones.anim .phone:nth-child(3) { animation-delay: .14s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* ---------- faixa escura com globo ---------- */
.band-dark { position: relative; overflow: hidden; background: var(--deep); color: #fff; border-radius: 28px; padding: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; isolation: isolate; }
.band-dark > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: .9; }
.band-dark .h2 { color: #fff; }
.band-dark p { color: rgba(255, 255, 255, .78); margin-top: 14px; max-width: 52ch; }
.band-dark .eyebrow { color: var(--lav); }
.band-dark .globe { width: min(100%, 380px); justify-self: center; animation: spinfloat 14s ease-in-out infinite; }
@keyframes spinfloat { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(6deg); } }
.band-dark .mini { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.band-dark .mini span { font-size: 13.5px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); }

/* ---------- cabeçalhos com objeto de vidro ---------- */
.head-obj { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-bottom: 36px; }
.head-obj .obj { width: clamp(120px, 14vw, 190px); animation: spinfloat 10s ease-in-out infinite; }
.head-obj .filters { margin-top: 22px; }

/* ---------- perguntas ---------- */
.faq2 { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq2 details { border-bottom: 1px solid var(--line); }
.faq2 summary { list-style: none; cursor: pointer; display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 22px 0; font-weight: 500; font-size: 18px; color: var(--navy); }
.faq2 summary::-webkit-details-marker { display: none; }
.faq2 summary::after { content: '+'; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; color: var(--blue); font-size: 20px; transition: transform .3s var(--ease), background .3s; }
.faq2 details[open] summary::after { transform: rotate(45deg); background: var(--lilac); }
.faq2 details p { color: var(--muted); padding: 0 50px 22px 0; }

/* ---------- vidro flutuante genérico ---------- */
.floaty { animation: spinfloat 12s ease-in-out infinite; }

/* ---------- responsivo v4 ---------- */
@media (max-width: 1100px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .xpand { height: auto; flex-direction: column; }
  .xp { flex: none !important; height: 300px; }
  .xp .xp-in p, .xp .xp-in .more { opacity: 1; transform: none; }
  .xp:not(.on) .xp-in h3 { font-size: 22px; }
  .vhero .media-r { display: none; }
  .phones .phone:nth-child(3) { display: none; }
}
@media (max-width: 760px) {
  .vhero-in { padding-top: 110px; padding-bottom: 32px; }
  .vhero-stats { grid-template-columns: 1fr 1fr; }
  .vstat:nth-child(3) { padding-left: 0; border-left: 0; }
  .vstat:nth-child(n+3) { padding-top: 16px; }
  .scroll-cue { display: none; }
  .bento { grid-template-columns: 1fr; }
  .b-card.tall { min-height: 0; }
  .b-card.tall .ui { position: static; margin-bottom: 18px; }
  .story-in { grid-template-columns: 1fr; min-height: 0; padding-top: 72px; }
  .story-media { display: none; }
  .story-steps li { opacity: 1; border-left-color: var(--blue); }
  .story-steps .m { display: block; margin-top: 12px; border-radius: 14px; aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
  .field-grid { grid-template-columns: 1fr 1fr; }
  .field-col:nth-child(2) { margin-top: 40px; }
  .field-col:nth-child(3) { display: none; }
  .sci2-top, .band-dark, .faq2, .head-obj { grid-template-columns: 1fr; }
  .head-obj .obj { display: none; }
  .chk { grid-template-columns: 1fr; }
  .phones { grid-template-columns: 1fr; }
  .phones .phone:nth-child(3) { display: flex; }
  .tabs2 { margin-top: 48px; }
  .band-dark .globe { width: 60%; }
}

.study.rv, .b-card.rv, .phone.rv { transition: none; }

.vhero.has-side .vhero-in > * { max-width: min(640px, 54vw); }
.vhero .media-r { bottom: auto; top: 54%; transform: translateY(-50%); width: min(28vw, 380px); }
.vhero .media-r img.floaty { box-shadow: none; border-radius: 0; }
@media (max-width: 1100px) { .vhero.has-side .vhero-in > * { max-width: 100%; } }
@media (max-width: 760px) {
  .tabs2 { display: flex; max-width: 100%; }
  .tabs2 button { flex: 1; padding: 0 10px; font-size: 14px; }
}

/* ---------- degradê animado no título ---------- */
.vhero-title em { background: linear-gradient(90deg, #fff 0%, var(--lav) 25%, #F3B6DD 50%, var(--lav) 75%, #fff 100%); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 8s ease-in-out infinite alternate; }
@keyframes shimmer { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* ---------- faixa de logos ---------- */
.mq { animation-duration: 40s; }
.lg-set { display: flex; align-items: center; gap: 72px; padding-right: 72px; flex: none; }
.lg-set img { width: auto; max-width: 260px; filter: grayscale(1) contrast(1.1); opacity: .62; transition: filter .3s, opacity .3s; }
.lg-set img:hover { filter: none; opacity: 1; }
.lg-word { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; font-size: 26px; letter-spacing: .02em; color: #3A3F55; opacity: .75; white-space: nowrap; }
.lg-word i { font-weight: 400; letter-spacing: 0; }

/* ---------- soluções: lista com imagem que segue o mouse ---------- */
.svc { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.svc-head { position: sticky; top: 120px; }
.svc-head .lead { margin-top: 16px; }
.svc-list { list-style: none; border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: 48px 1fr 44px; gap: 6px 18px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); position: relative; }
.svc-row .n { font-size: 14px; font-weight: 600; color: var(--muted); align-self: start; padding-top: 10px; transition: color .3s; }
.svc-row .ttl { font-size: clamp(24px, 2.5vw, 34px); letter-spacing: -.03em; color: var(--navy); line-height: 1.15; transition: color .3s, transform .5s var(--ease); }
.svc-row .ttl small { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-left: 12px; vertical-align: middle; }
.svc-row .desc { grid-column: 2; font-size: 16px; color: var(--muted); max-width: 52ch; transition: transform .5s var(--ease); }
.svc-row .arr { grid-column: 3; grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--blue); transition: all .3s var(--ease); }
.svc-row .m { display: none; }
.svc-row::before { content: ''; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.svc-row:hover::before, .svc-row:focus-visible::before { transform: scaleX(1); }
.svc-row:hover .ttl, .svc-row:focus-visible .ttl { color: var(--blue); transform: translateX(8px); }
.svc-row:hover .desc { transform: translateX(8px); }
.svc-row:hover .n { color: var(--blue); }
.svc-row:hover .arr { background: var(--blue); border-color: var(--blue); color: #fff; transform: rotate(45deg); }
.svc-float { position: fixed; left: 0; top: 0; width: 240px; height: 300px; border-radius: 20px; overflow: hidden; pointer-events: none; z-index: 40; opacity: 0; box-shadow: 0 30px 60px rgba(22, 33, 94, .25); }
.svc-float img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82); }
@media (max-width: 900px), (hover: none) {
  .svc { grid-template-columns: 1fr; }
  .svc-head { position: static; }
  .svc-float { display: none; }
  .svc-row { grid-template-columns: 76px 1fr 40px; }
  .svc-row .m { display: block; grid-column: 1; grid-row: 1 / span 2; width: 76px; height: 96px; object-fit: cover; border-radius: 12px; filter: saturate(.82); }
  .svc-row .n { display: none; }
  .svc-row .desc { font-size: 14.5px; }
}

/* ---------- galeria: cabeçalho sempre acima das fotos ---------- */
.field-head { position: relative; z-index: 2; margin-bottom: 72px; }
.field-grid { position: relative; z-index: 1; }
.mq .lg-word::after { content: none; }
@media (max-width: 900px), (hover: none) {
  .svc { grid-template-columns: minmax(0, 1fr); }
  .svc-row { grid-template-columns: 76px minmax(0, 1fr) 40px; }
  .svc-row .ttl { font-size: 21px; }
  .svc-row .ttl small { display: block; margin: 4px 0 0; }
}

/* ---------- v6: epScience sem moldura, mosaico de campo ---------- */
.sci2 { background: #D2D5F8; padding-bottom: 0; overflow: hidden; }
.sci2-top { align-items: end; }
.sci2-top > div:first-child { padding-bottom: clamp(64px, 8vw, 112px); }
.sci2 .lead { color: #474E73; }
.sci2 .chk li::before { background-color: #fff; }
.sci2-pic { align-self: end; }
.sci2-pic .main { width: min(100%, 500px); border-radius: 0; box-shadow: none; display: block;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 14%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 14%); mask-composite: intersect; }
.sci2-tabs { background: #F3F4FB; padding-top: 8px; }
.sci2-tabs .tabs2 { margin-top: 56px; }

.mosaic { display: grid; grid-template-columns: 1.15fr 1fr 1fr .9fr; grid-template-rows: 280px 280px; gap: 16px; grid-template-areas: "a b b c" "a d e c"; }
.mosaic figure { position: relative; border-radius: 18px; overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mosaic figure:hover img { transform: scale(1.05); }
.mosaic figcaption { position: absolute; left: 12px; bottom: 12px; font-size: 13.5px; font-weight: 500; padding: 7px 12px; border-radius: 999px; background: rgba(13, 20, 51, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; }
.m-a { grid-area: a; } .m-b { grid-area: b; } .m-c { grid-area: c; } .m-d { grid-area: d; } .m-e { grid-area: e; }
.fieldwork .foot-link { margin-top: 40px; }
@media (max-width: 900px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 160px 160px 200px; grid-template-areas: "a c" "b b" "d e" "d e"; }
}
@media (max-width: 760px) {
  .sci2-pic .main { width: 80%; margin: 0 auto; }
  .sci2-top > div:first-child { padding-bottom: 8px; }
}

/* ---------- epScience: vitrine escura com celular que troca de tela ---------- */
.sci3 { position: relative; background: #0B1130; color: #fff; overflow: hidden; padding: clamp(80px, 9vw, 128px) 0 clamp(64px, 8vw, 104px); isolation: isolate; }
.sci3-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  radial-gradient(40% 50% at 70% 45%, rgba(74, 95, 201, .45), transparent 70%),
  radial-gradient(30% 35% at 85% 70%, rgba(232, 91, 181, .22), transparent 70%),
  radial-gradient(35% 40% at 10% 10%, rgba(74, 95, 201, .18), transparent 70%); }
.sci3::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent); mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent); }
.sci3-head { text-align: center; max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.sci3-head .eyebrow { color: var(--lav); margin: 0; }
.sci3-head .h2 { color: #fff; font-size: clamp(34px, 4.4vw, 60px); }
.sci3 .grad { background: linear-gradient(90deg, #fff 0%, var(--lav) 30%, #F3B6DD 55%, var(--lav) 80%, #fff 100%); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 8s ease-in-out infinite alternate; }
.sci3-head .lead { color: rgba(255, 255, 255, .72); max-width: 60ch; }

.sci3-stage { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; min-height: 100vh; padding-top: 40px; padding-bottom: 40px; }
.sci3-steps { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.sci3-steps li { padding: 20px 22px; border-radius: 18px; border: 1px solid transparent; opacity: .42; transition: opacity .45s, background .45s, border-color .45s; }
.sci3-steps li.on { opacity: 1; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.sci3-steps .k { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--lav); }
.sci3-steps b { display: block; font-weight: 500; font-size: clamp(20px, 1.9vw, 26px); letter-spacing: -.02em; margin-top: 6px; }
.sci3-steps p { color: rgba(255, 255, 255, .7); font-size: 15.5px; margin-top: 6px; max-width: 46ch; }
.sci3-steps .m { display: none; }

.sci3-device { position: relative; height: 700px; display: grid; place-items: center; }
.sci3-device .ring { position: absolute; border-radius: 50%; border: 1px solid rgba(185, 191, 230, .16); }
.sci3-device .r1 { width: 560px; height: 560px; }
.sci3-device .r2 { width: 760px; height: 760px; border-style: dashed; border-color: rgba(185, 191, 230, .1); animation: spin 80s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.phone3 { position: relative; width: 300px; height: 620px; border-radius: 48px; padding: 12px; background: linear-gradient(145deg, #2A2F4A, #0F1226 55%, #22263F); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 50px 100px rgba(0, 0, 0, .55), 0 0 120px rgba(74, 95, 201, .35); z-index: 2; }
.phone3 .notch { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #05060E; z-index: 3; }
.phone3 .scr { position: relative; width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: #fff; }
.phone3 .scr img { position: absolute; inset: 0; width: 100%; height: auto; min-height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.phone3 .scr img.on { opacity: 1; transform: none; }

.fc-group { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.fc { position: absolute; background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 18px; padding: 14px 16px; box-shadow: 0 24px 50px rgba(0, 0, 0, .35); display: flex; gap: 12px; align-items: center; min-width: 210px; opacity: 0; transition: opacity .5s var(--ease), transform .7s var(--ease); font-size: 13px; }
.fc b { display: block; font-size: 14.5px; font-weight: 600; color: var(--navy); }
.fc span { color: var(--muted); }
.fc .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 700; flex: none; }
.fc-k { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted) !important; letter-spacing: .02em; }
.fc-s { display: block; font-size: 12.5px; margin-top: 6px; }
.fc-l { left: 0; top: 22%; transform: translateX(-30px) rotate(-3deg); flex-direction: column; align-items: flex-start; }
.fc-r { right: 0; bottom: 20%; transform: translateX(30px) rotate(2deg); }
.fc .bar { width: 190px; }
.fc-group.on .fc { opacity: 1; }
.fc-group.on .fc-l { transform: translateX(0) rotate(-3deg); transition-delay: .15s; }
.fc-group.on .fc-r { transform: translateX(0) rotate(2deg); transition-delay: .3s; }
.fc-group .fc { animation: none; }
.fc-group.on .fc-l { animation: bobfc 6s ease-in-out .9s infinite; }
.fc-group.on .fc-r { animation: bobfc 7s ease-in-out 1.2s infinite reverse; }
@keyframes bobfc { 50% { translate: 0 -10px; } }
.gauge { position: relative; width: 150px; margin-top: 6px; }
.gauge svg { width: 100%; display: block; }
.gauge b { position: absolute; left: 0; right: 0; bottom: -2px; text-align: center; font-size: 26px !important; letter-spacing: -.03em; color: #D99A1F !important; }
.gauge b small { font-size: 12px; color: var(--muted); font-weight: 500; }

.sci3-foot { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; margin-top: 24px; padding-top: 36px; border-top: 1px solid rgba(255, 255, 255, .12); }
.sci3-stats { display: flex; gap: clamp(24px, 4vw, 56px); flex-wrap: wrap; }
.sci3-stats b { display: block; font-weight: 400; font-size: clamp(30px, 3vw, 42px); letter-spacing: -.035em; line-height: 1; }
.sci3-stats span { display: block; margin-top: 6px; font-size: 13.5px; color: rgba(255, 255, 255, .62); }

@media (max-width: 1000px) {
  .sci3-stage { grid-template-columns: 1fr; min-height: 0; }
  .sci3-device { display: none; }
  .sci3-steps li { opacity: 1; background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
  .sci3-steps .m { display: block; width: 62%; max-width: 260px; margin: 16px auto 0; border-radius: 22px; border: 6px solid #1A1E36; aspect-ratio: 9 / 15; object-fit: cover; object-position: top; }
}
.sci3-stage { padding-top: 104px; padding-bottom: 24px; }
@media (min-width: 1001px) and (max-height: 820px) { .phone3 { transform: scale(.88); } .sci3-device { height: 620px; } }

/* ---------- seletor de idioma ---------- */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 600; letter-spacing: .02em; transition: background .2s, border-color .2s, color .2s; }
.lang-btn:hover { border-color: var(--blue); color: var(--blue); }
body[data-hero=dark] .lang-btn { color: #fff; border-color: rgba(255, 255, 255, .4); }
body[data-hero=dark] .lang-btn:hover { background: rgba(255, 255, 255, .12); }
body[data-hero=dark].scrolled .lang-btn { color: var(--ink); border-color: var(--line); }
body[data-hero=dark].scrolled .lang-btn:hover { color: var(--blue); border-color: var(--blue); background: transparent; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 190px; list-style: none; background: #fff; border-radius: 14px; padding: 6px; box-shadow: 0 20px 50px rgba(22, 33, 94, .18); border: 1px solid var(--line); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .2s, transform .25s var(--ease); z-index: 60; }
.lang.open .lang-menu { opacity: 1; transform: none; pointer-events: auto; }
.lang-menu a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 15px; color: var(--ink) !important; border: 0 !important; }
.lang-menu a:hover { background: var(--soft); }
.lang-menu a[aria-current]::after { content: '✓'; color: var(--blue); font-weight: 700; }
.mob-lang { display: none; }
@media (max-width: 1100px) {
  .top .lang { margin-left: auto; }
  .menu-btn { margin-left: 8px; }
  .mobile-nav .mob-lang { display: flex; align-items: center; gap: 14px; margin-top: 24px; color: var(--muted); font-size: 15px; }
  .mobile-nav .mob-lang a { font-size: 16px; padding: 0; border: 0; color: var(--navy); }
  .mobile-nav .mob-lang a[aria-current] { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
}
@media (max-width: 760px) { .lang-btn { height: 36px; padding: 0 10px; } }
body[data-hero=dark].menu-open .lang-btn { color: var(--ink); border-color: var(--line); }

/* ---------- v7: aviso no topo ---------- */
.announce { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 6px 14px 6px 6px; margin-bottom: 18px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); color: #fff; font-size: 14px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .25s, border-color .25s; }
.announce .new { padding: 3px 10px; border-radius: 999px; background: linear-gradient(90deg, #EC06AA, #9B3BD6); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.announce:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .4); }
.announce span[aria-hidden] { transition: transform .25s var(--ease); }
.announce:hover span[aria-hidden] { transform: translateX(3px); }
@media (max-width: 760px) { .announce { font-size: 12.5px; } }

/* ---------- v7: APS Play em destaque ---------- */
.aplay { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: #050A3D; padding: clamp(88px, 10vw, 140px) 0 clamp(72px, 8vw, 112px); }
.aplay::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .45; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent); mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent); }
.aplay-bg { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.aplay-bg span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.aplay-bg .b1 { width: 620px; height: 620px; left: -160px; top: -120px; background: #1B2FB8; }
.aplay-bg .b2 { width: 520px; height: 520px; right: -140px; top: 30%; background: #B0058A; opacity: .42; animation-duration: 22s; }
.aplay-bg .b3 { width: 460px; height: 460px; left: 35%; bottom: -220px; background: #3B1FA8; opacity: .4; animation-duration: 26s; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.12); } }
.aplay .grad { background: linear-gradient(90deg, #fff 0%, #F7A8DC 30%, #EC06AA 50%, #B9BFE6 75%, #fff 100%); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 8s ease-in-out infinite alternate; }
.aplay-head { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 80px); align-items: end; }
.ap-logo { width: clamp(180px, 18vw, 250px); height: auto; margin-bottom: 26px; }
.aplay-head .h2 { color: #fff; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.06; }
.aplay-head .lead { color: rgba(255, 255, 255, .76); }
.ap-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.ap-chips span { font-size: 13.5px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.ap-obj { position: absolute; right: -40px; top: -110px; width: 230px; height: auto; z-index: -1; opacity: .9; animation: spinfloat 12s ease-in-out infinite; pointer-events: none; }

.aplay-stage { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(28px, 5vw, 72px); align-items: center; min-height: 100vh; padding-top: 72px; padding-bottom: 32px; }
.ap-steps { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.ap-steps li { position: relative; padding: 20px 22px 20px 26px; border-radius: 18px; border: 1px solid transparent; opacity: .4; cursor: pointer; transition: opacity .45s, background .45s, border-color .45s; }
.ap-steps li::before { content: ''; position: absolute; left: 0; top: 22px; bottom: 22px; width: 3px; border-radius: 3px; background: linear-gradient(#EC06AA, #2E4BC6); transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease); }
.ap-steps li.on { opacity: 1; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.ap-steps li.on::before { transform: scaleY(1); }
.ap-steps .k { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #F7A8DC; }
.ap-steps b { display: block; font-weight: 500; font-size: clamp(20px, 1.9vw, 26px); letter-spacing: -.02em; margin-top: 6px; }
.ap-steps p { color: rgba(255, 255, 255, .7); font-size: 15.5px; margin-top: 6px; max-width: 44ch; }
.ap-steps .m { display: none; }

.ap-device { position: relative; height: 600px; perspective: 1600px; }
.ap-lap { position: absolute; left: 0; right: 70px; top: 50%; transform: translateY(-56%); transform-origin: 50% 100%; }
.lap-scr { position: relative; border-radius: 18px 18px 6px 6px; padding: 14px 14px 18px; background: linear-gradient(160deg, #2B2F45, #0C0E1C 60%, #1E2238); box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 60px 120px rgba(0, 0, 0, .55), 0 0 140px rgba(236, 6, 170, .18); }
.lap-cam { position: absolute; top: 5px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #3A3F5C; }
.lap-in { position: relative; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; background: #fff; }
.lap-in img, .ph-in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.03); transition: opacity .7s var(--ease), transform 1.1s var(--ease); }
.lap-in img.on, .ph-in img.on { opacity: 1; transform: none; }
.lap-base { position: relative; height: 16px; margin: 0 -7%; border-radius: 0 0 22px 22px; background: linear-gradient(#C9CCDA, #8E92A8 55%, #5D6178); box-shadow: 0 30px 50px rgba(0, 0, 0, .45); }
.lap-base::before { content: ''; position: absolute; left: 50%; top: 0; width: 16%; height: 6px; margin-left: -8%; border-radius: 0 0 8px 8px; background: #7A7E95; }
.ap-ph { position: absolute; right: 0; bottom: 18px; width: 200px; aspect-ratio: 9 / 19.4; border-radius: 34px; padding: 8px; background: linear-gradient(145deg, #2A2F4A, #0F1226 55%, #22263F); box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 40px 80px rgba(0, 0, 0, .6); z-index: 2; }
.ph-island { position: absolute; top: 15px; left: 50%; width: 62px; height: 18px; margin-left: -31px; border-radius: 12px; background: #05060E; z-index: 3; }
.ph-in { position: relative; width: 100%; height: 100%; border-radius: 27px; overflow: hidden; background: #fff; }
.ap-device .fc-group { z-index: 4; }
.fc-a { left: -36px; top: 4%; transform: translateY(-16px) rotate(-3deg); }
.fc-b { right: 150px; bottom: 2%; transform: translateY(16px) rotate(2deg); }
.fc-a.col { flex-direction: column; align-items: flex-start; }
.fc-group.on .fc-a { transform: translateY(0) rotate(-3deg); transition-delay: .15s; animation: bobfc 6s ease-in-out .9s infinite; }
.fc-group.on .fc-b { transform: translateY(0) rotate(2deg); transition-delay: .3s; animation: bobfc 7s ease-in-out 1.2s infinite reverse; }
.fc .ic.play { font-size: 12px; }

.ap-foot { margin-top: 24px; }
.ap-courses-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; padding-top: 36px; border-top: 1px solid rgba(255, 255, 255, .12); }
.ap-courses-head .eyebrow { color: #F7A8DC; margin: 0; }
.ap-courses-head p { color: rgba(255, 255, 255, .6); font-size: 14.5px; }
.ap-courses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 22px; }
.ap-course { border-radius: 18px; padding: 10px 10px 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: transform .5s var(--ease), background .3s, border-color .3s; }
.ap-course:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .09); border-color: rgba(247, 168, 220, .4); }
.ap-course .cv { border-radius: 12px; overflow: hidden; aspect-ratio: 378 / 225; }
.ap-course .cv img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.ap-course:hover .cv img { transform: scale(1.06); }
.ap-course p { font-weight: 500; font-size: 17px; margin: 14px 8px 4px; letter-spacing: -.01em; }
.ap-course span { display: block; margin: 0 8px; font-size: 13.5px; color: rgba(255, 255, 255, .55); }
.ap-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 40px; padding: 28px clamp(22px, 3vw, 36px); border-radius: 22px; background: linear-gradient(100deg, rgba(46, 75, 198, .35), rgba(236, 6, 170, .22)); border: 1px solid rgba(255, 255, 255, .14); }
.ap-cta b { display: block; font-size: clamp(19px, 1.8vw, 24px); font-weight: 500; letter-spacing: -.015em; }
.ap-cta span { display: block; color: rgba(255, 255, 255, .7); font-size: 15px; margin-top: 4px; }

@media (min-width: 1001px) and (max-height: 820px) { .ap-device { height: 520px; } .aplay-stage { padding-top: 88px; } }
@media (max-width: 1100px) { .ap-device { height: 520px; } .ap-ph { width: 170px; } .fc-b { right: 120px; } }
@media (max-width: 1000px) {
  .aplay-head { grid-template-columns: minmax(0, 1fr); }
  .ap-obj { width: 150px; top: -70px; right: -20px; opacity: .6; }
  .aplay-stage { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 40px; }
  .ap-device { display: none; }
  .ap-steps li { opacity: 1; background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); cursor: default; }
  .ap-steps li::before { transform: scaleY(1); }
  .ap-steps .m { display: block; width: 62%; max-width: 250px; margin: 18px auto 0; border-radius: 26px; border: 7px solid #1A1E36; aspect-ratio: 9 / 16; object-fit: cover; object-position: top; box-shadow: 0 30px 60px rgba(0, 0, 0, .4); }
  .ap-courses { grid-template-columns: minmax(0, 1fr); }
  .ap-course { display: grid; grid-template-columns: 120px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 10px; }
  .ap-course .cv { grid-row: 1 / span 2; }
  .ap-course p { margin: 0; font-size: 15.5px; align-self: end; }
  .ap-course span { margin: 0; align-self: start; }
}

/* ---------- v7: Soluções com sub-abas ---------- */
.sol-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px 48px; flex-wrap: wrap; margin-bottom: 40px; }
.sol-top > div:first-child { max-width: 640px; }
.sol-top .lead { margin-top: 14px; }
.sci3-card { border-radius: 28px; padding: clamp(48px, 6vw, 80px) 0 clamp(36px, 5vw, 64px); }
.sci3-card > .wrap { max-width: none; padding: 0 clamp(22px, 4vw, 56px); }
.sci3-card .sci3-stage { min-height: 0; padding-top: 40px; padding-bottom: 8px; }
.sci3-card .sci3-steps li { cursor: pointer; }
.sci3-card .sci3-device { height: 640px; }

/* ---------- v7: estudos em 4 colunas ---------- */
.studies4 .study .big { font-size: 40px; }
@media (max-width: 1100px) { .cards.studies4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .cards.studies4 { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1001px) {
  .ap-steps p { max-height: 0; opacity: 0; margin-top: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s, margin-top .6s var(--ease); }
  .ap-steps li.on p { max-height: 120px; opacity: 1; margin-top: 8px; }
  .ap-steps li { padding-top: 18px; padding-bottom: 18px; }
}
.ph-in { background: #fff; }
.ph-in img { top: 24px; height: calc(100% - 24px); }
.ph-island { top: 13px; width: 54px; height: 15px; margin-left: -27px; }
.study .big small { line-height: 1.35; }

/* ---------- v8: Infraestrutura crítica (ponte APS e ciência global) ---------- */
section.ic{
  --ic-bg:#0a0f2e;
  --ic-bg2:#101a4a;
  --ic-text:#ffffff;
  --ic-muted:rgba(255,255,255,.62);
  --ic-dim:rgba(255,255,255,.34);
  --ic-line:rgba(255,255,255,.12);
  --ic-pink:#e7a3d6;
  --ic-lav:#b9b8ee;
  --ic-blue:#3b6bff;
  --ic-cyan:#7fd3ff;
}

section.ic{position:relative;overflow:hidden;color:var(--ic-text);
  background:
    radial-gradient(900px 600px at 78% 62%, rgba(40,70,190,.28), transparent 60%),
    radial-gradient(700px 500px at 10% 0%, rgba(30,40,120,.35), transparent 60%),
    linear-gradient(180deg,var(--ic-bg) 0%, #0c1440 100%);
  padding:clamp(88px,10vw,128px) 0 clamp(88px,10vw,120px)}
section.ic::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.35;
  background-image:radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);background-size:22px 22px}
.ic-wrap{position:relative;max-width:calc(var(--w) + var(--gut) * 2);margin:0 auto;padding:0 var(--gut)}

.ic-head{text-align:center;max-width:900px;margin:0 auto 72px}
.ic-eyebrow{font-size:13px;font-weight:600;letter-spacing:.16em;color:var(--ic-muted);margin:0 0 22px}
.ic-title{font-weight:400;font-size:clamp(34px,5.2vw,60px);line-height:1.1;letter-spacing:-.02em;margin:0 auto 26px;max-width:820px;text-wrap:balance}
.ic-grad{background:linear-gradient(90deg,var(--ic-pink),var(--ic-lav));-webkit-background-clip:text;background-clip:text;color:transparent}
.ic-sub{font-size:18px;line-height:1.6;color:var(--ic-muted);margin:0 auto;max-width:720px}

.ic-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:48px;align-items:center}

/* Pilares */
.ic-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.ic-item{border:1px solid transparent;border-radius:16px;padding:22px 22px;cursor:pointer;transition:background .35s,border-color .35s}
.ic-item:focus-visible{outline:2px solid var(--ic-lav);outline-offset:2px}
.ic-num{font-size:12px;font-weight:600;letter-spacing:.14em;color:var(--ic-dim);margin:0 0 10px;transition:color .35s}
.ic-name{font-size:24px;font-weight:500;letter-spacing:-.01em;margin:0 0 10px;color:var(--ic-dim);transition:color .35s}
.ic-desc{font-size:15px;line-height:1.6;margin:0;color:rgba(255,255,255,.26);transition:color .35s}
.ic-item.is-active{background:rgba(255,255,255,.045);border-color:var(--ic-line)}
.ic-item.is-active .ic-num{color:var(--ic-muted)}
.ic-item.is-active .ic-name{color:#fff}
.ic-item.is-active .ic-desc{color:var(--ic-muted)}

/* Visual */
.ic-visual{position:relative}
.ic-visual svg{width:100%;height:auto;display:block;overflow:visible}
.ic-label{font:600 11px Inter,sans-serif;letter-spacing:.16em;fill:var(--ic-muted)}
.ic-label-sm{font:500 11px Inter,sans-serif;fill:var(--ic-dim)}
.ic-pylon circle{transition:r .35s, fill .35s, stroke .35s}
.ic-pylon text{font:600 11px Inter,sans-serif;letter-spacing:.08em;fill:var(--ic-dim);transition:fill .35s}
.ic-pylon line{stroke:rgba(185,184,238,.2);transition:stroke .35s}
.ic-pylon .tower{fill:rgba(185,184,238,.35);transition:fill .35s}
.ic-pylon.is-active .tower{fill:rgba(231,231,255,.9)}
.ic-pylon.is-active circle.core{fill:#fff}
.ic-pylon.is-active circle.halo{stroke:rgba(185,184,238,.55);r:16}
.ic-pylon.is-active text{fill:#fff}
.ic-pylon.is-active line{stroke:rgba(231,163,214,.7)}
.ic-dot{fill:rgba(185,184,238,.55)}
.ic-dot.on{fill:#fff;animation:ic-blink 3.2s ease-in-out infinite}
@keyframes ic-blink{0%,100%{opacity:.35}50%{opacity:1}}

.ic-chip{position:absolute;right:0;bottom:-7%;display:flex;gap:12px;align-items:center;background:#fff;color:#0b1240;
  border-radius:14px;padding:12px 16px 12px 12px;box-shadow:0 18px 40px rgba(0,0,20,.45);min-width:230px;
  transition:opacity .3s, transform .3s}
.ic-chip.swap{opacity:0;transform:translateY(6px)}
.ic-chip-ic{width:32px;height:32px;border-radius:9px;background:#1f3fd1;display:grid;place-items:center;flex:none}
.ic-chip b{display:block;font-size:14px;font-weight:600}
.ic-chip span{display:block;font-size:12px;color:#5a6290;margin-top:2px}

.ic-chip-top{position:absolute;left:2%;top:0;background:rgba(255,255,255,.06);border:1px solid var(--ic-line);
  backdrop-filter:blur(6px);border-radius:12px;padding:10px 14px;font-size:12px;color:var(--ic-muted)}
.ic-chip-top strong{display:block;color:#fff;font-size:20px;font-weight:500;letter-spacing:-.01em}

@media (max-width:900px){
  section.ic{padding:72px 0 80px}
  .ic-head{margin-bottom:44px}
  .ic-grid{grid-template-columns:1fr;gap:28px}
  .ic-visual{order:-1;max-width:560px;margin:0 auto;width:100%}
  .ic-name{font-size:20px}
  .ic-chip{position:relative;right:auto;bottom:auto;margin:14px auto 0;width:max-content;max-width:100%}
  .ic-chip-top{display:none}
}
@media (prefers-reduced-motion:reduce){
  .ic-dot.on{animation:none}
  .ic-flow{display:none}
}

/* ---------- v9: página Equipe (3 modelos) ---------- */
.tm { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 104px) 0 clamp(64px, 8vw, 96px); background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); }
.tm-head { text-align: center; max-width: 820px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.tm-head .eyebrow { margin: 0; }
.tm-head .h2 { font-size: clamp(36px, 4.6vw, 62px); }
.tm .grad { background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 35%, #C2479A 60%, var(--blue) 85%, var(--navy) 100%); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 8s ease-in-out infinite alternate; }
.tm-card { list-style: none; position: relative; border-radius: 22px; overflow: hidden; background: #DDE0EC; aspect-ratio: 4 / 5; user-select: none; -webkit-user-select: none; }
.tm-card img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.tm-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 18px 16px; color: #fff; background: linear-gradient(180deg, transparent, rgba(8, 12, 40, .78)); opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .6s var(--ease); }
.tm-cap b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.tm-cap span { display: block; font-size: 13.5px; opacity: .82; margin-top: 2px; line-height: 1.35; }

.tm-nav { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 8px; }
.tm-nav button { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); background: #fff; color: var(--navy); transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease); }
.tm-nav button:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.tm-prev svg { transform: rotate(180deg); }
.tm-now { min-width: min(420px, 60vw); text-align: center; }
.tm-now b { display: block; font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; letter-spacing: -.02em; color: var(--navy); }
.tm-now span { display: block; font-size: 15px; color: var(--muted); margin-top: 4px; }
.tm-now.in b, .tm-now.in span { animation: tmIn .6s var(--ease) both; }
.tm-now.in span { animation-delay: .06s; }
@keyframes tmIn { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } }

.tm-list { margin-top: 48px; max-width: 900px; }
.tm-list summary { cursor: pointer; list-style: none; text-align: center; color: var(--blue); font-weight: 500; }
.tm-list summary::-webkit-details-marker { display: none; }
.tm-list ul { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 28px; margin-top: 28px; }
.tm-list li { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.tm-list img { width: 56px; height: 70px; flex: none; object-fit: cover; border-radius: 12px; background: var(--line); }
.tm-list li div { min-width: 0; }
.tm-list b { display: block; color: var(--navy); font-weight: 600; }
.tm-list span { display: block; font-size: 14px; color: var(--muted); }

/* 1 · arco */
.tm-arc { position: relative; height: clamp(420px, 40vw, 560px); margin-top: 40px; perspective: 1500px; perspective-origin: 50% 40%; cursor: grab; touch-action: pan-y; outline: none; }
.tm-arc:active { cursor: grabbing; }
.tm-arc .tm-track { position: absolute; inset: 0; transform-style: preserve-3d; }
.tm-arc .tm-card { position: absolute; left: 50%; top: 50%; width: clamp(200px, 21vw, 300px); box-shadow: 0 30px 60px rgba(22, 33, 94, .16); will-change: transform; backface-visibility: hidden; }
.tm-arc .tm-card.is-center { box-shadow: 0 40px 80px rgba(22, 33, 94, .28); }
.tm-arc .tm-card.is-center .tm-cap { opacity: 1; transform: none; }
.tm-arc::after { content: ''; position: absolute; left: 50%; bottom: -10px; width: 46%; height: 40px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(22, 33, 94, .18), transparent); filter: blur(6px); pointer-events: none; }

@media (max-width: 900px) {
  .tm-list ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .tm-arc { height: 400px; margin-top: 24px; }
  .tm-arc .tm-card { width: 210px; }
  .tm-nav { gap: 14px; }
  .tm-nav button { width: 44px; height: 44px; flex: none; }
  .tm-list ul { grid-template-columns: minmax(0, 1fr); }
}
/* ponte centralizada e os 4 pilares embaixo, em colunas */
.ic-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
.ic-visual { order: -1; width: 100%; max-width: 860px; margin: 0 auto; }
.ic-chip { right: 2%; bottom: 2%; }
.ic-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ic-item { position: relative; padding: 24px 22px 26px; }
.ic-item::before { content: ''; position: absolute; left: 22px; right: 22px; top: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--ic-cyan), var(--ic-lav), var(--ic-pink)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.ic-item.is-active::before { transform: scaleX(1); }
.ic-name { font-size: 20px; }
@media (max-width: 1100px) { .ic-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .ic-grid { gap: 28px; } .ic-chip { right: auto; bottom: auto; } }
@media (max-width: 560px) { .ic-list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- v10: ponte estaiada em largura total + ícones dos pilares ---------- */
.ic-visual { max-width: none; }
.ic-visual svg { pointer-events: auto; }
.ic-pylon { cursor: pointer; }
.ic-pylon .tower { fill: url(#ic-tower); opacity: .45; transition: opacity .4s; }
.ic-pylon .beam { fill: rgba(185,184,238,.4); transition: fill .4s; }
.ic-pylon .cables line { stroke: rgba(185,184,238,.22); stroke-width: .9; transition: stroke .45s; }
.ic-pylon .halo { fill: none; stroke: rgba(255,255,255,.14); transition: stroke .4s; }
.ic-pylon .core { fill: rgba(185,184,238,.7); transition: fill .4s; }
.ic-pylon text { font: 600 12px Inter, sans-serif; letter-spacing: .08em; fill: var(--ic-dim); transition: fill .35s; }
.ic-pylon.is-active .tower { opacity: 1; fill: url(#ic-tower); filter: drop-shadow(0 0 6px rgba(185,184,238,.55)); }
.ic-pylon.is-active .beam { fill: rgba(231,231,255,.85); }
.ic-pylon.is-active .cables line { stroke: rgba(231,163,214,.75); }
.ic-pylon.is-active .core { fill: #fff; }
.ic-pylon.is-active .halo { stroke: rgba(185,184,238,.6); animation: ic-halo 2.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.ic-pylon.is-active text { fill: #fff; }
@keyframes ic-halo { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }
.ic-lamp { opacity: .35; animation: ic-blink 3.2s ease-in-out infinite; }
.ic-waves line + line { animation: ic-wave 6s linear infinite; }
.ic-waves line:nth-child(3) { animation-duration: 8s; animation-direction: reverse; }
@keyframes ic-wave { to { stroke-dashoffset: -116; } }
.ic-orbit { animation: spin 40s linear infinite; transform-box: view-box; transform-origin: 1068px 226px; }
.ic-chip-top { left: 3%; top: 4%; }
.ic-chip { right: auto; left: 50%; bottom: 3%; transform: translateX(-50%); }
.ic-chip.swap { transform: translate(-50%, 6px); }
.ic-item { overflow: hidden; }
.ic-item::before { left: 0; right: 0; height: 3px; border-radius: 0; }
.ic-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 12px; color: var(--ic-lav); background: rgba(255,255,255,.04); border: 1px solid var(--ic-line); transition: color .35s, background .35s, border-color .35s, transform .5s var(--ease); }
.ic-item.is-active .ic-ico { color: #fff; background: linear-gradient(135deg, rgba(127,211,255,.28), rgba(231,163,214,.28)); border-color: rgba(231,163,214,.45); transform: translateY(-2px); }
@media (max-width: 900px) { .ic-chip { right: auto; bottom: auto; } .ic-chip-top { display: none; } }
@media (prefers-reduced-motion: reduce) { .ic-waves line, .ic-orbit, .ic-lamp, .ic-pylon.is-active .halo { animation: none; } }
@media (max-width: 900px) { .ic-chip { left: auto; transform: none; } .ic-chip.swap { transform: translateY(6px); } }
.sci-sec { padding-top: 0; }
.sci-sec .sci3-head .h2 { color: #fff; }
.fc-r:has(.fc-k) { flex-direction: column; align-items: flex-start; gap: 8px; }
.card .ev-logo { height: 34px; width: auto; max-width: 170px; object-fit: contain; object-position: left center; margin-top: 18px; filter: grayscale(1) contrast(1.1); opacity: .8; transition: filter .3s, opacity .3s; }
.card:hover .ev-logo { filter: none; opacity: 1; }
.card .ev-logo ~ .h3 { font-size: 20px; font-weight: 500; color: var(--navy); margin-top: 4px; }

/* ---------- topo sobre fundo escuro (mesma regra do site do Instituto) ---------- */
.top, .top nav a, .top .btn, .lang-btn { transition: background .35s, border-color .35s, color .3s, box-shadow .35s; }
body.on-dark.scrolled:not(.menu-open) .top { background: rgba(8, 12, 44, .55); border-bottom-color: rgba(255, 255, 255, .08); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
body.on-dark:not(.menu-open) .top nav a { color: rgba(255, 255, 255, .85); }
body.on-dark:not(.menu-open) .top nav a:hover, body.on-dark:not(.menu-open) .top nav a[aria-current] { color: #fff; border-bottom-color: #fff; }
body.on-dark:not(.menu-open) .top .logo .c { display: none; }
body.on-dark:not(.menu-open) .top .logo .w { display: block; }
body.on-dark:not(.menu-open) .top .btn { background: #fff; border-color: #fff; color: var(--navy); }
body.on-dark:not(.menu-open) .top .lang-btn { color: #fff; border-color: rgba(255, 255, 255, .4); }
body.on-dark:not(.menu-open) .top .lang-btn:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .6); }
body.on-dark:not(.menu-open) .menu-btn span, body.on-dark:not(.menu-open) .menu-btn span::before { background: #fff; }

/* ---------- submenu de Soluções (APS Play, epScience, Primary Care Insights) ---------- */
.nav-dd { position: relative; display: flex; align-items: center; }
.nav-dd > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-dd .chev { transition: transform .25s var(--ease); }
.nav-dd:hover .chev, .nav-dd:focus-within .chev { transform: rotate(180deg); }
.dd-menu { position: absolute; top: 100%; left: -18px; min-width: 300px; padding: 8px; margin-top: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px rgba(22, 33, 94, .16); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .22s, transform .3s var(--ease); z-index: 60; }
.dd-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-dd:hover .dd-menu, .nav-dd:focus-within .dd-menu { opacity: 1; transform: none; pointer-events: auto; }
.top nav .dd-menu a { display: block; padding: 12px 14px; border: 0 !important; border-radius: 12px; color: var(--ink) !important; transition: background .2s; }
.top nav .dd-menu a:hover, .top nav .dd-menu a[aria-current] { background: var(--soft); }
.top nav .dd-menu b { display: block; font-size: 15px; font-weight: 600; color: var(--navy); }
.top nav .dd-menu a[aria-current] b { color: var(--blue); }
.top nav .dd-menu span { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--muted); }
.mobile-nav a.sub { font-size: 17px; padding: 12px 0 12px 18px; color: var(--blue); }
.aplay.page-top { padding-top: clamp(130px, 13vw, 180px); }
.ui-white.lc .ui-field { grid-template-columns: 108px minmax(0, 1fr); }
.ui-white.lc .ui-field > span { white-space: nowrap; }

/* Fale conosco: campos montados a partir do Wix Forms */
.wix-fields { display: contents; }
.form-loading { grid-column: 1 / -1; }
.form-level-error { grid-column: 1 / -1; color: #B4233A; margin: 0; min-height: 0; }
.form-level-error:empty { display: none; }
.form-step { grid-column: 1 / -1; font-weight: 600; color: var(--navy); margin: 0; }
.form-back { justify-self: start; }
.consent.invalid span { color: #B4233A; }
.form-ok .ok-msg p { margin: 0 0 6px; }
.form-ok .ok-msg p:first-child { font-weight: 600; color: var(--navy); }

/* submenu: frentes sem página ainda (desabilitadas) */
.top nav .dd-menu .dd-soon { display: block; padding: 12px 14px; border-radius: 12px; cursor: not-allowed; opacity: .55; }
.top nav .dd-menu .dd-soon b { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--navy); }
.top nav .dd-menu .dd-soon span { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.top nav .dd-menu em, .mobile-nav .soon em { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: var(--soft); color: var(--muted); border: 1px solid var(--line); }
.mobile-nav .sub.soon { display: block; font-size: 17px; padding: 12px 0 12px 18px; color: var(--muted); border-bottom: 1px solid var(--line); opacity: .7; cursor: not-allowed; }
