:root {
    --navy-950: #04111a;
    --navy-900: #071722;
    --navy-850: #0a1d2a;
    --navy-800: #0d2433;
    --navy-700: #15384d;

    --gold: #f2c94c;
    --gold-strong: #e7b92e;
    --gold-soft: #f7da78;

    --white: #ffffff;
    --off-white: #f6f7f8;
    --gray-100: #eef1f3;
    --gray-200: #d9dfe3;
    --gray-400: #9ba8b1;
    --gray-600: #5d6a72;
    --gray-800: #26333b;

    --text: #10232e;

    --container: 1180px;

    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;

    --shadow-sm: 0 8px 24px rgba(0,0,0,.08);
    --shadow-md: 0 18px 55px rgba(0,0,0,.16);

    --transition: .25s ease;
}

/* RESET */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.5;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
}

/* BOTÕES */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--gold);
    color: var(--navy-950);
    box-shadow: 0 12px 30px rgba(242,201,76,.22);
}

.btn-primary:hover {
    background: var(--gold-soft);
    box-shadow: 0 14px 35px rgba(242,201,76,.32);
}

.btn-header {
    min-height: 42px;
    background: var(--gold);
    color: var(--navy-950);
}

/* HEADER */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(4,17,26,.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.header-inner {
    height: 78px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    margin-right: auto;
}

.brand-symbol {
    display: flex;
    align-items: baseline;
    gap: 8px;
    color: var(--white);
    font-weight: 900;
    line-height: 1;
}

.brand-tsx {
    font-size: 30px;
    letter-spacing: -.06em;
}

.brand-solar {
    color: var(--gold);
    font-size: 14px;
    letter-spacing: .18em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-nav a {
    position: relative;
    color: rgba(255,255,255,.82);
    font-size: 13px;
    font-weight: 700;
    transition: color var(--transition);
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition);
}

.main-nav a:hover {
    color: var(--white);
}

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

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    color: var(--white);
    font-size: 30px;
}

/* HERO */

.hero {
    position: relative;
    min-height: 780px;
    display: flex;
    align-items: center;
    padding-top: 78px;
    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(4,17,26,.96) 0%,
            rgba(4,17,26,.91) 35%,
            rgba(4,17,26,.56) 62%,
            rgba(4,17,26,.24) 100%
        ),
        radial-gradient(
            circle at 80% 42%,
            rgba(242,201,76,.24),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #081a27 0%,
            #102d3f 42%,
            #d09b3a 100%
        );
}

.hero::after {
    content: "";
    position: absolute;
    right: -5%;
    bottom: -8%;
    width: 62%;
    height: 70%;
    opacity: .36;
    transform: skewX(-8deg);
    background:
        repeating-linear-gradient(
            90deg,
            transparent 0 58px,
            rgba(255,255,255,.10) 58px 61px
        ),
        repeating-linear-gradient(
            0deg,
            transparent 0 46px,
            rgba(255,255,255,.08) 46px 49px
        ),
        linear-gradient(
            145deg,
            rgba(18,48,67,.7),
            rgba(4,17,26,.2)
        );
    border-radius: 45px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            transparent 55%,
            rgba(4,17,26,.32) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: center;
    gap: 60px;
}

.hero-text {
    max-width: 730px;
}

.eyebrow {
    margin: 0 0 22px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .22em;
}

.hero h1 {
    margin: 0;
    color: var(--white);
    font-size: clamp(48px, 6vw, 82px);
    line-height: .98;
    letter-spacing: -.045em;
    font-weight: 900;
}

.hero h1 strong {
    color: var(--gold);
    font-weight: 900;
}

.hero-description {
    max-width: 560px;
    margin: 28px 0 30px;
    color: rgba(255,255,255,.78);
    font-size: 18px;
    line-height: 1.6;
}

.hero-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 22px;
    max-width: 620px;
    margin-bottom: 34px;
}

.benefit {
    display: flex;
    gap: 12px;
    align-items: center;
    color: var(--white);
}

.benefit-icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(242,201,76,.46);
    border-radius: 50%;
    color: var(--gold);
    font-size: 17px;
}

.benefit strong {
    display: block;
    font-size: 13px;
}

.benefit small {
    color: rgba(255,255,255,.56);
    font-size: 11px;
}

.hero-side-message {
    align-self: end;
    margin-bottom: 94px;
    color: var(--white);
    text-align: right;
}

.hero-side-message span,
.hero-side-message strong {
    display: block;
}

.hero-side-message span {
    font-size: 18px;
}

.hero-side-message strong {
    color: var(--gold);
    font-size: 30px;
    font-weight: 900;
}

/* SOLUÇÕES */

.solutions {
    padding: 0 0 90px;
    background: var(--white);
}

.solution-grid {
    position: relative;
    z-index: 3;
    margin-top: -60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.solution-card {
    position: relative;
    min-height: 360px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background:
        linear-gradient(
            180deg,
            rgba(13,36,51,.18),
            rgba(4,17,26,.90)
        ),
        linear-gradient(
            135deg,
            #39586a,
            #0a1b28
        );
}

.solution-card.residencial {
    background:
        linear-gradient(
            180deg,
            rgba(13,36,51,.08),
            rgba(4,17,26,.92)
        ),
        linear-gradient(135deg, #6c7d83, #163345);
}

.solution-card.empresarial {
    background:
        linear-gradient(
            180deg,
            rgba(13,36,51,.10),
            rgba(4,17,26,.92)
        ),
        linear-gradient(135deg, #8d9292, #203846);
}

.solution-card.agro {
    background:
        linear-gradient(
            180deg,
            rgba(13,36,51,.10),
            rgba(4,17,26,.92)
        ),
        linear-gradient(135deg, #847048, #1e3943);
}

.solution-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            90deg,
            transparent 0 40px,
            rgba(255,255,255,.035) 40px 42px
        );
    opacity: .7;
}

.card-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            transparent 20%,
            rgba(4,17,26,.76) 72%,
            rgba(4,17,26,.98) 100%
        );
}

.solution-content {
    position: absolute;
    z-index: 2;
    left: 28px;
    right: 28px;
    bottom: 28px;
}

.solution-content h2 {
    margin: 0 0 10px;
    color: var(--white);
    font-size: 28px;
}

.solution-content p {
    margin: 0 0 18px;
    color: rgba(255,255,255,.68);
    font-size: 14px;
}

.solution-content a {
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
}

/* SIMULADOR + PROCESSO */

.calculator-process {
    padding: 90px 0;
    background:
        linear-gradient(
            90deg,
            var(--off-white) 0 50%,
            var(--navy-900) 50% 100%
        );
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
}

.section-kicker {
    margin: 0 0 14px;
    color: var(--navy-900);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .16em;
}

.section-kicker strong {
    color: var(--gold-strong);
}

.section-kicker.light {
    color: var(--white);
}

.solar-calculator h2,
.process h2 {
    margin: 0 0 34px;
    font-size: 34px;
    line-height: 1.15;
    letter-spacing: -.03em;
}

.process h2 {
    color: var(--white);
}

.form-row {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 16px;
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--gray-800);
    font-size: 12px;
    font-weight: 700;
}

.form-group input,
.form-group select {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    outline: none;
    color: var(--text);
    background: var(--white);
    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(242,201,76,.13);
}

.simulation-result {
    margin-top: 22px;
}

.simulation-result:not(:empty) {
    padding: 20px;
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.process-steps {
    display: grid;
    gap: 12px;
}

.process-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.process-step span {
    grid-row: 1 / 3;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(242,201,76,.54);
    border-radius: 50%;
    color: var(--gold);
    font-weight: 900;
}

.process-step strong {
    color: var(--white);
    font-size: 15px;
}

.process-step small {
    color: rgba(255,255,255,.56);
    font-size: 12px;
}

/* PROJETOS */

.projects {
    padding: 100px 0;
    background: var(--white);
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 36px;
}

.projects-header h2 {
    margin: 0;
    color: var(--navy-900);
    font-size: clamp(44px, 6vw, 72px);
    line-height: .95;
    letter-spacing: -.045em;
}

.projects-header p:last-child {
    max-width: 540px;
    color: var(--gray-600);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.project-card {
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.project-image {
    height: 260px;
    background:
        linear-gradient(
            180deg,
            rgba(4,17,26,.08),
            rgba(4,17,26,.52)
        ),
        repeating-linear-gradient(
            90deg,
            #325063 0 56px,
            #1b3445 56px 60px
        );
}

.project-info {
    padding: 18px 20px 20px;
}

.project-info strong,
.project-info span {
    display: block;
}

.project-info strong {
    margin-bottom: 4px;
    color: var(--navy-900);
    font-size: 16px;
}

.project-info span {
    color: var(--gray-600);
    font-size: 12px;
}

/* POR QUE TSX */

.why-tsx {
    padding: 90px 0;
    background: var(--navy-900);
}

.why-tsx h2 {
    margin: 0 0 48px;
    color: var(--white);
    text-align: center;
    font-size: clamp(34px, 5vw, 54px);
    letter-spacing: -.04em;
}

.why-tsx h2 strong {
    color: var(--gold);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.why-item {
    text-align: center;
    color: var(--white);
}

.why-item > span {
    width: 62px;
    height: 62px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(242,201,76,.42);
    border-radius: 50%;
    color: var(--gold);
    font-size: 24px;
}

.why-item strong {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

.why-item p {
    margin: 0;
    color: rgba(255,255,255,.52);
    font-size: 12px;
}

/* REGIONAL */

.regional {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(4,17,26,.96) 0%,
            rgba(4,17,26,.70) 55%,
            rgba(4,17,26,.22) 100%
        ),
        linear-gradient(
            135deg,
            #0b2736 0%,
            #856a32 68%,
            #d2a74a 100%
        );
}

.regional::after {
    content: "";
    position: absolute;
    right: -4%;
    bottom: -18%;
    width: 54%;
    height: 75%;
    border-radius: 60% 0 0 0;
    background:
        repeating-linear-gradient(
            90deg,
            transparent 0 52px,
            rgba(255,255,255,.09) 52px 55px
        );
    transform: rotate(-4deg);
}

.regional-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 76% 40%,
            rgba(242,201,76,.23),
            transparent 35%
        );
}

.regional-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 390px;
    align-items: end;
    gap: 80px;
}

.regional-text p {
    margin: 0 0 8px;
    color: var(--white);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .16em;
}

.regional-text h2 {
    max-width: 720px;
    margin: 0;
    color: var(--white);
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1;
    letter-spacing: -.04em;
}

.regional-text h2 strong {
    color: var(--gold);
}

.regional-location {
    color: var(--white);
}

.regional-location strong {
    display: block;
    margin-bottom: 10px;
    color: var(--gold);
    font-size: 13px;
}

.regional-location p {
    margin: 0;
    color: rgba(255,255,255,.64);
    font-size: 13px;
}

/* FOOTER */

.site-footer {
    background: var(--navy-950);
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr 1.2fr 1fr;
    gap: 50px;
    padding-top: 68px;
    padding-bottom: 58px;
}

.footer-logo {
    margin-bottom: 16px;
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -.06em;
}

.footer-logo span {
    margin-left: 6px;
    color: var(--gold);
    font-size: 14px;
    letter-spacing: .18em;
}

.footer-brand p {
    margin: 0;
    color: rgba(255,255,255,.5);
    font-size: 11px;
    letter-spacing: .12em;
    line-height: 1.7;
}

.site-footer h3 {
    margin: 0 0 18px;
    color: var(--gold);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .10em;
}

.footer-nav,
.footer-contact,
.footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-nav a,
.footer-contact p,
.footer-social a:not(.btn) {
    margin: 0 0 9px;
    color: rgba(255,255,255,.58);
    font-size: 12px;
}

.footer-nav a:hover,
.footer-social a:not(.btn):hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
}

.footer-social .btn {
    min-height: 42px;
    font-size: 11px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
}

.footer-bottom .container {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255,255,255,.38);
    font-size: 11px;
}

/* RESPONSIVO */

@media (max-width: 1050px) {

    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav.is-open {
        position: absolute;
        top: 78px;
        left: 20px;
        right: 20px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        border-radius: 16px;
        background: var(--navy-900);
        box-shadow: var(--shadow-md);
    }

    .main-nav.is-open a {
        padding: 14px 12px;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-side-message {
        display: none;
    }

    .why-grid {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 36px;
    }

    .regional-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 820px) {

    .header-inner {
        height: 70px;
    }

    .btn-header {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 150px 0 125px;
    }

    .hero h1 {
        font-size: clamp(42px, 13vw, 64px);
    }

    .solution-grid {
        grid-template-columns: 1fr;
        margin-top: -50px;
    }

    .solution-card {
        min-height: 280px;
    }

    .calculator-process {
        padding: 0;
        background: var(--white);
    }

    .two-column {
        width: 100%;
        max-width: none;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .solar-calculator,
    .process {
        padding: 70px 24px;
    }

    .solar-calculator {
        background: var(--off-white);
    }

    .process {
        background: var(--navy-900);
    }

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

    .project-image {
        height: 220px;
    }

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

    .regional {
        min-height: 480px;
    }
}

@media (max-width: 560px) {

    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .brand-tsx {
        font-size: 26px;
    }

    .hero-benefits {
        grid-template-columns: 1fr;
    }

    .hero-description {
        font-size: 16px;
    }

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

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

    .regional-content {
        align-items: start;
    }

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

    .footer-bottom .container {
        padding: 18px 0;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================================================
   AJUSTES VISUAIS DO HERO - TSX SOLAR
   ========================================================= */

@media (min-width: 1051px) {

    .hero {
        min-height: 640px;
        padding-top: 78px;
    }

    .hero-content {
        grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
        gap: 30px;
    }

    .hero-text {
        max-width: 620px;
        padding: 54px 0 70px;
    }

    .hero h1 {
        font-size: clamp(50px, 5vw, 70px);
        line-height: .98;
    }

    .hero-description {
        max-width: 500px;
        margin-top: 22px;
        margin-bottom: 24px;
        font-size: 16px;
    }

    .hero-benefits {
        max-width: 560px;
        gap: 10px 18px;
        margin-bottom: 26px;
    }

    .hero-side-message {
        align-self: start;
        margin-top: 110px;
        margin-bottom: 0;
        padding-right: 20px;
    }

    .solution-grid {
        margin-top: -42px;
    }

}

/* =========================================================
   HERO COM IMAGEM OFICIAL APROVADA
   ========================================================= */

.hero {
    background:
        linear-gradient(
            90deg,
            rgba(4,17,26,.48) 0%,
            rgba(4,17,26,.28) 38%,
            rgba(4,17,26,.06) 68%,
            rgba(4,17,26,.03) 100%
        ),
        url('../img/hero-tsx.webp') center center / cover no-repeat;
}

.hero::after {
    display: none;
}


/* =========================================================
   LOGO OFICIAL - CABEÇALHO
   ========================================================= */

.brand {
    display: flex;
    align-items: center;
}

.brand-logo {
    display: block;
    width: auto;
    height: 46px;
    object-fit: contain;
}

@media (max-width: 820px) {
    .brand-logo {
        height: 40px;
    }
}


/* =========================================================
   CORREÇÃO DEFINITIVA DA LOGO NO HEADER
   ========================================================= */

.site-header .brand {
    flex: 0 0 125px;
    width: 125px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.site-header .brand img.brand-logo {
    display: block !important;
    width: 125px !important;
    height: 66px !important;
    max-width: 125px !important;
    max-height: 66px !important;
    object-fit: contain !important;
}

.site-header .btn-header {
    white-space: nowrap;
}

@media (max-width: 820px) {

    .site-header .brand {
        flex-basis: 105px;
        width: 105px;
        height: 58px;
    }

    .site-header .brand img.brand-logo {
        width: 105px !important;
        height: 58px !important;
        max-width: 105px !important;
        max-height: 58px !important;
    }

}


/* =========================================================
   LOGO - TAMANHO FINAL APROXIMADO DO MOCKUP
   ========================================================= */

.header-inner {
    height: 94px;
}

.site-header .brand {
    flex: 0 0 185px;
    width: 185px;
    height: 88px;
    overflow: visible;
}

.site-header .brand img.brand-logo {
    width: 180px !important;
    height: 86px !important;
    max-width: 180px !important;
    max-height: 86px !important;
    object-fit: contain !important;
}

.hero {
    padding-top: 94px;
}

@media (max-width: 820px) {

    .header-inner {
        height: 76px;
    }

    .site-header .brand {
        flex-basis: 145px;
        width: 145px;
        height: 70px;
    }

    .site-header .brand img.brand-logo {
        width: 140px !important;
        height: 68px !important;
        max-width: 140px !important;
        max-height: 68px !important;
    }

    .hero {
        padding-top: 76px;
    }
}


/* =========================================================
   SOLUÇÕES - RESIDENCIAL / EMPRESARIAL / AGRONEGÓCIO
   ========================================================= */

.solution-grid {
    gap: 16px;
}

.solution-card {
    min-height: 320px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,.14);
    transition:
        transform .28s ease,
        box-shadow .28s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0,0,0,.22);
}

.solution-card::before {
    display: none;
}

.solution-card.residencial {
    background:
        linear-gradient(
            180deg,
            rgba(4,17,26,.05) 0%,
            rgba(4,17,26,.18) 42%,
            rgba(4,17,26,.95) 100%
        ),
        url('../img/hero-tsx.webp') 72% center / cover no-repeat;
}

.solution-card.empresarial {
    background:
        linear-gradient(
            180deg,
            rgba(4,17,26,.05) 0%,
            rgba(4,17,26,.22) 42%,
            rgba(4,17,26,.96) 100%
        ),
        url('../img/hero-tsx.webp') 50% center / cover no-repeat;
}

.solution-card.agro {
    background:
        linear-gradient(
            180deg,
            rgba(4,17,26,.05) 0%,
            rgba(4,17,26,.20) 42%,
            rgba(4,17,26,.96) 100%
        ),
        url('../img/hero-tsx.webp') 28% center / cover no-repeat;
}

.solution-content {
    left: 24px;
    right: 24px;
    bottom: 22px;
}

.solution-content h2 {
    margin-bottom: 6px;
    font-size: 26px;
    letter-spacing: .02em;
}

.solution-content p {
    max-width: 280px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.35;
}

.solution-content a {
    color: var(--gold);
    font-size: 11px;
    font-weight: 900;
}


/* =========================================================
   SIMULADOR SOLAR + COMO FUNCIONA
   ========================================================= */

.calculator-process {
    padding: 72px 0;
    background:
        linear-gradient(
            90deg,
            #f7f8f9 0%,
            #f7f8f9 50%,
            #071722 50%,
            #071722 100%
        );
}

.calculator-process .two-column {
    gap: 0;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 18px 55px rgba(0,0,0,.12);
}

.solar-calculator {
    padding: 48px 46px;
    background: #ffffff;
}

.solar-calculator .section-kicker {
    margin-bottom: 8px;
    font-size: 24px;
    letter-spacing: .02em;
    font-weight: 500;
}

.solar-calculator .section-kicker strong {
    color: #f2c94c;
    font-weight: 900;
}

.solar-calculator h2 {
    max-width: 500px;
    margin-bottom: 30px;
    color: #5d6a72;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: 0;
}

.solar-calculator .form-row {
    gap: 14px;
}

.solar-calculator .form-group label {
    margin-bottom: 7px;
    color: #26333b;
    font-size: 12px;
}

.solar-calculator input,
.solar-calculator select {
    height: 54px;
    border-radius: 5px;
    border: 1px solid #d9dfe3;
    background: #fff;
}

.solar-calculator .btn-primary {
    margin-top: 6px;
    min-height: 52px;
    border-radius: 6px;
    padding-left: 26px;
    padding-right: 26px;
}

/* COMO FUNCIONA */

.process {
    padding: 48px 46px;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(242,201,76,.09),
            transparent 35%
        ),
        #071722;
}

.process .section-kicker {
    margin-bottom: 8px;
    font-size: 24px;
    letter-spacing: .02em;
    font-weight: 500;
}

.process .section-kicker strong {
    color: #f2c94c;
    font-weight: 900;
}

.process h2 {
    margin-bottom: 32px;
    color: rgba(255,255,255,.66);
    font-size: 15px;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.process-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    text-align: center;
    border: 0;
}

.process-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 23px;
    left: calc(50% + 28px);
    width: calc(100% - 44px);
    height: 1px;
    background: rgba(242,201,76,.28);
}

.process-step span {
    position: relative;
    z-index: 2;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(242,201,76,.62);
    border-radius: 50%;
    background: #071722;
    color: #f2c94c;
    font-size: 15px;
    font-weight: 900;
}

.process-step strong {
    margin-bottom: 4px;
    color: #fff;
    font-size: 11px;
    text-transform: uppercase;
}

.process-step small {
    max-width: 100px;
    color: rgba(255,255,255,.46);
    font-size: 10px;
    line-height: 1.35;
}

/* MOBILE */

@media (max-width: 820px) {

    .calculator-process {
        padding: 0;
        background: #fff;
    }

    .calculator-process .two-column {
        border-radius: 0;
        box-shadow: none;
    }

    .solar-calculator,
    .process {
        padding: 55px 24px;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .process-step {
        display: grid;
        grid-template-columns: 48px 1fr;
        grid-template-rows: auto auto;
        column-gap: 14px;
        text-align: left;
        align-items: center;
    }

    .process-step span {
        grid-row: 1 / 3;
        margin: 0;
    }

    .process-step:not(:last-child)::after {
        display: none;
    }

    .process-step small {
        max-width: none;
    }
}


/* =========================================================
   FRASES MANUSCRITAS DO MOCKUP
   ========================================================= */

/* "O sol trabalha por você!" */

.hero-side-message {
    position: relative;
    align-self: start;
    margin-top: 100px;
    margin-bottom: 0;
    padding-right: 28px;
    text-align: center;
    transform: rotate(-3deg);
}

.hero-side-message span,
.hero-side-message strong {
    font-family: "Caveat", cursive;
    font-weight: 700;
}

.hero-side-message span {
    color: #ffffff;
    font-size: 34px;
    line-height: .9;
}

.hero-side-message strong {
    position: relative;
    display: block;
    margin-top: 4px;
    color: #f2c94c;
    font-size: 46px;
    line-height: .95;
}

.hero-side-message strong::after {
    content: "";
    position: absolute;
    left: 18%;
    right: 8%;
    bottom: -10px;
    height: 4px;
    border-radius: 999px;
    background: #f2c94c;
    transform: rotate(-5deg);
}


/* "É rápido e sem compromisso!" */

.simulator-note {
    position: absolute;
    left: auto;
    right: 35px;
    top: 358px;
    display: flex;
    align-items: center;
    gap: 2px;
    color: #071722;
    transform: rotate(-5deg);
    pointer-events: none;
}

.simulator-note-arrow {
    font-family: "Caveat", cursive;
    font-size: 58px;
    line-height: .7;
    color: #071722;
    transform: rotate(18deg);
}

.simulator-note-text {
    font-family: "Caveat", cursive;
    font-size: 27px;
    line-height: .88;
    font-weight: 700;
    color: #26333b;
    white-space: nowrap;
}

@media (max-width: 1050px) {

    .hero-side-message {
        display: none;
    }

    .simulator-note {
        position: static;
        margin-top: 18px;
        justify-content: center;
        transform: rotate(-4deg);
    }
}


/* =========================================================
   CALIGRAFIA REFINADA - IGUAL AO MOCKUP
   ========================================================= */

/* O sol trabalha por você! */

.hero-side-message {
    width: 320px;
    margin-top: 92px;
    padding-right: 0;
    text-align: center;
    transform: rotate(-4deg);
}

.hero-side-message span,
.hero-side-message strong {
    font-family: "Allura", cursive !important;
    font-weight: 400 !important;
    color: #071722 !important;
    letter-spacing: 0;
}

.hero-side-message span {
    font-size: 46px !important;
    line-height: .85;
}

.hero-side-message strong {
    margin-top: -2px;
    font-size: 50px !important;
    line-height: .85;
}

.hero-side-message strong::after {
    left: 31%;
    right: 2%;
    bottom: -9px;
    height: 4px;
    background: #f2c94c;
    transform: rotate(-6deg);
}


/* É rápido e sem compromisso! */

.simulator-note {
    right: 35px;
    top: 360px;
    gap: 5px;
    transform: rotate(-6deg);
}

.simulator-note-text {
    font-family: "Allura", cursive !important;
    font-size: 31px !important;
    line-height: .78;
    font-weight: 400 !important;
    color: #071722 !important;
}

.simulator-note-arrow {
    font-family: "Allura", cursive !important;
    font-size: 48px;
    font-weight: 400;
    color: #071722;
    transform: rotate(12deg);
}



/* =========================================================
   CALIGRAFIA FINAL — BASEADA NA PRÉVIA APROVADA
   ========================================================= */


/* ---------- O SOL TRABALHA POR VOCÊ ---------- */

.hero-content {
    position: relative;
}

.hero-side-message {
    position: absolute !important;
    top: 72px !important;
    right: 22px !important;

    width: 310px !important;

    margin: 0 !important;
    padding: 0 !important;

    text-align: center !important;

    transform: rotate(-4deg) !important;

    z-index: 5;
}

.hero-side-message span,
.hero-side-message strong {
    display: block !important;

    margin: 0 !important;

    font-family: "La Belle Aurore", cursive !important;
    font-weight: 400 !important;

    color: #071722 !important;

    letter-spacing: -0.03em !important;

    text-shadow: none !important;
}

.hero-side-message span {
    font-size: 38px !important;
    line-height: 1 !important;
}

.hero-side-message strong {
    position: relative !important;

    margin-top: -5px !important;

    font-size: 37px !important;
    line-height: 1 !important;
}


/* risco amarelo abaixo da frase */

.hero-side-message strong::after {
    content: "" !important;

    position: absolute !important;

    width: 145px !important;
    height: 4px !important;

    left: auto !important;
    right: 8px !important;
    bottom: -10px !important;

    border-radius: 999px !important;

    background: #f4b400 !important;

    transform: rotate(-7deg) !important;
}


/* ---------- É RÁPIDO E SEM COMPROMISSO ---------- */

.solar-calculator {
    position: relative !important;
}

.simulator-note {
    position: absolute !important;

    top: 350px !important;
    right: 30px !important;
    left: auto !important;

    display: flex !important;
    align-items: flex-end !important;

    gap: 3px !important;

    margin: 0 !important;

    transform: rotate(-5deg) !important;

    color: #071722 !important;

    pointer-events: none;
}

.simulator-note-text {
    display: block !important;

    font-family: "La Belle Aurore", cursive !important;
    font-size: 22px !important;
    font-weight: 400 !important;

    line-height: .85 !important;

    letter-spacing: -0.03em !important;

    color: #071722 !important;

    white-space: nowrap !important;
}


/* seta curva */

.simulator-note-arrow {
    display: block !important;

    width: 56px !important;
    height: 38px !important;

    margin-right: -2px !important;
    margin-bottom: -2px !important;

    color: #071722 !important;

    transform: none !important;

    font-size: 0 !important;
}

.simulator-note-arrow svg {
    display: block;

    width: 56px;
    height: 38px;

    overflow: visible;
}


/* ---------- RESPONSIVO ---------- */

@media (max-width: 1050px) {

    .hero-side-message {
        display: none !important;
    }

    .simulator-note {
        position: static !important;

        margin-top: 15px !important;

        justify-content: center !important;

        transform: rotate(-4deg) !important;
    }
}


/* =========================================================
   HERO — TIPOGRAFIA DA PRÉVIA APROVADA
   ========================================================= */

.hero .eyebrow {
    display: none !important;
}

.hero-text {
    max-width: 500px !important;
    padding-top: 34px !important;
    padding-bottom: 30px !important;
}

.hero h1 {
    max-width: 500px !important;
    margin: 0 !important;

    font-family: "Montserrat", Arial, sans-serif !important;
    font-size: 39px !important;
    line-height: 1.08 !important;
    font-weight: 300 !important;
    letter-spacing: .04em !important;

    color: #fff !important;
}

.hero h1 strong {
    color: #f4b400 !important;
    font-weight: 700 !important;
    font-size: 1.14em !important;
    letter-spacing: .015em !important;
}

.hero-description {
    max-width: 390px !important;
    margin: 17px 0 25px !important;

    font-size: 13px !important;
    line-height: 1.45 !important;
}

.hero-benefits {
    width: 500px !important;
    max-width: 500px !important;

    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px !important;

    margin-bottom: 22px !important;
}

.hero .benefit strong {
    font-size: 9px !important;
}

.hero .benefit small {
    font-size: 8px !important;
}

.hero .btn-primary {
    min-width: 250px !important;
    min-height: 46px !important;
}


/* =========================================================
   FRASE "O SOL TRABALHA POR VOCÊ" — AJUSTE FINAL
   ========================================================= */

.hero-side-message span,
.hero-side-message strong {
    color: #ffffff !important;

    text-shadow:
        0 2px 5px rgba(4,17,26,.55) !important;
}

.hero-side-message span {
    font-size: 44px !important;
}

.hero-side-message strong {
    font-size: 43px !important;
}

.hero-side-message strong::after {
    background: #f4b400 !important;
    height: 4px !important;
}


/* =========================================================
   HERO = ARTE EXATA DO PROSPECTO APROVADO
   ========================================================= */

.hero-prospecto {
    position: relative;
    display: block;
    width: 100%;
    margin-top: 94px;
    padding: 0;
    overflow: hidden;
    background: #071722;
}

.hero-prospecto-img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

/* cobre somente o pequeno pedaço da logo duplicada
   existente no canto superior esquerdo da própria arte */
.hero-prospecto-mask {
    position: absolute;
    top: 0;
    left: 0;

    width: 27%;
    height: 9%;

    z-index: 2;

    background:
        linear-gradient(
            90deg,
            #071722 0%,
            #071722 58%,
            rgba(7,23,34,.92) 76%,
            rgba(7,23,34,0) 100%
        );

    pointer-events: none;
}

/* torna clicável exatamente a área do botão da própria arte */
.hero-prospecto-cta {
    position: absolute;
    left: 5.1%;
    top: 81.4%;

    width: 24.6%;
    height: 12.8%;

    z-index: 5;

    border-radius: 999px;
}

/* impede que os cards invadam o hero */
.hero-prospecto + .solutions {
    padding-top: 15px !important;
}

.hero-prospecto + .solutions .solution-grid {
    margin-top: 0 !important;
}

/* mobile */
@media (max-width: 820px) {

    .hero-prospecto {
        margin-top: 76px;
    }

    .hero-prospecto-mask {
        width: 31%;
        height: 10%;
    }

}

/* =========================================================
   ANOTAÇÃO EXATA DO PROSPECTO — SIMULADOR
   ========================================================= */

.simulator-note.simulator-note-approved {
    position: absolute !important;

    top: 365px !important;
    right: 18px !important;
    left: auto !important;

    width: 180px !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    display: block !important;

    transform: none !important;

    pointer-events: none !important;

    z-index: 5 !important;
}

.simulator-note-approved-img {
    display: block !important;

    width: 100% !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* desativa os elementos antigos */
.simulator-note-arrow,
.simulator-note-text {
    display: none !important;
}


@media (max-width: 1050px) {

    .simulator-note.simulator-note-approved {
        position: static !important;

        width: 170px !important;

        margin: 16px auto 0 !important;
    }

}


/* =========================================================
   ANOTAÇÃO APROVADA AO LADO DO BOTÃO DO SIMULADOR
   ========================================================= */

.simulator-action-row {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 6px;
}

.simulator-action-row .btn {
    flex: 0 0 auto;
    margin: 0 !important;
}

.simulator-note-approved-img {
    display: block;
    width: 180px;
    height: auto;
    flex: 0 0 180px;
    object-fit: contain;
}

@media (max-width: 700px) {

    .simulator-action-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .simulator-note-approved-img {
        width: 165px;
        flex-basis: auto;
        margin-left: 18px;
    }
}


/* =========================================================
   CONTATO APÓS SIMULAÇÃO
   ========================================================= */

.tsx-lead-area {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #e4e8eb;
}

.tsx-lead-title {
    margin-bottom: 4px;

    color: #071722;

    font-size: 18px;
    font-weight: 800;
}

.tsx-lead-subtitle {
    margin: 0 0 16px;

    color: #5d6a72;

    font-size: 12px;
    line-height: 1.45;
}

.tsx-lead-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}

.tsx-lead-btn {
    min-height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 18px;

    border-radius: 7px;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: .035em;

    text-decoration: none;

    cursor: pointer;
}

.tsx-lead-btn-whatsapp {
    border: 1px solid #071722;

    background: #071722;
    color: #ffffff;
}

.tsx-lead-btn-contact {
    border: 1px solid #f2c94c;

    background: #f2c94c;
    color: #071722;
}

.tsx-lead-form-wrap {
    margin-top: 18px;

    padding: 18px;

    border-radius: 10px;

    background: #f6f7f8;
}

.tsx-lead-form-wrap[hidden] {
    display: none !important;
}

.tsx-lead-form {
    display: grid;

    grid-template-columns:
        1fr
        1fr
        1fr;

    gap: 12px;
}

.tsx-lead-field label {
    display: block;

    margin-bottom: 6px;

    color: #26333b;

    font-size: 11px;
    font-weight: 700;
}

.tsx-lead-field input {
    width: 100%;
    height: 46px;

    padding: 0 12px;

    border: 1px solid #d9dfe3;
    border-radius: 6px;

    outline: none;

    background: #ffffff;

    color: #071722;
}

.tsx-lead-field input:focus {
    border-color: #f2c94c;

    box-shadow:
        0 0 0 3px
        rgba(242,201,76,.14);
}

.tsx-lead-submit {
    grid-column: 1 / -1;

    min-height: 46px;

    border: 0;
    border-radius: 7px;

    background: #071722;
    color: #ffffff;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: .05em;

    cursor: pointer;
}

.tsx-lead-submit:disabled {
    opacity: .65;
    cursor: wait;
}

.tsx-lead-status {
    grid-column: 1 / -1;

    color: #8a2e2e;

    font-size: 12px;
    line-height: 1.45;
}

.tsx-lead-status.is-success {
    padding: 11px 13px;

    border-radius: 7px;

    background: #edf7ef;

    color: #1e6731;
}


@media (max-width: 700px) {

    .tsx-lead-actions {
        flex-direction: column;
    }

    .tsx-lead-btn {
        width: 100%;
    }

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

}

/* =========================================================
   AJUSTE — BOTÕES DE CONTATO LADO A LADO
   ========================================================= */

.tsx-lead-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.tsx-lead-btn {
    width: 100%;
    min-height: 56px;
    padding: 0 18px;
    text-align: center;
}

@media (max-width: 700px) {
    .tsx-lead-actions {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   CORREÇÃO DE ÂNCORAS COM CABEÇALHO FIXO
   ========================================================= */

html {
    scroll-padding-top: 94px;
}

#inicio,
#solucoes,
#simulador,
#como-funciona,
#projetos,
#sobre,
#contato {
    scroll-margin-top: 94px;
}

@media (max-width: 820px) {

    html {
        scroll-padding-top: 76px;
    }

    #inicio,
    #solucoes,
    #simulador,
    #como-funciona,
    #projetos,
    #sobre,
    #contato {
        scroll-margin-top: 76px;
    }

}
