:root {
  --azul: #0b2f63;
  --azul-escuro: #061f42;
  --azul-card: #eef5ff;
  --vermelho: #dc2626;
  --vermelho-escuro: #b91c1c;
  --texto: #08224a;
  --cinza-claro: #f8fafc;
  --borda: #dbe5f2;
  --verde-whatsapp: #25d366;
  --sombra: 0 18px 46px rgba(8, 34, 74, 0.1);
  --raio: 30px;
}

/* ============================================
   RESET / BASE
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

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

a,
a:visited,
a:hover,
a:active {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

section {
  padding: 86px 0;
}

.branco {
  background: white;
}

/* ============================================
   HEADER / MENU
   ============================================ */

.topo {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--borda);
}

.topo-grid {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.marca {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.marca img {
  display: block;
  width: auto;
  height: auto;
  max-width: 180px;
  max-height: 60px;
  object-fit: contain;
}

.marca-texto {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.marca-texto strong {
  color: var(--azul-escuro);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  margin: 0;
}

.marca-texto span {
  color: #7a88a3;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  line-height: 1.1;
  margin-top: 3px;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 26px;
  color: var(--azul-escuro);
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
}

.menu a:hover {
  color: var(--vermelho);
}

/* ============================================
   BOTÕES
   ============================================ */

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 24px;
  background: var(--vermelho);
  color: white !important;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 15px 34px rgba(220, 38, 38, 0.22);
  transition: 0.2s ease;
  white-space: nowrap;
}

.botao:hover {
  background: var(--vermelho-escuro);
  transform: translateY(-2px);
}

/* ============================================
   HERO
   ============================================ */

.hero {
  min-height: 520px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      90deg,
      rgba(6, 31, 66, 0.65) 0%,
      rgba(6, 31, 66, 0.45) 40%,
      rgba(6, 31, 66, 0.15) 70%,
      rgba(6, 31, 66, 0.05) 100%
    ),
    url("assets/fundo.webp") center center / cover no-repeat;
  color: white;
}

.hero-conteudo {
  max-width: 640px;
  padding: 74px 0;
}

.hero h1 {
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  margin-bottom: 24px;
}

.hero p {
  max-width: 570px;
  color: #e2e8f0;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 30px;
}

.hero-card {
  max-width: 430px;
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--texto);
  border-radius: 22px;
  padding: 22px 24px;
  box-shadow: var(--sombra);
}

.hero-card strong {
  display: block;
  color: var(--azul-escuro);
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.hero-card ul {
  display: grid;
  gap: 10px;
  list-style: none;
}

.hero-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
}

.hero-card li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  min-width: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--vermelho);
  color: white;
  font-size: 0.8rem;
  line-height: 1;
}

/* ============================================
   TÍTULOS DE SEÇÃO
   ============================================ */

.section-title {
  max-width: 860px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-title.compacta {
  margin-bottom: 34px;
}

.eyebrow {
  color: var(--vermelho);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  margin-bottom: 14px;
}

h2 {
  color: var(--azul-escuro);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.055em;
  margin-bottom: 16px;
}

.section-title p {
  color: #244060;
  font-size: 1.08rem;
  line-height: 1.8;
}

/* ============================================
   CARDS / ÍCONES GERAIS
   ============================================ */

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  min-height: 100%;
  background: #f8fbff;
  border: 1px solid var(--borda);
  border-radius: 28px;
  padding: 28px 26px;
  box-shadow: 0 10px 28px rgba(8, 34, 74, 0.035);
}

.card h3 {
  color: var(--azul-escuro);
  font-size: 1.22rem;
  line-height: 1.25;
  margin: 16px 0 10px;
}

.card p,
.card li {
  color: #25415f;
  font-size: 1rem;
  line-height: 1.75;
}

.icone {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--azul-card);
  color: var(--azul);
}

.icone img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.icone svg {
  width: 34px;
  height: 34px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icone .accent {
  stroke: var(--vermelho);
}

.icone .accent-fill {
  fill: var(--vermelho);
  stroke: none;
}

/* ============================================
   PÚBLICOS / POSSIBILIDADES
   ============================================ */

.publicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.publico-card {
  background: #f8fbff;
  border: 1px solid var(--borda);
  border-radius: 30px;
  padding: 30px 30px 34px;
  box-shadow: 0 10px 28px rgba(8, 34, 74, 0.04);
  transition: 0.2s ease;
}

.publico-card:hover {
  transform: translateY(-4px);
}

.publico-icone {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 22px;
  background: none;
  border-radius: 0;
}

.publico-icone img {
  width: 104px;
  height: 104px;
  display: block;
  object-fit: contain;
}

.publico-card h3 {
  color: var(--azul-escuro);
  font-size: 1.2rem;
  line-height: 1.25;
  margin-bottom: 12px;
}

.publico-card p {
  color: #25415f;
  line-height: 1.75;
}

.publicos-cta {
  max-width: 1120px;
  margin: 34px auto 0;
  background: #eef5ff;
  border: 1px solid var(--borda);
  border-radius: 28px;
  padding: 28px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.publicos-cta-texto {
  flex: 1;
  min-width: 280px;
}

.publicos-cta-texto strong {
  display: block;
  color: var(--azul-escuro);
  font-size: 1.15rem;
  line-height: 1.3;
  margin-bottom: 8px;
}

.publicos-cta-texto p {
  color: #25415f;
  line-height: 1.7;
  margin: 0;
}

.publicos-cta .botao {
  margin: 0;
}

/* ============================================
   BOXES / CONTEÚDO
   ============================================ */

.box {
  background: white;
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  padding: 34px;
  box-shadow: var(--sombra);
}

.box p + .box p,
.box p + p {
  margin-top: 18px;
}

.box h3,
.ciclo-texto h3 {
  color: var(--azul-escuro);
  font-size: 1.55rem;
  line-height: 1.2;
  margin-bottom: 14px;
}

.box p,
.ciclo-texto p {
  color: #25415f;
  line-height: 1.8;
}

.conteudo-box {
  margin-top: 64px;
  background: white;
  border: 1px solid var(--borda);
  border-radius: 34px;
  padding: 34px;
  box-shadow: var(--sombra);
}

.modulos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.modulo {
  background: #f8fbff;
  border: 1px solid var(--borda);
  border-radius: 28px;
  padding: 26px;
}

.modulo h3 {
  color: var(--azul-escuro);
  font-size: 1.18rem;
  margin: 18px 0 12px;
}

.modulo ul {
  color: #25415f;
  line-height: 1.75;
  padding-left: 20px;
}

/* ============================================
   CICLO CERPS
   ============================================ */

.ciclo {
  padding: 0;
}

.ciclo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.ciclo-html {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 220px);
  grid-template-areas:
    "item1 item2"
    "item4 item3";
  justify-content: center;
  align-items: center;
  gap: 56px;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 70px 30px;
}

.ciclo-item {
  position: relative;
  width: 200px;
  background: #ffffff;
  border: 1px solid var(--borda);
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  z-index: 2;
}

.ciclo-item-1 {
  grid-area: item1;
  transform: translate(14px, -40px);
}

.ciclo-item-2 {
  grid-area: item2;
  transform: translate(14px, -20px);
}

.ciclo-item-3 {
  grid-area: item3;
  transform: translate(14px, -20px);
}

.ciclo-item-4 {
  grid-area: item4;
  transform: translate(14px, -40px);
}

.ciclo-item::after {
  content: "";
  position: absolute;
  width: 44px;
  height: 44px;
  background-image: url("assets/icons/seta-curva-dir.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.75;
  z-index: 3;
  pointer-events: none;
}

.ciclo-item-1::after {
  top: 48%;
  right: -62px;
  transform: translateY(-50%);
}

.ciclo-item-2::after {
  bottom: -50px;
  left: 48%;
  transform: translateX(-50%) rotate(90deg);
}

.ciclo-item-3::after {
  top: 48%;
  left: -62px;
  transform: translateY(-50%) rotate(180deg);
}

.ciclo-item-4::after {
  top: -50px;
  left: 48%;
  transform: translateX(-50%) rotate(-90deg);
}

.ciclo-item img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin-bottom: 12px;
}

.ciclo-numero {
  display: block;
  color: var(--vermelho);
  font-size: 0.92rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.ciclo-item h3 {
  color: var(--azul-escuro);
  font-size: 1.15rem;
  line-height: 1.2;
  margin-bottom: 8px;
}

.ciclo-item p {
  color: #25415f;
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

.ciclo-texto {
  width: 100%;
}

.ciclo-texto .box {
  width: 100%;
  max-width: 100%;
}

/* ============================================
   CTA INTERMEDIÁRIO
   ============================================ */

.cta-duvidas {
  margin-top: 34px;
  background: #e8f1ff;
  border-radius: 28px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-duvidas h3 {
  color: var(--azul-escuro);
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.cta-duvidas p {
  color: #25415f;
}

/* ============================================
   QUEM SOMOS
   ============================================ */

.quem-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 28px;
  align-items: stretch;
}

.cv-lista {
  list-style: none;
  display: grid;
  gap: 14px;
}

.cv-lista li {
  position: relative;
  color: #25415f;
  line-height: 1.7;
  padding-left: 22px;
}

.cv-lista li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--vermelho);
  font-weight: 900;
}

.cv-destaque {
  color: var(--azul-escuro);
  font-weight: 800;
}

.quem-lateral {
  display: flex;
  flex-direction: column;
  gap: 28px;
  height: 100%;
}

.info-box {
  min-height: 260px;
  background: #163f78;
  border-radius: 28px;
  padding: 42px 38px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-box span {
  display: block;
  color: white;
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.info-box span::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  background: var(--vermelho);
  border-radius: 999px;
  margin-top: 12px;
}

.info-box p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.04rem;
  line-height: 1.9;
  margin: 0;
}

/* ============================================
   FAQ
   ============================================ */

.faq-lista {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

details {
  background: #f8fbff;
  border: 1px solid var(--borda);
  border-radius: 22px;
  padding: 22px;
}

summary {
  cursor: pointer;
  list-style: none;
  color: var(--azul-escuro);
  font-size: 1.05rem;
  font-weight: 900;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  color: #25415f;
  line-height: 1.75;
  margin-top: 12px;
}

/* ============================================
   CONTATO / FORMULÁRIO
   ============================================ */

.contato-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 28px;
  align-items: stretch;
}

.contato-info {
  background: var(--azul-escuro);
  color: white;
  border-radius: 34px;
  padding: 34px;
  box-shadow: var(--sombra);
}

.contato-info h3 {
  font-size: 1.75rem;
  margin-bottom: 18px;
}

.contato-info p {
  color: #e0ecff;
  line-height: 1.75;
  margin-bottom: 20px;
}

.linha-contato {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.linha-contato svg {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  stroke: #dbeafe;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.linha-contato strong {
  display: block;
  color: white;
  font-size: 1rem;
  margin-bottom: 3px;
}

.linha-contato span {
  color: #dbeafe;
}

.mapa-rj {
  min-height: 175px;
  margin-top: 22px;
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.mapa-rj img {
  width: 100%;
  height: 175px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.form-box label {
  display: block;
  color: var(--azul-escuro);
  font-weight: 900;
  margin-bottom: 8px;
}

.form-box input,
.form-box textarea {
  width: 100%;
  border: 1px solid var(--borda);
  border-radius: 16px;
  padding: 15px 16px;
  margin-bottom: 18px;
  background: #f8fbff;
  color: var(--texto);
  font: inherit;
}

.form-box textarea {
  min-height: 120px;
  resize: vertical;
}

.obrigatorio {
  color: #d62828;
  font-weight: 700;
}

/* ============================================
   CTA FINAL
   ============================================ */

.cta-final {
  background: var(--azul-escuro);
  color: white;
  border-radius: 40px;
  padding: 58px 34px;
  text-align: center;
  box-shadow: var(--sombra);
}

.cta-final h2 {
  color: white;
  margin-bottom: 18px;
}

.cta-final p {
  max-width: 720px;
  margin: 0 auto 30px;
  color: #dbeafe;
  font-size: 1.1rem;
  line-height: 1.75;
  font-weight: 700;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: white;
  border-top: 1px solid var(--borda);
  padding: 28px 0;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #64748b;
  font-size: 0.9rem;
}

.footer-contato p + p {
  margin-top: 4px;
}

/* ============================================
   WHATSAPP FIXO
   ============================================ */

.whatsapp-fixo {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--verde-whatsapp);
  color: white !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.35);
  transition: 0.2s ease;
}

.whatsapp-fixo:hover {
  transform: translateY(-3px) scale(1.03);
}

.whatsapp-fixo svg {
  width: 32px;
  height: 32px;
}

/* ============================================
   RESPONSIVO - TABLET
   ============================================ */

@media (max-width: 1050px) {
  .menu {
    gap: 16px;
    font-size: 0.86rem;
  }

  .marca-texto span {
    max-width: 300px;
    white-space: normal;
    letter-spacing: 0.12em;
  }
}

@media (max-width: 980px) {
  .menu,
  .topo .botao {
    display: none;
  }

  .grid-4,
  .publicos-grid,
  .quem-grid,
  .contato-grid {
    grid-template-columns: 1fr;
  }

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

  .ciclo-wrap {
    flex-direction: column;
    gap: 32px;
  }

  .ciclo-html {
    grid-template-columns: repeat(2, 200px);
    gap: 30px 40px;
    padding: 70px 20px;
  }

  .ciclo-item {
    width: 200px;
  }

  .cta-duvidas,
  .publicos-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================
   RESPONSIVO - MOBILE
   ============================================ */

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  section {
    padding: 60px 0;
  }

  .topo > .container.topo-grid {
    min-height: auto;
    padding: 14px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .topo .menu {
    display: flex !important;
    flex-wrap: wrap;
    width: 100%;
    gap: 10px 16px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .topo .menu a {
    font-size: 0.9rem;
    line-height: 1.2;
  }

  .topo .marca img {
    width: auto !important;
    height: auto !important;
    max-width: 140px;
    max-height: 48px;
    object-fit: contain;
  }

  .marca-texto strong {
    font-size: 1.08rem;
  }

  .marca-texto span {
    max-width: 210px;
    font-size: 0.58rem;
  }

  .hero-conteudo {
    padding: 70px 0;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .box,
  .card,
  .conteudo-box,
  .modulo,
  .contato-info,
  .form-box {
    padding: 24px;
  }

  .publicos-cta {
    width: min(100% - 28px, 1120px);
    padding: 24px;
  }

  .ciclo-wrap {
    display: block;
    width: 100%;
  }

  .ciclo-html {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 420px;
    gap: 18px;
    margin: 36px auto 48px;
    padding: 0 20px;
  }

  .ciclo-item,
  .ciclo-item-1,
  .ciclo-item-2,
  .ciclo-item-3,
  .ciclo-item-4 {
    width: 100%;
    max-width: 100%;
    transform: none;
  }

  .ciclo-item::after {
    display: none;
  }

  .cta-final {
    padding: 42px 24px;
  }

  .footer-grid {
    flex-direction: column;
    text-align: center;
  }

  footer .marca {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
  }

  footer .marca-texto {
    align-items: center;
  }

  footer .marca img {
    max-width: 78px;
    max-height: 42px;
  }

  footer .marca-texto strong {
    font-size: 1.2rem;
  }

  footer .marca-texto span {
    max-width: 220px;
    font-size: 0.52rem;
    line-height: 1.3;
    letter-spacing: 0.12em;
  }
}
