/* ============================================
   INFINI SOLUTIONS — Design System
   ============================================ */

:root {
  --color-primary:    #4F46E5;
  --color-primary-d:  #3730A3;
  --color-accent:     #06B6D4;
  --color-bg:         #0F0F1A;
  --color-bg-card:    #16162A;
  --color-bg-card2:   #1E1E38;
  --color-text:       #E2E8F0;
  --color-muted:      #94A3B8;
  --color-border:     rgba(255,255,255,0.08);

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  40px;

  --shadow-card: 0 4px 32px rgba(0,0,0,0.4);

  --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

/* ── CONTAINER ─────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── BUTTONS ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}
.btn--primary:hover {
  background: var(--color-primary-d);
  transform: translateY(-2px);
}

.btn--outline {
  border-color: var(--color-border);
  color: var(--color-text);
}
.btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn--ghost {
  background: rgba(255,255,255,0.06);
  color: var(--color-text);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.12);
}

.btn--lg { padding: 16px 40px; font-size: 1.05rem; }

/* ── NAVBAR ─────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.navbar__logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar__links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
  transition: color var(--transition);
}

.navbar__links a:hover,
.navbar__links a.active {
  color: var(--color-primary);
}

.navbar__links .btn--outline {
  border-color: rgba(0, 0, 0, 0.15) !important;
  color: #334155 !important;
  background: transparent !important;
}

.navbar__links .btn--outline:hover {
  border-color: var(--color-primary) !important;
  color: var(--color-primary) !important;
  background: rgba(79, 70, 229, 0.04) !important;
}

/* Hamburguer Menu Button */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 110;
}

.navbar__hamburger span {
  width: 100%;
  height: 2px;
  background-color: #0f172a;
  transition: all var(--transition);
  border-radius: 2px;
}

.navbar__hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.navbar__hamburger.open span:nth-child(2) {
  opacity: 0;
}

.navbar__hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ── HERO ───────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 140px;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero__badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(79,70,229,0.2);
  border: 1px solid rgba(79,70,229,0.4);
  color: #A5B4FC;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: 1.15rem;
  color: var(--color-muted);
  max-width: 580px;
  margin-bottom: 40px;
}

.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* Formas de fundo decorativas */
.hero__bg-shapes { position: absolute; inset: 0; pointer-events: none; }

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
}

.shape--1 {
  width: 600px; height: 600px;
  background: var(--color-primary);
  top: -200px; right: -100px;
}

.shape--2 {
  width: 400px; height: 400px;
  background: var(--color-accent);
  bottom: -150px; left: 40%;
}

/* ── DIFERENCIAIS ───────────────────────────── */
.diferenciais {
  padding: 80px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.diferenciais__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.diferencial-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: var(--transition);
}

.diferencial-card:hover {
  border-color: rgba(79,70,229,0.4);
  transform: translateY(-4px);
}

.diferencial-card__icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.diferencial-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.diferencial-card p {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.5;
}

/* ── SECTION HEADER ─────────────────────────── */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--color-muted);
  font-size: 1.05rem;
}

/* ── SERVIÇOS ───────────────────────────────── */
.ajuda { padding: 120px 0; }

.servicos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.servico-card {
  display: block;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.servico-card:hover {
  border-color: rgba(79,70,229,0.5);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.servico-card--destaque {
  border-color: rgba(79,70,229,0.4);
  background: linear-gradient(135deg, rgba(79,70,229,0.12), rgba(6,182,212,0.06));
}

.servico-card__num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.servico-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.servico-card p {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.servico-card__link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* ── SOBRE ──────────────────────────────────── */
.sobre {
  padding: 120px 0;
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.sobre__inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}

.sobre__visual {
  text-align: center;
  background: var(--color-bg-card2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
}

.sobre__badge-big {
  font-size: 5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.sobre__badge-label {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-top: 8px;
}

.sobre__texto h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.sobre__texto p {
  color: var(--color-muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

.valores__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.valor {
  background: var(--color-bg-card2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.valor h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.valor p {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin: 0;
}

/* ── CTA BANNER ─────────────────────────────── */
.cta-banner {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(79,70,229,0.15) 0%, rgba(6,182,212,0.08) 100%);
  border-bottom: 1px solid var(--color-border);
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-banner p {
  color: var(--color-muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

/* ── FOOTER ─────────────────────────────────── */
.footer { padding: 64px 0 0; }

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--color-border);
}

.footer__brand .logo-infini,
.footer__brand .logo-solutions { font-size: 1.25rem; font-weight: 800; }

.footer__brand p {
  color: var(--color-muted);
  font-size: 0.875rem;
  margin-top: 12px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links h6 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 6px;
}

.footer__links a {
  font-size: 0.875rem;
  color: var(--color-muted);
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--color-text); }

.footer__copy {
  padding: 24px 0;
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* ─────────────────────────────────────────────
   PÁGINA INTERNA — Gestão de Redes
   ───────────────────────────────────────────── */

/* PAGE HERO */
.page-hero {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero__inner {
  position: relative;
  z-index: 2;
}

.page-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 32px;
  transition: color var(--transition);
}

.page-hero__back:hover { color: var(--color-text); }

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  max-width: 680px;
  margin-bottom: 20px;
}

.page-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 580px;
}

/* INTRO SPLIT */
.intro-split {
  padding: 80px 0;
  border-top: 1px solid var(--color-border);
}

.intro-split__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.intro-split__texto h2 {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.intro-split__texto p {
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.intro-split__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
}

.stat-card__num {
  font-size: 2.4rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card p {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin: 0;
}

/* SERVIÇOS REDES */
.redes-servicos {
  padding: 100px 0;
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.redes-servicos__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.redes-card {
  background: var(--color-bg-card2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  display: flex;
  gap: 24px;
  transition: var(--transition);
}

.redes-card:hover {
  border-color: rgba(79,70,229,0.45);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.redes-card__icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: rgba(79,70,229,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.redes-card__body h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.redes-card__body p {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.55;
}

/* PROCESSO */
.processo { padding: 100px 0; }

.processo__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 36px 28px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  counter-increment: step;
}

.step::before {
  content: "0" counter(step);
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.step h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.5;
}

/* ── DROPDOWN ────────────────────────────────── */
.dropdown { position: relative; }

.dropdown__trigger {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  transition: color var(--transition);
  font-family: var(--font-sans);
}

.dropdown__trigger:hover,
.dropdown__trigger.active { color: var(--color-primary); }

.dropdown__arrow {
  font-size: 0.6rem;
  transition: transform var(--transition);
  color: #334155;
}

.dropdown:hover .dropdown__arrow { transform: rotate(180deg); }

.dropdown__menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  padding: 8px;
  min-width: 230px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
  z-index: 200;
}

.dropdown:hover .dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown__menu a {
  display: block;
  padding: 10px 16px;
  font-size: 0.875rem;
  color: #475569;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

.dropdown__menu a:hover,
.dropdown__menu a.active {
  background: rgba(79,70,229,0.08);
  color: var(--color-primary);
}

/* RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1024px) {
  .diferenciais__grid { grid-template-columns: repeat(2, 1fr); }
  .servicos__grid     { grid-template-columns: repeat(2, 1fr); }
  .sobre__inner       { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner      { grid-template-columns: 1fr 1fr; }
  .intro-split__inner { grid-template-columns: 1fr; gap: 40px; }
  .processo__steps    { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hero { padding: 80px 0 100px; }
  .hero__cta { flex-direction: column; }

  .diferenciais__grid   { grid-template-columns: 1fr; }
  .servicos__grid       { grid-template-columns: 1fr; }
  .footer__inner        { grid-template-columns: 1fr; }
  .valores__grid        { grid-template-columns: 1fr; }
  .redes-servicos__grid { grid-template-columns: 1fr; }
  .processo__steps      { grid-template-columns: 1fr; }
  .intro-split__stats   { grid-template-columns: 1fr 1fr; }
}

/* ── WHATSAPP FLUTUANTE ─────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 62px;
  height: 62px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 36px rgba(37,211,102,0.65);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: wa-pulse 2.2s ease-out infinite;
  z-index: -1;
}

@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.85); opacity: 0; }
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: #fff;
  position: relative;
  z-index: 1;
}

/* ── THEME TOGGLE ────────────────────────────── */
.theme-toggle {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 999;
  width: 50px;
  height: 50px;
  background: var(--color-bg-card2);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
}

.theme-toggle:hover {
  transform: scale(1.12) translateY(-2px);
  border-color: var(--color-primary);
  box-shadow: 0 6px 24px rgba(79,70,229,0.3);
}

/* ── LIGHT MODE ──────────────────────────────── */
body.light-mode {
  --color-bg:       #F4F6FB;
  --color-bg-card:  #FFFFFF;
  --color-bg-card2: #EEF1F8;
  --color-text:     #0F172A;
  --color-muted:    #5A6480;
  --color-border:   rgba(0,0,0,0.09);
}

body.light-mode .navbar {
  background: #ffffff;
  border-bottom-color: rgba(0,0,0,0.08);
}

body.light-mode .hero__bg-shapes .shape { opacity: 0.06; }

body.light-mode .theme-toggle {
  background: #fff;
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

body.light-mode .whatsapp-float { box-shadow: 0 6px 24px rgba(37,211,102,0.35); }

/* ── NAVBAR THEME BUTTON ────────────────────── */
.navbar__theme-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  background: #f1f5f9;
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
  color: #0f172a;
}
.navbar__theme-btn:hover {
  border-color: var(--color-primary);
  background: rgba(79,70,229,0.08);
  transform: rotate(25deg) scale(1.1);
}

/* ── HERO SLIDER ────────────────────────────── */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
}

.slide {
  position: absolute;
  inset: 0;
  padding: 110px 0 100px;
  opacity: 0;
  transition: opacity 0.85s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
}
.slide.active {
  position: relative;
  inset: auto;
  opacity: 1;
  pointer-events: auto;
}

.slide__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.slide__content { max-width: 560px; }

.slide__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.slide__visual svg {
  width: 100%;
  max-width: 420px;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(79,70,229,0.15));
}

.slide__bg { position: absolute; inset: 0; pointer-events: none; }

/* Slide accent overrides */
.slide--2 .slide__bg .shape--1 { background: #0EA5E9; }
.slide--2 .slide__bg .shape--2 { background: #06B6D4; }
.slide--3 .slide__bg .shape--1 { background: #6366F1; }
.slide--3 .slide__bg .shape--2 { background: #818CF8; }
.slide--4 .slide__bg .shape--1 { background: #F97316; }
.slide--4 .slide__bg .shape--2 { background: #FBBF24; }

/* Slider controls */
.slider__controls {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 10;
}

.slider__btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}
.slider__btn:hover {
  background: rgba(79,70,229,0.25);
  border-color: var(--color-primary);
}

.slider__dots { display: flex; gap: 8px; align-items: center; }

.dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.22);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.dot.active {
  background: var(--color-primary);
  width: 26px;
}

body.light-mode .slider__btn { background: rgba(0,0,0,0.05); color: var(--color-text); }
body.light-mode .dot { background: rgba(0,0,0,0.18); }
body.light-mode .dot.active { background: var(--color-primary); }
body.light-mode .slide--4 .hero__title em { -webkit-text-fill-color: transparent; }

@media (max-width: 1024px) {
  .slide__inner { grid-template-columns: 1fr; }
  .slide__visual { display: none; }
  .slide { padding: 90px 0 90px; }
}
@media (max-width: 640px) {
  .slide { padding: 80px 0 80px; }
}

/* RESPONSIVE NAVBAR MOBILE (Max 800px) */
@media (max-width: 800px) {
  .navbar__hamburger {
    display: flex;
  }

  .navbar__links {
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    height: calc(100vh - 68px);
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding: 30px 24px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(-150%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    z-index: 99;
    overflow-y: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }

  .navbar__links.open {
    transform: translateY(0);
  }

  .navbar__links a:not(.btn) {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 1.15rem;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  }

  .dropdown {
    width: 100%;
    text-align: center;
  }

  .dropdown__trigger {
    width: 100%;
    justify-content: center;
    font-size: 1.15rem;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  }

  .dropdown__menu {
    position: static;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    background: #f8fafc !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: none;
    margin-top: 4px;
    width: 100%;
    padding: 4px;
    border-radius: var(--radius-sm);
  }

  .dropdown.open .dropdown__menu {
    display: block;
  }

  .dropdown:hover .dropdown__menu {
    transform: none !important;
  }

  .navbar__theme-btn {
    margin: 15px 0 5px;
  }

  .navbar__links .btn--outline {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 14px;
  }
}

/* ── CTA RÁPIDO (Abaixo do Banner Principal) ── */
.cta-rapido {
  background: var(--color-bg-card);
  border-bottom: 1px solid var(--color-border);
  padding: 28px 0;
  position: relative;
  z-index: 10;
}

.cta-rapido__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-rapido__content {
  max-width: 680px;
}

.cta-rapido__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.cta-rapido__text {
  font-size: 0.95rem;
  color: var(--color-muted);
}

.cta-rapido .btn {
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
}

@media (max-width: 768px) {
  .cta-rapido__inner {
    flex-direction: column;
    text-align: center;
  }
  .cta-rapido__content {
    max-width: 100%;
  }
}

/* ── SEÇÃO POR QUE ESCOLHER A INFINI ── */
.porque-escolher {
  padding: 120px 0;
  background: var(--color-bg);
}

.porque-escolher__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.porque-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.porque-card:hover {
  transform: translateY(-5px);
  border-color: rgba(79, 70, 229, 0.4);
  box-shadow: var(--shadow-card);
}

.porque-card__icon {
  font-size: 2.2rem;
  width: 64px;
  height: 64px;
  background: rgba(79, 70, 229, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
}

.porque-card__body h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}

.porque-card__body p {
  font-size: 0.92rem;
  color: var(--color-muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .porque-escolher__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .porque-card {
    flex-direction: column;
    gap: 16px;
    padding: 30px 24px;
  }
}

/* ── TABELAS COMPARATIVAS (BoFu) ── */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 40px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.table-compare {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
  background: var(--color-bg-card);
  min-width: 650px;
}

.table-compare th, 
.table-compare td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.table-compare th {
  background: var(--color-bg-card2);
  font-weight: 700;
  color: var(--color-text);
  font-size: 1rem;
}

.table-compare tr:last-child td {
  border-bottom: none;
}

.table-compare td.highlight {
  background: rgba(79, 70, 229, 0.08);
  font-weight: 600;
  border-left: 2px solid var(--color-primary);
  border-right: 2px solid var(--color-primary);
}

.table-compare th.highlight {
  background: var(--color-primary);
  color: #ffffff;
  border-left: 2px solid var(--color-primary);
  border-right: 2px solid var(--color-primary);
}

.compare-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.compare-badge--yes {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.compare-badge--no {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

body.light-mode .table-responsive {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

body.light-mode .table-compare td.highlight {
  background: rgba(79, 70, 229, 0.04);
}

/* ============================================
   BLOG OPERACIONAL (Fase 4)
   ============================================ */

.blog-section {
  padding: 80px 0 120px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 70, 229, 0.45);
  box-shadow: var(--shadow-card);
}

.blog-card__header {
  height: 160px;
  padding: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  position: relative;
  transition: filter var(--transition);
}

.blog-card__category {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.35);
  padding: 6px 12px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.blog-card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__date {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: 10px;
  display: block;
}

.blog-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--color-text);
  transition: color var(--transition);
}

.blog-card__title a:hover {
  color: var(--color-accent);
}

.blog-card__excerpt {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}

.blog-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition), transform var(--transition);
}

.blog-card__link:hover {
  color: var(--color-accent);
  transform: translateX(4px);
}

/* POST INDIVIDUAL */
.post-hero {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.post-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.post-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 32px;
  transition: color var(--transition);
}

.post-hero__back:hover {
  color: var(--color-text);
}

.post-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.post-meta {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.post-meta strong {
  color: var(--color-text);
}

.post-article {
  padding: 80px 0 120px;
}

.post-article__inner {
  max-width: 800px;
  margin: 0 auto;
}

.post-content {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--color-text);
}

.post-content p {
  margin-bottom: 24px;
}

.post-content h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-top: 56px;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  color: var(--color-text);
}

.post-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--color-text);
}

.post-content ul, 
.post-content ol {
  margin-left: 28px;
  margin-bottom: 28px;
}

.post-content li {
  margin-bottom: 10px;
  padding-left: 4px;
}

.post-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding: 16px 24px;
  background: var(--color-bg-card);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 32px 0;
  font-style: italic;
  color: var(--color-muted);
}

.post-content strong {
  color: #ffffff;
}

/* Light mode overrides for blog */
body.light-mode .blog-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

body.light-mode .blog-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body.light-mode .post-content strong {
  color: #0f172a;
}

body.light-mode .post-content blockquote {
  background: #ffffff;
}

/* Responsividade do Blog */
@media (max-width: 960px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   NOVOS CTAS E MODAL POPUP (AGENDAMENTO & WHATSAPP)
   ============================================ */

/* Novos estilos de botões */
.btn--whatsapp {
  background-color: #25D366 !important;
  color: #ffffff !important;
  border-color: #25D366 !important;
}
.btn--whatsapp:hover {
  background-color: #1ea851 !important;
  border-color: #1ea851 !important;
  transform: translateY(-2px);
}
.btn--whatsapp svg, .btn--meeting svg {
  flex-shrink: 0;
}

.btn--meeting {
  background-color: var(--color-primary) !important;
  color: #ffffff !important;
  border-color: var(--color-primary) !important;
}
.btn--meeting:hover {
  background-color: var(--color-primary-d) !important;
  border-color: var(--color-primary-d) !important;
  transform: translateY(-2px);
}

.btn--sm {
  padding: 8px 16px !important;
  font-size: 0.85rem !important;
  gap: 6px !important;
}

/* Container de botões CTAs lado a lado */
.cta-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Alinhamento nos banners e heros */
.cta-banner__inner .cta-group,
.hero__cta .cta-group,
.cta-rapido__inner .cta-group {
  justify-content: center;
  width: 100%;
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 26, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--color-bg-card2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 40px;
  max-width: 520px;
  width: 90%;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--color-muted);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text);
}

.modal-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: inline-block;
}

.modal-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.3;
  color: var(--color-text);
}

.modal-text {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.modal-note {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: 20px;
  display: block;
  line-height: 1.4;
}

.modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-buttons .btn {
  justify-content: center;
  width: 100%;
}

@media (min-width: 480px) {
  .modal-buttons {
    flex-direction: row;
    justify-content: center;
  }
  .modal-buttons .btn {
    width: auto;
    flex: 1;
  }
}

/* Sobrescrita em light-mode para o modal */
body.light-mode .modal-overlay {
  background: rgba(255, 255, 255, 0.85);
}
body.light-mode .modal-box {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}
body.light-mode .modal-title {
  color: #0f172a;
}
body.light-mode .modal-close-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #0f172a;
}
body.light-mode .modal-close-btn {
  color: #64748b;
}

