/* ============================================================
   CONTATO.CSS — Estilos específicos da página Contato
   ============================================================ */

/* Nav active state */
.nav-links a.active {
  color: var(--yellow);
}

/* ============================================================
   HERO — Localização
   ============================================================ */
.ctt-hero {
  background: var(--white);
  padding: 160px 0 80px;
}

.ctt-page-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(56px, 8vw, 148px);
  color: var(--yellow);
  line-height: 1;
  text-shadow: 0px 1px 2px rgba(30, 30, 30, 0.2);
}

/* ============================================================
   SEÇÕES GENÉRICAS
   ============================================================ */
.ctt-section {
  background: var(--white);
  padding: 0 0 96px;
}

.ctt-section--alt {
  background: #F9F9F9;
  padding: 96px 0 108px;
}

/* ============================================================
   MAPA
   ============================================================ */
.ctt-map {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 48px;
}

.ctt-map iframe {
  display: block;
  width: 100%;
  height: 500px;
  border: 0;
}

/* ============================================================
   BLOCO DE ENDEREÇO (abaixo do mapa)
   ============================================================ */
.ctt-address {
  max-width: 820px;
}

.ctt-address-lead {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(17px, 1.3vw, 22px);
  color: var(--dark);
  margin-bottom: 16px;
}

.ctt-address p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(15px, 1.05vw, 18px);
  color: var(--dark);
  line-height: 1.75;
  margin-bottom: 20px;
}

.ctt-address ul {
  list-style: disc;
  padding-left: 24px;
  margin: 0;
}

.ctt-address ul li {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(15px, 1.05vw, 18px);
  color: var(--dark);
  line-height: 1.75;
  margin-bottom: 12px;
}

.ctt-address ul li:last-child {
  margin-bottom: 0;
}

/* ============================================================
   LAYOUT: SPLIT — texto | foto
   ============================================================ */
.ctt-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.ctt-split-photo img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* ============================================================
   TEXTOS DA SEÇÃO SPLIT
   ============================================================ */
.ctt-heading {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(24px, 2.2vw, 42px);
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 28px;
}

.ctt-split-text p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(15px, 1.05vw, 18px);
  color: var(--dark);
  line-height: 1.75;
  margin-bottom: 16px;
}

.ctt-split-text ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.ctt-split-text ol li {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(15px, 1.05vw, 18px);
  color: var(--dark);
  line-height: 1.75;
  margin-bottom: 10px;
}

.ctt-split-text ol li:last-child {
  margin-bottom: 0;
}

.ctt-split-body .btn-yellow {
  font-size: clamp(15px, 1.05vw, 18px);
  padding: 22px 48px;
  margin-top: 16px;
  display: inline-block;
}

/* ============================================================
   RESPONSIVE — Tablet (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .ctt-split {
    gap: 48px;
  }

  .ctt-page-title {
    font-size: clamp(48px, 9vw, 96px);
  }

  .ctt-map iframe {
    height: 420px;
  }
}

/* ============================================================
   RESPONSIVE — Mobile (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* --- Hero --- */
  .ctt-hero {
    padding: 100px 0 48px;
  }

  .ctt-page-title {
    font-size: 52px;
  }

  /* --- Seção mapa --- */
  .ctt-section {
    padding: 0 0 64px;
  }

  .ctt-section--alt {
    padding: 64px 0 72px;
  }

  /* --- Mapa --- */
  .ctt-map {
    border-radius: 16px;
    margin-bottom: 32px;
  }

  .ctt-map iframe {
    height: 280px;
  }

  /* --- Endereço --- */
  .ctt-address-lead {
    font-size: 17px;
  }

  .ctt-address p,
  .ctt-address ul li {
    font-size: 15px;
  }

  /* --- Split --- */
  .ctt-split {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  /* display:contents "dissolve" o wrapper para que heading e body
     participem diretamente do flexbox, permitindo controle de order */
  .ctt-split-text {
    display: contents;
  }

  /* Ordem: 1) heading  2) foto  3) corpo do texto */
  .ctt-heading {
    order: 1;
    font-size: 26px;
    margin-bottom: 20px;
  }

  .ctt-split-photo {
    order: 2;
    margin-bottom: 24px;
  }

  .ctt-split-body {
    order: 3;
  }

  .ctt-split-photo img {
    aspect-ratio: 4 / 3;
    border-radius: 16px;
  }

  /* --- Textos --- */
  .ctt-split-text p,
  .ctt-split-text ol li {
    font-size: 16px;
  }

  /* Botão centralizado */
  .ctt-split-body .btn-yellow {
    display: block;
    width: fit-content;
    margin: 16px auto 0;
    padding: 18px 36px;
  }
}
