/* Reset básico */
* {
  margin: 0; padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%; /* 16px */
  scroll-behavior: smooth;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}

/* Container centralizador */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ====== Header ====== */
.site-header {
  background: #000;
  color: #fff;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  overflow: visible;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.site-header .logo img {
  height: 50px;
  width: auto;
  transform: scale(1.9);
  transform-origin: left center;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.main-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}
.btn-menu {
  display: none; /* ativar em mobile via media query */
}

/* ====== Hero ====== */
.hero {
  height: 100vh;
  background: url('images/fachada.png') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}
.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}
.hero-content {
  position: relative;
  color: #fff;
  text-align: center;
}
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}
.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #25D366;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
}

.btn-planos {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #ffcc00;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
}

/* Ajusta o card de planos para uma largura menor */
.plano-card {
  max-width: 300px;    /* largura máxima do card, mude pra o valor que quiser */
  margin: 0 auto;      /* se quiser centralizar */
}

/* Faz a imagem caber inteira dentro do card */
.plano-card img {
  width: 100%;         /* ocupa 100% do .plano-card */
  height: auto;        /* mantém proporção natural */
  object-fit: contain; /* sem cortar nada */
}

/* ====== Seção Serviços ====== */
.servicos {
  padding: 4rem 0;
  text-align: center;
}
.servicos h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
/* força todas as imagens de serviço a terem a mesma altura */
.servico-card img {
  width: 100%;              /* preenche sempre a largura da coluna */
  height: 370px;            /* altura fixa igual para todas */
  object-fit: contain;      /* mostra a imagem inteira, sem cortes */
}
.servico-card h3 {
  margin: 1rem 0 0.5rem;
}
.servico-card p {
  font-size: 0.95rem;
}

/* ====== Seções Sobre e Contato ====== */
.sobre, .contato {
  padding: 4rem 0;
}
.sobre h2, .contato h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.contato form {
  display: grid;
  gap: 1rem;
  max-width: 500px;
  margin-bottom: 2rem;
}
.contato input,
.contato textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.contato .info-contato p {
  margin-bottom: 0.5rem;
}

/* ====== Footer ====== */
.site-footer {
  background: #222;
  color: #aaa;
  text-align: center;
  padding: 1rem 0;
}

/* ====== Responsividade ====== */
@media (max-width: 768px) {
  .btn-menu { display: none; }
  .main-nav { display: none; /* implementar menu móvel via JS */ }
}

/* ====== Footer personalizado ====== */
.site-footer {
  background: #000;
  color: #fff;
  border-top: 4px solid #d4a017;
  margin-top: 4rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 2rem 0;
}

.footer-logo img {
  height: 60px;
}

.footer-info {
  display: flex;
  gap: 4rem;
}

.footer-location h3,
.footer-contact h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.footer-location p,
.footer-contact p {
  margin: 0.25rem 0;
  font-size: 0.95rem;
}

.footer-contact a {
  color: #fff;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.social-icons {
  margin-top: 0.5rem;
}

.social-icons a {
  font-size: 1.5rem;
  margin-right: 1rem;
  color: #fff;
}

.social-icons a:hover {
  opacity: 0.8;
}

.footer-map {
  max-width: 1000px;    /* largura máxima do mapa */
  margin: 0 auto;      /* centraliza dentro da página */
}

.footer-map iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-top: 1px solid #333;
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-info {
    flex-direction: column;
    gap: 2rem;
    margin-top: 1.5rem;
  }
}

/* permite que o logo do footer ultrapasse o container, sem aumentar a tarja preta */
.site-footer .footer-logo {
  overflow: visible;
}

/* escala a logo do footer sem mexer na altura do footer */
.site-footer .footer-logo img {
  transform: scale(1.9);           /* aumenta para 130%: ajuste o número como preferir */
  transform-origin: left center;   /* ancora o crescimento no canto esquerdo, verticalmente centralizado */
}
