/* ==========================================================================
   CSS DESIGN SYSTEM - DESBRAVANDO A TERRA (PÁGINA DE VENDAS EXCLUSIVA)
   ========================================================================== */
:root {
    --bg-main: #0b0f19;
    --bg-card: rgba(22, 28, 45, 0.7);
    --border-color: rgba(255, 255, 255, 0.08);
    
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    /* Paleta Aventuras e Neve (Guia Oficial) */
    --accent-terracota: #D96B27; /* Laranja Aventura */
    --accent-terracota-dark: #a04712;
    --accent-glacial: #3b82f6; /* Azul Glacial */
    --accent-glacial-dark: #1d4ed8;
    --accent-green: #10b981;
    
    --gradient-hero: linear-gradient(135deg, var(--accent-terracota) 0%, var(--accent-glacial) 100%);
    --gradient-glow: linear-gradient(135deg, rgba(217, 107, 39, 0.3) 0%, rgba(59, 130, 246, 0.3) 100%);
    
    --font-titles: 'Outfit', sans-serif;
    --font-text: 'Plus Jakarta Sans', sans-serif;
    
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-text);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 90px; /* Margem de segurança para evitar que o Sticky CTA cubra o rodapé */
}

/* Scrollbar Customizado */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-terracota);
}

/* Utilidades Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

.bg-darker {
    background-color: #070a12;
}

.grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

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

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-4 {
    gap: 1.5rem;
}

.text-gradient {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0.05em 0;
}

.text-green {
    color: var(--accent-green);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-family: var(--font-titles);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Back Link */
.back-home-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.back-home-link:hover {
    color: var(--accent-terracota);
}

/* ==========================================================================
   BOTÕES 3D FÍSICOS (MECHANICAL PUSH-BUTTONS)
   ========================================================================== */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-family: var(--font-titles);
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-sm);
    padding: 0.95rem 1.75rem;
    cursor: pointer;
    transform: translateY(0);
    transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.15s ease, 
                border-bottom-width 0.15s ease,
                background-color 0.15s ease;
}

.btn-primary {
    color: #fff !important;
    background: linear-gradient(135deg, #f97316 0%, var(--accent-terracota) 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-bottom: 6px solid var(--accent-terracota-dark); /* Depth border */
    box-shadow: 0 8px 24px rgba(217, 107, 39, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(217, 107, 39, 0.5);
    border-color: rgba(255, 255, 255, 0.35);
}

.btn-primary:active {
    transform: translateY(2px) !important;
    border-bottom-width: 1px !important;
    box-shadow: 0 2px 10px rgba(217, 107, 39, 0.2) !important;
}

.btn-secondary {
    color: #fff !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 5px solid rgba(255, 255, 255, 0.05); /* Depth border */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    transform: translateY(-4px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
}

.btn-secondary:active {
    transform: translateY(2px) !important;
    border-bottom-width: 1px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15) !important;
}

.btn-large {
    padding: 1.25rem 2.25rem;
    font-size: 1.15rem;
}

.w-full {
    width: 100%;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column; /* Set to column so cross-axis constraints work correctly */
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6rem 1.5rem 4rem;
    position: relative;
}

.hero-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    animation: fadeInDown 0.6s ease-out;
}

.badge-icon {
    width: 16px;
    height: 16px;
    color: var(--accent-terracota);
}

.hero-section h1 {
    font-family: var(--font-titles);
    font-size: clamp(2.25rem, 7.5vw, 3.85rem); /* Tipografia fluida aprimorada */
    font-weight: 800;
    line-height: 1.3; /* Aumentado para evitar corte vertical do gradiente */
    letter-spacing: -0.5px; /* Suavizado para evitar corte horizontal por sobreposição */
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 0.05em 0; /* Espaçamento de segurança contra cortes de renderização do gradiente */
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 4rem;
    width: 100%;
    max-width: 500px;
    animation: fadeInUp 1.2s ease-out;
}

.hero-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    animation: fadeInUp 1.4s ease-out;
}

.proof-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.proof-number {
    font-family: var(--font-titles);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.proof-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.proof-divider {
    width: 1px;
    height: 30px;
    background-color: var(--border-color);
}

/* ==========================================================================
   SEÇÕES GERAIS E CONTEÚDO
   ========================================================================== */
.subsection-title {
    font-family: var(--font-titles);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.subsection-title i {
    color: var(--accent-terracota);
}

.paragraph {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}

.social-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.instagram-icon {
    width: 36px;
    height: 36px;
    color: var(--accent-terracota);
}

.link-social {
    color: var(--accent-glacial);
    text-decoration: none;
    font-weight: 700;
    display: block;
    margin-top: 0.25rem;
}

.image-gallery-highlight {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}

.main-gallery-img {
    width: 100%;
    height: auto;
    display: block;
}

.img-caption {
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(8px);
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

/* GRID DE FEATURES */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.25rem;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(22, 28, 45, 0.9);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(217, 107, 39, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-terracota);
    margin-bottom: 1.5rem;
}

.feature-card h4 {
    font-family: var(--font-titles);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* GALERIA DE FOTOS */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.photo-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid var(--border-color);
}

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

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(11, 15, 25, 0.9) 0%, rgba(11, 15, 25, 0.2) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition-smooth);
}

.photo-overlay span {
    font-family: var(--font-titles);
    font-size: 1.1rem;
    font-weight: 700;
}

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

.photo-item:hover .photo-overlay {
    opacity: 1;
}

/* MOCKUP DO APLICATIVO */
.app-mockup {
    background: #111827;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    overflow: hidden;
}

.mockup-header {
    background: #1f2937;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.mockup-title {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-left: 0.5rem;
    font-weight: 500;
}

.mockup-img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.85;
}

.badge-bonus {
    color: var(--accent-terracota);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.check-list {
    list-style: none;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.check-list li i {
    width: 20px;
    height: 20px;
}

/* ==========================================================================
   SEÇÃO DE PREÇOS (OFERTA)
   ========================================================================== */
.section-pricing {
    position: relative;
    overflow: hidden;
}

.pricing-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(217, 107, 39, 0.15) 0%, rgba(59, 130, 246, 0.05) 50%, rgba(11, 15, 25, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.pricing-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 2px solid var(--accent-terracota);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
    padding: 3.5rem 3rem;
    position: relative;
    z-index: 10;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(217, 107, 39, 0.2);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
}

.pricing-header h3 {
    font-family: var(--font-titles);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.pricing-tagline {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.price-box {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 2.5rem 0;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0.5rem;
    margin-right: 0.25rem;
    color: var(--text-primary);
}

.price-value {
    font-family: var(--font-titles);
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-cents {
    font-size: 2rem;
    font-weight: 800;
    margin-top: 0.75rem;
    color: var(--accent-terracota);
}

.price-info {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
}

.pricing-features li i {
    width: 20px;
    height: 20px;
    color: var(--accent-terracota);
}

.btn-large {
    padding: 1.25rem 2rem;
    justify-content: center;
    font-size: 1.15rem;
}

.guarantee-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.shield-icon {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

/* ==========================================================================
   STICKY CTA FLUTUANTE (SCROLL-CONTAINED 3D BUTTON)
   ========================================================================== */
.sticky-cta-container {
    position: fixed;
    bottom: -120px; /* Oculto inicialmente */
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 1rem 1.5rem;
    background: rgba(7, 10, 18, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    transition: bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    opacity: 0;
    pointer-events: none;
}

.sticky-cta-container.active {
    bottom: 0;
    opacity: 1;
    pointer-events: all;
}

.sticky-cta-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.sticky-cta-text-desktop {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.sticky-title {
    font-family: var(--font-titles);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.2px;
}

.sticky-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.btn-sticky {
    flex-shrink: 0;
    min-width: 280px;
    box-shadow: 0 6px 20px rgba(217, 107, 39, 0.4);
}

/* Responsividade do Sticky CTA */
@media (max-width: 768px) {
    .sticky-cta-container {
        padding: 0.75rem 1rem;
    }
    
    .sticky-cta-content {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }
    
    .sticky-cta-text-desktop {
        display: none; /* Esconde no mobile para economizar espaço vertical */
    }
    
    .btn-sticky {
        width: 100%;
        min-width: unset;
        padding: 0.85rem 1.5rem;
        font-size: 1rem;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: #070a12;
    border-top: 1px solid var(--border-color);
    padding: 4rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.footer-brand p {
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.footer-links a:hover {
    color: var(--accent-terracota);
}

/* ==========================================================================
   KEYFRAMES ANIMAÇÃO
   ========================================================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   RESPONSIVIDADE
   ========================================================================== */
@media (max-width: 968px) {
    .section {
        padding: 3.5rem 0; /* Reduced padding on tablets/mobiles to prevent excessively long pages */
    }

    .section-header {
        margin-bottom: 2rem; /* Reduced space below section titles */
    }

    .grid-2-cols {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .hero-container {
        padding: 0 1.25rem; /* Safe padding for tablets/mobiles */
    }
    
    .hero-section h1 {
        font-size: clamp(1.8rem, 6.5vw, 2.75rem); /* Safe fluid font size for tablets/mobiles */
        line-height: 1.25;
        letter-spacing: -0.5px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 3rem;
    }

    .hero-footer {
        flex-direction: column; /* Stack columns vertically to prevent horizontal overflow */
        gap: 1.25rem;
        margin-top: 1.5rem;
    }

    .proof-divider {
        display: none; /* Hide vertical dividers since we are stacking items vertically */
    }
    
    .photo-gallery {
        grid-template-columns: 1fr;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .pricing-card {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    body {
        padding-bottom: 130px; /* Compensation for Sticky CTA */
    }

    .section {
        padding: 2.5rem 0; /* Extremely clean vertical spacing on smartphones */
    }
    
    .hero-section {
        padding: 4rem 1rem 2.5rem;
        min-height: auto; /* Remove height constraint on small mobile screens */
    }
    
    .hero-container {
        padding: 0 1rem; /* Extra tight safe margin for small screens */
    }
    
    .hero-section h1 {
        font-size: clamp(1.6rem, 7.5vw, 2.1rem) !important; /* Proportional size for small devices */
        line-height: 1.3 !important;
        letter-spacing: -0.5px !important;
        padding: 0.05em 0 !important;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 4px 12px;
        margin-bottom: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.85rem;
    }
    
    .grid-2-cols {
        gap: 1.75rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .subsection-title {
        font-size: 1.4rem;
    }
}
