/* =============================
   BASE GERAL
============================= */
:root {
  --primary-color: #004e8f;
  --primary-hover: #0062b0;
  --secondary-color: #f5f7fa;
  --text-color: #333;
  --border-color: #dcdcdc;
  --radius: 8px;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --transition: 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
}

body {
  background-color: #ffffff;
  color: var(--text-color);
  line-height: 1.6;
}


/* =============================
   CABEÇALHO DA PÁGINA
============================= */
.page-header {
  background: linear-gradient(76deg, #333333a1 0%, #8080804a 25%, #e6e6e638 50%, #8080804a 75% 75%, #333333a1 100%);
  color: #fff;
  text-align: center;
  padding: 30px 0 20px;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
}

        .page-header h1 {
            font-size: 2rem;
            font-weight: 650;
            text-shadow: 2px 2px 1px #ffd2008c;
            color: #333;
            margin-bottom: 0px;
        }

        .page-header p {
            font-size: 1rem;
            text-shadow: 2px 2px 1px #ffd2008c;
            color: #333;
            max-width: 600px;
            margin: 0 auto;
        }

/* =============================
   FORMULÁRIO PRINCIPAL
============================= */
.contact-form-section .container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.form-container {
  flex: 2;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 2.5rem;
}

.contact-form h2 {
  color: var(--primary-color);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.contact-form p {
  color: #555;
  margin-bottom: 1.5rem;
}

/* Seções do formulário */
.form-section {
  margin-bottom: 2rem;
}

.form-section h3 {
  font-size: 1.2rem;
  color: var(--primary-color);
  border-left: 4px solid var(--primary-color);
  padding-left: 0.5rem;
  margin-bottom: 1rem;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

label {
  font-weight: 500;
  margin-bottom: 0.4rem;
}

input,
select,
textarea {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  font-size: 1rem;
  transition: border var(--transition), box-shadow var(--transition);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 78, 143, 0.1);
}

/* =============================
   CHECKBOX DE PRIVACIDADE
============================= */
.privacy-notice {
  background: var(--secondary-color);
  padding: 1rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
}

.checkbox-label a {
  color: var(--primary-color);
  text-decoration: underline;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 3px;
}

/* =============================
   BOTÕES
============================= */
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
}

button {
  border: none;
  border-radius: var(--radius);
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background var(--transition), transform var(--transition);
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: #e9ecef;
  color: #333;
}

.btn-secondary:hover {
  background-color: #dfe3e8;
  transform: translateY(-2px);
}

/* =============================
   SIDEBAR DE CONTATOS
============================= */
.contact-sidebar {
  flex: 1;
  background: var(--secondary-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  height: fit-content;
}

.contact-card h3 {
  color: var(--primary-color);
  font-weight: 750;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.contact-method {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  background: var(--primary-color);
  color: #fff;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-details h4 {
  margin-bottom: 0.3rem;
  color: var(--primary-color);
}

/* =============================
   RESPONSIVIDADE
============================= */
@media (max-width: 992px) {
  .contact-form-section .container {
    flex-direction: column;
  }

  .contact-sidebar {
    order: -1;
  }
}

@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
  }

  .form-container,
  .contact-sidebar {
    padding: 1.5rem;
  }

  .page-header {
    padding: 5px 0 4px 0;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }
}
