/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy-dark: #0d1526;
  --navy-mid: #1e3068;
  --blue: #2e5aac;
  --blue-light: #4a7abf;
  --accent: #4fa8e8;
  --white: #ffffff;
  --text-light: #94aac8;
  --text-mid: #c8d8eb;
  --border: rgba(74, 122, 191, 0.22);
  --border-light: rgba(255,255,255,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--navy-dark);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  font-size: 17px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===========================
   NAV — centered
   =========================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13, 21, 38, 0.2);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(13, 21, 38, 0.2);
  box-shadow: 0 4px 40px rgba(0,0,0,0.5);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.8rem;
}
.nav-links a {
  color: var(--text-mid);
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.btn-nav {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 0.48rem 1.4rem !important;
  border-radius: 5px;
  transition: background 0.2s !important;
}
.btn-nav:hover { background: var(--blue-light) !important; }

.hamburger {
  display: none;
  position: absolute; right: 2rem; top: 50%; transform: translateY(-50%);
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
  z-index: 10;
}
.hamburger span { display: block; width: 26px; height: 2px; background: var(--white); border-radius: 2px; }
.mobile-menu {
  display: none; flex-direction: column;
  padding: 1rem 2rem 1.5rem; gap: 0.5rem;
  border-top: 1px solid var(--border-light);
}
.mobile-menu.open { display: flex; }
.mm-link {
  color: var(--text-mid); text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.65rem 0; border-bottom: 1px solid var(--border-light);
  transition: color 0.2s;
}
.mm-link:hover { color: var(--white); }

/* ===========================
   HERO — 100% centered
   =========================== */
.hero {
  position: relative;
  display: block;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, #1a2e5a 0%, #0d1526 60%);
}

/* Subtle grid */
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(74,122,191,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,122,191,0.12) 1px, transparent 1px);
  background-size: 72px 72px;
}

/* Two soft glows — left & right */
.hero-glow-left {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(46,90,172,0.18) 0%, transparent 70%);
  top: 10%; left: -150px;
  pointer-events: none;
}
.hero-glow-right {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(79,168,232,0.12) 0%, transparent 70%);
  bottom: 0; right: -150px;
  pointer-events: none;
}

/* Inner — flex column, centered */
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 5px 2rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}




/* Hero logo */
.hero-logo-wrap {
  margin-bottom: 0;
  padding-top: 0;
}
.hero-logo-img {
  width: clamp(140px, 20vw, 300px);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 0 20px rgba(79,168,232,0.3));
}

/* Tag pill */
.hero-tag {
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(79,168,232,0.35);
  padding: 0.36rem 1rem; border-radius: 100px;
  margin-bottom: 0.8rem;
  animation: fadeUp 0.5s 0.2s ease both;
}
.dot {
  width: 7px; height: 7px;
  background: var(--accent); border-radius: 50%;
  animation: pulse 2s ease infinite; flex-shrink: 0;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.35; transform:scale(0.7); }
}

/* Title */
.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.6rem, 5.5vw, 5.8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  animation: fadeUp 0.5s 0.3s ease both;
}
.accent { color: var(--accent); }

/* Subtitle */
.hero-sub {
  font-size: 1.1rem; font-weight: 300;
  color: var(--text-mid); line-height: 1.75;
  max-width: 620px;
  margin-bottom: 1.2rem;
  animation: fadeUp 0.5s 0.38s ease both;
}

/* CTA buttons */
.hero-cta {
  display: flex;
  gap: 1rem; flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.8rem;
  animation: fadeUp 0.5s 0.45s ease both;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  background: #25D366; color: var(--white); text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  padding: 0.9rem 2.2rem; border-radius: 5px; transition: all 0.2s;
}
.btn-primary svg { width: 20px; height: 20px; }
.btn-primary:hover { background: #1db954; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,211,102,0.3); }
.btn-ghost {
  display: inline-flex; align-items: center;
  color: var(--text-mid); text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
  padding: 0.9rem 1.8rem; border: 1px solid var(--border); border-radius: 5px; transition: all 0.2s;
}
.btn-ghost:hover { color: var(--white); border-color: rgba(74,122,191,0.6); background: rgba(74,122,191,0.08); }

/* Stats row */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 1.5rem 2.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  animation: fadeUp 0.5s 0.52s ease both;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.6rem; font-weight: 900;
  color: var(--white); line-height: 1;
}
.plus { color: var(--accent); }
.stat-label {
  display: block;
  font-size: 0.74rem; font-weight: 400;
  color: var(--text-light);
  text-transform: uppercase; letter-spacing: 0.07em;
  margin-top: 4px;
}
.stat-sep { width: 1px; height: 48px; background: var(--border); flex-shrink: 0; }

/* ===========================
   SECTION SHARED
   =========================== */
section {
  padding: 5rem 0;
  position: relative;
}
section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue-light); margin-bottom: 0.55rem;
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 900; line-height: 1; text-transform: uppercase;
  margin-bottom: 2.2rem;
}

/* ===========================
   SOBRE
   =========================== */
.sobre { background: var(--navy-dark); }
.sobre-grid {
  display: grid; grid-template-columns: 1fr 340px;
  gap: 4rem; align-items: start;
}
.sobre-desc {
  color: var(--text-mid); line-height: 1.85;
  margin-bottom: 1rem; font-size: 1rem; font-weight: 300;
}
.sobre-desc strong { color: var(--white); font-weight: 600; }
.certs-row { display: flex; gap: 0.45rem; flex-wrap: wrap; margin: 1.5rem 0 0.8rem; }
.cert-chip {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em;
  padding: 0.34rem 0.85rem; border-radius: 4px;
  color: var(--accent); background: rgba(46,90,172,0.12);
  border: 1px solid rgba(79,168,232,0.28);
}
.cert-chip--done   { color:#4ecb80; border-color:rgba(78,203,128,0.32); background:rgba(78,203,128,0.08); }
.cert-chip--progress { color:#f0c040; border-color:rgba(240,192,64,0.32); background:rgba(240,192,64,0.07); }
.certs-note { font-size: 0.8rem; color: var(--text-light); line-height: 1.6; }
.sobre-card { position: sticky; top: 80px; }
.card-inner {
  background: linear-gradient(145deg, #1e3068, #152244);
  border: 1px solid var(--border); border-radius: 14px;
  padding: 2rem; display: flex; flex-direction: column;
  align-items: center; gap: 1rem; text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.card-photo {
  width: 148px; height: 148px; object-fit: cover;
  object-position: center top; border-radius: 50%;
  border: 3px solid var(--blue-light); display: block;
}
.card-tagline { font-style: italic; font-size: 0.92rem; color: var(--text-mid); }
.card-links { display: flex; flex-direction: column; gap: 0.48rem; width: 100%; }
.card-link {
  display: flex; align-items: center; gap: 0.7rem;
  color: var(--text-mid); text-decoration: none; font-size: 0.9rem;
  padding: 0.62rem 1rem; border: 1px solid var(--border-light);
  border-radius: 7px; transition: all 0.2s;
}
.card-link svg { width: 15px; height: 15px; flex-shrink: 0; opacity: 0.6; }
.card-link:hover { color: var(--white); border-color: var(--blue-light); background: rgba(74,122,191,0.12); }
.card-link:hover svg { opacity: 1; }

/* ===========================
   SERVIÇOS
   =========================== */
.servicos { background: linear-gradient(180deg, #0e1828 0%, #0a1120 100%); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.1rem; }
.service-card {
  background: rgba(26,39,68,0.55); border: 1px solid var(--border);
  border-radius: 10px; padding: 1.6rem;
  transition: all 0.3s ease; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  border-color: rgba(74,122,191,0.45); background: rgba(36,48,88,0.65);
  transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.service-icon { width: 38px; height: 38px; margin-bottom: 0.9rem; color: var(--accent); }
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 {
  font-family: 'Barlow Condensed', sans-serif; font-size: 1.15rem;
  font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 0.55rem; color: var(--white);
}
.service-card p { font-size: 0.9rem; font-weight: 300; color: var(--text-mid); line-height: 1.7; margin-bottom: 0.9rem; }
.service-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.service-tags span {
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.68rem;
  font-weight: 700; letter-spacing: 0.08em; padding: 0.16rem 0.5rem;
  background: rgba(46,90,172,0.18); border: 1px solid rgba(74,122,191,0.22);
  border-radius: 3px; color: var(--text-light); text-transform: uppercase;
}
.services-mais {
  margin-top: 1.8rem; text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.6rem; font-weight: 900; letter-spacing: 0.2em;
  color: var(--accent); opacity: 0.55;
}

/* ===========================
   TRAJETÓRIA
   =========================== */
.trajetoria { background: var(--navy-dark); }
.traj-scroll-wrap {
  overflow-x: auto; padding-bottom: 1.2rem; margin-bottom: 2rem;
  scrollbar-width: thin; scrollbar-color: var(--blue) transparent;
}
.traj-scroll-wrap::-webkit-scrollbar { height: 4px; }
.traj-scroll-wrap::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 2px; }
.traj-timeline { display: flex; align-items: flex-end; position: relative; min-width: max-content; padding: 0 1.2rem; }
.traj-line { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 6px; height: 2px; background: linear-gradient(90deg,var(--blue),var(--accent),var(--blue)); z-index: 0; }
.traj-node { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; min-width: 138px; padding: 0 0.55rem; }
.traj-node-top { text-align: center; margin-bottom: 0.75rem; padding: 0.55rem 0.8rem; background: rgba(26,39,68,0.8); border: 1px solid var(--border); border-radius: 7px; min-width: 124px; }
.traj-year { font-family: 'Barlow Condensed', sans-serif; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.07em; color: var(--accent); white-space: nowrap; margin-bottom: 3px; }
.traj-role-mini { font-family: 'Barlow Condensed', sans-serif; font-size: 0.76rem; font-weight: 600; color: var(--white); line-height: 1.35; text-transform: uppercase; }
.traj-role-mini span { display: block; color: var(--text-light); font-weight: 400; font-size: 0.68rem; text-transform: none; margin-top: 2px; font-style: italic; }
.traj-dot { width: 13px; height: 13px; background: var(--blue-light); border: 2px solid var(--navy-dark); border-radius: 50%; flex-shrink: 0; }
.traj-dot.accent-dot { background: var(--accent); box-shadow: 0 0 0 5px rgba(79,168,232,0.2); }
.traj-dot.pulse-dot { background: #4ecb80; box-shadow: 0 0 0 5px rgba(78,203,128,0.2); animation: pulseDot 2s ease infinite; }
@keyframes pulseDot { 0%,100%{box-shadow:0 0 0 5px rgba(78,203,128,0.2)} 50%{box-shadow:0 0 0 10px rgba(78,203,128,0.05)} }
.traj-story { background: rgba(18,28,54,0.6); border: 1px solid var(--border); border-radius: 12px; padding: 2rem 2.4rem; }

/* Trajetória bullet list */
.traj-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.traj-bullets li {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.8;
  padding-left: 1.2rem;
  border-left: 2px solid var(--accent);
}
.traj-bullets li strong {
  color: var(--white);
  font-weight: 600;
}

.traj-story-text p { font-size: 1rem; font-weight: 300; color: var(--text-mid); line-height: 1.9; margin-bottom: 1rem; }
.traj-story-text p:last-child { margin-bottom: 0; }
.traj-story-text strong { color: var(--white); font-weight: 600; }

/* ===========================
   CONTATO — centered
   =========================== */
.contato {
  background: radial-gradient(ellipse at 50% 100%, #1a2e5a 0%, #0d1526 60%);
  text-align: center; overflow: hidden;
}
.contato-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(46,90,172,0.07) 1px,transparent 1px), linear-gradient(90deg,rgba(46,90,172,0.07) 1px,transparent 1px);
  background-size: 44px 44px;
}
.contato .container { position: relative; z-index: 1; }
.section-label.light { color: var(--blue-light); }
.section-title.light { color: var(--white); }
.accent-light { color: var(--accent); }
.contato-sub { color: var(--text-mid); font-size: 1.05rem; font-weight: 300; line-height: 1.8; max-width: 520px; margin: 0 auto 2.2rem; }
.contato-cards { display: flex; flex-direction: column; gap: 0.9rem; max-width: 600px; margin: 0 auto; }
.contato-card {
  display: flex; align-items: center; gap: 1.1rem;
  padding: 1.1rem 1.4rem; background: rgba(26,39,68,0.55);
  border: 1px solid var(--border); border-radius: 9px;
  text-decoration: none; color: inherit; transition: all 0.2s; text-align: left;
}
.contato-card:hover { background: rgba(36,48,88,0.75); border-color: rgba(74,122,191,0.5); transform: translateX(6px); }
.cc-icon { width: 36px; height: 36px; color: var(--accent); flex-shrink: 0; }
.cc-icon svg { width: 100%; height: 100%; }
.cc-body { flex: 1; }
.cc-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); margin-bottom: 2px; }
.cc-value { font-size: 0.98rem; color: var(--text-mid); }
.cc-arrow { font-size: 1.1rem; color: var(--text-light); transition: color 0.2s, transform 0.2s; }
.contato-card:hover .cc-arrow { color: var(--accent); transform: translateX(4px); }

/* ===========================
   FOOTER
   =========================== */
.footer { background: #070d1a; padding: 1.4rem 0; border-top: 1px solid var(--border-light); }
.footer-inner { display: flex; justify-content: center; }
.footer-text { font-size: 0.8rem; color: var(--text-light); }
.footer-text a { color: var(--blue-light); text-decoration: none; transition: color 0.2s; }
.footer-text a:hover { color: var(--accent); }

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-card { position: static; max-width: 380px; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  section { padding: 3.8rem 0; }
  .hero-stats { gap: 1.5rem; padding: 1.2rem 1.5rem; flex-wrap: wrap; }
  .services-grid { grid-template-columns: 1fr; }
  .traj-story { padding: 1.4rem; }
}
@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost { justify-content: center; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .stat-sep { width: 40px; height: 1px; }
  .stat { display: flex; align-items: center; gap: 1rem; text-align: left; }
}
