:root {
  --azul-caixa: #005ca9;
  --azul-escuro: #003b6f;
  --azul-claro: #eaf4ff;
  --laranja-caixa: #f39200;
  --amarelo-caixa: #ffd100;
  --texto: #17324d;
  --texto-claro: #5b6f82;
  --branco: #ffffff;
  --fundo: #f7f9fc;
  --borda: #d9e6f2;
  --sombra: 0 18px 45px rgba(0, 44, 84, 0.10);
  --radius: 18px;
  --container: 1180px;
  --header-height: 78px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--fundo);
  color: var(--texto);
  line-height: 1.65;
}

body.modal-open {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.logo {
  width: 30%;
  padding-bottom: 25px;

  @media screen and (max-width: 768px) {
    max-width: 100%;
    width: 40%;
    padding-bottom: 15px;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(92%, var(--container));
  margin: 0 auto;
}

.section {
  padding: 84px 0;
  scroll-margin-top: 92px;
}

.section-header {
  max-width: 780px;
  margin-bottom: 36px;
}

.eyebrow {
  display: inline-block;
  padding: 8px 14px;
  background: rgba(243, 146, 0, 0.12);
  color: var(--laranja-caixa);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 18px;
}

h1, h2, h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  color: var(--branco);
  margin-bottom: 18px;
  max-width: 780px;
}

h2 {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  color: var(--azul-escuro);
  margin-bottom: 18px;
}

h3 {
  font-size: 1.15rem;
  color: var(--azul-escuro);
  margin-bottom: 10px;
}

p.lead {
  font-size: 1.14rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 720px;
  margin-bottom: 18px;
}

p {
  color: var(--texto-claro);
  font-size: 1rem;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -50px;
  background: var(--laranja-caixa);
  color: var(--branco);
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 9999;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 92, 169, 0.10);
}

.site-header .container {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 220px;
}

.brand strong {
  color: var(--azul-escuro);
  font-size: 1rem;
}

.brand span {
  color: var(--texto-claro);
  font-size: 0.92rem;
}

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

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 209, 0, 0.22), transparent 28%),
    linear-gradient(135deg, #005ca9 0%, #00498a 48%, #003b6f 100%);
  padding: 88px 0 96px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.22;
}

.hero::before {
  width: 320px;
  height: 320px;
  background: var(--amarelo-caixa);
  top: -80px;
  right: -120px;
}

.hero::after {
  width: 260px;
  height: 260px;
  background: var(--laranja-caixa);
  bottom: -120px;
  left: -80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-support {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.84);
  max-width: 720px;
  margin-bottom: 30px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: 0.25s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--laranja-caixa);
  color: var(--branco);
  box-shadow: 0 12px 24px rgba(243, 146, 0, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #e68700;
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  padding: 28px;
  backdrop-filter: blur(10px);
  box-shadow: var(--sombra);
}

.image-placeholder {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 320px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.18));
  border: 1px dashed rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  text-align: center;
}

.image-placeholder span {
  color: rgba(255,255,255,0.92);
  font-weight: 700;
  max-width: 260px;
}

.section-image {
  border-radius: 22px;
  overflow: hidden;
  min-height: 340px;
  background: linear-gradient(135deg, #dceeff, #f7fbff);
  border: 1px dashed #9dbfe0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  text-align: center;
}

.section-image span {
  color: var(--azul-escuro);
  font-weight: 700;
  max-width: 280px;
}

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

.card,
.faq-item,
.step,
.cta-banner {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--radius);
  box-shadow: var(--sombra);
}

.card {
  padding: 28px;
}

.list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.list-item {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  border: 1px solid var(--borda);
  border-radius: 16px;
  padding: 18px 18px 18px 20px;
  color: var(--texto);
  font-weight: 600;
  min-height: 72px;
  display: flex;
  align-items: center;
}

.cta-banner {
  margin-top: 28px;
  padding: 26px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg, #fff7eb 0%, #ffffff 100%);
  border-left: 6px solid var(--laranja-caixa);
}

.cta-banner strong {
  font-size: 1.1rem;
  color: var(--azul-escuro);
  display: block;
  margin-bottom: 6px;
}

.features,
.authority-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.features .card,
.authority-list .card {
  padding: 22px 24px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 26px;
}

.cards-grid .card {
  height: 100%;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.step {
  padding: 24px 20px;
  position: relative;
  overflow: hidden;
}

.step-number {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--azul-caixa), var(--azul-escuro));
  color: var(--branco);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 16px;
}

.faq {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.faq-item {
  padding: 24px 26px;
}

.faq-item h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.final-cta {
  background: linear-gradient(135deg, #003b6f 0%, #005ca9 100%);
  color: var(--branco);
  border-radius: 28px;
  padding: 52px 38px;
  text-align: center;
  box-shadow: var(--sombra);
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: auto -80px -80px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 209, 0, 0.12);
}

.final-cta h2 {
  color: var(--branco);
  max-width: 860px;
  margin: 0 auto 18px;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.84);
  max-width: 760px;
  margin: 0 auto 28px;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 64px;
  height: 64px;
  border: none;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 32px rgba(37, 211, 102, 0.28);
  cursor: pointer;
  z-index: 1500;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 38px rgba(37, 211, 102, 0.34);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2000;
}

.modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 26, 46, 0.70);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  background: var(--branco);
  border-radius: 22px;
  box-shadow: 0 25px 70px rgba(0,0,0,0.22);
  overflow: hidden;
}

.modal-topbar {
  height: 6px;
  background: linear-gradient(90deg, var(--azul-caixa), var(--laranja-caixa), var(--amarelo-caixa));
}

.modal-content {
  padding: 30px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.modal-header h2 {
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.modal-close {
  width: 42px;
  height: 42px;
  border: 1px solid var(--borda);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--azul-escuro);
}

.form-grid {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  color: var(--azul-escuro);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input {
  width: 100%;
  min-height: 54px;
  border: 1px solid #c9dced;
  border-radius: 14px;
  padding: 0 16px;
  font-size: 1rem;
  color: var(--texto);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus {
  border-color: var(--azul-caixa);
  box-shadow: 0 0 0 4px rgba(0, 92, 169, 0.10);
}

.form-disclaimer {
  font-size: 0.9rem;
  color: var(--texto-claro);
  margin-top: 14px;
}

footer {
  padding: 17px 17px;
  text-align: center;
}

footer p {
  color: var(--texto-claro);
  font-size: 0.95rem;
  line-height: 1.2rem;
}

#especializacao,
#autoridade,
#como-funciona,
#contato {
  background: #ffffff;
}

@media (max-width: 1080px) {
  .hero-grid,
  .grid-2,
  .cards-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

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

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .site-header .container,
  .header-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header .container {
    padding: 14px 0;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 58px;
    height: 58px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 68px 0;
  }

  .hero {
    padding: 72px 0 80px;
  }

  .hero-card,
  .card,
  .faq-item,
  .step,
  .cta-banner,
  .final-cta,
  .modal-content {
    padding: 22px;
  }

  .btn {
    width: 100%;
  }

  .cta-row {
    flex-direction: column;
  }
}
