/* =========================
   RESET BÁSICO
========================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  flex-direction: column;
}

/* =========================
   LAYOUT GERAL
========================= */

main {
  flex: 1 0 auto;
}

/* =========================
   HEADER
========================= */

.site-header {
  background-color: #ffffff;
  border-bottom: 2px solid #e5e5e5;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
}

/* Linha única do header: ESQ (menu) | DIR (redes) */
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
}

/* Direita: WhatsApp + redes */
.top-menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  white-space: nowrap;
}

.top-link {
  text-decoration: none;
  color: #444;
}

.top-link:hover {
  color: #c40000;
}

.social-icon {
  height: 18px;
  width: 18px;
  display: inline-block;
}

/* WhatsApp topo (ícone) */
.whatsapp-top {
  display: inline-flex;
  align-items: center;
}

/* Esquerda: menu principal em 1 linha no desktop */
.main-menu {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 25px;
  flex-wrap: nowrap; /* 1 linha no desktop */
  white-space: nowrap;
}

.main-link {
  text-decoration: none;
  color: #c40000;
  font-weight: bold;
  font-size: 14px;
}

.main-link:hover {
  color: #000;
}

/* Botão CENTRAL DO ASSINANTE */
.central-btn {
  background-color: #c40000;
  color: #fff !important;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: bold;
}

.central-btn:hover {
  background-color: #a00000;
  color: #fff !important;
}

.main-link.central-btn:visited {
  color: #fff !important;
}

/* =========================
   HERO / BANNER INICIAL
========================= */

.hero {
  padding: 20px 0 10px;
  text-align: center;
}

/* imagem de destaque */
.hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  margin: 0 auto;
}

#banner-link {
  display: inline-block;
  cursor: pointer;
}

/* =========================
   SEÇÃO PLANOS / CARROSSEL
========================= */

.planos-section {
  padding: 30px 20px 55px;
  text-align: center;
}

.section-title {
  font-size: 24px;
  margin-bottom: 20px;
  color: #910002;
}

.planos-carousel {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.planos-viewport {
  overflow: hidden;
  flex: 1;
}

.planos-track {
  display: flex;
  transition: transform 0.3s ease;
}

.plano-item {
  flex: 0 0 33.333%;
  padding: 10px;
}

.plano-item img {
  width: 100%;
  display: block;
  transform: scale(1.07);
  transform-origin: center;
}

/* Botão “Quero esse” abaixo de cada plano */
.plano-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 13px 25px;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  background-color: #a00000;
  border-radius: 20px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.plano-btn:hover {
  background-color: #a00000;
  transform: translateY(-1px);
}

/* Botões do carrossel */
.carousel-btn {
  background-color: #c40000;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background-color: #a00000;
}

/* =========================
   COBERTURA (MAPA)
========================= */

.cobertura-section {
  padding: 30px 20px 55px;
  text-align: center;
}

.cobertura-text {
  color: #a00000;
  margin-bottom: 14px;
}

/* layout em 2 colunas: texto + mapa */
.cobertura-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 24px;
  align-items: stretch;
}

/* coluna do texto */
.cobertura-descricao {
  flex: 1;
  padding: 10px 10px 0 10px;
  font-size: 20px;
  line-height: 1.6;
  color: #333;
  text-align: justify;
}

.cobertura-titulo {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 4px;
}

/* coluna do mapa */
.map-responsive {
  flex: 1;
  max-width: 100%;
  margin: 0;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
}

.map-responsive iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================
   TÍTULOS / TEXTOS GERAIS
========================= */

.page-title {
  padding: 40px 20px 10px;
  text-align: center;
}

.page-title h1 {
  font-size: 28px;
}

.about-content {
  max-width: 900px;
  margin: 0 auto 40px;
  padding: 0 20px;
  line-height: 1.6;
  font-size: 15px;
}

/* =========================
   PÁGINA SOBRE NÓS
========================= */

.sobrenos-hero {
    min-height: 320px;
    background-image: url(assets/sobrenos/bg2.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    /*background-color: #ffffff;*/
    border-radius: 50px; /* bordas arredondadas de 12px */
}

.sobrenos-hero-overlay {
    width: 100%;
    padding: 28px 20px;
    color: #fff;          /* pode mudar pra #000 se o texto sumir */
    background: none;     /* remove o degradê/f fa fa */
}

.sobrenos-hero-overlay h1 {
  font-size: 32px;
  margin-bottom: 8px;
}

.sobrenos-hero-overlay p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 16px;
}

.sobrenos-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 20px 60px; /* menos padding em cima para não colar na imagem */
}

.sobrenos-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 18px;
  line-height: 1.7;
  text-align: justify;
  color: #333;
}

.sobrenos-card p + p {
  margin-top: 14px;
}

.sobrenos-gallery {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.sobrenos-photo {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
  background: #fff;
}

.sobrenos-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* =========================
   RODAPÉ (DEGRADÊ WIT)
========================= */

.site-footer {
  margin-top: 30px;
  flex-shrink: 0;
  padding: 0;
  background: none;
  color: #ffffff;
  font-size: 12px;
}

/* bloco principal com degradê */
.footer-gradient {
  background: radial-gradient(circle at top, #ff4d4d 0%, #c40000 35%, #2b0000 100%);
  padding: 18px 20px 10px;
}

.footer-wit-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

/* esquerda: dados da empresa */
.footer-wit-left p {
  margin: 1px 0;
}

.footer-wit-brand {
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

/* centro: horários de suporte */
.footer-wit-center {
  flex: 1;
  text-align: center;
  font-size: 12px;
}

.footer-wit-center p {
  margin: 2px 0;
}

.footer-wit-center-title {
  font-size: 13px;
}

.footer-wit-center-space {
  margin-top: 8px;
}

/* direita: contatos */
.footer-wit-right {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.footer-wit-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-wit-icon {
  width: 18px;
  height: 18px;
}

.footer-bottom-wit {
  max-width: 1200px;
  margin: 10px auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 6px;
  text-align: center;
  font-size: 11px;
}

/* links de e-mail no rodapé */
.footer-wit-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
}

.footer-wit-link:hover {
  text-decoration: underline;
}

/* =========================
   RESPONSIVO
========================= */

@media (max-width: 900px) {
  .header-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .header-left,
  .header-right {
    justify-content: center;
  }

  .top-menu {
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 6px;
    white-space: normal;
  }

  .main-menu {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    white-space: normal;
  }

  .main-link {
    padding: 4px 0;
  }

  .central-btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  /* footer novo responsivo */
  .footer-wit-container {
    flex-direction: column;
    gap: 12px;
    text-align: left;
  }

  .footer-wit-center {
    text-align: left;
  }

  /* cobertura empilhada no mobile */
  .cobertura-layout {
    flex-direction: column;
  }

  .cobertura-descricao {
    padding: 0 10px 10px 10px;
  }

  /* Sobre nós */
  .sobrenos-gallery {
    grid-template-columns: 1fr;
  }

  .sobrenos-hero {
    min-height: 260px;
    margin-bottom: 24px; /* ainda mais separação no mobile */
  }

  .sobrenos-hero-overlay h1 {
    font-size: 26px;
  }

  .sobrenos-photo img {
    height: 220px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  /* Carrossel: 1 plano por vez */
  .plano-item {
    flex: 0 0 100%;
  }

  /* No mobile, reduz o scale para evitar cortes laterais */
  .plano-item img {
    transform: scale(1.03);
  }

  /* Mapa mais "alto" no celular */
  .map-responsive {
    aspect-ratio: 4 / 5;
  }
}
