:root {
  --navy-950: #102a3e;
  --navy-900: #183b57;
  --navy-800: #235474;

  --gold: #d5a465;
  --gold-light: #efc58b;
  --gold-gradient: linear-gradient(
    110deg,
    #c99659,
    #efc58b,
    #c99659
  );

  --cream: #efe7dc;
  --white: #fff;
  --muted: #c2d0dc;

  --font-display: "Oxanium", Arial, sans-serif;
  --font-body: "Rajdhani", Arial, sans-serif;

  --header-height: 82px;
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  background: var(--navy-950);
  color: var(--white);
  font: 500 19px/1.55 var(--font-body);
}

[hidden] {
  display: none !important;
}

button,
input {
  font: inherit;
}

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
}

h2 {
  font-size: clamp(30px, 3.2vw, 46px);
  letter-spacing: -.035em;
  margin-bottom: 22px;
}

h3 {
  font-size: 21px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--white);
  color: var(--navy-950);
}

.skip-link:focus {
  top: 12px;
}

/* CABEÇALHO */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  color: var(--navy-950);
  box-shadow: 0 5px 24px #00000012;
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand span {
  font: 700 25px/1 var(--font-display);
  letter-spacing: .045em;
}

.brand small {
  display: block;
  margin-top: 7px;
  font: 600 11px/1 var(--font-body);
  letter-spacing: .31em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 17px;
  font-weight: 700;
}

.main-nav > a:not(.button):hover {
  color: #93622d;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px 7px;
  background: transparent;
  border: 0;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy-950);
  border-radius: 2px;
}

/* BOTÕES */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--gold-gradient);
  color: var(--navy-950);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px #d5a46535;
}

.button--small {
  min-height: 43px;
  padding: 10px 17px;
}

.button--outline {
  background: transparent;
  color: var(--white);
  border-color: #ffffff45;
}

.button--navy {
  background: var(--navy-950);
  color: var(--white);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow--badge {
  padding: 9px 15px;
  border: 1px solid #d5a46550;
  border-radius: 999px;
  background: #ffffff08;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #6ae1a2;
  box-shadow: 0 0 9px #6ae1a255;
}

/* ABERTURA E ANIMAÇÕES */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 95px 0 100px;
  background:
    radial-gradient(
      ellipse at 85% 80%,
      #23547470,
      transparent 65%
    ),
    var(--navy-950);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .5;
  background-image:
    radial-gradient(
      circle,
      #efc58baa 1px,
      transparent 1.6px
    ),
    radial-gradient(
      circle,
      #ffffff70 .8px,
      transparent 1.4px
    );
  background-size: 137px 151px, 193px 179px;
  background-position: 13px 21px, 78px 87px;
  animation: stars-drift 25s linear infinite;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 68px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(45px, 5.4vw, 74px);
  letter-spacing: -.05em;
  margin-bottom: 24px;
}

.hero h1 span {
  color: var(--gold-light);
}

.hero-copy > p {
  max-width: 520px;
  font-size: 23px;
  color: var(--muted);
}

.hero-copy .hero-note {
  margin: 19px 0 0;
  font-size: 16px;
}

.hero-card {
  padding: 34px;
  border: 1px solid #d5a46566;
  border-radius: var(--radius);
  background: linear-gradient(
    145deg,
    #ffffff10,
    #183b57aa
  );
  backdrop-filter: blur(8px);
  box-shadow: 0 24px 65px #00000025;
}

.hero-symbol {
  margin-bottom: 18px;
  object-fit: contain;
}

.hero-card h2 {
  font-size: 28px;
}

.hero-card > p {
  font-size: 17px;
  color: var(--muted);
  margin: 20px 0 15px;
}

.rate-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #ffffff18;
}

.rate-row > span {
  font-size: 18px;
}

.rate-row strong {
  color: var(--gold-light);
  font: 600 25px/1.25 var(--font-display);
  white-space: nowrap;
}

.rate-row small {
  display: block;
  text-align: right;
  font: 500 14px var(--font-body);
  color: var(--muted);
}

.city-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.city-tags span {
  border: 1px solid #ffffff22;
  border-radius: 7px;
  padding: 4px 9px;
  font-size: 14px;
}

.road {
  position: absolute;
  right: 7%;
  bottom: -170px;
  width: 530px;
  height: 430px;
  z-index: -1;
  opacity: .28;
  background: linear-gradient(
    #efc58b15,
    #23547488
  );
  clip-path: polygon(
    44% 0,
    56% 0,
    100% 100%,
    0 100%
  );
}

.road::after {
  content: "";
  position: absolute;
  left: calc(50% - 5px);
  top: -80px;
  width: 10px;
  height: 600px;
  background: repeating-linear-gradient(
    to bottom,
    var(--gold) 0 24px,
    transparent 24px 58px
  );
  animation: road-flow 3s linear infinite;
}

@keyframes road-flow {
  to {
    transform: translateY(58px);
  }
}

@keyframes stars-drift {
  to {
    background-position: 150px 172px, 271px 266px;
  }
}

/* SEÇÕES */

.section {
  padding: 88px 0;
}

.section--light {
  background: #f8f5ef;
  color: var(--navy-950);
}

.section--light .eyebrow {
  color: #926331;
}

.section--dark {
  background: var(--navy-950);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading p {
  margin-bottom: 0;
  font-size: 21px;
  opacity: .8;
}

.section-intro {
  font-size: 22px;
  opacity: .85;
}

/* FICHA DO PARCEIRO */

.evaluation-grid {
  display: grid;
  grid-template-columns: .95fr 1.15fr;
  gap: 55px;
  align-items: start;
}

.ticket {
  padding: 26px;
  margin-top: 28px;
  border: 1px solid #d5a46580;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 12px 30px #102a3e09;
}

.ticket-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px dashed #102a3e35;
}

.ticket-header strong {
  font: 600 16px var(--font-display);
}

.ticket-status {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 5px 9px;
  border-radius: 99px;
  background: var(--cream);
}

.ticket-status[data-status="done"] {
  background: #e0f4e9;
  color: #1d6d45;
}

.ticket-status[data-status="pending"] {
  background: #fff0d8;
  color: #895415;
}

.ticket-fields {
  margin: 6px 0 15px;
}

.ticket-fields div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid #102a3e12;
  font-size: 17px;
}

.ticket-fields dt {
  opacity: .7;
  flex-shrink: 0;
}

.ticket-fields dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
}

.ticket > p {
  font-size: 14px;
  margin: 0;
  opacity: .72;
}

/* CALUMAM */

.chat-panel {
  overflow: hidden;
  background: var(--navy-950);
  color: var(--white);
  border: 1px solid #d5a46555;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px #102a3e22;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 22px 16px;
}

.chat-header img {
  object-fit: contain;
}

.chat-header strong {
  font: 600 19px var(--font-display);
}

.chat-header small {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-top: 3px;
}

.restart-button {
  margin-left: auto;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: 1px solid #ffffff30;
  border-radius: 9px;
  background: transparent;
  color: var(--gold-light);
  font-size: 24px;
  line-height: 1;
}

.chat-progress {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 0 22px 16px;
  border-bottom: 1px solid #ffffff12;
}

.chat-progress progress {
  flex: 1;
  width: 100%;
  min-width: 30px;
  height: 5px;
  border: 0;
  border-radius: 99px;
  appearance: none;
  background: #ffffff12;
}

progress::-webkit-progress-bar {
  background: #ffffff12;
  border-radius: 99px;
}

progress::-webkit-progress-value {
  background: var(--gold-gradient);
  border-radius: 99px;
}

progress::-moz-progress-bar {
  background: var(--gold);
  border-radius: 99px;
}

.chat-progress span {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.chat-log {
  height: 360px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px;
  scrollbar-width: thin;
  scrollbar-color: #d5a46570 transparent;
}

.chat-message {
  width: fit-content;
  max-width: 92%;
  margin-bottom: 12px;
  padding: 12px 16px;
  background: var(--navy-900);
  border: 1px solid #ffffff10;
  border-radius: 0 14px 14px;
  font-size: 18px;
  line-height: 1.45;
  white-space: pre-line;
  overflow-wrap: anywhere;
  animation: message-in .2s ease-out;
}

.chat-message--user {
  margin-left: auto;
  border-radius: 14px 0 14px 14px;
  background: #d5a46523;
  border-color: #d5a46545;
}

.chat-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 17px 20px 20px;
  border-top: 1px solid #ffffff15;
  background: #183b5750;
}

.chat-choice {
  width: 100%;
  min-height: 43px;
  padding: 9px 14px;
  border: 1px solid #ffffff30;
  border-radius: 10px;
  color: var(--white);
  background: #ffffff05;
  text-align: left;
  line-height: 1.3;
  font-size: 17px;
  font-weight: 600;
}

.chat-choice:hover {
  background: #ffffff10;
  border-color: var(--gold);
}

.chat-choice--primary {
  background: var(--gold-gradient);
  color: var(--navy-950);
  border-color: transparent;
  font-weight: 700;
}

.chat-choice--primary:hover {
  background: var(--gold-light);
}

.chat-actions > .button {
  width: 100%;
}

.chat-actions-note {
  margin: 2px 0 0;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

.chat-guide-link {
  display: block;
  color: var(--gold-light);
  margin-bottom: 14px;
  text-decoration: underline;
  font-weight: 700;
}

.name-form {
  display: grid;
  gap: 8px;
}

.name-form label {
  font-size: 16px;
}

.name-form input {
  width: 100%;
  min-height: 47px;
  border-radius: 9px;
  border: 1px solid #ffffff40;
  background: var(--white);
  color: var(--navy-950);
  padding: 10px 12px;
}

.name-error {
  color: #ffccb8;
  font-size: 15px;
  margin: 0;
}

.no-script {
  padding: 20px;
}

@keyframes message-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* SIMULADOR */

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.calculator-controls,
.calculator-result {
  border: 1px solid #ffffff20;
  border-radius: var(--radius);
  padding: 30px;
  background: #ffffff04;
}

.calculator-result {
  border-color: #d5a46570;
  background: linear-gradient(
    145deg,
    #23547460,
    #183b5740
  );
}

.city-fieldset {
  margin: 0 0 30px;
  padding: 0;
  border: 0;
}

.city-fieldset legend {
  margin-bottom: 15px;
  font-weight: 700;
}

.calculator-cities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.city-choice {
  position: relative;
  display: block;
  padding: 13px 12px;
  border: 1px solid #ffffff30;
  border-radius: 11px;
  cursor: pointer;
  font-size: 17px;
}

.city-choice input {
  accent-color: var(--gold);
  margin: 0 5px 0 0;
}

.city-choice small {
  display: block;
  color: var(--muted);
  padding-left: 20px;
  font-size: 14px;
}

.city-choice.is-selected {
  border-color: var(--gold);
  background: #d5a46516;
}

.range-field + .range-field {
  margin-top: 28px;
}

.range-field > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.range-field output {
  color: var(--gold-light);
  font: 600 26px var(--font-display);
}

.range-field input {
  width: 100%;
  margin: 19px 0 8px;
  accent-color: var(--gold);
  cursor: pointer;
}

.range-field small {
  color: var(--muted);
  font-size: 14px;
}

.monthly-value {
  display: block;
  color: var(--gold-light);
  font:
    600
    clamp(36px, 4vw, 54px)/1.1
    var(--font-display);
  letter-spacing: -.04em;
  margin-bottom: 10px;
}

.calculator-result > p:not(.calculator-note) {
  color: var(--muted);
  font-size: 17px;
}

.calc-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 25px 0;
  padding: 21px 0;
  border-block: 1px solid #ffffff20;
}

.calc-details dt {
  font-size: 14px;
  color: var(--muted);
}

.calc-details dd {
  margin: 6px 0 0;
  font-weight: 700;
  font-size: 18px;
}

.calculator-note {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 24px;
}

/* REQUISITOS */

.requirements-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.info-card {
  border: 1px solid #102a3e18;
  border-radius: 18px;
  padding: 26px;
  background: var(--white);
}

.card-number {
  display: inline-block;
  color: #926331;
  font: 600 32px var(--font-display);
  margin-bottom: 22px;
}

.info-card h3 {
  font-size: 20px;
  margin-bottom: 14px;
}

.info-card p {
  font-size: 18px;
  margin: 0;
  opacity: .8;
}

.mei-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
  padding: 26px;
  margin-top: 24px;
  background: #efe7dc;
  border-radius: 18px;
}

.mei-banner h3 {
  margin-bottom: 8px;
}

.mei-banner p {
  margin-bottom: 0;
  font-size: 18px;
}

.mei-banner .button {
  flex-shrink: 0;
}

/* ETAPAS E BENEFÍCIOS */

.steps-grid {
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps-grid li {
  padding: 25px 21px;
  border-top: 2px solid var(--gold);
  background: #ffffff04;
  border-radius: 0 0 14px 14px;
}

.steps-grid li > span {
  display: block;
  margin-bottom: 22px;
  color: var(--gold-light);
  font: 600 33px var(--font-display);
}

.steps-grid h3 {
  font-size: 20px;
}

.steps-grid p {
  font-size: 18px;
  color: var(--muted);
  margin: 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #ffffff20;
}

.benefits-grid h3 {
  color: var(--gold-light);
  font-size: 19px;
  margin-bottom: 10px;
}

.benefits-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

/* PERGUNTAS FREQUENTES */

.faq-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
}

.faq-list details {
  border-bottom: 1px solid #102a3e25;
}

.faq-list summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 21px;
  padding: 20px 32px 20px 0;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 3px;
  top: 16px;
  font-size: 26px;
  color: #926331;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin-bottom: 20px;
  font-size: 18px;
  opacity: .85;
}

/* VÍDEOS */

.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.video-card {
  padding: 18px;
  background: var(--white);
  border: 1px solid #102a3e18;
  border-radius: 18px;
}

.video-card video,
.video-card iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 10px;
  background: var(--navy-950);
}

.video-card h3 {
  font-size: 19px;
  margin: 17px 0 4px;
}

/* CHAMADA FINAL E RODAPÉ */

.final-cta {
  text-align: center;
  padding: 85px 0;
  background: radial-gradient(
    ellipse at center,
    #235474,
    #102a3e 75%
  );
  border-bottom: 1px solid #ffffff15;
}

.final-cta h2 {
  font-size: clamp(35px, 4.5vw, 59px);
}

.final-cta p {
  color: var(--muted);
  font-size: 22px;
}

.site-footer {
  padding: 40px 0 25px;
  background: #0b2030;
  color: var(--muted);
  font-size: 16px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-bottom: 23px;
}

.footer-top img {
  width: 190px;
  height: auto;
}

.footer-top a {
  color: var(--gold-light);
}

.privacy-note {
  max-width: 820px;
  font-size: 14px;
}

.copyright {
  margin: 22px 0 0;
  padding-top: 20px;
  border-top: 1px solid #ffffff15;
  font-size: 14px;
}

/* APARECIMENTO DAS SEÇÕES */

.js-reveal .reveal {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity .5s, transform .5s;
}

.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* RESPONSIVO */

@media (max-width: 1050px) {
  .main-nav {
    gap: 14px;
    font-size: 15px;
  }

  .brand span {
    font-size: 22px;
  }

  .hero-grid {
    gap: 35px;
  }

  .evaluation-grid {
    gap: 30px;
  }

  .requirements-grid,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 72px;
  }

  .header-inner {
    position: relative;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: -24px;
    right: -24px;
    top: 100%;
    padding: 18px 24px 24px;
    background: var(--white);
    box-shadow: 0 14px 24px #00000018;
    flex-direction: column;
    align-items: stretch;
    font-size: 19px;
    gap: 0;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav > a {
    padding: 12px 0;
  }

  .main-nav .button {
    margin-top: 10px;
    padding: 13px 18px;
  }

  .hero {
    padding: 65px 0;
  }

  .hero-grid,
  .evaluation-grid,
  .calculator-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 600px;
  }

  .evaluation-grid,
  .faq-grid {
    gap: 35px;
  }

  .section {
    padding: 65px 0;
  }

  .mei-banner {
    align-items: start;
    flex-direction: column;
  }

  .benefits-grid {
    gap: 20px;
  }
}

@media (max-width: 540px) {
  .container {
    width: calc(100% - 32px);
  }

  .main-nav {
    left: -16px;
    right: -16px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-copy > p {
    font-size: 21px;
  }

  .eyebrow--badge {
    font-size: 12px;
    letter-spacing: .07em;
  }

  .hero-card,
  .ticket,
  .calculator-controls,
  .calculator-result {
    padding: 22px;
  }

  .button-row {
    flex-direction: column;
  }

  .button-row .button {
    width: 100%;
  }

  .chat-header {
    padding-inline: 15px;
  }

  .chat-header small {
    font-size: 12px;
  }

  .chat-progress {
    padding-inline: 15px;
  }

  .chat-log {
    height: 330px;
    padding: 15px;
  }

  .chat-message {
    font-size: 17px;
  }

  .chat-actions {
    padding: 15px;
  }

  .ticket-fields div {
    font-size: 16px;
  }

  .requirements-grid,
  .steps-grid,
  .benefits-grid,
  .videos-grid {
    grid-template-columns: 1fr;
  }

  .calculator-cities {
    gap: 8px;
  }

  .city-choice {
    padding: 11px 9px;
    font-size: 16px;
  }

  .city-choice small {
    font-size: 12px;
  }

  .calc-details {
    gap: 8px;
  }

  .calc-details dd {
    font-size: 16px;
  }

  .monthly-value {
    font-size: 38px;
  }

  .footer-top {
    flex-direction: column;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js-reveal .reveal {
    opacity: 1;
    transform: none;
  }
}