/*
Theme Name: Luan Pires
Theme URI: https://luanpires.com.br
Author: Luan Pires
Author URI: https://luanpires.com.br
Description: Tema profissional para Luan Pires - Especialista em E-commerce e Estratégia Digital
Version: 1.5.1
License: GNU General Public License v2 or later
Tags: ecommerce, consulting, professional, dark, modern
Text Domain: luan-pires
*/

/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color .25s; }
ul { list-style: none; }
button, input, textarea, select { font-family: inherit; }

/* =========================================
   DESIGN TOKENS
   ========================================= */
:root {
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;

  --bg-primary:    #04060f;
  --bg-secondary:  #080c18;
  --bg-card:       #0d1120;
  --bg-card-hover: #111627;
  --surface:       #141926;

  --accent-cyan:   #3b82f6;
  --accent-orange: #f97316;
  --accent-cyan-dim: rgba(0, 212, 255, 0.12);
  --accent-orange-dim: rgba(255, 95, 31, 0.12);
  --glow-cyan:     0 0 40px rgba(0, 212, 255, 0.25);
  --glow-orange:   0 0 40px rgba(255, 95, 31, 0.25);

  --text-primary:  #eef1fb;
  --text-secondary:#8892a4;
  --text-muted:    #4a526a;

  --border:        rgba(255,255,255,0.07);
  --border-accent: rgba(0, 212, 255, 0.25);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.4), 0 1px 0 rgba(255,255,255,0.04) inset;
  --shadow-glow: 0 8px 48px rgba(0, 212, 255, 0.18);

  --header-h: 72px;
  --container: 1200px;
  --section-py: 96px;
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.025em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 700; }
h4 { font-size: 1.2rem; font-weight: 700; }
p  { font-size: 1rem; color: var(--text-secondary); line-height: 1.75; }
p.lead { font-size: 1.15rem; line-height: 1.7; }

.text-accent  { color: var(--accent-cyan); }
.text-orange  { color: var(--accent-orange); }
.text-muted   { color: var(--text-muted); }
.text-center  { text-align: center; }

/* =========================================
   LAYOUT UTILITIES
   ========================================= */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-py) 0; position: relative; }
.section-sm { padding: 64px 0; position: relative; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex   { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

/* =========================================
   BACKGROUND PATTERNS
   ========================================= */
.bg-grid {
  background-image:
    linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.bg-dots {
  background-image: radial-gradient(circle, rgba(0,212,255,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}
.noise-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* =========================================
   COMPONENTS: BUTTONS
   ========================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  cursor: pointer; border: none; transition: all .3s cubic-bezier(0.34,1.56,0.64,1);
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.1); opacity: 0;
  transition: opacity .2s;
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--accent-orange); color: #fff;
  box-shadow: 0 0 0 0 rgba(249,115,21,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-orange), 0 8px 24px rgba(249,115,21,0.35);
}
.btn-secondary {
  background: transparent; color: var(--accent-cyan);
  border: 1.5px solid var(--border-accent);
}
.btn-secondary:hover {
  background: var(--accent-cyan-dim); transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.btn-orange {
  background: var(--accent-orange); color: #fff;
  box-shadow: 0 0 0 0 rgba(249,115,21,0.4);
}
.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-orange), 0 8px 24px rgba(249,115,21,0.35);
}
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: .875rem; }

/* =========================================
   COMPONENTS: CARDS
   ========================================= */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: all .3s ease;
}
.card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}
.card-sm { padding: 24px; border-radius: var(--radius-md); }

.icon-box {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  background: var(--accent-cyan-dim);
  border: 1px solid var(--border-accent);
  margin-bottom: 20px; flex-shrink: 0;
}
.icon-box svg, .icon-box i { color: var(--accent-cyan); font-size: 1.4rem; }
.icon-box.orange { background: var(--accent-orange-dim); border-color: rgba(255,95,31,0.25); }
.icon-box.orange svg, .icon-box.orange i { color: var(--accent-orange); }

/* =========================================
   COMPONENTS: BADGE / TAG
   ========================================= */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 50px;
  font-size: .8rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
}
.badge-cyan { background: var(--accent-cyan-dim); color: var(--accent-cyan); border: 1px solid var(--border-accent); }
.badge-orange { background: var(--accent-orange-dim); color: var(--accent-orange); border: 1px solid rgba(255,95,31,.25); }

.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: .8rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--accent-cyan);
  margin-bottom: 20px;
}
.section-label::before {
  content: ''; display: block; width: 32px; height: 2px;
  background: var(--accent-cyan); border-radius: 2px;
}

/* =========================================
   COMPONENTS: DIVIDER
   ========================================= */
.divider {
  height: 1px; background: var(--border);
  margin: 0;
}
.divider-glow {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  margin: 0; opacity: 0.4;
}

/* =========================================
   HEADER / NAV
   ========================================= */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: all .3s ease;
  overflow: visible; /* Permite dropdown aparecer */
}
#site-header.scrolled {
  background: rgba(4, 6, 15, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  position: relative; /* Context para dropdown absolute */
}
.nav-logo {
  font-family: var(--font-display); font-weight: 800; font-size: 1.35rem;
  color: var(--text-primary); letter-spacing: -0.02em;
  padding: 0 20px; /* Margem de segurança */
}
.nav-logo span { color: var(--accent-cyan); }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > li { position: relative; }
.nav-menu a {
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 500; color: var(--text-secondary);
  transition: all .2s;
}
.nav-menu a:hover, .nav-menu a.active {
  color: var(--text-primary); background: rgba(255,255,255,0.06);
}

/* Dropdown Menu */
.nav-dropdown { 
  position: relative;
}
.nav-dropdown-toggle {
  display: flex; 
  align-items: center; 
  gap: 6px;
  cursor: pointer;
}
.nav-dropdown-toggle i {
  font-size: .7rem;
  transition: transform .3s;
}
.nav-dropdown:hover .nav-dropdown-toggle i {
  transform: rotate(180deg);
}
/* DROPDOWN MENU - FECHADO POR PADRÃO */
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 280px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  z-index: 1001;
  pointer-events: none;
}
/* Ponte invisível cobre o gap — mantém hover ativo ao mover o mouse */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
}
/* Mostra no hover */
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-dropdown-menu li {
  list-style: none;
}
.nav-dropdown-menu a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-sm);
  transition: all .2s;
  background: transparent;
}
.nav-dropdown-menu a:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}
.nav-dropdown-menu a i {
  font-size: 1.1rem;
  color: var(--accent-cyan);
  margin-top: 2px;
  flex-shrink: 0;
}
.dropdown-item-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dropdown-item-content strong {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-primary);
}
.dropdown-item-content span {
  font-size: .8rem;
  color: var(--text-muted);
  font-weight: 400;
}

.nav-cta { margin-left: 16px; }
.nav-toggle { 
  display: none; 
  flex-direction: column; 
  gap: 5px; 
  cursor: pointer; 
  padding: 8px;
  background: transparent;
  border: none;
  transition: background .2s;
}
.nav-toggle:hover {
  background: rgba(255,255,255,0.05);
}
.nav-toggle span { 
  width: 24px; 
  height: 2px; 
  background: var(--text-primary); 
  border-radius: 2px; 
  transition: all .3s; 
  display: block; 
}

/* =========================================
   HERO - HOME
   ========================================= */
.hero-home {
  min-height: 100vh; display: flex; align-items: center;
  padding-top: var(--header-h);
  position: relative; overflow: hidden;
}

/* Hero para páginas internas */
.hero-inner,
.page-hero {
  padding: calc(var(--header-h) + 80px) 0 80px;
  position: relative;
  overflow: hidden;
}

/* Páginas de calculadora e ferramentas - DESKTOP e MOBILE */
#calc-margem-page,
#calc-valuation-page,
#ferramentas-page {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Hero dessas páginas — só compensa o header fixo, sem duplicar */
#calc-margem-page .hero-inner,
#calc-valuation-page .hero-inner,
#ferramentas-page .hero-inner,
#calc-margem-page .page-hero,
#calc-valuation-page .page-hero,
#ferramentas-page .page-hero {
  padding-top: calc(var(--header-h) + 24px) !important;
  padding-bottom: 32px !important;
}

.hero-home::before {
  content: '';
  position: absolute; top: -20%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,212,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero-home::after {
  content: '';
  position: absolute; bottom: -10%; left: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,95,31,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 780px; }
.hero-badge { margin-bottom: 28px; }
.hero-title { margin-bottom: 24px; }
.hero-title .highlight {
  position: relative; display: inline-block;
  background: linear-gradient(135deg, var(--accent-cyan), #6ee7f7);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc { max-width: 580px; margin-bottom: 40px; font-size: 1.1rem; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 48px; margin-top: 72px; padding-top: 40px;
  border-top: 1px solid var(--border);
}
.hero-stat .num {
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 800;
  color: var(--accent-cyan); line-height: 1; letter-spacing: -0.03em;
}
.hero-stat .label { font-size: .875rem; color: var(--text-muted); margin-top: 4px; }

/* Floating tech cards */
.hero-float {
  position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 16px; z-index: 1;
  animation: floatCards 6s ease-in-out infinite;
}
@keyframes floatCards {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-52%) translateX(-6px); }
}
.float-card {
  background: var(--bg-card); border: 1px solid var(--border-accent);
  border-radius: var(--radius-md); padding: 16px 20px;
  min-width: 200px; backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}
.float-card .fc-label { font-size: .72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.float-card .fc-val { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--text-primary); }
.float-card .fc-sub { font-size: .78rem; color: var(--accent-cyan); margin-top: 2px; }

/* =========================================
   PAGE HERO (inner pages)
   ========================================= */
.page-hero {
  padding: calc(var(--header-h) + 80px) 0 80px;
  position: relative; overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,212,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero p { max-width: 600px; margin: 20px auto 0; font-size: 1.1rem; }

/* =========================================
   SERVICES SECTION
   ========================================= */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  transition: all .35s ease; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-orange));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  border-color: var(--border-accent); transform: translateY(-6px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}
.service-card h3 { font-size: 1.25rem; margin: 16px 0 10px; }
.service-card p { font-size: .9rem; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.service-tag {
  padding: 4px 12px; border-radius: 50px;
  font-size: .75rem; font-weight: 600;
  background: rgba(255,255,255,0.05); color: var(--text-secondary);
  border: 1px solid var(--border);
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 80px; align-items: center;
}
.about-visual {
  position: relative;
}
.about-photo-frame {
  border-radius: var(--radius-xl); overflow: hidden;
  border: 2px solid var(--border-accent);
  box-shadow: var(--shadow-glow);
  aspect-ratio: 4/5;
  background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.about-photo-placeholder {
  font-size: 5rem; opacity: 0.15;
}
.about-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-badge-float {
  position: absolute; bottom: -16px; right: -16px;
  background: var(--accent-cyan); color: #04060f;
  border-radius: var(--radius-md); padding: 16px 20px;
  font-family: var(--font-display); font-weight: 800;
}
.about-badge-float .big { font-size: 2rem; line-height: 1; }
.about-badge-float .small { font-size: .8rem; font-weight: 600; opacity: 0.8; margin-top: 2px; }
.skills-list { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.skill-item {}
.skill-label { display: flex; justify-content: space-between; font-size: .875rem; font-weight: 500; margin-bottom: 8px; }
.skill-bar { height: 6px; background: var(--bg-secondary); border-radius: 3px; overflow: hidden; }
.skill-fill {
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), #6ee7f7);
  transition: width 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* =========================================
   EXPERTISE CHIPS
   ========================================= */
.expertise-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip {
  padding: 8px 16px; border-radius: 50px;
  border: 1px solid var(--border);
  font-size: .82rem; font-weight: 500; color: var(--text-secondary);
  background: var(--bg-card); transition: all .2s;
}
.chip:hover { border-color: var(--border-accent); color: var(--accent-cyan); }

/* =========================================
   STATS BAR
   ========================================= */
.stats-bar {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: grid; grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.stat-item {
  padding: 40px 32px; text-align: center;
  border-right: 1px solid var(--border); position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-item::before {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 40%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.stat-item:hover::before { opacity: 1; }
.stat-num {
  font-family: var(--font-display); font-size: 3rem; font-weight: 800;
  background: linear-gradient(135deg, var(--accent-cyan), #fff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; letter-spacing: -0.04em;
}
.stat-label { font-size: .875rem; color: var(--text-muted); margin-top: 6px; }

/* =========================================
   TIMELINE
   ========================================= */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-orange));
}
.timeline-item { position: relative; padding-bottom: 48px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: -38px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent-cyan); border: 3px solid var(--bg-primary);
  box-shadow: 0 0 12px rgba(0,212,255,0.5);
}
.timeline-year { font-size: .78rem; font-weight: 700; color: var(--accent-cyan); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.timeline-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.timeline-co { font-size: .875rem; color: var(--accent-orange); font-weight: 600; margin-bottom: 8px; }
.timeline-desc { font-size: .875rem; color: var(--text-secondary); }

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
  text-align: center; padding: var(--section-py) 0;
  position: relative; overflow: hidden;
}
.cta-box {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0,212,255,0.05) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,212,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-box h2 { margin-bottom: 20px; }
.cta-box p { max-width: 500px; margin: 0 auto 36px; font-size: 1.05rem; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* =========================================
   CONTACT FORM
   ========================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px; border-radius: var(--radius-md);
  background: var(--bg-card); border: 1px solid var(--border);
}
.contact-item-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--accent-cyan-dim); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item-icon i, .contact-item-icon svg { color: var(--accent-cyan); }
.contact-item h4 { font-size: .85rem; color: var(--text-muted); font-weight: 500; margin-bottom: 4px; }
.contact-item p { font-size: .95rem; color: var(--text-primary); font-weight: 500; }

.contact-form { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .05em; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 14px 18px;
  background: var(--bg-secondary); color: var(--text-primary);
  border: 1.5px solid var(--border); border-radius: var(--radius-md);
  font-size: .95rem; transition: all .2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* =========================================
   BLOG
   ========================================= */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.blog-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all .3s ease;
}
.blog-card:hover { border-color: var(--border-accent); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.blog-card-img {
  aspect-ratio: 16/9; background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--text-muted);
  overflow: hidden;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 24px; }
.blog-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.blog-category { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-cyan); }
.blog-date { font-size: .78rem; color: var(--text-muted); }
.blog-card h3 { font-size: 1.1rem; margin-bottom: 10px; line-height: 1.35; }
.blog-card p { font-size: .875rem; line-height: 1.6; }
.blog-read-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: .875rem; font-weight: 600; color: var(--accent-cyan); }

/* =========================================
   LINKS PAGE
   ========================================= */
.links-container { max-width: 520px; margin: 0 auto; }
.profile-block { text-align: center; margin-bottom: 48px; }
.profile-avatar {
  width: 100px; height: 100px; border-radius: 50%;
  background: var(--bg-card); border: 3px solid var(--border-accent);
  margin: 0 auto 16px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; box-shadow: var(--glow-cyan);
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-name { font-size: 1.4rem; font-weight: 800; margin-bottom: 4px; }
.profile-bio { font-size: .9rem; color: var(--text-secondary); }
.links-list { display: flex; flex-direction: column; gap: 12px; }
.link-item {
  display: flex; align-items: center; gap: 16px;
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--radius-md); padding: 16px 20px;
  transition: all .25s; font-weight: 600;
  color: var(--text-primary);
}
.link-item:hover { border-color: var(--border-accent); background: var(--bg-card-hover); transform: translateY(-2px); color: var(--accent-cyan); }
.link-icon { width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--accent-cyan-dim); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.link-icon i { color: var(--accent-cyan); font-size: 1.1rem; }
.link-text { flex: 1; }
.link-title { font-size: .95rem; font-weight: 600; }
.link-desc { font-size: .78rem; color: var(--text-muted); font-weight: 400; margin-top: 2px; }
.link-arrow { color: var(--text-muted); font-size: .8rem; }

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.footer-brand .nav-logo { font-size: 1.5rem; display: block; margin-bottom: 16px; }
.footer-brand p { font-size: .875rem; line-height: 1.7; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.social-btn {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--bg-card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: all .2s;
}
.social-btn:hover { border-color: var(--border-accent); color: var(--accent-cyan); }
.footer-col h5 { font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: .875rem; color: var(--text-secondary); transition: color .2s; }
.footer-col ul a:hover { color: var(--accent-cyan); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: .8rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: .8rem; color: var(--text-muted); }
.footer-links a:hover { color: var(--accent-cyan); }

/* =========================================
   LEGAL PAGES (Privacy, Terms)
   ========================================= */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 1.6rem; margin: 48px 0 16px; color: var(--text-primary); }
.legal-content h3 { font-size: 1.15rem; margin: 32px 0 12px; color: var(--text-primary); }
.legal-content p { margin-bottom: 16px; }
.legal-content ul { padding-left: 20px; list-style: disc; color: var(--text-secondary); margin-bottom: 16px; }
.legal-content ul li { margin-bottom: 8px; font-size: .95rem; }
.legal-last-updated { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--text-muted); background: var(--bg-card); border: 1px solid var(--border); padding: 8px 16px; border-radius: 50px; margin-bottom: 48px; }

/* =========================================
   PROCESS STEPS
   ========================================= */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-steps::before {
  content: '';
  position: absolute; top: 28px; left: 12.5%; right: 12.5%;
  height: 2px; background: linear-gradient(90deg, var(--accent-cyan), var(--accent-orange));
  z-index: 0;
}
.process-step { text-align: center; padding: 0 24px; position: relative; z-index: 1; }
.process-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg-card); border: 2px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
  color: var(--accent-cyan); margin: 0 auto 20px;
  box-shadow: var(--shadow-glow);
}
.process-step h4 { font-size: 1rem; margin-bottom: 8px; }
.process-step p { font-size: .825rem; }

/* =========================================
   FAQ
   ========================================= */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius-md);
  margin-bottom: 12px; overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: var(--border-accent); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; cursor: pointer;
  font-weight: 600; font-size: 1rem;
}
.faq-question .faq-icon { color: var(--accent-cyan); font-size: 1.2rem; transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: all .35s ease; }
.faq-item.open .faq-answer { padding: 0 24px 20px; max-height: 300px; }
.faq-answer p { font-size: .9rem; }

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: all .3s;
}
.testimonial-card:hover { border-color: var(--border-accent); }
.testimonial-destaque {
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 1px var(--accent-orange);
}
.testimonial-badge { margin-bottom: 16px; }
.testimonial-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 20px;
}
.testimonial-service-tag {
  font-size: .75rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--accent-cyan-dim);
  color: var(--accent-cyan);
  border: 1px solid var(--border-accent);
  white-space: nowrap;
}
.testimonial-stars { color: var(--accent-orange); font-size: .9rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text { font-size: .9rem; line-height: 1.7; margin-bottom: 24px; color: var(--text-secondary); }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--surface); border: 2px solid var(--border); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.author-name { font-weight: 700; font-size: .9rem; }
.author-role { font-size: .78rem; color: var(--text-muted); }

/* =========================================
   CERTIFICATIONS & LOGOS
   ========================================= */
.cert-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.cert-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--radius-md);
  background: var(--bg-card); border: 1px solid var(--border);
  font-size: .875rem; font-weight: 600; color: var(--text-secondary);
  transition: all .2s;
}
.cert-chip:hover { border-color: var(--border-accent); color: var(--accent-cyan); }
.cert-chip i { color: var(--accent-cyan); }

/* Platforms logos row */
.platforms-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px;
  padding: 32px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.platform-badge {
  padding: 8px 20px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  font-size: .875rem; font-weight: 700; color: var(--text-secondary);
  letter-spacing: .02em;
}

/* =========================================
   404 PAGE
   ========================================= */
.error-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.error-code { font-family: var(--font-display); font-size: 8rem; font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--accent-cyan), transparent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 16px; }

/* =========================================
   SCROLL ANIMATIONS
   ========================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  :root { --section-py: 72px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stats-bar .stat-item:nth-child(2) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { max-width: 400px; margin: 0 auto; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-py: 56px; --header-h: 56px; }
  
  /* Layout mobile do header */
  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: center; /* Logo centralizado */
    position: relative;
    padding: 0;
  }

  /* Header menor no mobile */
  #site-header {
    height: 56px;
  }

  /* Hamburguer menor */
  .nav-toggle {
    position: fixed;
    left: 0 !important;
    top: 13px;
    z-index: 1002;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-left: none;
    border-radius: 0 6px 6px 0;
    padding: 6px 10px 6px 8px;
    width: auto;
    height: 30px;
    cursor: pointer;
    display: flex !important;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    align-items: center;
    box-shadow: none;
    margin: 0 !important;
  }

  .nav-toggle:active {
    opacity: 0.7;
  }

  .nav-toggle span {
    background: var(--text-primary);
    width: 18px;
    height: 2px;
    border-radius: 2px;
  }

  .nav-toggle:active span {
    background: var(--text-primary);
  }

  .nav-logo {
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 1;
    font-size: 1.5rem !important;
    letter-spacing: -0.02em;
  }

  /* Logo em imagem — iguala altura ao hambúrguer (50px) */
  .nav-logo img,
  .nav-logo .custom-logo,
  .custom-logo-link img {
    height: 40px !important;
    width: auto !important;
    max-width: none !important;
    display: block;
  }
  
  .nav-cta {
    display: none;
  }
  
  .nav-menu { display: none; }
  .nav-menu.open { 
    display: flex; 
    flex-direction: column; 
    position: fixed; 
    top: var(--header-h); 
    left: 0; 
    right: 0; 
    background: var(--bg-primary); 
    border-bottom: 1px solid var(--border); 
    padding: 8px 16px 12px; 
    z-index: 999;
    gap: 0;
  }
  
  /* Dropdown mobile */
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--surface);
    margin-top: 8px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
    padding: 0 8px;
  }
  .nav-dropdown.open .nav-dropdown-menu {
    max-height: 300px;
    padding: 8px;
  }
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }
  .nav-menu.open > li {
    width: 100%;
  }
  .nav-menu.open > li > a {
    display: flex;
    width: 100%;
    font-size: .95rem;
    padding: 10px 12px;
  }
  
  .nav-toggle { display: flex; }
  .hero-float { display: none; }
  .hero-stats { gap: 28px; flex-wrap: wrap; }
  .grid-2, .grid-3, .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .cta-box { padding: 48px 24px; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .stats-bar { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
}