/* ============================================
   EMETRIX CONSULTORIA — style.css (Modern Clean)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── Tokens Baseados na Logo ───────────────── */
:root {
  /* Cores de Fundo - Clean Light */
  --bg:       #FFFFFF;
  --bg2:      #F8FAFC;
  --bg3:      #F1F5F9;
  
  /* Cores da Marca Emetrix */
  --primary:  #0B2545; /* Azul Marinho da Logo */
  --primary-h:#133A6B;
  --accent:   #CFA257; /* Dourado da Logo */
  --accent-h: #B58A44;
  --teal:     #0284C7; 
  
  /* Textos e Detalhes */
  --text:     #0F172A;
  --muted:    #475569;
  --muted2:   #64748B;
  --border:   #E2E8F0;
  
  /* Formas */
  --radius:   8px;
  --radius-lg:16px;
  --shadow:   0 10px 30px -10px rgba(11, 37, 69, 0.08);
  --shadow-h: 0 20px 40px -10px rgba(11, 37, 69, 0.15);
}

/* ── Reset ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: 0.2s; }
ul { list-style: none; }

/* ── Layout ──────────────────────────────── */
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
.brand-logo { height: 42px; width: auto; border-radius: 50%; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }

/* ── Navbar ──────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  transition: all 0.3s ease;
  background: transparent;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 12px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo span { font-size: 20px; font-weight: 700; color: var(--primary); letter-spacing: -0.5px;}
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { font-size: 14px; font-weight: 600; color: var(--muted); position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -6px; left: 0; right: 0;
  height: 2px; background: var(--accent); border-radius: 2px;
}
.nav-cta {
  background: var(--primary); color: #fff !important;
  padding: 10px 24px; border-radius: var(--radius);
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta:hover { background: var(--primary-h) !important; transform: translateY(-2px); }
.nav-cta::after { display: none !important; }

/* ── Buttons ─────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius);
  font-size: 15px; font-weight: 600; cursor: pointer; border: none;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(207, 162, 87, 0.3); }
.btn-primary:hover { background: var(--accent-h); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(207, 162, 87, 0.4); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

/* ── Hero ────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding-top: 100px; position: relative;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(207, 162, 87, 0.08), transparent 50%),
              radial-gradient(circle at bottom left, rgba(11, 37, 69, 0.05), transparent 50%);
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(207, 162, 87, 0.15); border: 1px solid rgba(207, 162, 87, 0.3);
  padding: 6px 16px; border-radius: 100px; font-size: 13px; font-weight: 600;
  color: var(--accent-h); margin-bottom: 24px; text-transform: uppercase; letter-spacing: 1px;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 68px); font-weight: 800; line-height: 1.1;
  letter-spacing: -2px; margin-bottom: 24px; color: var(--primary);
}
.hero h1 em {
  font-style: normal; color: var(--accent);
}
.hero p { font-size: 18px; color: var(--muted); max-width: 580px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── Stats Bar ───────────────────────────── */
.stats-bar { background: var(--primary); color: #fff; padding: 48px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { text-align: center; position: relative; }
.stat-item:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 10%; height: 80%;
  width: 1px; background: rgba(255,255,255,0.1);
}
.stat-num { font-size: 42px; font-weight: 800; letter-spacing: -1px; line-height: 1; }
.stat-num span { color: var(--accent); }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.7); margin-top: 8px; font-weight: 500; }

/* ── Section Headers ─────────────────────── */
.section-eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.section-title {
  font-size: clamp(32px, 4vw, 46px); font-weight: 800; color: var(--primary);
  letter-spacing: -1px; line-height: 1.2; margin-bottom: 20px;
}
.section-desc { font-size: 18px; color: var(--muted); max-width: 600px; line-height: 1.6; }
.section-header { margin-bottom: 64px; }
.section-header.center { text-align: center; display: flex; flex-direction: column; align-items: center; }

/* ── Cards ───────────────────────────────── */
.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 40px 32px; box-shadow: var(--shadow);
  transition: all 0.3s ease; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-h); border-color: var(--accent); }
.card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: transparent; transition: 0.3s;
}
.card:hover::before { background: var(--accent); }
.card-icon {
  width: 60px; height: 60px; background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; font-size: 28px; color: var(--primary);
}
.card h3 { font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 12px; letter-spacing: -0.5px; }
.card p { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ── Grids ───────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.apps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

/* ── About / Split Sections ──────────────── */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-features { margin-top: 40px; display: flex; flex-direction: column; gap: 24px; }
.about-feature { display: flex; gap: 20px; align-items: flex-start; }
.about-feature-icon {
  width: 48px; height: 48px; background: rgba(11, 37, 69, 0.05); color: var(--primary);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 20px;
}
.about-feature-text h4 { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.about-feature-text p { font-size: 15px; color: var(--muted); }

.about-card-stack { position: relative; height: 400px; width: 100%; }
.about-card-main {
  position: absolute; inset: 0; background: var(--primary); color: #fff;
  border-radius: var(--radius-lg); padding: 40px; display: flex;
  flex-direction: column; justify-content: flex-end; box-shadow: var(--shadow-h);
}
.about-badge {
  align-self: flex-start; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px; padding: 6px 16px; font-size: 13px; font-weight: 600; color: var(--accent);
  margin-bottom: 16px; backdrop-filter: blur(4px);
}
.about-card-main h3 { font-size: 26px; font-weight: 700; letter-spacing: -1px; margin-bottom: 12px; }
.about-card-main p { font-size: 16px; color: rgba(255,255,255,0.8); }

/* ── CTA Banner ──────────────────────────── */
.cta-banner {
  background: var(--primary); border-radius: var(--radius-lg); padding: 80px 40px;
  text-align: center; color: #fff; box-shadow: var(--shadow-h); position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(207, 162, 87, 0.15), transparent 60%);
}
.cta-banner h2 { font-size: clamp(32px, 5vw, 48px); font-weight: 800; letter-spacing: -1px; margin-bottom: 20px; position: relative; z-index: 1;}
.cta-banner p { font-size: 18px; color: rgba(255,255,255,0.8); max-width: 500px; margin: 0 auto 40px; position: relative; z-index: 1;}
.cta-actions { display: flex; gap: 16px; justify-content: center; position: relative; z-index: 1;}
.cta-actions .btn-outline { border-color: rgba(255,255,255,0.3); color: #fff; }
.cta-actions .btn-outline:hover { background: #fff; color: var(--primary); }

/* ── App Cards Custom ────────────────────── */
.app-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: 0.3s; }
.app-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); border-color: var(--primary); }
.app-card-header { padding: 32px; display: flex; align-items: flex-start; gap: 20px; background: var(--bg2); border-bottom: 1px solid var(--border); }
.app-icon { width: 64px; height: 64px; border-radius: 16px; background: #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.05); display: flex; align-items: center; justify-content: center; font-size: 28px; flex-shrink: 0; }
.app-card-header h3 { font-size: 22px; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.app-tag { display: inline-block; background: var(--bg3); border: 1px solid var(--border); border-radius: 100px; padding: 4px 12px; font-size: 12px; font-weight: 600; color: var(--muted); }
.app-card-body { padding: 32px; }
.app-features li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.app-features li::before { content: '✓'; width: 20px; height: 20px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; color: #fff; flex-shrink: 0; font-weight: 800; }

/* ── Formulário e Contato ────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.form-group label { color: var(--primary); font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 16px; color: var(--text); font-size: 15px; box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(11, 37, 69, 0.1); }
.channel-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.channel-card:hover { border-color: var(--accent); }
.channel-icon { background: var(--bg2); color: var(--primary); }

/* ── Footer ──────────────────────────────── */
footer { background: var(--primary); color: #fff; padding: 80px 0 32px; }
.footer-brand p { color: rgba(255,255,255,0.7); }
.footer-col h4 { color: var(--accent); }
.footer-col ul a { color: rgba(255,255,255,0.8); }
.footer-col ul a:hover { color: #fff; padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 60px; padding-top: 24px; }
.footer-bottom p { color: rgba(255,255,255,0.6); }

/* ── Mobile Responsive (Ajustes Rápidos) ─── */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .stat-item:nth-child(2)::after { display: none; }
}
@media (max-width: 768px) {
  .about-split, .contact-grid, .apps-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: 1fr; }
  .nav-links { background: var(--primary); border-bottom: none; box-shadow: var(--shadow-h); }
  .nav-links a { color: rgba(255,255,255,0.9); border-bottom-color: rgba(255,255,255,0.1); }
  .nav-links a:hover, .nav-links a.active { color: var(--accent); }
}