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

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy:   #023047;
  --teal:   #219EBC;
  --sky:    #8ECAE6;
  --yellow: #FFB703;
  --orange: #FB8500;
  --light-bg: #f0f7ff;
  --muted:  #64748b;
  --border: #e2e8f0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--navy);
  background: #fff;
  overflow-x: hidden;
}

/* ─── NAVBAR ────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 10px 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}

#navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(2,48,71,0.1);
  padding: 6px 0;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo img {
  height: 80px;
  width: 80px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s;
}

.nav-logo:hover img { transform: scale(1.05); }

.nav-cta {
  padding: 10px 26px;
  border-radius: 50px;
  border: 2px solid var(--teal);
  background: transparent;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}

#navbar.scrolled .nav-cta { color: var(--navy); }
.nav-cta:hover { background: var(--teal); color: #fff; transform: scale(1.05); }

/* ─── HERO ──────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--navy);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(2,48,71,0.45) 0%, transparent 50%, rgba(2,48,71,0.75) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 130px 24px 90px;
  animation: fadeUp 0.9s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
  drop-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.hero-title .highlight { color: var(--teal); }

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--sky);
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto 44px;
  font-weight: 500;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── BUTTONS ───────────────────────────────────── */
.btn-orange {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 8px 30px rgba(251,133,0,0.35);
}

.btn-orange:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 44px rgba(251,133,0,0.5);
}

/* ─── SCROLL INDICATOR ──────────────────────────── */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(142,202,230,0.65);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator::after {
  content: '';
  width: 2px;
  height: 48px;
  background: linear-gradient(to bottom, var(--teal), transparent);
  border-radius: 2px;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ─── SERVICES ──────────────────────────────────── */
#services {
  padding: 100px 24px;
  background: var(--light-bg);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto 48px;
}

.service-card {
  background: #fff;
  border-radius: 24px;
  padding: 40px 36px;
  border: 1px solid rgba(33,158,188,0.1);
  box-shadow: 0 4px 24px rgba(2,48,71,0.06);
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--sky));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(2,48,71,0.13);
  border-color: rgba(33,158,188,0.3);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: background 0.3s;
}

.service-card:hover .service-icon { background: var(--teal); }

.service-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--sky);
  transition: stroke 0.3s;
}

.service-card:hover .service-icon svg { stroke: #fff; }

.service-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-card > p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.78;
  margin-bottom: 24px;
}

.service-features {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(2,48,71,0.8);
}

.service-features li svg {
  width: 18px;
  height: 18px;
  stroke: var(--teal);
  flex-shrink: 0;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.tag {
  padding: 4px 12px;
  border-radius: 8px;
  background: rgba(142,202,230,0.2);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

/* Audience Banner */
.audience-banner {
  max-width: 1100px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--navy), #034466);
  border-radius: 20px;
  padding: 40px 56px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(2,48,71,0.2);
}

.audience-banner h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.audience-banner p {
  font-size: 1.1rem;
  color: #fff;
}

.highlight-yellow { color: var(--yellow); font-weight: 700; }

/* ─── FINAL CTA ─────────────────────────────────── */
#contato {
  padding: 100px 24px;
  background: #fff;
}

.cta-center {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 18px;
}

.highlight-teal { color: var(--teal); }

.cta-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 40px;
}

.cta-box {
  background: var(--light-bg);
  border-radius: 24px;
  border: 1px solid rgba(33,158,188,0.18);
  padding: 40px 48px;
}

.cta-box h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.cta-box > p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 24px;
}

/* ─── FOOTER ────────────────────────────────────── */
footer {
  background: #011e2c;
  padding: 56px 24px 28px;
  color: rgba(255,255,255,0.75);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 28px;
}

.footer-brand { text-align: left; }

.footer-logo {
  height: 64px;
  width: 64px;
  object-fit: contain;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(142,202,230,0.7);
  max-width: 260px;
  line-height: 1.65;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: all 0.3s;
}

.footer-social a:hover { background: var(--teal); color: #fff; }

.footer-social svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

.footer-links { display: flex; gap: 20px; }

.footer-links a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--sky); }

/* ─── REVEAL ON SCROLL ──────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }

/* ─── RESPONSIVE ────────────────────────────────── */
@media (max-width: 768px) {
  .audience-banner { padding: 28px 24px; }
  .cta-box { padding: 28px 20px; }
  .footer-top { flex-direction: column; align-items: center; text-align: center; }
  .footer-brand { text-align: center; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
