/* ============================
   CONTATO PAGE — contato.css
   ============================ */

/* HERO CONTATO */
.contato-hero {
  background: linear-gradient(135deg, var(--musgo-dark) 0%, var(--musgo) 100%);
  color: var(--creme);
  padding: 120px 80px 80px;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
}

.contato-hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  animation: fadeInLeft 0.8s ease both;
}

.contato-hero .section-label {
  color: var(--musgo-pale);
  margin-bottom: 16px;
}

.contato-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  color: var(--creme);
  line-height: 1.1;
  margin-bottom: 20px;
}

.contato-hero-desc {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(244, 241, 235, 0.75);
  max-width: 520px;
}

/* Decorações hero */
.contato-hero-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.deco-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.deco-c1 {
  width: 400px;
  height: 400px;
  top: -120px;
  right: -80px;
}

.deco-c2 {
  width: 200px;
  height: 200px;
  bottom: -60px;
  right: 200px;
  background: rgba(184, 202, 181, 0.1);
}

.deco-leaf {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  font-size: 180px;
  color: rgba(255, 255, 255, 0.04);
  animation: float 8s ease-in-out infinite;
}

/* MAIN CONTATO */
.contato-main {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  min-height: 600px;
}

/* COLUNA ESQUERDA – INFO */
.contato-info {
  background: white;
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  border-right: 1px solid var(--creme2);
}

.info-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  animation: fadeInLeft 0.6s ease both;
}

.info-block:nth-child(2) { animation-delay: 0.1s; }
.info-block:nth-child(3) { animation-delay: 0.2s; }

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--creme);
  border: 1px solid var(--creme2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.info-block:hover .info-icon { transform: scale(1.08); }

.info-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--musgo-dark);
  margin-bottom: 4px;
}

.info-text {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

.btn-whatsapp-contato {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #25D366;
  color: white;
  text-decoration: none;
  padding: 16px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  width: fit-content;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
  margin-top: 8px;
}

.btn-whatsapp-contato:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp-contato svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}

.contato-crp-badge {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--musgo-light);
  border-top: 1px solid var(--creme2);
  padding-top: 24px;
  margin-top: auto;
}

/* COLUNA DIREITA – FORMULÁRIO */
.contato-form-wrap {
  background: var(--creme);
  padding: 64px 56px;
  animation: fadeInRight 0.8s ease 0.1s both;
}

.form-intro {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 500px;
}

.contato-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.form-group label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--musgo);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--text);
  background: white;
  border: 1px solid var(--creme2);
  border-radius: 12px;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  resize: none;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--musgo-pale);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a5e45' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--musgo-light);
  box-shadow: 0 0 0 3px rgba(74, 94, 69, 0.08);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #c0392b;
}

.form-error {
  font-size: 12px;
  color: #c0392b;
  display: none;
}

.form-group.has-error .form-error {
  display: block;
}

.btn-form {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--musgo-dark);
  color: var(--creme);
  border: none;
  border-radius: 50px;
  padding: 16px 40px;
  cursor: pointer;
  width: fit-content;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(46, 61, 42, 0.2);
}

.btn-form:hover {
  background: var(--musgo);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(46, 61, 42, 0.3);
}

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

.btn-form:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-success {
  background: rgba(74, 94, 69, 0.08);
  border: 1px solid var(--musgo-pale);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--musgo-dark);
  animation: fadeInLeft 0.4s ease;
}

/* ============================
   RESPONSIVE CONTATO
   ============================ */

/* Tablet */
@media (max-width: 900px) {
  .contato-hero {
    padding: 100px 40px 60px;
    min-height: 260px;
  }

  .contato-main {
    grid-template-columns: 1fr;
  }

  .contato-info {
    border-right: none;
    border-bottom: 1px solid var(--creme2);
    padding: 48px 40px;
    gap: 24px;
  }

  .contato-form-wrap {
    padding: 48px 40px;
  }

  .contato-crp-badge {
    margin-top: 8px;
  }

  .btn-whatsapp-contato {
    width: 100%;
    justify-content: center;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .contato-hero {
    padding: 90px 24px 50px;
    min-height: 220px;
  }

  .contato-hero-title {
    font-size: clamp(28px, 9vw, 42px);
  }

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

  .deco-c1,
  .deco-c2,
  .deco-leaf {
    display: none;
  }

  .contato-info {
    padding: 40px 24px;
    gap: 20px;
  }

  .info-icon {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .info-title {
    font-size: 16px;
  }

  .contato-form-wrap {
    padding: 40px 24px;
  }

  .form-intro {
    font-size: 14px;
    margin-bottom: 28px;
  }

  .contato-form {
    gap: 16px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px; /* evita zoom automático no iOS */
    padding: 13px 16px;
  }

  .btn-form {
    width: 100%;
    text-align: center;
    padding: 16px 32px;
    font-size: 12px;
  }

  .btn-whatsapp-contato {
    width: 100%;
    justify-content: center;
    padding: 15px 24px;
  }

  .contato-crp-badge {
    font-size: 10px;
    letter-spacing: 2px;
  }
}

/* Mobile pequeno (320px) */
@media (max-width: 380px) {
  .contato-hero {
    padding: 80px 20px 44px;
  }

  .contato-info,
  .contato-form-wrap {
    padding: 32px 20px;
  }

  .info-block {
    gap: 12px;
  }
}
