* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

:root {
    --primary-color: #ff9900;
    --primary-dark: #e68a00;
    --secondary-color: #0b2545;
    --dark-color: #1d2d44;
    --light-bg: #f4f7f6;
    --text-color: #333333;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--secondary-color);
}

span {
    color: var(--primary-color);
}

/* HEADER & NAVBAR */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo-img {
    height: 65px;
    width: auto;
    object-fit: contain;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-color);
    margin-left: 25px;
    font-weight: 600;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.btn-nav {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 5px;
}

.btn-nav:hover {
    background-color: var(--primary-dark);
}

/* HERO SECTION */
.hero {
    background: linear-gradient(rgba(11, 37, 69, 0.88), rgba(11, 37, 69, 0.88)), url('https://images.unsplash.com/photo-1509391365360-2e959784a276?auto=format&fit=crop&w=1400&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 120px 0 100px;
}

.hero-text {
    max-width: 750px;
}

.hero-text h1 {
    color: var(--white);
    font-size: 42px;
    font-weight: 800;
    margin: 15px 0;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.badge {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.cta-whatsapp-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn-whatsapp-lg {
    background-color: #25D366;
    color: var(--white);
    font-size: 18px;
    padding: 16px 28px;
}

.btn-whatsapp-lg:hover {
    background-color: #1eb957;
}

/* STATS BAR */
.stats-bar {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    text-align: center;
    align-items: center;
}

.stat-item h3 {
    color: var(--primary-color);
    font-size: 32px; /* Reduzido levemente para não quebrar linha */
    font-weight: 800;
    white-space: nowrap; /* Impede a quebra de linha no número */
}

.stat-item h3 small {
    font-size: 20px; /* Deixa o kWp proporcional e alinhado */
    font-weight: 700;
}

.stat-item p {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 5px;
}

/* SECTIONS COMMON */
.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

.section-title h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

/* CARDS */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
}

/* MAPA (Com truque para esconder o cabeçalho preto) */
.map-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 480px; /* Altura final visível do mapa */
}

.map-container iframe {
    position: absolute;
    top: -65px; /* Empurra o mapa 65px para cima, escondendo a tarja preta */
    left: 0;
    width: 100%;
    height: calc(100% + 65px); /* Compensa a altura perdida */
}

/* CALCULADORA */
.calc-box {
    background: var(--white);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.calc-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.calc-form label {
    font-weight: 600;
}

.calc-form input {
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.calc-result {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px dashed #eee;
}

.result-highlight {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 18px;
}

.result-highlight strong {
    color: #2e7d32;
}

.calc-note {
    font-size: 12px;
    color: #666666;
    margin-top: 20px;
    line-height: 1.4;
    background-color: #f8f9fa;
    padding: 10px 14px;
    border-left: 3px solid var(--primary-color);
    border-radius: 4px;
}

/* CTA & FOOTER */
.cta-section {
    background-color: var(--secondary-color);
    color: var(--white);
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.cta-section p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.text-center {
    text-align: center;
}

.footer {
    background-color: #051329;
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-info h3 {
    color: var(--white);
    margin-bottom: 5px;
}