/* Programa Solar PR - Modern Clean Energy Theme */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette - Vibrant Modern (Emerald & Electric Amber) */
    --color-primary: #047857;
    /* Emerald 700 - Vibrant Primary */
    --color-primary-dark: #064e3b;
    /* Emerald 900 - Deep Contrast */
    --color-primary-light: #d1fae5;
    /* Emerald 100 - Soft Backgrounds */

    --color-secondary: #FFC107;
    /* Amber 500 - Bright Sun Yellow */
    --color-secondary-hover: #F59E0B;
    /* Amber 600 */
    --color-secondary-glow: rgba(255, 193, 7, 0.4);

    --color-bg-base: #fafafa;
    /* Clean White/Grey */
    --color-bg-card: #ffffff;

    --color-text-main: #18181b;
    /* Zinc 900 - Sharp Black */
    --color-text-muted: #52525b;
    /* Zinc 600 - Modern Grey */
    --color-text-light: #a1a1aa;

    --color-white: #ffffff;

    /* Modern Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);

    /* Rounded Styles */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg-base);
    line-height: 1.6;
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.section {
    padding: 6rem 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-hover) 100%);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(245, 158, 11, 0.3), 0 2px 4px -1px rgba(245, 158, 11, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.4), 0 4px 6px -2px rgba(245, 158, 11, 0.2);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: translateY(-2px);
}

/* Header */
.top-bar {
    background-color: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    padding: 0.75rem 0;
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.header-main {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-seal {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-hover) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    font-weight: 900;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a:not(.btn) {
    color: var(--color-text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:not(.btn):hover {
    color: var(--color-primary);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-secondary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    /* Gradient matching the Official Green */
    background: linear-gradient(135deg, rgba(17, 104, 53, 0.9) 0%, rgba(10, 66, 33, 0.85) 100%), url('https://images.unsplash.com/photo-1508514177221-188b1cf16e9d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 10rem 0 8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.hero h1 {
    color: white;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 800;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    opacity: 0.9;
    font-weight: 400;
    color: #f1f5f9;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Trust Bar */
.trust-bar {
    background-color: white;
    padding: 3rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.trust-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 600;
    font-size: 0.95rem;
}

.trust-item svg {
    color: var(--color-secondary);
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.3));
}

/* Content Sections */
.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    font-size: 2.75rem;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.2rem;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.card {
    background: var(--color-bg-card);
    padding: 3rem 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin-bottom: 2rem;
    color: var(--color-primary);
    background: linear-gradient(135deg, #e6fffa 0%, #ffffff 100%);
    box-shadow: 0 10px 20px -5px rgba(6, 95, 70, 0.15);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(3deg);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-main);
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.card:hover h3 {
    color: var(--color-primary);
}

.card p {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* Form Section */
.form-container {
    background-color: white;
    padding: 4rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-text-main);
    font-size: 0.95rem;
}

.form-input,
.form-select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid #e4e4e7;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    background-color: #fafafa;
    transition: all 0.2s;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-secondary);
    background-color: white;
    box-shadow: 0 0 0 4px var(--color-secondary-glow);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Footer */
footer {
    background-color: var(--color-primary-dark);
    color: white;
    padding: 6rem 0 2rem;
    margin-top: 8rem;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 10;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: var(--color-secondary);
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s;
}

.footer-column a:hover {
    color: white;
    padding-left: 4px;
}

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



/* Mobile Responsive */
@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        color: var(--color-primary);
        padding: 0.5rem;
        cursor: pointer;
    }

    .mobile-menu-btn svg {
        width: 28px;
        height: 28px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 90px;
        left: 1rem;
        right: 1rem;
        background: white;
        padding: 2rem;
        border-radius: var(--radius-lg);
        box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
        text-align: center;
        width: auto;
        z-index: 100;
    }

    .nav-links.active {
        display: flex;
        animation: fadeUp 0.3s ease;
    }

    @keyframes fadeUp {
        from {
            opacity: 0;
            transform: translateY(10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-links .btn {
        width: 100%;
    }

    .hero {
        padding: 6rem 0 4rem;
    }

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

    .hero-btns {
        flex-direction: column;
    }

    .trust-grid {
        gap: 2rem;
        flex-direction: column;
        align-items: center;
    }

    .form-container {
        padding: 2rem 1.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .card-grid {
        gap: 2rem;
    }

    .section-title h2 {
        font-size: 2.25rem;
    }

    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 56px;
        height: 56px;
    }
}