/* =======================================================================
   CONTATO.CSS
   ======================================================================= */

body {
  background-color: var(--color-primary-dark) !important;
  overflow-x: hidden;
}

.content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  position: relative;
  background-color: var(--color-primary-dark);
  overflow-x: hidden;
}

/* =======================================================================
   HERO SECTION
   ======================================================================= */
.box-foto {
  width: 100%;
  min-height: 420px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
  padding: 30px 20px;
}

.box-foto::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -5%;
  width: 110%;
  height: 120%;
  background-image: url("images/BACKGROUND/background.avif");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  filter: brightness(0.52) contrast(1.1) saturate(0.8);
}

.box-foto::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at center,
      transparent 0%,
      transparent 40%,
      rgba(0, 0, 0, 0.4) 80%,
      rgba(0, 0, 0, 0.7) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0.4) 30%,
      rgba(0, 0, 0, 0.5) 70%,
      rgba(0, 0, 0, 0.9) 100%
    );
  z-index: 1;
  pointer-events: none;
}

.box-content-foto {
  width: 100%;
  max-width: 1000px;
  display: flex;
  flex-direction: row;
  position: relative;
  z-index: 3;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-xl);
}

.box-foto-texto {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 500px;
  gap: var(--spacing-sm);
}

.box-foto-texto h1 {
  color: var(--color-white);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.box-foto-texto h3 {
  color: var(--color-yellow);
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.02em;
}

.box-foto-texto p {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(0.75rem, 1.3vw, 0.88rem);
  line-height: 1.6;
  margin: 0;
}

.btn-vamosla {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  background: var(--color-yellow);
  color: var(--color-primary-dark);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  text-decoration: none !important;
  max-width: fit-content;
  margin-top: var(--spacing-xs);
}

.btn-vamosla svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  flex-shrink: 0;
}

.btn-vamosla:hover {
  background: var(--color-yellow-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px -8px rgba(255, 237, 0, 0.5);
  color: var(--color-primary-dark);
}

.box-foto-icone {
  display: flex;
  justify-content: center;
  align-items: center;
}

.box-foto-icone img {
  max-width: 160px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 12px rgba(255, 237, 0, 0.2));
}

/* =======================================================================
   SEÇÃO DE CONTATO
   ======================================================================= */
.box-contato {
  width: 100%;
  max-width: 1000px;
  padding: 55px 20px;
  display: flex;
  flex-direction: row;
  gap: 50px;
  justify-content: space-between;
  align-items: flex-start;
}

/* =======================================================================
   INFORMAÇÕES DE CONTATO
   ======================================================================= */
.contato-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.contato-info-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contato-info-header h2 {
  color: var(--color-white);
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.contato-info-header p {
  color: var(--color-gray-light);
  font-size: 0.8rem;
  margin: 0;
  line-height: 1.5;
}

.contato-items {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.contato-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-fast);
}

.contato-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 237, 0, 0.2);
  transform: translateX(4px);
}

.contato-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(255, 237, 0, 0.1);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.contato-item-icon svg {
  width: 17px;
  height: 17px;
  color: var(--color-yellow);
}

.contato-item-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contato-item-label {
  color: var(--color-gray-light);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.contato-item-value {
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0;
  word-break: break-word;
}

.contato-item-value a {
  color: var(--color-white);
  transition: color var(--transition-fast);
}

.contato-item-value a:hover {
  color: var(--color-yellow);
}

/* =======================================================================
   REDES SOCIAIS
   ======================================================================= */
.redes-sociais {
  display: flex;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-sm);
}

.rede-item {
  margin: 0;
}

.rede-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-fast);
  color: var(--color-white);
}

.rede-item a:hover {
  background: var(--color-yellow);
  border-color: var(--color-yellow);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px -6px rgba(255, 237, 0, 0.4);
  color: var(--color-primary-dark);
}

.rede-item svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: all var(--transition-fast);
}

/* =======================================================================
   FORMULÁRIO DE CONTATO
   ======================================================================= */
.contato-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.5);
}

#contato-title {
  color: var(--color-white);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 var(--spacing-sm) 0;
  font-family: var(--font-family);
}

.contato-form > p {
  color: var(--color-gray-light);
  font-size: 0.82rem;
  font-weight: 400;
  margin: 0 0 var(--spacing-md) 0;
  font-family: var(--font-family);
}

.contato-form form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.box-inputs {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.load-box {
  position: relative;
}

.contato-form input[type="email"] {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.88rem;
  font-family: var(--font-family);
  background: var(--color-primary-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-white);
  transition: all var(--transition-fast);
  outline: none;
}

.contato-form input[type="email"]::placeholder {
  color: var(--color-gray);
}

.contato-form input[type="email"]:focus {
  border-color: var(--color-yellow);
  box-shadow: 0 0 0 3px rgba(255, 237, 0, 0.1);
  background: var(--color-accent);
}

.contato-form input[type="email"].input_error {
  border-color: var(--color-error) !important;
  box-shadow: 0 0 0 3px rgba(255, 61, 61, 0.15) !important;
  animation: shake 0.4s ease;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  20%,
  60% {
    transform: translateX(-5px);
  }
  40%,
  80% {
    transform: translateX(5px);
  }
}

#btn-submit {
  width: 100%;
  padding: 11px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-family);
  background: var(--color-yellow);
  color: var(--color-primary-dark);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: var(--spacing-xs);
}

#btn-submit:hover {
  background: var(--color-yellow-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px -8px rgba(255, 237, 0, 0.5);
}

#btn-submit:disabled {
  background: var(--color-gray-dark);
  color: var(--color-gray);
  cursor: not-allowed;
  opacity: 0.6;
}

#btn-submit.loader-ativo {
  background: var(--color-yellow-dark);
  color: transparent;
  cursor: wait;
}

/* =======================================================================
   RESPONSIVO
   ======================================================================= */
@media only screen and (max-width: 900px) {
  .box-contato {
    flex-direction: column;
    gap: 30px;
    padding: 40px 20px;
    align-items: center;
  }

  .contato-info,
  .contato-form {
    width: 100%;
    max-width: 600px;
  }

  .contato-info {
    align-items: center;
    text-align: center;
  }

  .contato-item {
    text-align: left;
  }

  .redes-sociais {
    justify-content: center;
  }
}

@media only screen and (max-width: 768px) {
  .box-foto {
    min-height: 360px;
  }

  .box-content-foto {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-lg);
  }

  .box-foto-texto {
    max-width: 100%;
    align-items: center;
  }

  .box-foto-icone img {
    max-width: 110px;
  }

  .box-foto-icone {
    order: -1;
  }

  .contato-info,
  .contato-form {
    max-width: 100%;
  }

  .contato-form {
    padding: 22px 18px;
  }
}

@media only screen and (max-width: 480px) {
  .box-foto {
    min-height: 320px;
    padding: 20px 15px;
  }

  .box-foto-icone img {
    max-width: 80px;
  }

  .box-contato {
    padding: 30px 14px;
    gap: 24px;
  }

  .contato-info-header h2 {
    font-size: 1rem;
  }

  .contato-item {
    padding: 10px 12px;
  }

  .contato-item-icon {
    width: 30px;
    height: 30px;
  }

  .contato-item-icon svg {
    width: 15px;
    height: 15px;
  }

  .contato-item-label {
    font-size: 0.68rem;
  }

  .contato-item-value {
    font-size: 0.8rem;
  }

  .contato-form {
    padding: 18px 14px;
  }

  #contato-title {
    font-size: 1rem;
  }

  .contato-form > p {
    font-size: 0.78rem;
  }

  .rede-item a {
    width: 36px;
    height: 36px;
  }

  .rede-item svg {
    width: 16px;
    height: 16px;
  }
}
