/* ============================================================
   eFact Painel de Gestão — Hotsite
   Design: Data Elegance (Swiss Modernism Digital)
   MIV: Navy #0D1B3E / Turquoise #00B4D8 / DM Sans
   100% local — sem dependências externas
   ============================================================ */

/* --- Font Face (local) --- */
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* --- CSS Variables --- */
:root {
  /* eFact MIV Colors */
  --efact-navy: #0D1B3E;
  --efact-navy-deep: #080F24;
  --efact-navy-medium: #162550;
  --efact-blue: #1A3A7A;
  --efact-turquoise: #00B4D8;
  --efact-turquoise-light: #33D4F0;
  --efact-turquoise-pale: #7AE5F5;

  /* Light Theme */
  --bg: #F7F8FC;
  --bg-alt: #FFFFFF;
  --bg-card: #FFFFFF;
  --text: #0D1B3E;
  --text-secondary: #4A5578;
  --text-muted: #7A8299;
  --border: #E2E5EF;
  --primary: #00B4D8;
  --primary-fg: #0D1B3E;
  --accent-red: #E53E3E;
  --accent-amber: #D69E2E;
  --shadow: 0 1px 3px rgba(13,27,62,0.08), 0 4px 12px rgba(13,27,62,0.04);
  --shadow-lg: 0 4px 20px rgba(13,27,62,0.1), 0 8px 32px rgba(13,27,62,0.06);
  --radius: 10px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
}

.dark {
  --bg: #0A0F1E;
  --bg-alt: #111827;
  --bg-card: #151D30;
  --text: #E8ECF4;
  --text-secondary: #A0AABF;
  --text-muted: #6B7590;
  --border: #1F2A42;
  --primary: #00B4D8;
  --primary-fg: #0A0F1E;
  --shadow: 0 1px 3px rgba(0,0,0,0.3), 0 4px 12px rgba(0,0,0,0.2);
  --shadow-lg: 0 4px 20px rgba(0,0,0,0.4), 0 8px 32px rgba(0,0,0,0.3);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background var(--transition), color var(--transition);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
input, select, textarea { font-family: inherit; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* --- Section Spacing --- */
section { padding: 5rem 0; }
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-title span { color: var(--primary); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.7;
}

/* --- Scroll Animation --- */
.anim {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.anim.visible { opacity: 1; transform: translateY(0); }
.anim.d1 { transition-delay: 0.1s; }
.anim.d2 { transition-delay: 0.2s; }
.anim.d3 { transition-delay: 0.3s; }
.anim.d4 { transition-delay: 0.4s; }
.anim.d5 { transition-delay: 0.5s; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10,15,30,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition);
}
:root:not(.dark) .navbar {
  background: rgba(247,248,252,0.9);
  border-bottom: 1px solid var(--border);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.35rem;
}
.nav-logo .logo-e { color: var(--primary); }
.nav-logo .logo-sub {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-left: 0.5rem;
}
.nav-links {
  display: none;
  gap: 1.75rem;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--primary); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.theme-toggle:hover { border-color: var(--primary); color: var(--primary); }
.btn-nav-cta {
  display: none;
  padding: 0.5rem 1.25rem;
  background: var(--primary);
  color: var(--primary-fg);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 8px;
  transition: all var(--transition);
}
.btn-nav-cta:hover { filter: brightness(1.1); transform: translateY(-1px); }
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
  z-index: 999;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .btn-nav-cta { display: inline-flex; }
  .hamburger { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: 7rem;
  padding-bottom: 4rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,180,216,0.1);
  border: 1px solid rgba(0,180,216,0.2);
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1.25rem;
}
.hero h1 span { color: var(--primary); display: block; }
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  background: var(--primary);
  color: var(--primary-fg);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: all var(--transition);
}
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,180,216,0.3); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border: 1.5px solid var(--border);
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: all var(--transition);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.hero-badges {
  display: flex;
  gap: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.hero-badges div {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-badges svg { width: 16px; height: 16px; color: var(--primary); }
.hero-visual {
  position: relative;
}
.hero-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}
.hero-float {
  position: absolute;
  bottom: -20px;
  left: -10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-lg);
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-float-icon {
  width: 40px;
  height: 40px;
  background: rgba(0,180,216,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.hero-float-label { font-size: 0.75rem; color: var(--text-muted); }
.hero-float-value { font-size: 1.1rem; font-weight: 700; color: var(--primary); }

@media (min-width: 768px) {
  .hero .container { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   PROBLEM
   ============================================================ */
.problem { background: var(--bg-alt); }
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.problem-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
}
.problem-icon.red { background: rgba(229,62,62,0.1); color: var(--accent-red); }
.problem-icon.amber { background: rgba(214,158,46,0.1); color: var(--accent-amber); }
.problem-icon.blue { background: rgba(0,180,216,0.1); color: var(--primary); }
.problem-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
.problem-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 0.75rem; }
.problem-pain { font-size: 0.8rem; font-weight: 600; color: var(--accent-red); }

@media (min-width: 768px) { .problem-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   SOLUTION
   ============================================================ */
.solution-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
}
.solution-top p { color: var(--text-secondary); line-height: 1.7; margin-top: 1rem; }
.solution-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(0,180,216,0.3); }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0,180,216,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; }
.feature-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }

@media (min-width: 768px) {
  .solution-top { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   COMPARE
   ============================================================ */
.compare { background: var(--bg-alt); }
.compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.compare-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.compare-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.compare-card.recommended {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), var(--shadow-lg);
}
.compare-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary);
  color: var(--primary-fg);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.compare-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0,180,216,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
}
.compare-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.25rem; }
.compare-card .subtitle { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; }
.compare-card .desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.5rem; }
.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 0.4rem 0;
}
.compare-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

@media (min-width: 768px) { .compare-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   FLOW
   ============================================================ */
.flow-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 3rem;
}
.flow-step {
  text-align: center;
  position: relative;
}
.flow-step-num {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(0,180,216,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
  margin: 0 auto 1rem;
}
.flow-step h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.flow-step p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.5; max-width: 200px; margin: 0 auto; }
.flow-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 400px;
}
.flow-banner img { width: 100%; object-fit: cover; }
.flow-banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
}
.flow-banner-overlay h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.3rem; }
.flow-banner-overlay p { font-size: 0.9rem; opacity: 0.85; }

@media (min-width: 768px) {
  .flow-steps { grid-template-columns: repeat(5, 1fr); }
}

/* ============================================================
   AUDIENCE
   ============================================================ */
.audience { background: var(--bg-alt); }
.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.audience-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
}
.audience-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.audience-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--primary); }
.audience-card .pain { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 0.5rem; }
.audience-card .pain strong { color: var(--accent-red); }
.audience-card .gain { font-size: 0.85rem; color: var(--text-secondary); }
.audience-card .gain strong { color: var(--primary); }

@media (min-width: 768px) { .audience-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .audience-grid { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================
   BENEFITS
   ============================================================ */
.benefits-numbers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 3rem;
}
.benefit-num {
  text-align: center;
}
.benefit-num .number {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.benefit-num .label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}
.benefits-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
}
.benefit-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.benefit-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; }
.benefit-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }

@media (min-width: 768px) {
  .benefits-numbers { grid-template-columns: repeat(4, 1fr); }
  .benefits-cards { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   DASHBOARDS
   ============================================================ */
.dashboards { background: var(--bg-alt); }
.dash-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.dash-tab {
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all var(--transition);
}
.dash-tab:hover { border-color: var(--primary); color: var(--primary); }
.dash-tab.active {
  background: var(--primary);
  color: var(--primary-fg);
  border-color: var(--primary);
}
.dash-panel {
  display: none;
}
.dash-panel.active { display: block; }
.dash-panel img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}
.dash-panel p {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   METHODOLOGY
   ============================================================ */
.method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.method-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
}
.method-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.method-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(0,180,216,0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}
.method-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; }
.method-card p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.6; }

@media (min-width: 768px) { .method-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .method-grid { grid-template-columns: repeat(5, 1fr); } }

/* ============================================================
   SEGMENTS
   ============================================================ */
.segments { background: var(--bg-alt); }
.segments-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
  justify-content: center;
}
.segment-pill {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 30px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all var(--transition);
}
.segment-pill:hover { border-color: var(--primary); color: var(--primary); background: rgba(0,180,216,0.05); }

/* ============================================================
   TRUST
   ============================================================ */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}
.trust-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0,180,216,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}
.trust-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; }
.trust-card li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.3rem 0;
  padding-left: 1rem;
  position: relative;
}
.trust-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

@media (min-width: 768px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--bg-alt); }
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 2.5rem;
}
.contact-info h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.contact-info h2 span { color: var(--primary); }
.contact-info > p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.contact-detail svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }
.contact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.contact-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.contact-form h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.form-group label .req { color: var(--accent-red); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,180,216,0.1);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-privacy {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}
.btn-submit {
  width: 100%;
  padding: 0.85rem;
  background: var(--primary);
  color: var(--primary-fg);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 8px;
  border: none;
  margin-top: 1rem;
  transition: all var(--transition);
}
.btn-submit:hover { filter: brightness(1.1); transform: translateY(-1px); }

@media (min-width: 768px) {
  .contact-wrapper { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  background: linear-gradient(135deg, var(--efact-navy-deep), var(--efact-navy), var(--efact-navy-medium));
  color: #fff;
  text-align: center;
  padding: 5rem 0;
}
.cta-final h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.cta-final h2 span { color: var(--primary); }
.cta-final p {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: all var(--transition);
}
.btn-cta-outline:hover { border-color: #fff; background: rgba(255,255,255,0.05); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--efact-navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand .logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}
.footer-brand .logo .logo-e { color: var(--primary); }
.footer-brand p { font-size: 0.85rem; line-height: 1.6; }
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.75rem;
}
.footer-col a {
  display: block;
  font-size: 0.85rem;
  padding: 0.25rem 0;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* ============================================================
   UTILITY
   ============================================================ */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Controle de exibição das logos conforme o tema */
.nav-logo .logo-light {
  display: block;
}
.nav-logo .logo-dark {
  display: none;
}

.dark .nav-logo .logo-light {
  display: none;
}
.dark .nav-logo .logo-dark {
  display: block;
}

/* Ajuste opcional de tamanho para as imagens */
.nav-logo img {
  height: 40px;        /* Ajuste conforme necessário */
  width: auto;
  object-fit: contain;
}

/* ============================================
   FOOTER PADRÃO (adaptado para o hotsite)
   ============================================ */
.footer {
    background: var(--bg-alt);          /* Usa a cor de fundo alternativa do tema */
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
}

.footer-grid {
    display: grid;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* Brand / Logo */
.footer-brand .footer-logo {
    display: inline-flex;
    align-items: center;
    height: 40px;                /* Altura consistente com a navbar */
    margin-bottom: 1rem;
}

.footer-logo .logo-img {
    height: 100%;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

/* Controle de exibição das logos conforme o tema (reaproveitando lógica da navbar) */
.footer-logo .logo-light {
    display: block;
}
.footer-logo .logo-dark {
    display: none;
}
.dark .footer-logo .logo-light {
    display: none;
}
.dark .footer-logo .logo-dark {
    display: block;
}

.footer-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 300px;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Redes sociais */
.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;           /* --radius-md equivalente */
    color: var(--text-muted);
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--primary-fg);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Títulos das colunas */
.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
}

/* Colunas de links */
.footer-links,
.footer-legal,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a,
.footer-legal a {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
    cursor: pointer;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--primary);
}

/* Contato */
.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.footer-contact svg {
    width: 1rem;
    height: 1rem;
    color: var(--primary);
}

/* Rodapé inferior */
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.footer-bottom svg {
    width: 1rem;
    height: 1rem;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .footer-logo .logo-img {
        max-width: 120px;
    }
    .footer-description {
        font-size: 0.9rem;
    }
}

/* ============================================
   MODAIS DE POLÍTICAS
   ============================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    max-width: 700px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    color: var(--text);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background: var(--primary);
    color: var(--primary-fg);
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    color: var(--primary-fg);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: transform var(--transition);
}

.modal-close:hover {
    transform: scale(1.2);
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    max-height: calc(80vh - 80px);
}

.modal-body h3 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body p {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.modal-body ul,
.modal-body ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.policy-intro {
    font-size: 1.05rem;
    color: var(--text) !important;
    font-weight: 500;
}

.policy-link {
    color: var(--primary);
    text-decoration: none;
}

.policy-link:hover {
    text-decoration: underline;
}

.browser-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.5rem;
}

.policy-date {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-style: italic;
}

/* Responsividade para modais */
@media (max-width: 768px) {
    .modal {
        padding: 1rem;
    }
    .modal-content {
        max-height: 90vh;
    }
    .modal-header {
        padding: 1rem 1.5rem;
    }
    .modal-body {
        padding: 1.5rem;
        max-height: calc(90vh - 60px);
    }
    .browser-links {
        grid-template-columns: 1fr;
    }
}

/* Mensagem de sucesso do formulário */
.form-success {
  text-align: center;
  padding: 2rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.success-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #22c55e;
}
.form-success h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.form-success p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ============================================
   Language Selector
   ============================================ */
.language-selector {
    position: relative;
    display: inline-block;
    align-items: center;
}

.lang-btn {
    background: transparent;
    border: 2px solid var(--border);
    border-radius: 30px;
    padding: 8px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all var(--transition);
}

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

.lang-btn svg {
    width: 16px;
    height: 16px;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    min-width: 160px;
    z-index: 2000;
    overflow: hidden;
}

.dark .lang-dropdown {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.lang-dropdown.show {
    display: flex;
}

.lang-dropdown button {
    background: transparent;
    border: none;
    padding: 12px 16px;
    text-align: left;
    cursor: pointer;
    color: var(--text);
    font-size: 0.875rem;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.lang-dropdown button:hover {
    background: var(--bg-alt);
    color: var(--primary);
}

.lang-flag {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Ajuste para mobile */
@media (max-width: 1024px) {
    .lang-btn span {
        display: none;
    }
    .lang-btn {
        padding: 8px;
        min-width: 44px;
        justify-content: center;
    }
    .lang-dropdown {
        right: -50%;
    }
}