﻿/* Reset Global e Configurações Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    overflow-x: hidden;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

/* Cores Principais */
.bg-green {
    background-color: #008000;
}

.text-success {
    color: #008000 !important;
}

/* Banner Principal */
.banner {
    height: 80vh;
    width: 100vw;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Mantém o fundo fixo */
    margin: 0;
    padding: 0;
    overflow: hidden;
}


/* Overlay do Banner */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Container de Conteúdo do Banner */
.content-container {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

/* Textos do Banner */
.text-white {
    color: white;
}

/* Título Principal do Banner */
h1 {
    font-size: 3.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 20px;
}

/* Parágrafo do Banner */
.lead {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    max-width: 800px;
}

/* Botão de Alerta do Banner */
.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
    transition: all 0.3s ease;
    padding: 12px 25px;
    font-size: 1.1rem;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .btn-danger:hover {
        background-color: #bd2130;
        border-color: #bd2130;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        color: white;
        text-decoration: none;
    }

/* Header */
header {
    background-color: #008000;
    color: white;
    padding: 10px 0;
}

.contact-info span {
    margin-right: 25px;
    font-size: 0.9rem;
}

.contact-info i {
    margin-right: 5px;
}

/* Ícones Sociais */
.social-icons a {
    font-size: 22px;
    margin-left: 15px;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .social-icons a:hover {
        color: #28a745;
        transform: scale(1.2);
    }

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    background-color: white !important;
}

.navbar-brand {
    font-weight: bold;
    color: #008000 !important;
    font-size: 1.4rem;
}

    .navbar-brand img {
        margin-right: 10px;
    }

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
    margin: 0 5px;
    color: #333 !important;
}

    .nav-link:hover {
        color: #008000 !important;
    }

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Botão WhatsApp */
.btn-success {
    background-color: #28a745;
    border-color: #28a745;
    transition: all 0.3s ease;
    font-weight: bold;
}

    .btn-success:hover {
        background-color: #218838;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

/* Container Principal */
.container {
    max-width: 1200px;
}

/* Seção de Bem-Vindos */
.py-5 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

h2.text-success {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
}

p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
    text-justify: inter-word; /* melhora a distribuição dos espaços */
}

.text-justify {
    text-align: justify;
    text-justify: inter-word; /* melhora a distribuição dos espaços */
}

/* Cards de Serviços - 4 por linha */
.service-card {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    }

    .service-card .card-img-top {
        height: 200px;
        object-fit: cover;
        width: 100%;
    }

    .service-card .card-body {
        flex: 1 1 auto;
        padding: 1.25rem;
        display: flex;
        flex-direction: column;
    }

    .service-card .card-title {
        font-weight: bold;
        color: #008000;
        margin-bottom: 15px;
        font-size: 1.2rem;
    }

    .service-card .card-text {
        color: #666;
        line-height: 1.6;
        flex-grow: 1;
    }

/* Grid para 4 Cards por Linha */
@media (min-width: 992px) {
    /* Desktop - 4 cards por linha */
    .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    /* Tablet - 2 cards por linha */
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .navbar-novo {
        margin-left: 10px;
    }
}

@media (max-width: 767px) {
    /* Mobile - 1 card por linha */
    .col-lg-3, .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .navbar-novo {
        margin-left: 10px;
    }

}

/* Footer */
footer {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: white;
    position: relative;
    padding: 40px 0;
    margin-top: 50px;
}

    footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.85);
        z-index: 1;
    }

    footer .container {
        position: relative;
        z-index: 2;
    }

    footer h5 {
        color: #28a745;
        margin-bottom: 20px;
        font-size: 1.4rem;
    }

    footer p {
        margin-bottom: 10px;
        font-size: 1rem;
        line-height: 1.6;
    }

/* Responsividade */
@media (max-width: 1200px) {
    h1 {
        font-size: 3rem;
    }

    .lead {
        font-size: 1.2rem;
    }

    h2.text-success {
        font-size: 2.3rem;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    .lead {
        font-size: 1.1rem;
    }

    h2.text-success {
        font-size: 2.2rem;
    }

    .contact-info span {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .banner {
        height: 85vh;
    }

    h1 {
        font-size: 2.3rem;
    }

    .lead {
        font-size: 1rem;
        max-width: 100%;
    }

    .contact-info span {
        display: block;
        margin-bottom: 8px;
        margin-right: 0;
        font-size: 0.85rem;
    }

    .social-icons {
        margin-top: 15px;
        text-align: center;
    }

        .social-icons a {
            margin: 0 8px;
        }

    h2.text-success {
        font-size: 2rem;
    }

    .navbar-brand {
        font-size: 1.1rem;
    }

    p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .banner {
        height: 80vh;
    }

    h1 {
        font-size: 2rem;
    }

    .lead {
        font-size: 0.95rem;
    }

    .btn-danger {
        font-size: 0.9rem;
        padding: 10px 20px;
    }

    footer h5 {
        font-size: 1.2rem;
    }

    footer p {
        font-size: 0.9rem;
    }

    .service-card .card-img-top {
        height: 180px;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-container > * {
    animation: fadeInUp 0.8s ease-out;
}

/* Transições Suaves */
* {
    transition: all 0.3s ease;
}

/* Scroll Suave */
html {
    scroll-behavior: smooth;
}

/* Botões em Geral */
.btn {
    border-radius: 5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

/* Links */
a {
    text-decoration: none;
    transition: all 0.3s ease;
}

    a:hover {
        text-decoration: none;
    }

/* Margens e Espaçamentos */
.mb-4 {
    margin-bottom: 2rem !important;
}

.py-4 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

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

/* Display Utilities */
.d-flex {
    display: flex !important;
}

.justify-content-center {
    justify-content: center !important;
}

.align-items-center {
    align-items: center !important;
}

.h-100 {
    height: 100% !important;
}

.flex-column {
    flex-direction: column !important;
}

/* Flex Utilities */
.flex-grow-1 {
    flex-grow: 1 !important;
}

/* Espaçamento Responsivo */
@media (max-width: 768px) {
    .mt-5 {
        margin-top: 2rem !important;
    }

    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .mb-4 {
        margin-bottom: 1.5rem !important;
    }
}

/* Textos */
.text-white {
    color: white !important;
}

.text-success {
    color: #008000 !important;
}

/* Sombra de Texto */
.text-shadow {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Efeitos Visuais */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* ================== BOTÃO WHATSAPP FIXO ================== */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, background-color 0.3s;
    z-index: 1000;
}

    .whatsapp-button:hover {
        transform: scale(1.1);
        background-color: #128C7E;
    }