/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Questrial', sans-serif;
    line-height: 1.6;
    color: #000000;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3 {
    font-family: 'Fahkwang', sans-serif;
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Navigation */
.navbar {
    background: transparent;
    box-shadow: none;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.9);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar.scrolled .nav-logo span {
    color: #FFFFFF;
}

.navbar.scrolled .logo-red {
    color: #B20D0D !important;
}

.navbar.scrolled .nav-link {
    color: #FFFFFF;
}

.navbar.scrolled .nav-link:hover {
    color: #B20D0D;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo span {
    font-family: 'Fahkwang', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
}

.logo-red {
    color: #B20D0D !important;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #FFFFFF;
    font-family: 'Fahkwang', sans-serif;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #B20D0D;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #FFFFFF;
    margin: 3px 0;
    transition: 0.3s;
}

.navbar.scrolled .bar {
    background: #FFFFFF;
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('attached_assets/Design-sem-nome-6.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 70px;
    color: #FFFFFF;
}

/* Fallback for browsers that don't support WebP */
.no-webp .hero {
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('attached_assets/Design sem nome (6).jpg');
}

.hero-content {
    width: 100%;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.highlight-red {
    color: #B20D0D;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    text-align: center;
    margin-top: 2rem;
}

/* CTA Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #B20D0D;
    color: #FFFFFF;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-family: 'Fahkwang', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    border: 2px solid #B20D0D;
    transition: all 0.3s ease;
    margin: 2rem auto 0;
    text-align: center;
}

.cta-button:hover {
    background: #8B0A0A;
    border-color: #8B0A0A;
    box-shadow: 0 5px 15px rgba(178, 13, 13, 0.3);
    transform: translateY(-2px);
}

.cta-center {
    text-align: center;
    margin-top: 3rem;
}

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

.section-title-divider {
    width: 48px;
    height: 4px;
    background: #B20D0D;
    margin: 1rem auto 2rem;
}

/* Section Divider */
.section-divider {
    width: 100%;
    height: 2px;
    background: #FFFFFF;
    margin: 0;
}

/* Sections */
section {
    padding: 4rem 0;
}

.cases-section {
    background: #000000;
    color: #FFFFFF;
}

.section-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.section-intro h2 {
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

.section-intro p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 1rem;
}

.section-conclusion {
    text-align: center;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.section-conclusion h3 {
    color: #B20D0D;
    margin-bottom: 1rem;
}

/* Cases Grid */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.case-item {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.case-icon {
    font-size: 2.5rem;
    color: #B20D0D;
    margin-bottom: 1rem;
    text-align: center;
}

.case-item h3 {
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    text-align: center;
}

.case-item ul {
    list-style: none;
}

.case-item li {
    padding: 0.5rem 0;
}



/* Areas Section */
.areas-section {
    background: #FFFFFF;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.area-item {
    background: #FFFFFF;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.area-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.area-icon {
    font-size: 2.5rem;
    color: #B20D0D;
    margin-bottom: 1rem;
    text-align: center;
}

.area-item h3 {
    color: #000000;
    margin-bottom: 1.5rem;
    text-align: center;
}

.area-item ul {
    list-style: none;
}

.area-item li {
    padding: 0.5rem 0;
}



/* How We Work Section */
.how-we-work {
    background: #000000;
    color: #FFFFFF;
}

.how-we-work h2 {
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 3rem;
}

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

.step-item {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.step-icon {
    font-size: 3rem;
    color: #B20D0D;
    margin-bottom: 1.5rem;
}

.step-item h3 {
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.step-item p {
    font-size: 1rem;
    line-height: 1.6;
}

/* About Section */
.about-section {
    background: #FFFFFF;
}

.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

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

.about-image img {
    width: 100%;
    max-width: 300px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* FAQ Section */
.faq-section {
    background: #F3F4F6;
    color: #000000;
}

.faq-section h2 {
    text-align: center;
    color: #000000;
    margin-bottom: 2rem;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    background: #FFFFFF;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #E5E7EB;
}

.faq-item {
    border-bottom: 1px solid #E5E7EB;
    margin-bottom: 1rem;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #B20D0D;
}

.faq-question h3 {
    color: #000000;
    margin: 0;
    font-size: 1.1rem;
    font-family: 'Fahkwang', sans-serif;
    font-weight: 500;
    transition: color 0.3s ease;
}

.faq-question:hover h3 {
    color: #B20D0D;
}

.faq-question i {
    color: #B20D0D;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    line-height: 1.6;
    margin: 0;
    color: #374151;
}

/* Footer */
.footer {
    background: #000000;
    color: #FFFFFF;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h2 {
    font-family: 'Fahkwang', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    color: #FFFFFF;
}

.footer-red {
    color: #B20D0D !important;
}

.footer-brand p {
    color: rgba(255,255,255,0.8);
    font-family: 'Fahkwang', sans-serif;
    margin-bottom: 2rem;
    max-width: 400px;
    line-height: 1.6;
}

.footer-contact h3,
.footer-address h3 {
    font-family: 'Fahkwang', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.footer-divider {
    width: 48px;
    height: 4px;
    background: #B20D0D;
    margin-bottom: 1.5rem;
}

.footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.8);
    font-family: 'Fahkwang', sans-serif;
}

.footer-contact i {
    color: #B20D0D;
    width: 20px;
    text-align: center;
}

.address-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255,255,255,0.8);
    font-family: 'Fahkwang', sans-serif;
}

.address-content i {
    color: #B20D0D;
    margin-top: 4px;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #FFFFFF;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #B20D0D;
    border-color: #B20D0D;
    transform: translateY(-2px);
}

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

.footer-bottom p {
    color: rgba(255,255,255,0.7);
    font-family: 'Fahkwang', sans-serif;
    font-size: 0.9rem;
    margin: 0;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: #FFFFFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0,0,0,0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.3);
        padding: 2rem 0;
    }
    
    .nav-menu .nav-link {
        color: #FFFFFF;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero {
        background-attachment: scroll;
        padding: 70px 20px 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 15px;
        right: 15px;
    }
    
    section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .case-item,
    .area-item,
    .step-item,
    .faq-item {
        padding: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
}

/* Smooth animations */
.case-item,
.area-item,
.step-item,
.faq-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-item:hover,
.step-item:hover,
.faq-item:hover {
    transform: translateY(-3px);
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}
