/* Site institucional — TV Empresarial */
:root {
  --ink: #10243A;
  --paper: #F5F8F9;
  --white: #FFFFFF;
  --brand: #0F6CBD;
  --brand-dk: #0B4F8A;
  --signal: #FFC20E;
  --mint: #DDF1EA;
  --slate: #4F6175;
  --rule: #D8E1E8;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --text: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow: auto; height: auto; background: var(--paper); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.site { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.6 var(--text); cursor: auto; overflow: auto; height: auto; }
.site h1, .site h2, .site h3 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -0.015em; }
.site h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; margin-bottom: 28px; max-width: 22ch; }
.site h3 { font-size: 1.25rem; font-weight: 700; }
.site a { color: var(--brand); }
.site p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 48px); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
.site :focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 4px; }
.fine { font-size: 0.85rem; color: var(--slate); }

/* Botões */
.btn-s { display: inline-flex; align-items: center; justify-content: center; padding: 14px 22px; border-radius: 10px; font: 700 1rem/1 var(--text);
  text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-s.solid { background: var(--brand); color: #fff !important; }
.btn-s.solid:hover { background: var(--brand-dk); }
.btn-s.ghost { border-color: var(--ink); color: var(--ink) !important; background: transparent; }
.btn-s.ghost:hover { background: var(--ink); color: #fff !important; }
.btn-s.small { padding: 10px 16px; font-size: .92rem; }
.btn-s.block { width: 100%; }

/* Navegação */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(245, 248, 249, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 800 1.15rem/1 var(--display); color: var(--ink) !important; text-decoration: none; }
.logo-tv { width: 28px; height: 19px; border: 3px solid var(--brand); border-radius: 5px; position: relative; }
.logo-tv::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 12px; height: 3px; margin-left: -6px; background: var(--brand); border-radius: 2px; }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { color: var(--ink); text-decoration: none; font-size: .98rem; }
.nav nav a:hover { color: var(--brand); }

/* Abertura */
.hero { padding: 64px 0 72px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.hero-copy h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.0; max-width: 13ch; }
.lead { font-size: 1.2rem; color: var(--slate); max-width: 36ch; margin: 28px 0 30px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }

/* A parede com a TV */
.wall { position: relative; background: var(--mint); border-radius: 22px; padding: 44px 36px 28px; }
.tv-frame { position: relative; background: #17222D; padding: 1.1%; border-radius: 12px; box-shadow: 0 30px 50px -24px rgba(16, 36, 58, .55); }
.tv-stand { position: relative; width: 26%; height: 14px; margin: 0 auto; background: #2a3846; border-radius: 0 0 8px 8px; }
.wall-caption { position: relative; text-align: center; font-size: .85rem; color: var(--slate); margin: 14px 0 0; }
.tv-screen { --u: 6px; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border-radius: 4px; color: #fff; font-family: "Segoe UI", Roboto, Arial, sans-serif; }
.demo-stage { position: absolute; inset: 0; }
.demo-stage .slide-box { position: absolute; inset: 0; transition: opacity .5s ease; }
.demo-stage .slide-box.fade { opacity: 0; }

/* Slides da TV de exemplo: mantêm a tipografia do player, não a do site */
.site .tv-screen .slide-title { font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; margin: 0 0 .35em; letter-spacing: -.01em; line-height: 1.08; max-width: none; }

/* Os elementos do player usam vh na TV; aqui são medidos pela largura da tela de exemplo (--u = 1%). */
.tv-screen .bar { height: calc(var(--u) * 4.6); min-height: 0; display: flex; }
.tv-screen .bar .clock, .tv-screen .bar .weather { padding: 0 calc(var(--u) * 2); }
.tv-screen .bar .clock b, .tv-screen .bar .weather b { font-size: calc(var(--u) * 1.9); }
.tv-screen .bar .clock span, .tv-screen .bar .weather span { font-size: calc(var(--u) * 0.95); margin-top: calc(var(--u) * .2); }
.tv-screen .ticker span { font-size: calc(var(--u) * 1.65); }
.tv-screen .alert-banner { left: calc(var(--u) * 3); right: calc(var(--u) * 3); bottom: calc(var(--u) * 6.4); padding: calc(var(--u) * 1.2) calc(var(--u) * 3);
  font-size: calc(var(--u) * 2.2); border-radius: calc(var(--u) * .7); }
.tv-screen .call-label { font-size: calc(var(--u) * 2.2); }
.tv-screen .call-ticket { font-size: calc(var(--u) * 14.5); margin: calc(var(--u) * .6) 0; }
.tv-screen .call-room { font-size: calc(var(--u) * 3.3); margin-top: calc(var(--u) * 1.6); padding: calc(var(--u) * .7) calc(var(--u) * 3); }
.tv-screen .call { --brand: #0F6CBD; }

/* Faixas de seção */
.band { background: var(--white); padding: 88px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.steps-s { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.steps-s li { counter-increment: s; position: relative; padding-top: 74px; }
.steps-s li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 54px; height: 54px; border-radius: 50%; background: var(--signal);
  font: 800 1.6rem/54px var(--display); text-align: center; color: var(--ink); }
.steps-s li:not(:last-child)::after { content: ""; position: absolute; top: 27px; left: 70px; right: -24px; height: 2px; background: repeating-linear-gradient(90deg, var(--rule) 0 8px, transparent 8px 14px); }
.steps-s h3 { margin-bottom: 8px; }
.steps-s p { color: var(--slate); }
.steps-s code { font-size: .9em; background: var(--paper); padding: 2px 6px; border-radius: 5px; }

.features { padding: 96px 0 72px; }
.feat-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 64px; margin: 0; }
.feat-list > div { border-top: 2px solid var(--ink); padding: 18px 0 30px; }
.feat-list dt { font: 700 1.3rem/1.2 var(--display); margin-bottom: 8px; }
.feat-list dd { margin: 0; color: var(--slate); max-width: 46ch; }

.segments { padding: 24px 0 96px; }
.seg-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.seg-list li { padding: 10px 18px; border-radius: 99px; background: var(--white); border: 1px solid var(--rule); }
.seg-list li:first-child { background: var(--ink); border-color: var(--ink); }
.seg-list li:first-child a { color: #fff; text-decoration: none; font-weight: 700; }
.clinic-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.clinic-points p { color: var(--slate); }
.clinic-points strong { display: block; font: 700 1.25rem/1.2 var(--display); color: var(--ink); margin-bottom: 8px; }

.plans-band .sub { color: var(--slate); max-width: 56ch; margin-top: -12px; margin-bottom: 36px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { border: 1px solid var(--rule); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; background: var(--paper); }
.plan.featured { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-10px); }
.plan .for { color: var(--slate); min-height: 3.2em; margin: 8px 0 18px; }
.plan.featured .for { color: #b9c7d6; }
.plan .price { font: 800 1.7rem/1.1 var(--display); margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.plan li { padding: 8px 0 8px 26px; position: relative; border-top: 1px solid var(--rule); font-size: .98rem; }
.plan.featured li { border-color: rgba(255,255,255,.14); }
.plan li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 7px; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg); }
.plan.featured li::before { border-color: var(--signal); }
.plan.featured .btn-s.solid { background: var(--signal); color: var(--ink) !important; }
.plan.featured .btn-s.solid:hover { background: #ffd34d; }

.faq { padding: 96px 0; max-width: 820px; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 700 1.15rem/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 400 1.8rem/1 var(--display); color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--slate); padding-bottom: 12px; max-width: 64ch; }

.contact { background: var(--ink); color: #fff; border: 0; }
.contact h2 { color: #fff; }
.contact p { color: #c6d3e0; }
.contact-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.lead-form, .sent { background: var(--white); color: var(--ink); border-radius: 16px; padding: 28px; }
.lead-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: .92rem; margin-bottom: 14px; }
.lead-form input, .lead-form select, .lead-form textarea { font: 400 1rem var(--text); padding: 12px; border: 1.5px solid #c3cfda; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px rgba(15,108,189,.2); }
.lead-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form .fine { color: var(--slate); margin: 12px 0 0; }
.lead-form .err { background: #fbebea; color: #8c1d17; padding: 10px 12px; border-radius: 8px; }
.sent h3 { margin-bottom: 8px; }
.sent p { color: var(--slate); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.site-foot { padding: 32px 0 44px; font-size: .92rem; color: var(--slate); }
.foot-in { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.foot-in a:last-child { margin-left: auto; }
.logo.small { font-size: 1rem; }

@media (max-width: 960px) {
  .hero-in, .contact-in { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 40px; }
  .nav nav { display: none; }
  .nav-in .btn-s { margin-left: auto; }
  .steps-s, .plans, .clinic-points { grid-template-columns: 1fr; }
  .steps-s li:not(:last-child)::after { display: none; }
  .plan.featured { transform: none; }
  .feat-list { grid-template-columns: 1fr; }
  .wall { padding: 28px 18px 20px; }
}
@media (max-width: 560px) {
  body.site { font-size: 17px; }
  .lead-form .two { grid-template-columns: 1fr; }
  .band, .features, .faq { padding: 64px 0; }
}

/* SEO: textos de apoio, trilha e rodapé */
.kicker { font: 700 .8rem/1.2 "Atkinson Hyperlegible", system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin: 0 0 14px; }
.crumbs { padding-top: 18px; font-size: .88rem; color: var(--slate); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--slate); }
.crumbs a { color: var(--slate); }
.explain { padding: 8px 0 72px; max-width: 820px; }
.explain h2 { margin-bottom: 18px; }
.explain p { font-size: 1.08rem; line-height: 1.65; color: var(--ink); margin: 0 0 16px; }
.explain a { color: var(--brand); font-weight: 700; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-links a { color: var(--slate); }
.foot-in { justify-content: space-between; }
/* contraste do player de demonstração (acessibilidade) */
.site .tv-screen .slide-kicker, .site .tv-screen .bar span, .site .tv-screen .clock span, .site .tv-screen .weather span { opacity: 1; color: #fff; }
