@font-face {
    font-family: 'Devasia';
    src: url('fonts/subset-Devasia-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Devasia';
    src: url('fonts/subset-Devasia-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Devasia';
    src: url('fonts/subset-Devasia-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Devasia';
    src: url('fonts/subset-Devasia-Round.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Devasia';
    src: url('fonts/subset-Devasia-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}


html {
    font-size: 13px;
}

body {
    font-family: 'Times New Roman', Times, serif ;
    height: 100%;
    margin: 0;
    padding-top: 80px; /*compensando position fixed no lugar de sticky no header*/
}

.main-header {
    background: #1e293b;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Container do Logo */
.logo-link {
    display: flex;
    align-items: center; /* Centraliza o SVG com o texto verticalmente */
    gap: 15px;           /* Espaçamento entre o SVG e o texto */
    text-decoration: none;
}

/* Tamanho do SVG */
.logo-img {
    width: 60px;  /* Ajuste a largura ideal para o cabeçalho não ficar gigante */
    height: auto;
}

/* Estilo do Texto */
.logo-texto {
    font-family: 'Devasia', sans-serif;
    font-size: 2rem;     /* Tamanho proporcional para a barra */
    font-weight: bold;    /* Corrigido de font-size: 100 para font-weight: 100 */
    color: white;
    line-height: 1;      /* Remove folgas excessivas na linha */
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0px 20px;
}

.container h3 {
    text-align: center;
}


.flex-nav  {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 600;
}

.nav-links li {
  padding: 5px 10px;
  border: 2px solid transparent; /* reserva espaço */
  border-radius: 8px;
  transition: 0.2s;
}

.nav-links li:hover {
  border: 2px solid white;
  background-color: rgba(255,255,255,0.1);
}

main {
  background: linear-gradient(135deg, #3a475c, #1e293b);
}

/* --- HERO SECTION --- */
.hero-section {
  height: 80vh; /* ajuste aqui */
  min-height: 400px;
  max-height: 800px;
  position: relative;
  overflow: hidden; 
  display: flex;
}

.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%; /* 🔥 muda isso */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

/* overlay escuro elegante */
.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
}

/* conteúdo */
.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);

  /* Adicionado Flexbox em coluna */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0,5px; /* Ajuste aqui a distância geral (ex: 5px, 10px, 15px) */
}

/* Ajustes do Título */
.hero-content h1 {
  font-family: 'Devasia', sans-serif;
  font-size: 3rem;
  font-weight: 300; 
  color: white;
  margin: 0;        /* Remove margens padrão do H1 que afastam a imagem */
  line-height: 1.1; /* Zera folgas verticais excessivas da fonte */
}

/* Ajustes do Parágrafo */
.hero-content p {
  margin-top: 5px;  /* Controla a distância entre o H1 e o subtítulo */
}

.container2 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
    color: white;
}

/* --- FEATURES COM GRID LAYOUT --- */
.features-section h2 {
    text-align: justify;
}

.feature-card {
    background-color: whitesmoke;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 8px 10px rgba(0,0,0,0.05);
    text-align: center;
    color: black;
    transition: transform 0.3s;
    max-width: 250px;
    margin: 0 auto;
}

.feature-card a {
    text-decoration: none;
    color: black;
}

.feature-card:hover {
    transform: translateY(-10px);
    cursor: pointer;
}   

.social-links2 a {
    color: black;
    gap: 15px 20px;
    text-decoration: none;
}

.social-links2 :hover {
  border: 2px solid white;
  background-color: rgba(255,255,255,0.1);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.container3 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 290px 20px;
    color: white;
}

.container4 {
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 20px;
    color: white;
}

.feature-card2 {
    background-color: whitesmoke;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 10px rgba(0,0,0,0.05);
    text-align: justify;
    color: black;
}

/* --- SEÇÃO DE CONTATO (CORRIGIDA) --- */
#contato {
    padding: 30px 0;
    background: linear-gradient(
  135deg,
  #3a475c 0%,
  #273244 60%,
  #1e293b 100%
);
    text-align: center; 
}

#contato h2 {
    font-size: 2rem;
    color: white;
}

#contato ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

#contato li {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 5px;
    border-radius: 10px;
    width: 100%;
    max-width: 210px;
    border: 2px solid transparent;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}

#contato li a, #contato li a:active, #contato li a:visited {
    color: black;
    text-decoration: none;
}

#contato li:hover {
    border: 2px solid black;
    border-radius: 10px;
    width: 100%;
    text-decoration: none;  
    cursor: pointer;
    transform: scale(1.03);
}

/* SEÇÃO MAPA / LOCALIZAÇÃO */
.map-section {
  width: 100%;
  margin-top: 60px;
  line-height: 0; /* Remove espaço branco indesejado na base da imagem/iframe */
}

.map-section iframe {
  width: 100%;
  height: 350px;
  border: 0;
}

/* --- FOOTER COM FLEXBOX --- */
.main-footer {
    background: #1e293b;
    color: white;
    padding: 25px 0;
    
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 15px;
    gap: 20px;
}

.footer-content a {
    color: white;
    text-decoration: none;
}

.footer-content a:visited{
    color: white;
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    text-decoration: none;
}

/* BOTÃO WHATSAPP */

#whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 9999;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    animation: pulse 1.5s infinite;
}

.whatsapp-icon {
    width: 70%;
    height: 70%;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* --- RESPONSIVIDADE (MEDIA QUERIES) --- */
@media (max-width: 768px) {
    body { 
        padding-top: 120px; /* Aumentado para compensar o menu que agora tem duas linhas no mobile */
    }

    section { 
        padding: 50px 0; 
    }

    .flex-nav { 
        flex-direction: column; 
        gap: 12px; 
        text-align: center;
    }

    .nav-links {
        flex-wrap: wrap; /* Se a tela for muito pequena (ex: iPhone SE), os links quebram de linha com elegância, sem sumir */
        justify-content: center;
        gap: 8px;
    }

    .nav-links li {
        padding: 4px 8px; /* Reduz ligeiramente o espaçamento para caberem lado a lado */
    }

    .nav-links a {
        font-size: 0.85rem; /* Diminui sutilmente o tamanho do texto para telas menores */
    }

    .hero-content h1 { 
        font-size: 1.8rem; 
    }
    
    /* AJUSTE DO FOOTER */
    .footer-content { 
        display: flex;
        flex-direction: column; /* Força os elementos a ficarem um abaixo do outro */
        align-items: center;    /* Centraliza na horizontal */
        justify-content: center; 
        text-align: center; 
        gap: 12px;               /* Cria um espaço seguro entre cada texto */
        padding: 20px 15px;      /* Garante um respiro nas bordas da tela */
    }

    /* Se o copyright/créditos estiverem dentro de <p> ou <span> específicos */
    .footer-content p,
    .footer-content span {
        width: 100%;             /* Evita que estoure a largura */
        margin: 0;               /* Reseta margens que possam estar empurrando */
        font-size: 0.85rem;      /* Ajusta sutilmente a fonte para telas pequenas */
    }
}

/*
* {
  outline: 1px solid red;
}
  */