/* ═══════════════════════════════════════════
   TOKENS
═══════════════════════════════════════════ */
:root {
  --blue-dark:  #0d1f3c;
  --blue:       #1a3a6b;
  --blue-mid:   #22488a;
  --blue-light: #4a9eff;
  --silver:     #c0c8d8;
  --white:      #f0f4ff;
  --off-white:  #e8eef8;
  --gray:       #8898b0;
  --bg:         #f5f7fb;
  --text:       #1a2540;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;

  --radius: 12px;
  --gap: clamp(1.5rem, 4vw, 3rem);
}

/* ═══════════════════════════════════════════
   RESET
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { text-decoration: none; color: inherit; }

/* ═══════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

/* ═══════════════════════════════════════════
   TYPOGRAPHY HELPERS
═══════════════════════════════════════════ */
.section-label {
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: .75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--blue-dark);
  margin-bottom: 1.25rem;
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--blue-dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, #22488a55 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 10% 80%, #0a1628 0%, transparent 50%),
    linear-gradient(160deg, #0d1f3c 0%, #111c33 40%, #0a1220 100%);
}

/* grid lines texture */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-block: 5rem 4rem;
}

/* Logo lockup */
.hero__logo {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  animation: fadeUp .8s ease both;
}

.shield {
  width: clamp(64px, 10vw, 90px);
  filter: drop-shadow(0 0 20px rgba(74, 158, 255, .4));
}

.brand-cp {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  line-height: 1;
}
.brand-name {
  font-family: var(--font-display);
  font-size: clamp(.75rem, 2vw, 1rem);
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--silver);
  line-height: 1.4;
}

/* Tagline */
.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.0;
  max-width: 700px;
  animation: fadeUp .8s .15s ease both;
}
.hero__tagline em {
  font-style: normal;
  color: var(--blue-light);
}

.hero__sub {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: var(--silver);
  max-width: 520px;
  line-height: 1.7;
  animation: fadeUp .8s .3s ease both;
}

/* Scroll cue */
.hero__scroll {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--gray);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: 2rem;
  animation: fadeUp .8s .45s ease both;
}
.hero__scroll svg {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════ */
.services {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--bg);
}

.services .section-title { text-align: center; }
.services .section-label { text-align: center; display: block; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background: #fff;
  border: 1px solid rgba(26, 58, 107, .1);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  opacity: 0;
  transition: opacity .25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26,58,107,.12);
  border-color: rgba(74,158,255,.3);
}
.service-card:hover::before { opacity: 1; }

.service-card__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--white);
}
.service-card__icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: .5rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.service-card p {
  font-size: .92rem;
  color: #5a6a85;
  line-height: 1.65;
}

/* ═══════════════════════════════════════════
   ABOUT / DIFERENCIAIS
═══════════════════════════════════════════ */
.about {
  background: linear-gradient(160deg, var(--blue-dark) 0%, #111c33 100%);
  padding-block: clamp(4rem, 8vw, 7rem);
  color: var(--white);
}
.about .section-title { color: var(--white); }

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
}

.about__text p {
  color: var(--silver);
  line-height: 1.75;
  max-width: 480px;
}

.about__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-top: 1.5rem;
  font-size: .95rem;
  color: var(--silver);
}
.about__list li {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.check {
  color: var(--blue-light);
  font-weight: 700;
  font-size: 1.1rem;
}

.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat__num em {
  font-style: normal;
  color: var(--blue-light);
  font-size: .7em;
}
.stat__label {
  font-size: .82rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
.contact {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--bg);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: start;
}

.contact__text p {
  color: #5a6a85;
  line-height: 1.7;
  max-width: 380px;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid rgba(26,58,107,.1);
  border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.contact-item:hover {
  border-color: rgba(74,158,255,.4);
  box-shadow: 0 6px 24px rgba(26,58,107,.08);
}
.contact-item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--blue);
}
.contact-item strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--blue-dark);
}
.contact-item span {
  font-size: .9rem;
  color: #5a6a85;
}

.contact-item--whatsapp {
  background: linear-gradient(135deg, #0d1f3c, #1a3a6b);
  border-color: transparent;
  color: #fff;
}
.contact-item--whatsapp svg { color: #25d366; }
.contact-item--whatsapp strong { color: #fff; }
.contact-item--whatsapp span { color: var(--silver); }
.contact-item--whatsapp:hover {
  border-color: transparent;
  box-shadow: 0 8px 30px rgba(13,31,60,.35);
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  background: var(--blue-dark);
  padding-block: 2rem;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.footer .brand-cp {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
}
.footer .brand-name {
  font-family: var(--font-display);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--silver);
}
.footer__copy {
  font-size: .78rem;
  color: var(--gray);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .about__inner,
  .contact__inner {
    grid-template-columns: 1fr;
  }
  .about__stats {
    grid-template-columns: 1fr 1fr;
  }
  .hero__tagline { font-size: clamp(2.2rem, 10vw, 3rem); }
}

@media (max-width: 480px) {
  .services__grid { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: 1fr 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
}