/* --- ARQUIVO STYLE.CSS COMPLETO E CORRIGIDO --- */

/* 1. VARIÁVEIS DE COR E CONFIGURAÇÕES GERAIS */
:root {
    --azul-escuro: #102A43;
    /* Cor principal da logo */
    --amarelo-dourado: #F7B500;
    /* Cor de destaque da logo */
    --verde-trevo: #008751;
    /* Cor de detalhe da logo */
    --cinza-fundo: #F0F2F5;
    /* Fundo suave */
    --branco: #FFFFFF;
    --preto: #111111;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--cinza-fundo);
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 2. CABEÇALHO E NAVEGAÇÃO */
.header {
    background-color: var(--branco);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 80px;
    width: auto;
}

/* --- AJUSTES NOS ÍCONES SOCIAIS --- */
.navegacao-principal {
    display: flex;
    align-items: center;
    gap: 25px;
}

.navegacao-principal a {
    color: var(--azul-escuro);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-block;
    margin-left: 0;
}

.navegacao-principal a:hover {
    color: var(--amarelo-dourado);
}

.link-social {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.link-social:hover {
    transform: scale(1.1);
}

.link-social:first-of-type {
    margin-left: auto;
}

/* --- FIM DOS AJUSTES --- */


/* 3. SEÇÃO PRINCIPAL (HERO) */
#hero {
    background-color: var(--azul-escuro);
    color: var(--branco);
    text-align: center;
    padding: 80px 20px;
}

#hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

#hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* 4. BOTÕES */
.btn {
    display: inline-block;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-principal {
    background-color: var(--amarelo-dourado);
    color: var(--preto);
}

.btn-principal:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--branco);
    margin: 10px;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-whatsapp i {
    margin-right: 8px;
}


/* 5. SEÇÕES DE CONTEÚDO */
section {
    padding: 60px 0;
}

section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--azul-escuro);
    margin-bottom: 50px;
}

#servicos {
    background-color: var(--branco);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.servico-item {
    text-align: center;
    padding: 20px;
}

.servico-item i {
    font-size: 3rem;
    color: var(--amarelo-dourado);
    margin-bottom: 15px;
}

.servico-item h3 {
    font-size: 1.2rem;
    color: var(--azul-escuro);
    margin-bottom: 10px;
}

#contato {
    background-color: var(--azul-escuro);
    color: var(--branco);
    text-align: center;
}

#contato h2 {
    color: var(--branco);
}

#contato p {
    margin-bottom: 30px;
}

.mapa-container {
    border: 5px solid var(--branco);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

address {
    font-style: normal;
    font-size: 1.1rem;
}

/* 6. RODAPÉ */
.footer {
    background-color: #0d1f33;
    color: var(--branco);
    padding: 20px 0;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.redes-sociais a {
    color: var(--branco);
    font-size: 1.5rem;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.redes-sociais a:hover {
    color: var(--amarelo-dourado);
}

/* --- CORRIGIDO: Bloco Único de Responsividade --- */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    /* Reduz o tamanho da logo apenas em telas menores */
    .logo {
        height: 55px;
    }

    /* Reduz o espaçamento do menu em telas menores */
    .navegacao-principal {
        gap: 15px;
    }

    .navegacao-principal a {
        font-size: 0.9rem;
    }

    .link-social {
        font-size: 1.3rem;
    }

    /* Empilha os itens do rodapé verticalmente */
    .footer .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

.whatsapp-flutuante {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: #fff;
    font-size: 2rem;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: transform 0.3s ease;
}

.whatsapp-flutuante:hover {
    transform: scale(1.1);
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

form label {
    font-weight: 600;
    color: var(--azul-escuro);
}

form input,
form select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
}

.transicao-suave {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--azul-escuro);
    color: var(--branco);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    z-index: 9999;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.transicao-suave {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--azul-escuro);
    color: var(--branco);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 600;
    z-index: 9999;
    animation: fadeIn 0.5s ease-in-out;
}

.transicao-suave i {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: pulse 1.2s infinite;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media screen and (max-width: 480px) {
    .navegacao-principal {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 10px;
        text-align: center;
    }

    .navegacao-principal a {
        font-size: 0.9rem;
        padding: 6px 10px;
        white-space: nowrap;
    }

    .link-social i {
        font-size: 1.2rem;
        margin: 0 5px;
    }

    .logo {
        max-width: 180px;
        height: auto;
        margin: 0 auto;
        display: block;
    }

    .header .container {
        flex-direction: column;
        align-items: center;
    }
}

.navegacao-principal {
    top: 60px;
    /* aumenta a distância do topo */
    right: 15px;
}

.navegacao-principal {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 280px;
    height: 100%;
    background-color: #fff;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: right 0.3s ease-in-out;
    z-index: 999;
}

.navegacao-principal.show {
    right: 0;
}

.navegacao-principal {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 280px;
    height: 100%;
    background-color: #fff;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.3s ease-in-out;
    z-index: 999;
}

.navegacao-principal a {
    font-size: 1rem;
    padding: 10px;
    text-decoration: none;
    color: var(--azul-escuro);
    border-bottom: 1px solid #eee;
    width: 100%;
    text-align: center;
}

.menu-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.menu-social i {
    font-size: 1.5rem;
    color: var(--azul-escuro);
}
.topo-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 20px;
}

.navegacao-principal {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.navegacao-principal a {
  font-weight: 600;
  color: var(--azul-escuro);
  text-decoration: none;
  font-size: 1rem;
}

.menu-social {
  display: flex;
  gap: 10px;
}

.menu-social i {
  font-size: 1.3rem;
  color: var(--azul-escuro);
}

/* Responsivo */
@media screen and (max-width: 600px) {
  .topo-flex {
    flex-direction: column;
    align-items: center;
  }

  .navegacao-principal {
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
  }

  .navegacao-principal a {
    font-size: 0.95rem;
  }

  .menu-social {
    margin-top: 10px;
  }
}
.header {
  position: sticky;
  top: 0;
  background-color: #fff;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.header {
  border-bottom: 1px solid #e0e0e0;
}
.header.ativo {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.3s ease-in-out;
}
.navegacao-principal a {
  opacity: 0;
  transform: translateY(-10px);
  animation: fadeInMenu 0.6s ease forwards;
  animation-delay: 0.3s;
}

@keyframes fadeInMenu {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.menu-social i {
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.menu-social i:hover {
  color: #0077cc;
  text-shadow: 0 0 6px rgba(0, 119, 204, 0.6);
}
.header.ativo {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.3s ease-in-out;
}
.btn-principal {
  background-color: #f4c300;
  color: #000;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-principal:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}
.servico-item,
.servico-detalhe-item {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInCard 0.6s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

.servico-item:hover,
.servico-detalhe-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

@keyframes fadeInCard {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.servico-item i,
.servico-detalhe-item i {
  font-size: 2rem;
  color: var(--azul-escuro);
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.servico-item:hover i,
.servico-detalhe-item:hover i {
  transform: scale(1.2);
}
.servico-item,
.servico-detalhe-item {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInCard 0.6s ease forwards;
}

.servico-item:nth-child(1) {
  animation-delay: 0.2s;
}
.servico-item:nth-child(2) {
  animation-delay: 0.4s;
}
.servico-item:nth-child(3) {
  animation-delay: 0.6s;
}
/* Adicione mais se tiver mais cards */

@keyframes fadeInCard {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.titulo-brilhante {
  position: relative;
  display: inline-block;
  color: var(--azul-escuro);
  font-weight: 700;
  overflow: hidden;
}

.titulo-brilhante::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.6), transparent);
  animation: brilho 2s infinite;
}

@keyframes brilho {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}
.titulo-brilhante {
  position: relative;
  display: inline-block;
  color: var(--azul-escuro);
  font-weight: 700;
  overflow: hidden;
}

.titulo-brilhante::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.6), transparent);
  animation: brilho 2s infinite;
}

@keyframes brilho {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}