/* =========================================================
   CETIS — CONTACT / FORMULÁRIO
   assets/css/contact.css
========================================================= */

.contact-section {
  position: relative;

  padding: 125px 0;

  overflow: hidden;

  color: #183a5c;

  background:
    radial-gradient(
      circle at 8% 45%,
      rgba(8, 127, 189, 0.08),
      transparent 28%
    ),
    radial-gradient(
      circle at 92% 10%,
      rgba(8, 127, 189, 0.055),
      transparent 25%
    ),
    linear-gradient(
      135deg,
      #f4fafc 0%,
      #ffffff 55%,
      #eef8fb 100%
    );

  isolation: isolate;
}


/* =========================================================
   DETALHES DECORATIVOS
========================================================= */

.contact-section::before {
  content: "";

  position: absolute;

  width: 520px;
  height: 520px;

  right: -300px;
  bottom: -300px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(8, 127, 189, 0.08),
      transparent 70%
    );

  pointer-events: none;
}


.contact-section::after {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(8, 127, 189, 0.14),
      transparent
    );

  pointer-events: none;
}


/* =========================================================
   GRID PRINCIPAL
========================================================= */

.contact-container {
  position: relative;

  z-index: 2;

  width: min(
    1180px,
    calc(100% - 48px)
  );

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    minmax(0, 0.95fr)
    minmax(460px, 1.05fr);

  align-items: center;

  gap: 95px;
}


/* =========================================================
   COLUNA DE CONTEÚDO
========================================================= */

.contact-content {
  max-width: 590px;
}


/* =========================================================
   EYEBROW
========================================================= */

.contact-eyebrow {
  display: inline-flex;

  align-items: center;

  min-height: 34px;

  padding: 0 15px;

  margin-bottom: 25px;

  border:
    1px solid rgba(8, 127, 189, 0.18);

  border-radius: 999px;

  color: #087fbd;

  background:
    rgba(8, 127, 189, 0.055);

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 0.14em;

  text-transform: uppercase;
}


.contact-eyebrow::before {
  content: "";

  width: 6px;
  height: 6px;

  margin-right: 9px;

  border-radius: 50%;

  background: #087fbd;

  box-shadow:
    0 0 0 4px rgba(8, 127, 189, 0.08);
}


/* =========================================================
   TÍTULO
========================================================= */

.contact-title {
  margin: 0 0 25px;

  color: #183a5c;

  font-size:
    clamp(
      42px,
      4.5vw,
      62px
    );

  line-height: 1.02;

  font-weight: 800;

  letter-spacing: -0.045em;
}


.contact-title span {
  display: block;

  color: #087fbd;
}


/* =========================================================
   SUBTÍTULO
========================================================= */

.contact-subtitle {
  margin: 0 0 18px;

  color: #365873;

  font-size: 18px;

  line-height: 1.7;

  font-weight: 500;
}


/* =========================================================
   DESCRIÇÃO
========================================================= */

.contact-description {
  max-width: 535px;

  margin: 0;

  color: #718696;

  font-size: 14px;

  line-height: 1.8;
}


/* =========================================================
   DESTAQUES
========================================================= */

.contact-highlights {
  display: flex;

  flex-direction: column;

  gap: 17px;

  margin-top: 38px;
}


/* =========================================================
   DESTAQUE INDIVIDUAL
========================================================= */

.contact-highlight {
  display: flex;

  align-items: center;

  gap: 15px;

  padding: 13px 15px;

  border:
    1px solid rgba(24, 58, 92, 0.065);

  border-radius: 14px;

  background:
    rgba(255, 255, 255, 0.58);

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}


.contact-highlight:hover {
  transform: translateX(5px);

  border-color:
    rgba(8, 127, 189, 0.16);

  box-shadow:
    0 12px 30px rgba(24, 58, 92, 0.055);
}


/* =========================================================
   ÍCONE
========================================================= */

.contact-highlight-icon {
  flex: 0 0 auto;

  width: 44px;
  height: 44px;

  display: flex;

  align-items: center;

  justify-content: center;

  border:
    1px solid rgba(8, 127, 189, 0.15);

  border-radius: 12px;

  color: #087fbd;

  background:
    linear-gradient(
      145deg,
      rgba(8, 127, 189, 0.10),
      rgba(8, 127, 189, 0.025)
    );
}


.contact-highlight-icon svg {
  width: 21px;
  height: 21px;
}


/* =========================================================
   TEXTO DOS DESTAQUES
========================================================= */

.contact-highlight strong {
  display: block;

  margin-bottom: 4px;

  color: #244863;

  font-size: 13px;

  font-weight: 700;
}


.contact-highlight span {
  display: block;

  color: #7a8d9b;

  font-size: 12px;

  line-height: 1.5;
}


/* =========================================================
   FORMULÁRIO — CONTAINER
========================================================= */

.contact-form-wrapper {
  position: relative;

  padding: 38px;

  border:
    1px solid rgba(8, 127, 189, 0.12);

  border-radius: 24px;

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

  box-shadow:
    0 30px 75px rgba(24, 58, 92, 0.10),
    0 4px 18px rgba(24, 58, 92, 0.035);

  backdrop-filter: blur(18px);

  -webkit-backdrop-filter: blur(18px);
}


/* =========================================================
   LINHA SUPERIOR
========================================================= */

.contact-form-wrapper::before {
  content: "";

  position: absolute;

  top: 0;
  left: 15%;

  width: 70%;
  height: 2px;

  border-radius: 999px;

  background:
    linear-gradient(
      90deg,
      transparent,
      #087fbd,
      transparent
    );
}


/* =========================================================
   CABEÇALHO DO FORM
========================================================= */

.contact-form-header {
  margin-bottom: 28px;
}


.contact-form-label {
  display: block;

  margin-bottom: 9px;

  color: #087fbd;

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 0.14em;
}


.contact-form-header h3 {
  margin: 0 0 8px;

  color: #183a5c;

  font-size: 27px;

  line-height: 1.2;

  font-weight: 750;

  letter-spacing: -0.025em;
}


.contact-form-header p {
  margin: 0;

  color: #7a8d9b;

  font-size: 13px;

  line-height: 1.6;
}


/* =========================================================
   FORM
========================================================= */

.contact-form {
  display: flex;

  flex-direction: column;

  gap: 18px;
}


/* =========================================================
   CAMPOS
========================================================= */

.form-field {
  display: flex;

  flex-direction: column;

  gap: 8px;
}


.form-field label {
  color: #46647b;

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 0.02em;
}


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

  border:
    1px solid rgba(24, 58, 92, 0.12);

  border-radius: 10px;

  outline: none;

  color: #183a5c;

  background:
    #f8fbfc;

  font-family: inherit;

  font-size: 14px;

  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}


.form-field input,
.form-field select {
  height: 48px;

  padding: 0 15px;
}


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

  padding: 14px 15px;

  resize: vertical;

  line-height: 1.6;
}


/* =========================================================
   PLACEHOLDER
========================================================= */

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #9aabb7;
}


.form-field select {
  cursor: pointer;
}


.form-field select option {
  color: #183a5c;

  background: #ffffff;
}


/* =========================================================
   FOCO
========================================================= */

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color:
    rgba(8, 127, 189, 0.55);

  background:
    #ffffff;

  box-shadow:
    0 0 0 3px rgba(8, 127, 189, 0.07),
    0 8px 20px rgba(8, 127, 189, 0.035);
}


/* =========================================================
   DUAS COLUNAS
========================================================= */

.form-row {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 14px;
}


/* =========================================================
   CONSENTIMENTO
========================================================= */

.form-consent {
  margin-top: 2px;
}


.consent-label {
  display: flex;

  align-items: flex-start;

  gap: 10px;

  cursor: pointer;
}


.consent-label input {
  flex: 0 0 auto;

  width: 16px;
  height: 16px;

  margin-top: 2px;

  accent-color: #087fbd;

  cursor: pointer;
}


.consent-label span {
  color: #718696;

  font-size: 11px;

  line-height: 1.55;
}


/* =========================================================
   MENSAGEM
========================================================= */

.form-message {
  display: none;

  padding: 11px 13px;

  border-radius: 9px;

  font-size: 12px;

  line-height: 1.5;
}


.form-message.success {
  display: block;

  border:
    1px solid rgba(24, 166, 106, 0.20);

  color: #188451;

  background:
    rgba(24, 166, 106, 0.055);
}


.form-message.error {
  display: block;

  border:
    1px solid rgba(210, 70, 70, 0.20);

  color: #b64040;

  background:
    rgba(210, 70, 70, 0.055);
}


/* =========================================================
   BOTÃO
========================================================= */

.contact-submit {
  position: relative;

  width: 100%;

  min-height: 52px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 14px;

  margin-top: 2px;

  padding: 0 20px;

  border: 0;

  border-radius: 10px;

  outline: none;

  cursor: pointer;

  overflow: hidden;

  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      #0089ce 0%,
      #087fbd 100%
    );

  box-shadow:
    0 12px 28px rgba(8, 127, 189, 0.18);

  font-family: inherit;

  font-size: 11px;

  font-weight: 800;

  letter-spacing: 0.07em;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}


/* =========================================================
   BRILHO DO BOTÃO
========================================================= */

.contact-submit::before {
  content: "";

  position: absolute;

  top: 0;
  left: -100%;

  width: 65%;
  height: 100%;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.18),
      transparent
    );

  transform: skewX(-20deg);

  transition:
    left 0.6s ease;
}


.contact-submit:hover::before {
  left: 140%;
}


.contact-submit:hover {
  transform: translateY(-2px);

  filter: brightness(1.04);

  box-shadow:
    0 17px 38px rgba(8, 127, 189, 0.26);
}


.contact-submit:active {
  transform: translateY(0);
}


.contact-submit:focus-visible {
  box-shadow:
    0 0 0 3px #ffffff,
    0 0 0 6px rgba(8, 127, 189, 0.45);
}


.contact-submit:disabled {
  cursor: not-allowed;

  opacity: 0.65;

  transform: none;
}


.contact-submit-arrow {
  font-size: 18px;

  line-height: 1;

  transition:
    transform 0.25s ease;
}


.contact-submit:hover .contact-submit-arrow {
  transform: translateX(4px);
}


/* =========================================================
   PRIVACIDADE
========================================================= */

.form-privacy {
  margin: -3px 0 0;

  color: #8a9aa6;

  font-size: 10px;

  line-height: 1.55;

  text-align: center;
}


/* =========================================================
   RESPONSIVIDADE — TABLET
========================================================= */

@media (max-width: 1050px) {

  .contact-container {
    grid-template-columns: 1fr;

    gap: 65px;
  }


  .contact-content {
    max-width: 760px;
  }


  .contact-form-wrapper {
    width: 100%;

    max-width: 760px;
  }

}


/* =========================================================
   RESPONSIVIDADE — MOBILE
========================================================= */

@media (max-width: 700px) {

  .contact-section {
    padding: 85px 0;
  }


  .contact-container {
    width:
      min(
        calc(100% - 32px),
        1180px
      );

    gap: 48px;
  }


  .contact-title {
    font-size:
      clamp(
        38px,
        11vw,
        52px
      );
  }


  .contact-subtitle {
    font-size: 16px;
  }


  .contact-description {
    font-size: 13px;
  }


  .contact-highlights {
    gap: 12px;

    margin-top: 30px;
  }


  .contact-highlight {
    padding: 12px;
  }


  .contact-form-wrapper {
    padding: 27px 22px;

    border-radius: 19px;
  }


  .contact-form-header h3 {
    font-size: 24px;
  }


  .form-row {
    grid-template-columns: 1fr;

    gap: 18px;
  }


  .form-field input,
  .form-field select {
    height: 50px;
  }


  .form-field textarea {
    min-height: 135px;
  }

}


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

@media (max-width: 420px) {

  .contact-section {
    padding: 70px 0;
  }


  .contact-container {
    width:
      calc(100% - 28px);
  }


  .contact-title {
    font-size: 37px;
  }


  .contact-highlight-icon {
    width: 40px;
    height: 40px;
  }


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


  .contact-highlight span {
    font-size: 11px;
  }


  .contact-form-wrapper {
    padding: 24px 18px;
  }

}


/* =========================================================
   ACESSIBILIDADE
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .contact-section *,
  .contact-section *::before,
  .contact-section *::after {
    transition: none !important;
    animation: none !important;
  }

}