*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: #06060C; color: var(--grey-hi);  line-height: 1.6; -webkit-font-smoothing: antialiased; min-height: 100vh; }

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

/* ======  HEADER / HERO DA PÁGINA DE CONTATO ====== */
.primeHeader {
  display: grid;
  height: auto;
  min-height: 100vh;
  padding-bottom: 30px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background-color: var(--primary-black);
}

/* ===== TÍTULOS E CABEÇALHOS DA SEÇÃO ===== */
.section-header {
  text-align: center;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  color: var(--bg-light);
}

h1,
.h1 {
  text-align: center;
  color: var(--bg-light);
  padding: 0 1rem;
  margin: 0;
}

/* ===== LAYOUT FLEX DO CONTATO (COLUNAS) ======== */
.flex-contato-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;
  max-width: 1266px;
  margin: 20px auto 0;
  padding: 0 20px;
}

.contact-info-section {
  flex: 1 1 350px;
  max-width: 420px;
}

.contact-form-section {
  flex: 1 1 450px;
  max-width: 650px;
  margin: 0 auto;
}

/* .contact-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
} */

/* ===== BLOCO DE INFORMAÇÕES DE CONTATO ======= */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 650px;
  margin: 0 auto;
}

.contact-item {
  display: grid;
  gap: 20px;
  width: fit-content;
  margin: 0 auto;
  text-align: center;
}

.contact-item-change {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 60px;
}

.contact-item-prime {
  color: var(--bg-light);
}

.contact-icon {
  font-size: 1.8rem;
  color: var(--primary-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4em;
}

.contact-item h4 {
  margin: 0 0 0.3rem;
  font-size: 1.2rem;
  color: #3b82f6;
}

/* ===== FORMULÁRIO DE CONTATO ====== */
.contact-form-wrapper {
  border: 1px solid var(--bg-light);
  padding: 45px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  position: relative;
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: var(--transition);
  background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1a1bad;
  box-shadow: 0 0 0 3px rgba(26, 27, 173, 0.1);
}

.form-group label {
  position: absolute;
  left: 1rem;
  top: 1rem;
  color: var(--text-gray);
  transition: var(--transition);
  pointer-events: none;
  padding: 0 0.5rem;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -1.5rem;
  left: 0.8rem;
  font-size: 0.85rem;
  color: var(--grey-hi);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* =====  MENSAGENS DE FEEDBACK ====== */
.form-message {
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  font-weight: 500;
  display: none;
}

.form-message.success {
  display: block;
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  display: block;
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ==========    RODAPÉ ============ */
.copyright {
  text-align: center;
  padding: 15px 0;
  font-size: 0.8em;
}

/* ====== ÍCONES SOCIAIS (LINKEDIN / INSTAGRAM) ====== */
.social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.social-icons svg {
  width: 24px;
  height: 24px;
  fill: #ffffff; 
  transition: var(--transition);
}

/* Modo claro: ícone preto (ative adicionando a classe "light-mode" no body ou footer) */
.light-mode .social-icons svg {
  fill: #000000;
}

.social-icons a:hover svg {
  fill: var(--primary-gold);
}

/* =========== RESPONSIVIDADE ============ */
@media (max-width: 992px) {
  .primeHeader {
    min-height: 100vh;
    max-height: none;
    padding-bottom: 20px !important;
  }

  .page-title {
    padding-top: 0;
  }

  .flex-contato-container {
    align-items: center;
    padding: 20px 10px;
    margin: 20px auto;
  }

  .contact-info-section,
  .contact-form-section {
    flex: 1 1 100%;
    width: 100%;
    max-width: 30rem;
  }

  /* .form-group textarea,
  .form-group input {
    width: 92%;
  } */
}

@media (max-width: 768px) {
  .contact-form-wrapper {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .page-title {
    font-size: 1.6em;
    margin-bottom: 0;
  }

  /*.flex-contato-container {*/
  /*  margin: 0 auto;*/
  /*}*/

  .section-subtitle {
    margin-bottom: 1.2rem;
  }

  .contact-item {
    margin: 0 auto;
    display: grid;
    gap: 8px;
  }

  .contact-info-section,
  .contact-form-section {
    max-width: 21rem;
  }

  .contact-item-change {
    height: auto;
  }

  .contact-item h4 {
    font-size: 1rem;
  }

  .contact-form-wrapper {
    padding: 45px 25px;
  }

  .form-group textarea,
  .form-group input {
    font-size: 15px;
  }
}

@media (max-width: 376px) {
 .flex-contato-container {margin-top: 20px; padding-top: 20px;}

  .page-title {
    font-size: 1.3em;
  }

  .section-subtitle {
    font-size: 0.85rem;
  }

  .contact-item-change {
    gap: 13px;
  }

  .contact-icon {
    font-size: 1.5rem;
  }

  .contact-item-prime .fa-solid, 
  .contact-item-change .fa-brands {font-size: 1.2rem;}

  .contact-item-prime span,
  .contact-item-change span {font-size: .8rem;}

  .copyright {padding: 15px 5px;}

  .logo-img {height: 3rem !important;}
}