﻿.regularizacao-premium {
    --reg-dark: #06111f;
    --reg-deep: #020b14;
    --reg-panel: #081827;
    --reg-panel-2: #0b2033;
    --reg-orange: #ff8a00;
    --reg-orange-light: #ffae32;
    --reg-white: #ffffff;
    --reg-text: #152033;
    --reg-muted: #5a6575;
    --reg-soft: #f3f6fb;
    --reg-border: rgba(255, 255, 255, 0.14);
    background: var(--reg-soft);
    color: var(--reg-text);
    overflow: hidden;
}

.regularizacao-premium * {
    box-sizing: border-box;
}

.reg-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.reg-hero-premium {
    position: relative;
    isolation: isolate;
    min-height: 620px;
    padding: 72px 0 48px;
    background:
        radial-gradient(circle at 76% 18%, rgba(255, 138, 0, 0.24), transparent 30%),
        radial-gradient(circle at 18% 80%, rgba(37, 211, 102, 0.12), transparent 28%),
        linear-gradient(112deg, rgba(2, 11, 20, 0.98) 0%, rgba(6, 17, 31, 0.94) 48%, rgba(6, 17, 31, 0.76) 100%),
        url("../img/fundo-solar-home.png") center / cover no-repeat;
}

.reg-hero-premium::before,
.reg-hero-premium::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: -1;
}

.reg-hero-premium::before {
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 138, 0, 0.18), transparent 34%, rgba(255, 255, 255, 0.08) 72%, transparent);
    opacity: 0.46;
}

.reg-hero-premium::after {
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 138, 0, 0.75), transparent);
}

.reg-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.82fr);
    gap: 48px;
    align-items: center;
}

.reg-kicker,
.reg-section-head span,
.reg-authority-copy > span,
.reg-region-box span,
.reg-final-cta-box span {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    padding: 7px 12px;
    border: 1px solid rgba(255, 138, 0, 0.34);
    border-radius: 999px;
    background: rgba(255, 138, 0, 0.1);
    color: var(--reg-orange-light);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0;
}

.reg-hero-copy h1 {
    margin: 16px 0 16px;
    max-width: 760px;
    color: var(--reg-white);
    font-size: 46px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: 0;
}

.reg-hero-copy h1::selection,
.reg-section-head h2::selection,
.reg-authority-copy h2::selection {
    background: rgba(255, 138, 0, 0.35);
}

.reg-hero-copy p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.6;
}

.reg-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.reg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 23px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.15;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.reg-btn-primary {
    color: #170d02;
    background: linear-gradient(135deg, var(--reg-orange), var(--reg-orange-light));
    box-shadow: 0 18px 38px rgba(255, 138, 0, 0.28);
}

.reg-btn-secondary {
    color: var(--reg-white);
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
}

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

.reg-btn-secondary:hover {
    border-color: rgba(255, 138, 0, 0.48);
    background: rgba(255, 138, 0, 0.12);
}

.reg-benefit-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    max-width: 620px;
    margin-top: 22px;
}

.reg-benefit-strip div {
    min-height: 68px;
    padding: 13px 14px;
    border: 1px solid var(--reg-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.reg-benefit-strip strong,
.reg-benefit-strip span {
    display: block;
}

.reg-benefit-strip strong {
    color: var(--reg-white);
    font-size: 16px;
    line-height: 1.15;
}

.reg-benefit-strip span {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12.5px;
    line-height: 1.3;
}

.reg-hero-media {
    position: relative;
    min-height: 472px;
}

.reg-hero-media img {
    display: block;
    width: 100%;
    height: 472px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.45);
}

.reg-hero-note {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    padding: 15px 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(2, 11, 20, 0.78);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.32);
}

.reg-hero-note strong,
.reg-hero-note span {
    display: block;
}

.reg-hero-note strong {
    color: var(--reg-white);
    font-size: 17px;
    line-height: 1.2;
}

.reg-hero-note span {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.45;
}

.reg-section {
    padding: 70px 0;
}

.reg-services-section {
    padding-bottom: 58px;
    background:
        linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
}

.reg-section-head {
    max-width: 820px;
    margin-bottom: 28px;
}

.reg-section-head span {
    background: rgba(255, 138, 0, 0.11);
    color: #a75300;
}

.reg-section-head h2,
.reg-authority-copy h2,
.reg-region-box h2,
.reg-final-cta-box h2 {
    margin: 16px 0 12px;
    font-size: 36px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: 0;
}

.reg-section-head h2,
.reg-region-box h2 {
    color: #101827;
}

.reg-section-head p,
.reg-region-box p {
    margin: 0;
    color: var(--reg-muted);
    font-size: 16px;
    line-height: 1.65;
}

.reg-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.reg-card {
    overflow: hidden;
    min-height: 382px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: linear-gradient(180deg, #0c1f32, #071423);
    box-shadow: 0 22px 50px rgba(6, 17, 31, 0.18);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.reg-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 138, 0, 0.32);
    box-shadow: 0 28px 58px rgba(6, 17, 31, 0.26);
}

.reg-card img {
    display: block;
    width: 100%;
    height: 166px;
    object-fit: cover;
    filter: saturate(1.04) contrast(1.03);
}

.reg-card-body {
    padding: 20px;
}

.reg-card-body span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 30px;
    margin-bottom: 14px;
    border-radius: 8px;
    background: rgba(255, 138, 0, 0.14);
    color: var(--reg-orange-light);
    font-size: 12px;
    font-weight: 900;
}

.reg-card-body h3 {
    margin: 0 0 10px;
    color: var(--reg-white);
    font-size: 21px;
    line-height: 1.2;
}

.reg-card-body p {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
    line-height: 1.58;
}

.reg-authority-section {
    padding: 64px 0 56px;
    background:
        radial-gradient(circle at 90% 20%, rgba(255, 138, 0, 0.18), transparent 31%),
        linear-gradient(135deg, var(--reg-deep), var(--reg-dark));
}

.reg-authority-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 44px;
    align-items: center;
}

.reg-authority-copy h2 {
    max-width: 760px;
    color: var(--reg-white);
}

.reg-authority-copy p {
    max-width: 710px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 16px;
    line-height: 1.7;
}

.reg-authority-list {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.reg-authority-list div {
    position: relative;
    padding: 15px 16px 15px 42px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.45;
}

.reg-authority-list div::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 18px;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--reg-orange);
    box-shadow: 0 0 0 5px rgba(255, 138, 0, 0.13);
}

.reg-engineer-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
}

.reg-engineer-card img {
    display: block;
    width: 100%;
    height: 385px;
    object-fit: cover;
    object-position: center top;
}

.reg-engineer-card div {
    padding: 20px;
}

.reg-engineer-card strong,
.reg-engineer-card span {
    display: block;
}

.reg-engineer-card strong {
    color: var(--reg-white);
    font-size: 18px;
    line-height: 1.25;
}

.reg-engineer-card span {
    margin-top: 7px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.45;
}

.reg-problems-section {
    scroll-margin-top: 96px;
    padding-top: 58px;
    padding-bottom: 68px;
    background:
        radial-gradient(circle at 12% 12%, rgba(255, 138, 0, 0.14), transparent 24%),
        linear-gradient(180deg, #06111f 0%, #0a1726 100%);
}

.reg-section-head-dark h2 {
    color: var(--reg-white);
}

.reg-section-head-dark p {
    color: rgba(255, 255, 255, 0.72);
}

.reg-section-head-dark span {
    color: var(--reg-orange-light);
    border-color: rgba(255, 138, 0, 0.36);
    background: rgba(255, 138, 0, 0.11);
}

.reg-problem-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.reg-problem-list article {
    position: relative;
    min-height: 136px;
    padding: 22px 22px 20px 58px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.065);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
}

.reg-problem-list article > span {
    position: absolute;
    top: 25px;
    left: 22px;
    width: 19px;
    height: 19px;
    border: 2px solid rgba(255, 174, 50, 0.88);
    border-radius: 999px;
}

.reg-problem-list article > span::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: var(--reg-orange-light);
}

.reg-problem-list h3 {
    margin: 0 0 8px;
    color: var(--reg-white);
    font-size: 18px;
    line-height: 1.25;
}

.reg-problem-list p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.55;
}

.reg-region-section {
    padding: 56px 0 34px;
    background:
        linear-gradient(180deg, #0a1726 0, #0a1726 36px, #f4f7fb 37px, #f8fafc 100%);
}

.reg-region-box {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 34px;
    align-items: center;
    padding: 30px 34px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background:
        radial-gradient(circle at 92% 12%, rgba(255, 138, 0, 0.16), transparent 34%),
        linear-gradient(135deg, #071423, #0b2033);
    box-shadow: 0 24px 54px rgba(6, 17, 31, 0.18);
}

.reg-region-box span {
    color: #a75300;
}

.reg-region-box h2 {
    margin-bottom: 0;
    font-size: 30px;
    color: var(--reg-white);
}

.reg-region-box p {
    color: rgba(255, 255, 255, 0.76);
}

.reg-final-cta {
    padding: 32px 0 72px;
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
}

.reg-final-cta-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 30px 34px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background:
        radial-gradient(circle at 88% 20%, rgba(255, 138, 0, 0.22), transparent 32%),
        linear-gradient(135deg, var(--reg-deep), var(--reg-panel));
    box-shadow: 0 24px 58px rgba(6, 17, 31, 0.22);
}

.reg-final-cta-box .reg-btn {
    white-space: nowrap;
}

.reg-final-cta-box h2 {
    max-width: 760px;
    color: var(--reg-white);
    font-size: 31px;
    margin-bottom: 8px;
}

.reg-final-cta-box p {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 15px;
    line-height: 1.55;
}

@media (max-width: 1020px) {
    .reg-hero-grid,
    .reg-authority-grid,
    .reg-region-box,
    .reg-final-cta-box {
        grid-template-columns: 1fr;
    }

    .reg-hero-grid,
    .reg-authority-grid {
        gap: 30px;
    }

    .reg-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .reg-hero-media,
    .reg-hero-media img {
        min-height: 400px;
        height: 400px;
    }

    .reg-engineer-card {
        max-width: 520px;
    }

    .reg-final-cta-box .reg-btn {
        justify-self: start;
    }
}

@media (max-width: 720px) {
    .reg-shell {
        width: min(100% - 28px, 520px);
    }

    .reg-hero-premium {
        min-height: auto;
        padding: 36px 0 34px;
    }

    .reg-hero-copy h1 {
        font-size: 31px;
        line-height: 1.08;
    }

    .reg-hero-copy p,
    .reg-section-head p,
    .reg-authority-copy p,
    .reg-region-box p {
        font-size: 15px;
        line-height: 1.58;
    }

    .reg-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 20px;
    }

    .reg-btn {
        width: 100%;
        min-height: 48px;
        padding: 0 18px;
    }

    .reg-benefit-strip {
        grid-template-columns: 0.9fr 0.68fr 1.42fr;
        gap: 7px;
        margin-top: 18px;
    }

    .reg-benefit-strip div {
        min-height: 74px;
        padding: 10px 8px;
    }

    .reg-benefit-strip strong {
        font-size: 13px;
        line-height: 1.18;
        overflow-wrap: normal;
        word-break: normal;
    }

    .reg-benefit-strip span {
        font-size: 10.5px;
        line-height: 1.28;
    }

    .reg-hero-media,
    .reg-hero-media img {
        min-height: 292px;
        height: 292px;
    }

    .reg-hero-note {
        position: static;
        margin-top: 12px;
        background: rgba(2, 11, 20, 0.9);
    }

    .reg-section,
    .reg-authority-section {
        padding: 48px 0;
    }

    .reg-section-head {
        margin-bottom: 22px;
    }

    .reg-section-head h2,
    .reg-authority-copy h2 {
        font-size: 28px;
        line-height: 1.16;
    }

    .reg-card-grid,
    .reg-problem-list {
        grid-template-columns: 1fr;
    }

    .reg-card {
        min-height: auto;
    }

    .reg-card img {
        height: 158px;
    }

    .reg-card-body {
        padding: 20px;
    }

    .reg-card-body h3,
    .reg-problem-list h3 {
        font-size: 20px;
    }

    .reg-engineer-card img {
        height: 320px;
    }

    .reg-problem-list article {
        min-height: auto;
        padding: 20px 18px 18px 52px;
    }

    .reg-problems-section {
        scroll-margin-top: 76px;
        padding-top: 46px;
        padding-bottom: 50px;
    }

    .reg-region-section {
        padding: 42px 0 28px;
        background:
            linear-gradient(180deg, #0a1726 0, #0a1726 24px, #f4f7fb 25px, #f8fafc 100%);
    }

    .reg-region-box {
        padding: 22px 20px;
        gap: 18px;
    }

    .reg-region-box h2,
    .reg-final-cta-box h2 {
        font-size: 26px;
        line-height: 1.18;
    }

    .reg-final-cta {
        padding: 30px 0 66px;
    }

    .reg-final-cta-box {
        padding: 24px 20px;
        gap: 20px;
    }

    body:has(.regularizacao-premium) .botao-whatsapp-fixo {
        right: 10px;
        bottom: 10px;
        min-height: 36px;
        height: 36px;
        padding: 0 13px;
        font-size: 12px;
        box-shadow: 0 12px 26px rgba(37, 211, 102, 0.32);
    }
}

@media (prefers-reduced-motion: reduce) {
    .regularizacao-premium *,
    .regularizacao-premium *::before,
    .regularizacao-premium *::after {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

