/* ==========================================================================
   ADEP CONTÁBIL DIGITAL - STYLESHEET EXCLUSIVO
   Identidade: Tech-Forward FinTech & Cyan Neon Glow (Teresópolis Digital)
   ========================================================================== */

:root {
  --primary-dark: #0a0e17;
  --secondary-dark: #111827;
  --card-dark: #162032;
  --card-border: rgba(14, 165, 233, 0.2);
  --accent-cyan: #0ea5e9;
  --accent-teal: #06b6d4;
  --accent-electric: #38bdf8;
  --glow-cyan: 0 0 25px rgba(14, 165, 233, 0.35);
  --text-white: #ffffff;
  --text-slate: #cbd5e1;
  --text-muted: #94a3b8;
  --bg-slate-light: #f8fafc;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  color: var(--text-slate);
  background-color: var(--primary-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   TECH TOPBAR & NAVIGATION
   ========================================================================== */
.tech-topbar {
  background: #060910;
  border-bottom: 1px solid rgba(14, 165, 233, 0.15);
  font-size: 0.82rem;
  padding: 0.5rem 0;
  color: var(--text-muted);
}

.topbar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.topbar-item svg {
  width: 14px;
  height: 14px;
  color: var(--accent-cyan);
}

.tech-navbar {
  background: rgba(10, 14, 23, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 84px;
}

.brand-tech {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-hex {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--accent-cyan), #0284c7);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: var(--glow-cyan);
}

.brand-hex svg {
  width: 26px;
  height: 26px;
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.1;
}

.brand-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-cyan);
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-slate);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
}

.btn-cyan {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #0284c7 100%);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 18px rgba(14, 165, 233, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(14, 165, 233, 0.6);
  color: #ffffff;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-glass:hover {
  background: rgba(14, 165, 233, 0.15);
  border-color: var(--accent-cyan);
  color: #ffffff;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #ffffff;
  cursor: pointer;
}

/* ==========================================================================
   HERO TECH-FORWARD
   ========================================================================== */
.hero-tech {
  padding: 5.5rem 0 6.5rem;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.15) 0%, transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.3);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-electric);
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-cyan);
}

.hero-h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.hero-h1 span {
  background: linear-gradient(135deg, #38bdf8, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-slate);
  margin-bottom: 2.2rem;
  max-width: 580px;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.75rem;
}

.badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-slate);
}

.badge-item svg {
  width: 17px;
  height: 17px;
  color: var(--accent-cyan);
}

/* Card do Hero */
.card-glass-form {
  background: rgba(22, 32, 50, 0.8);
  backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-form-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.card-form-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(10, 14, 23, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.92rem;
  color: #ffffff;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.25);
  background: rgba(10, 14, 23, 0.95);
}

/* ==========================================================================
   METRICS LIVE BAR
   ========================================================================== */
.metrics-live {
  background: var(--secondary-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2.75rem 0;
}

.metrics-flex {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.m-box {
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 1rem;
}

.m-box:last-child {
  border-right: none;
}

.m-val {
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.m-val span {
  color: var(--accent-cyan);
}

.m-lbl {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   SERVICES & CARDS
   ========================================================================== */
.section {
  padding: 5.5rem 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.75rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-cyan);
  background: rgba(14, 165, 233, 0.1);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.section-h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.tech-card {
  background: var(--card-dark);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.tech-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
}

.tech-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(14, 165, 233, 0.12);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.tech-icon svg {
  width: 28px;
  height: 28px;
}

.tech-h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.tech-desc {
  font-size: 0.92rem;
  color: var(--text-slate);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.tech-checklist {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.1rem;
  margin-bottom: 1.5rem;
}

.tech-check-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: var(--text-slate);
  margin-bottom: 0.45rem;
}

.tech-check-item svg {
  width: 15px;
  height: 15px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

/* ==========================================================================
   EXCLUSIVE CLOUD REGIME SIMULATOR
   ========================================================================== */
.sim-container {
  background: var(--card-dark);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 3.25rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.sim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.sim-output {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1.5px solid var(--accent-cyan);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--glow-cyan);
}

.out-badge {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.out-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.out-val {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--accent-electric);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.out-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   PILLARS & ADVANTAGES
   ========================================================================== */
.pillar-card {
  background: rgba(22, 32, 50, 0.6);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.pillar-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
}

.p-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: rgba(14, 165, 233, 0.3);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.p-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.p-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   STRIP TRUST SEALS
   ========================================================================== */
.trust-strip {
  background: #060910;
  padding: 3.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.t-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.t-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.t-text h4 {
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.t-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   ACCORDION FAQ
   ========================================================================== */
.faq-box {
  max-width: 820px;
  margin: 0 auto;
}

.faq-entry {
  background: var(--card-dark);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-btn {
  width: 100%;
  padding: 1.35rem 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  text-align: left;
  cursor: pointer;
}

.faq-caret {
  width: 20px;
  height: 20px;
  color: var(--accent-cyan);
  transition: transform 0.25s ease;
}

.faq-entry.active .faq-caret {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.6rem;
}

.faq-entry.active .faq-content {
  max-height: 350px;
  padding-bottom: 1.35rem;
}

.faq-content p {
  font-size: 0.92rem;
  color: var(--text-slate);
  line-height: 1.65;
}

/* ==========================================================================
   FOOTER (100% COMPLIANT BING ADS & RECEITA FEDERAL)
   ========================================================================== */
.footer-tech {
  background: #05070c;
  color: var(--text-slate);
  padding: 5.5rem 0 2rem;
  font-size: 0.9rem;
  border-top: 1px solid rgba(14, 165, 233, 0.3);
}

.footer-grid-4 {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-h4 {
  font-size: 1.08rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.5rem;
  position: relative;
  letter-spacing: -0.01em;
}

.footer-h4::after {
  content: '';
  position: absolute;
  bottom: -0.45rem;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent-cyan);
}

.cnpj-badge {
  display: inline-block;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid var(--accent-cyan);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-size: 0.84rem;
  color: var(--accent-electric);
}

.footer-menu li {
  margin-bottom: 0.8rem;
}

.footer-menu a {
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-menu a:hover {
  color: var(--accent-cyan);
  transform: translateX(4px);
}

.c-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1.15rem;
  color: var(--text-slate);
}

.c-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-sub {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: #64748b;
}

.legal-links {
  display: flex;
  gap: 1.5rem;
}

.legal-links a:hover {
  color: var(--accent-cyan);
}

/* ==========================================================================
   PÁGINAS INTERNAS
   ========================================================================== */
.inner-hero {
  background: linear-gradient(135deg, #0a0e17 0%, #162032 100%);
  color: #ffffff;
  padding: 4.5rem 0;
  text-align: center;
  border-bottom: 1px solid var(--card-border);
}

.inner-h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.inner-crumbs {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.inner-crumbs a {
  color: var(--accent-cyan);
}

.legal-box {
  background: var(--card-dark);
  border-radius: var(--radius-lg);
  padding: 3.25rem;
  border: 1px solid var(--card-border);
  max-width: 900px;
  margin: 0 auto;
}

.legal-box h2 {
  font-size: 1.45rem;
  color: #ffffff;
  margin: 2.2rem 0 1rem;
}

.legal-box p, .legal-box ul {
  font-size: 0.95rem;
  color: var(--text-slate);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.legal-box ul {
  padding-left: 1.6rem;
  list-style: disc;
}

/* ==========================================================================
   RESPONSIVIDADE (MOBILE & TABLETS)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid, .sim-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid-4 {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .metrics-flex {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 1.5rem;
  }
  .m-box:nth-child(2) {
    border-right: none;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .tech-topbar {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: absolute;
    top: 84px;
    left: 0;
    width: 100%;
    background: #0a0e17;
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--card-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    display: none;
  }
  .nav-menu.active {
    display: flex;
  }
  .grid-3, .trust-grid, .footer-grid-4, .metrics-flex {
    grid-template-columns: 1fr;
  }
  .m-box {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1rem;
  }
  .m-box:last-child {
    border-bottom: none;
  }
  .hero-h1 {
    font-size: 2.2rem;
  }
  .hero-tech {
    padding: 3.5rem 0 4.5rem;
  }
  .footer-sub {
    flex-direction: column;
    text-align: center;
  }
}
