:root {
  --navy-900: #081a30;
  --navy-800: #0d2b4e;
  --navy-700: #14467a;
  --blue-500: #1f7fb0;
  --cyan-400: #2e8fc0;
  --cyan-300: #56b1dd;
  --whats: #25d366;
  --whats-dark: #1eb558;
  --ink: #16243a;
  --ink-soft: #4a5b72;
  --bg: #ffffff;
  --bg-alt: #f2f6fa;
  --line: #dde6ef;
  --radius: 14px;
  --font-head: "Montserrat", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; }

.container {
  width: min(1140px, 100% - 40px);
  margin-inline: auto;
}

.section { padding: clamp(56px, 9vw, 96px) 0; }
.section--alt { background: var(--bg-alt); }
.section--navy {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 40%, var(--navy-700) 75%, var(--blue-500) 100%);
  color: #fff;
}
.section--navy .section-head h2 { color: #fff; }
.section--navy .section-head p { color: rgba(255, 255, 255, 0.85); }
.section--navy .section-tag {
  background: rgba(255, 255, 255, 0.14);
  color: var(--cyan-300);
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(32px, 6vw, 52px);
  text-align: center;
}
.section-head--left { margin: 0; text-align: left; }
.section-head h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--navy-800); }
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: clamp(0.98rem, 2vw, 1.05rem); }

.section-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-500);
  background: rgba(46, 143, 192, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.icon { width: 1.2em; height: 1.2em; flex-shrink: 0; }

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 10px 20px; font-size: 0.9rem; }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }
.btn--whats {
  background: var(--whats);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}
.btn--whats:hover { background: var(--whats-dark); }
.btn--ghost {
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #fff;
}
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }
.btn--primary {
  background: linear-gradient(135deg, var(--navy-700), var(--cyan-400));
  color: #fff;
  box-shadow: 0 8px 24px rgba(31, 127, 176, 0.35);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 26, 48, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 10px 0;
}
.header__brand { margin-right: auto; display: flex; }
.header__logo { width: 54px; height: auto; }
.nav { display: flex; gap: 26px; }
.nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav a:hover { color: var(--cyan-300); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

/* Hero */
.hero {
  position: relative;
  background: var(--navy-900);
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: clamp(560px, 88vh, 820px);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(95deg, rgba(8, 26, 48, 0.96) 0%, rgba(13, 43, 78, 0.88) 34%, rgba(13, 43, 78, 0.45) 60%, rgba(8, 26, 48, 0.08) 100%);
}
.hero__strip { z-index: 2; }
.hero__inner > * { position: relative; z-index: 2; }
.hero__inner {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  padding: clamp(56px, 8vw, 90px) 0;
}
.hero__content { max-width: 620px; }
.hero__badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: clamp(0.78rem, 2vw, 0.88rem);
  font-weight: 700;
  color: #fff;
  background: rgba(46, 143, 192, 0.25);
  border: 1px solid rgba(86, 177, 221, 0.45);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 900;
  margin-bottom: 18px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}
.hero p {
  font-size: clamp(1.02rem, 2.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 520px;
  margin-bottom: 30px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__strip {
  position: relative;
  width: 100%;
  background: rgba(8, 26, 48, 0.78);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hero__trust {
  list-style: none;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.hero__trust li {
  position: relative;
  padding-left: 28px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}
.hero__trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  background: var(--whats);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.5-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7z"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.5-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7z"/></svg>') center / contain no-repeat;
}

/* Bloco de impacto */
.impact__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.impact-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.impact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(13, 43, 78, 0.12);
}
.impact-card__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-700), var(--cyan-400));
  color: #fff;
  font-size: 1.3rem;
}
.impact-card h3 { color: var(--navy-800); font-size: 1.1rem; margin-bottom: 6px; }
.impact-card p { color: var(--ink-soft); font-size: 0.92rem; }

/* Serviços */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan-400);
  box-shadow: 0 18px 40px rgba(13, 43, 78, 0.12);
}
.service-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(46, 143, 192, 0.12);
  color: var(--blue-500);
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.service-card h3 { color: var(--navy-800); font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { color: var(--ink-soft); font-size: 0.95rem; }
.service-card__cta {
  margin-top: auto;
  padding-top: 18px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--blue-500);
  text-decoration: none;
}
.service-card__cta:hover { color: var(--navy-700); text-decoration: underline; }

/* Showcase */
.showcase {
  position: relative;
  background: var(--bg);
  color: var(--navy-800);
  padding: clamp(64px, 10vw, 110px) 0;
  overflow: hidden;
}
.showcase__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 250px at 15% 20%, rgba(86, 177, 221, 0.1), transparent 70%),
    radial-gradient(500px 250px at 85% 80%, rgba(46, 143, 192, 0.1), transparent 70%);
}
.showcase__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(32px, 6vw, 64px);
}
.showcase h2 {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 22px;
}
.showcase__rotator {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--blue-500);
  min-height: 2em;
  margin-bottom: 28px;
  transition: opacity 0.4s, transform 0.4s;
}
.showcase__rotator.is-out { opacity: 0; transform: translateY(10px); }
.showcase__media img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 24px 50px rgba(13, 43, 78, 0.3);
}

/* Perfis */
.profiles__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.profile-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  transition: transform 0.25s, box-shadow 0.25s;
}
.profile-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(13, 43, 78, 0.1);
}
.profile-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-700), var(--cyan-400));
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.profile-card h3 { color: var(--navy-800); font-size: 1.05rem; margin-bottom: 8px; }
.profile-card p { color: var(--ink-soft); font-size: 0.92rem; }

/* Marcas */
.brands .section-head { margin-bottom: 36px; }
.brands__marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.brands__track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee 38s linear infinite;
  padding: 6px 0;
}
.brands__track span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy-700);
  background: var(--bg);
  border-radius: 999px;
  padding: 11px 26px;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(8, 26, 48, 0.25);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Diferenciais */
.features__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 6vw, 56px);
  align-items: start;
}
.features__btn { margin-top: 24px; }
.features__list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.features__list li {
  position: relative;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px 16px 48px;
  font-weight: 500;
  color: var(--navy-800);
}
.features__list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--cyan-400));
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.5-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7z"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.5-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7z"/></svg>') center / contain no-repeat;
}

/* CTA */
.cta {
  position: relative;
  background: var(--navy-900);
  color: #fff;
  padding: clamp(64px, 10vw, 100px) 0;
  text-align: center;
  overflow: hidden;
}
.cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.cta__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(8, 26, 48, 0.93), rgba(13, 43, 78, 0.88) 50%, rgba(31, 127, 176, 0.82));
}
.cta__inner { position: relative; z-index: 2; }
.cta h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 14px; }
.cta p { font-size: clamp(1rem, 2.5vw, 1.1rem); color: rgba(255, 255, 255, 0.85); margin-bottom: 32px; }
.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }

/* Institucional */
.about__inner {
  display: flex;
  align-items: center;
  gap: clamp(28px, 5vw, 48px);
  max-width: 860px;
}
.about__logo { width: clamp(120px, 18vw, 160px); flex-shrink: 0; }
.about p { color: var(--ink-soft); font-size: clamp(1rem, 2vw, 1.08rem); }
.about__highlight {
  margin-top: 14px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--blue-500) !important;
}

/* Footer */
.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.8);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 40px;
  padding: clamp(48px, 8vw, 64px) 0 48px;
}
.footer__logo { width: 92px; margin-bottom: 16px; }
.footer__brand p { margin-bottom: 20px; font-size: 0.95rem; }
.footer address { font-style: normal; }
.footer__col h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.footer__col h4 + p { margin-bottom: 22px; }
.footer__col p { font-size: 0.95rem; line-height: 1.9; }
.footer__col a { color: var(--cyan-300); text-decoration: none; }
.footer__col a:hover { text-decoration: underline; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  font-size: 0.85rem;
  text-align: center;
}

/* WhatsApp flutuante */
.whats-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--whats);
  color: #fff;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s;
}
.whats-float:hover { transform: scale(1.08); }
.whats-float .icon { width: 30px; height: 30px; }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .brands__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* Responsivo */
@media (max-width: 1024px) {
  .nav { gap: 18px; }
  .impact__grid { grid-template-columns: repeat(2, 1fr); }
  .profiles__grid { grid-template-columns: repeat(3, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .profiles__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .header__inner { gap: 14px; }
  .header__cta { display: none; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--navy-900);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav.is-open { max-height: 360px; }
  .nav a { padding: 15px 24px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
  .nav-toggle { display: flex; }
  .showcase__inner { grid-template-columns: 1fr; }
  .showcase__media { max-width: 520px; }
  .showcase__media img { max-height: 320px; }
  .features__inner { grid-template-columns: 1fr; align-items: start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .impact__grid, .services__grid, .profiles__grid { grid-template-columns: 1fr; }
  .features__list { grid-template-columns: 1fr; }
  .about__inner { flex-direction: column; text-align: center; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .footer__logo { margin-inline: auto; }
  .hero { min-height: auto; }
  .hero__trust { flex-direction: column; gap: 12px; padding-top: 18px; padding-bottom: 18px; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .cta__actions { flex-direction: column; align-items: stretch; }
  .btn--lg { padding: 15px 24px; font-size: 1rem; }
  .header__logo { width: 48px; }
  .whats-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .brands__track span { font-size: 0.9rem; padding: 9px 20px; }
}
