/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    color: #333;
    line-height: 1.6;
    padding-top: 70px; /* Add padding to account for fixed header */
}

/* Global image size restriction */
img {
    max-width: 350px;
    max-height: 350px;
    object-fit: cover;
}

/* Fixed Header Styles */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fixed-header .logo {
    font-size: 24px;
    font-weight: bold;
    color: #147037;
    
}

.fixed-header .logo img {
    width: 150px;
}

.header-info {
    display: flex;
    gap: 20px;
}

.address, .phone {
    display: flex;
    align-items: center;
    font-size: 15px;
    justify-content: center; 
    gap: 10px;
}

.address i, .phone i {
    margin-right: 5px;
    color: #fe5c1f;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #147037;
    font-size: 20px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #fe5c1f;
}

/* Responsive Fixed Header */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 10px;
    }
    
    body {
        padding-top: 120px;
    }
    
    .container {
        width: 90%;
        padding: 0 10px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-content img {
        max-width: 80%;
        margin: 0 auto 20px;
    }
    
    .brand-logos {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .steps-visual {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .step-item {
        width: 45%;
        margin-bottom: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links, .footer-contact, .footer-social {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    /* Header para celular - simplificado mas mantendo fixo */
    .fixed-header {
        padding: 5px 0;
    }
    
    .header-content {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .fixed-header .logo {
        width: 100%;
        text-align: center;
        margin-bottom: 5px;
    }
    
    .fixed-header .logo img {
        width: 120px;
    }
    
    .header-info {
        flex-direction: column;
        gap: 5px;
        font-size: 12px;
        text-align: center;
        margin: 0 auto;
    }
    
    .social-links {
        margin-top: 5px;
    }
    
    body {
        padding-top: 130px;
    }
    
    /* Outros ajustes para celular */
    .hero-content h1 {
        font-size: 26px !important;
    }
    
    .cta-primary {
        padding: 15px 25px !important;
    }
    .hero-content p {
        font-size: 16px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .step-item {
        width: 100%;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
}

.container {
    width: 80%;
    margin: 0 auto;
    max-width: 1100px;
}

h1, h2, h3, h4 {
    color: #147037; /* Green */
}

h2 {
    font-size: 30px;
}

a {
    color: #fe5c1f; /* Orange */
    text-decoration: none;
}

section {
    padding: 60px 0;
}

/* Primary Colors */
.cta-primary {
    background-color: #fe5c1f; /* Orange */
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    transition: background-color 0.3s;
}

.cta-primary:hover {
    background-color: #e04a0f;
}

/* 1. Hero Section */
.hero {
    background: #f4f4f4 url('images/gausani.webp') no-repeat center center/cover;
    color: #fff;
    height: 60vh;
    text-align: center;
    display: flex;
    font-weight: bolder;
    flex-direction: column;
    justify-content: center;
}

.hero nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 20px;
    width: 80%;
    left: 10%;
}

.hero .logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.hero .credibility {
    background: rgba(20, 112, 55, 0.8); /* Green with transparency */
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* 2. Services Section */
.services {
    background-color: #fff;
    padding: 80px 0;
}

.services .subtitle {
    color: #666;
    font-size: 18px;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.service-item {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item i {
    font-size: 40px;
    color: #fe5c1f;
    margin-bottom: 20px;
}

.service-item h3 {
    color: #147037;
    margin-bottom: 15px;
}

.service-item p {
    color: #666;
    margin-bottom: 20px;
    font-size: 16px;
}

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

.service-item li {
    margin-bottom: 5px;
    color: #666;
    font-size: 14px;
}

/* Responsive services grid */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-item {
        padding: 30px;
    }
}

/* 3. About Section */
.about {
    background-color: #f9f9f9;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-content img {
    max-width: 40%;
    border-radius: 10px;
}

.about-content ul {
    list-style: none;
    padding: 0;
}

.about-content li {
    margin-bottom: 10px;
    background: url('https://img.icons8.com/ios-filled/15/147037/checkmark--v1.png') no-repeat left center;
    padding-left: 25px;
}

.cta-contextual {
    margin-top: 20px;
    display: inline-block;
    font-weight: bold;
}

/* 4. Brands Section */
.brands {
    text-align: center;
}

.brand-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
}

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

.brand-item img {
    max-height: 60px;
    margin-bottom: 10px;
}

/* 5. Portfolio Section */
.portfolio {
    background-color: #f9f9f9;
    text-align: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.portfolio-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease-in-out;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

/* Responsive grid for smaller screens */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-content img {
        max-width: 60%;
        border-radius: 10px;
        align-items: left;
    }
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* 6. Social Proof Section */
.social-proof {
    text-align: center;
    background-color: #147037;
    color: #fff;
}

.social-proof h2 {
    color: #fff;
}

.testimonial {
    max-width: 700px;
    margin: 0 auto 30px;
}

.testimonial p {
    font-style: italic;
    font-size: 20px;
}

.testimonial cite {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

.stats {
    font-size: 22px;
    font-weight: bold;
}

/* 7. How It Works Section */
.how-it-works {
    background-color: #f9f9f9;
    text-align: center;
}

.steps-visual {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
}

.step-item {
    width: 22%;
}

.step-item i {
    font-size: 40px;
    color: #fe5c1f;
    margin-bottom: 15px;
}

/* 8. FAQ Section */
.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
}

.faq-item h4 {
    margin-bottom: 10px;
}

/* 9. Contact Form Section */
.contact-form {
    background-color: #f9f9f9;
    text-align: center;
}

#quote-form {
    max-width: 600px;
    margin: 30px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#quote-form input {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#quote-form button, #quote-form .cta-whatsapp {
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}

#quote-form .cta-whatsapp {
    background-color: #25D366;
    color: #fff;
    font-weight: bold;
}

.privacy {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
}

/* Floating WhatsApp Button */
.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 rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 2s infinite alternate ease-in-out;
    transition: all 0.3s;
}

/* Estilos para animações */

/* Transição padrão para elementos animados */
.service-item, .portfolio-item, .brand-item, .about-content, .testimonial, .step-item {
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Classe adicionada pelo Intersection Observer */
.animado {
    opacity: 1 !important;
    transform: translate(0) scale(1) !important;
}

/* Animação de pulso para botões */
.pulse-animation {
    animation: pulse 0.8s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

/* Animação de rotação para ícones sociais */
.rotate-animation {
    animation: rotate 0.5s ease;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(20deg);
    }
}

/* Animação para FAQ */
.faq-item h4 {
    cursor: pointer;
    position: relative;
}

.faq-item h4::after {
    content: '+';
    position: absolute;
    right: 0;
    transition: transform 0.3s;
}

.faq-item h4.active::after {
    transform: rotate(45deg);
}

.faq-item p {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item p.expanded {
    max-height: 200px;
}

.whatsapp-float:hover {
    background-color: #20c15c;
    transform: scale(1.1);
}

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

/* 10. Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-links a, .footer-contact p, .footer-social a {
    color: #fff;
    margin-right: 15px;
}

.footer-social a {
    font-size: 24px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #555;
    padding-top: 20px;
    font-size: 14px;
}
