/* ==========================================================================
   1. DESIGN SYSTEM VARIABLES & RESET
   ========================================================================== */

:root {
    --off-white: #FEFDED;
    --deep-green: #003333;
    --teal-green: #09645E;
    --vibrant-green: #E4ED2C;
    --white: #FFFFFF;
    --footer-bg: #003333;
    --border-color: rgba(9, 100, 94, 0.1);
    --border-hover: rgba(9, 100, 94, 0.2);
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Standardized Backgrounds */
    --body-bg-gradient: radial-gradient(circle at 50% 0%, #ffffff 0%, var(--off-white) 100%);
    --glow-top-bg: rgba(9, 100, 94, 0.08);
    --glow-bottom-bg: rgba(228, 237, 44, 0.04);
    --bg-grid-image:
        linear-gradient(to right, rgba(9, 100, 94, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(9, 100, 94, 0.04) 1px, transparent 1px);
    --bg-grid-dark-image:
        linear-gradient(to right, rgba(254, 253, 237, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(254, 253, 237, 0.02) 1px, transparent 1px);
    --process-bg-gradient: radial-gradient(circle at 50% 100%, #ffffff 0%, var(--off-white) 100%);
    --cta-glow-bg: radial-gradient(circle, rgba(9, 100, 94, 0.2) 0%, transparent 70%);
    --cta-grid-image:
        linear-gradient(to right, rgba(254, 253, 237, 0.015) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(254, 253, 237, 0.015) 1px, transparent 1px);
}

/* Subtle Grid Background (dark-green lines over light off-white) */

.bg-grid {
    position: absolute;
    inset: 0;
    background-size: 40px 40px;
    background-image: var(--bg-grid-image);
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    z-index: -1;
    pointer-events: none;
}

/* Mobile Menu Drawer */

.nav-menu-mobile-actions .btn-primary {
    text-align: center;
    padding: 16px;
    font-size: 0.9rem;
    font-weight: 700;
}

/* ==========================================================================
   3. HERO SECTIONS & LAYOUT
   ========================================================================== */

.hero-section {
    min-height: 100svh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 0 30px 0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 80px;
    }
}

/* Left Column Content */

.content-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    /* Prevent grid item from stretching due to wide children */
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 9999px;
    border: 1px solid rgba(9, 100, 94, 0.2);
    background-color: rgba(9, 100, 94, 0.05);
    font-size: 0.6875rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--teal-green);
    width: fit-content;
    margin-bottom: 24px;
    cursor: default;
    transition: background-color 0.3s ease;
}

.eyebrow:hover {
    background-color: rgba(9, 100, 94, 0.1);
}

h1 {
    font-size: 2.75rem;
    font-weight: 600;
    line-height: 1.15;
    color: var(--deep-green);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

@media (min-width: 640px) {
    h1 {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: 3.75rem;
        line-height: 1.1;
    }
}

/* Split Type word wrapper */

.word {
    display: inline-block;
    will-change: transform, opacity;
}

.subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(9, 100, 94, 0.95);
    font-weight: 300;
    max-width: 520px;
    margin-bottom: 36px;
}

@media (min-width: 640px) {
    .subtitle {
        font-size: 1.125rem;
        line-height: 1.65;
    }
}

/* CTAs Container */

.cta-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}

@media (min-width: 640px) {
    .cta-container {
        flex-direction: row;
        align-items: center;
    }
}

/* Buttons Styling */

.btn-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            transparent,
            rgba(255, 255, 255, 0.25),
            transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
    pointer-events: none;
}

.btn-shine:hover::after {
    left: 150%;
    transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 32px;
    background-color: var(--deep-green);
    color: var(--off-white);
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 51, 51, 0.12);
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
}

.btn-modal-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 32px;
    background-color: var(--deep-green);
    color: var(--off-white);
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 51, 51, 0.12);
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
}

.btn-primary:hover,
.btn-modal-primary:hover {
    background-color: var(--teal-green);
    box-shadow: 0 8px 24px rgba(9, 100, 94, 0.25);
    transform: translateY(-2px);
}

/* Trust Seals */

.seals-container {
    padding-top: 36px;
    border-top: 1px solid rgba(9, 100, 94, 0.1);
}

.seals-wrapper {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    align-items: center;
    gap: 16px 28px;
}

.seal-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(9, 100, 94, 0.65);
    cursor: default;
    transition: transform 0.3s, color 0.3s;
}

.seal-item:hover {
    color: var(--deep-green);
    transform: translateY(-2px);
}

.seal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-green);
    transition: color 0.3s, filter 0.3s;
}

.seal-item:hover .seal-icon {
    color: var(--vibrant-green);
    filter: drop-shadow(0 0 5px rgba(228, 237, 44, 0.6));
}

.seal-duplicate {
    display: none !important;
}

@media (max-width: 767px) {
    .seals-container {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        padding-top: 24px;
        border-top: 1px solid rgba(9, 100, 94, 0.1);
    }

    .seals-wrapper {
        display: flex;
        flex-wrap: nowrap;
        width: max-content;
        gap: 0;
        animation: marquee 22s linear infinite;
    }

    .seal-duplicate {
        display: flex !important;
    }

    .seals-wrapper .seal-item {
        flex-shrink: 0;
        white-space: nowrap;
        background-color: rgba(9, 100, 94, 0.03);
        padding: 8px 16px;
        border-radius: 9999px;
        border: 1px solid rgba(9, 100, 94, 0.05);
        margin-right: 16px;
    }

    @keyframes marquee {
        0% {
            transform: translate3d(0, 0, 0);
        }

        100% {
            transform: translate3d(-50%, 0, 0);
        }
    }
}

/* Right Column Visual (Maquininha) */

.visual-col {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 480px;
}

@media (min-width: 1024px) {
    .visual-col {
        height: 620px;
        justify-content: flex-end;
    }
}

.maquininha-container {
    position: relative;
    width: 100%;
    max-width: 340px;
    aspect-ratio: 0.667;
    z-index: 10;
}

@media (min-width: 640px) {
    .maquininha-container {
        max-width: 410px;
    }
}

@media (min-width: 1024px) {
    .maquininha-container {
        max-width: 460px;
    }
}

.maquininha-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    will-change: transform;
    z-index: 10;
}

.maquininha-float-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    will-change: transform;
}

.maquininha-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    filter: drop-shadow(0 10px 20px rgba(0, 51, 51, 0.08));
}

/* Screen overlay */

.maquininha-screen {
    position: absolute;
    top: 15%;
    left: 17%;
    width: 66%;
    height: 28%;
    border-radius: 6px;
    overflow: hidden;
    pointer-events: none;
    z-index: 15;
}

.screen-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(9, 100, 94, 0.35) 0%, rgba(228, 237, 44, 0.15) 60%, transparent 100%);
    mix-blend-mode: screen;
    opacity: 0.15;
    pointer-events: none;
}

.nfc-waves {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.nfc-wave {
    position: absolute;
    inset: 0;
    border: none;
    box-shadow: none;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transform-origin: center;
}

/* Background Aurora / Halo */

.maquininha-halo {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at center, rgba(9, 100, 94, 0.45) 0%, rgba(228, 237, 44, 0.15) 50%, transparent 70%);
    filter: blur(80px);
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
    transform-origin: center;
    will-change: transform, opacity;
}

/* Premium Separated Ambience Shadow Container */

.maquininha-shadow-container {
    position: absolute;
    bottom: -32px;
    left: 10%;
    width: 80%;
    height: 24px;
    pointer-events: none;
    z-index: 2;
    will-change: transform, opacity;
    transform-origin: center;
}

/* Premium Separated Ambience Shadow */

.maquininha-shadow {
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0, 51, 51, 0.35) 0%, rgba(9, 100, 94, 0.15) 45%, transparent 70%);
    filter: blur(14px);
    border-radius: 50%;
    pointer-events: none;
    will-change: transform, opacity, filter;
    transform-origin: center;
}

/* ==========================================================================
   4. FEATURES SECTION (4 FLOATING CARDS)
   ========================================================================== */

.features-section {
    padding: 20px 0 80px 0;
    position: relative;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    width: 100%;
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Glass panel following ds-glass-panel specs */

.feature-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(9, 100, 94, 0.08);
    border-radius: 24px;
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow:
        0 4px 6px -1px rgba(9, 100, 94, 0.02),
        0 20px 40px -4px rgba(9, 100, 94, 0.04);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    background-color: rgba(255, 255, 255, 0.85);
    border-color: rgba(9, 100, 94, 0.25);
    box-shadow:
        0 12px 24px -2px rgba(9, 100, 94, 0.06),
        0 32px 64px -8px rgba(9, 100, 94, 0.1);
}

.card-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: rgba(9, 100, 94, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-green);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        color 0.3s ease,
        background-color 0.3s ease;
}

.feature-card:hover .card-icon-wrapper {
    transform: scale(1.1);
    color: var(--deep-green);
    background-color: rgba(228, 237, 44, 0.45);
    box-shadow: 0 4px 10px rgba(228, 237, 44, 0.25);
}

.card-number {
    font-family: 'Arimo', sans-serif;
    font-size: 2.85rem;
    font-weight: 700;
    color: var(--deep-green);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.card-label {
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(9, 100, 94, 0.8);
    line-height: 1.5;
}

.card-label strong {
    color: var(--deep-green);
    font-weight: 600;
}

/* ==========================================================================
   5. WHY WAIT SECTION (DARK THEME)
   ========================================================================== */

.waiting-section {
    background-color: var(--deep-green);
    color: var(--off-white);
    padding: 100px 0;
    position: relative;
    z-index: 10;
    overflow: hidden;
    text-align: center;
}

.bg-grid-dark {
    background-image: var(--bg-grid-dark-image);
    mask-image: radial-gradient(circle at center, black 50%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 50%, transparent 100%);
}

.waiting-title {
    font-family: 'Arimo', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--off-white);
    max-width: 960px;
    margin: 0 auto 40px auto;
}

@media (min-width: 768px) {
    .waiting-title {
        font-size: 3rem;
    }
}

.text-vibrant {
    color: var(--vibrant-green);
}

.phones-visual-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phones-glow {
    position: absolute;
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, rgba(228, 237, 44, 0.12) 0%, rgba(9, 100, 94, 0.35) 50%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
}

.phones-img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.45));
    pointer-events: none;
    user-select: none;
}

.waiting-content-bottom {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.waiting-text {
    font-family: 'Manrope', sans-serif;
    font-size: 1.05rem;
    line-height: 1.65;
    font-weight: 300;
    color: rgba(254, 253, 237, 0.85);
    max-width: 760px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .waiting-text {
        font-size: 1.125rem;
    }
}

.highlights-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    max-width: 900px;
}

@media (min-width: 768px) {
    .highlights-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.highlight-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(254, 253, 237, 0.05);
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s ease,
        background-color 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    border-color: rgba(228, 237, 44, 0.25);
    background-color: rgba(255, 255, 255, 0.06);
}

.highlight-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(254, 253, 237, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vibrant-green);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        background-color 0.3s ease,
        color 0.3s ease;
}

.highlight-item:hover .highlight-icon-wrapper {
    transform: scale(1.1);
    background-color: var(--vibrant-green);
    color: var(--deep-green);
    box-shadow: 0 4px 15px rgba(228, 237, 44, 0.4);
}

.highlight-text {
    font-family: 'Manrope', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--off-white);
}

.btn-vibrant {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    background-color: var(--vibrant-green);
    color: var(--deep-green);
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(228, 237, 44, 0.2);
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
}

.btn-vibrant:hover {
    background-color: #f2fa41;
    box-shadow: 0 8px 25px rgba(228, 237, 44, 0.4);
    transform: translateY(-2px);
}

/* ==========================================================================
   5.5 CALCULATOR SECTION (INTERACTIVE SAVINGS CALCULATOR)
   ========================================================================== */

.calculator-section {
    background-color: var(--off-white);
    background-image: var(--body-bg-gradient);
    padding: 100px 0;
    position: relative;
    z-index: 10;
}

.calculator-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.calculator-title {
    font-family: 'Arimo', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--deep-green);
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .calculator-title {
        font-size: 3rem;
    }
}

.calculator-subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;
    font-weight: 400;
    color: var(--teal-green);
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

@media (min-width: 768px) {
    .calculator-grid {
        grid-template-columns: 1.1fr 0.9fr;
        /* ~55% and ~45% */
    }
}

@media (min-width: 1024px) {
    .calculator-grid {
        gap: 60px;
    }
}

/* Form elements styling */

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(9, 100, 94, 0.08);
    border-radius: 24px;
    padding: 36px;
    box-shadow:
        0 4px 20px -2px rgba(9, 100, 94, 0.02),
        0 20px 40px -10px rgba(9, 100, 94, 0.04);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .form-group-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
    position: relative;
}

.form-label {
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--deep-green);
    display: flex;
    align-items: center;
    gap: 4px;
}

.form-input,
.form-select {
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--deep-green);
    background-color: var(--solid-white);
    border: 1px solid rgba(9, 100, 94, 0.15);
    border-radius: 12px;
    padding: 14px 18px;
    width: 100%;
    transition: var(--transition-smooth);
    outline: none;
    box-sizing: border-box;
}

.form-input:focus,
.form-select:focus {
    border-color: var(--teal-green);
    box-shadow: 0 0 0 3px rgba(9, 100, 94, 0.08);
}

/* Error state */

.form-input.input-error,
.form-select.input-error {
    border-color: #d32f2f;
    background-color: rgba(211, 47, 47, 0.02);
}

.form-input.input-error:focus,
.form-select.input-error:focus {
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.error-message {
    font-family: 'Manrope', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: #d32f2f;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.form-tip {
    font-family: 'Manrope', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(9, 100, 94, 0.65);
    line-height: 1.4;
    margin-top: 2px;
}

/* Result Card styling */

.calculator-result-card {
    background-color: var(--deep-green);
    border: 1px solid rgba(254, 253, 237, 0.08);
    border-radius: 28px;
    padding: 40px;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 10px 30px -10px rgba(0, 51, 51, 0.2),
        0 30px 60px -15px rgba(0, 51, 51, 0.3);
    z-index: 10;
}

@media (min-width: 768px) {
    .calculator-result-card {
        position: sticky;
        top: 100px;
        /* offset for nav header */
    }
}

.result-card-header {
    border-bottom: 1px solid rgba(254, 253, 237, 0.1);
    padding-bottom: 20px;
    margin-bottom: 24px;
    text-align: left;
}

.result-card-title {
    font-family: 'Arimo', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--off-white);
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Placeholder State */

.result-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    text-align: center;
    padding: 40px 20px;
    gap: 20px;
}

.placeholder-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(254, 253, 237, 0.05);
    border: 1px solid rgba(254, 253, 237, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vibrant-green);
}

.placeholder-text {
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 400;
    color: rgba(254, 253, 237, 0.65);
    max-width: 280px;
}

/* Active Results State */

.result-active-content {
    display: none;
    /* revealed via script */
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
    opacity: 0;
    transform: translateY(15px);
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(254, 253, 237, 0.06);
    font-family: 'Manrope', sans-serif;
}

.result-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(254, 253, 237, 0.7);
}

.result-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    font-weight: 500;
    color: var(--off-white);
}

.result-highlight-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(254, 253, 237, 0.06);
}

.highlight-label {
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--vibrant-green);
}

.highlight-value {
    font-family: 'Arimo', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--vibrant-green);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* Visual Box of Impact */

.impact-box {
    background-color: var(--vibrant-green);
    border-radius: 16px;
    padding: 20px 24px;
    margin: 24px 0;
    text-align: left;
    box-shadow: 0 4px 15px rgba(228, 237, 44, 0.15);
}

.impact-text {
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 500;
    color: var(--deep-green);
}

.impact-amount {
    font-family: 'Arimo', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--deep-green);
    display: inline-block;
    margin-top: 2px;
}

.result-cta-wrapper {
    margin-top: auto;
    width: 100%;
}

.result-cta-btn {
    width: 100%;
    text-align: center;
}

/* ==========================================================================
   6. JORNADA SECTION (HOW IT WORKS - 2 COLUMNS)
   ========================================================================== */

.process-section {
    background-color: var(--off-white);
    background-image: var(--process-bg-gradient);
    padding: 80px 0;
    position: relative;
    z-index: 10;
}

.process-box {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(9, 100, 94, 0.08);
    border-radius: 32px;
    padding: 40px 24px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 4px 20px -2px rgba(9, 100, 94, 0.03),
        0 30px 60px -10px rgba(9, 100, 94, 0.06);
    z-index: 10;
}

@media (min-width: 768px) {
    .process-box {
        padding: 72px 60px;
    }
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (min-width: 1024px) {
    .process-grid {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 80px;
    }
}

.process-left-col {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.process-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 9999px;
    border: 1px solid rgba(9, 100, 94, 0.2);
    background-color: rgba(9, 100, 94, 0.05);
    font-size: 0.6875rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--teal-green);
    width: fit-content;
    margin-bottom: 24px;
    cursor: default;
    transition: background-color 0.3s ease;
}

.process-eyebrow:hover {
    background-color: rgba(9, 100, 94, 0.1);
}

.process-title {
    font-family: 'Arimo', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--deep-green);
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .process-title {
        font-size: 3rem;
    }
}

.process-desc {
    font-family: 'Manrope', sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;
    font-weight: 300;
    color: var(--teal-green);
    margin-bottom: 40px;
}

/* Timeline styles */

.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 36px;
    position: relative;
    padding-left: 36px;
    margin-bottom: 40px;
}

.process-timeline::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 10px;
    bottom: 10px;
    width: 1.5px;
    background-color: rgba(9, 100, 94, 0.25);
}

.timeline-item {
    position: relative;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.timeline-item.highlighted {
    transform: translateX(6px);
}

.timeline-item.highlighted .timeline-dot {
    border-color: var(--vibrant-green);
    background-color: var(--deep-green);
    box-shadow: 0 0 12px var(--vibrant-green);
}

.timeline-item.highlighted .timeline-dot::after {
    background-color: var(--vibrant-green);
}

.timeline-item.highlighted .timeline-title {
    color: var(--teal-green);
    font-weight: 800;
}

.timeline-dot {
    position: absolute;
    left: -36px;
    top: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--teal-green);
    background-color: var(--solid-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.timeline-dot::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--teal-green);
    opacity: 1;
}

.timeline-title {
    font-family: 'Arimo', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--deep-green);
    margin-bottom: 6px;
}

.timeline-text {
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--teal-green);
    line-height: 1.5;
}

.process-link-wrapper {
    display: inline-flex;
    align-items: center;
}

.process-link {
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--teal-green);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
    border-bottom: 1.5px solid transparent;
    padding-bottom: 2px;
}

.process-link:hover {
    color: var(--deep-green);
    border-bottom-color: var(--deep-green);
}

.process-link .icon-arrow {
    transition: transform 0.3s ease;
}

.process-link:hover .icon-arrow {
    transform: translateX(4px);
}

/* 2x2 Grid of Cards */

.grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}

.process-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    /* Force Webkit browser engine clipping behavior on GPU transforms */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
    transform: translateZ(0);
    -webkit-transform: translateZ(0);

    aspect-ratio: 1.15;
    border: 1px solid rgba(9, 100, 94, 0.1);
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.5s ease,
        box-shadow 0.5s ease;
}

/* Animated gradient border glow on hover */

.process-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 25px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(9, 100, 94, 0.3), rgba(228, 237, 44, 0.4), rgba(9, 100, 94, 0.3));
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) border-box;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) border-box;
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 6;
    pointer-events: none;
    animation: borderShimmer 3s ease infinite;
}

@keyframes borderShimmer {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Light sweep / shimmer across the card */

.process-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(105deg,
            transparent 30%,
            rgba(255, 255, 255, 0.15) 50%,
            transparent 70%);
    z-index: 4;
    pointer-events: none;
    transition: none;
}

.process-card:hover,
.process-card.highlighted {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(9, 100, 94, 0.35);
    box-shadow:
        0 12px 28px -4px rgba(9, 100, 94, 0.1),
        0 24px 56px -8px rgba(9, 100, 94, 0.14),
        0 0 0 1px rgba(9, 100, 94, 0.05);
}

.process-card:hover::before,
.process-card.highlighted::before {
    opacity: 1;
}

.process-card:hover::after,
.process-card.highlighted::after {
    left: 150%;
    transition: left 0.8s ease-in-out;
}

.card-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: inherit;
    /* Inherit border-radius to prevent corner leaks */
    padding: 12px;
    opacity: 0.85;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.6s ease;
}

.process-card:hover .card-bg-img,
.process-card.highlighted .card-bg-img {
    transform: scale(1.06);
    opacity: 1;
}

.card-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: rgba(0, 51, 51, 0.75);
    border: 1px solid rgba(228, 237, 44, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 5px 12px;
    border-radius: 9999px;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--vibrant-green);
    z-index: 7;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.process-card:hover .card-tag,
.process-card.highlighted .card-tag {
    transform: translateY(-2px);
    background-color: rgba(0, 51, 51, 0.9);
    box-shadow: 0 4px 16px rgba(0, 51, 51, 0.3);
}

.card-icon-pill {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 51, 51, 0.8), rgba(9, 100, 94, 0.7));
    border: 1px solid rgba(228, 237, 44, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vibrant-green);
    z-index: 7;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        background 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

.process-card:hover .card-icon-pill,
.process-card.highlighted .card-icon-pill {
    transform: scale(1.15) rotate(5deg);
    background: linear-gradient(135deg, var(--teal-green), var(--deep-green));
    border-color: rgba(228, 237, 44, 0.4);
    box-shadow: 0 4px 20px rgba(9, 100, 94, 0.4);
    color: var(--vibrant-green);
}

.card-footer-glass {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 24px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.8) 60%, rgba(255, 255, 255, 0) 100%);
    border-bottom-left-radius: inherit;
    /* Inherit bottom corner radius */
    border-bottom-right-radius: inherit;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 5;
    transition: padding 0.4s ease, background 0.4s ease;
}

.process-card:hover .card-footer-glass,
.process-card.highlighted .card-footer-glass {
    padding-bottom: 24px;
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 60%, rgba(255, 255, 255, 0) 100%);
}

.card-footer-glass .iconify {
    transition: transform 0.3s ease, color 0.3s ease;
}

.process-card:hover .card-footer-glass .iconify,
.process-card.highlighted .card-footer-glass .iconify {
    transform: scale(1.2);
    color: var(--vibrant-green) !important;
}

.card-title {
    font-family: 'Arimo', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--deep-green);
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.process-card:hover .card-title,
.process-card.highlighted .card-title {
    color: var(--teal-green);
}

/* Accessibility utilities */

.invisible {
    opacity: 0;
}

/* Focused outline styling matching DS components */

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--teal-green);
    outline-offset: 4px;
}

/* ==========================================================================
   7. TARGET AUDIENCE CAROUSEL SECTION
   ========================================================================== */

.audience-section {
    background-color: var(--off-white);
    background-image: var(--body-bg-gradient);
    color: var(--teal-green);
    padding: 100px 0;
    position: relative;
    z-index: 10;
    overflow: hidden;
    text-align: center;
}

.audience-header {
    max-width: 800px;
    margin: 0 auto 60px auto;
    padding: 0 24px;
}

.audience-title {
    font-family: 'Arimo', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--deep-green);
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .audience-title {
        font-size: 3rem;
    }
}

/* Carousel Area */

.carousel-viewport {
    position: relative;
    width: 100%;
    max-width: 960px;
    height: 380px;
    margin: 0 auto 50px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Carousel Cards */

.carousel-card {
    position: absolute;
    width: 320px;
    height: 300px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(9, 100, 94, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.6s ease,
        filter 0.6s ease,
        border-color 0.6s ease,
        background-color 0.6s ease,
        box-shadow 0.6s ease;
    cursor: pointer;
    box-sizing: border-box;
    user-select: none;
}

/* Card background enrichment elements */

.card-noise {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.035'/%3E%3C/svg%3E");
    opacity: 0.75;
    pointer-events: none;
    z-index: 1;
}

.card-grid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: 20px 20px;
    background-image: linear-gradient(to right, rgba(9, 100, 94, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(9, 100, 94, 0.02) 1px, transparent 1px);
    pointer-events: none;
    z-index: 1;
}

.card-glow {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(9, 100, 94, 0.25) 0%, transparent 70%);
    filter: blur(20px);
    pointer-events: none;
    z-index: 1;
    transition: var(--transition-smooth);
}

.carousel-card-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.card-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(9, 100, 94, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-green);
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.carousel-card:hover {
    border-color: rgba(9, 100, 94, 0.25);
    box-shadow: 0 10px 25px -10px rgba(9, 100, 94, 0.08);
}

.carousel-card:hover .card-icon-circle {
    transform: scale(1.1);
    background-color: var(--teal-green);
    color: var(--off-white);
    box-shadow: 0 4px 15px rgba(9, 100, 94, 0.2);
}

.carousel-card-title {
    font-family: 'Arimo', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--deep-green);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.carousel-card-desc {
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 300;
    color: rgba(0, 51, 51, 0.7);
}

/* 3D Positions responsive configurations */

.carousel-card.pos-active {
    transform: translateX(0) scale(1.05);
    opacity: 1;
    z-index: 20;
    box-shadow:
        0 15px 35px -10px rgba(0, 0, 0, 0.5),
        0 0 25px rgba(228, 237, 44, 0.08);
    border-color: rgba(228, 237, 44, 0.35);
    background: radial-gradient(circle at top, rgba(228, 237, 44, 0.08) 0%, rgba(9, 100, 94, 0.3) 100%), rgba(0, 51, 51, 0.95);
}

.carousel-card.pos-active .card-grid {
    background-image: linear-gradient(to right, rgba(254, 253, 237, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(254, 253, 237, 0.02) 1px, transparent 1px);
}

.carousel-card.pos-active .card-glow {
    background: radial-gradient(circle, rgba(228, 237, 44, 0.15) 0%, transparent 70%);
    width: 200px;
    height: 200px;
}

.carousel-card.pos-active .card-icon-circle {
    background-color: rgba(254, 253, 237, 0.05);
    color: var(--vibrant-green);
}

.carousel-card.pos-active:hover .card-icon-circle {
    transform: scale(1.1);
    background-color: var(--vibrant-green);
    color: var(--deep-green);
    box-shadow: 0 4px 15px rgba(228, 237, 44, 0.4);
}

.carousel-card.pos-active .carousel-card-title {
    color: var(--off-white);
}

.carousel-card.pos-active .carousel-card-desc {
    color: rgba(254, 253, 237, 0.8);
}

/* Desktop Translations */

.carousel-card.pos-prev {
    transform: translateX(-260px) scale(0.85);
    opacity: 0.3;
    z-index: 10;
    filter: blur(1.5px);
    pointer-events: none;
}

.carousel-card.pos-next {
    transform: translateX(260px) scale(0.85);
    opacity: 0.3;
    z-index: 10;
    filter: blur(1.5px);
    pointer-events: none;
}

/* Tablet Translations (640px to 1023px) */

@media (max-width: 1023px) {
    .carousel-card.pos-prev {
        transform: translateX(-180px) scale(0.85);
    }

    .carousel-card.pos-next {
        transform: translateX(180px) scale(0.85);
    }
}

/* Mobile Translations (<640px) */

@media (max-width: 640px) {
    .carousel-viewport {
        height: 340px;
    }

    .carousel-card {
        width: 280px;
        height: 270px;
        padding: 30px 24px;
    }

    .carousel-card.pos-prev {
        transform: translateX(-90px) scale(0.75);
        opacity: 0.15;
        filter: blur(2px);
    }

    .carousel-card.pos-next {
        transform: translateX(90px) scale(0.75);
        opacity: 0.15;
        filter: blur(2px);
    }
}

/* Nav Buttons */

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(9, 100, 94, 0.04);
    border: 1px solid rgba(9, 100, 94, 0.12);
    color: var(--teal-green);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 30;
    transition: var(--transition-smooth);
    outline: none;
}

.carousel-btn:hover {
    background-color: var(--teal-green);
    border-color: var(--teal-green);
    color: var(--off-white);
    box-shadow: 0 4px 15px rgba(9, 100, 94, 0.25);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.btn-prev {
    left: 20px;
}

.btn-next {
    right: 20px;
}

@media (min-width: 1024px) {
    .btn-prev {
        left: 120px;
    }

    .btn-next {
        right: 120px;
    }
}

/* ==========================================================================
   9. LEAD CAPTURE MODAL STYLING (PARTE A)
   ========================================================================== */

.modal-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 51, 51, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-container {
    background-color: var(--off-white);
    border: 1px solid rgba(9, 100, 94, 0.1);
    border-radius: 24px;
    padding: 40px;
    max-height: 90dvh;
    overflow-y: auto;
    width: 100%;
    max-width: 440px;
    box-shadow:
        0 10px 30px -10px rgba(0, 51, 51, 0.2),
        0 30px 60px -15px rgba(0, 51, 51, 0.3);
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-backdrop.open .modal-container {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--teal-green);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: background-color 0.2s, color 0.2s;
}

.modal-close-btn:hover {
    background-color: rgba(9, 100, 94, 0.08);
    color: var(--deep-green);
}

.modal-header {
    margin-bottom: 28px;
    text-align: left;
}

.modal-title {
    font-family: 'Arimo', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--deep-green);
    line-height: 1.25;
    margin-bottom: 8px;
}

.modal-subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--teal-green);
    font-weight: 400;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.btn-primary:disabled,
.btn-modal-primary:disabled {
    opacity: 0.45;
    background-color: rgba(0, 51, 51, 0.35);
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
}

@media (max-width: 480px) {
    .modal-container {
        padding: 30px 20px;
        border-radius: 20px;
        max-width: calc(100% - 32px);
    }

    .modal-title {
        font-size: 1.35rem;
    }
}

.modal-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(9, 100, 94, 0.1);
    border-left-color: var(--teal-green);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 32px;
    border-radius: 9999px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    background-color: #25D366;
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
}

.btn-whatsapp svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.btn-whatsapp:hover {
    background-color: #20ba59;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .btn-whatsapp {
        padding: 14px 20px;
        font-size: 0.875rem;
        gap: 8px;
    }

    .btn-whatsapp svg {
        width: 18px;
        height: 18px;
    }
}

/* ==========================================================================
   6. FINAL CALL TO ACTION SECTION
   ========================================================================== */

.final-cta-section {
    background-color: var(--deep-green);
    padding: 120px 20px;
    position: relative;
    z-index: 10;
    overflow: hidden;
    text-align: center;
    border-top: 1px solid rgba(254, 253, 237, 0.05);
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background-image: var(--cta-glow-bg);
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
}

.cta-grid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: 30px 30px;
    background-image: var(--cta-grid-image);
    pointer-events: none;
    z-index: 1;
}

.relative-z {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.final-cta-logo {
    margin-bottom: 24px;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.final-cta-logo:hover {
    transform: scale(1.15) rotate(8deg);
}

.final-cta-title {
    font-family: 'Arimo', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--off-white);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

@media (min-width: 768px) {
    .final-cta-title {
        font-size: 3rem;
    }
}

.final-cta-subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 1.15rem;
    font-weight: 300;
    color: rgba(254, 253, 237, 0.8);
    margin-bottom: 48px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.final-cta-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.btn-outline-glass {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    background-color: rgba(254, 253, 237, 0.04);
    color: var(--off-white);
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid rgba(254, 253, 237, 0.15);
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s, transform 0.2s, box-shadow 0.3s;
}

.btn-outline-glass:hover {
    background-color: rgba(254, 253, 237, 0.1);
    border-color: var(--off-white);
    box-shadow: 0 8px 24px rgba(254, 253, 237, 0.05);
    transform: translateY(-2px);
}

/* Responsive refinements */

@media (max-width: 768px) {
    .final-cta-section {
        padding: 80px 20px;
    }

    .final-cta-subtitle {
        font-size: 1.05rem;
        margin-bottom: 36px;
    }

    .final-cta-actions {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        gap: 12px;
    }

    .final-cta-actions a {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   7. SITE FOOTER
   ========================================================================== */

.site-footer {
    background-color: var(--footer-bg);
    color: rgba(254, 253, 237, 0.7);
    padding: 80px 0 40px 0;
    border-top: 1px solid rgba(254, 253, 237, 0.08);
    position: relative;
    z-index: 10;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(254, 253, 237, 0.75);
    max-width: 280px;
}

.footer-links a {
    color: rgba(254, 253, 237, 0.75);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--vibrant-green);
    transform: translateX(4px);
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(254, 253, 237, 0.05);
    color: var(--off-white);
    border: 1px solid rgba(254, 253, 237, 0.1);
    transition: var(--transition-smooth);
}

.footer-socials a:hover {
    background-color: var(--vibrant-green);
    color: var(--deep-green);
    border-color: var(--vibrant-green);
    transform: translateY(-3px) scale(1.05);
}

.footer-contact-info li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    color: rgba(254, 253, 237, 0.75);
}

.footer-legal {
    margin-top: 16px;
    border-top: 1px solid rgba(254, 253, 237, 0.08);
    padding-top: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(254, 253, 237, 0.08);
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(254, 253, 237, 0.55);
    line-height: 1.6;
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: rgba(254, 253, 237, 0.4);
    margin-top: 4px;
}

/* Responsive Breakpoints */

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px;
    }

    .footer-col-identity {
        grid-column: span 2;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding: 60px 0 30px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 40px;
    }

    .footer-col-identity {
        grid-column: span 1;
    }

    .footer-bottom {
        padding-top: 30px;
    }
}

/* ==========================================================================
   8. COMPREHENSIVE RESPONSIVE STYLING REFIT
   ========================================================================== */

/* General container padding for mobile breathing room */

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }
}

/* Mobile Font Scaling to prevent header/title overflows */

@media (max-width: 480px) {
    h1 {
        font-size: 2.15rem;
    }

    .waiting-title,
    .calculator-title,
    .process-title,
    .audience-title,
    .final-cta-title {
        font-size: 1.85rem;
    }
}

/* Navigation Header Mobile Scaling */

@media (max-width: 640px) {
    .nav-container {
        padding: 0 16px;
    }

    .header-logo-img {
        height: 22px;
    }

    .nav-actions {
        gap: 12px;
    }

    .nav-actions .link-client {
        display: none;
        /* Hide link to client in nav on small mobile to save space */
    }

    .nav-actions .btn-primary {
        padding: 8px 14px !important;
        font-size: 0.7rem !important;
    }
}

/* Centering texts on Tablet and Mobile viewports */

@media (max-width: 1023px) {

    /* Hero section alignment */
    .content-col {
        align-items: center;
        text-align: center;
    }

    .eyebrow {
        margin-left: auto;
        margin-right: auto;
    }

    .subtitle {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .cta-container {
        justify-content: center;
        width: 100%;
    }

    .seals-wrapper {
        justify-content: center;
    }

    /* Feature Cards centering */
    .feature-card {
        align-items: center;
        text-align: center;
        padding: 30px 24px;
    }

    /* Timeline Centering refit (removes offset dot line) */
    .process-left-col {
        text-align: center;
        align-items: center;
    }

    .process-eyebrow {
        margin-left: auto;
        margin-right: auto;
    }

    .process-timeline {
        padding-left: 0;
        align-items: center;
        text-align: center;
    }

    .process-timeline::before {
        display: none;
        /* hide vertical connecting timeline bar */
    }

    .timeline-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 36px;
    }

    .timeline-dot {
        position: absolute;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
    }

    .process-link-wrapper {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Buttons stacking on small mobile viewports */

@media (max-width: 640px) {
    .cta-container {
        align-items: center;
    }

    .cta-container a {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }
}

/* Interactive Savings Calculator Form Mobile Layout */

@media (max-width: 640px) {
    .calculator-form {
        padding: 24px 16px;
        border-radius: 16px;
    }

    .calculator-result-card {
        padding: 24px 16px;
        border-radius: 20px;
        min-height: auto;
    }

    .highlight-value {
        font-size: 2rem;
    }

    .impact-box {
        padding: 16px;
    }
}

/* Process card footers text and size adjustments on mobile */

@media (max-width: 640px) {
    .grid-2x2 {
        gap: 12px;
    }

    .process-card {
        border-radius: 16px;
        aspect-ratio: 1.1;
    }

    .process-card::before {
        border-radius: 17px;
    }

    .card-title {
        font-size: 0.75rem;
    }

    .card-footer-glass {
        padding: 10px 12px;
    }

    .process-card:hover .card-footer-glass {
        padding-bottom: 10px;
    }

    .card-tag {
        top: 10px;
        right: 10px;
        padding: 3px 8px;
        font-size: 0.5rem;
        line-height: 1;
    }

    .card-icon-pill {
        top: 10px;
        left: 10px;
        width: 28px;
        height: 28px;
    }

    .card-icon-pill .iconify {
        width: 14px !important;
        height: 14px !important;
    }

    /* Features section mobile overrides */
    .features-grid {
        gap: 12px;
    }

    .feature-card {
        padding: 24px 18px;
        border-radius: 16px;
        gap: 12px;
    }

    .card-icon-wrapper {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .card-icon-wrapper .iconify {
        width: 16px !important;
        height: 16px !important;
    }

    .card-number {
        font-size: 1.85rem;
    }

    .card-label {
        font-size: 0.75rem;
    }
}

/* Target Audience Carousel small UI adjustments */

@media (max-width: 768px) {
    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .btn-prev {
        left: 10px;
    }

    .btn-next {
        right: 10px;
    }
}

/* Adjust carousel arrows on very small mobile viewports to prevent card overlap */

@media (max-width: 440px) {
    .carousel-viewport {
        height: 430px;
    }

    .carousel-btn {
        top: auto;
        bottom: 10px;
        transform: none;
    }

    .btn-prev {
        left: auto;
        right: calc(50% + 8px);
    }

    .btn-next {
        left: calc(50% + 8px);
        right: auto;
    }

    .carousel-btn:active {
        transform: scale(0.95);
    }
}

/* ==========================================================================
   APP PHONE MOCKUPS (HTML/CSS — crédito judicial)
   ========================================================================== */

.card-icon-text {
    font-family: 'Arimo', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

.app-phone {
    --app-w: 250px;
    position: relative;
    width: var(--app-w);
    aspect-ratio: 0.49;
    flex-shrink: 0;
    padding: 9px;
    border-radius: 42px;
    background: linear-gradient(145deg, #2b3b3b 0%, #0d1414 45%, #1d2828 100%);
    box-shadow:
        inset 0 0 0 1.5px rgba(255, 255, 255, 0.12),
        0 30px 60px -15px rgba(0, 0, 0, 0.55),
        0 12px 24px -8px rgba(0, 0, 0, 0.35);
    text-align: left;
}

.app-screen {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 34px;
    overflow: hidden;
    padding: 14px 18px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--off-white);
    font-family: 'Manrope', sans-serif;
    background:
        radial-gradient(circle at 50% 0%, rgba(9, 100, 94, 0.55) 0%, transparent 60%),
        linear-gradient(180deg, #063d3a 0%, #022624 100%);
}

.app-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.68rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.app-notch {
    width: 72px;
    height: 20px;
    border-radius: 999px;
    background: #050909;
}

.app-status-icons {
    width: 26px;
    height: 10px;
    border-radius: 3px;
    border: 1.5px solid rgba(254, 253, 237, 0.7);
}

.app-topbar {
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    color: rgba(254, 253, 237, 0.85);
    margin: 0 0 6px;
}

.app-hero-icon {
    width: 64px;
    height: 64px;
    margin: 18px auto 4px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vibrant-green);
    background: rgba(228, 237, 44, 0.1);
    border: 1px solid rgba(228, 237, 44, 0.25);
}

.app-heading {
    font-family: 'Arimo', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    margin: 0;
}

.app-hello {
    font-family: 'Arimo', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 6px;
}

.app-muted {
    font-size: 0.74rem;
    line-height: 1.45;
    color: rgba(254, 253, 237, 0.65);
    text-align: center;
    margin: 0;
}

.app-center {
    text-align: center;
}

.app-spacer {
    flex: 1;
}

.app-btn {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--vibrant-green);
    color: var(--deep-green);
    font-size: 0.8rem;
    font-weight: 800;
    text-align: center;
    line-height: 1.25;
    box-shadow: 0 8px 20px -6px rgba(228, 237, 44, 0.55);
}

.app-btn--xl {
    padding: 16px 14px;
    font-size: 0.92rem;
}

.app-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px;
    border-radius: 14px;
    background: rgba(254, 253, 237, 0.06);
    border: 1px solid rgba(254, 253, 237, 0.08);
}

.app-row-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--vibrant-green);
    color: var(--deep-green);
}

.app-row-label {
    display: block;
    font-size: 0.66rem;
    color: rgba(254, 253, 237, 0.6);
    margin-bottom: 2px;
}

.app-row-value {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.25;
}

.app-row-value--ok {
    font-size: 0.8rem;
    color: var(--vibrant-green);
}

.app-balance {
    font-family: 'Arimo', sans-serif;
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--vibrant-green);
    line-height: 1.1;
}

.app-chip {
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 700;
    background: rgba(254, 253, 237, 0.1);
}

.app-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.app-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(254, 253, 237, 0.06);
}

.app-step .iconify {
    color: var(--vibrant-green);
}

.app-bar-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 14px;
}

.app-bar-label {
    font-size: 0.74rem;
    font-weight: 600;
    color: rgba(254, 253, 237, 0.75);
}

.app-bar {
    height: 22px;
    border-radius: 6px;
}

.app-bar--red {
    width: 100%;
    background: linear-gradient(90deg, #b3261e 0%, #ef4444 100%);
}

.app-bar--green {
    width: 18%;
    background: var(--vibrant-green);
}

.app-bar-value {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--vibrant-green);
}

.app-bar-value--red {
    color: #f87171;
}

/* Hero phone */

.app-phone--hero {
    --app-w: 290px;
    margin: 0 auto;
    transform: rotate(-4deg);
}

@media (min-width: 1024px) {
    .app-phone--hero {
        --app-w: 320px;
    }
}

.maquininha-float-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-float-badge {
    position: absolute;
    right: -4%;
    bottom: 30%;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 999px;
    background: var(--vibrant-green);
    color: var(--deep-green);
    font-family: 'Arimo', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    box-shadow: 0 16px 32px -10px rgba(0, 51, 51, 0.45);
    transform: rotate(-4deg);
    white-space: nowrap;
}

@media (max-width: 640px) {
    .app-float-badge {
        right: 0;
        font-size: 0.9rem;
        padding: 11px 18px;
    }
}

/* Why-wait phones */

.app-phones {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.app-phone--center {
    transform: translateY(-16px) scale(1.04);
}

@media (max-width: 900px) {
    .app-phones {
        justify-content: flex-start;
        gap: 20px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 24px 16px 32px;
        margin: 0 -16px;
        width: calc(100% + 32px);
        scrollbar-width: none;
    }

    .app-phones::-webkit-scrollbar {
        display: none;
    }

    .app-phone {
        --app-w: 230px;
        scroll-snap-align: center;
    }

    .app-phone--center {
        transform: none;
    }

    .app-phone--hero {
        --app-w: 260px;
    }
}

/* Audience carousel — cards com textos mais longos (Pessoas Físicas / Advogados) */

.carousel-viewport {
    height: 470px;
}

.carousel-card {
    width: 360px;
    height: 410px;
    padding: 36px 30px;
}

.carousel-card-desc {
    font-size: 0.9rem;
}

@media (max-width: 640px) {
    .carousel-viewport {
        height: 470px;
    }

    .carousel-card {
        width: 290px;
        height: 420px;
        padding: 28px 22px;
    }

    .carousel-card-desc {
        font-size: 0.85rem;
    }
}

@media (max-width: 440px) {
    .carousel-viewport {
        height: 520px;
    }
}
