/* ══════════════ RESET & TOKENS ══════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-track {
  background: var(--navy); 
}
::-webkit-scrollbar-thumb {
  background: var(--navy-light); 
  border-radius: 6px;
  border: 3px solid var(--navy);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold); 
}

:root {
  --navy: #0a1628;
  --navy-mid: #1a3a6b;
  --navy-light: #2a5298;
  --gold: #f5b800;
  --gold-dark: #d4a000;
  --white: #ffffff;
  --off-white: #f8faff;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(10,22,40,0.08);
  --shadow-md: 0 8px 32px rgba(10,22,40,0.12);
  --shadow-lg: 0 24px 64px rgba(10,22,40,0.18);
  --shadow-gold: 0 8px 32px rgba(245,184,0,0.25);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ══════════════ NAVBAR ══════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.navbar.scrolled {
  background: rgba(10,22,40,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
  padding: 12px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
  transition: filter var(--transition), transform var(--transition);
  flex-shrink: 0;
}

.nav-logo:hover .logo-img {
  filter: drop-shadow(0 4px 12px rgba(245,184,0,0.35));
  transform: scale(1.04);
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}

.logo-accent { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}

.nav-link {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav-btn-admin {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--gold);
  color: var(--navy) !important;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  margin-left: 8px;
}

.nav-btn-admin:hover {
  background: #ffcf00;
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ══════════════ HERO ══════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(26,58,107,0.8) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(245,184,0,0.1) 0%, transparent 50%),
    radial-gradient(ellipse 60% 80% at 90% 80%, rgba(10,22,40,0.6) 0%, transparent 60%),
    radial-gradient(circle at 50% 120%, rgba(245,184,0,0.06) 0%, transparent 40%);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black 30%, transparent 70%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: float-particle linear infinite;
  opacity: 0;
}

@keyframes float-particle {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-20px) scale(1); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: 120px 24px 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,184,0,0.1);
  border: 1px solid rgba(245,184,0,0.25);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 32px;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: fade-in-up 0.7s ease both;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
  animation: fade-in-up 0.7s 0.1s ease both;
}

.hero-title-sub {
  display: block;
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 600;
  background: linear-gradient(135deg, var(--gold) 0%, #ffd54f 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 8px;
  letter-spacing: -0.5px;
}

.hero-highlight {
  color: var(--gold);
  position: relative;
}

.hero-highlight::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  opacity: 0.3;
  border-radius: 2px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
  line-height: 1.8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fade-in-up 0.7s 0.2s ease both;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fade-in-up 0.7s 0.3s ease both;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 16px 24px;
  text-decoration: none;
  transition: color var(--transition);
  font-family: var(--font);
}

.btn-ghost:hover {
  color: var(--gold);
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  animation: fade-in-up 0.7s 0.5s ease both;
  padding: 20px 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-item span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.70);
  font-weight: 500;
  letter-spacing: 0.3px;
}

.trust-divider {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.1);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
  background: #ffcf00;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.2);
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.06);
  color: var(--white);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.4);
  transition: var(--transition);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-full { width: 100%; justify-content: center; }

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  animation: fade-in-up 0.7s 0.4s ease both;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 24px 48px;
  backdrop-filter: blur(10px);
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -1px;
  line-height: 1;
}

.stat-suffix {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scroll-bounce 1.5s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.3; }
}

/* ══════════════ SECTION COMMONS ══════════════ */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  background: rgba(26,58,107,0.08);
  color: var(--navy-mid);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title.left { text-align: left; }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ══════════════ SERVICES ══════════════ */
.services {
  padding: 100px 0;
  background: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy-mid), var(--gold));
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-card:hover::before { opacity: 1; }

.service-card--featured {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-color: transparent;
  color: var(--white);
}

.service-card--featured::before { opacity: 1; }

.service-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg { width: 44px; height: 44px; }

.service-icon--blue { background: rgba(26,58,107,0.08); }
.service-icon--gold { background: rgba(245,184,0,0.12); }

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.service-card--featured .service-title { color: var(--white); }

.service-desc {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card--featured .service-desc { color: rgba(255,255,255,0.65); }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-mid);
  text-decoration: none;
  transition: gap var(--transition), color var(--transition);
}

.service-link span { transition: transform var(--transition); }
.service-link:hover { color: var(--gold); }
.service-link:hover span { transform: translateX(4px); }

.service-card--featured .service-link { color: var(--gold); }

/* ══════════════ HOW IT WORKS ══════════════ */
.how-it-works {
  padding: 100px 0;
  background: var(--white);
}

.steps-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 720px;
  margin: 0 auto;
}

.steps-line {
  position: absolute;
  left: 50%;
  top: 20px; bottom: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--navy-mid) 0%, var(--gold) 100%);
  transform: translateX(-50%);
  opacity: 0.2;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  position: relative;
}

.step--reverse { flex-direction: row-reverse; text-align: right; }

.step-number {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  box-shadow: 0 0 0 8px rgba(26,58,107,0.08);
  position: relative;
  z-index: 1;
}

.step-content { flex: 1; padding-top: 12px; }

.step-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.step-content p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ══════════════ ABOUT ══════════════ */
.about {
  padding: 100px 0;
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-card-main {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.about-icon-wrap {
  width: 80px;
  height: 80px;
  background: rgba(26,58,107,0.06);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.about-card-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy-mid);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.about-card-desc {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.about-stats-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-stat-box {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-stat-box--gold {
  background: var(--navy);
  border-color: transparent;
}

.about-stat-box--gold .astat-num,
.about-stat-box--gold .astat-label { color: var(--gold); }

.astat-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -1px;
  line-height: 1;
}

.astat-label {
  font-size: 0.8rem;
  color: var(--gray-600);
  font-weight: 500;
}

.about-content { display: flex; flex-direction: column; gap: 16px; }

.about-text {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.8;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.value-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.value-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 6px;
}

.value-item strong {
  display: block;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 2px;
}

.value-item p {
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* ══════════════ CTA BAND ══════════════ */
.cta-band {
  background: var(--off-white, #F8FAFC);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner-wrapper {
  display: block;
  border-radius: var(--radius-lg, 16px);
  box-shadow: var(--shadow-lg, 0 16px 32px rgba(0,0,0,0.1));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  text-decoration: none;
}

.cta-banner-wrapper:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
}

.cta-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-band-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.cta-band-text p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
}

.cta-band-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ══════════════ FOOTER ══════════════ */
.footer {
  background: var(--navy);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-tagline {
  margin-top: 16px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 260px;
}

.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-group h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.footer-links-group a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer-links-group a:hover { color: var(--gold); }

/* Novas classes de Contato do Footer */
.footer-contact-text {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 6px;
}

.footer-email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255,255,255,0.05);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all var(--transition);
  margin-top: 4px;
}

.footer-email-link:hover {
  background: rgba(245, 184, 0, 0.1);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.footer-bottom {
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-inner p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.3);
}

.footer-legal-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-legal-links a:hover {
  color: var(--white);
}

/* ══════════════ ANIMATIONS ══════════════ */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════ SCROLL-DRIVEN ANIMATIONS (PROGRESSIVE ENHANCEMENT) ══════════════ */
@supports (animation-timeline: view()) and (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    /* Desabilitar observer inicial do JS para quem tem suporte nativo */
    .reveal {
      opacity: 1;
      transform: none;
      transition: none;
    }

    /* 1. Global Progress Bar (Rastreamento Logístico) */
    .scroll-progress {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background: linear-gradient(90deg, var(--navy-mid), var(--gold));
      z-index: 9999;
      transform-origin: 0% 50%;
      animation: grow-progress linear;
      animation-timeline: scroll(root);
    }
    @keyframes grow-progress {
      from { transform: scaleX(0); }
      to   { transform: scaleX(1); }
    }

    /* 2. Service Cards Reveal */
    .service-card {
      animation: reveal-up linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 30%;
    }

    /* 3. Steps Line Fill (Sensação de Fluxo) */
    .steps-line {
      position: absolute;
      left: 50%;
      top: 20px; bottom: 20px;
      width: 2px;
      background: rgba(26,58,107,0.1); 
      transform: translateX(-50%);
      opacity: 1;
    }
    .steps-line::after {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 100%;
      background: linear-gradient(180deg, var(--navy-mid) 0%, var(--gold) 100%);
      transform-origin: top;
      animation: line-fill linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 60%;
    }
    @keyframes line-fill {
      from { transform: scaleY(0); }
      to   { transform: scaleY(1); }
    }

    /* 4. Step Number Pop */
    .step-number {
      animation: pop-checkpoint linear both;
      animation-timeline: view();
      animation-range: entry 20% cover 40%;
    }
    @keyframes pop-checkpoint {
      from { transform: scale(0.85); box-shadow: 0 0 0 0 rgba(245,184,0,0); color: var(--gray-400); }
      to   { transform: scale(1); box-shadow: 0 0 0 8px rgba(245,184,0,0.15); color: var(--gold); }
    }

    /* 5. About Values & Contents */
    .value-item {
      animation: side-reveal linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 25%;
    }
    @keyframes side-reveal {
      from { opacity: 0; transform: translateX(30px); }
      to   { opacity: 1; transform: translateX(0); }
    }
    
    .about-visual {
      animation: fade-scale linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 40%;
    }

    /* 6. Subtle Zoom on Banner Image */
    .cta-band { overflow: hidden; }
    .cta-band img {
      animation: subtle-parallax linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
    }
    @keyframes subtle-parallax {
      from { transform: scale(1) translateY(0); }
      to   { transform: scale(1.05) translateY(15px); }
    }

    /* 7. Section Headers Reveal */
    .section-header {
      animation: reveal-up linear both;
      animation-timeline: view();
      animation-range: entry 5% cover 25%;
    }

    @keyframes reveal-up {
      from { opacity: 0; transform: translateY(40px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    @keyframes fade-scale {
      from { opacity: 0; transform: scale(0.95); }
      to   { opacity: 1; transform: scale(1); }
    }
  }
}

/* ══════════════ RESPONSIVE ══════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-item-large { padding: 24px 32px; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,22,40,0.98);
    backdrop-filter: blur(20px);
    justify-content: center;
    align-items: center;
    gap: 16px;
    z-index: 999;
  }

  .nav-links.open { display: flex; }
  .nav-link { font-size: 1.2rem; padding: 12px 24px; }
  .nav-btn-admin { font-size: 1rem; padding: 14px 28px; margin-left: 0; }
  .nav-hamburger { display: flex; z-index: 1000; }

  .hero-stats { padding: 20px 24px; gap: 0; }
  .hero-stat { padding: 0 16px; }
  .stat-number { font-size: 1.8rem; }

  .services-grid { grid-template-columns: 1fr; }
  .steps-line { display: none; }
  .step, .step--reverse { flex-direction: column; text-align: left; }
  .about-stats-side { grid-template-columns: 1fr 1fr; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .cta-band-actions { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; width: 100%; }
  .btn-primary, .btn-secondary, .btn-ghost { width: 100%; justify-content: center; }
  .hero-trust-bar { flex-direction: column; gap: 12px; padding: 16px 20px; }
  .trust-divider { width: 40px; height: 1px; }
}
