/* Base styles */
:root {
    --primary: #13c248;
    --primary-light: #3caf56;
    --secondary: #1d7036;
    --white: #ffffff;
    --cream: #F5F8F6;
    --gray-600: #4b5563;
    --icon-color: #fff;
    --icon-hover: #fff;
    --background-color: #00c800;
    --background-hover: #009600;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    text-shadow: -1px 5px 11px rgba(0,0,0,0.39);
    background-color: var(--cream);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 1.5rem;
}

.info-item, .location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white) !important; 
}

/* Hero Section */
.hero {
    height: 600px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('../bg-img.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-content {
    max-width: 600px;
    margin: 0 auto; 
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary);
    color: var(--white);
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.2);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: var(--white);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary);
}

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

.service-card {
    background-color: var(--cream);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.service-card svg {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--secondary);
}

.service-card p {
    color: var(--gray-600);
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.certification {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.certification svg {
    color: var(--primary);
}

.certification h4 {
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

/* Footer */
footer {
    background-color: var(--secondary);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info h3,
.footer-contact h3,
.footer-hours h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--cream);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: var(--cream);
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.float-effect {
    animation: float 2s ease-in-out infinite;
}

/*Botão Whatsapp*/
.icon {
    width: 48px;
    height: 48px;
    transform: scale(0.6) translate(20%, 20%);
    fill: var(--icon-color);
    pointer-events: none;
}

.float {
    position: fixed;
    cursor: pointer;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    transition: 1s;
    background-color: var(--background-color);
    border-radius: 50px;
    animation: pulse 3s infinite;
    -webkit-animation: pulse 3s infinite;
    -moz-animation: pulse 3s infinite;
    -o-animation: pulse 3s infinite;
    z-index: 99999
}

.float:hover {
    background-color: var(--background-hover)
}

.float:hover .icon {
    fill: var(--icon-hover)
}

@-webkit-keyframes pulse {
    0% { -webkit-box-shadow: 0 0 0 0 rgba(0, 200, 0, 1) }
    70% { -webkit-box-shadow: 0 0 0 20px rgba(0, 200, 0, 0) }
    100% { -webkit-box-shadow: 0 0 0 0 rgba(0, 200, 0, 0) }
}

@-o-keyframes pulse {
    0% { -webkit-box-shadow: 0 0 0 0 rgba(0, 200, 0, 1) }
    70% { -webkit-box-shadow: 0 0 0 20px rgba(0, 200, 0, 0) }
    100% { -webkit-box-shadow: 0 0 0 0 rgba(0, 200, 0, 0) }
}

@-ms-keyframes pulse {
    0% { -webkit-box-shadow: 0 0 0 0 rgba(0, 200, 0, 1) }
    70% { -webkit-box-shadow: 0 0 0 20px rgba(0, 200, 0, 0) }
    100% { -webkit-box-shadow: 0 0 0 0 rgba(0, 200, 0, 0) }
}

@-moz-keyframes pulse {
    0% { -webkit-box-shadow: 0 0 0 0 rgba(0, 200, 0, 1) }
    70% { -webkit-box-shadow: 0 0 0 20px rgba(0, 200, 0, 0) }
    100% { -webkit-box-shadow: 0 0 0 0 rgba(0, 200, 0, 0) }
}

@keyframes pulse {
    0% { -webkit-box-shadow: 0 0 0 0 rgba(0, 200, 0, 1) }
    70% { -webkit-box-shadow: 0 0 0 20px rgba(0, 200, 0, 0) }
    100% { -webkit-box-shadow: 0 0 0 0 rgba(0, 200, 0, 0) }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        margin: 0 1rem;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 0.5rem;
        color: var(--white);
    }
    
    .top-bar {
        color: var(--white) !important;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 0.5rem;
        color: var(--white);
    }

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

    .certification {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
}