/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&family=Ubuntu+Sans:wght@100;200;300;400;500;600;700&display=swap');

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(180deg, rgba(81, 64, 247, 0.04) 0%, rgba(0, 0, 0, 0) 25%), linear-gradient(180deg, rgba(141, 255, 224, 0.2) 0%, rgba(153, 153, 153, 0) 19.89%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 20px; /* Ensure padding on mobile */
}

.hero-bg-svg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
    transform: none;
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

/* Hero Content */
.hero-title {
    position: relative;
    width: 90%;
    max-width: 1207px;
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 500;
    font-size: clamp(40px, 10vw, 240px);
    line-height: 1.1;
    text-align: center;
    color: #FAFAFA;
    text-shadow: 0px 4px 4px #000000;
    margin: 120px 0 32px;
    z-index: 1;
    word-wrap: break-word;
}

.hero-subtitle {
    position: relative;
    width: 90%;
    max-width: 1173px;
    font-family: 'Ubuntu Sans';
    font-style: normal;
    font-weight: 400;
    font-size: clamp(18px, 3vw, 36px);
    line-height: 1.4;
    text-align: center;
    color: #FFFFFF;
    margin: 0 0 48px;
    z-index: 1;
}

.hero-cta-container {
    position: relative;
    width: auto;
    height: auto;
    z-index: 1;
    margin-bottom: 60px;
}

.hero-cta-container .btn-prim {
    width: 274px;
    height: 48px;
}

/* Section: O que é a Imersão IA? - REMOVED OLD STYLES */



/* Section: Double Diamond IA (New) */
.process-section {
    position: relative; width: 100%; max-width: 1400px; padding: 120px 20px; margin: 0 auto;
    overflow: hidden;
}

.sec-header { text-align: center; margin-bottom: 80px; position: relative; z-index: 2; }
.sec-tag { color: #8DFFE0; text-transform: uppercase; letter-spacing: 2px; font-size: 14px; font-weight: 700; margin-bottom: 16px; display: block; }
.sec-title { font-size: 56px; color: #FFF; font-weight: 500; letter-spacing: -1px; }
.sec-subtitle { font-size: 18px; color: #666; margin-top: 10px; font-weight: 300; }

/* GRID LAYOUT: 3 COLUNAS */
.process-grid {
    display: grid;
    grid-template-columns: 1fr 500px 1fr; /* Coluna central mais larga para o Double Diamond */
    gap: 80px;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* Colunas Laterais */
.feature-col {
    display: flex; flex-direction: column; gap: 24px;
    justify-content: center;
}

/* CARD STYLE */
.process-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 24px;
    display: flex; align-items: center; gap: 20px;
    transition: all 0.3s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.process-card:hover {
    background: rgba(141, 255, 224, 0.05);
    border-color: #8DFFE0;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(141, 255, 224, 0.1);
}

/* Alinhamento */
.col-left .process-card { flex-direction: row; text-align: right; }
.col-right .process-card { flex-direction: row; text-align: left; }

.process-card .card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: #8DFFE0;
    flex-shrink: 0;
    transition: 0.3s;
}

.process-card:hover .card-icon {
    background: rgba(141, 255, 224, 0.1);
    color: #8DFFE0;
    box-shadow: 0 0 15px rgba(141, 255, 224, 0.3);
}

.card-text h3 { color: #FFF; font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.card-text p { color: #aaa; font-size: 14px; line-height: 1.4; }

/* AREA CENTRAL - DOUBLE DIAMOND */
.diamond-container {
    position: relative;
    width: 100%; height: 450px;
    display: flex; align-items: center; justify-content: center;
    z-index: 1; /* Create stacking context */
}

.diamond-floater {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: floatDiamond 6s ease-in-out infinite;
    z-index: 10;
}

.holo-diamond-svg {
    width: 100%; height: 100%;
    filter: drop-shadow(0 0 8px rgba(141, 255, 224, 0.6)) drop-shadow(0 0 20px rgba(141, 255, 224, 0.2));
    position: relative;
    z-index: 10; /* Ensure diamond is on top */
}

/* Texto nas bordas */
.diamond-text {
    font-size: 12px;
    fill: #FFFFFF;
    font-family: "Ubuntu Sans", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(0,0,0,0.8);
}

@keyframes floatDiamond {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Aura de Fundo - Simplificada */
.center-aura {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 700px; height: 500px;
    background: radial-gradient(closest-side, rgba(81, 64, 247, 0.25) 0%, transparent 100%);
    z-index: 1; /* Behind diamond (10) but visible */
    pointer-events: none;
    filter: blur(60px);
}

/* Reflexo do Diamante */
.diamond-reflection {
    position: absolute;
    top: 80%; /* Position below the main diamond */
    left: 0;
    width: 100%;
    height: 100%;
    transform: scaleY(-1) perspective(500px) rotateX(20deg);
    opacity: 0.4;
    filter: blur(8px);
    pointer-events: none;
    z-index: -1; /* Behind diamond */
    mask-image: linear-gradient(to top, transparent 20%, black 100%);
    -webkit-mask-image: linear-gradient(to top, transparent 20%, black 100%);
}

.diamond-reflection svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* Chão Holografico */
.holo-floor {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%) scaleX(2.5);
    width: 200px; height: 20px;
    background: radial-gradient(ellipse, rgba(141, 255, 224, 0.3) 0%, transparent 70%);
    filter: blur(8px);
    z-index: 1;
    opacity: 0.5;
    animation: floorPulse 6s ease-in-out infinite;
}

@keyframes floorPulse {
    0%, 100% { opacity: 0.6; transform: translateX(-50%) scaleX(2.5) scaleY(1); }
    50% { opacity: 0.3; transform: translateX(-50%) scaleX(2) scaleY(0.8); }
}

/* Responsividade */
@media (max-width: 1024px) {
    .process-section { padding: 80px 20px; }
    .process-grid { grid-template-columns: 1fr; gap: 48px; }
    .diamond-container { height: 250px; order: -1; margin-bottom: 20px; }
    .col-left .process-card { flex-direction: row; text-align: left; }
    .process-card { max-width: 500px; margin: 0 auto; width: 100%; }
    .sec-title { font-size: 36px; }
}


/* Section: Entregáveis */
.section-deliverables {
    position: relative;
    width: 100%;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 0;
}

.deliverables-title {
    position: relative;
    width: 90%;
    max-width: 351px;
    font-family: 'Ubuntu Sans';
    font-style: normal;
    font-weight: 600;
    font-size: clamp(32px, 5vw, 64px);
    line-height: 1.2;
    text-align: center;
    color: #FAFAFA;
    text-shadow: 0px 4px 4px #000000;
    margin: 0 0 40px;
    left: auto; top: auto;
}

.deliverables-subtitle {
    position: relative;
    width: 90%;
    max-width: 588px;
    font-family: 'Ubuntu Sans';
    font-style: normal;
    font-weight: 400;
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.2;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 100px;
    left: auto; top: auto;
}

.deliverables-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    position: relative;
    width: 100%;
    max-width: 1114px;
    height: auto;
    left: auto; top: auto;
}

.deliverables-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    width: 100%;
}

.icons-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    gap: 20px;
}

.icon-box {
    width: 160px;
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.labels-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    gap: 20px;
}

.deliverable-label {
    width: 225px;
    font-family: 'Ubuntu Sans';
    font-style: normal;
    font-weight: 700;
    font-size: clamp(24px, 3vw, 40px);
    line-height: 1.2;
    text-align: center;
    color: #FFFFFF;
}


/* Section: Próximos passos (CTA) */
.section-cta {
    position: relative;
    width: 100%;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 0;
}

.cta-title {
    position: relative;
    width: 90%;
    max-width: 491px;
    font-family: 'Ubuntu Sans';
    font-style: normal;
    font-weight: 600;
    font-size: clamp(32px, 5vw, 64px);
    line-height: 1.2;
    text-align: center;
    color: #FAFAFA;
    text-shadow: 0px 4px 4px #000000;
    margin: 0 0 80px;
    left: auto; top: auto;
}

.cta-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 60px;
    position: relative;
    width: 90%;
    max-width: 1339px;
    height: auto;
    left: auto; top: auto;
    flex-wrap: wrap;
}

.cta-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
    max-width: 600px;
}

.cta-text {
    width: 100%;
    font-family: 'Ubuntu Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.4;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.cta-column .btn-prim, .cta-column .btn-sec {
    width: 274px;
    height: 48px;
}

/* Timeline Vertical Moderna - REMOVED */


/* Seção Entregáveis (Glass Cards) */
.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Force 3 columns */
    gap: 40px;
    width: 100%;
    max-width: 1200px; /* Reduced max-width for better 3-col fit */
    margin: 60px auto;
    padding: 0 20px;
}

@media (max-width: 1024px) {
    .deliverables-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }
}

@media (max-width: 768px) {
    .deliverables-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
}

.del-card {
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid #222;
    border-radius: 24px; /* Slightly more rounded */
    padding: 40px; /* Increased padding */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center alignment */
    gap: 24px; /* Increased gap */
    transition: all 0.3s ease;
    text-align: center; /* Center text */
    min-height: 320px; /* Ensure consistent height */
}

.del-card:hover {
    border-color: #8DFFE0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(-4px);
}

.del-card .card-icon {
    width: auto; /* Allow natural width */
    height: auto; /* Allow natural height */
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent; /* Remove background */
    margin-bottom: 16px;
}

.del-card .card-icon img {
    width: 100%;
    height: auto;
    max-width: 120px; /* Limit max size but allow it to be big */
    max-height: 120px;
    object-fit: contain;
}

.del-card h3 {
    color: #FFF;
    font-weight: 600;
    font-size: 24px; /* Larger title */
    margin: 0;
}

.del-card p {
    color: #AAA;
    font-size: 18px; /* Larger text */
    line-height: 1.5;
    margin: 0;
    max-width: 90%;
}

/* Media query removed */


/* --- NEW TIMELINE SECTION (Horizontal Scroll) --- */
.scroll-container {
    height: 400vh; /* 400% viewport height = long scroll area */
    width: 100%;
    position: relative;
    background: #0a0a0a;
    z-index: 10;
    overflow: visible; /* Ensure no clipping interferes with sticky */
}

.sticky-viewport {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    background: #0a0a0a;
    z-index: 20;
    margin: 0;
    padding: 0;
}

.scroll-section-title {
    position: absolute;
    top: 120px;
    left: 10vw;
    font-family: 'Ubuntu Sans';
    font-weight: 600;
    font-size: clamp(32px, 4vw, 48px);
    color: #FAFAFA;
    z-index: 30;
    text-shadow: 0 4px 4px #000000;
}

.horizontal-track {
    display: flex;
    flex-direction: row;
    gap: 15vw;
    padding-left: calc(50vw - 225px);
    padding-right: calc(50vw - 150px);
    width: max-content;
    position: relative;
    will-change: transform;
    height: 100%;
    align-items: center;
    margin: 0 !important;
}

.connector-line {
    position: absolute;
    top: 50%;
    left: 50vw;
    right: 50vw;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(81, 64, 247, 0.5) 0%, 
        rgba(141, 255, 224, 0.5) 100%
    );
    transform: translateY(-50%);
    z-index: 0;
}

.bg-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw; height: 60vw;
    background: radial-gradient(circle, rgba(81, 64, 247, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.timeline-item {
    position: relative;
    width: 450px;
    flex-shrink: 0;
    z-index: 2;
    display: block;
    margin-bottom: 0;
    transition: z-index 0.3s step-end;
}

.timeline-item:hover {
    z-index: 10;
    transition: z-index 0s step-start;
}

/* Removed old nth-child rule */

.item-number {
    font-size: 120px;
    font-weight: 800;
    color: rgba(255,255,255,0.03);
    line-height: 0.8;
    margin-bottom: -40px;
    margin-left: -20px;
    position: relative;
    z-index: 1;
    transition: all 0.5s ease-out;
}

.timeline-item:hover .item-number {
    color: rgba(141, 255, 224, 0.8);
    z-index: 1;
    text-shadow: 
        0 0 10px rgba(141, 255, 224, 1),
        0 0 20px rgba(141, 255, 224, 0.8),
        0 0 40px rgba(141, 255, 224, 0.4),
        0 0 80px rgba(81, 64, 247, 0.3);
    transform: translateX(10px);
}

.item-content {
    background: rgba(18, 18, 18, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    padding: 40px;
    border-radius: 24px;
    border-bottom: 4px solid #8DFFE0;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 2;
}

.timeline-item:hover .item-content {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(141, 255, 224, 0.5);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.item-content h3 {
    font-size: 32px;
    margin-bottom: 16px;
    background: linear-gradient(to right, #fff, #8DFFE0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.item-content p {
    font-size: 16px;
    color: #aaa;
    line-height: 1.6;
}

.connector-dot {
    width: 16px; height: 16px;
    background: #0a0a0a;
    border: 2px solid #8DFFE0;
    border-radius: 50%;
    position: absolute;
    top: 50%; left: -20px;
    transform: translateY(-50%);
    box-shadow: 0 0 10px rgba(141, 255, 224, 0.5);
}

@media (max-width: 768px) {
    .horizontal-track { gap: 5vw; padding-left: 5vw; padding-right: 5vw; }
    .timeline-item { width: 90vw; }
    .item-number { font-size: 80px; }
    .item-content h3 { font-size: 24px; }
}




