/* RubyX Color Palette */
:root {
    --absolute-black: #000000;
    --bright-ruby: #E31B23;
    --medium-crimson: #9E0B0F;
    --deep-burgundy: #5E0000;
    --white: #ffffff;
    --light-gray: #f0f0f0;
    --text-gray: #888888;
    --purple-accent: #E31B23;
    --gradient-ruby: linear-gradient(135deg, var(--bright-ruby), var(--medium-crimson));
    --gradient-dark: linear-gradient(135deg, var(--deep-burgundy), var(--absolute-black));
}

/* Listras translúcidas animadas ao fundo (passando lá atrás) */
.team::before,
.cta::before,
.application::before {
    content: '';
    position: absolute;
    inset: -10% -5% -10% -5%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.25;
    background:
        repeating-linear-gradient(
            -25deg,
            rgba(227, 27, 35, 0.10) 0 8px,
            rgba(227, 27, 35, 0.00) 8px 28px
        );
    animation: bgSlide 28s linear infinite;
}

@keyframes bgSlide {
    from { background-position: 0 0; }
    to   { background-position: 1000px 0; }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

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

@font-face {
    font-family: 'Visby';
    src: url('VisbyCF-Thin.woff') format('woff');
    font-style: normal;
    font-weight: 200;
    font-display: swap;
}

body {
    font-family: 'Visby', 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-weight: 600;
    background-color: var(--absolute-black);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Visby', 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

section {
    position: relative;
}

/* Linha divisória entre seções (atrás do conteúdo) */
body > section:not(.hero)::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: min(1200px, 94vw);
    height: 2px;
    background: linear-gradient(
        90deg,
        rgba(227, 27, 35, 0),
        rgba(227, 27, 35, 0.42),
        rgba(227, 27, 35, 0)
    );
    opacity: 1;
    z-index: 0;
    pointer-events: none;
}

body > section:not(.hero) > * {
    position: relative;
    z-index: 1;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: none;
    padding: 0;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.header.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-18px);
}

.nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: min(680px, 92vw);
    margin: 0 auto;
    padding: 0.85rem 0.9rem;
    min-height: 72px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(227, 27, 35, 0.18);
    backdrop-filter: blur(14px);
    overflow: visible;
    box-shadow:
        0 18px 55px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.header.is-scrolled .nav {
    background: rgba(0, 0, 0, 0.72);
    border-color: rgba(227, 27, 35, 0.26);
    box-shadow:
        0 22px 70px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(227, 27, 35, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.09);
    transform: none;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
    flex: 0 1 auto;
    margin: -52px 0;
    overflow: visible;
}

.logo img {
    display: block;
    height: 72px;
    width: clamp(170px, 22vw, 210px);
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
    transform: scale(2.6);
    transform-origin: left center;
}

.logo-full {
    height: 72px;
    width: clamp(170px, 22vw, 210px);
    transform: scale(2.6);
    transform-origin: left center;
}

@media (max-width: 560px) {
    .logo-full {
        width: min(160px, 52vw);
        height: 54px;
        transform: scale(2);
    }

    .logo img {
        width: min(160px, 52vw);
        height: 54px;
        transform: scale(2);
    }
}

@keyframes xGlow {
    from {
        text-shadow: 
            0 0 20px rgba(227, 27, 35, 0.8),
            2px 2px 0 var(--deep-burgundy),
            4px 4px 0 rgba(94, 0, 0, 0.5);
    }
    to {
        text-shadow: 
            0 0 30px rgba(227, 27, 35, 1),
            2px 2px 0 var(--deep-burgundy),
            4px 4px 0 rgba(94, 0, 0, 0.7);
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: clamp(1.4rem, 6vw, 4.2rem);
    flex-wrap: nowrap;
    white-space: nowrap;
    margin-left: 1.1rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1rem;
    white-space: nowrap;
}

.nav-link.active {
    color: var(--white);
}

.nav-link.active::after {
    width: 100%;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-ruby);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: auto;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--absolute-black);
    background-image:
        radial-gradient(900px 600px at 20% 35%, rgba(227, 27, 35, 0.20) 0%, rgba(227, 27, 35, 0.00) 60%),
        radial-gradient(900px 600px at 75% 70%, rgba(158, 11, 15, 0.16) 0%, rgba(158, 11, 15, 0.00) 60%),
        radial-gradient(700px 500px at 55% 25%, rgba(94, 0, 0, 0.18) 0%, rgba(94, 0, 0, 0.00) 60%),
        radial-gradient(900px 900px at 50% 50%, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0.00) 55%);
    background-repeat: no-repeat;
    background-size: 140% 140%, 140% 140%, 140% 140%, 100% 100%;
    background-position: 10% 30%, 80% 75%, 55% 20%, 50% 50%;
    will-change: background-position;
    animation: heroBgShift 14s ease-in-out infinite;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: -20%;
    pointer-events: none;
    background-image:
        linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(227, 27, 35, 0.18) 50%, rgba(0, 0, 0, 0) 100%),
        linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(158, 11, 15, 0.12) 50%, rgba(0, 0, 0, 0) 100%),
        linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(0, 0, 0, 0) 100%);
    background-repeat: repeat;
    background-size: 520px 2px, 760px 2px, 980px 1px;
    background-position: 0 20%, 0 55%, 0 78%;
    opacity: 0.35;
    transform: rotate(-12deg) translate3d(0, 0, 0);
    will-change: transform, background-position;
    filter: blur(0.2px);
    animation: heroStreaks 7.5s linear infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.028) 0 1px, rgba(0, 0, 0, 0) 1px 3px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, rgba(0, 0, 0, 0) 1px 4px);
    opacity: 0.22;
    mix-blend-mode: overlay;
    background-size: 220px 220px;
    animation: heroGridDrift 10s linear infinite;
}

@keyframes heroStreaks {
    from {
        background-position: 0 20%, 0 55%, 0 78%;
    }
    to {
        background-position: 1000px 20%, 1300px 55%, 1700px 78%;
    }
}

@keyframes heroBgShift {
    0% {
        background-position: 10% 30%, 80% 75%, 55% 20%, 50% 50%;
    }
    50% {
        background-position: 18% 38%, 72% 62%, 62% 28%, 50% 50%;
    }
    100% {
        background-position: 10% 30%, 80% 75%, 55% 20%, 50% 50%;
    }
}

@keyframes heroGridDrift {
    from {
        background-position: 0 0, 0 0;
    }
    to {
        background-position: 220px 220px, -220px 220px;
    }
}

@keyframes heroFloat {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(1deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.25rem;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
    justify-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    text-align: center;
    max-width: 820px;
}

.hero-sub {
    width: 100%;
    margin-top: 1.25rem;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1.5rem;
}

.hero-tagline {
    color: var(--bright-ruby);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.2s forwards;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.4s forwards;
}

.hero-sub .hero-description {
    margin-bottom: 0;
    text-align: left;
    max-width: 520px;
}

.hero-sub .cta-button {
    justify-self: end;
    padding: 1rem 2.75rem;
}

.cta-button {
    background: linear-gradient(135deg, rgba(227, 27, 35, 0.95), rgba(158, 11, 15, 0.9));
    color: var(--white);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(227, 27, 35, 0.3);
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.1rem 2.6rem;
    min-height: 56px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        0 18px 55px rgba(227, 27, 35, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.cta-button .btn-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.cta-button .btn-icon i {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    transform: translateY(-0.5px) rotate(-45deg);
}

.cta-button .btn-text {
    font-family: 'Sora', 'Inter Tight', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow:
        0 22px 70px rgba(227, 27, 35, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.cta-button:hover .btn-icon {
    background: rgba(255, 255, 255, 0.18);
}

.cta-button:active {
    transform: translateY(-1px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 3D Ruby Logo */
.ruby-logo-3d {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.ruby-logo-3d {
    margin-top: 0.25rem;
}

.ruby-gem {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateRuby 10s linear infinite;
}

@keyframes rotateRuby {
    from { transform: rotateY(0deg) rotateX(10deg); }
    to { transform: rotateY(360deg) rotateX(10deg); }
}

.gem-face {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--gradient-ruby);
    border: 2px solid rgba(255, 255, 255, 0.1);
    opacity: 0.9;
}

.gem-face-1 {
    transform: translateZ(50px);
    background: var(--bright-ruby);
}

.gem-face-2 {
    transform: rotateY(90deg) translateZ(50px);
    background: var(--medium-crimson);
}

.gem-face-3 {
    transform: rotateY(180deg) translateZ(50px);
    background: var(--deep-burgundy);
}

.gem-face-4 {
    transform: rotateY(-90deg) translateZ(50px);
    background: var(--medium-crimson);
}

.gem-face-5 {
    transform: rotateX(90deg) translateZ(50px);
    background: var(--bright-ruby);
}

.gem-face-6 {
    transform: rotateX(-90deg) translateZ(50px);
    background: var(--deep-burgundy);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.protagonist .container {
    max-width: 1500px;
}

/* Best Models Section */
.best-models {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--absolute-black) 0%, rgba(94, 0, 0, 0.1) 50%, var(--absolute-black) 100%);
}

.hscroll {
    min-height: 100vh;
    height: auto;
}

.hscroll-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0 5%;
}

.hscroll-track {
    display: flex;
    gap: 1.5rem;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    padding: 1rem 0;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 3rem;
    line-height: 1.2;
}

[data-reveal] {
    visibility: hidden;
}

[data-reveal].is-ready {
    visibility: visible;
}

.reveal-line {
    display: block;
    overflow: hidden;
}

.reveal-line > span {
    display: inline-block;
    transform: translateY(120%);
    opacity: 0.01;
    filter: blur(6px);
    transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 900ms ease, filter 900ms ease;
}

.reveal-word {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}

.reveal-word > span {
    display: inline-block;
    transform: translateY(120%);
    opacity: 0.01;
    filter: blur(6px);
    transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 900ms ease, filter 900ms ease;
}

.is-inview .reveal-line > span,
.is-inview .reveal-word > span {
    transform: translateY(0%);
    opacity: 1;
    filter: blur(0px);
}

.highlight {
    color: var(--bright-ruby);
}

.white-text {
    color: var(--white);
}

.models-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.model-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(227, 27, 35, 0.2);
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.hscroll-track .model-card {
    width: min(360px, 85vw);
    flex: 0 0 auto;
}

.model-card:hover {
    transform: translateY(-10px);
    border-color: var(--bright-ruby);
    box-shadow: 0 20px 40px rgba(227, 27, 35, 0.2);
}

.model-card[data-tilt] {
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px));
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.model-card[data-tilt]:hover {
    --ty: -10px;
}

@media (hover: none) {
    .model-card[data-tilt] {
        transform: translateY(0);
    }
}

.model-image {
    width: 150px;
    height: 150px;
    background: var(--gradient-ruby);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    position: relative;
    overflow: hidden;
}

.model-image::before {
    content: "\f521";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.75rem;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

/* Journey Path (dotted / curved) */
.journey {
    overflow: hidden;
}

.journey-path {
    position: relative;
    width: 100%;
    max-width: 840px;
    margin: 0 auto;
    height: auto;
}

.journey-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    transform: translateX(var(--jtx, 0)) translateY(var(--jty, 0));
    will-change: transform;
    transition: transform 300ms ease-out;
}

.journey-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.journey-svg--mobile {
    display: none;
}

.journey-svg--desktop {
    display: block;
}

.journey-svg path {
    stroke: rgba(0, 0, 0, 0.85);
    stroke-width: 5;
    stroke-linecap: round;
    fill: none;
    stroke-dasharray: 12 12;
    filter: none;
}

.journey-svg path[data-draw] {
    stroke-dasharray: 12 12;
    stroke-dashoffset: 600;
    transition: stroke-dashoffset 1200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* SVG endpoints (start/end circles) */
.journey-endpoint {
    fill: #b45cff;
    stroke: #f3e9f7; /* match section bg */
    stroke-width: 3px;
    pointer-events: none;
}

.journey-svg.is-inview path[data-draw] {
    stroke-dashoffset: 0;
}

.journey-milestone {
    position: relative;
    display: grid;
    grid-template-columns: 14px 1fr;
    gap: 12px;
    align-items: start;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    width: 100%;
    max-width: 100%;
    margin: 1rem 0;
}

.journey-milestone .dot {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: #b45cff;
    box-shadow: 0 0 0 3px rgba(180, 92, 255, 0.35);
    margin: 0 0 0.5rem 0;
}

.journey-milestone h3 {
    color: rgba(20, 17, 26, 0.9);
    letter-spacing: 0.06em;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.journey-milestone p {
    color: rgba(20, 17, 26, 0.75);
    font-weight: 500;
}

.journey-m1, .journey-m2 { text-align: left; left: auto; right: auto; top: auto; bottom: auto; }

.journey-milestone i {
    color: rgba(20, 17, 26, 0.75);
}

@media (max-width: 768px) {
    .journey { margin-bottom: 0; padding-bottom: 2.5rem; }
    .journey-path {
        height: auto;
        padding: 0;
        max-width: 100%;
        margin: 0 auto;
    }

    /* Aumentar mais no mobile */
    .journey-image {
        width: 120% !important;
        max-width: none;
        transform: translateX(calc(-10% + var(--jtx, 0))) translateY(var(--jty, 0));
    }

    /* Spacing on mobile */
    .journey-content h2 {
        margin-bottom: 2.25rem;
    }
    .journey-milestones-wrapper {
        margin: 200px 0 24px;
    }

    .journey-svg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        overflow: visible;
    }

    .journey-svg--mobile {
        height: 100% !important;
        width: 100% !important;
    }

    .journey-svg--desktop { display: none !important; }
    .journey-svg--mobile { display: none !important; transform: none; }

    .journey-milestones-wrapper { position: relative; height: auto; }

    .journey-milestone {
        position: relative;
        width: 100%;
        max-width: 100%;
        left: auto;
        transform: none;
        margin: 0.75rem 0;
        padding: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        text-align: left;
        backdrop-filter: none;
        display: grid;
        grid-template-columns: 14px 1fr;
        gap: 10px;
        align-items: start;
    }

    .journey-milestone > div { display: block; position: static; padding-right: 0; text-align: left; }

    .journey-milestone .dot {
        display: inline-block;
        position: static;
        width: 12px;
        height: 12px;
        border-radius: 999px;
        background: #b45cff;
        box-shadow: 0 0 0 3px rgba(180, 92, 255, 0.35);
        margin-top: 4px;
    }

    .journey-m1,
    .journey-m2 { top: auto; left: auto; transform: none; }

    .journey-milestone h3 {
        font-size: 0.95rem;
        margin-bottom: 0;
        text-align: left;
        color: rgba(20, 17, 26, 0.92);
    }

    .journey-milestone p {
        font-size: 0.95rem;
        line-height: 1.25;
        text-align: left;
        color: rgba(20, 17, 26, 0.8);
    }

    .journey-svg path {
        stroke: rgba(0, 0, 0, 0.85);
        stroke-width: 5;
        stroke-dasharray: 12 12;
        filter: none;
    }
}

.model-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--medium-crimson);
}

.model-card p {
    color: var(--text-gray);
}

/* Problem Section */
.problem-section {
    padding: 5rem 0;
    background: var(--absolute-black);
}

.problem-content {
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
}

.problem-content h2 {
    font-size: clamp(3.2rem, 5.5vw, 4.8rem);
    font-weight: 500;
    margin-bottom: 2.5rem;
    color: var(--white);
    line-height: 1.1;
}

.problem-text {
    font-size: 1.45rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.solution-text {
    font-size: 1.4rem;
    color: var(--bright-ruby);
    font-weight: 500;
    line-height: 1.7;
}

/* About Section */
.about {
    padding: 0.5rem 0;
    background: linear-gradient(135deg, rgba(227, 27, 35, 0.06) 0%, var(--absolute-black) 100%);
}

.about-content {
    margin-bottom: 0;
}

.about-head {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 3.25rem;
    align-items: start;
    margin-bottom: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.about-head h2 {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 0;
}

.about-head p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    max-width: 360px;
    margin-left: auto;
    margin-right: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 4.5rem;
    row-gap: 3.25rem;
}

.feature-item {
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: start;
    gap: 14px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
    transition: none;
}

.feature-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(227, 27, 35, 0.12);
    border: 1px solid rgba(227, 27, 35, 0.25);
    color: var(--bright-ruby);
    box-shadow: none;
    font-size: 0.9rem;
}

.feature-item p {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 900px) {
    .about-head {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .about-head p {
        margin-left: 0;
        max-width: 560px;
    }

    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 2.5rem;
        row-gap: 2.5rem;
    }
}

@media (max-width: 560px) {
    .features-grid {
        grid-template-columns: 1fr;
        row-gap: 1.75rem;
    }

    .protagonist .card-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .protagonist .card-button {
        margin-left: 0;
    }
}

/* Protagonist Section */
.protagonist {
    margin-top: 1.2rem;
    padding: 2.4rem 0;
    background: var(--absolute-black);
}

.protagonist-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(227, 27, 35, 0.12) 100%);
    border-radius: 20px;
    width: 100%;
    max-width: 1520px;
    margin: 0 auto;
    padding: 3.4rem 4.1rem;
    text-align: center;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.protagonist-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(227, 27, 35, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.card-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.25rem;
    text-align: left;
}

.protagonist-copy {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 680px;
    display: flex;
    flex-direction: column;
}

.protagonist-copy h3,
.protagonist-copy h4 {
    display: block;
    width: 100%;
}

.protagonist .card-button {
    flex: 0 0 auto;
    margin-left: auto;
    min-width: 320px;
    justify-content: center;
    padding-left: 2.6rem;
    padding-right: 2.6rem;
}

.protagonist-card h3 {
    font-size: 2.1rem;
    color: var(--bright-ruby);
    margin-bottom: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.protagonist-card h4 {
    font-size: 2.95rem;
    color: var(--white);
    margin-bottom: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.card-button {
    background: linear-gradient(135deg, rgba(227, 27, 35, 0.92), rgba(94, 0, 0, 0.92));
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow:
        0 18px 55px rgba(94, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.card-button .btn-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.card-button .btn-icon i {
    color: rgba(255, 255, 255, 0.95);
    transform: rotate(-45deg);
}

.card-button .btn-text {
    font-family: 'Sora', 'Inter Tight', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-weight: 600;
}

.card-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(227, 27, 35, 0.25);
}

/* Journey Section */
.journey {
    padding: 5rem 0 0;
    background: #ffffff;
    margin-bottom: 0;
}

.journey-content {
    text-align: center;
}

.journey-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1.3;
    color: #14111a;
}

/* Reduce gap between title and journey image */
.journey-milestones-wrapper {
    margin: 0;
}

.journey-milestones-wrapper picture {
    display: block;
    line-height: 0;
}

/* Desktop-only spacing compaction */
@media (min-width: 769px) {
    .journey { margin-bottom: -60px; }
    .journey-milestones-wrapper { margin: -160px 0 -100px; }
}

.timeline {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--medium-crimson), var(--bright-ruby));
    z-index: 1;
}

.timeline-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.timeline-point {
    width: 20px;
    height: 20px;
    background: var(--bright-ruby);
    border-radius: 50%;
    border: 4px solid var(--absolute-black);
    box-shadow: 0 0 20px rgba(227, 27, 35, 0.5);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(227, 27, 35, 0.2);
    min-width: 150px;
}

.timeline-content h3 {
    color: var(--bright-ruby);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--white);
    font-weight: 500;
}

/* Team Section */
.team {
    padding: 5rem 0;
    background: #ffffff;
    color: #14111a;
}

.team h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.team-member {
    text-align: center;
}

.member-video {
    width: 100%;
    height: 250px;
    background: var(--gradient-dark);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-placeholder:hover {
    background: rgba(227, 27, 35, 0.1);
}

.video-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--bright-ruby);
}

.team-member h3 {
    font-size: 1.5rem;
    color: #14111a;
    margin-bottom: 0.5rem;
}

.team-member p:first-of-type {
    color: var(--bright-ruby);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-description {
    color: var(--text-gray);
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: #ffffff;
    color: #14111a;
}

/* Efeito de fundo sutil (glows avermelhados) */
.team::after,
.cta::after,
.application::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        radial-gradient(700px 480px at 15% 25%, rgba(227, 27, 35, 0.12) 0%, rgba(227, 27, 35, 0) 60%),
        radial-gradient(800px 520px at 85% 75%, rgba(158, 11, 15, 0.10) 0%, rgba(158, 11, 15, 0) 62%),
        radial-gradient(900px 600px at 55% 50%, rgba(94, 0, 0, 0.06) 0%, rgba(94, 0, 0, 0) 65%);
    background-repeat: no-repeat;
    background-position: 10% 30%, 90% 80%, 50% 50%;
    will-change: background-position, opacity;
    animation: softDrift 18s ease-in-out infinite alternate;
}

@keyframes softDrift {
    0% {
        background-position: 10% 30%, 90% 80%, 50% 50%;
    }
    100% {
        background-position: 16% 34%, 84% 68%, 50% 48%;
    }
}

.cta-content {
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
    background: #0f0c16;
    color: #ffffff;
    border-radius: 28px;
    padding: 3rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.3;
    color: #ffffff;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-secondary {
    background: var(--gradient-ruby);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(227, 27, 35, 0.25);
}

/* Application Section */
.application {
    padding: 5rem 0;
    background: #ffffff;
    color: #14111a;
}

.application-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Application cards (retângulos arredondados) */
.application-info {
    background: linear-gradient(135deg, var(--bright-ruby), var(--medium-crimson));
    color: #ffffff;
    padding: 3rem;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
}

.application-info h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.application-form {
    background: #0f0c16;
    color: #ffffff;
    padding: 3rem;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.application-form h3 {
    color: var(--bright-ruby);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.application-form input {
    width: 100%;
    padding: 1rem 1.25rem;
    margin-bottom: 1.2rem;
    background: #1a1623;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #ffffff;
    font-size: 1rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.application-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.application-form input:focus {
    outline: none;
    border-color: rgba(227, 27, 35, 0.9);
    background: #221b31;
    box-shadow: 0 0 0 3px rgba(227, 27, 35, 0.28);
}

.submit-btn {
    width: 100%;
    background: var(--gradient-ruby);
    color: #ffffff;
    border: none;
    padding: 1.1rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 14px 36px rgba(227, 27, 35, 0.35);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 42px rgba(227, 27, 35, 0.45);
}

/* Footer */
.footer {
    padding: 3rem 0;
    background: var(--absolute-black);
    border-top: 1px solid rgba(227, 27, 35, 0.2);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.footer p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: 50%;
        top: 86px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.9);
        width: min(420px, 92vw);
        border-radius: 18px;
        transform: translate(-50%, -10px);
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 1.25rem 0;
        border: 1px solid rgba(227, 27, 35, 0.22);
        backdrop-filter: blur(12px);
        opacity: 0;
        pointer-events: none;
        max-height: calc(100vh - 120px);
        overflow: auto;
    }

    .nav-menu.active {
        opacity: 1;
        pointer-events: auto;
        transform: translate(-50%, 0);
    }

    .hamburger {
        display: flex;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.85rem 0;
        display: inline-block;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-sub {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .hero-sub .hero-description {
        text-align: center;
    }

    .hero-sub .cta-button {
        justify-self: center;
        width: 100%;
        max-width: 360px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .ruby-gem {
        width: 150px;
        height: 150px;
    }

    .section-title {
        font-size: 2rem;
    }

    .hscroll {
        height: auto;
        padding-bottom: 2rem;
    }

    .hscroll-sticky {
        position: relative;
        height: auto;
        overflow: visible;
    }

    .hscroll-track {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
    }

    .hscroll-track .model-card {
        scroll-snap-align: start;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .application-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .protagonist-card {
        padding: 2rem;
    }

    .protagonist .card-button {
        width: 100%;
        min-width: 0;
    }

    .protagonist-card h4 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .application-form {
        padding: 2rem;
    }

    .nav {
        padding: 0.8rem 1rem;
        width: min(560px, 92vw);
    }

    .container {
        padding: 0 3%;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--absolute-black);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-ruby);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bright-ruby);
}
