*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue: #2E7D9B;
  --blue-dark: #1E5F78;
  --blue-light: #EBF5FA;
  --blue-mid: #D0E8F2;
  --green: #00BB7E;
  --green-dark: #009963;
  --green-light: #E6F9F3;
  --gray-bg: #F7F8FA;
  --gray-border: #E4EBF0;
  --gray-text: #5A6E7A;
  --gray-light: #8A9BAA;
  --dark: #162029;
  --dark-mid: #2C3E4A;
  --white: #FFFFFF;
  --font: 'Inter', sans-serif;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-xs: 0 1px 4px rgba(22,32,41,0.06);
  --shadow: 0 4px 16px rgba(22,32,41,0.08);
  --shadow-md: 0 8px 28px rgba(22,32,41,0.10);
  --shadow-lg: 0 16px 48px rgba(22,32,41,0.13);
  --transition: all 0.22s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { font-family: var(--font); }

/* ─── TIPOGRAFIA ─────────────────────────── */

h1, h2, h3, h4, h5 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.05rem, 2vw, 1.25rem); }
h4 { font-size: 0.97rem; font-weight: 600; }

p {
  color: var(--gray-text);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ─── BOTÕES ─────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: var(--transition);
  letter-spacing: 0.01em;
  white-space: nowrap;
  font-family: var(--font);
}

.btn--primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.btn--primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,187,126,0.28);
}

.btn--secondary {
  background: var(--white);
  color: var(--dark);
  border-color: var(--gray-border);
  box-shadow: var(--shadow-xs);
}

.btn--secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn--outline:hover {
  background: var(--blue);
  color: var(--white);
}

.btn--ghost {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.18);
}

.btn--ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.35);
}

.btn--lg {
  padding: 14px 30px;
  font-size: 0.93rem;
}

.btn--sm {
  padding: 8px 18px;
  font-size: 0.82rem;
}

/* ─── BADGE ──────────────────────────────── */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 1px solid var(--blue-mid);
  margin-bottom: 14px;
}

/* ─── DIVIDER ────────────────────────────── */

.divider {
  width: 36px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin: 0 0 18px;
}

.centered .divider {
  margin-left: auto;
  margin-right: auto;
}

/* ─── SECTION HEADER ─────────────────────── */

.section-header {
  max-width: 600px;
  margin-bottom: 52px;
}

.section-header.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 { margin-bottom: 12px; }
.section-header p { font-size: 0.95rem; }

/* ─── REVEAL ─────────────────────────────── */



/* ─── HEADER ─────────────────────────────── */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.header--scrolled {
  border-bottom-color: var(--gray-border);
  box-shadow: var(--shadow-xs);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* ─── LOGO ───────────────────────────────── */

.logo img {
  height: 48px;
  width: auto;
  display: block;
}

/* ─── NAV ────────────────────────────────── */

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav__link {
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--gray-text);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav__link:hover {
  color: var(--blue);
  background: var(--blue-light);
}

.nav__link.active {
  color: var(--blue);
  font-weight: 600;
  background: var(--blue-light);
}

.nav__cta {
  margin-left: 10px;
  padding: 8px 18px;
  background: var(--green);
  color: white !important;
  border-radius: var(--radius-sm);
  font-size: 0.87rem;
  font-weight: 600;
  transition: var(--transition);
}

.nav__cta:hover {
  background: var(--green-dark) !important;
  color: white !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,187,126,0.25);
}

/* ─── HAMBURGER ──────────────────────────── */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── FOOTER ─────────────────────────────── */

.footer {
  background: var(--dark);
  padding: 72px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__brand .logo {
  display: inline-block;
  margin-bottom: 16px;
}

.footer__brand .logo img {
  height: 32px;
  filter: brightness(0) invert(1);
  opacity: 0.88;
}

.footer__brand p {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 24px;
}

.footer__social {
  display: flex;
  gap: 8px;
}

.footer__social a {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  transition: var(--transition);
}

.footer__social a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
  transform: translateY(-2px);
}

.footer__col {
  display: flex;
  flex-direction: column;
}

.footer__col h5 {
  color: rgba(255,255,255,0.85);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 16px;
}

.footer__col a {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.38);
  padding: 4px 0;
  transition: var(--transition);
}

.footer__col a:hover {
  color: var(--green);
  padding-left: 4px;
}

.footer__contact-item {
  margin-bottom: 12px;
}

.footer__contact-item span {
  display: block;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
  margin-bottom: 2px;
}

.footer__contact-item a {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.45);
  padding: 0;
}

.footer__contact-item a:hover {
  color: var(--green);
  padding-left: 0;
}

.footer__bottom {
  padding: 20px 0;
}

.footer__bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer__bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.22);
}

.footer__bottom-links {
  display: flex;
  gap: 20px;
}

.footer__bottom-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.22);
  transition: var(--transition);
}

.footer__bottom-links a:hover {
  color: rgba(255,255,255,0.55);
}

/* ─── RESPONSIVE ─────────────────────────── */

@media (max-width: 960px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 12px 16px 20px;
    border-bottom: 1px solid var(--gray-border);
    box-shadow: var(--shadow-md);
    gap: 2px;
    align-items: stretch;
    z-index: 999;
  }

  .nav.open {
    display: flex;
  }

  .nav__link {
    padding: 11px 14px;
    font-size: 0.92rem;
    text-align: left;
  }

  .nav__cta {
    margin-left: 0;
    margin-top: 6px;
    text-align: center;
    display: block;
    padding: 12px;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }

  .footer__inner {
    grid-template-columns: 1fr;
  }

  .footer__bottom .container {
    flex-direction: column;
    text-align: center;
  }

  .footer__bottom-links {
    justify-content: center;
  }
}
.footer__bottom .container {
  text-align: center;
  justify-content: center;
}