/* Thatiana Oliveira — estilos complementares ao Tailwind (linha visual do site atual) */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; }
[x-cloak] { display: none !important; }
[id] { scroll-margin-top: 110px; }
img { max-width: 100%; }

/* Ícones com traço fino (peso 200), como no site atual */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 24;
  display: inline-block; vertical-align: middle; line-height: 1;
  max-width: 1em; overflow: hidden; flex-shrink: 0;
}

/* Header em pílula com glassmorphism */
.header-glass {
  background: rgba(10, 17, 40, 0.5);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(224, 215, 255, 0.15);
}
.header-glass.is-scrolled { background: rgba(10, 17, 40, 0.8); }
.nav-link {
  display: inline-flex; align-items: center; gap: 2px; min-height: 44px; padding: 0 .85rem;
  font-family: Lato, sans-serif; font-weight: 700; font-size: 11px; letter-spacing: .15em;
  text-transform: uppercase; color: rgba(255, 255, 255, .8); transition: color .2s;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: #E0D7FF; }

/* Cards */
.glass-light {
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 214, 232, 0.3);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.glass-card-dark {
  background: rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 194, 226, 0.12);
  box-shadow: 0 8px 32px 0 rgba(10, 17, 40, 0.2);
}
.mesh-gradient-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-color: #0A1128;
  background-image:
    radial-gradient(at 0% 0%, rgba(224, 215, 255, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(255, 194, 226, 0.12) 0px, transparent 50%),
    radial-gradient(at 50% 100%, rgba(224, 215, 255, 0.08) 0px, transparent 50%),
    radial-gradient(at 85% 90%, rgba(139, 124, 255, 0.14) 0px, transparent 45%);
}
.mesh-gradient-bg::after, .tech-grid {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(224, 215, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224, 215, 255, .07) 1px, transparent 1px);
  background-size: 48px 48px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 25% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 25% 30%, #000 0%, transparent 75%);
}

/* Painéis de dados (ilustrativos) */
.panel-dark {
  background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(139, 124, 255, .28);
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.panel-light {
  background: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(139, 124, 255, .25);
}
.rank-top { background: rgba(139, 124, 255, .16); box-shadow: inset 0 0 0 1px rgba(139, 124, 255, .45); }
.pulse-dot { animation: pulso 2s ease-in-out infinite; }
@keyframes pulso { 0%, 100% { box-shadow: 0 0 0 0 rgba(139, 124, 255, .6); } 50% { box-shadow: 0 0 0 6px rgba(139, 124, 255, 0); } }
.float-card { animation: flutuar 7s ease-in-out infinite; }
.float-2 { animation-delay: -2.3s; }
.float-3 { animation-delay: -4.6s; }
@keyframes flutuar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Linha do tempo das etapas */
.tl-marker {
  position: absolute; left: 0; top: 0; z-index: 1; width: 40px; height: 40px; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; font-weight: 600;
  background: #fff; color: #0A1128; border: 1px solid rgba(198, 198, 205, .8);
  transition: background-color .4s, color .4s, border-color .4s, box-shadow .4s;
}
.tl-item::before {
  content: ''; position: absolute; left: 19.5px; top: 40px; bottom: -20px; width: 1px;
  background: rgba(198, 198, 205, .8); transition: background .6s;
}
.tl-item:last-child::before { display: none; }
.tl-item.is-on .tl-marker { background: #0A1128; color: #E0D7FF; border-color: #8B7CFF; box-shadow: 0 0 0 5px rgba(139, 124, 255, .18), 0 0 18px rgba(139, 124, 255, .45); }
.tl-item.is-on::before { background: linear-gradient(#8B7CFF, rgba(198, 198, 205, .8)); }
@media (min-width: 1024px) {
  .tl-item::before { left: 40px; right: -20px; top: 19.5px; bottom: auto; width: auto; height: 1px; }
  .tl-item.is-on::before { background: linear-gradient(90deg, #8B7CFF, rgba(198, 198, 205, .8)); }
  .tl-item.fim-linha::before { display: none; }
}

/* Revelação ao rolar (só com JS ativo) */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Brilho que segue o mouse nos cards de serviço */
.glow-card { position: relative; isolation: isolate; }
.glow-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(139, 124, 255, .14), transparent 60%);
}
.glow-card:hover::after { opacity: 1; }

/* Hero: foto à direita com máscara em degradê */
.hero-mask { background: linear-gradient(to top, rgba(10,17,40,.96) 0%, rgba(10,17,40,.75) 45%, rgba(10,17,40,.55) 100%); }
@media (min-width: 1024px) {
  .hero-mask { background: linear-gradient(to right, #0A1128 0%, #0A1128 54%, rgba(10,17,40,.9) 60%, rgba(10,17,40,0) 82%); }
}

/* Botões */
.btn-premium { transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s cubic-bezier(.4,0,.2,1), background-color .2s; }
.btn-premium:hover { transform: translateY(-2px); box-shadow: 0 10px 25px -5px rgba(224, 215, 255, 0.4); }
.btn-premium-outline:hover { box-shadow: 0 10px 25px -5px rgba(255, 194, 226, 0.15); }

/* Rótulos */
.eyebrow {
  display: block; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.25rem; line-height: 1.5;
}
.eyebrow::before {
  content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 1px;
  background: #8B7CFF; margin-right: .7em; vertical-align: .12em; box-shadow: 0 0 10px rgba(139, 124, 255, .7);
}
.pill {
  display: inline-flex; align-items: center; border-radius: 9999px; padding: .25rem .75rem;
  background: rgba(224, 215, 255, .45); color: #0A1128;
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
}
.card-link {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #0A1128;
}
.card-link:hover { color: rgba(10, 17, 40, .7); }
.text-on-surface-variant strong { color: #0A1128; font-weight: 700; }

/* Texto longo (posts e política) */
.prose-post { color: #45464D; font-size: 17px; line-height: 1.75; }
.prose-post > p, .prose-post > ul, .prose-post > ol { margin: 0 0 1.35rem; }
.prose-post h2 { font-family: Lato, sans-serif; font-weight: 900; font-size: 28px; line-height: 1.2; color: #0A1128; margin: 2.75rem 0 1rem; }
.prose-post h3 { font-family: Lato, sans-serif; font-weight: 700; font-size: 20px; color: #0A1128; margin: 2rem 0 .75rem; }
.prose-post ul { list-style: disc; padding-left: 1.4rem; }
.prose-post ol { list-style: decimal; padding-left: 1.4rem; }
.prose-post li { margin: .45rem 0; padding-left: .2rem; }
.prose-post li::marker { color: #0A1128; }
.prose-post strong { color: #0A1128; }
.prose-post a { color: #0A1128; font-weight: 600; text-decoration: underline; text-decoration-color: #C9BEF5; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose-post a:hover { text-decoration-color: #0A1128; }
.prose-post a.btn-premium { color: #fff; text-decoration: none; font-weight: 700; }
.prose-legal h2 { font-size: 22px; }
@media (min-width: 768px) { .prose-post { font-size: 18px; } }

/* Sumário do post */
.toc-link { display: flex; align-items: center; min-height: 44px; padding: .35rem 0 .35rem .9rem; border-left: 2px solid rgba(198, 198, 205, .5); color: #45464D; font-size: 15px; line-height: 1.4; transition: color .2s, border-color .2s; }
.toc-link:hover, .toc-link.is-active { color: #0A1128; border-color: #0A1128; }
details[open] .toc-chevron { transform: rotate(180deg); }
details > summary::-webkit-details-marker { display: none; }

/* Filtros do blog */
.filtro { background: rgba(224, 215, 255, .45); color: #0A1128; }
.filtro[aria-pressed="true"] { background: #0A1128; color: #fff; }

/* Rolagem lateral sem barra (carrossel de depoimentos, filtros) */
.carrossel { scrollbar-width: none; }
.carrossel::-webkit-scrollbar { display: none; }

/* WhatsApp flutuante sobe enquanto a barra de cookies estiver visível (celular) */
@media (max-width: 639px) {
  body.cookie-visivel .wa-float { bottom: calc(var(--cookie-h, 180px) + 12px); }
}

/* Foco visível */
:focus-visible { outline: 2px solid #0A1128; outline-offset: 3px; box-shadow: 0 0 0 5px #E0D7FF; border-radius: 8px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn-premium:hover { transform: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .float-card, .pulse-dot { animation: none; }
}
