/* RESET */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;
}

html {

    scroll-behavior: smooth;
}

body {

    font-family: 'Inter', sans-serif;

    background: #07152d;

    color: #ffffff;

    overflow-x: hidden;

    line-height: 1.6;
}

/* VARIÁVEIS */

:root {

    --primary:
        #f4b400;

    --primary-dark:
        #d89d00;

    --dark:
        #07152d;

    --dark-light:
        #0d1f3d;

    --card:
        #10264a;

    --border:
        rgba(255,255,255,0.08);

    --text-gray:
        #bfc7d5;

    --shadow:
        0 10px 30px rgba(0,0,0,0.25);

    --radius:
        18px;
}

/* HEADER */
.header {

    position: fixed;

    top: 0;

    width: 100%;

    height: 84px;

    padding: 0 7%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: rgba(7,21,45,0.92);

    backdrop-filter: blur(12px);

    border-bottom: 1px solid var(--border);

    z-index: 1000;
}

.logo {

    font-size: 1.8rem;

    font-weight: 800;

    color: var(--primary);

    letter-spacing: -1px;
}

.menu {

    display: flex;

    gap: 34px;
}

.menu a {

    text-decoration: none;

    color: white;

    font-size: 0.95rem;

    font-weight: 500;

    transition: 0.3s;
}

.menu a:hover {

    color: var(--primary);
}

/* HERO */
.hero {

    position: relative;

    height: 100vh;

    background:
        url("https://images.unsplash.com/photo-1509391366360-2e959784a276?q=80&w=1600&auto=format&fit=crop");

    background-size: cover;

    background-position: center;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 0 7%;
}

.overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            rgba(7,21,45,0.82),
            rgba(7,21,45,0.88)
        );
}

.hero-content {

    position: relative;

    z-index: 2;

    max-width: 900px;
}

.hero-badge {

    display: inline-flex;

    padding: 12px 24px;

    border-radius: 999px;

    background: rgba(244,180,0,0.12);

    border: 1px solid rgba(244,180,0,0.2);

    color: var(--primary);

    font-size: 0.9rem;

    font-weight: 600;

    margin-bottom: 30px;
}

.hero h1 {

    font-size: 4.5rem;

    line-height: 1.1;

    letter-spacing: -2px;

    margin-bottom: 26px;
}

.hero p {

    color: var(--text-gray);

    max-width: 720px;

    margin: auto;

    font-size: 1.1rem;

    margin-bottom: 40px;
}

.hero-buttons {

    display: flex;

    justify-content: center;

    gap: 18px;
}

.btn-primary,
.btn-secondary {

    height: 56px;

    padding: 0 30px;

    border-radius: 12px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    text-decoration: none;

    font-weight: 600;

    transition: 0.3s;
}

.btn-primary {

    background: var(--primary);

    color: #07152d;
}

.btn-primary:hover {

    background: var(--primary-dark);

    transform: translateY(-2px);
}

.btn-secondary {

    border: 1px solid rgba(255,255,255,0.14);

    color: white;
}

.btn-secondary:hover {

    background: rgba(255,255,255,0.05);
}

/* BENEFÍCIOS */
.beneficios {

    padding: 110px 7%;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;
}

.beneficio-card {

    background: var(--card);

    border-radius: var(--radius);

    border: 1px solid var(--border);

    padding: 34px;

    transition: 0.3s;
}

.beneficio-card:hover {

    transform: translateY(-5px);

    border-color:
        rgba(244,180,0,0.3);
}

.beneficio-card h3 {

    color: var(--primary);

    margin-bottom: 16px;

    font-size: 1.2rem;
}

.beneficio-card p {

    color: var(--text-gray);
}

/* SECTION HEADER */
.section-header {

    text-align: center;

    margin-bottom: 60px;
}

.section-header span {

    color: var(--primary);

    font-size: 0.9rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.section-header h2 {

    font-size: 3rem;

    margin: 18px 0;

    letter-spacing: -1px;
}

.section-header p {

    color: var(--text-gray);

    max-width: 720px;

    margin: auto;
}

/* ENERGIA SOLAR */
.energiaSolar {

    padding: 110px 7%;
}

.energia-content {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 50px;

    align-items: center;
}

.energia-imagem img {

    width: 100%;

    border-radius: 24px;

    box-shadow: var(--shadow);
}

.energia-texto h3 {

    color: var(--primary);

    font-size: 2rem;

    margin-bottom: 24px;
}

.energia-texto p {

    color: var(--text-gray);

    margin-bottom: 18px;
}

.energia-texto ul {

    margin-top: 28px;

    padding-left: 20px;
}

.energia-texto li {

    margin-bottom: 12px;

    color: white;
}

/* FUNCIONAMENTO */

.funcionamento {

    padding: 110px 7%;
}

.funcionamento-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;
}

.funcionamento-card {

    background: var(--card);

    border-radius: var(--radius);

    overflow: hidden;

    border: 1px solid var(--border);

    transition: 0.3s;
}

.funcionamento-card:hover {

    transform: translateY(-5px);
}

.funcionamento-card img {

    width: 100%;

    height: 240px;

    object-fit: cover;
}

.funcionamento-card h3 {

    color: var(--primary);

    padding: 24px 24px 12px;

    font-size: 1.2rem;
}

.funcionamento-card p {

    padding: 0 24px 24px;

    color: var(--text-gray);
}

/* SIMULADOR */

.simulador {

    padding: 110px 7%;
}

.simulador-layout {

    display: grid;

    grid-template-columns:
        1.1fr 1fr;

    gap: 26px;

    align-items: start;
}

/* CARDS */

.card {

    background: var(--card);

    border-radius: var(--radius);

    border: 1px solid var(--border);

    padding: 28px;

    box-shadow: var(--shadow);
}

.card-header {

    margin-bottom: 28px;
}

.card-header h3 {

    font-size: 1.4rem;

    margin-bottom: 10px;
}

.card-header p {

    color: var(--text-gray);
}

/* DDD */
.ddd-container {

    margin-bottom: 24px;
}

.ddd-container label {

    display: block;

    margin-bottom: 10px;

    font-weight: 600;
}

.ddd-container select {

    width: 100%;

    height: 52px;

    border-radius: 12px;

    border: 1px solid var(--border);

    background: #0b1d39;

    color: white;

    padding: 0 16px;

    outline: none;
}

/* TABELA */
.table-wrapper {

    overflow-x: auto;
}

table {

    width: 100%;

    border-collapse: collapse;
}

th {

    background: rgba(244,180,0,0.12);

    color: var(--primary);

    padding: 16px;

    font-size: 0.9rem;
}

td {

    padding: 14px;

    border-bottom: 1px solid var(--border);

    text-align: center;
}

input {

    width: 100%;

    height: 42px;

    border-radius: 10px;

    border: 1px solid var(--border);

    background: #09172e;

    color: white;

    padding: 0 12px;

    outline: none;

    transition: 0.3s;
}

input:focus {

    border-color: var(--primary);

    box-shadow:
        0 0 0 3px rgba(244,180,0,0.1);
}

/* BOTÃO */
#calcularBtn {

    width: 100%;

    height: 56px;

    margin-top: 28px;

    border: none;

    border-radius: 12px;

    background: var(--primary);

    color: #07152d;

    font-size: 1rem;

    font-weight: 700;

    cursor: pointer;

    transition: 0.3s;
}

#calcularBtn:hover {

    background: var(--primary-dark);

    transform: translateY(-2px);
}

/* GRÁFICO */
.grafico-wrapper {

    height: 400px;
}

/* RESULTADOS */
.resultado-container {

    margin-top: 24px;

    display: none;
}

.resultado-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 16px;
}

.resultado-card {

    background: var(--card);

    border-radius: 16px;

    border: 1px solid var(--border);

    padding: 22px;

    transition: 0.3s;
}

.resultado-card:hover {

    transform: translateY(-3px);

    border-color:
        rgba(244,180,0,0.3);
}

.resultado-card span {

    display: block;

    color: var(--text-gray);

    font-size: 0.85rem;

    margin-bottom: 10px;
}

.resultado-card h3 {

    font-size: 1.3rem;
}

/* MARKETPLACE */
.marketplace {

    padding: 110px 7%;
}

.market-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;
}

.market-card {

    background: var(--card);

    border-radius: var(--radius);

    overflow: hidden;

    border: 1px solid var(--border);

    transition: 0.3s;
}

.market-card:hover {

    transform: translateY(-5px);
}

.market-card img {

    width: 100%;

    height: 250px;

    object-fit: cover;
}

.market-content {

    padding: 24px;
}

.market-content h3 {

    color: var(--primary);

    margin-bottom: 12px;
}

.market-content p {

    color: var(--text-gray);

    margin-bottom: 24px;
}

.market-buttons {

    display: flex;

    gap: 12px;
}

.market-buttons button {

    flex: 1;

    height: 46px;

    border-radius: 10px;

    border: none;

    background: var(--primary);

    color: #07152d;

    font-weight: 700;

    cursor: pointer;

    transition: 0.3s;
}

.market-buttons button:hover {

    background: var(--primary-dark);
}

.btn-outline {

    background: transparent !important;

    border: 1px solid var(--primary) !important;

    color: var(--primary) !important;
}

/* SOBRE */
.sobre {

    padding: 110px 7%;
}

.sobre-content {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 60px;

    align-items: center;
}

.sobre-texto span {

    color: var(--primary);

    font-size: 0.9rem;

    font-weight: 700;

    text-transform: uppercase;
}

.sobre-texto h2 {

    font-size: 3rem;

    margin: 18px 0 24px;
}

.sobre-texto p {

    color: var(--text-gray);

    margin-bottom: 18px;
}

.sobre-imagem img {

    width: 100%;

    border-radius: 22px;
}

/* CTA */
.cta {

    padding: 110px 7%;
}

.cta-content {

    background:
        linear-gradient(
            135deg,
            #f4b400,
            #d89d00
        );

    border-radius: 24px;

    padding: 80px;

    text-align: center;

    color: #07152d;
}

.cta-content h2 {

    font-size: 3rem;

    margin-bottom: 24px;
}

.cta-content p {

    max-width: 700px;

    margin: auto auto 34px;

    font-size: 1.05rem;
}

.cta-content a {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    height: 54px;

    padding: 0 30px;

    border-radius: 12px;

    background: #07152d;

    color: white;

    text-decoration: none;

    font-weight: 700;

    transition: 0.3s;
}

.cta-content a:hover {

    transform: translateY(-2px);
}

/* FOOTER */
.footer {

    padding: 70px 7%;

    border-top: 1px solid var(--border);
}

.footer-content {

    text-align: center;
}

.footer-content h3 {

    color: var(--primary);

    font-size: 1.7rem;

    margin-bottom: 18px;
}

.footer-content p {

    color: var(--text-gray);

    margin-bottom: 12px;
}

.footer-content span {

    color: #7e8aa3;

    font-size: 0.9rem;
}

/* RESPONSIVO */
@media(max-width: 1200px) {

    .simulador-layout,
    .energia-content,
    .sobre-content {

        grid-template-columns: 1fr;
    }

    .hero h1 {

        font-size: 3.6rem;
    }
}

@media(max-width: 900px) {

    .beneficios,
    .funcionamento-grid,
    .market-grid {

        grid-template-columns: 1fr;
    }

    .hero h1,
    .section-header h2,
    .sobre-texto h2 {

        font-size: 2.5rem;
    }
}

@media(max-width: 640px) {

    .menu {

        display: none;
    }

    .resultado-grid {

        grid-template-columns: 1fr;
    }

    .hero-buttons {

        flex-direction: column;
    }

    .cta-content {

        padding: 50px 30px;
    }
}