/*
Folha de Estilo VVerde Gestão
Cor Principal: #02473A
*/

/* -------------------
 * VARIAVEIS GLOBAIS
 * ------------------- */
:root {
    --primary-color: #02473A;
    --secondary-color: #0C9367;
    --accent-color: #5FB993;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --text-color: #555;
    --font-family: 'Montserrat', sans-serif;
}

/* -------------------
 * ESTILOS DE BASE
 * ------------------- */
body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-color);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* -------------------
 * NAVBAR
 * ------------------- */
.navbar {
    transition: background-color 0.4s ease, padding 0.4s ease;
}

.navbar.scrolled {
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand .logo-subtitle {
    font-size: 0.8rem;
    font-weight: 400;
}

.navbar .nav-link {
    color: #fff;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.navbar .nav-link:hover {
    color: var(--accent-color);
}

.btn-nav-contact {
    border-width: 2px;
    padding: 0.4rem 1.2rem !important;
}

.btn-nav-contact:hover {
    background-color: #fff;
    color: var(--primary-color) !important;
}

/* -------------------
 * SEÇÃO HERO (BANNER)
 * ------------------- */
.hero-section h1 {
    color: #fff;
}

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    /* Assumindo que a imagem está em static/images/ */
    background: url('../images/liquid-cheese.svg') no-repeat center center;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 71, 58, 0.7); /* Cor principal com transparência */
}

.hero-section .carousel-item {
    height: 100vh;
}

.hero-section .carousel-item > .container {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.hero-section .btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 12px 30px;
}
.hero-section .btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.hero-section .btn-outline-light {
    border-width: 2px;
    padding: 10px 30px;
}
.hero-section .btn-outline-light:hover {
    background-color: #fff;
    color: var(--primary-color);
}

.animate-title, .animate-description {
    animation: fadeInDown 1.5s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* -------------------
 * SEÇÃO SOBRE (MISSÃO, VISÃO, VALORES)
 * ------------------- */
.card-mission-vision-values {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-mission-vision-values:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card-mission-vision-values .card-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.card-mission-vision-values .card-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* -------------------
 * SEÇÃO SERVIÇOS (COM ABAS)
 * ------------------- */
.nav-pills .nav-link {
    background: #e9ecef;
    color: var(--text-color);
    font-weight: 500;
    margin: 0 5px;
    border-radius: 50px;
    padding: 10px 25px;
}

.nav-pills .nav-link.active {
    background-color: var(--primary-color);
    color: #fff;
}

.tab-content {
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    margin-top: -20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.service-list {
    list-style: none;
    padding-left: 0;
}

.service-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.service-list i {
    color: var(--secondary-color);
    margin-right: 15px;
    font-size: 1.2rem;
}

.service-list-container.columns {
    column-count: 2;
}

.service-category-title {
    margin-bottom: 1rem;
    border-left: 4px solid var(--secondary-color);
    padding-left: 10px;
}


/* -------------------
 * SEÇÃO CLIENTES
 * ------------------- */
.client-logo {
    max-height: 70px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* -------------------
 * SEÇÃO CONTATO
 * ------------------- */
.contact-info-wrapper {
    background-color: var(--primary-color);
    color: #fff;
    padding: 30px;
    border-radius: 10px;
    height: 100%;
}
.contact-info-wrapper h3 {
    color: #fff;
}
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}
.contact-item i {
    font-size: 1.5rem;
    margin-right: 15px;
}
.btn-whatsapp {
    background-color: #25D366;
    border-color: #25D366;
    font-weight: 500;
}
.form-wrapper {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.form-control-custom {
    border-radius: 8px;
    padding: 12px;
}
.form-control-custom:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(2, 71, 58, 0.25);
}
form button.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 12px;
    font-weight: 500;
}
form button.btn-primary:hover {
    background-color: var(--dark-gray);
}

/* -------------------
 * WHATSAPP FLUTUANTE
 * ------------------- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}

/* -------------------
 * FOOTER
 * ------------------- */
.footer-section {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 20px 0;
}
.footer-logo {
    max-height: 50px;
}
.footer-heading {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.footer-links li, .footer-contact li {
    margin-bottom: 0.5rem;
}
.footer-links a, .footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-links a:hover, .footer-contact a:hover {
    color: #fff;
}
.social-icons a {
    color: #fff;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: transform 0.3s ease;
    display: inline-block;
}
.social-icons a:hover {
    transform: scale(1.2);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    font-size: 0.9rem;
}
.footer-bottom p {
    margin: 0;
}
.footer-bottom a {
    color: var(--accent-color);
    font-weight: 500;
    text-decoration: none;
}

/* -------------------
 * RESPONSIVIDADE
 * ------------------- */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--primary-color);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 10px;
    }

    .hero-section h1 {
        color: #fff;
    }

    .hero-section, .hero-section .carousel-item {
        height: auto;
        padding: 150px 0 80px;
    }
    .hero-section .carousel-item > .container {
        transform: none;
        top: auto;
    }
    .service-list-container.columns {
        column-count: 1;
    }
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 2rem;
    }
    .hero-section h1 {
        font-size: 2.2rem;
        color: #fff;
    }
    .nav-pills {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .nav-pills .nav-item {
        margin-bottom: 5px;
    }
    .footer-section {
        text-align: center;
    }
    .footer-section .social-icons {
        justify-content: center;
    }
}