body {
  font-family: 'Poppins', sans-serif;
}

h1, h2, h3 {
  font-weight: 600;
}

.menu a {
  font-weight: 500;
}

.card h4 {
  font-weight: 600;
}

.card p {
  font-weight: 400;
}

/* =======================================================
   RESET BÁSICO (ESSENCIAL PARA O BANNER)
   ======================================================= */
body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Evita barra de rolagem horizontal */
}

/* =======================================================
   BANNER DE PONTA A PONTA (FULL WIDTH)
   ======================================================= */
.hero-installations-full {
    position: relative;
    width: 100vw; /* Força largura total da janela */
    height: 400px; /* Altura do banner */

    /* Centraliza e estica ignorando as margens do site */
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;

    overflow: hidden;
}

.hero-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Imagem cobre tudo sem distorcer */
    object-position: center;
    display: block;
}

/* =======================================================
   TEXTO SOBRE O BANNER
   ======================================================= */
.hero-overlay-full {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente para leitura do texto branco */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    display: flex;
    align-items: center;

    /* Alinha o texto visualmente com o container do site */
    padding-left: max(20px, calc(50vw - 600px));
}

.hero-text-content {
    color: white;
    max-width: 600px;
    padding: 0 20px;
}

.hero-text-content h1 {
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
    line-height: 1.1;
    letter-spacing: 2px;
}

.hero-text-content p {
    font-size: 1.2rem;
    margin-top: 10px;
    opacity: 0.9;
}

/* =======================================================
   CONTEÚDO PRINCIPAL (FARMÁCIA / PET SHOP)
   ======================================================= */
.installations-container {
    max-width: 1200px;
    margin: 0 auto; /* Centraliza o conteúdo na tela */
    padding: 40px 20px;
}

.niche-section {
    padding: 20px 0;
}

.niche-content {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Duas colunas iguais */
    gap: 30px;
}

.niche-box {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    border-bottom: 4px solid #2E8BC6;
    transition: 0.3s;
    cursor: default;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.niche-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.niche-box i {
    font-size: 3rem;
    color: #2E8BC6;
    margin-bottom: 20px;
}

.niche-box h2 {
    margin-bottom: 15px;
    color: #333;
}

/* =======================================================
   SEÇÃO DE ORÇAMENTO (BOTÃO WHATSAPP)
   ======================================================= */
.cta-installations {
    background: #e9ecef;
    padding: 60px 20px;
    border-radius: 12px;
    margin-top: 40px;

    /* FLEXBOX PARA CENTRALIZAR O BOTÃO */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza horizontalmente */
    text-align: center;
}


.cta-installations h2 {
    color: #333;
    margin-bottom: 10px;
}

.cta-installations p {
    color: #555;
    margin-bottom: 10px;
}

/* Estilo do Botão Verde */
.btn-whatsapp-large {
    display: inline-block;
    background-color: #25D366;
    color: white !important;
    text-decoration: none;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s ease, background-color 0.2s;
}

.btn-whatsapp-large:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
}

/* Alinhamento do Ícone com o Texto (dentro do botão) */
.cta-installations_text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Espaço entre ícone e texto */
}

.cta-installations_text img {
    width: 24px;
    height: auto;
    /* Se o ícone for preto, isso o deixa branco. Se já for branco, pode remover. */
    filter: brightness(0) invert(1);
}

/* =======================================================
   RESPONSIVIDADE (CELULAR)
   ======================================================= */
@media (max-width: 768px) {
    .hero-installations-full { height: 300px; }
    .hero-text-content h1 { font-size: 2rem; }
    .hero-overlay-full {
        padding-left: 0;
        justify-content: center;
        text-align: center;
    }
    .niche-content { grid-template-columns: 1fr; }
}
/* ==========================================================================
   FASE 2 — REFINO VISUAL CONSERVADOR (INSTALAÇÕES)
   ========================================================================== */
:root {
  --p2-bg: #ffffff;
  --p2-soft: #f7f8fa;
  --p2-text: #243042;
  --p2-muted: #5f6b7a;
  --p2-orange: #F7941D;
  --p2-orange-dark: #F9A63A;
  --p2-line: #e7ebf0;
  --p2-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
}

.installations-container {
  padding: 54px 20px;
}

.hero-overlay-full {
  background: linear-gradient(to right, rgba(10, 16, 30, 0.76) 0%, rgba(10, 16, 30, 0.22) 70%, transparent 100%);
}

.hero-text-content h1 {
  font-size: clamp(1.9rem, 4.3vw, 3rem);
}

.hero-text-content p {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.niche-box {
  background: var(--p2-bg);
  border: 1px solid var(--p2-line);
  border-bottom: 4px solid var(--p2-orange);
  border-radius: 14px;
  box-shadow: var(--p2-shadow);
}

.niche-box i {
  color: var(--p2-orange);
}

.niche-box h2 {
  color: var(--p2-text);
}

.niche-box-full {
  grid-column: 1 / -1;
}

.niche-box p {
  color: var(--p2-muted);
  line-height: 1.7;
}

.cta-installations {
  background: var(--p2-soft);
  border: 1px solid var(--p2-line);
}

.cta-installations h2 {
  color: var(--p2-orange);
}

.cta-installations p {
  color: var(--p2-muted);
}

.btn-whatsapp-large {
  border: 2px solid #ffffff;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.28);
}

.whatsapp-float {
  width: 60px;
  height: 60px;
  font-size: 30px;
  border: 3px solid #fff;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
}

@media (max-width: 992px) {
  .niche-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-installations-full {
    height: 320px;
  }

  .hero-overlay-full {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero-text-content {
    max-width: 100%;
    padding: 0 10px;
  }

  .installations-container {
    padding: 36px 16px;
  }

  .niche-box {
    padding: 28px 20px;
  }

  .cta-installations {
    padding: 42px 16px;
  }

  .btn-whatsapp-large {
    width: 100%;
    max-width: 360px;
    padding: 12px 16px;
    font-size: 1rem;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    font-size: 27px;
    right: 14px;
    bottom: 14px;
  }
}

/* ==========================================================================
   FASE 2 — AJUSTE FINAL CONSERVADOR
   ========================================================================== */
.installations-container {
  max-width: 1160px;
}

.niche-box {
  min-height: 260px;
}

.cta-installations {
  margin-top: 28px;
}

@media (max-width: 768px) {
  .hero-text-content h1 {
    letter-spacing: 1px;
  }

  .niche-box {
    min-height: auto;
  }
}

/* ==========================================================================
   FASE 3 — POLIMENTO VISUAL FINAL
   ========================================================================== */
.hero-text-content {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.niche-content {
  align-items: stretch;
}

.niche-box h2 {
  min-height: 38px;
}

.cta-installations {
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
}

@media (max-width: 768px) {
  .niche-box h2 {
    min-height: 0;
  }

  .cta-installations_text {
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   CARROSSEL AUTOMÁTICO DE OBRAS FINALIZADAS
   ========================================================================== */
.projects-carousel-section {
  margin-top: 44px;
}

.projects-carousel-header {
  text-align: center;
  margin-bottom: 18px;
}

.projects-carousel-header h2 {
  color: var(--p2-orange);
  margin-bottom: 6px;
}

.projects-carousel-header p {
  margin: 0;
  color: var(--p2-muted);
}

.projects-carousel {
  border: 1px solid var(--p2-line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--p2-shadow);
  cursor: pointer;
}


.projects-carousel {
  scrollbar-width: none;
}

.projects-carousel::-webkit-scrollbar {
  display: none;
}

.projects-track {
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  padding: 14px;
}

.project-card {
  flex: 0 0 clamp(220px, 28vw, 360px);
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 16px rgba(17, 24, 39, 0.14);
  transition: transform 0.25s ease;
  cursor: zoom-in;
  background: #000;
}

.project-card:hover {
  transform: translateY(-4px);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.projects-carousel-empty {
  margin: 12px 0 0;
  text-align: center;
  color: var(--p2-muted);
  font-size: 0.98rem;
}

.projects-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7, 12, 22, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 2500;
}

.projects-lightbox.is-open {
  display: flex;
}

.projects-lightbox img {
  width: min(100%, 1080px);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 10px;
}

.projects-lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: #111;
  font-size: 1.7rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .projects-carousel-section {
    margin-top: 32px;
  }

  .projects-track {
    gap: 10px;
    padding: 10px;
  }

  .project-card {
    flex-basis: 68vw;
  }
}

.niche-box-link {
  text-decoration: none;
  color: inherit;
}

.niche-box-link:hover {
  text-decoration: none;
}
