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

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;

  color: #ffffff;
  background: #ffffff;

  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
}

/* ==================================================
   VARIÁVEIS
================================================== */

:root {
  --blue: #132fa5;
  --blue-dark: #071b75;
  --blue-deep: #06145c;

  --yellow: #ffd51a;
  --yellow-hover: #f6c900;

  --white: #ffffff;

  --container: 1140px;
}

/* ==================================================
   CONTAINER
================================================== */

.container {
  width: min(calc(100% - 64px), var(--container));

  margin-inline: auto;
}

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

.header {
  width: 100%;
  height: 92px;

  background: #ffffff;

  position: relative;
  z-index: 100;
}

.header__container {
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */

.header__logo {
  width: 270px;
  display: flex;
  align-items: center;
}

.header__logo img {
  width: 100%;
  height: auto;
}

/* NAV */

.header__nav {
  display: flex;
  align-items: center;

  gap: 42px;

  margin-left: auto;
  margin-right: 48px;
}

.header__nav a {
  position: relative;

  color: #081b7a;

  font-size: 14px;
  font-weight: 600;

  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.header__nav a:hover {
  color: var(--blue);
}

.header__nav a::after {
  content: "";

  position: absolute;

  left: 50%;
  bottom: -12px;

  width: 0;
  height: 3px;

  background: var(--yellow);

  transform: translateX(-50%);

  transition: width 0.25s ease;
}

.header__nav a:hover::after {
  width: 100%;
}

/* HEADER CTA */

.header__cta {
  min-width: 166px;
  height: 48px;

  padding: 0 24px;

  border-radius: 999px;

  background: var(--yellow);

  color: #081b7a;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 10px;

  font-size: 14px;
  font-weight: 700;

  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.header__cta img {
  width: 21px;
  height: 21px;
}

.header__cta:hover {
  background: var(--yellow-hover);

  transform: translateY(-2px);

  box-shadow: 0 8px 22px rgba(255, 213, 26, 0.3);
}

/* ==================================================
   MENU MOBILE
================================================== */

.menu-toggle {
  display: none;

  width: 42px;
  height: 42px;

  padding: 8px;

  border: 0;
  background: transparent;

  cursor: pointer;
}

.menu-toggle span {
  display: block;

  width: 100%;
  height: 3px;

  margin: 5px 0;

  border-radius: 4px;

  background: var(--blue);

  transition: 0.25s ease;
}

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

.hero {
  min-height: 505px;

  position: relative;

  overflow: hidden;

  background: linear-gradient(90deg, #112b9c 0%, #102997 45%, #091d7d 100%);
}

/* ==================================================
   FOTO
================================================== */

.hero__media {
  position: absolute;

  right: -34px;
  bottom: 0;

  z-index: 1;

  width: min(63vw, 780px);
  height: 100%;

  overflow: hidden;

  display: flex;
  align-items: flex-end;
  justify-content: flex-end;

  pointer-events: none;
}

.hero__media img {
  width: 108%;
  max-width: none;
  height: auto;

  transform: translateX(8%);

  object-fit: contain;
  object-position: right bottom;
}

/*
    Gradiente que integra a foto
    com o fundo azul.
*/

.hero__overlay {
  position: absolute;

  inset: 0;

  z-index: 2;

  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      rgba(14, 40, 150, 1) 0%,

      rgba(14, 40, 150, 0.98) 32%,

      rgba(14, 40, 150, 0.86) 46%,

      rgba(10, 30, 122, 0.36) 61%,

      rgba(5, 17, 70, 0.02) 100%
    ),
    linear-gradient(
      180deg,
      rgba(7, 20, 92, 0.1) 0%,

      rgba(7, 20, 92, 0.12) 65%,

      rgba(5, 16, 75, 0.38) 100%
    );
}

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

.hero__container {
  min-height: 505px;

  position: relative;

  z-index: 5;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero__content {
  width: 520px;

  padding-top: 6px;

  position: relative;
  z-index: 6;
}

/* EYEBROW */

.hero__eyebrow {
  margin: 0 0 12px;

  color: var(--yellow);

  font-size: 16px;
  font-weight: 800;

  text-transform: uppercase;
}

/* TITLE */

.hero__title {
  margin: 0;

  max-width: 500px;

  color: #ffffff;

  font-size: clamp(46px, 5vw, 64px);

  line-height: 0.98;

  letter-spacing: -2.5px;

  font-weight: 800;
}

.hero__title strong {
  display: block;

  color: var(--yellow);

  font-weight: 800;
}

/* DESCRIPTION */

.hero__description {
  width: 480px;

  max-width: 100%;

  margin: 22px 0 0;

  color: rgba(255, 255, 255, 0.94);

  font-size: 18px;

  line-height: 1.45;

  font-weight: 400;
}

/* ==================================================
   FEATURES
================================================== */

.hero__features {
  margin-top: 36px;

  display: flex;
  align-items: center;

  gap: 34px;
}

.feature {
  display: flex;
  align-items: center;

  gap: 11px;
}

.feature__icon {
  width: 35px;
  height: 35px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;
}

.feature__icon img {
  width: 100%;
  height: 100%;

  object-fit: contain;

  /*
       SVGs usam currentColor.
       Se seus SVGs já forem amarelos,
       pode remover este filtro.
    */

  filter: brightness(0) saturate(100%) invert(84%) sepia(82%) saturate(1073%)
    hue-rotate(350deg) brightness(105%) contrast(101%);
}

.feature__text {
  display: flex;
  flex-direction: column;

  color: #ffffff;

  font-size: 12px;

  line-height: 1.15;

  white-space: nowrap;
}

/* ==================================================
   DETALHE AMARELO
================================================== */

.hero__corner {
  position: absolute;

  right: 0;
  bottom: 0;

  z-index: 6;

  width: 76px;
  height: 76px;

  background: var(--yellow);

  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

/* ==================================================
   SERVICOS / CONTATO
================================================== */

.services-contact {
  padding: 64px 0 70px;

  color: var(--blue);
  background: #ffffff;
}

.services-contact__container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);

  gap: 76px;
  align-items: center;
}

.section-eyebrow,
.quote-card__eyebrow {
  margin: 0 0 10px;

  color: var(--yellow);

  font-size: 13px;
  font-weight: 800;

  text-transform: uppercase;
}

.section-title,
.quote-card__title {
  margin: 0;

  font-size: clamp(30px, 4vw, 40px);
  line-height: 0.98;

  font-weight: 700;
}

.section-title {
  max-width: 520px;

  color: var(--blue);
}

.section-title strong,
.quote-card__title strong {
  display: block;

  color: var(--yellow);
}

.section-description {
  max-width: 520px;

  margin: 28px 0 0;

  color: #31408f;

  font-size: 17px;
  line-height: 1.45;
}

.services__list {
  margin-top: 32px;

  display: grid;
  gap: 26px;
}

.service-item {
  display: grid;
  grid-template-columns: 58px 1fr;

  gap: 20px;
  align-items: center;
}

.service-item__icon {
  width: 58px;
  height: 58px;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--yellow);
}

.service-item__icon img {
  width: 30px;
  height: 30px;

  object-fit: contain;

  filter: brightness(0) saturate(100%) invert(18%) sepia(91%) saturate(2773%)
    hue-rotate(226deg) brightness(84%) contrast(104%);
}

.service-item h3 {
  margin: 0 0 5px;

  color: var(--blue);

  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
}

.service-item p {
  max-width: 500px;

  margin: 0;

  color: #31408f;

  font-size: 13px;
  line-height: 1.4;
}

.quote-card {
  padding: 34px 36px 36px;

  border-radius: 12px;

  background: linear-gradient(145deg, #152cb0 0%, #2538c1 54%, #101e91 100%);

  box-shadow: 0 18px 35px rgba(12, 31, 132, 0.18);
}

.quote-card__title {
  color: #ffffff;
}

.quote-card__description {
  max-width: 430px;

  margin: 16px 0 22px;

  color: rgba(255, 255, 255, 0.92);

  font-size: 15px;
  line-height: 1.42;
}

.quote-form {
  display: grid;
  gap: 12px;
}

.form-hp {
  position: absolute;

  left: -9999px;

  opacity: 0;
  pointer-events: none;
}

.form-field {
  min-height: 48px;

  padding: 0 16px;

  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;

  display: flex;
  align-items: center;

  gap: 12px;

  background: rgba(255, 255, 255, 0.04);
}

.form-field img {
  width: 20px;
  height: 20px;

  flex-shrink: 0;

  filter: brightness(0) invert(1);

  opacity: 0.9;
}

.form-field input,
.form-field textarea {
  width: 100%;

  border: 0;
  outline: 0;

  color: #ffffff;
  background: transparent;

  font: inherit;
  font-size: 13px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.86);
}

.form-field--textarea {
  min-height: 96px;

  padding-top: 15px;

  align-items: flex-start;
}

.form-field textarea {
  min-height: 70px;

  resize: vertical;
}

.quote-form__submit {
  min-height: 58px;

  margin-top: 4px;

  border: 0;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 10px;

  color: #06145c;
  background: var(--yellow);

  font-size: 14px;
  font-weight: 800;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.quote-form__submit img {
  width: 19px;
  height: 19px;

  filter: brightness(0) saturate(100%) invert(10%) sepia(80%) saturate(3984%)
    hue-rotate(234deg) brightness(82%) contrast(99%);
}

.quote-form__submit:hover {
  background: var(--yellow-hover);

  transform: translateY(-2px);

  box-shadow: 0 12px 24px rgba(255, 213, 26, 0.24);
}

.quote-form__submit:disabled {
  cursor: wait;

  opacity: 0.78;

  transform: none;
}

.quote-form__feedback {
  min-height: 20px;

  margin: 2px 0 0;

  color: #ffffff;

  font-size: 13px;
  line-height: 1.35;
}

.quote-form__feedback.is-success {
  color: #d8ffd9;
}

.quote-form__feedback.is-error {
  color: #ffe1e1;
}

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

.footer {
  padding: 36px 0 30px;

  color: #ffffff;
  background: linear-gradient(135deg, #112aa1 0%, #102393 55%, #0b1a78 100%);
}

.footer__top {
  display: flex;
  align-items: center;

  gap: 44px;
}

.footer__logo {
  width: 220px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
}

.footer__logo img {
  width: 100%;
  height: auto;
}

.footer__divider {
  width: 1px;
  height: 48px;

  flex-shrink: 0;

  background: rgba(255, 255, 255, 0.32);
}

.footer__contacts {
  flex: 1;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 42px;

  font-style: normal;
}

.footer-contact {
  display: inline-flex;
  align-items: center;

  gap: 12px;

  color: #ffffff;
}

.footer-contact-group {
  display: flex;
  flex-direction: column;

  gap: 12px;
}

.footer-contact__icon {
  width: 34px;
  height: 34px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-contact__icon img {
  width: 29px;
  height: 29px;

  object-fit: contain;

  filter: brightness(0) saturate(100%) invert(84%) sepia(82%) saturate(1073%)
    hue-rotate(350deg) brightness(105%) contrast(101%);
}

.footer-contact span:last-child {
  display: flex;
  flex-direction: column;

  gap: 4px;
}

.footer-contact strong {
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
}

.footer-contact small {
  color: rgba(255, 255, 255, 0.9);

  font-size: 11px;
  line-height: 1.2;
}

.footer__social {
  min-width: 124px;

  display: flex;
  flex-direction: column;

  gap: 10px;
}

.footer__social > span {
  font-size: 13px;
  font-weight: 800;
}

.footer__social-links {
  display: flex;
  align-items: center;

  gap: 13px;
}

.footer__social-links a {
  width: 34px;
  height: 34px;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #ffffff;

  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.footer__social-links a:hover {
  transform: translateY(-2px);

  background: var(--yellow);
}

.footer__social-links img {
  width: 18px;
  height: 18px;

  object-fit: contain;

  filter: brightness(0) saturate(100%) invert(17%) sepia(95%) saturate(2617%)
    hue-rotate(227deg) brightness(86%) contrast(102%);
}

.footer__bottom {
  margin-top: 30px;
  padding-top: 26px;

  border-top: 1px solid rgba(255, 255, 255, 0.28);

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 14px;

  color: rgba(255, 255, 255, 0.94);

  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

/* ==================================================
   WHATSAPP FLUTUANTE
================================================== */

.whatsapp-float {
  position: fixed;

  right: 28px;
  bottom: 28px;

  z-index: 200;

  width: 160px;
  min-height: 40px;

  padding: 0 8px;

  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  color: #ffffff;
  background: #25d366;

  font-size: 12px;
  font-weight: 500;
  line-height: 1;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.whatsapp-float:hover {
  background: #1fc45d;

  transform: translateY(-2px);

  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.whatsapp-float img {
  width: 26px;
  height: 26px;

  flex-shrink: 0;

  filter: brightness(0) invert(1);
}

.whatsapp-float span {
  max-width: 96px;

  line-height: 1.08;
}

/* ==================================================
   RESPONSIVO
================================================== */

@media (max-width: 1100px) {
  .header__nav {
    gap: 24px;
    margin-right: 30px;
  }

  .header__logo {
    width: 230px;
  }

  .hero__content {
    width: 500px;
  }

  .hero__features {
    gap: 20px;
  }

  .services-contact__container {
    gap: 44px;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 470px);
  }

  .footer__top {
    gap: 28px;
  }

  .footer__logo {
    width: 190px;
  }

  .footer__contacts {
    gap: 24px;
  }

  .footer-contact strong {
    font-size: 12px;
  }
}

/* ==================================================
   TABLET
================================================== */

@media (max-width: 900px) {
  .container {
    width: min(calc(100% - 40px), var(--container));
  }

  /* HEADER */

  .header {
    height: 80px;
  }

  .header__logo {
    width: 220px;
  }

  .header__nav {
    position: absolute;

    top: 80px;
    left: 0;

    width: 100%;

    padding: 28px 20px;

    background: #ffffff;

    flex-direction: column;

    align-items: flex-start;

    gap: 22px;

    margin: 0;

    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-10px);

    transition:
      opacity 0.25s ease,
      visibility 0.25s ease,
      transform 0.25s ease;
  }

  .header__nav.is-open {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
  }

  .header__cta {
    margin-left: auto;
    margin-right: 20px;
  }

  .menu-toggle {
    display: block;
  }

  /* HERO */

  .hero {
    min-height: 640px;
  }

  .hero__container {
    min-height: 640px;

    align-items: flex-end;

    padding-bottom: 55px;
  }

  .hero__media {
    right: -180px;

    width: 92vw;

    opacity: 0.86;
  }

  .hero__overlay {
    background:
      linear-gradient(
        90deg,
        rgba(12, 37, 144, 0.98) 0%,

        rgba(12, 37, 144, 0.9) 38%,

        rgba(12, 37, 144, 0.68) 70%,

        rgba(12, 37, 144, 0.2) 100%
      ),
      linear-gradient(
        0deg,
        rgba(7, 24, 105, 0.96) 0%,

        rgba(7, 24, 105, 0.25) 55%,

        rgba(7, 24, 105, 0.05) 100%
      );
  }

  .services-contact {
    padding: 56px 0 62px;
  }

  .services-contact__container {
    grid-template-columns: 1fr;

    gap: 42px;
  }

  .quote-card {
    width: min(100%, 560px);
  }

  .footer__top {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .footer__divider {
    display: none;
  }

  .footer__contacts {
    width: 100%;

    order: 3;

    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .footer__social {
    margin-left: auto;
  }
}

/* ==================================================
   MOBILE
================================================== */

@media (max-width: 650px) {
  .container {
    width: calc(100% - 32px);
  }

  /* HEADER */

  .header {
    height: 72px;
  }

  .header__logo {
    width: 185px;
  }

  .header__nav {
    top: 72px;
  }

  .header__cta {
    display: none;
  }

  /* HERO */

  .hero {
    min-height: 720px;

    background: var(--blue);
  }

  .hero__container {
    min-height: 720px;

    align-items: flex-end;

    padding-bottom: 40px;
  }

  .hero__media {
    top: 0;
    right: -185px;
    bottom: auto;

    width: 650px;
    max-width: none;
    height: 425px;

    opacity: 0.82;
  }

  .hero__media img {
    width: 100%;

    transform: translateX(0);
  }

  .hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(13, 42, 158, 0.03) 0%,

      rgba(13, 42, 158, 0.08) 35%,

      rgba(13, 42, 158, 0.7) 53%,

      rgba(13, 42, 158, 1) 68%,

      rgba(13, 42, 158, 1) 100%
    );
  }

  .hero__content {
    width: 100%;
  }

  .hero__eyebrow {
    margin-bottom: 10px;

    font-size: 13px;
  }

  .hero__title {
    font-size: clamp(40px, 13vw, 54px);

    letter-spacing: -1.5px;
  }

  .hero__description {
    margin-top: 18px;

    font-size: 16px;

    line-height: 1.5;
  }

  .hero__features {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px 15px;

    margin-top: 28px;
  }

  .feature__text {
    font-size: 11px;
  }

  .feature__icon {
    width: 31px;
    height: 31px;
  }

  .hero__corner {
    width: 50px;
    height: 50px;
  }

  .services-contact {
    padding: 44px 0 48px;
  }

  .services-contact__container {
    gap: 34px;
  }

  .section-title,
  .quote-card__title {
    font-size: 34px;
  }

  .section-description {
    margin-top: 20px;

    font-size: 15px;
  }

  .service-item {
    grid-template-columns: 48px 1fr;

    gap: 16px;
  }

  .service-item__icon {
    width: 48px;
    height: 48px;
  }

  .service-item__icon img {
    width: 25px;
    height: 25px;
  }

  .quote-card {
    padding: 28px 20px 24px;

    border-radius: 10px;
  }

  .quote-card__description {
    font-size: 14px;
  }

  .quote-form__submit {
    min-height: 54px;
  }

  .footer {
    padding: 34px 0 28px;
  }

  .footer__top {
    flex-direction: column;
    align-items: flex-start;

    gap: 24px;
  }

  .footer__logo {
    width: 200px;
  }

  .footer__contacts {
    order: initial;

    flex-direction: column;
    align-items: flex-start;

    gap: 18px;
  }

  .footer__social {
    margin-left: 0;
  }

  .footer__bottom {
    margin-top: 26px;
    padding-top: 22px;

    flex-direction: column;

    gap: 6px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;

    width: 180px;
    min-height: 40px;

    padding: 0 12px;

    gap: 8px;

    font-size: 12px;
  }

  .whatsapp-float img {
    width: 24px;
    height: 24px;
  }
}

/* ==================================================
   MOBILE PEQUENO
================================================== */

@media (max-width: 390px) {
  .header__logo {
    width: 165px;
  }

  .hero__title {
    font-size: 39px;
  }

  .hero__description {
    font-size: 15px;
  }

  .hero__features {
    gap: 16px 10px;
  }

  .section-title,
  .quote-card__title {
    font-size: 30px;
  }

  .service-item {
    align-items: flex-start;
  }

  .whatsapp-float {
    font-size: 14px;
  }
}
