/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #1D2F6F;
  --blue:   #003F91;
  --teal:   #0F7173;
  --gray-light: #D8D5DB;
  --gray-mid:   #ADACB5;
  --gray-dark:  #4a4a5a;
  --white:  #ffffff;
  --bg:     #f7f8fc;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-dark);
  background: var(--white);
  line-height: 1.6;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
}
.btn--primary:hover { background: var(--blue); transform: translateY(-1px); }

.btn--teal {
  background: var(--teal);
  color: var(--white);
}
.btn--teal:hover { background: #0d5e60; transform: translateY(-1px); }

.btn--outline {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
  padding: 10px 22px;
}
.btn--outline:hover { background: var(--navy); color: var(--white); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

.btn--full { width: 100%; text-align: center; }

/* === LABELS & HEADINGS === */
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.section-label--light { color: var(--gray-light); }

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}
.section-header h2 { font-size: clamp(28px, 4vw, 38px); color: var(--navy); margin: 8px 0 16px; }
.section-header p { color: var(--gray-mid); font-size: 17px; }
.section-header--light h2 { color: var(--white); }
.section-header--light p { color: rgba(255,255,255,0.7); }

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-light);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}

.logo { display: flex; align-items: center; text-decoration: none; }
.logo__img { height: 128px; width: auto; display: block; }
.footer__logo { height: 90px; width: auto; display: block; filter: brightness(0) invert(1); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  text-decoration: none;
  color: var(--gray-dark);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--navy); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: 0.2s;
}

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  gap: 16px;
  border-top: 1px solid var(--gray-light);
}
.nav__mobile a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 500;
  font-size: 16px;
}
.nav__mobile.open { display: flex; }

/* === HERO === */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image: url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?w=1600&q=80');
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(29,47,111,0.88) 0%, rgba(29,47,111,0.65) 60%, rgba(15,113,115,0.4) 100%);
  z-index: 0;
}

.hero__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.deco-circle {
  position: absolute;
  border-radius: 50%;
}
.deco-circle--lg { width: 480px; height: 480px; right: -80px; top: -100px; opacity: 0.12; }
.deco-circle--md { width: 280px; height: 280px; right: 160px; bottom: -60px; opacity: 0.1; }
.deco-circle--sm { width: 140px; height: 140px; right: 80px; top: 200px; opacity: 0.18; }
.deco-circle--navy { background: var(--navy); }
.deco-circle--blue  { background: var(--blue); }
.deco-circle--teal  { background: var(--teal); }

.deco-half {
  position: absolute;
  width: 200px;
  height: 100px;
  border-radius: 100px 100px 0 0;
}
.deco-half--1 { background: var(--navy); opacity: 0.06; bottom: 60px; right: 320px; transform: rotate(45deg); }
.deco-half--2 { background: var(--teal); opacity: 0.08; top: 80px; right: 400px; transform: rotate(-30deg); }

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: 80px 24px;
}

.hero__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #4fd8da;
  margin-bottom: 16px;
}

.hero__title {
  font-size: clamp(36px, 5.5vw, 58px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero__sub {
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* === SOBRE === */
.sobre {
  padding: 96px 0;
  background: var(--white);
}

.sobre__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.sobre__text .section-label { margin-bottom: 8px; }
.sobre__text h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  color: var(--navy);
  margin: 8px 0 20px;
  line-height: 1.25;
}
.sobre__text p {
  color: var(--gray-dark);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 16px;
}

.sobre__stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  align-items: start;
  padding: 24px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--gray-light);
}

.stat-card__icon {
  grid-row: 1 / 3;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stat-card__icon--navy { background: var(--navy); }
.stat-card__icon--teal { background: var(--teal); }
.stat-card__icon--blue { background: var(--blue); }

.stat-card strong {
  font-size: 16px;
  color: var(--navy);
  font-weight: 600;
  align-self: end;
}
.stat-card span {
  font-size: 14px;
  color: var(--gray-mid);
  line-height: 1.5;
  align-self: start;
}

/* === SOLUÇÕES === */
.solucoes {
  padding: 96px 0;
  background: var(--bg);
}

.solucoes__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.solucao-card {
  position: relative;
  background: var(--white);
  border-radius: 16px;
  padding: 40px 36px;
  border: 1px solid var(--gray-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.solucao-card__accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.solucao-card__accent--navy { background: var(--navy); }
.solucao-card__accent--teal { background: var(--teal); }

.solucao-card__icon {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.solucao-card__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-mid);
}

.solucao-card h3 {
  font-size: 22px;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.3;
}

.solucao-card p {
  color: var(--gray-dark);
  font-size: 15px;
  line-height: 1.7;
}

.solucao-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.solucao-card ul li {
  font-size: 14px;
  color: var(--gray-dark);
  padding-left: 20px;
  position: relative;
}
.solucao-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}
.solucao-card--teal ul li::before { background: var(--teal); }

.solucao-card .btn { align-self: flex-start; margin-top: 8px; }

/* === COMO FUNCIONA === */
.como-funciona {
  padding: 96px 0;
  background: var(--navy);
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.step {
  flex: 1;
  min-width: 180px;
  max-width: 220px;
  text-align: center;
}

.step__number {
  font-size: 42px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.9;
}

.step h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

.step__arrow {
  font-size: 28px;
  color: var(--teal);
  opacity: 0.5;
  padding-top: 16px;
  flex-shrink: 0;
}

/* === CONTATO === */
.contato {
  padding: 96px 0;
  background: var(--white);
}

.contato__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}

.contato__info .section-label { margin-bottom: 8px; }

.contato__info h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  color: var(--navy);
  margin: 8px 0 20px;
  line-height: 1.25;
}

.contato__info p {
  color: var(--gray-dark);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 24px;
}

.contato__email {
  display: flex;
  align-items: center;
  gap: 10px;
}
.contato__email a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
}
.contato__email a:hover { color: var(--teal); }

.contato__form {
  background: var(--bg);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid var(--gray-light);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--gray-light);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--gray-dark);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
}

.form-group textarea { resize: vertical; }

.form-note {
  font-size: 12px;
  color: var(--gray-mid);
  text-align: center;
}

/* === FOOTER === */
.footer {
  background: var(--navy);
  padding: 16px 0 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__brand p {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.footer__links a {
  text-decoration: none;
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 14px 0;
}
.footer__bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .sobre__inner,
  .contato__inner { grid-template-columns: 1fr; gap: 48px; }

  .solucoes__grid { grid-template-columns: 1fr; }

  .steps { gap: 32px; }
  .step__arrow { display: none; }
  .step { max-width: 100%; }
}

@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }

  .hero__content { padding: 60px 0; }
  .hero__actions { flex-direction: column; }

  .sobre, .solucoes, .como-funciona, .contato { padding: 64px 0; }

  .contato__form { padding: 24px; }

  .footer__inner { flex-direction: column; }
}
