/* Reset básico modernizado */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #004080;
    --secondary-color: #2c3e50;
    --accent-color: #e67e22;
    --text-color: #333;
    --light-gray: #f8f9fa;
    --transition-speed: 0.3s;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: white;
}

/* Header redesenhado */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
	padding: 0; /* Remove padding extra */
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1250px;
    margin: 0 auto;
     padding: 0; /* Alinhamento correto */
}

#logo img {
    height: 70px; /* Tamanho adequado */
    margin: 5px 0; /* Espaçamento vertical */
}

#slogam {
    display: none; /* Remove elemento duplicado */
}

#slogam img {
    width: 150px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.nav-links {
    list-style: none;
    display: flex; /* deixa em linha */
    gap: 2rem; /* espaçamento entre os itens */
    padding: 0;
    margin: 0;
}

    .nav-links li a {
        position: relative;
        text-decoration: none;
        color: #003366;
        font-weight: 500;
        padding: 5px 0;
    }

        /* cria a barrinha escondida */
        .nav-links li a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            height: 2px;
            background: #007bff; /* cor do underline */
            transform: scaleX(0);
            transform-origin: right;
            transition: transform 0.3s ease;
        }

        /* só aparece quando passa o mouse */
        .nav-links li a:hover::after {
            transform: scaleX(1);
            transform-origin: left;
        }

.nav-links li {
    list-style: none;
	display: inline;
}

.nav-links a {
    color: var(--primary-color) !important; /* Garante contraste */
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all var(--transition-speed) ease;
}

.nav-links a:hover,
.nav-links a:focus {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

/* Seções melhoradas */
.section {
    padding: 4rem 2rem;
    text-align: center;
    background: var(--light-gray);
}

.section h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 0.5rem;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

.section p {
    font-size: 1.1rem;
    color: var(--secondary-color);
    max-width: 800px;
    margin: 1.5rem auto;
    line-height: 1.8;
}

/* Parallax atualizado */
.parallax {
    height: 60vh;
    min-height: 400px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax1 {
    background-image: url('../utils/fachada.WEBP');
}

.parallax2 {
    background-image: url('../utils/IMG_20230818_140106.WEBP');
}

.parallax3 {
    background-image: url('../utils/IMG_20230818_141248.WEBP');
}

/* Overlay para legibilidade */
.parallax::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 0;
}

.parallax h2 {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    padding: 0 1rem;
}


/* Rodapé profissional */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 3rem 2rem;
}

.footer-contact {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-contact h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-contact h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}

.footer-contact p {
    margin: 0.8rem 0;
    line-height: 1.6;
}

.footer-contact a {
    color: white;
    text-decoration: none;
    transition: color var(--transition-speed);
}

.footer-contact a:hover {
    color: var(--accent-color);
}

.footer-copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsividade aprimorada */
@media (max-width: 768px) {
    .nav-links {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.5rem;
    }

    .nav-links a {
        font-size: 0.85rem;
        padding: 0.5rem;
    }

    .section {
        padding: 3rem 1.5rem;
    }

    .section h2 {
        font-size: 1.8rem;
    }

    .parallax h2 {
        font-size: 1.8rem;
    }

    .footer {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    #slogam img {
        width: 140px;
    }

    .nav-links {
        gap: 0.25rem;
    }

    .nav-links a {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        padding: 1rem;
    }
    
    #logo img {
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
    }
}

.carrossel {
      position: relative;
      overflow: hidden;
      max-width: 800px;
      margin: 0 auto;
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    }

    .carrossel-container {
      display: flex;
      transition: transform 0.5s ease-in-out;
      width: 100%;
    }

    .slide {
      min-width: 100%;
      transition: opacity 0.5s ease-in-out;
    }

    .slide img {
      width: 100%;
      height: auto;
      display: block;
    }

    .dots {
      text-align: center;
      margin: 15px 0;
    }

    .dot {
      display: inline-block;
      height: 12px;
      width: 12px;
      margin: 0 5px;
      background-color: #bbb;
      border-radius: 50%;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    .dot.active {
      background-color: #333;
    }

.btn-gradient {
    padding: 14px 30px;
    border-radius: 25px;
    background: linear-gradient(45deg, #6a11cb, #2575fc);
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
  }
  .btn-gradient:hover {
    transform: scale(1.08);
    box-shadow: 0px 8px 20px rgba(0,0,0,0.4);
  }

.mapa {
    border-radius: 10px;
    text-align: center;
    width: 500px;
    height: 200px;
    border: 0;
    border-radius: 10px;
    max-width: 100%;
}

.section a {
    position: relative;
    color: #004aad; /* Azul que combina com o site */
    font-weight: 600;
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.section a {
    color: #004aad;
    text-decoration: none;
    transition: color var(--transition-speed);
}

    .section a:hover {
        color: var(--accent-color);
    }


.parallax-video {
    position: relative;
    /* margin: 0 auto; */
    width: 100%;
    height: 80vh; /* altura cheia da tela */
    overflow: hidden;
}

    .parallax-video video {
        width: 100%;
        height: 100%;
        object-fit: cover; /* cobre como se fosse background-image */
        display: block;
        pointer-events: none; /* evita que o usuário clique no vídeo */
        
    }

    .effect, effect_delay{
        visibility: hidden;
    }

   
