:root {
  --navy: #073866;
  --navy-dark: #042542;
  --navy-deep: #021a30;
  --blue: #0a4b80;
  --blue-light: #236a9d;
  --steel: #626970;
  --graphite: #3f454b;
  --text: #202830;
  --muted: #68737d;
  --border: #dce2e7;
  --light: #f5f7f9;
  --light-blue: #edf3f7;
  --white: #ffffff;

  --shadow: 0 18px 50px rgba(3, 45, 81, 0.10);
  --shadow-strong: 0 24px 65px rgba(3, 45, 81, 0.16);

  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;

  color: var(--text);
  background: var(--white);

  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}


/* =========================================================
   ACESSIBILIDADE
========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(35, 106, 157, 0.35);
  outline-offset: 3px;
}


/* =========================================================
   HEADER
========================================================= */

.header {
  position: sticky;
  top: 0;

  z-index: 1000;

  height: 84px;

  background: rgba(255, 255, 255, 0.97);

  backdrop-filter: blur(14px);

  border-bottom: 1px solid rgba(7, 56, 102, 0.09);
}

.nav {
  position: relative;

  height: 84px;

  display: flex;
  align-items: center;

  gap: 25px;
}

.logo {
  display: flex;
  align-items: center;

  flex-shrink: 0;
}

.logo img {
  width: 205px;
  max-height: 68px;

  object-fit: contain;
}

.menu {
  display: flex;
  align-items: center;

  gap: 22px;

  margin-left: auto;
}

.menu a {
  position: relative;

  color: var(--navy);

  font-size: 14px;
  font-weight: 650;

  transition: 0.2s;
}

.menu a:hover,
.menu a.active {
  color: var(--blue-light);
}

.menu a.active::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: -9px;

  height: 2px;

  background: var(--blue);
}

.menu-toggle {
  display: none;

  margin-left: auto;

  border: 0;

  background: transparent;

  color: var(--navy);

  font-size: 28px;
}


/* =========================================================
   BOTÕES
========================================================= */

.btn {
  display: inline-flex;

  min-height: 52px;

  align-items: center;
  justify-content: center;

  padding: 0 25px;

  border: 1px solid transparent;
  border-radius: 6px;

  background:
    linear-gradient(
      135deg,
      var(--blue),
      var(--navy)
    );

  color: var(--white);

  font-size: 15px;
  font-weight: 700;

  box-shadow:
    0 9px 22px rgba(7, 56, 102, 0.16);

  transition:
    transform 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);

  background:
    linear-gradient(
      135deg,
      var(--navy),
      var(--navy-dark)
    );

  box-shadow:
    0 14px 28px rgba(7, 56, 102, 0.24);
}

.btn-small {
  min-height: 44px;

  padding-inline: 17px;

  white-space: nowrap;
}

.btn-outline {
  background: transparent;

  color: var(--navy);

  border-color: var(--navy);

  box-shadow: none;
}

.btn-outline:hover {
  color: var(--white);

  background: var(--navy);
}

.btn-white {
  color: var(--navy);

  background: var(--white);

  box-shadow: none;
}

.btn-white:hover {
  color: var(--navy);

  background: #eef3f7;
}

.btn-full {
  width: 100%;
}


/* =========================================================
   ESTRUTURA
========================================================= */

.section {
  padding: 95px 0;
}

.section-light {
  background: var(--light);
}

.eyebrow {
  display: block;

  margin-bottom: 14px;

  color: var(--blue);

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 0.15em;
}

.section-heading {
  max-width: 760px;

  margin-bottom: 48px;
}

.section-heading.center {
  margin-inline: auto;

  text-align: center;
}

.section-heading h2,
.about-grid h2,
.calculator-copy h2 {
  margin: 0 0 18px;

  color: var(--navy-dark);

  font-size: clamp(34px, 4vw, 50px);

  line-height: 1.1;

  letter-spacing: -0.03em;
}

.section-heading p,
.lead {
  color: var(--muted);

  font-size: 17px;
}

.center {
  text-align: center;
}

.disclaimer {
  margin-top: 24px;

  color: #77838d;

  font-size: 13px;
}


/* =========================================================
   HOME HERO
========================================================= */

.hero {
  min-height: 690px;

  display: flex;
  align-items: center;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 5% 20%,
      rgba(10, 75, 128, 0.10),
      transparent 32%
    ),
    linear-gradient(
      135deg,
      #f8fafb 0%,
      #ffffff 55%,
      #edf3f7 100%
    );
}

.hero-grid {
  display: grid;

  grid-template-columns:
    1.08fr
    0.92fr;

  gap: 70px;

  align-items: center;

  padding: 70px 0;
}

.hero h1 {
  margin: 0 0 25px;

  color: var(--navy-dark);

  font-size: clamp(45px, 5vw, 70px);

  line-height: 1;

  letter-spacing: -0.045em;
}

.hero h1 span {
  display: block;

  color: var(--blue);
}

.hero-description {
  max-width: 650px;

  color: var(--muted);

  font-size: 19px;
}

.hero-signature {
  color: var(--graphite);

  font-size: 18px;
  font-weight: 700;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;

  gap: 14px;

  margin-top: 30px;
}

.hero-visual {
  position: relative;
}

.hero-image {
  overflow: hidden;

  border-radius: 4px 35px 4px 4px;

  box-shadow: var(--shadow-strong);
}

.hero-image img {
  width: 100%;
  height: 480px;

  object-fit: cover;
}

.hero-result {
  position: absolute;

  left: -35px;
  bottom: -30px;

  max-width: 315px;

  padding: 27px;

  color: var(--white);

  background:
    linear-gradient(
      135deg,
      var(--navy),
      var(--navy-dark)
    );

  border-left: 4px solid var(--blue-light);

  box-shadow: var(--shadow-strong);
}

.hero-result small {
  color: #9fc2dc;

  font-weight: 800;

  letter-spacing: 0.12em;
}

.hero-result strong {
  display: block;

  margin: 6px 0;

  font-size: 25px;
}


/* =========================================================
   HERO INTERNO
========================================================= */

.page-hero {
  padding: 90px 0;

  color: var(--white);

  background:
    linear-gradient(
      135deg,
      var(--navy-dark),
      var(--navy)
    );
}

.page-hero .eyebrow {
  color: #8db7d5;
}

.page-hero h1 {
  max-width: 900px;

  margin: 0 0 20px;

  font-size: clamp(40px, 5vw, 62px);

  line-height: 1.05;

  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 760px;

  color: #c5d1da;

  font-size: 18px;
}


/* =========================================================
   GRIDS
========================================================= */

.grid-2 {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 20px;
}

.grid-3 {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 20px;
}

.grid-4 {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 16px;
}


/* =========================================================
   CARDS
========================================================= */

.card,
.service-card,
.problem-card,
.article-card {
  padding: 27px;

  background: var(--white);

  border: 1px solid var(--border);

  transition:
    transform 0.2s,
    border 0.2s,
    box-shadow 0.2s;
}

.card:hover,
.service-card:hover,
.article-card:hover {
  transform: translateY(-4px);

  border-color:
    rgba(10, 75, 128, 0.4);

  box-shadow: var(--shadow);
}

.card h3,
.service-card h3,
.problem-card h3,
.article-card h3 {
  margin: 0 0 10px;

  color: var(--navy);
}

.card p,
.service-card p,
.problem-card p,
.article-card p {
  margin: 0;

  color: var(--muted);
}

.problem-number {
  display: block;

  margin-bottom: 8px;

  color: var(--blue);

  font-size: 12px;
  font-weight: 800;
}


/* =========================================================
   RESULTADOS
========================================================= */

.stats-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 18px;
}

.stat-card {
  min-height: 205px;

  padding: 32px 25px;

  background: var(--white);

  border: 1px solid var(--border);
  border-top: 4px solid var(--blue);

  box-shadow:
    0 10px 35px rgba(7, 56, 102, 0.06);
}

.stat-card strong {
  display: block;

  color: var(--navy);

  font-size: 35px;

  line-height: 1.1;
}

.stat-card p {
  margin-top: 22px;

  color: var(--muted);
}


/* =========================================================
   SOLUÇÕES
========================================================= */

.solution-group {
  margin-top: 70px;
}

.solution-title {
  display: flex;

  gap: 20px;

  align-items: flex-start;

  margin-bottom: 28px;
}

.solution-number {
  width: 55px;
  height: 55px;

  flex: 0 0 55px;

  display: grid;
  place-items: center;

  color: var(--white);

  background: var(--navy);

  border-radius: 50%;

  font-weight: 800;
}

.solution-title h2 {
  margin: 0;

  color: var(--navy);

  font-size: 28px;
}

.solution-title p {
  margin: 5px 0;

  color: var(--muted);
}


/* =========================================================
   METODOLOGIA
========================================================= */

.methodology {
  color: var(--white);

  background:
    linear-gradient(
      135deg,
      var(--navy-dark),
      var(--navy)
    );
}

.methodology .section-heading h2 {
  color: var(--white);
}

.methodology .section-heading p {
  color: #c1ccd5;
}

.method-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 1px;

  background:
    rgba(255, 255, 255, 0.13);
}

.method {
  min-height: 280px;

  padding: 35px;

  background:
    rgba(4, 37, 66, 0.97);
}

.method > span {
  color: #82afd0;

  font-size: 14px;
  font-weight: 800;
}

.method h3 {
  margin: 28px 0 10px;

  font-size: 24px;
}

.method p {
  color: #bdc9d3;
}

.method-quote {
  margin-top: 42px;

  text-align: center;

  font-size: 27px;
  font-weight: 700;
}


/* =========================================================
   CASES
========================================================= */

.case-card {
  padding: 30px;

  background: var(--white);

  border: 1px solid var(--border);

  box-shadow:
    0 12px 40px rgba(7, 56, 102, 0.06);
}

.case-type {
  color: var(--blue);

  font-size: 11px;
  font-weight: 800;

  letter-spacing: 0.12em;
}

.case-card h3 {
  color: var(--navy);

  font-size: 22px;
}

.case-row {
  padding: 14px 0;

  border-top:
    1px solid var(--border);
}

.case-row b {
  display: block;

  color: var(--navy);

  font-size: 12px;
}

.case-row p {
  margin: 5px 0;

  color: var(--muted);

  font-size: 14px;
}

.case-result {
  padding: 20px;

  margin-top: 20px;

  background: var(--light-blue);
}

.case-result small {
  color: var(--muted);
}

.case-result strong {
  display: block;

  color: var(--blue);

  font-size: 28px;
}


/* =========================================================
   SOBRE
========================================================= */

.about-grid {
  display: grid;

  grid-template-columns:
    0.8fr
    1.2fr;

  gap: 90px;
}

.about-text p {
  color: var(--muted);

  font-size: 17px;
}

.profile-card {
  display: grid;

  grid-template-columns:
    220px
    1fr;

  gap: 30px;

  align-items: center;
}

.profile-card img {
  width: 220px;
  height: 260px;

  object-fit: cover;

  background: var(--light);
}

.segments {
  display: flex;
  flex-wrap: wrap;

  justify-content: center;

  gap: 10px;
}

.segments span {
  padding: 13px 18px;

  color: var(--navy);

  border: 1px solid var(--border);

  font-weight: 600;
}


/* =========================================================
   CALCULADORA
========================================================= */

.calculator-section {
  background: var(--light);
}

.calculator-grid {
  display: grid;

  grid-template-columns:
    1fr
    1fr;

  gap: 80px;

  align-items: center;
}

.calculator {
  padding: 35px;

  background: var(--white);

  box-shadow: var(--shadow);
}

.calculator label {
  display: block;

  margin: 15px 0 7px;

  color: var(--navy);

  font-weight: 700;
}

.field-inline {
  display: flex;

  border: 1px solid var(--border);
}

.field-inline span {
  padding: 13px;

  color: var(--muted);
}

.field-inline input {
  width: 100%;

  padding: 13px;

  border: 0;

  outline: 0;

  color: var(--navy);

  font-size: 18px;
  font-weight: 700;
}

.saving-result {
  display: grid;

  grid-template-columns:
    1fr
    1fr;

  gap: 10px;

  padding: 20px;

  margin: 25px 0;

  background: var(--navy);
}

.saving-result span {
  display: block;

  color: #bdc9d3;

  font-size: 12px;
}

.saving-result strong {
  color: var(--white);

  font-size: 22px;
}


/* =========================================================
   FORMULÁRIO
========================================================= */

.form-layout {
  display: grid;

  grid-template-columns:
    1.35fr
    0.65fr;

  gap: 50px;

  align-items: start;
}

.form-box {
  padding: 40px;

  background: var(--white);

  border: 1px solid var(--border);

  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;

  grid-template-columns:
    1fr
    1fr;

  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;

  gap: 7px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  color: var(--navy);

  font-size: 14px;
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;

  padding: 13px 14px;

  color: var(--text);

  background: var(--white);

  border: 1px solid var(--border);

  border-radius: 3px;

  outline: 0;
}

.form-group textarea {
  min-height: 125px;

  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
}

.form-help {
  grid-column: 1 / -1;

  margin: 0;

  color: var(--muted);

  font-size: 13px;

  text-align: center;
}

.consent-field label {
  display: flex;

  align-items: flex-start;

  gap: 10px;

  color: var(--muted);

  font-size: 13px;
  font-weight: 500;

  line-height: 1.5;
}

.consent-field input {
  width: 18px;
  height: 18px;

  flex: 0 0 18px;

  margin-top: 2px;
}

.consent-field a {
  color: var(--blue);

  font-weight: 700;
}

.form-submit-area {
  grid-column: 1 / -1;

  display: grid;

  grid-template-columns:
    1fr
    1fr;

  gap: 12px;

  margin-top: 8px;
}


/* =========================================================
   CONTATO
========================================================= */

.aside-box {
  padding: 30px;

  background: var(--light-blue);
}

.aside-box h3 {
  color: var(--navy);
}

.contact-aside {
  position: sticky;

  top: 110px;
}

.contact-aside > p {
  color: var(--muted);
}

.direct-contact {
  margin-top: 28px;

  border-top:
    1px solid rgba(7, 56, 102, 0.12);
}

.direct-contact-item {
  padding: 18px 0;

  border-bottom:
    1px solid rgba(7, 56, 102, 0.12);
}

.contact-label {
  display: block;

  margin-bottom: 5px;

  color: var(--steel);

  font-size: 11px;
  font-weight: 800;

  letter-spacing: 0.12em;
}

.direct-contact-item a,
.direct-contact-item > span:last-child {
  color: var(--navy);

  font-weight: 700;

  overflow-wrap: anywhere;
}

.direct-contact-item a:hover {
  color: var(--blue-light);
}

.contact-note {
  margin-top: 28px;

  padding: 22px;

  background: var(--white);

  border-left:
    3px solid var(--blue);
}

.contact-note strong {
  color: var(--navy);
}

.contact-note p {
  margin: 8px 0 0;

  color: var(--muted);

  font-size: 13px;
}


/* =========================================================
   PÁGINA DE OBRIGADO
========================================================= */

.thank-you {
  min-height:
    calc(100vh - 84px);

  display: grid;
  place-items: center;

  padding: 80px 20px;

  background:
    linear-gradient(
      135deg,
      var(--light),
      var(--light-blue)
    );
}

.thank-you-card {
  width: min(100%, 760px);

  padding: 55px;

  text-align: center;

  background: var(--white);

  border-top:
    5px solid var(--blue);

  box-shadow: var(--shadow-strong);
}

.success-icon {
  width: 72px;
  height: 72px;

  display: grid;
  place-items: center;

  margin:
    0 auto
    25px;

  color: var(--white);

  background: var(--navy);

  border-radius: 50%;

  font-size: 30px;
  font-weight: 800;
}

.thank-you-card h1 {
  margin:
    0 0
    18px;

  color: var(--navy-dark);

  font-size:
    clamp(36px, 6vw, 52px);

  line-height: 1.05;
}

.thank-you-card p {
  max-width: 590px;

  margin:
    0 auto
    18px;

  color: var(--muted);

  font-size: 17px;
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;

  justify-content: center;

  gap: 12px;

  margin-top: 30px;
}


/* =========================================================
   CTA
========================================================= */

.final-cta {
  padding: 75px 0;

  color: var(--white);

  background:
    linear-gradient(
      120deg,
      var(--blue),
      var(--navy-dark)
    );
}

.final-cta-grid {
  display: grid;

  grid-template-columns:
    1fr
    auto;

  gap: 50px;

  align-items: center;
}

.final-cta h2 {
  margin: 8px 0;

  font-size:
    clamp(30px, 4vw, 44px);

  line-height: 1.1;
}

.final-cta p {
  color: #d7e1e8;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
  padding: 65px 0 20px;

  color: #aebbc7;

  background: var(--navy-deep);
}

.footer-grid {
  display: grid;

  grid-template-columns:
    2fr
    1fr
    1fr
    1.5fr;

  gap: 45px;
}

.footer-logo {
  width: 210px;

  padding: 8px;

  margin-bottom: 18px;

  background: var(--white);
}

.footer h4 {
  margin: 0 0 15px;

  color: var(--white);
}

.footer a,
.footer span {
  display: block;

  margin-bottom: 8px;

  font-size: 14px;
}

.footer a:hover {
  color: var(--white);
}

.copyright {
  padding-top: 20px;

  margin-top: 50px;

  border-top:
    1px solid rgba(255, 255, 255, 0.1);
}


/* =========================================================
   WHATSAPP FLUTUANTE
========================================================= */

.whatsapp {
  position: fixed;

  right: 22px;
  bottom: 22px;

  z-index: 1000;

  width: 60px;
  height: 60px;

  display: grid;
  place-items: center;

  color: var(--white);

  background: #25d366;

  border-radius: 50%;

  font-size: 12px;
  font-weight: 800;

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.22);

  transition: transform 0.2s;
}

.whatsapp:hover {
  transform: translateY(-3px);
}


/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 1050px) {

  .menu,
  .desktop-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .menu.open {
    position: absolute;

    top: 84px;
    left: -20px;

    width: calc(100% + 40px);

    display: flex;

    padding: 22px;

    flex-direction: column;
    align-items: flex-start;

    background: var(--white);

    border-bottom:
      1px solid var(--border);

    box-shadow:
      0 15px 30px rgba(0, 0, 0, 0.08);
  }

  .menu a.active::after {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .grid-4,
  .stats-grid,
  .method-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns:
      repeat(2, 1fr);
  }

}


@media (max-width: 720px) {

  .container {
    width:
      min(
        calc(100% - 30px),
        var(--container)
      );
  }

  .section {
    padding: 68px 0;
  }

  .logo img {
    width: 165px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding: 55px 0 80px;
  }

  .hero h1 {
    font-size:
      clamp(40px, 13vw, 58px);
  }

  .hero-image img {
    height: 340px;
  }

  .hero-result {
    position: relative;

    left: auto;
    bottom: auto;

    max-width: none;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .stats-grid,
  .method-grid,
  .about-grid,
  .calculator-grid,
  .form-layout,
  .form-grid,
  .footer-grid,
  .final-cta-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: auto;
  }

  .profile-card {
    grid-template-columns: 1fr;
  }

  .profile-card img {
    width: 100%;
    height: auto;
  }

  .saving-result {
    grid-template-columns: 1fr;
  }

  .form-box {
    padding: 24px;
  }

  .form-submit-area {
    grid-column: auto;

    grid-template-columns: 1fr;
  }

  .form-help {
    grid-column: auto;
  }

  .contact-aside {
    position: static;
  }

  .thank-you-card {
    padding: 38px 22px;
  }

  .thank-you-actions {
    flex-direction: column;
  }

  .thank-you-actions .btn {
    width: 100%;
  }

}