/* UnificaIT — landing estática. Tema claro + verde. Sem dependências externas. */
:root{
  --brand:#03826A;        /* hexágono da marca */
  --emerald:#059669;      /* acento principal */
  --emerald-600:#047857;
  --emerald-700:#065f46;
  --ink:#0f1c17;          /* texto forte */
  --slate:#475467;        /* texto secundário */
  --line:#e3e8e6;
  --bg:#f6faf8;
  --bg-soft:#eef5f2;
  --white:#ffffff;
  --radius:16px;
  --shadow:0 1px 2px rgba(16,24,40,.05), 0 12px 30px -12px rgba(3,130,106,.18);
  --maxw:1120px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{
  margin:0;color:var(--ink);background:var(--bg);
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  line-height:1.6;-webkit-font-smoothing:antialiased;
  overflow-x:hidden;-webkit-tap-highlight-color:rgba(5,150,105,.15);
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}

/* ---------- Tarja de construção ---------- */
.construction-bar{
  background:#dc2626;color:#fff;text-align:center;font-weight:600;
  font-size:.9rem;line-height:1.3;padding:9px 16px;
  display:flex;align-items:center;justify-content:center;gap:9px;
}
.construction-bar svg{width:18px;height:18px;flex:0 0 auto}
@media (max-width:640px){ .construction-bar{font-size:.82rem;padding:8px 12px} }

/* ---------- Header ---------- */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(246,250,248,.82);backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav{display:flex;align-items:center;justify-content:space-between;height:72px;gap:16px}
.brand img{height:34px;width:auto}
.nav-links{display:flex;align-items:center;gap:26px}
.nav-links a{color:var(--slate);font-weight:500;font-size:.95rem;transition:color .15s}
.nav-links a:hover{color:var(--emerald-700)}
.status-pill{
  display:inline-flex;align-items:center;gap:8px;
  padding:7px 13px;border-radius:999px;font-size:.82rem;font-weight:600;
  color:var(--emerald-700);background:var(--bg-soft);border:1px solid #d3e6df;
}
.dot{width:8px;height:8px;border-radius:50%;background:var(--emerald);box-shadow:0 0 0 4px rgba(5,150,105,.18)}
.status-badge{display:flex;align-items:center;min-height:30px}
/* Atalho de contato no header (telefone → menu Ligar / WhatsApp, via <details> nativo) */
.nav-right{display:flex;align-items:center;gap:12px}
.phone-menu{position:relative}
.phone-menu summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:8px;
  padding:7px 13px;border-radius:999px;font-size:.85rem;font-weight:600;
  color:var(--emerald-700);background:var(--bg-soft);border:1px solid #d3e6df;white-space:nowrap}
.phone-menu summary::-webkit-details-marker{display:none}
.phone-menu summary::marker{content:""}
.phone-menu summary svg{width:16px;height:16px;flex:0 0 auto}
.phone-menu[open] summary{background:#e2f1ec}
.phone-pop{position:absolute;right:0;top:calc(100% + 8px);z-index:60;min-width:186px;
  background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);
  padding:6px;display:flex;flex-direction:column;gap:2px}
.phone-pop a{display:flex;align-items:center;gap:11px;padding:11px 12px;border-radius:9px;
  color:var(--ink);font-weight:500;font-size:.94rem}
.phone-pop a:hover{background:var(--bg-soft);color:var(--emerald-700)}
.phone-pop a svg{width:19px;height:19px;color:var(--emerald);flex:0 0 auto}
@media (max-width:560px){ .phone-num{display:none} .phone-menu summary{padding:8px 10px} }
/* Pill de status nativo (cor por estado) */
.status-live{cursor:pointer;transition:background .15s}
.status-live.is-up{color:var(--emerald-700);background:var(--bg-soft);border-color:#d3e6df}
.status-live.is-up .dot{background:var(--emerald);box-shadow:0 0 0 4px rgba(5,150,105,.18)}
.status-live.is-warn{color:#92600b;background:#fef6e7;border:1px solid #f5e2b8}
.status-live.is-warn .dot{background:#e0a010;box-shadow:0 0 0 4px rgba(224,160,16,.18)}
.status-live.is-down{color:#9b1c1c;background:#fdecec;border:1px solid #f5c2c2}
.status-live.is-down .dot{background:#dc2626;box-shadow:0 0 0 4px rgba(220,38,38,.18)}
.nav-toggle{display:none}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;gap:9px;
  padding:13px 22px;border-radius:12px;font-weight:600;font-size:.98rem;
  border:1px solid transparent;cursor:pointer;transition:transform .12s,box-shadow .15s,background .15s;
}
.btn svg{width:18px;height:18px}
.btn-primary{background:var(--emerald);color:#fff;box-shadow:0 8px 20px -8px rgba(5,150,105,.6)}
.btn-primary:hover{background:var(--emerald-600);transform:translateY(-1px)}
.btn-ghost{background:var(--white);color:var(--emerald-700);border-color:#cfe5dd}
.btn-ghost:hover{background:var(--bg-soft);transform:translateY(-1px)}

/* ---------- Hero ---------- */
.hero{position:relative;overflow:hidden;padding:96px 0 84px}
.hero::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background:
    radial-gradient(60% 55% at 78% 8%, rgba(5,150,105,.14), transparent 60%),
    radial-gradient(48% 45% at 8% 92%, rgba(3,130,106,.10), transparent 60%);
}
.hero .eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  color:var(--emerald-700);font-weight:600;font-size:.85rem;letter-spacing:.02em;
  background:var(--bg-soft);border:1px solid #d3e6df;padding:6px 12px;border-radius:999px;margin-bottom:22px;
}
.hero h1{
  font-size:clamp(2.1rem,5vw,3.4rem);line-height:1.1;letter-spacing:-.02em;margin:0 0 18px;max-width:16ch;
}
.hero h1 .accent{color:var(--emerald)}
.accent{color:var(--emerald)}
.hero p.lead{font-size:clamp(1.05rem,2.2vw,1.25rem);color:var(--slate);max-width:56ch;margin:0 0 32px}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px}

/* ---------- Sections ---------- */
section{padding:76px 0}
.section-head{max-width:60ch;margin:0 0 44px}
.section-head .kicker{color:var(--emerald);font-weight:700;font-size:.8rem;letter-spacing:.08em;text-transform:uppercase}
.section-head h2{font-size:clamp(1.6rem,3.4vw,2.2rem);letter-spacing:-.015em;margin:.4rem 0 .6rem}
.section-head p{color:var(--slate);margin:0}
.alt{background:var(--white);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
/* Destaque amarelo bem sutil, tipo acrílico fosco (translúcido, com leve brilho no topo). */
.section-highlight{
  background:
    radial-gradient(135% 115% at 50% -12%, rgba(146,64,14,.98), rgba(180,83,9,.92) 42%, rgba(217,119,6,.7) 70%, rgba(245,158,11,.4) 90%, transparent 98%),
    linear-gradient(180deg,#d97706,#f59e0b);
  border-top:1px solid rgba(90,40,10,.65);
  border-bottom:1px solid rgba(90,40,10,.65);
}
.section-highlight .kicker{color:#7a4f04}
.section-highlight .section-head h2{color:#fff;text-shadow:0 2px 12px rgba(80,40,4,.55)}
.section-highlight .section-head p{color:#fff;font-size:clamp(1.08rem,2.3vw,1.3rem);font-weight:500;
  line-height:1.55;text-shadow:0 1px 10px rgba(80,40,4,.5)}
.section-highlight .section-head p strong,
.section-highlight .section-head p em{color:#fff}

/* Destaque numérico */
.stats-band{background:var(--white);border-bottom:1px solid var(--line);padding:22px 0}
.stats-inner{text-align:center}
.stat{margin:0;font-size:clamp(1rem,2.1vw,1.2rem);color:var(--slate);font-weight:500;
  display:inline-flex;align-items:center;gap:10px}
.stat-num{font-size:clamp(1.5rem,3.6vw,2rem);font-weight:800;color:var(--emerald);letter-spacing:-.02em}
.stat-txt{font-style:italic;text-align:left}
.stat strong{color:var(--ink)}
/* Destaque numérico dentro do hero (no lugar do antigo botão) */
.hero-stat{display:flex;align-items:center;gap:16px;margin-top:26px;
  width:fit-content;margin-left:auto;
  padding:18px 28px 18px 24px;border-radius:18px;
  background:linear-gradient(135deg,rgba(5,150,105,.18),rgba(5,150,105,.06));
  -webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);
  border:1px solid rgba(5,150,105,.28);box-shadow:0 10px 28px -14px rgba(5,150,105,.5)}
.hero-stat .stat-num{font-size:clamp(2rem,5vw,3rem);font-weight:800;color:var(--emerald-700);
  letter-spacing:-.02em;line-height:1}
.hero-stat .stat-txt{font-style:normal;text-align:left;color:var(--emerald-700);
  font-size:clamp(1rem,2.3vw,1.25rem);line-height:1.22}
.hero-stat .stat-txt strong{color:var(--ink);font-style:normal}
@media (max-width:480px){ .hero-stat{width:100%;margin-left:0;padding:14px 18px;gap:12px} }

/* Sobre */
.about-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:44px;align-items:center}
.about-grid p{color:var(--slate);font-size:1.06rem;margin:0 0 16px}
.about-badges{display:flex;flex-wrap:nowrap;gap:10px;margin-top:8px}
.about-badges.badges-wrap{flex-wrap:wrap}
.about-badges.badges-center{justify-content:center;flex-wrap:nowrap;margin-top:34px}
@media (max-width:640px){ .about-badges.badges-center{flex-wrap:wrap} }
.badge{background:var(--bg-soft);border:1px solid #d3e6df;color:var(--emerald-700);
  padding:8px 14px;border-radius:999px;font-weight:600;font-size:.9rem;white-space:nowrap}
.about-visual{background:linear-gradient(160deg,var(--brand),var(--emerald));border-radius:var(--radius);
  padding:40px;display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow)}
.about-visual img{height:120px;width:auto;filter:drop-shadow(0 10px 20px rgba(0,0,0,.25))}

/* Serviços */
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:28px;
  box-shadow:var(--shadow);transition:transform .15s,box-shadow .2s}
.card:hover{transform:translateY(-4px);box-shadow:0 18px 40px -16px rgba(3,130,106,.32)}
/* Card do diferencial (gateways) em destaque */
.card-featured{border-color:var(--emerald);box-shadow:0 18px 40px -18px rgba(5,150,105,.45)}
.card-featured::before{content:"Diferencial";position:absolute;top:14px;right:14px;
  font-size:.68rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;
  color:#fff;background:var(--emerald);padding:4px 9px;border-radius:999px}
.card-featured{position:relative}
.card-featured .ico{background:var(--emerald);color:#fff}
.card .ico{width:46px;height:46px;border-radius:12px;display:grid;place-items:center;
  background:var(--bg-soft);color:var(--emerald-700);margin-bottom:18px}
.card .ico svg{width:24px;height:24px}
.section-highlight .card .ico{background:#fdf0d3;color:#b45309}
.highlight-footnote{margin:34px auto 0;text-align:center;max-width:none;color:#fff;
  font-size:1.1rem;font-style:italic;line-height:1.5;white-space:nowrap;
  text-shadow:0 1px 10px rgba(80,40,4,.5)}
@media (max-width:820px){ .highlight-footnote{white-space:normal;max-width:640px} }
.card h3{font-size:1.12rem;margin:0 0 8px}
.card p{color:var(--slate);font-size:.96rem;margin:0}

/* Portal — faixa premium em verde escuro */
.portal-band{background:linear-gradient(160deg,#04211b 0%,#053b30 45%,#03826a 100%);color:#eaf5f1;
  position:relative;overflow:hidden}
.portal-band::before{content:"";position:absolute;inset:0;z-index:0;
  background:radial-gradient(45% 55% at 88% 0%, rgba(126,224,195,.18), transparent 60%)}
.portal-band .wrap{position:relative;z-index:1}
.portal-band .kicker{color:#7ee0c3}
.portal-band h2{color:#fff}
.portal-head{max-width:64ch;margin-bottom:40px}
.portal-band .section-head p{color:#c6e6db}
.portal-band .section-head p strong{color:#fff}
.portal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.portal-item{display:flex;gap:14px;align-items:flex-start;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);
  border-radius:14px;padding:20px;transition:transform .15s,background .2s}
.portal-item:hover{transform:translateY(-3px);background:rgba(255,255,255,.1)}
.portal-item .pico{width:42px;height:42px;flex:0 0 auto;border-radius:11px;display:grid;place-items:center;
  background:rgba(126,224,195,.16);color:#7ee0c3}
.portal-item .pico svg{width:22px;height:22px}
.portal-item h3{margin:0 0 5px;font-size:1.05rem;color:#fff}
.portal-item p{margin:0;font-size:.93rem;color:#c6e6db}
@media (max-width:900px){ .portal-grid{grid-template-columns:repeat(2,1fr)} }
@media (max-width:640px){ .portal-grid{grid-template-columns:1fr} }

/* Ícone (SVG) dentro do card visual verde — ex.: seção NAT */
.about-visual svg{width:120px;height:120px;color:#fff;filter:drop-shadow(0 10px 20px rgba(0,0,0,.25))}

/* Nossos clientes */
.clients-head{text-align:center;max-width:none;margin:0 auto 40px}
.clients-row{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:center;gap:36px 52px}
.client{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;cursor:pointer}
.client:hover .client-logo{transform:translateY(-3px)}
img.client-logo{height:104px;width:auto;object-fit:contain;margin-bottom:6px;transition:transform .15s}
@media (max-width:640px){ .clients-row{gap:26px 34px} img.client-logo{height:76px} }
/* Nossos parceiros (infra hospedada) */
.partners{margin-top:60px;padding-top:36px;border-top:1px solid var(--line);text-align:center}
.partners-title{font-size:clamp(1.4rem,3vw,1.9rem);font-weight:700;letter-spacing:-.015em;
  color:var(--ink);margin:0 0 28px}
.partners-row{display:flex;flex-wrap:nowrap;align-items:center;justify-content:center;gap:22px 38px}
.partner-link{display:inline-flex;align-items:center;line-height:0;flex:0 0 auto}
img.partner-logo{flex:0 0 auto}
img.partner-logo{max-height:40px;max-width:132px;width:auto;height:auto;object-fit:contain;
  transition:transform .2s}
img.partner-logo:hover{transform:translateY(-3px)}
@media (max-width:760px){ .partners-row{flex-wrap:wrap} img.partner-logo{max-height:34px;max-width:120px} }

/* FAQ (acordeão nativo <details>) */
.faq-head{text-align:center;max-width:none;margin:0 auto 36px}
.faq-list{max-width:760px;margin:0 auto;display:flex;flex-direction:column;gap:12px}
.faq-item{background:var(--white);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}
.faq-item summary{list-style:none;cursor:pointer;font-weight:600;color:var(--ink);font-size:1.02rem;
  padding:16px 18px;display:flex;align-items:center;justify-content:space-between;gap:14px}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+";font-size:1.5rem;line-height:1;color:var(--emerald);font-weight:700;flex:0 0 auto}
.faq-item[open] summary::after{content:"\2212"}
.faq-item[open] summary{color:var(--emerald-700)}
.faq-item p{margin:0;padding:0 18px 18px;color:var(--slate);font-size:.98rem}

/* CTA — demonstração gratuita (faixa verde clara, centrada; parente do Portal mas distinta) */
.cta-band{background:linear-gradient(120deg,#03826a 0%,#059669 55%,#0aa17f 100%);color:#eafaf4;
  position:relative;overflow:hidden}
.cta-band::before{content:"";position:absolute;inset:0;z-index:0;
  background:radial-gradient(42% 70% at 85% 15%, rgba(255,255,255,.14), transparent 60%)}
.cta-inner{position:relative;z-index:1;text-align:center;max-width:720px;margin:0 auto}
.cta-eyebrow{display:inline-block;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.3);
  color:#fff;padding:6px 14px;border-radius:999px;font-size:.82rem;font-weight:600;letter-spacing:.02em;margin-bottom:18px}
.cta-band h2{color:#fff;font-size:clamp(1.8rem,4vw,2.6rem);letter-spacing:-.02em;margin:0 0 14px}
.cta-band p{color:#e2f5ee;font-size:1.1rem;margin:0 0 30px}
.cta-band p strong{color:#fff}
.btn-white{background:#fff;color:var(--emerald-700);box-shadow:0 12px 28px -12px rgba(0,0,0,.4)}
.btn-white:hover{background:#f2fbf8;transform:translateY(-2px)}
.cta-chips{display:flex;flex-wrap:wrap;gap:10px 24px;justify-content:center;margin-top:28px;
  color:#eafaf4;font-weight:500;font-size:.92rem}

/* Contato */
.contact{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.contact.contact-single{grid-template-columns:1fr;max-width:520px}
.contact-card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
  padding:30px;box-shadow:var(--shadow);display:flex;align-items:center;gap:18px}
.contact-card .ico{width:52px;height:52px;border-radius:14px;display:grid;place-items:center;
  background:var(--bg-soft);color:var(--emerald-700);flex:0 0 auto}
.contact-card .ico svg{width:26px;height:26px}
.contact-card .label{color:var(--slate);font-size:.85rem;text-transform:uppercase;letter-spacing:.05em}
.contact-card .value{font-size:1.15rem;font-weight:600}

/* ---------- Footer ---------- */
.site-footer{background:#0f1c17;color:#cdd8d3;padding:44px 0}
.footer-row{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.footer-row img{height:30px;opacity:.95}
.footer-row .muted{color:#8ba79c;font-size:.9rem}
.footer-center{display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center}
.footer-tagline{color:#dfeae5;font-size:.98rem;font-weight:500}
.footer-links{display:flex;gap:22px}
.footer-social{display:flex;gap:16px;align-items:center}
.footer-social img{height:26px;width:26px;object-fit:contain;opacity:.92;transition:transform .15s,opacity .15s}
.footer-social a:hover img{opacity:1;transform:translateY(-2px)}
.footer-links a{color:#cdd8d3;font-size:.92rem}
.footer-links a:hover{color:#fff}

/* ---------- Responsivo ---------- */
@media (max-width:900px){
  .cards{grid-template-columns:repeat(2,1fr)}
  .about-grid{grid-template-columns:1fr}
  .about-visual{order:-1}
  .contact{grid-template-columns:1fr}
}
@media (max-width:640px){
  .nav-links{display:none}
  .cards{grid-template-columns:1fr}
  .hero{padding:64px 0 52px}
  section{padding:52px 0}
  /* botões full-width p/ toque fácil */
  .hero-actions{flex-direction:column}
  .hero-actions .btn{width:100%;justify-content:center}
  .cta-inner .btn{width:100%;justify-content:center}
  /* badges do "Sobre" quebram (senão estouram a largura no celular) */
  .about-badges{flex-wrap:wrap}
  /* rodapé empilhado e centralizado */
  .footer-row{flex-direction:column;justify-content:center;text-align:center;gap:22px}
  .footer-social{justify-content:center}
  .footer-social a{padding:8px}   /* área de toque ~42px */
  .about-visual{padding:32px}
}
@media (max-width:480px){
  .wrap{padding:0 18px}
  .nav{height:60px}
  .brand img{height:30px}
  section{padding:40px 0}
  .hero{padding:48px 0 40px}
  .card{padding:22px}
  .portal-item{padding:16px}
  .about-visual{padding:26px}
  .about-visual img{height:92px}
  .about-visual svg{width:92px;height:92px}
}
/* Acessibilidade: respeita quem prefere menos animação */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important;animation:none!important}
  .card:hover,.client:hover .client-logo,.portal-item:hover,.partner-logo:hover,
  .btn:hover,.footer-social a:hover img,.status-live,.about-visual img{transform:none!important}
}

/* ===== Acessibilidade (WAI) ===== */
/* Pular para o conteúdo (teclado): escondido até receber foco */
.skip-link{position:fixed;top:-100px;left:12px;z-index:1000;background:var(--emerald);color:#fff;
  padding:10px 16px;border-radius:0 0 10px 10px;font-weight:600;text-decoration:none;transition:top .15s}
.skip-link:focus{top:0;outline:3px solid #052e22;outline-offset:2px}
/* Foco de teclado sempre visível (baseline, independente dos toggles) */
a:focus-visible,button:focus-visible,summary:focus-visible,[tabindex]:focus-visible{
  outline:3px solid var(--emerald);outline-offset:2px;border-radius:4px}
#conteudo:focus{outline:none}

/* Estados aplicados via classe em <html> (JS toggla; filtros de cor vão no #page via CSSOM) */
html.a11y-spacing p,html.a11y-spacing li,html.a11y-spacing .lead,html.a11y-spacing h1,
html.a11y-spacing h2,html.a11y-spacing h3{line-height:1.9!important;letter-spacing:.04em;word-spacing:.12em}
html.a11y-links a{text-decoration:underline!important;text-underline-offset:3px;
  outline:1px solid currentColor;outline-offset:2px;border-radius:2px}
html.a11y-nomotion *,html.a11y-nomotion *::before,html.a11y-nomotion *::after{
  animation:none!important;transition:none!important;scroll-behavior:auto!important}

/* Barra-guia de leitura (segue o mouse; no body, fora do #page) */
.a11y-guide-bar{position:fixed;left:0;right:0;top:0;height:34px;margin-top:-17px;z-index:990;pointer-events:none;
  background:rgba(5,150,105,.12);border-top:2px solid var(--emerald);border-bottom:2px solid var(--emerald)}

/* Widget: balão + painel (inferior-direito) */
.a11y-widget{position:fixed;right:20px;bottom:20px;z-index:999}
.a11y-fab{width:56px;height:56px;border-radius:50%;border:none;cursor:pointer;
  background:#111827;color:#fff;display:grid;place-items:center;
  box-shadow:0 8px 24px -6px rgba(0,0,0,.45);transition:transform .15s,background .15s}
.a11y-fab:hover{background:#000;transform:translateY(-2px)}
.a11y-fab svg{width:30px;height:30px}
.a11y-panel{position:absolute;right:0;bottom:70px;width:280px;background:var(--white);
  border:1px solid var(--line);border-radius:16px;box-shadow:0 20px 48px -16px rgba(15,28,23,.35);
  padding:16px}
.a11y-panel[hidden]{display:none}
.a11y-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.a11y-head strong{font-size:1.05rem;color:var(--ink)}
.a11y-close{border:none;background:var(--bg-soft);color:var(--slate);width:30px;height:30px;border-radius:8px;
  cursor:pointer;font-size:1rem;line-height:1}
.a11y-close:hover{background:#e3ece9;color:var(--ink)}
.a11y-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.a11y-opt{border:1px solid var(--line);background:var(--white);color:var(--ink);border-radius:10px;
  padding:10px 8px;font-size:.85rem;font-weight:500;cursor:pointer;text-align:center;
  transition:background .12s,border-color .12s}
.a11y-opt:hover{background:var(--bg-soft);border-color:#cfe5dd}
.a11y-opt.is-on{background:var(--emerald);border-color:var(--emerald);color:#fff}
.a11y-reset{width:100%;margin-top:12px;border:1px solid var(--line);background:var(--white);color:var(--slate);
  border-radius:10px;padding:10px;font-weight:600;cursor:pointer}
.a11y-reset:hover{background:var(--bg-soft);color:var(--ink)}
.a11y-note{margin:10px 0 0;font-size:.72rem;color:var(--slate);text-align:center}
@media (max-width:480px){
  .a11y-widget{right:14px;bottom:14px}
  .a11y-fab{width:50px;height:50px}
  .a11y-panel{width:min(280px,calc(100vw - 28px))}
}

/* Sticky footer: quando a página é curta, empurra o rodapé p/ o fim (não fica flutuando no meio). */
#page{display:flex;flex-direction:column;min-height:100vh}
.site-footer{margin-top:auto}

/* ================= Página de transparência (/transparencia) ================= */
.tp-main{padding:56px 0 72px}
.tp-hero{display:flex;align-items:center;justify-content:space-between;gap:28px;margin:0 0 34px}
.tp-hero-text{max-width:60ch}
.tp-hero-mark{flex:0 0 auto;background:linear-gradient(160deg,var(--brand),var(--emerald));
  border-radius:var(--radius);padding:26px;display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow)}
.tp-hero-mark img{height:84px;width:auto;filter:drop-shadow(0 10px 20px rgba(0,0,0,.25))}
@media (max-width:640px){ .tp-hero{flex-direction:column-reverse;align-items:flex-start;gap:18px} .tp-hero-mark{padding:20px} .tp-hero-mark img{height:64px} }
.tp-eyebrow{display:inline-block;color:var(--emerald-700);font-weight:700;font-size:.78rem;
  letter-spacing:.08em;text-transform:uppercase;background:var(--bg-soft);border:1px solid #d3e6df;
  padding:5px 12px;border-radius:999px;margin-bottom:16px}
.tp-hero h1{font-size:clamp(1.9rem,4.4vw,2.9rem);line-height:1.12;letter-spacing:-.02em;margin:0 0 14px}
.tp-lead{font-size:clamp(1.02rem,2.1vw,1.18rem);color:var(--slate);margin:0}
.tp-lead-note{display:block;margin-top:6px;font-size:.9em;font-style:italic;color:var(--slate);opacity:.85}

/* Selo "Ao vivo" + carimbo de atualização */
.tp-live{display:flex;align-items:center;gap:10px;margin:0 0 18px;flex-wrap:wrap}
.tp-live-badge{display:inline-flex;align-items:center;gap:7px;background:#e9f7ef;border:1px solid #c2e8d2;
  color:var(--emerald-700);font-weight:800;font-size:.76rem;letter-spacing:.06em;text-transform:uppercase;
  padding:5px 12px;border-radius:999px}
.tp-live-dot{width:8px;height:8px;border-radius:50%;background:var(--emerald);
  box-shadow:0 0 0 0 rgba(5,150,105,.5);animation:tp-pulse 1.6s ease-out infinite}
.tp-live-upd{font-size:.82rem;color:var(--slate)}
@keyframes tp-pulse{0%{box-shadow:0 0 0 0 rgba(5,150,105,.5)}70%{box-shadow:0 0 0 9px rgba(5,150,105,0)}100%{box-shadow:0 0 0 0 rgba(5,150,105,0)}}
/* Flash quando os dados atualizam ao vivo (anel, não altera o fundo do card) */
@keyframes tp-flash-anim{0%{box-shadow:0 0 0 3px rgba(5,150,105,.45)}100%{box-shadow:0 0 0 3px rgba(5,150,105,0)}}
.tp-flash{animation:tp-flash-anim .9s ease-out;border-radius:var(--radius)}
@media (prefers-reduced-motion:reduce){ .tp-live-dot{animation:none} .tp-flash{animation:none} }

/* Abas de período */
.tp-tabs{display:inline-flex;gap:4px;background:var(--bg-soft);border:1px solid var(--line);
  border-radius:999px;padding:4px;margin:0 0 26px}
.tp-tab{border:0;background:transparent;color:var(--slate);font-weight:600;font-size:.9rem;
  padding:8px 16px;border-radius:999px;cursor:pointer;transition:background .15s,color .15s}
.tp-tab:hover{color:var(--emerald-700)}
.tp-tab.is-active{background:var(--white);color:var(--emerald-700);box-shadow:0 1px 2px rgba(16,24,40,.08)}

/* Estado vazio / coletando */
.tp-empty{background:var(--white);border:1px dashed #cfe5dd;border-radius:var(--radius);
  padding:34px 24px;text-align:center;color:var(--slate)}
.tp-empty p{margin:0}

/* Cartões */
.tp-hero-card{background:linear-gradient(180deg,#ffffff,#f4faf7);border:1px solid var(--line);
  border-radius:20px;box-shadow:var(--shadow);padding:30px 28px;margin:0 0 18px;
  display:flex;flex-direction:column;gap:6px}
.tp-big{font-size:clamp(2.6rem,7vw,4rem);line-height:1;letter-spacing:-.03em;color:var(--emerald-700);font-weight:800}
.tp-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.tp-card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
  padding:20px 18px;display:flex;flex-direction:column;gap:5px}
.tp-card-accent{background:var(--bg-soft);border-color:#d3e6df}
.tp-num{font-size:clamp(1.5rem,3.4vw,2.1rem);line-height:1;letter-spacing:-.02em;color:var(--ink);font-weight:800}
.tp-card-accent .tp-num{color:var(--emerald-700)}
.tp-card-label{font-size:.78rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--slate)}
.tp-card-bad{background:#fef6e7;border-color:#f5e2b8}
.tp-card-bad .tp-num{color:#b45309}
.tp-goal-badge{display:inline-block;margin-left:6px;font-size:.6rem;font-weight:800;letter-spacing:.06em;
  text-transform:uppercase;color:#fff;background:var(--emerald);padding:2px 7px;border-radius:999px;vertical-align:middle}
.tp-card-sub{font-size:.82rem;color:var(--slate)}

/* Sparkline */
.tp-metrics{padding:0}
.tp-chart{margin:18px 0 0;background:var(--white);border:1px solid var(--line);
  border-radius:var(--radius);padding:18px 22px 12px}
.tp-chart-head{margin:0 0 10px}
.tp-spark{width:100%;height:150px}
.tp-spark-svg{width:100%;height:150px;display:block;overflow:visible}
.tp-spark-line{fill:none;stroke:var(--emerald);stroke-width:2.5;
  stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.tp-spark-area{fill:rgba(5,150,105,.10);stroke:none}
.tp-spark-dot{fill:var(--emerald);stroke:#fff;stroke-width:2}

/* Atendimentos por horário */
.tp-hours-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.tp-hours-total{font-size:.9rem;font-weight:700;color:var(--emerald-700)}
.tp-hours{display:flex;align-items:flex-end;gap:3px;height:168px}
.tp-hcol{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%}
.tp-hcol-day{box-shadow:-1px 0 0 var(--line)}
.tp-hbar{width:100%;min-height:3px;background:var(--emerald);border-radius:3px 3px 0 0;opacity:.9;
  display:flex;justify-content:center;align-items:flex-start}
.tp-hbar-num{color:#fff;font-weight:800;font-size:.95rem;line-height:1;padding-top:5px;
  text-shadow:0 1px 2px rgba(0,0,0,.35)}
.tp-hcol:hover .tp-hbar{opacity:1}
.tp-hours-axis{position:relative;height:14px;margin-top:6px}
.tp-hours-axis span{position:absolute;transform:translateX(-50%);font-size:.6rem;color:var(--slate);white-space:nowrap}

/* Gateways em nuvem */
.tp-gw{margin:16px 0 0}
.tp-gw h2{font-size:clamp(1.9rem,4.4vw,2.9rem);line-height:1.12;letter-spacing:-.02em;color:var(--ink);margin:0 0 12px}
.tp-gw-lead{font-size:clamp(1.02rem,2.1vw,1.18rem);color:var(--slate);margin:0 0 28px;max-width:70ch}
.tp-gw-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.tp-gw-card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:20px}
.tp-gw-name{font-weight:800;color:var(--emerald-700);font-size:1.02rem;margin:0 0 14px}
.tp-gw-off{color:var(--slate);font-size:.9rem}
.tp-gw-row{margin:0 0 12px}
.tp-gw-row:last-child{margin-bottom:0}
.tp-gw-rowhead{display:flex;justify-content:space-between;align-items:baseline;margin:0 0 5px}
.tp-gw-rowhead span:first-child{font-size:.82rem;font-weight:600;color:var(--slate)}
.tp-gw-pct{font-size:1rem;font-weight:800;color:var(--ink)}
.tp-gw-bar{height:9px;background:var(--bg-soft);border:1px solid var(--line);border-radius:999px;overflow:hidden}
.tp-gw-fill{height:100%;background:var(--emerald);border-radius:999px;transition:width .3s}
.tp-gw-fill.is-warn{background:#e0a010}
.tp-gw-fill.is-crit{background:#dc2626}
.tp-gw-ver{display:flex;justify-content:space-between;align-items:baseline;margin-top:12px;font-size:.82rem}
.tp-gw-ver span:first-child{font-weight:600;color:var(--slate)}
.tp-gw-ver-val{font-weight:700;color:var(--ink)}
@media (max-width:560px){ .tp-gw-grid{grid-template-columns:1fr} }

/* Ranking de roteadores — pódio */
.tp-rank{margin:16px 0 0}
.tp-rank h2{font-size:clamp(1.9rem,4.4vw,2.9rem);line-height:1.12;letter-spacing:-.02em;color:var(--ink);
  margin:0 0 40px}
.tp-pod-imglink{display:block;margin:0 0 8px}
.tp-pod-img{width:100%;height:88px;object-fit:contain;transition:transform .15s}
.tp-pod-imglink:hover .tp-pod-img{transform:scale(1.06)}
.tp-podium{display:flex;align-items:flex-end;justify-content:center;gap:14px;max-width:640px;margin:0 auto}
.tp-pod{flex:1 1 0;max-width:200px;display:flex;flex-direction:column;align-items:center}
.tp-pod-card{width:100%;background:var(--white);border:1px solid var(--line);border-radius:12px;
  box-shadow:var(--shadow);padding:14px 10px;margin-bottom:10px;text-align:center;
  display:flex;flex-direction:column;gap:2px}
.tp-pod-medal{font-size:1.7rem;line-height:1}
.tp-pod-name{font-weight:800;color:var(--ink);font-size:1rem;line-height:1.2}
.tp-pod-model{font-size:.8rem;color:var(--slate)}
.tp-pod-bar{width:100%;border-radius:10px 10px 0 0;color:#fff;font-weight:900;font-size:1.6rem;
  display:flex;align-items:flex-start;justify-content:center;padding-top:12px;
  text-shadow:0 2px 6px rgba(0,0,0,.3)}
.tp-pod-1 .tp-pod-bar{height:150px;background:linear-gradient(180deg,#f4d160,#d4a017)}
.tp-pod-2 .tp-pod-bar{height:112px;background:linear-gradient(180deg,#d3dbe6,#94a3b8)}
.tp-pod-3 .tp-pod-bar{height:84px;background:linear-gradient(180deg,#e2a970,#b06a2e)}
@media (max-width:480px){
  .tp-podium{gap:8px}
  .tp-pod-medal{font-size:1.4rem}
  .tp-pod-name{font-size:.86rem}
  .tp-pod-model{font-size:.72rem}
  .tp-pod-1 .tp-pod-bar{height:120px} .tp-pod-2 .tp-pod-bar{height:90px} .tp-pod-3 .tp-pod-bar{height:68px}
}

/* Status da rede (verde igual à faixa do Portal na home) */
.tp-status{margin:22px 0 0;background:linear-gradient(160deg,#04211b 0%,#053b30 45%,#03826a 100%);
  border-radius:var(--radius);padding:26px 28px;display:flex;align-items:center;justify-content:space-between;
  gap:20px;flex-wrap:wrap}
.tp-status-text h2{color:#fff;font-size:1.2rem;margin:0 0 4px}
.tp-status-text p{color:#c6e6db;margin:0;font-size:.95rem;max-width:46ch}
.tp-status-btn{display:inline-flex;align-items:center;gap:10px;background:#fff;color:var(--emerald-700);
  font-weight:700;font-size:.95rem;padding:12px 20px;border-radius:12px;white-space:nowrap;
  transition:transform .12s,box-shadow .15s}
.tp-status-btn:hover{transform:translateY(-1px);box-shadow:0 10px 24px -12px rgba(0,0,0,.5)}
.tp-status-ico{width:20px;height:20px;object-fit:contain;flex:0 0 auto}
@media (max-width:560px){ .tp-status{flex-direction:column;align-items:flex-start} .tp-status-btn{width:100%;justify-content:center} }

.nav-cta{display:inline-flex;align-items:center;padding:7px 14px;border-radius:999px;font-size:.85rem;
  font-weight:600;color:var(--emerald-700);background:var(--bg-soft);border:1px solid #d3e6df;white-space:nowrap;
  transition:background .15s}
.nav-cta:hover{background:#e2f1ec}

/* Balão-dica Downdetector (mesmo layout do Status, em vermelho da paleta) */
.tp-dd{margin:14px 0 0;background:linear-gradient(160deg,#4a0d0d 0%,#7f1d1d 45%,#b91c1c 100%);
  border-radius:var(--radius);padding:26px 28px;display:flex;align-items:center;justify-content:space-between;
  gap:20px;flex-wrap:wrap}
.tp-dd-text h2{color:#fff;font-size:1.2rem;margin:0 0 4px}
.tp-dd-text p{color:#f3d6d6;margin:0;font-size:.95rem;max-width:52ch}
.tp-dd-btn{display:inline-flex;align-items:center;gap:10px;background:#fff;color:#b91c1c;font-weight:700;
  font-size:.95rem;padding:12px 20px;border-radius:12px;white-space:nowrap;transition:transform .12s,box-shadow .15s}
.tp-dd-btn:hover{transform:translateY(-1px);box-shadow:0 10px 24px -12px rgba(0,0,0,.5)}
.tp-dd-dot{width:9px;height:9px;border-radius:50%;background:#dc2626;box-shadow:0 0 0 4px rgba(220,38,38,.25)}
@media (max-width:560px){ .tp-dd{flex-direction:column;align-items:flex-start} .tp-dd-btn{width:100%;justify-content:center} }

/* Metodologia — card branco destacado */
.tp-method{margin:18px 0 0;color:var(--slate);background:var(--white);border:1px solid var(--line);
  border-radius:var(--radius);padding:22px 24px}
.tp-method h2{font-size:1.15rem;color:var(--ink);margin:0 0 12px}
.tp-method ul{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:8px}
.tp-method li{line-height:1.55}
.tp-method .muted{color:var(--slate)}

@media (max-width:820px){ .tp-grid{grid-template-columns:repeat(2,1fr)} }
@media (max-width:480px){
  .tp-main{padding:38px 0 56px}
  .tp-tabs{display:flex;width:100%}
  .tp-tab{flex:1;text-align:center;padding:9px 8px}
  .tp-grid{grid-template-columns:1fr 1fr;gap:10px}
  .tp-hero-card{padding:24px 20px}
}
