:root {
    --primary-color: #FFC107;
    --primary-color: #FFC107;
    --primary-hover: #FFB300;
    --secondary-color: #0D47A1;
    --secondary-color: #0D47A1;
    --secondary-hover: #063682;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #F9FAFB;
    --white: #FFFFFF;
    --black: #000000;
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 20px rgba(0, 0, 0, 0.15);
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 193, 7, 0.4);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Header */
#header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    transition: var(--transition);
}

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

/* Visibility Utilities */
.mobile-only {
    display: none !important;
}

.desktop-only {
    display: inline-flex;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
        width: 100%;
        margin-top: 10px;
    }

    .mobile-only .btn {
        width: 100%;
    }
}

@media (min-width: 769px) {
    .mobile-only {
        display: none !important;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
}

.logo-icon {
    font-size: 1.8rem;
}

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

.nav-menu ul li.mobile-only {
    display: none !important;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 28px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile Menu Active State Animation */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: url('../assets/solar_hero_background.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    margin-top: 0;
    padding-top: 80px;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.85), rgba(13, 71, 161, 0.5));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    width: 100%;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero .highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Sections General */
.section {
    padding: 100px 0;
}

.bg-light {
    background-color: #F3F4F6;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
    line-height: 1.2;
}

.section-header .highlight {
    color: var(--primary-color);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.benefit-card .icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    display: inline-block;
}

.benefit-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-size: 1.35rem;
}

.benefit-card p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.service-image {
    height: 220px;
    width: 100%;
    background-size: cover;
    background-position: center;
}

.service-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-size: 1.4rem;
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
    flex-grow: 1;
}

.btn-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    margin-top: auto;
}

.btn-link:hover {
    color: var(--primary-color);
    gap: 12px;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.project-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 350px;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.project-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.project-item:hover .project-image {
    transform: scale(1.1);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.6), transparent);
    padding: 30px 20px 20px;
    color: var(--white);
    transform: translateY(0);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.project-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.project-info p {
    font-size: 0.95rem;
    opacity: 0.9;
    color: var(--primary-color);
    font-weight: 500;
}

/* Google Reviews Section */
.google-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    flex-wrap: wrap;
}

.google-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-color);
}

.google-rating {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rating-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.stars {
    color: #FBBC05;
    font-size: 1.3rem;
    letter-spacing: 2px;
}

.review-count {
    color: var(--text-light);
    font-size: 0.95rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.review-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-left-color: var(--primary-color);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.reviewer-info {
    display: flex;
    gap: 15px;
    align-items: center;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.reviewer-info h4 {
    margin-bottom: 5px;
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.review-stars {
    color: #FBBC05;
    font-size: 1rem;
    letter-spacing: 1px;
}

.google-icon {
    flex-shrink: 0;
}

.review-text {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.98rem;
}

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

.btn-outline-dark {
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 14px 28px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-dark:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(13, 71, 161, 0.3);
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.info-item .icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 193, 7, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 4px;
}

.info-item p {
    margin-bottom: 0;
    font-size: 1rem;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form h3 {
    margin-bottom: 30px;
    color: var(--secondary-color);
    text-align: center;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 25px;
}

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

.form-group input {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-family: var(--font-main);
    transition: var(--transition);
    font-size: 1rem;
    background-color: #fcfcfc;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.15);
}

.btn-block {
    width: 100%;
    border: none;
    font-size: 1.1rem;
    padding: 16px;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-social a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Instagram Static Section */
.instagram-static-wrapper {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.insta-static-img {
    width: 100%;
    display: block;
}

.insta-overlay-link {
    position: absolute;
    background-color: rgba(255, 255, 255, 0);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.insta-overlay-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* =========================================
   RESPONSIVE DESIGN (Mobile First Approach)
   ========================================= */

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-wrapper {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* Header & Nav */
    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 85%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        padding: 80px 30px 30px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        display: flex;
        flex-direction: column;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
        width: 100%;
    }

    .nav-menu ul li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
        padding-bottom: 15px;
    }

    .nav-menu ul li.mobile-only {
        display: block !important;
    }

    .nav-menu ul li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        font-size: 1.2rem;
        display: block;
        color: var(--secondary-color);
    }

    /* Hero */
    .hero {
        min-height: 500px;
        padding-top: 70px;
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* Sections */
    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    /* Benefits */
    .benefits-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Projects */
    .projects-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .project-item {
        height: 280px;
    }

    .project-info {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.4));
    }

    /* Reviews */
    .google-badge {
        flex-direction: column;
        gap: 15px;
        padding: 20px 15px;
    }

    .google-rating {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto 40px;
    }

    .review-card {
        padding: 25px 20px;
    }

    .reviewer-info {
        gap: 12px;
    }

    .reviewer-avatar {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .reviewer-info h4 {
        font-size: 1rem;
    }

    /* Contact */
    .contact-form-wrapper {
        padding: 30px 20px;
    }

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

    .info-item .icon {
        margin-bottom: 10px;
    }

    /* Footer */
    .footer {
        padding: 60px 0 30px;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 1rem;
    }
}
/* Modal de Sucesso Customizado */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    animation: slideUp 0.4s ease;
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FFC107 0%, #FFB300 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: scaleIn 0.5s ease;
}

.modal-icon svg {
    width: 45px;
    height: 45px;
    stroke: white;
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #0D47A1;
    margin-bottom: 12px;
}

.modal-message {
    font-size: 16px;
    color: #666666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.modal-btn {
    background: linear-gradient(135deg, #0D47A1 0%, #063682 100%);
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.3);
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 71, 161, 0.4);
}

.modal-btn:active {
    transform: translateY(0);
}

/* Modal de Erro */
.modal-content.error .modal-icon {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
}

.modal-content.error .modal-title {
    color: #d32f2f;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .modal-content {
        padding: 30px 20px;
        max-width: 90%;
    }
    
    .modal-icon {
        width: 70px;
        height: 70px;
    }
    
    .modal-title {
        font-size: 20px;
    }
    
    .modal-message {
        font-size: 14px;
    }
}
