/* ========================================
   JORNADA - Page Specific Styles
   Consolidado do CSS inline
   ======================================== */

/* Base Styles & Typography */
body {
    font-family: var(--font-body, 'Inter', sans-serif);
    color: var(--color-text-secondary, #4A4A4A);
    line-height: var(--leading-relaxed, 1.6);
    background-color: var(--color-bg-subtle, #FAFAFA);
}

h1, h2, h3 {
    font-family: var(--font-display, 'Playfair Display', serif);
    color: var(--color-accent, #606C38);
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Micro-animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulseSlow {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Reveal on scroll */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Journey Stages Styles */
.stage-section {
    padding: 80px 0;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    overflow: hidden;
}

.stage-header {
    margin-bottom: 32px;
    text-align: center;
}

.stage-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #A3A3A3;
    margin-bottom: 16px;
    display: block;
}

.stage-title {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 24px;
}

.stage-text {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
}

.stage-image-container {
    border-radius: var(--radius-xl, 16px);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    margin: 0 -24px;
}

.stage-image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 1.5s ease;
}

.stage-image-container:hover img {
    transform: scale(1.03);
}

/* Specific Stage Adjustments */

/* Stage 1: Incômodo - Hero Style */
.stage-1 {
    padding-top: 140px;
    background-color: var(--color-bg-subtle, #FAFAFA);
}

/* Stage 2: Insight - Card Style */
.stage-2 {
    background-color: var(--color-bg-default, #fff);
}

.stage-2 .stage-image-container {
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

/* Stage 3: Escolha - Clean Text First */
.stage-3 {
    background-color: var(--color-bg-subtle, #FAFAFA);
}

/* Stage 4: Travessia - Horizontal Flow */
.stage-4 {
    background-color: #FDFCF8;
}

/* Stage 5: Novo Estado - Full Immersive */
.stage-5 {
    padding: 0;
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.stage-5-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.stage-5-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 1;
    backdrop-filter: blur(2px);
}

.stage-5-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-2xl, 20px);
    max-width: 600px;
    margin: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

.stage-5 h2 { color: white; }
.stage-5 p { color: #f0f0f0; }

/* Stage 6: Convite - Footer Integration */
.stage-6 {
    background: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.9)), 
                url('/assets/images/jornada/jornada_06_convite.png');
    background-size: cover;
    background-position: center bottom;
    padding: 120px 0;
    text-align: center;
}

.cta-button {
    display: inline-block;
    padding: 18px 48px;
    border: 2px solid var(--color-accent, #606C38);
    color: var(--color-accent, #606C38);
    text-decoration: none;
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: 18px;
    border-radius: var(--radius-full, 50px);
    transition: var(--transition-base);
    margin-top: 32px;
    background: rgba(255,255,255,0.8);
}

.cta-button:hover {
    background: var(--color-accent, #606C38);
    color: white;
    box-shadow: 0 10px 20px rgba(96, 108, 56, 0.2);
}

/* Desktop Responsive */
@media (min-width: 768px) {
    .container-narrow { padding: 0; }
    .stage-section { padding: 120px 0; }
    .stage-image-container { margin: 0; }
    
    /* Alternating Layout for Desktop */
    .stage-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        align-items: center;
        max-width: 1100px;
        margin: 0 auto;
        padding: 0 40px;
    }
    
    .stage-grid.reverse { direction: rtl; }
    .stage-grid.reverse .stage-content { direction: ltr; }
    
    .stage-title { font-size: 48px; }
}
