/* =============================================
   LP Panorama de Captacao do Nordeste
   ============================================= */

:root {
    --primary-color: #083FCF;
    --secondary-color: #FC7D55;
    --tertiary-color: #B073FF;
    --text-color: #1F2937;
    --text-light: #6b7280;
    --background-color: #ffffff;
    --border-color: #e5e7eb;
    --shadow-xl: 0 20px 40px rgba(8, 63, 207, 0.12);
    --font-family-headings: 'Outfit', sans-serif;
    --font-family-body: 'Nunito', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

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

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 0;
    cursor: pointer;
    font-family: var(--font-family-headings);
    font-size: 1rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.btn-large {
    min-height: 58px;
    padding: 0 1.8rem;
}

.btn-full {
    width: 100%;
}

.btn-cta {
    color: var(--primary-color);
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

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

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--tertiary-color) 100%);
    border-radius: 999px;
    box-shadow: 0 10px 26px rgba(252, 125, 85, 0.32);
}

.btn-primary:disabled {
    cursor: not-allowed;
    opacity: 0.72;
    transform: none;
}

/* Hero */
.pn-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 5rem 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(252, 125, 85, 0.25) 0%, transparent 28%),
        radial-gradient(circle at 82% 72%, rgba(176, 115, 255, 0.22) 0%, transparent 35%),
        linear-gradient(135deg, #071747 0%, #083FCF 54%, #5b55df 100%);
}

.pn-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
    pointer-events: none;
}

.pn-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.04fr 0.96fr;
    gap: 4rem;
    align-items: center;
}

.pn-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.45rem;
    color: #ffffff;
}

.pn-badge,
.pn-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    border-radius: 999px;
    font-family: var(--font-family-headings);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pn-badge {
    padding: 0.42rem 1rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

.pn-hero-title {
    max-width: 640px;
    font-family: var(--font-family-headings);
    font-size: clamp(2.25rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.pn-hero-title span {
    color: #ffb394;
}

.pn-hero-subtitle {
    max-width: 570px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
    line-height: 1.75;
}

.pn-hero-subtitle strong {
    color: #ffffff;
}

.pn-hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
}

.pn-hero-note {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.9rem;
}

.pn-hero-visual {
    display: flex;
    justify-content: center;
}

.pn-report-card {
    position: relative;
    width: min(100%, 420px);
    min-height: 540px;
    padding: 1.4rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 241, 255, 0.96) 100%);
    box-shadow:
        0 32px 70px rgba(0, 0, 0, 0.28),
        18px 18px 0 rgba(255, 255, 255, 0.08);
    transform: rotate(2deg);
}

.pn-report-card::before {
    content: '';
    position: absolute;
    inset: auto -25% -22% 20%;
    height: 260px;
    background: radial-gradient(circle, rgba(176, 115, 255, 0.24), transparent 68%);
}

.pn-report-topline,
.pn-report-footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-family-headings);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pn-report-topline {
    color: var(--primary-color);
}

.pn-report-footer {
    margin-top: 1.4rem;
    color: #8b5cf6;
}

.pn-report-body {
    position: relative;
    z-index: 1;
    margin-top: 3rem;
}

.pn-report-kicker {
    margin-bottom: 0.6rem;
    color: var(--secondary-color);
    font-family: var(--font-family-headings);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pn-report-body h2 {
    color: #111827;
    font-family: var(--font-family-headings);
    font-size: 2rem;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.pn-report-map {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
    margin-top: 2rem;
}

.pn-report-map span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    border-radius: 16px;
    color: var(--primary-color);
    background: #edf2ff;
    font-family: var(--font-family-headings);
    font-weight: 800;
}

.pn-report-map span:nth-child(3n + 2) {
    color: #8b3fe8;
    background: #f2e9ff;
}

.pn-report-map span:nth-child(3n) {
    color: #d85c35;
    background: #ffece5;
}

.pn-report-bars {
    display: grid;
    gap: 0.75rem;
    margin-top: 2rem;
}

.pn-report-bars span {
    display: block;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-color), var(--tertiary-color));
}

.pn-report-bars span:nth-child(1) {
    width: 92%;
}

.pn-report-bars span:nth-child(2) {
    width: 72%;
    background: linear-gradient(90deg, var(--secondary-color), #ffb394);
}

.pn-report-bars span:nth-child(3) {
    width: 84%;
}

/* Sections */
.pn-context,
.pn-insights {
    padding: 5rem 0;
}

.pn-context {
    background: #ffffff;
}

.pn-insights {
    background: linear-gradient(180deg, #f9fbff 0%, #f5efff 100%);
}

.pn-section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 720px;
    margin: 0 auto 3rem;
    gap: 1rem;
    text-align: center;
}

.pn-section-tag {
    padding: 0.35rem 0.95rem;
    color: var(--primary-color);
    background: #edf2ff;
}

.pn-section-tag--warm {
    color: #c2441f;
    background: #ffece5;
}

.pn-section-header h2 {
    color: var(--text-color);
    font-family: var(--font-family-headings);
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.pn-section-header p {
    max-width: 650px;
    color: var(--text-light);
    font-size: 1.04rem;
    line-height: 1.75;
}

.pn-context-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.pn-context-card,
.pn-insight {
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: #ffffff;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pn-context-card {
    padding: 1.75rem;
}

.pn-context-card:hover,
.pn-insight:hover {
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: var(--shadow-xl);
}

.pn-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 1rem;
    border-radius: 16px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-color), var(--tertiary-color));
}

.pn-context-card h3,
.pn-insight h3 {
    margin-bottom: 0.55rem;
    color: var(--text-color);
    font-family: var(--font-family-headings);
    font-size: 1.15rem;
    line-height: 1.3;
}

.pn-context-card p,
.pn-insight p {
    color: var(--text-light);
    font-size: 0.94rem;
    line-height: 1.65;
}

.pn-insights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.pn-insight {
    padding: 1.5rem;
}

.pn-insight span {
    display: inline-flex;
    margin-bottom: 1.2rem;
    color: var(--secondary-color);
    font-family: var(--font-family-headings);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.pn-center-cta {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

/* Form */
.pn-form-section {
    padding: 5rem 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(252, 125, 85, 0.18), transparent 28%),
        linear-gradient(145deg, #071747 0%, #083FCF 58%, #5736c7 100%);
}

.pn-form-section .container {
    max-width: 900px;
}

.pn-form-card {
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
}

.pn-form-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    text-align: center;
}

.pn-form-header span {
    color: rgba(255, 255, 255, 0.66);
    font-family: var(--font-family-headings);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pn-form-header h2 {
    max-width: 680px;
    margin: 0.6rem auto 0.55rem;
    color: #ffffff;
    font-family: var(--font-family-headings);
    font-size: 1.8rem;
    line-height: 1.2;
}

.pn-form-header p {
    color: rgba(255, 255, 255, 0.72);
}

.pn-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.pn-form-span-2 {
    grid-column: 1 / -1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-group label {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.9rem;
    font-weight: 800;
}

.form-required {
    color: #ffb394;
}

.form-group input,
.form-group select {
    width: 100%;
    height: 50px;
    padding: 0 1rem;
    border: 1.5px solid rgba(255, 255, 255, 0.24);
    border-radius: 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.13);
    font-family: var(--font-family-body);
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.form-group select {
    padding-right: 2.6rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ffffff' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.form-group select option {
    color: #ffffff;
    background: #26318f;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.68);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.input-error {
    border-color: #ff8a8a !important;
    box-shadow: 0 0 0 3px rgba(255, 138, 138, 0.16) !important;
}

.field-error-msg {
    color: #ffd0d0;
    font-size: 0.78rem;
}

.pn-form .btn-primary {
    margin-top: 0.45rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #e8571a 100%);
}

.pn-form-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.8rem;
    text-align: center;
}

@media (max-width: 980px) {
    .pn-hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .pn-hero-copy {
        align-items: center;
        text-align: center;
    }

    .pn-hero-actions {
        align-items: center;
    }

    .pn-report-card {
        transform: none;
    }

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

@media (max-width: 680px) {
    .container {
        padding: 0 1rem;
    }

    .pn-hero {
        min-height: auto;
        padding: 4rem 0;
    }

    .btn {
        width: 100%;
        white-space: normal;
        text-align: center;
    }

    .pn-hero-actions,
    .pn-center-cta {
        width: 100%;
    }

    .pn-report-card {
        min-height: auto;
        padding: 1.15rem;
        border-radius: 22px;
    }

    .pn-report-body {
        margin-top: 2rem;
    }

    .pn-report-body h2 {
        font-size: 1.55rem;
    }

    .pn-context,
    .pn-insights,
    .pn-form-section {
        padding: 4rem 0;
    }

    .pn-context-grid,
    .pn-insights-grid,
    .pn-form-grid {
        grid-template-columns: 1fr;
    }

    .pn-form-card {
        padding: 1.5rem;
        border-radius: 22px;
    }

    .pn-form-header h2 {
        font-size: 1.45rem;
    }

    .pn-form-disclaimer {
        align-items: flex-start;
        text-align: left;
    }
}
