﻿

.hero {
    background: linear-gradient(to right, #039C14, #0066cc);
    color: white;
    padding: 120px 0;
    background-size: cover;
}



.card-hover {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    border-radius: 15px;
}

    .card-hover:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
        background-color: #039C1411;
    }

        .card-hover:hover .fa-img {
            transition: .75s;
            background-color: #039C14 !important;
            color: #FFFFFF !important;
        }

.about .card-header-img {
}


    .about .card-header-img .fa-img {
        background-color: #039C1422;
        color: #039C14;
        font-size: 2.15rem;
        border-radius: 50px;
        padding: 1rem;
    }


.btn-primary, .btn-success {
    border-radius: 30px;
}

.navbar-brand {
    font-weight: bold;
    letter-spacing: 1px;
}

h2 {
    font-weight: 700;
}

.card-title {
    color: #353635;
    font-weight: 600;
    font-size: 1.35rem;
}

iframe {
    border-radius: 10px;
}

.about .inicio .card {
    background-color: white;
    border-radius: 10px;
    border: unset;
    border-bottom: 3px solid #08915e;
    transition: transform 0.3s ease;
    padding: .75rem;
    /*box-shadow: 0px 0px 10px 0px #00000066;*/
}

    .about .inicio .card .title {
        font-size: 1.75rem;
        font-weight: 600;
        color: #353635;
    }

    .about .inicio .card .descricao {
        font-size: .90rem;
        color: #353635;
    }















.sobre-section {
    padding: 80px 0;
    /*background-color: #f9f9f9;*/
}

.sobre-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.sobre-imagem {
    flex: 1;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

    .sobre-imagem img {
        width: 100%;
        height: auto;
        display: block;
        transition: transform 0.5s ease;
    }

    .sobre-imagem:hover img {
        transform: scale(1.03);
    }

.sobre-texto {
    flex: 1;
}

.sobre-titulo {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

    .sobre-titulo:after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 60px;
        height: 3px;
        background-color: #039f03;
    }

.sobre-descricao {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.destaque {
    /*color: #25d366;*/
    color: #039f03;
    font-weight: 600;
}

.sobre-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #039f03;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #039f03;
}

    .sobre-btn:hover {
        background-color: transparent;
        color: #288e5f;
    }

















.sobre .img-fluid {
    object-fit: cover;
    height: 350px;
    width: 100%;
    border-radius: 30px !important;
}







/* Estilos gerais (Desktop) */
.destaque-container {
    display: flex;
    align-items: center;
    gap: 40px;
    /*padding: 60px 5%;*/
    max-width: 1200px;
    margin: 0 auto;
    /*height: 100vh;*/
    min-height: 700px;
}

.texto-destaque {
    flex: 1;
}

    .texto-destaque h1 {
        font-size: 2.2rem;
        color: #2c3e50;
        margin-bottom: 20px;
    }

    .texto-destaque p {
        font-size: 1.1rem;
        line-height: 1.6;
        color: #555;
        margin-bottom: 25px;
    }

.cta-button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .cta-button:hover {
        background-color: #2980b9;
    }

.imagem-destaque {
    flex: 1;
    position: relative;
    height: 400px;
    min-width: 50%; /* Garante espaço mínimo no desktop */
}

.imagem-rotacionada {
    position: absolute;
    width: 80%;
    height: 70%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

    .imagem-rotacionada.esquerda {
        top: 0;
        left: 0;
        transform: rotate(-5deg);
        z-index: 0;
    }

    .imagem-rotacionada.direita {
        bottom: 0;
        right: 0;
        /*left: 21rem;*/
        transform: rotate(5deg);
    }





.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    isolation: isolate; 
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    filter: brightness(0.15);
    object-fit: cover;
}


.hero-content {
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1; 
}



/*INICIO HERO CONTENT*/


.carousel-slide-home {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .carousel-slide-home.active {
        opacity: 1;
        z-index: 2;
    }


.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 3;
}

    .carousel-controls button {
        background-color:transparent;
        border: none;
        color: #FFFFFF77;
        font-size: 2rem;
        padding: 0.5rem .75rem;
        cursor: pointer;
        border-radius: 50%;
        transition: background 0.3s;
        margin: 0 ;
    }

        .carousel-controls button:hover {
            background-color: rgba(0, 0, 0, 0.8);
        }


.carousel-indicators {
    position: absolute;
    /*bottom: 20px;*/
    
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 3;
}

    .carousel-indicators button {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: none;
        background-color: rgba(255, 255, 255, 0.5);
        cursor: pointer;
        transition: background-color 0.3s;
        padding: .5rem;
    }

        .carousel-indicators button.active {
            background-color: white;
        }


        /*FIM HERO CONTENT*/






/* Estilos Gerais */
.beneficios-section {
    width: 100%;
    /*padding: 60px 20px;*/
    /*text-align: center;*/
}



/* Container dos Cards */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card Individual */
.beneficio-card {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 280px;
    transition: transform 0.3s;
    padding: 1rem;
}

    .beneficio-card:hover {
        transform: translateY(-10px);
    }

/* Imagem do Card */
.card-imagem {
    font-size: 3rem;
    object-fit: cover;
    padding: 1rem;
    background-color: #039f0322;
    border-radius: 50px;
    width: 100px;
    text-align: center;
}

/* Conteúdo do Card */
.card-conteudo {
    padding: 15px;
    text-align: left;
}



.porcentagem {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #039f03;
    margin-bottom: 5px;
}

.descricao {
    font-size: 1rem;
    color: #555;
    margin: 0;
}









.titulo-section {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
    margin-top: 130px;
}

/* Estilos dos cards */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.stats-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    width: 280px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .stats-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

.card-icon {
    font-size: 3rem;
    color: #039f0388;
    margin-bottom: 1rem;
}

.card-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.plus-sign {
    color: #28a745;
    font-weight: 700;
}

.card-description {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 0;
}

#loadingContato,
#confirmacaoContato {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Efeitos hover (somente desktop) */
@media (hover: hover) {
    .imagem-destaque:hover .imagem-rotacionada.esquerda {
        transform: rotate(-8deg) scale(1.02);
    }

    .imagem-destaque:hover .imagem-rotacionada.direita {
        transform: rotate(8deg) scale(1.02);
    }
}

@media(min-width: 1025px) {
    .imagem-rotacionada.direita {
        bottom: 0;
        right: 0;
        left: 17rem;
        transform: rotate(5deg);
    }
}

/* Responsivo para tablets (768px a 1024px) */
@media (max-width: 1024px) {
    .destaque-container {
        gap: 30px;
        padding: 40px 5%;
    }

    .texto-destaque h1 {
        font-size: 1.8rem;
    }

    .imagem-destaque {
        height: 350px;
    }
}

/* Responsivo para mobile (até 767px) */
@media (max-width: 767px) {
    .destaque-container {
        flex-direction: column; /* Empilha texto e imagem */
        padding: 30px 5%;
        gap: 20px; /* Espaço entre texto e imagens */
    }

    .texto-destaque {
        order: 2; /* Texto primeiro no mobile */
        /*margin-bottom: 0;*/
        text-align: center; /* Centraliza o conteúdo */
    }

    .imagem-destaque {
        order: 1; /* Imagem depois no mobile */
        width: 100%;
        height: auto;
        min-height: 250px; /* Garante um mínimo */
        position: relative;
        display: flex; /* Usa flex para alinhar as imagens lado a lado */
        justify-content: center;
        gap: 10px; /* Espaço entre as imagens */
        margin-top: 0;
        margin-bottom: 2rem !important;
    }

    .imagem-rotacionada {
        position: relative; /* Remove absolute para evitar sumiço */
        width: 45%; /* Largura menor para caber duas imagens */
        height: 200px; /* Altura fixa para mobile */
        transform: none; /* Remove rotação padrão */
        margin: 0; /* Remove margens indesejadas */
    }

    .cta-button {
        width: 100%; /* Botão ocupa toda a largura */
        max-width: 250px; /* Mas não fica muito largo */
        margin: 0 auto; /* Centraliza */
    }

    /* Aplica rotação apenas nas imagens no mobile */
    .imagem-rotacionada.esquerda {
        transform: rotate(-5deg);
        align-self: flex-start; /* Alinha para cima */
    }

    .imagem-rotacionada.direita {
        transform: rotate(5deg);
        align-self: flex-end; /* Alinha para baixo */
    }


    .imagem-destaque:hover .imagem-rotacionada.esquerda {
        transform: rotate(-8deg) scale(1.02);
    }

    .imagem-destaque:hover .imagem-rotacionada.direita {
        transform: rotate(8deg) scale(1.02);
    }


    .cards-container {
        flex-direction: column;
        align-items: center;
    }

    .beneficio-card {
        width: 100%;
        max-width: 350px;
    }


    .cards-container {
        flex-direction: column;
        align-items: center;
    }

    .stats-card {
        width: 100%;
        max-width: 300px;
        margin-bottom: 20px;
    }

    .sobre-content {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .sobre-imagem, .sobre-texto {
        flex: none;
        width: 100%;
    }

    .sobre-titulo {
        font-size: 2rem;
    }
}
