/* --- CONFIGURAÇÕES GERAIS --- */
:root {
    --primary-color: #84a88f; /* Verde do logo */
    --secondary-color: #6c6c6c; /* Cinza do logo */
    --light-text-gray: #CCCCCC; /* Cinza claro para texto no fundo escuro */
    --text-color: #333;
    --light-gray: #f4f4f4;
    --white: #ffffff;
    --font-family: 'Poppins', sans-serif;
    --header-bg-color: rgba(69, 87, 75, 0.8);
        --header-bg-color2: rgb(79, 97, 85, 1.0);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--white);
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

/* --- CABEÇALHO --- */
.header {
    background: var(--header-bg-color); 
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    height: 75px;
    filter: brightness(0) invert(1); 
    flex-shrink: 0;
}

.nav {
    flex-grow: 1;
}

.nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.nav ul li {
    position: relative;
}

.nav ul li a {
    color: var(--white); 
    font-weight: 500;
    transition: color 0.3s ease, background-color 0.3s ease; 
    padding: 10px 15px;
    border-radius: 5px;
    display: block;
}

.nav ul li a:hover {
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.1);
}

/* --- Dropdown Menu (Desktop) --- */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #3a4b3f;
    min-width: 250px;
    box-shadow: 0px 10px 25px -5px rgba(0, 0, 0, 0.3);
    z-index: 1;
    border-radius: 8px;
    overflow: hidden; 
    padding: 10px 0;
    top: 100%; 
    left: 50%; 
    transform: translateX(-50%); 
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: var(--white);
    padding: 14px 20px;
    text-decoration: none;
    display: block;
    font-weight: 400;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.dropdown-content a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.dropdown .fa-chevron-down {
    margin-left: 8px;
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.dropdown:hover .fa-chevron-down {
    transform: rotate(180deg);
}

/* --- SEÇÃO HERO --- */
.hero {
    background-image: url('fundo-hero.jpg');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    position: relative;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 60px 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-text {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: -35px;
    text-align: center;
}

.hero-main-content {
    display: flex;
    justify-content: center;
    width: 80%;
}

.hero-logo {
    max-width: 550px;
    width: 100%;
    height: auto;
}

.hero-text .red-box {
    font-size: 1.2rem;
    max-width: 600px;
    color: var(--primary-color);
}

/* <<< NOVO ESTILO PARA A NOVA FRASE >>> */
.hero-text .hero-tagline {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-top: -5px; /* Puxa a frase para mais perto da de cima */
    max-width: 700px;
}


/* --- BARRA DE INFORMAÇÕES --- */
.info-bar {
    background: var(--header-bg-color2);
    padding: 40px 0;
}

.info-content {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: baseline;
    gap: 15px;
    max-width: 450px;
}

.info-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--white);
    font-weight: 700;
}

.info-item p {
    font-size: 1rem;
    color: var(--light-text-gray);
    line-height: 1.5;
}

/* --- SEÇÃO DE SERVIÇOS --- */
.services-section {
    padding: 80px 0;
    background: var(--secondary-color);
}

.services-section h2.section-title {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 15px;
    margin-bottom: 60px;
    font-size: 2.2rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-align: center;
    width: 100%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card.placeholder {
    background: transparent;
    box-shadow: none;
    padding: 0;
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    border: none;
}

.service-card.placeholder:hover {
    transform: none;
}

.service-card.placeholder img {
    max-width: 270px;
    width: 100%;
    height: auto;
    -webkit-user-drag: none;
    user-select: none;
}

.service-card {
    background: var(--primary-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.service-icon {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--white);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--white);
}

/* --- DETALHES DOS SERVIÇOS --- */
.service-details {
    padding: 60px 0 80px 0;
    background: var(--secondary-color);
}

.detail-content {
    background: var(--primary-color);
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.detail-content:last-child {
    margin-bottom: 0;
}

.detail-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--white);
}

.detail-content h3 i {
    color: var(--white);
}

.detail-content p {
    color: var(--white);
}

/* --- RODAPÉ --- */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px 0;
    border-top: 4px solid var(--primary-color); 
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about, .footer-contact, .footer-social {
    flex: 1;
    min-width: 250px;
}

.logo-footer {
    height: 80px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    display: inline-block;
}

.footer-contact p {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.footer-social {
    flex: 1;
    min-width: 250px;
}

.footer-social .social-icons {
    display: flex;
    gap: 20px;
}

.footer-social a {
    color: var(--white);
    font-size: 2.5rem;
    margin-right: 0;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #7a7a7a;
    font-size: 0.9rem;
}

/* --- BOTÕES FLUTUANTES --- */
.float-btn {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
    color: #FFF;
}

.float-btn:hover {
    transform: scale(1.1);
}

.whatsapp-float {
    background-color: #25D366;
    right: 40px;
}

.instagram-float {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    right: 110px;
}

/* --- RESPONSIVIDADE --- */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1100;
}

@media (max-width: 992px) {

    .menu-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: #3a4b3f;
        box-shadow: -5px 0 15px rgba(0,0,0,0.25);
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        z-index: 1050;
        overflow-y: auto;
    }

    .dropdown:hover .dropdown-content {
        display: none;
    }

    .nav-active {
        transform: translateX(0);
    }

    .nav ul {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 80px 30px 30px 30px; 
        text-align: left;
    }

    .nav ul li a {
        font-size: 1.3rem;
        padding: 10px 0;
        display: block;
        border-radius: 5px;
    }

    .nav ul li a:hover,
    .nav ul li a:active {
        background-color: rgba(255, 255, 255, 0.1); 
        color: var(--white);
    }

    .dropdown-content {
        position: static;
        display: none;
        background: transparent;
        box-shadow: none;
        border: none;
        margin-top: 15px;
        padding-top: 15px;
        padding-left: 20px;
        width: 100%;
        text-align: left;
        transform: none;
        opacity: 1;
        visibility: visible;
        transition: none;
        border-left: 2px solid var(--primary-color);
    }

    .dropdown-content a {
        font-size: 1.1rem;
        padding: 10px 0;
    }
    
    .dropdown-content a:hover,
    .dropdown-content a:active,
    .dropdown-content a:focus {
        background-color: var(--primary-color);
        color: var(--secondary-color);
    }

    .dropdown .fa-chevron-down {
        transition: transform 0.3s ease;
    }

    .dropdown.submenu-active > a .fa-chevron-down {
        transform: rotate(180deg);
    }
    
    .info-content {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        width: 90%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-text .red-box {
        font-size: 1.1rem;
    }
    
    .hero-logo {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
    .service-card.placeholder {
        display: none;
    }
    .services-section h2.section-title {
        font-size: 1.8rem;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-social .social-icons {
        justify-content: center;
    }
    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    .whatsapp-float {
        right: 20px;
        bottom: 20px;
    }
    .instagram-float {
        right: 80px;
        bottom: 20px;
    }
    .hero-logo {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    .hero-logo {
        max-width: 180px;
    }
}