/* ===============================
   CONTACT PAGE – MOBILE FIRST
   Mantém 100% do conteúdo original
================================ */

.page-contact {
  background: #000;
}

/* MOBILE: padding reduzido */
.page-contact .header-top {
  background: #000;
  padding: 20px 24px;
}

.page-contact .header-top.compact {
  padding: 12px 24px;
  background: rgba(0,0,0,0.95);
}

/* HERO - MOBILE */
.contact-hero {
  padding: 160px 6vw 100px;
  background: linear-gradient(-45deg, #dc512e, #b23e22, #220c07, #4a1a10);
  background-size: 400% 400%;
  animation: gradientMove 9s ease infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.contact-hero-content {
  max-width: 880px;
}

.hero-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.6;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}

.contact-hero h1 {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}

.contact-hero p {
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.6;
  opacity: 0.75;
  max-width: 720px;
}

/* CONTACT SECTION - MOBILE: stack */
.contact-section {
  padding: 80px 6vw;
  max-width: 1600px;
  margin: 0 auto;
  display: block;
}

/* FORMULÁRIO */
.contact-form-container h2 {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 40px;
  letter-spacing: -0.01em;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* MOBILE: 1 coluna */
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.8;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  font-size: 15px;
  font-family: 'Raleway', sans-serif;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  transition: all 0.3s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.3);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='white' stroke-opacity='0.6' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 50px;
}

.form-group select option {
  background: #1a1a1a;
  color: #fff;
  padding: 12px;
}

.form-group select option:hover,
.form-group select option:checked {
  background: #2a2a2a;
  color: #fff;
}

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

/* MOBILE: botão full-width */
.submit-btn {
  padding: 18px 48px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Raleway', sans-serif;
  background: #fff;
  color: #000;
  border: 2px solid #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-2px);
}

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

.form-success {
  padding: 24px;
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.3);
  border-radius: 4px;
  text-align: center;
  display: none;
}

.form-success.show {
  display: block;
}

.form-success p {
  font-size: 16px;
  color: #4CAF50;
}

/* CONTACT INFO - MOBILE: não sticky */
.contact-info {
  position: relative;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 80px;
}

.info-block h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.info-item {
  margin-bottom: 20px;
}

.info-label {
  display: block;
  font-size: 12px;
  opacity: 0.5;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.info-value {
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
  display: inline-block;
}

.info-value:hover {
  opacity: 0.7;
}

.info-text {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.7;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-link {
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.social-link:hover {
  opacity: 1;
}

.info-cta {
  padding: 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}

.info-cta h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
}

.info-cta p {
  font-size: 14px;
  opacity: 0.65;
  margin-bottom: 24px;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.5);
}

/* FAQ - MOBILE: 1 coluna */
.faq-section {
  padding: 80px 6vw;
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: 1400px;
  margin: 0 auto;
}

.faq-header {
  margin-bottom: 48px;
}

.section-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.6;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.faq-header h2 {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.faq-item {
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.faq-item h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.faq-item p {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.7;
}

/* ===============================
   TABLET: 768px+
================================ */
@media (min-width: 768px) {
  .page-contact .header-top {
    padding: 24px 40px;
  }

  .page-contact .header-top.compact {
    padding: 14px 40px;
  }

  .contact-section,
  .faq-section {
    padding: 100px 6vw;
  }

  .contact-form-container h2 {
    font-size: 30px;
    margin-bottom: 44px;
  }

  /* TABLET: 2 colunas no form */
  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .submit-btn {
    width: fit-content;
  }

  .faq-header {
    margin-bottom: 64px;
  }

  .faq-header h2 {
    font-size: 40px;
  }
}

/* ===============================
   DESKTOP: 1200px+
================================ */
@media (min-width: 1200px) {
  .page-contact .header-top {
    padding: 32px 56px;
  }

  .page-contact .header-top.compact {
    padding: 14px 48px;
  }

  .contact-hero {
    padding: 200px 6vw 200px;
  }

  .contact-section,
  .faq-section {
    padding: 120px 6vw;
  }

  /* AGORA SIM: 2 colunas */
  .contact-section {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 120px;
    align-items: flex-start;
  }

  .contact-form-container h2 {
    font-size: 32px;
    margin-bottom: 48px;
  }

  /* AGORA SIM: sticky */
  .contact-info {
    position: sticky;
    top: 180px;
    margin-top: 0;
  }

  .faq-header {
    margin-bottom: 80px;
  }

  .faq-header h2 {
    font-size: 48px;
  }

  /* AGORA SIM: 2 colunas FAQ */
  .faq-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 64px 80px;
  }
}

/* ===============================
   A11Y.CSS — ACESSIBILIDADE
   Inclua APÓS todos os outros CSS
   Não sobrescreve nenhum estilo visual
================================ */

/* ===============================
   1. SKIP LINK
   Link invisível que aparece ao
   pressionar Tab — pula direto
   para o conteúdo principal
================================ */
.skip-link {
  position: fixed;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  padding: 12px 24px;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #000;
  transition: top 0.2s ease;
  white-space: nowrap;
}

.skip-link:focus {
  top: 16px;
  outline: 3px solid #dc512e;
  outline-offset: 2px;
}

/* ===============================
   2. FOCUS VISÍVEL
   Reaplica outline em todos os
   elementos focáveis — respeita
   o estilo do site (cor laranja)
================================ */
:focus-visible {
  outline: 2px solid #dc512e;
  outline-offset: 3px;
  border-radius: 2px;
}

/* Remove outline padrão somente
   quando :focus-visible está ativo */
:focus:not(:focus-visible) {
  outline: none;
}

/* ===============================
   3. REDUCED MOTION
   Desativa animações para quem
   configurou o sistema assim
================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* Mantém o gradiente mas remove a animação */
  .about-hero,
  .contact-hero,
  .services-hero,
  body[class*="agendamento"] {
    background-position: 0% 50% !important;
    animation: none !important;
  }
}

/* ===============================
   4. CONTRASTE DE TEXTO
   Garante legibilidade mínima
   nos elementos com opacity baixa
================================ */
@media (forced-colors: active) {
  /* Modo de alto contraste do Windows */
  * {
    forced-color-adjust: auto;
  }

  .work-hover,
  .section-text,
  .manifesto-text p,
  .about-hero p,
  .contact-hero p,
  .services-hero p {
    opacity: 1 !important;
  }
}

/* ===============================
   5. TEXTOS OCULTOS (SR ONLY)
   Visível apenas para leitores
   de tela — use a classe
   .sr-only nos seus HTMLs
================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Versão focável (para skip links internos) */
.sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  padding: inherit;
  margin: inherit;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* ===============================
   6. INDICADORES DE ESTADO
   Torna estados ARIA visíveis
================================ */

/* Botões e links desativados */
[aria-disabled="true"],
[disabled] {
  cursor: not-allowed;
  opacity: 0.45;
  pointer-events: none;
}


/* Links de navegação ativos */
[aria-current="page"] {
  opacity: 1 !important;
  font-weight: 600;
}

/* ===============================
   7. FORMULÁRIOS ACESSÍVEIS
   Melhora legibilidade de erros
   e estados no contact/agendamento
================================ */

/* Campo com erro */
.form-group input[aria-invalid="true"],
.form-group textarea[aria-invalid="true"],
.form-group select[aria-invalid="true"],
.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: #e53e3e !important;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.15);
}

/* Mensagem de erro */
.field-error {
  display: block;
  font-size: 13px;
  color: #e53e3e;
  margin-top: 6px;
  font-weight: 500;
}

/* Campo obrigatório */
.form-group label[data-required]::after,
.form-field label[data-required]::after {
  content: " *";
  color: #dc512e;
  font-weight: 600;
}

/* ===============================
   8. IMAGENS E MÍDIA
   Evita que imagens decorativas
   recebam foco desnecessário
================================ */
img[aria-hidden="true"],
svg[aria-hidden="true"] {
  pointer-events: none;
}

/* Garante que imagens sem alt
   não quebrem o layout */
img:not([alt]) {
  outline: 3px dashed rgba(229, 62, 62, 0.5);
}

/* ===============================
   9. CALENDÁRIO (agendamento)
   Melhora navegação por teclado
================================ */
.calendar-day:focus-visible {
  outline: 2px solid #0069ff;
  outline-offset: 2px;
  border-radius: 50%;
}

.time-button:focus-visible {
  outline: 2px solid #0069ff;
  outline-offset: 2px;
}

/* ===============================
   10. DARK MODE
   Respeita preferência do sistema
   sem quebrar o design atual
================================ */
@media (prefers-color-scheme: dark) {
  /* O site já é dark — apenas
     ajusta elementos brancos */
  .booking-card {
    background: #1a1a1a;
    color: #f5f5f5;
  }

  .booking-card input,
  .booking-card textarea {
    background: #2a2a2a;
    color: #f5f5f5;
    border-color: #444;
  }

  .booking-card .left-section,
  .booking-card .right-section {
    background: #1a1a1a;
    color: #f5f5f5;
  }

  .booking-card .booking-subtitle,
  .booking-card .calendar-month,
  .booking-card .section-title,
  .booking-card .confirmation-title {
    color: #f5f5f5;
  }

  .booking-card .booking-title,
  .booking-card .meta-item,
  .booking-card .booking-description,
  .booking-card .calendar-day,
  .booking-card .author-role,
  .booking-card .confirmation-subtitle {
    color: #aaa;
  }

  .booking-card .calendar-day.disabled {
    color: #555;
  }

  .booking-card .left-section {
    border-color: #333;
  }

  .booking-card .timezone-info {
    background: #2a2a2a;
  }

  .booking-card .confirmation-details {
    background: #2a2a2a;
    color: #f5f5f5;
  }
}

/* Header Right */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Seletor de Idioma */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 20px;
  font-size: 13px;
  font-weight: 600;
}

.lang-link {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.3s ease;
}

.lang-link:hover {
  color: #dc512e;
}

.lang-link.lang-active {
  color: #fff;
}

.lang-divider {
  color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .lang-switch {
    margin-right: 8px;
    font-size: 11px;
  }
}