/* Home */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f8f9fa;
    color: #484848;
}

header .navbar-nav .nav-link {
    color: #484848 !important;  
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 1.3rem; /* Aumenta o tamanho */
    font-weight: 600;  /* Mais legível */
}

header {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1020; /* maior que o carousel */
    background-color: #fff; /* precisa ter fundo */
}

.logo span {
    color: #800000;
}

section {
  scroll-margin-top: 110px; /* valor padrão */
}

@media (max-width: 912px) {
  section {
    scroll-margin-top: 200px; /* aumenta margem em mobile */
  }
}

@media (max-width: 480px) {
  section {
    scroll-margin-top: 200px; /* ainda mais espaço para smartphones */
  }
}


.navbar-nav .nav-link.active {
    color: #fff !important;
    background-color: #c81a1a;
}

.navbar-nav .nav-link:hover {
    color: #fff !important;
    background-color: #d43c3c;
}

header .navbar-nav .nav-link {
    color: #484848 !important;  /* cor padrão */
    text-align: center;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}

header .navbar {
    padding-top: 0.05rem;  /* diminui a borda superior */
    padding-bottom: 0.05rem; /* diminui a borda inferior */
}

header .navbar .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

header .navbar-brand img {
    height: 100px; /* ajuste máximo */
    max-height: 100px;
}

.logo {
    font-weight: bold;
    color: #800000;
    font-size: 1.8rem;
}

/* Padrão: desktops grandes */
.hero-overlay {
  position: relative;
  width: 100%;
  height: 100vh;        /* ocupa a tela toda */
  max-height: 610px;    /* limite */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-overlay img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-overlay .text-center {
  position: relative;
  z-index: 2;
}

/* Títulos e Subtítulos Hero - estilos base */
.hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  line-height: 1.1;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.2s;
  animation-play-state: paused;
}

.hero-subtitle {
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  max-width: 800px;
  padding: 0 1rem;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.6s;
  animation-play-state: paused;
}

/* Indicadores */
.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex !important;
  justify-content: center;
  margin: 0 auto;
  z-index: 10;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #fff;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  margin: 0 5px;
}

.carousel-indicators .active {
  opacity: 1;
  background-color: #fff; 
}

.carousel-item {
  transition: transform 1s ease-in-out, opacity 1s ease-in-out !important;
}

/* Responsividade - alturas e fontes */
@media (max-width: 1200px) {
  .hero-overlay {
    height: 75vh !important;
    max-height: none !important;
  }
  .hero-title {
    font-size: 2.8rem !important;
  }
  .hero-subtitle {
    font-size: 1.6rem !important;
  }
}

@media (max-width: 992px) {
  .hero-overlay {
    height: 65vh !important;
  }
  .hero-title {
    font-size: 2.5rem !important;
  }
  .hero-subtitle {
    font-size: 1.4rem !important;
  }
}

@media (max-width: 768px) {
  .hero-overlay {
    height: 55vh !important;
    max-height: none !important;
  }
  .hero-title {
    font-size: 2.3rem !important;
  }
  .hero-subtitle {
    font-size: 1.2rem !important;
    padding: 0 1rem !important;
  }
}

@media (max-width: 480px) {
  .hero-overlay {
    height: 45vh !important;
    max-height: none !important;
  }
  .hero-title {
    font-size: 2rem !important;
  }
  .hero-subtitle {
    font-size: 1rem !important;
    padding: 0 0.75rem !important;
  }
}

/* Animação fadeInUp */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Para ativar as animações, adicionar a classe 'animate' no body */
body.animate .hero-title,
body.animate .hero-subtitle {
  animation-play-state: running;
}

/* Imagem no "Sobre" */
#sobre img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    max-height: 400px;
}

.sobre-img {
    width: 100%;
    overflow: hidden;
    display: block;
    height: 100%;
}

.sobre-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 1rem;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.show {
    opacity: 1;
    transform: translateY(0);
}

/* Sobrescreve font-size dos parágrafos com style inline */
p[style] {
  font-size: 1.15rem !important;
  line-height: 1.8 !important;
  color: #444 !important;
}

/* Responsividade */
/* Até 768px */
@media (max-width: 768px) {
  p[style] {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }
}

/* Até 480px */
@media (max-width: 480px) {
  p[style] {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
  }
}


/* Estilos padrão para h1 com style inline */
h1[style] {
  font-size: 3rem !important;
  font-weight: 700 !important;
  color: inherit !important;
}

/* Responsividade para h1 */
@media (max-width: 768px) {
  h1[style] {
    font-size: 2.3rem !important;
  }
}


@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem !important;
  }
}


h2[style] {
  font-size: 1.8rem !important;
  font-weight: 600 !important;
}

@media (max-width: 768px) {
  h2[style] {
    font-size: 1.4rem !important;
  }
}

@media (max-width: 480px) {
  h2[style] {
    font-size: 1.2rem !important;
  }
}

h3[style] {
  font-size: 1.8rem !important;
  font-weight: 600 !important;
}

@media (max-width: 768px) {
  h3[style] {
    font-size: 1.4rem !important;
  }
}

@media (max-width: 480px) {
  h3[style] {
    font-size: 1.2rem !important;
  }
}



h4[style] {
  font-weight: 600 !important;
}


h5[style] {
  font-weight: 600 !important;
}

/* Contato */
#contato .btn-dark {
    background-color: #b8a888;
    border-color: #b8a888;
    color: #fff;
}

#contato .btn-dark:hover {
    background-color: #a19275;
    border-color: #a19275;
}

#contato .btn-outline-success {
    color: #800000;
    border-color: #800000;
}

#contato .btn-outline-success:hover {
    background-color: #800000;
    color: #fff;
}

#contato .text-dark i {
    transition: color 0.3s;
    color: #6c757d;
}

#contato .text-dark i:hover {
    color: #800000;
}

.choices__item--selectable.is-highlighted {
    background-color: #c81a1a !important;
    color: #fff !important;
    opacity: 1;
}

a.text-dark {
    color: #6c757d !important;
}

a.text-dark:hover {
    color: #800000 !important;
}

#contato .form-control:focus,
#contato .form-select:focus {
    border-color: #800000;
    box-shadow: 0 0 0 0.2rem rgba(184, 168, 136, 0.25);
}

@media (max-width: 1024px) {
    #carouselGaleria .carousel-item img.uniform-img {
        max-height: 410px;
        width: 100%;
        object-fit: cover;
    }
}

.btn-outline-success {
    color: #800000;
    border-color: #800000;
}

.btn-outline-success:hover {
    background-color: #800000;
    color: #fff;
    border-color: #800000;
}

.text-maroon {
    color: #800000;
}

#servicos .border > div:first-child {
    color: #800000;
}

.servico-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servico-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-diferencial {
    border-radius: 12px !important;
    background-color: #fff !important;
    transition: transform 1.7s ease-in-out, box-shadow 1.7s ease-in-out !important;
}


.card-diferencial:hover {
    transform: scale(1.07) !important;
}

.servico-card {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.servico-card:hover {
    transform: scale(1.07);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.servico-card i {
    font-size: 2rem;
    color: #c81a1a;
}

.servico-card h5 {
    color: #c81a1a;
    font-weight: 600;
}

.servico-card p {
    font-size: 0.95rem;
    color: #333;
}

.servico-icone {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

/* Contato */
.form-label {
    font-weight: 600;
    color: #c81a1a;
}

.form-select:focus {
    border-color: #c81a1a;
    box-shadow: 0 0 0 0.2rem rgba(128, 0, 0, 0.25);
}

.form-select {
    border: 2px solid;
    color: #343a40;
}

.form-select option:disabled {
    color: #999;
}
/* aplica a todos os inputs e textareas */
input::placeholder,
textarea::placeholder {
  color: #aaa !important;   
  opacity: 1;
}

/* Cliente */
.logo-wrapper {
    width: 100%;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding: 10px;
}

.cliente-logo {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.cliente-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cliente-box:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.imagem-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.imagem-container img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.whatsapp-float {
    position: fixed !important;
    bottom: 50px !important;
    right: 20px !important;
    z-index: 1000 !important;
    background-color: #25D366 !important; /* verde WhatsApp */
    border-radius: 50% !important;
    width: 60px !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #1ebe57 !important; /* verde mais escuro no hover */
}

.whatsapp-icon {
    width: 32px !important;
    height: 32px !important;
    user-select: none !important;
    pointer-events: none !important;
}

/* Responsividade WhatsApp */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px !important;
        height: 50px !important;
        bottom: 40px !important;
    }
    .whatsapp-icon {
        width: 26px !important;
        height: 26px !important;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 45px !important;
        height: 45px !important;
        bottom: 30px !important;
    }
    .whatsapp-icon {
        width: 22px !important;
        height: 22px !important;
    }
}
