/* assets/css/style.css */

:root {
    --primary: #10b981; /* Verde do WhatsApp do print */
    --primary-hover: #059669;
    --navy: #003666; /* Azul escuro do logo AL7NET */
    --gold: #c28830; /* Dourado dos menus ativos */
    --bg-cream: linear-gradient(135deg, #fdf8f4 0%, #ffffff 100%);
    --bg-light: #f8fafc;
    --text-main: #334155;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.12);
}

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

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background: #ffffff;
    line-height: 1.6;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
    z-index: 1000;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    color: #3b82f6;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: var(--gold);
}

.btn-whatsapp-header {
    background-color: var(--primary);
    color: white !important;
    text-decoration: none !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s, transform 0.2s !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.btn-whatsapp-header:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--navy);
}

/* Sections Base Styling */
section {
    padding: 100px 20px;
    overflow: hidden;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.section-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-main);
    font-weight: 400;
    margin-bottom: 20px;
}

.section-text {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 30px;
    white-space: pre-line;
}

.section-image, .section-media iframe, .section-media img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-premium);
    object-fit: cover;
    display: block;
}

/* Buttons */
.btn-cta {
    background-color: var(--primary);
    color: white;
    padding: 10px 26px;
    border-radius: 8px;
    font-size: 15.5px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: flex-start;
    transition: background-color 0.2s, transform 0.2s;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.25);
}

.btn-cta:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

/* 1. HERO SECTION */
.hero-section {
    padding-top: 160px;
    background: var(--bg-cream);
}

.hero-section .section-media {
    align-self: end;
}

.hero-section .section-title {
    font-size: 48px;
}

.hero-section .section-title span {
    color: #3b82f6;
    display: block;
}

/* 2. ABOUT SECTION */
.about-section {
    background: #ffffff;
}

/* 3. PRODUCTS SECTION */
.products-section {
    background: var(--bg-light);
    text-align: center;
}

.products-section .section-container {
    display: block;
}

.products-section .section-header {
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.gallery-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
}

.gallery-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.gallery-title {
    padding: 15px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

/* 4. TESTIMONIALS SECTION */
.testimonials-section {
    background: #ffffff;
    text-align: center;
}

.testimonials-section .section-container {
    display: block;
}

.testimonials-section .section-header {
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.testimonial-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 30px;
    width: calc(33.333% - 20px);
    min-width: 280px;
    box-shadow: var(--shadow);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-meta h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
}

.testimonial-meta span {
    font-size: 12px;
    color: var(--text-muted);
}

/* 5. CONTACT SECTION */
.contact-section {
    background: var(--bg-light);
}

.contact-info-list {
    margin-top: 30px;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-icon {
    font-size: 24px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2px;
}

.contact-text p {
    font-size: 13px;
    color: var(--text-muted);
    white-space: pre-line;
}

/* Footer */
footer {
    background-color: var(--navy);
    color: white;
    padding: 25px 20px;
    font-size: 13px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-container a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-container a:hover {
    color: white;
}

.contact-header-mobile {
    display: none;
}
.contact-header-desktop {
    display: block;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .contact-header-mobile {
        display: block;
        order: 1;
    }

    .contact-header-desktop {
        display: none;
    }

    .section-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .contact-section .section-container {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .contact-section .section-media {
        order: 2;
        width: 100%;
    }

    .contact-section .section-content {
        order: 3;
        width: 100%;
    }



    
    .section-image {
        max-width: 500px;
        margin: 0 auto;
    }

    
    .btn-cta {
        align-self: center;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    
    .testimonial-card {
        width: 100%;
    }

    .hero-section .section-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 18px;
    }

    .logo-hero {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .logo-hero-img {
        max-height: 30px !important;
        height: auto !important;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-section .section-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .nav-container {
        position: relative;
    }
    
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        order: 3;
        width: 38px;
        height: 38px;
        border-radius: 6px;
        border: 1px solid rgba(0,0,0,0.1);
        background: rgba(0,0,0,0.03);
        color: var(--navy);
    }
    
    .btn-whatsapp-header {
        padding: 7px 12px !important;
        font-size: 13px !important;
        gap: 5px !important;
        order: 2;
    }

    .btn-whatsapp-header i {
        font-size: 14px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        font-size: 16px;
        padding: 8px 0;
        border-bottom: 1px solid rgba(0,0,0,0.04);
        display: block;
        width: 100%;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    
    .contact-info-list {
        grid-template-columns: 1fr;
    }

    .contact-info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 16px;
    }

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

    
    .footer-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
