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

body {
    font-family: 'Questrial', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Importação das fontes locais */
@font-face {
    font-family: 'Questrial'; /* Removida aspa extra */
    src: url('../fonts/Questrial-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header e Navegação */
header {
    background-color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000; /* Header acima de outros conteúdos */
    width: 100%;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.logo a {
    text-decoration: none;
    color: #004A70;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    font-size: 1.8em;
}

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

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 1em;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #007BA7;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.hamburger {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Carrossel Hero Section */
.hero-section-carousel {
    position: relative;
    width: 100%;
    min-height: 75vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}


.slides-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex; 
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    z-index: 0;
    pointer-events: none;
  }
  

.slide.active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
}

  
.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.slides-container {
    position: relative;
    width: 100%;
    height: 75vh; /* ou o mesmo valor da altura dos slides */
    overflow: hidden;
  }
  

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    z-index: 3; /* Conteúdo do slide na frente da imagem do slide */
    padding: 20px;
    max-width: 800px;
}

.slide-content h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: bold;
}

.slide-content p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2em;
    margin-bottom: 30px;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    padding: 15px 10px;
    cursor: pointer;
    z-index: 4; /* Controles na frente de tudo no carrossel */
    font-size: 1.5em;
    transition: background-color 0.3s ease;
}

.carousel-control:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.carousel-control.prev {
    left: 15px;
}

.carousel-control.next {
    right: 15px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 4; /* Dots na frente de tudo no carrossel */
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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


.cta-button, .cta-button-whatsapp {
    display: inline-block;
    background-color: #00A859; 
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.cta-button-whatsapp {
margin-top: 1%;
}

.cta-button:hover, .cta-button-whatsapp:hover {
    background-color: #008F4A;
}

.cta-button-whatsapp img {
    width: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Garante que as seções seguintes não fiquem sob o banner */
main > section:not(#banner-hero) {
    position: relative; /* Para garantir o fluxo normal e empilhamento */
    z-index: 0; /* Abaixo do banner e header */
}

.section-padding {
    padding: 60px 0;
}

.section-padding h2 {
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 2.2em;
    color: #004A70; 
    margin-bottom: 40px;
    font-weight: bold;
}

.bg-light {
    background-color: #f9f9f9;
}

.bg-dark-accent {
    background-color: #004A70; 
    color: #fff;
}

.bg-dark-accent h2, .bg-dark-accent p {
    color: #fff;
}

.bg-dark-accent a {
    color: #fff; 
}

.sobre-flex-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.sobre-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.sobre-texto p {
    margin-bottom: 15px;
    font-family: 'Open Sans', sans-serif;
    color: #555;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.grid-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    text-align: center;
}

.grid-item h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5em;
    color: #007BA7; 
    margin-bottom: 10px;
}

.grid-item p {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95em;
    color: #555;
}

.membro-equipe img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

#tecnicas p {
    font-family: 'Open Sans', sans-serif;
    color: #555;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 15px auto;
}

/* Tecnicas */
.tecnicas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
  }
  
  .card.tecnica {
    background-color: #c6dbf7;
    color: #0d2b55;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.15);
    font-family: 'Open Sans', sans-serif;
    text-align: left;
    position: relative;
  }
  
  .card.tecnica h3 {
    font-family: 'Roboto', sans-serif;
    color: #0b2e63;
    margin-bottom: 10px;
    text-align: center;
  }
  
  .card.tecnica.destaque {
    background-color: #fbe26a;
    color: #2d2d2d;
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.15);
    text-align: center;
  }
  
  .card.tecnica.destaque h3 {
    color: #1c1c1c;
  }
  
  .equipe-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 colunas fixas */
    gap: 30px;
    justify-content: center;
  }
  
/* Depoimentos em Blocos */
.depoimentos-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px;
    justify-content: center; 
}

.depoimento-bloco {
    background-color: #007BA7; 
    color: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center; 
    position: relative; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.depoimento-bloco .aspas {
    font-family: 'Times New Roman', Times, serif; 
    font-size: 4em; 
    color: rgba(255, 255, 255, 0.5); 
    position: absolute;
    top: 10px;
    left: 15px;
    line-height: 1;
}

.depoimento-bloco p {
    font-family: 'Open Sans', sans-serif;
    font-style: italic;
    margin-bottom: 20px;
    color: #f0f0f0;
    font-size: 1em;
    padding-top: 30px; 
}

.depoimento-bloco h4 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    color: #fff;
    font-size: 1.1em;
    margin-top: 10px;
}

.text-center {
    text-align: center;
}

.contato-info {
    margin-top: 30px;
}

.contato-info p {
    margin-bottom: 10px;
    font-family: 'Open Sans', sans-serif;
}

footer {
    background-color: #333;
    color: #ccc;
    padding: 30px 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9em;
}

footer p {
    margin-bottom: 5px;
}


@media (max-width: 992px) { 
    .depoimentos-grid-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px; 
        left: 0;
        background-color: #fff;
        border-top: 1px solid #eee;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid #eee;
    }

    .menu-toggle {
        display: block;
    }

    .hero-section-carousel {
        height: 60vh; /* Altura reduzida para mobile */
    }

    .slide-content h1 {
        font-size: 2em;
    }

    .slide-content p {
        font-size: 1em;
    }

    .carousel-control {
        padding: 10px 5px;
        font-size: 1.2em;
    }
    
    .sobre-flex-container {
        flex-direction: column;
    }

    .grid-container, .depoimentos-grid-container {
        grid-template-columns: 1fr; 
    }
}

