/* =====================================
   CONTATO - CRISTECH TECNOLOGIA
===================================== */

.contato-page {
  --ct-bg: #0d0b12;
  --ct-bg-card: #17121d;
  --ct-bg-input: #201925;
  --ct-text: #f8f4f8;
  --ct-muted: #b8aebc;
  --ct-rosa: #f34c9c;
  --ct-rosa-claro: #ff8bc2;
  --ct-border: rgba(243, 76, 156, 0.18);

  background: var(--ct-bg);
  color: var(--ct-text);
  font-family: Arial, sans-serif;
  overflow: hidden;
}

body.light .contato-page,
body[data-theme="light"] .contato-page {
  --ct-bg: #fff7fb;
  --ct-bg-card: #ffffff;
  --ct-bg-input: #fff1f7;
  --ct-text: #291824;
  --ct-muted: #685864;
  --ct-rosa: #d72b7b;
  --ct-rosa-claro: #d72b7b;
  --ct-border: rgba(215, 43, 123, 0.18);
}

.contato-page *,
.contato-page *::before,
.contato-page *::after {
  box-sizing: border-box;
}

.contato-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
}

.contato-tag {
  display: inline-block;
  color: var(--ct-rosa);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 22px;
}

.contato-page h1,
.contato-page h2,
.contato-page h3 {
  line-height: 1.2;
}

.contato-page h1 span,
.contato-page h2 span {
  color: var(--ct-rosa);
}

/* HERO */

.contato-hero {
  position: relative;
  padding: 125px 0 110px;
  text-align: center;
  background:
    radial-gradient(
      ellipse at 50% 0%,
      rgba(243, 76, 156, 0.16),
      transparent 65%
    ),
    var(--ct-bg);
}

.contato-hero .contato-container {
  position: relative;
  z-index: 1;
}

.contato-hero h1 {
  font-size: clamp(36px, 5vw, 65px);
  max-width: 850px;
  margin: 0 auto 25px;
  font-weight: 800;
  letter-spacing: -2px;
}

.contato-hero p {
  max-width: 650px;
  margin: 0 auto 35px;
  color: var(--ct-muted);
  font-size: 17px;
  line-height: 1.8;
}

/* BOTÕES */

.contato-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 16px 27px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #f34c9c, #d72b7b);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 8px 25px rgba(243, 76, 156, 0.2);
}

.contato-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(243, 76, 156, 0.35);
}

.contato-btn svg {
  width: 19px;
  height: 19px;
}

/* SEÇÃO PRINCIPAL */

.contato-principal {
  padding: 100px 0 120px;
  background: var(--ct-bg);
  scroll-margin-top: 90px;
}

.contato-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 70px;
}

.contato-informacoes h2 {
  font-size: clamp(30px, 3.2vw, 43px);
  margin: 0 0 20px;
}

.contato-descricao {
  color: var(--ct-muted);
  line-height: 1.8;
  font-size: 16px;
  margin-bottom: 40px;
}

/* CARDS DE INFORMAÇÕES */

.contato-info-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
  padding: 23px;
  border: 1px solid var(--ct-border);
  background: var(--ct-bg-card);
  border-radius: 16px;
  transition: 0.3s;
}

.contato-info-card:hover {
  transform: translateY(-4px);
  border-color: var(--ct-rosa);
}

.contato-info-icon,
.contato-form-icone,
.contato-cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: rgba(243, 76, 156, 0.12);
  color: var(--ct-rosa);
  border-radius: 13px;
}

.contato-info-icon svg {
  width: 24px;
  height: 24px;
}

.contato-info-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.contato-info-card p {
  color: var(--ct-muted);
  font-size: 14px;
  margin: 0 0 8px;
  line-height: 1.6;
}

.contato-info-card a,
.contato-info-card span {
  color: var(--ct-rosa);
  font-size: 14px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contato-info-card a:hover {
  text-decoration: underline;
}

/* REDES SOCIAIS */

.contato-redes {
  margin-top: 35px;
}

.contato-redes h3 {
  font-size: 17px;
  margin-bottom: 18px;
}

.contato-redes-links {
  display: flex;
  gap: 13px;
}

.contato-redes-links a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ct-border);
  border-radius: 12px;
  color: var(--ct-rosa);
  background: var(--ct-bg-card);
  transition: 0.3s;
}

.contato-redes-links a:hover {
  background: var(--ct-rosa);
  color: #fff;
  transform: translateY(-4px);
}

/* FORMULÁRIO */

.contato-form-card {
  padding: 42px;
  background: var(--ct-bg-card);
  border: 1px solid var(--ct-border);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.contato-form-topo {
  margin-bottom: 32px;
}

.contato-form-icone {
  margin-bottom: 22px;
}

.contato-form-topo h2 {
  font-size: 29px;
  margin: 0 0 12px;
}

.contato-form-topo p {
  color: var(--ct-muted);
  font-size: 15px;
  line-height: 1.7;
}

.contato-form-linha {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.contato-campo {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
  min-width: 0;
}

.contato-campo label {
  font-size: 14px;
  font-weight: 600;
}

.contato-campo input,
.contato-campo select,
.contato-campo textarea {
  width: 100%;
  min-width: 0;
  padding: 15px 16px;
  background: var(--ct-bg-input);
  color: var(--ct-text);
  border: 1px solid var(--ct-border);
  border-radius: 10px;
  outline: none;
  font: inherit;
  font-size: 14px;
  transition: 0.3s;
}

.contato-campo textarea {
  resize: vertical;
  min-height: 140px;
}

.contato-campo input:focus,
.contato-campo select:focus,
.contato-campo textarea:focus {
  border-color: var(--ct-rosa);
  box-shadow: 0 0 0 3px rgba(243, 76, 156, 0.1);
}

.contato-campo input::placeholder,
.contato-campo textarea::placeholder {
  color: var(--ct-muted);
  opacity: 0.8;
}

.contato-btn-enviar {
  width: 100%;
  margin-top: 5px;
}

.contato-form-aviso {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  color: var(--ct-muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.contato-form-aviso svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

#contato-status {
  color: var(--ct-rosa);
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
}

/* CTA FINAL */

.contato-cta {
  padding: 100px 0;
  text-align: center;
  background:
    radial-gradient(
      ellipse at center,
      rgba(243, 76, 156, 0.13),
      transparent 70%
    ),
    var(--ct-bg);
  border-top: 1px solid var(--ct-border);
}

.contato-cta-conteudo {
  max-width: 750px;
  margin: auto;
}

.contato-cta-icon {
  width: 65px;
  height: 65px;
  margin: 0 auto 25px;
  border-radius: 20px;
}

.contato-cta-icon svg {
  width: 30px;
  height: 30px;
}

.contato-cta h2 {
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 22px;
}

.contato-cta p {
  color: var(--ct-muted);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 32px;
}

/* =====================================
   RESPONSIVIDADE
===================================== */

@media (max-width: 1024px) {
  .contato-grid {
    gap: 35px;
  }

  .contato-form-card {
    padding: 30px;
  }
}

@media (max-width: 900px) {
  .contato-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .contato-informacoes {
    max-width: 700px;
  }

  .contato-form-card {
    max-width: 750px;
    width: 100%;
    margin: auto;
  }

  .contato-principal {
    padding: 75px 0;
  }
}

@media (max-width: 600px) {
  .contato-container {
    padding: 0 18px;
  }

  .contato-hero {
    padding: 85px 0 75px;
  }

  .contato-hero h1 {
    font-size: 36px;
    letter-spacing: -1px;
  }

  .contato-hero p {
    font-size: 15px;
  }

  .contato-principal {
    padding: 60px 0;
  }

  .contato-informacoes h2 {
    font-size: 30px;
  }

  .contato-form-card {
    padding: 25px 20px;
    border-radius: 18px;
  }

  .contato-form-linha {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contato-form-topo h2 {
    font-size: 25px;
  }

  .contato-cta {
    padding: 75px 0;
  }

  .contato-cta h2 {
    font-size: 32px;
  }
}

@media (max-width: 400px) {
  .contato-hero h1 {
    font-size: 30px;
  }

  .contato-hero p {
    font-size: 14px;
  }

  .contato-info-card {
    padding: 16px;
    gap: 12px;
  }

  .contato-info-icon {
    width: 42px;
    height: 42px;
  }

  .contato-form-card {
    padding: 22px 15px;
  }

  .contato-btn {
    padding: 15px 18px;
    font-size: 13px;
  }

  .contato-cta h2 {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contato-page *,
  .contato-page *::before,
  .contato-page *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
