/* ═══════════════════════════════════════
   ADN INSIDE - LANDING PAGE PREMIUM
   Design Elegante e Sofisticado
   ═══════════════════════════════════════ */

/* ═══════════════════════════════════════
   RESET E VARIÁVEIS CSS
   ═══════════════════════════════════════ */

:root {
    /* Cores */
    --color-black: #0a0a0a;
    --color-brown-dark: #1a1410;
    --color-gold: #C5A059;
    --color-gold-bright: #D4AF37;
    --color-white: #FFFFFF;
    --color-gray-light: #B8B8B8;
    --color-gray: #666666;
    
    /* Tipografia */
    --font-title: 'Playfair Display', serif;
    --font-subtitle: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Espaçamentos */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transições */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-black);
    color: var(--color-white);
    line-height: 1.8;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ═══════════════════════════════════════
   SCROLL PROGRESS BAR
   ═══════════════════════════════════════ */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-bright));
    z-index: 9999;
    transition: width 0.1s ease-out;
}

/* ═══════════════════════════════════════
   LOGO FIXA
   ═══════════════════════════════════════ */

.header-logo {
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.logo {
    width: 130px;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 15px rgba(197, 160, 89, 0.2));
    transition: var(--transition-smooth);
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 20px rgba(197, 160, 89, 0.4));
}

/* ═══════════════════════════════════════
   SEÇÃO 1: HERO
   ═══════════════════════════════════════ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(ellipse at center, rgba(197, 160, 89, 0.08) 0%, var(--color-black) 70%);
    padding: 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.01) 2px, rgba(255, 255, 255, 0.01) 4px);
    pointer-events: none;
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, var(--color-black) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

/* Imagem no Encerramento com Moldura Elegante */
.closing-image-frame {
    position: relative;
    max-width: 350px;
    width: 100%;
    margin: 4rem auto 0;
    padding: 0 1rem;
    animation: fadeInScale 1.2s ease-out;
}

.frame-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, 
        rgba(197, 160, 89, 0.25) 0%, 
        rgba(212, 175, 55, 0.15) 50%, 
        rgba(197, 160, 89, 0.25) 100%);
    border-radius: 6px;
    filter: blur(15px);
    z-index: 0;
    opacity: 0.5;
    animation: pulse 3s ease-in-out infinite;
}

.closing-image {
    position: relative;
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 4px;
    border: 1.5px solid var(--color-gold);
    box-shadow: 
        0 6px 24px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(197, 160, 89, 0.15);
    display: block;
    z-index: 1;
    transition: var(--transition-smooth);
}

.closing-image:hover {
    transform: translateY(-3px);
    border-color: var(--color-gold-bright);
    box-shadow: 
        0 10px 36px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(197, 160, 89, 0.25),
        inset 0 0 0 1px rgba(197, 160, 89, 0.25);
}

.pre-title {
    font-family: var(--font-subtitle);
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    font-weight: 300;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-title);
    font-size: 4rem;
    font-weight: 400;
    font-style: italic;
    color: var(--color-white);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--color-gray-light);
    line-height: 2;
    margin-bottom: 3rem;
    font-weight: 300;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 4rem;
    cursor: pointer;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-family: var(--font-subtitle);
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--color-gold);
    text-transform: uppercase;
    font-weight: 300;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--color-gold);
    border-bottom: 2px solid var(--color-gold);
    transform: rotate(45deg);
}

/* ═══════════════════════════════════════
   SEÇÃO 2: MANIFESTO
   ═══════════════════════════════════════ */

.manifesto {
    background-color: var(--color-black);
    padding: var(--spacing-xl) 0;
}

.manifesto-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.manifesto-text {
    font-family: var(--font-body);
    font-size: 1.4rem;
    color: var(--color-white);
    line-height: 2;
    margin-bottom: 2rem;
    font-weight: 300;
}

.manifesto-text:last-child {
    margin-bottom: 0;
}

/* ═══════════════════════════════════════
   SEÇÃO 3: MISSÃO E PROPÓSITO
   ═══════════════════════════════════════ */

.mission {
    background-color: var(--color-brown-dark);
    padding: var(--spacing-xl) 0;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.mission-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 3rem 2rem;
    border-radius: 4px;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--color-gold);
}

.mission-card:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-5px);
}

.card-icon {
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.card-title {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-style: italic;
    color: var(--color-gold);
    margin-bottom: 1rem;
    font-weight: 400;
}

.card-text {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-gray-light);
    line-height: 1.8;
    font-weight: 300;
}

/* ═══════════════════════════════════════
   SEÇÃO 4: PREPARAÇÃO
   ═══════════════════════════════════════ */

.preparation {
    background-color: var(--color-black);
    padding: var(--spacing-xl) 0;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
}

.preparation-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-style: italic;
    color: var(--color-white);
    margin-bottom: 2rem;
    font-weight: 400;
}

.section-intro {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--color-gray-light);
    line-height: 2;
    margin-bottom: 2rem;
    font-weight: 300;
}

.section-note {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-gray);
    line-height: 1.8;
    font-style: italic;
    font-weight: 300;
}

/* ═══════════════════════════════════════
   SEÇÃO 5: OS 7 TERRITÓRIOS - TIMELINE
   ═══════════════════════════════════════ */

.territories {
    background-color: var(--color-brown-dark);
    padding: var(--spacing-xl) 0;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, 
        transparent 0%, 
        var(--color-gold) 10%, 
        var(--color-gold) 90%, 
        transparent 100%);
}

.timeline-item {
    position: relative;
    display: flex;
    gap: 3rem;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-gold);
    color: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 500;
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.4);
    position: relative;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    padding: 1rem 0;
}

.territory-title {
    font-family: var(--font-title);
    font-size: 1.6rem;
    font-style: italic;
    color: var(--color-gold);
    margin-bottom: 1rem;
    font-weight: 400;
}

.territory-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--color-gray-light);
    line-height: 1.9;
    font-weight: 300;
}

/* ═══════════════════════════════════════
   SEÇÃO 6: ENCERRAMENTO
   ═══════════════════════════════════════ */

.closing {
    background: radial-gradient(ellipse at center, rgba(197, 160, 89, 0.05) 0%, var(--color-black) 70%);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.closing-content {
    max-width: 800px;
    margin: 0 auto;
}

.closing-subtitle {
    font-family: var(--font-title);
    font-size: 2rem;
    font-style: italic;
    color: var(--color-gold);
    margin-bottom: 1rem;
    font-weight: 400;
}

.closing-title {
    font-family: var(--font-body);
    font-size: 1.3rem;
    color: var(--color-white);
    line-height: 2;
    margin-bottom: 3rem;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: var(--color-gold);
    color: var(--color-black);
    font-family: var(--font-subtitle);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(197, 160, 89, 0.3);
}

.cta-button:hover {
    background-color: var(--color-gold-bright);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(197, 160, 89, 0.5);
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */

.footer {
    background-color: var(--color-black);
    padding: 2rem 0;
    border-top: 1px solid rgba(197, 160, 89, 0.1);
}

.footer-text {
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-gray);
    font-weight: 300;
}

/* ═══════════════════════════════════════
   ANIMAÇÕES
   ═══════════════════════════════════════ */

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.02);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ═══════════════════════════════════════
   RESPONSIVIDADE
   ═══════════════════════════════════════ */

/* Tablets */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .logo {
        width: 95px;
    }
    
    .manifesto-text {
        font-size: 1.2rem;
    }
    
    .closing-image-frame {
        max-width: 300px;
        margin-top: 3rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .header-logo {
        top: 1.5rem;
        left: 1.5rem;
    }
    
    .logo {
        width: 80px;
    }
    
    .closing-image-frame {
        max-width: 280px;
        margin-top: 2.5rem;
        padding: 0 0.5rem;
    }
    
    .frame-glow {
        top: -8px;
        left: -8px;
        right: -8px;
        bottom: -8px;
        filter: blur(12px);
    }
    
    .closing-image {
        border-width: 1.5px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .manifesto-text {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        gap: 2rem;
    }
    
    .timeline-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .territory-title {
        font-size: 1.3rem;
    }
    
    .territory-text {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .closing-image-frame {
        max-width: 240px;
        margin-top: 2rem;
        padding: 0 0.25rem;
    }
    
    .frame-glow {
        top: -6px;
        left: -6px;
        right: -6px;
        bottom: -6px;
        filter: blur(10px);
    }
    
    .closing-image {
        border-width: 1px;
        border-radius: 3px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .pre-title {
        font-size: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .logo {
        width: 70px;
    }
}

/* ═══════════════════════════════════════
   ACESSIBILIDADE
   ═══════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Foco visível para navegação por teclado */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 4px;
}