/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: white;
    background-color: #0a0a0a;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Tipografia Premium */
h1 {
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.8rem;
}

h2 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.85;
    line-height: 1.8;
}

.gold-text {
    color: #D4AF37;
}

.highlight {
    background: linear-gradient(45deg, #D4AF37, #f9e076);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Layout Geral */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 3rem;
}

.grid {
    display: grid;
    gap: 5rem;
    align-items: center;
}

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

.mb-5 {
    margin-bottom: 4rem;
}

/* Seções */
section {
    min-height: 100vh;
    padding: 10rem 0;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    position: relative;
}

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

.hero-content h1 {
    font-size: 5.2rem;
    animation: fadeInUp 1.2s ease-out;
    text-shadow: 0 5px 25px rgba(0,0,0,0.4);
}

.hero-content p {
    animation: fadeInUp 1.2s ease-out 0.2s forwards;
    opacity: 0;
    font-size: 1.8rem;
    max-width: 700px;
}

.hero-metrics {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.7);
    border: 1px solid rgba(255,255,255,0.1);
    transform: perspective(1000px) rotateY(-5deg);
    animation: float 6s ease-in-out infinite;
}

.hero-metrics::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(212, 175, 55, 0.05), transparent);
    pointer-events: none;
}

.hero-metrics img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.hero-metrics:hover img {
    transform: scale(1.03);
}

.metric-badge {
    position: absolute;
    top: 40px;
    right: 40px;
    background: rgba(212, 175, 55, 0.15);
    backdrop-filter: blur(15px);
    padding: 15px 32px;
    border-radius: 30px;
    font-weight: 600;
    border: 1px solid rgba(212, 175, 55, 0.3);
    font-size: 1.2rem;
    z-index: 2;
    animation: pulse 2s infinite;
}

/* Timeline Section */
#timeline {
    background: linear-gradient(45deg, #0c0c0c, #111111);
}

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

.timeline-metrics {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.1);
    height: 700px;
}

.timeline-metrics img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.timeline-metrics:hover img {
    transform: scale(1.03);
}

.timeline-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.timeline-item {
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.7), rgba(20, 20, 20, 0.7));
    padding: 3rem;
    border-left: 5px solid #D4AF37;
    backdrop-filter: blur(15px);
    border-radius: 0 18px 18px 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInRight 0.8s ease-out forwards;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.timeline-item:nth-child(1) { animation-delay: 0.2s; }
.timeline-item:nth-child(2) { animation-delay: 0.4s; }
.timeline-item:nth-child(3) { animation-delay: 0.6s; }
.timeline-item:nth-child(4) { animation-delay: 0.8s; }

.timeline-item:hover {
    transform: translateX(15px);
    background: linear-gradient(145deg, rgba(40, 40, 40, 0.8), rgba(30, 30, 30, 0.8));
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.timeline-item h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #D4AF37;
    display: flex;
    align-items: center;
    gap: 15px;
}

.timeline-item h3 i {
    font-size: 1.8rem;
}

/* Numbers Section */
#numbers {
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
}

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

.numbers-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.number-card {
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.7), rgba(20, 20, 20, 0.7));
    padding: 4rem;
    border-radius: 24px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s ease-out forwards;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.number-card:nth-child(1) { animation-delay: 0.2s; }
.number-card:nth-child(2) { animation-delay: 0.4s; }
.number-card:nth-child(3) { animation-delay: 0.6s; }

.number-card:hover {
    transform: translateY(-20px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 30px 60px rgba(212, 175, 55, 0.25);
}

.number-card h3 {
    font-size: 5.5rem;
    color: #D4AF37;
    margin-bottom: 2rem;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.number-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.metric-item {
    background: linear-gradient(145deg, rgba(25, 25, 25, 0.7), rgba(15, 15, 15, 0.7));
    padding: 2.5rem;
    border-radius: 18px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(15px);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s ease-out forwards;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.metric-item:nth-child(1) { animation-delay: 0.3s; }
.metric-item:nth-child(2) { animation-delay: 0.5s; }
.metric-item:nth-child(3) { animation-delay: 0.7s; }
.metric-item:nth-child(4) { animation-delay: 0.9s; }

.metric-item:hover {
    transform: translateY(-15px);
    border-color: rgba(212, 175, 55, 0.3);
}

.metric-item h4 {
    font-size: 2.8rem;
    color: #D4AF37;
    margin-bottom: 1rem;
}

/* Before-After Section */
#before-after {
    background: linear-gradient(45deg, #0a0a0a, #0c0a06);
}

.comparison-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
    max-width: 1600px;
    width: 100%;
}

.comparison-item {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.7);
    height: 600px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.comparison-item:nth-child(1) { animation-delay: 0.2s; }
.comparison-item:nth-child(2) { animation-delay: 0.4s; }

.comparison-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.comparison-item:hover img {
    transform: scale(1.08);
}

.comparison-label {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: rgba(0,0,0,0.7);
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 1.5px;
    font-size: 1.3rem;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
}

#before .comparison-label {
    color: #ff9e9e;
}

#after .comparison-label {
    color: #a8f0e6;
}

.comparison-description {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.5), rgba(20, 20, 20, 0.5));
    border: 1px solid rgba(212, 175, 55, 0.2);
    font-size: 1.6rem;
    line-height: 1.8;
    backdrop-filter: blur(15px);
    opacity: 0;
    animation: fadeIn 1s ease-out 0.6s forwards;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Closing Section */
#closing {
    background: linear-gradient(to bottom, #000, #0c0a03);
    min-height: 80vh;
}

.closing-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.4s forwards;
}

#closing p {
    font-size: 3.8rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 1.4;
    margin: 0 auto;
    position: relative;
    padding: 3rem;
}

#closing p::before,
#closing p::after {
    content: """;
    font-size: 8rem;
    color: #D4AF37;
    position: absolute;
    opacity: 0.2;
}

#closing p::before {
    top: -40px;
    left: -50px;
}

#closing p::after {
    bottom: -80px;
    right: -50px;
    transform: rotate(180deg);
}

/* Elementos decorativos */
.decoration {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.gold-circle {
    width: 1000px;
    height: 1000px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0) 70%);
    position: absolute;
    top: -500px;
    right: -500px;
    animation: rotate 30s linear infinite;
}

.gold-line {
    height: 200%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.2), transparent);
    position: absolute;
    top: -50%;
    left: 20%;
}

.gold-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #D4AF37;
    border-radius: 50%;
    box-shadow: 0 0 10px 2px rgba(212, 175, 55, 0.7);
    animation: twinkle 3s infinite;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes float {
    0% { transform: translateY(0) rotateY(-5deg); }
    50% { transform: translateY(-30px) rotateY(-5deg); }
    100% { transform: translateY(0) rotateY(-5deg); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5); }
    70% { box-shadow: 0 0 0 20px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

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

@keyframes twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

/* Responsividade */
@media (max-width: 1600px) {
    h1 {
        font-size: 4.8rem;
    }
    
    #closing p {
        font-size: 3.2rem;
    }
}

@media (max-width: 1200px) {
    h1 {
        font-size: 4rem;
    }
    
    h2 {
        font-size: 3.2rem;
    }
    
    #closing p {
        font-size: 2.8rem;
    }
}

@media (max-width: 992px) {
    section {
        padding: 8rem 0;
    }
    
    .hero-grid,
    .timeline-grid,
    .numbers-grid {
        grid-template-columns: 1fr;
        gap: 5rem;
    }
    
    h1 {
        font-size: 3.5rem;
    }
    
    h2 {
        font-size: 2.8rem;
    }
    
    .comparison {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .comparison-item {
        height: 500px;
    }
    
    .number-metrics {
        grid-template-columns: 1fr;
    }
    
    .hero-metrics {
        transform: perspective(1000px) rotateY(0);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.4rem;
    }
    
    p {
        font-size: 1.3rem;
    }
    
    .number-card {
        padding: 3rem;
    }
    
    .number-card h3 {
        font-size: 4.5rem;
    }
    
    #closing p {
        font-size: 2.4rem;
    }
    
    .comparison-item {
        height: 350px;
    }
    
    .container {
        padding: 0 2rem;
    }
    
    .metric-badge {
        top: 20px;
        right: 20px;
        font-size: 1rem;
        padding: 10px 20px;
    }
    
    #closing p::before,
    #closing p::after {
        font-size: 5rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    #closing p {
        font-size: 2rem;
        padding: 2rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
}
