/* =============================================================================
   contact.css — Contact page styles
   Sections: #banner, #contato-form
   ============================================================================= */

/* ── BANNER ─────────────────────────────────────────────────────────────────── */
#banner {
  position: relative;
  height: 700px; overflow: hidden;
}
.banner-bg {
  position: absolute; inset: 0;
  will-change: transform;
}
.banner-bg picture,
.banner-bg img,
.banner-bg video {
  display: block;
  width: 100%; height: 100%;
}
.banner-bg img,
.banner-bg video {
  object-fit: cover; object-position: center 30%;
}
.banner-youtube {
  position: absolute;
  top: 50%; left: 50%;
  width: 100vw; height: 56.25vw;
  min-width: 177.78vh; min-height: 100vh;
  transform: translate(-50%, -50%);
  border: 0; pointer-events: none;
}
.banner-poster {
  position: absolute; inset: 0;
  z-index: 0;
}
.banner-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.3);
  z-index: 1;
}
.banner-content {
  position: absolute;
  bottom: 80px; left: var(--pp);
  max-width: 845px;
  z-index: 2;
}
.banner-eyebrow {
  font-size: 16px; font-weight: 700; color: white;
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 19px;
  opacity: 0; transform: translateY(20px);
  animation: ctFu .7s .3s forwards;
}
.banner-title {
  font-size: 56px; font-weight: 900; color: white;
  line-height: 1.2;
  opacity: 0; transform: translateY(20px);
  animation: ctFu .7s .5s forwards;
}
@keyframes ctFu { to { opacity: 1; transform: translateY(0); } }

/* ── CONTACT FORM ───────────────────────────────────────────────────────────── */
#contato-form { background: #fff; padding: 72px 0; }

.cf-inner { max-width: 1216px; margin: 0 auto; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap); margin-bottom: 24px;
}
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field--full { margin-bottom: 24px; }
.form-field label {
  font-size: 14px; font-weight: 300; color: var(--g08); line-height: 1.4;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--g02); border-radius: 4px;
  font-family: inherit; font-size: 18px; font-weight: 500;
  color: var(--preto); background: #fff; outline: none;
  transition: border-color var(--t), box-shadow var(--t);
  appearance: none; -webkit-appearance: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(255,0,0,.4);
  box-shadow: 0 0 0 3px rgba(255,0,0,.12);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--g03); }
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23241f21' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 44px;
  cursor: pointer;
}
.form-field select option { color: var(--preto); }
.form-field textarea { height: 160px; resize: vertical; line-height: 1.4; }

.form-footer {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 40px; margin-top: 16px; flex-wrap: wrap;
}
.form-privacy {
  display: flex; align-items: center;
  gap: 8px; flex: 1; min-width: 200px;
}
.form-privacy-chk {
  width: 20px; height: 20px; flex-shrink: 0;
  border: 1px solid var(--g02); border-radius: 2px;
  cursor: pointer; appearance: none; -webkit-appearance: none;
  background: #fff;
  transition: border-color var(--t), background var(--t);
}
.form-privacy-chk:checked {
  background: var(--ve); border-color: var(--ve);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.form-privacy-lbl {
  font-size: 14px; font-weight: 300; color: var(--g08); line-height: 1.4;
}
.form-privacy-lbl a {
  font-weight: 700; text-decoration: underline;
  color: var(--preto);
  transition: color var(--t);
}
.form-privacy-lbl a:hover { color: var(--v); }
.btn-enviar {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 32px; height: 44px;
  background: var(--ve); color: white; border-radius: var(--r);
  font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  white-space: nowrap; flex-shrink: 0;
  font-family: inherit; cursor: pointer; border: none;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
}
.btn-enviar:hover {
  background: #700000;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(153,0,0,.3);
}

/* ── Validação ───────────────────────────────────────────────────────────────── */
.form-field input.field--error,
.form-field select.field--error,
.form-field textarea.field--error {
  border-color: var(--v) !important;
  box-shadow: 0 0 0 2px rgba(255,0,0,.12) !important;
}
.error-msg { display: block; font-size: 12px; color: var(--v); font-weight: 500; margin-top: 4px; }
.form-privacy--error .form-privacy-lbl { color: var(--v); }
.form-privacy--error { flex-wrap: wrap; }
.form-privacy--error .error-msg { flex: 0 0 100%; margin-top: 2px; }

/* ── RESPONSIVE ─────────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .banner-title    { font-size: 40px; }
  .form-row   { grid-template-columns: 1fr; }
  .form-footer { flex-direction: column; align-items: flex-start; }
  .btn-enviar { width: 100%; justify-content: center; }
}
@media (max-width: 640px) {
  .banner-title    { font-size: 32px; }
  .banner-deco   { display: none; }
  #contato-form { padding: 48px 0; }
}
