/* ==========================================================================
   1. DESIGN SYSTEM VARIABLES & RESET (Fiel ao design-system.html e index.html)
   ========================================================================== */

:root {
    --off-white: #FAF9F2;
    --deep-green: #003333;
    --teal-green: #09645E;
    --vibrant-green: #E4ED2C;
    --solid-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-dot-grid-image: radial-gradient(rgba(9, 100, 94, 0.12) 1.5px, transparent 1.5px);
    --glow-blob-1-bg: rgba(9, 100, 94, 0.05);
    --glow-blob-2-bg: rgba(228, 237, 44, 0.06);
    --hero-radial-glow-image: radial-gradient(circle, rgba(228, 237, 44, 0.08) 0%, rgba(9, 100, 94, 0.03) 50%, transparent 70%);
}

/* Selection styling */

.invisible {
    opacity: 0;
    visibility: hidden;
}

/* Mobile Menu Drawer */

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

/* 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-primary:hover {
    background-color: var(--teal-green);
    box-shadow: 0 8px 24px rgba(9, 100, 94, 0.25);
    transform: translateY(-2px);
}

/* ==========================================================================
   3. HERO SECTIONS & LAYOUT (Centralizado com Carrossel de Segmentos)
   ========================================================================== */

.para-quem-hero-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    padding: 140px 0 100px 0;
    background-color: var(--off-white);
    overflow: hidden;
    box-sizing: border-box;
}

.hero-fade-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--off-white));
    pointer-events: none;
    z-index: 5;
}

.hero-text-center {
    width: 100%;
    margin: 0 auto 30px auto;
    text-align: center;
    z-index: 10;
    max-width: 800px;
}

.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: 20px;
    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: 16px;
}

@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 & interactions */

.word {
    display: inline-block;
    will-change: transform, opacity;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease;
    cursor: default;
}

.word:hover {
    transform: translateY(-4px) scale(1.08) rotate(-1deg);
    color: var(--teal-green);
    text-shadow: 0 4px 12px rgba(9, 100, 94, 0.1);
}

.nowrap {
    white-space: nowrap;
}

.highlight-text-gradient {
    background: linear-gradient(90deg, var(--teal-green) 0%, var(--deep-green) 35%, var(--teal-green) 50%, var(--deep-green) 65%, var(--teal-green) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    white-space: nowrap;
    animation: textSheen 6s linear infinite;
}

.highlight-text-gradient .word {
    background: inherit;
    background-size: inherit;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: inherit;
    display: inline-block;
}

.highlight-text-gradient::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--vibrant-green);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px;
    z-index: -1;
}

.para-quem-hero-section.revealed .highlight-text-gradient::after {
    transform: scaleX(1);
    transition-delay: 0.2s;
}

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

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

/* Background elements */

.bg-dot-grid {
    position: absolute;
    inset: 0;
    background-size: 32px 32px;
    background-image: var(--bg-dot-grid-image);
    /* Mask que responde à posição do cursor */
    mask-image: radial-gradient(circle 350px at var(--mouse-x, 50%) var(--mouse-y, 50%), black 20%, rgba(0, 0, 0, 0.15) 70%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle 350px at var(--mouse-x, 50%) var(--mouse-y, 50%), black 20%, rgba(0, 0, 0, 0.15) 70%, transparent 100%);
    z-index: -1;
    pointer-events: none;
    transition: mask-image 0.15s ease, -webkit-mask-image 0.15s ease;
}

.glow-blob-1 {
    position: absolute;
    top: -10%;
    left: 5%;
    width: 450px;
    height: 450px;
    background-color: var(--glow-blob-1-bg);
    border-radius: 43% 57% 41% 59% / 57% 45% 55% 43%;
    filter: blur(90px);
    pointer-events: none;
    z-index: -2;
    animation: organicFloat 18s ease-in-out infinite alternate;
}

.glow-blob-2 {
    position: absolute;
    bottom: 5%;
    right: 5%;
    width: 500px;
    height: 500px;
    background-color: var(--glow-blob-2-bg);
    border-radius: 59% 41% 57% 43% / 45% 57% 43% 55%;
    filter: blur(100px);
    pointer-events: none;
    z-index: -2;
    animation: organicFloatInverse 22s ease-in-out infinite alternate;
}

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

@keyframes organicFloat {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        border-radius: 43% 57% 41% 59% / 57% 45% 55% 43%;
    }
    50% {
        transform: translate(30px, -20px) scale(1.05) rotate(45deg);
        border-radius: 50% 50% 30% 70% / 50% 60% 40% 50%;
    }
    100% {
        transform: translate(-10px, 30px) scale(0.95) rotate(90deg);
        border-radius: 35% 65% 55% 45% / 45% 35% 65% 55%;
    }
}

@keyframes organicFloatInverse {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        border-radius: 59% 41% 57% 43% / 45% 57% 43% 55%;
    }
    50% {
        transform: translate(-40px, 15px) scale(0.95) rotate(-60deg);
        border-radius: 40% 60% 45% 55% / 55% 40% 60% 45%;
    }
    100% {
        transform: translate(20px, -30px) scale(1.03) rotate(-120deg);
        border-radius: 55% 45% 60% 40% / 40% 55% 45% 60%;
    }
}

/* ==========================================================================
   4. CARROSSEL HORIZONTAL DE SEGMENTOS & MOBILE TIMELINE
   ========================================================================== */

/* Estilos comuns para círculos e tipografia dos segmentos */

.segment-circle-icon {
    border-radius: 50%;
    background: linear-gradient(135deg, var(--solid-white) 0%, #FAFBF6 100%);
    border: 2px solid rgba(9, 100, 94, 0.12);
    color: var(--teal-green);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 6px 15px -3px rgba(9, 100, 94, 0.03),
        0 10px 20px -5px rgba(9, 100, 94, 0.05),
        inset 0 -3px 6px rgba(9, 100, 94, 0.02);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
    position: relative;
}

/* Pulsing active background glow behind circle icon */

.segment-circle-icon::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(9, 100, 94, 0.15) 0%, transparent 70%);
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.5s ease;
    z-index: -1;
    pointer-events: none;
}

.segment-title {
    font-family: 'Arimo', sans-serif;
    font-weight: 700;
    color: var(--deep-green);
    transition: color 0.4s ease;
}

.segment-hook {
    font-family: 'Manrope', sans-serif;
    transition: color 0.4s ease;
}

.segment-body {
    font-family: 'Manrope', sans-serif;
    transition: color 0.4s ease;
}

/* Mouse Spotlight Follower */

.mouse-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(228, 237, 44, 0.12) 0%, rgba(9, 100, 94, 0.05) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -2;
    transform: translate(-50%, -50%);
    will-change: transform;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.segment-number {
    position: absolute;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
    color: rgba(9, 100, 94, 0.22);
    transition: color 0.4s ease, text-shadow 0.4s ease;
    letter-spacing: -0.05em;
    z-index: 4;
}

.carousel-item.active .segment-number {
    color: var(--teal-green);
    font-weight: 700;
}

.active-ring-spinner {
    position: absolute;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    color: rgba(228, 237, 44, 0.85);
    z-index: 1;
}

.carousel-item.active .active-ring-spinner {
    opacity: 1;
    animation: activeRingSpin 16s linear infinite;
}

.card-shine {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.5s ease;
    mix-blend-mode: overlay;
}

@keyframes activeRingSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Metallic text sheen animation */

@keyframes textSheen {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* DESKTOP STYLES (1024px e acima) */

@media (min-width: 1024px) {
    .para-quem-hero-section {
        min-height: 100vh;
        height: auto;
        padding-top: 150px;
        padding-bottom: 100px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .carousel-scroll-wrapper {
        position: relative;
        width: 100%;
        max-width: 1280px;
        margin: 50px auto 0 auto;
        padding: 20px 24px;
        box-sizing: border-box;
    }

    .carousel-track {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        padding: 0;
        width: 100%;
        position: relative;
        z-index: 2;
    }

    /* Trilho Horizontal desativado */
    .carousel-track-line {
        display: none;
    }

    /* Glassmorphism premium card */
    .carousel-item {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        position: relative;
        z-index: 2;
        padding: 40px 30px;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.55);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(9, 100, 94, 0.12);
        box-shadow: 0 10px 30px -10px rgba(9, 100, 94, 0.04);
        transition: transform 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),
                    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        opacity: 1;
        filter: none;
        transform: translateY(0);
    }

    .carousel-item:hover {
        transform: translateY(-8px);
        background: rgba(255, 255, 255, 0.8);
        border-color: rgba(9, 100, 94, 0.25);
        box-shadow: 0 20px 45px -10px rgba(9, 100, 94, 0.1),
                    inset 0 1px 1px rgba(255, 255, 255, 0.8);
    }

    .segment-number {
        top: 24px;
        right: 30px;
        font-size: 0.85rem;
        font-family: 'JetBrains Mono', monospace;
        font-weight: 700;
        color: rgba(9, 100, 94, 0.25);
        transition: color 0.3s ease;
    }

    .carousel-item:hover .segment-number {
        color: var(--teal-green);
    }

    .segment-circle-icon {
        width: 90px;
        height: 90px;
        margin-bottom: 28px;
        background: var(--deep-green);
        color: var(--vibrant-green);
        border-color: var(--deep-green);
        box-shadow: 0 10px 20px rgba(0, 51, 51, 0.15);
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .carousel-item:hover .segment-circle-icon {
        transform: scale(1.08) rotate(5deg);
        box-shadow: 0 12px 25px rgba(0, 51, 51, 0.22),
                    0 0 15px rgba(228, 237, 44, 0.2);
    }

    /* Micro animação de flutuação no ícone ao passar o mouse */
    .carousel-item:hover .segment-circle-icon .iconify {
        animation: iconFloatMicro 2s infinite ease-in-out;
    }

    .segment-title {
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--deep-green);
        margin-bottom: 14px;
        transition: color 0.3s ease;
    }

    .carousel-item:hover .segment-title {
        color: var(--teal-green);
    }

    .segment-hook {
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--teal-green);
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .segment-body {
        font-size: 0.875rem;
        color: rgba(9, 100, 94, 0.75);
        line-height: 1.6;
    }

    .active-ring-spinner {
        display: none !important;
    }

    .card-shine {
        display: none !important;
    }

    @keyframes iconFloatMicro {
        0%, 100% { transform: translateY(0) scale(1); }
        50% { transform: translateY(-4px) scale(1.05); }
    }
}

/* MOBILE STYLES (Abaixo de 1024px - Timeline Vertical) */

@media (max-width: 1023px) {
    .para-quem-hero-section {
        padding: 120px 0 60px 0;
        min-height: auto;
    }

    .carousel-scroll-wrapper {
        position: relative;
        width: 100%;
        margin-top: 40px;
        padding: 10px 0;
    }

    .carousel-track {
        display: flex;
        flex-direction: column;
        gap: 36px;
        position: relative;
        padding-left: 44px; /* Espaço para o trilho vertical à esquerda */
        padding-right: 8px;
        max-width: 580px;
        margin: 0 auto;
    }

    /* Trilho Vertical Laser/Neon */
    .carousel-track-line {
        position: absolute;
        top: 45px; /* Alinhado ao centro do primeiro círculo (10px padding + 10px margin + 25px metade do círculo) */
        bottom: 45px; /* Alinhado ao centro do último círculo */
        left: 69px; /* Alinhado perfeitamente com os círculos (padding-left 44px + 25px do meio do círculo) */
        width: 2px;
        background: rgba(9, 100, 94, 0.12);
        z-index: 1;
        pointer-events: none;
        border-radius: 9999px;
    }

    .carousel-track-line-progress {
        width: 100%;
        height: 0%;
        background: linear-gradient(to bottom, var(--teal-green), var(--vibrant-green));
        box-shadow: 
            0 0 6px rgba(9, 100, 94, 0.4), 
            0 0 12px rgba(228, 237, 44, 0.2);
        transform-origin: top center;
        border-radius: 9999px;
        position: relative;
    }

    /* Partícula de trilho vertical */
    .carousel-track-line-progress::after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: -5px;
        transform: translateX(-50%);
        width: 10px;
        height: 10px;
        background: var(--vibrant-green);
        border: 1.5px solid var(--teal-green);
        border-radius: 50%;
        box-shadow: 0 0 8px var(--vibrant-green);
        z-index: 3;
    }

    /* Glassmorphic Cards para celular */
    .carousel-item {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 20px;
        text-align: left;
        position: relative;
        z-index: 2;
        width: 100%;
        background: transparent;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding: 10px 0;
    }

    .segment-info {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        gap: 6px;
        padding: 20px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(9, 100, 94, 0.05);
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        opacity: 0.55;
        position: relative;
    }

    .carousel-item.active .segment-info {
        opacity: 1;
        background: rgba(255, 255, 255, 0.75);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-color: rgba(9, 100, 94, 0.15);
        box-shadow: 
            0 10px 25px rgba(9, 100, 94, 0.06),
            inset 0 1px 1px rgba(255, 255, 255, 0.8);
        transform: translateX(6px);
    }

    .segment-circle-icon {
        width: 50px;
        height: 50px;
        flex-shrink: 0;
        margin-top: 10px; /* Alinha verticalmente com o título do card */
    }

    .carousel-item.active .segment-circle-icon {
        background-color: var(--deep-green);
        color: var(--vibrant-green);
        border-color: var(--deep-green);
        box-shadow: 0 6px 15px rgba(0, 51, 51, 0.2);
        transform: scale(1.08);
    }

    .segment-circle-icon .iconify {
        width: 20px !important;
        height: 20px !important;
    }

    .segment-title {
        font-size: 1.1rem;
        margin-bottom: 6px;
    }

    .segment-hook {
        font-size: 0.925rem;
        font-weight: 600;
        color: var(--teal-green);
        line-height: 1.45;
        margin-bottom: 8px;
    }

    .segment-body {
        font-size: 0.85rem;
        color: rgba(9, 100, 94, 0.72);
        line-height: 1.5;
    }

    .segment-number {
        top: 24px;
        right: 20px;
        font-size: 0.75rem;
    }

    .active-ring-spinner {
        inset: -4px;
        width: calc(100% + 8px);
        height: calc(100% + 8px);
        transform: scale(0.85);
    }

    .carousel-item.active .active-ring-spinner {
        transform: scale(1);
    }

    /* Respiros e ajustes finos para telas de 600px para baixo (celulares) */
    @media (max-width: 600px) {
        .carousel-track {
            padding-left: 32px;
            padding-right: 16px;
            gap: 28px;
        }
        .carousel-track-line {
            left: 57px; /* padding-left 32px + 25px (meio do círculo) */
            top: 45px;
            bottom: 45px;
        }
        .segment-info {
            padding: 16px 18px;
        }
        .segment-number {
            top: 18px;
            right: 16px;
        }
    }
}

/* ==========================================================================
   5. SITE FOOTER (Exato rodapé da home)
   ========================================================================== */

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

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

.footer-links a {
    color: rgba(250, 249, 242, 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(250, 249, 242, 0.05);
    color: var(--off-white);
    border: 1px solid rgba(250, 249, 242, 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(250, 249, 242, 0.75);
}

.footer-legal {
    margin-top: 16px;
    border-top: 1px solid rgba(250, 249, 242, 0.08);
    padding-top: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(250, 249, 242, 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(250, 249, 242, 0.55);
    line-height: 1.6;
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: rgba(250, 249, 242, 0.4);
    margin-top: 4px;
}

/* Responsive Breakpoints & Refinements */

@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;
    }
}

/* ==========================================================================
   6. RESPONSIVE UTILITIES & HELPER CLASSES
   ========================================================================== */

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }
    .nav-container {
        padding: 0 16px;
    }
    .header-logo-img {
        height: 22px;
    }
    .nav-actions {
        gap: 12px;
    }
    .nav-actions .link-client {
        display: none;
    }
    .nav-actions .btn-primary {
        padding: 8px 14px !important;
        font-size: 0.7rem !important;
    }
}

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

/* ==========================================================================
   7. CENARIOS SECTION & DIAGNOSTIC STYLING
   ========================================================================== */

#cenarios-section {
    padding: 100px 0;
    background-color: var(--off-white);
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.35) 150px, rgba(255, 255, 255, 0.35) calc(100% - 150px), rgba(255, 255, 255, 0) 100%);
    position: relative;
    overflow: hidden;
}

#cenarios-section .bg-dot-grid {
    /* Fades out the dot-grid at the top and bottom to avoid harsh cutoffs */
    mask-image: linear-gradient(to bottom, transparent 0%, black 120px, black calc(100% - 120px), transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 120px, black calc(100% - 120px), transparent 100%);
    transition: none;
}

@media (max-width: 1023px) {
    #cenarios-section {
        padding: 80px 0;
    }
}

@media (max-width: 600px) {
    #cenarios-section {
        padding: 60px 0 80px 0; /* Clear breathing space above the footer on mobile */
    }
}

.cenarios-layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 55px; /* Aumentado para dar mais respiro vertical quando empilhado */
}

@media (min-width: 1024px) {
    .cenarios-layout-grid {
        grid-template-columns: 7fr 5fr;
        gap: 60px;
        align-items: start;
    }
}

/* Coluna da Direita - Sticky Diagnostic widget */

.diagnostic-column {
    position: relative;
}

@media (min-width: 1024px) {
    .diagnostic-column {
        position: sticky;
        top: 110px; /* Alinhado abaixo do header fixo */
    }
}

.diagnostic-card {
    padding: 40px 30px;
    border-radius: 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(9, 100, 94, 0.12);
    box-shadow: 
        0 20px 40px -15px rgba(9, 100, 94, 0.08),
        inset 0 1px 1px rgba(255, 255, 255, 0.8);
    transition: var(--transition-smooth);
}

.diagnostic-eyebrow {
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1;
    color: var(--teal-green);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
    opacity: 0.8;
}

.diagnostic-title {
    font-family: 'Arimo', sans-serif;
    font-size: 1.6rem;
    line-height: 1.25;
    font-weight: 600;
    color: var(--deep-green);
    margin-bottom: 30px;
    letter-spacing: -0.015em;
}

/* SVG Stress circular gauge */

.gauge-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin-bottom: 24px;
}

.stress-gauge {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg); /* Começa no topo */
}

.gauge-bg {
    stroke: rgba(9, 100, 94, 0.06);
}

.gauge-fill {
    stroke: var(--teal-green);
    stroke-linecap: round;
    transition: stroke-dashoffset 0.6s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.6s ease;
}

.gauge-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--deep-green);
    transition: color 0.4s ease;
}

/* Stress states & description text */

.stress-status-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.stress-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(9, 100, 94, 0.6);
    letter-spacing: 0.08em;
}

.stress-value {
    font-family: 'Arimo', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: all 0.4s ease;
}

/* Stress level colors */

.level-zero { color: rgba(9, 100, 94, 0.4); }

.level-low { color: var(--teal-green); text-shadow: 0 0 10px rgba(9, 100, 94, 0.15); }

.level-medium { color: #d09010; text-shadow: 0 0 10px rgba(208, 144, 16, 0.15); }

.level-high { color: #d63333; text-shadow: 0 0 10px rgba(214, 51, 51, 0.2); }

/* Dynamic Conclusion Box */

.conclusion-box {
    height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    transition: opacity 0.5s ease, height 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s ease;
}

.conclusion-box.active {
    height: 135px;
    opacity: 1;
    visibility: visible;
    margin-top: 15px;
}

.conclusion-text {
    font-family: 'Arimo', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--teal-green);
    margin-bottom: 16px;
    text-shadow: 0 0 8px rgba(9, 100, 94, 0.15);
    animation: textPulse 2s infinite ease-in-out;
}

@keyframes textPulse {
    0%, 100% { opacity: 0.95; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.02); }
}

.conclusion-box .cta-btn {
    box-shadow: 0 8px 20px rgba(0, 51, 51, 0.15);
}

/* Coluna da Direita - Lista de cenários */

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

/* Cards do Cenário */

.cenario-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(14px, 2.5vw, 20px);
    padding: clamp(16px, 3vw, 24px) clamp(18px, 4vw, 28px);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(9, 100, 94, 0.05);
    box-shadow: 0 8px 24px -8px rgba(9, 100, 94, 0.02);
    cursor: pointer;
    position: relative;
    transition: 
        transform 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), 
        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cenario-card:hover {
    transform: translateX(8px);
    border-color: rgba(9, 100, 94, 0.15);
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 12px 30px -10px rgba(9, 100, 94, 0.06);
}

/* Checkbox */

.cenario-check-box {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(9, 100, 94, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    background: var(--solid-white);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-shrink: 0;
}

.cenario-card:hover .cenario-check-box {
    border-color: var(--teal-green);
    transform: scale(1.05);
}

.check-mark {
    opacity: 0;
    transform: scale(0.6);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Checked State */

.cenario-card.checked {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(9, 100, 94, 0.22);
    box-shadow: 
        0 15px 35px -8px rgba(9, 100, 94, 0.08),
        inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

.cenario-card.checked .cenario-check-box {
    background: var(--deep-green);
    border-color: var(--deep-green);
    color: var(--vibrant-green);
    box-shadow: 0 0 10px rgba(0, 51, 51, 0.15);
}

.cenario-card.checked .check-mark {
    opacity: 1;
    transform: scale(1);
}

.cenario-content {
    flex-grow: 1;
}

.cenario-text {
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(0, 51, 51, 0.8);
    font-weight: 500;
    transition: color 0.4s ease;
}

.cenario-card.checked .cenario-text {
    color: var(--deep-green);
    font-weight: 600;
}

/* Mobile specific styling for diagnostic banner */

@media (max-width: 1023px) {
    .diagnostic-card {
        padding: 30px 20px;
        border-radius: 24px;
    }
    .diagnostic-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    .gauge-wrapper {
        width: 110px;
        height: 110px;
        margin-bottom: 16px;
    }
    .gauge-percentage {
        font-size: 1.5rem;
    }
    .conclusion-box.active {
        height: 125px;
    }
    .conclusion-text {
        font-size: 1.05rem;
        margin-bottom: 12px;
    }
}

@media (max-width: 600px) {
    .cenario-card {
        padding: 16px 22px; /* Mais respiro lateral nas perguntas para não colarem na borda */
        gap: 16px;
    }
    .cenario-text {
        font-size: 0.875rem;
    }
    .cenario-check-box {
        width: 28px;
        height: 28px;
    }
    .cenarios-layout-grid {
        gap: 48px; /* Aumentado para dar mais respiro vertical quando empilhado em telas menores */
    }
    .diagnostic-card {
        padding: 24px 16px;
    }
    .diagnostic-title {
        font-size: 1.25rem;
    }
}
