@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@800;900&display=swap');

:root {
    --primary: #34115B; /* Roxo escuro premium */
    --primary-light: #522B88;
    --accent: #FBC02D;  /* Amarelo sofisticado */
    --bg-page: #10051C; /* Fundo principal escuro */
    --card-bg: #1D0A35; /* Fundo dos cards */
    --text-main: #F2E8FF; /* Texto claro */
    --text-sec: #B99CDB; /* Texto secundário */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-page);
    overflow-x: hidden;
}

/* HEADER PREMIUM */
header {
    background: radial-gradient(circle at top right, var(--primary-light) 0%, var(--bg-page) 100%);
    color: white;
    padding: 6rem 1rem 7rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--bg-page));
}

.logo-header {
    width: 120px;
    height: auto;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 15px rgba(251, 192, 45, 0.4));
}

header h1 { 
    margin: 0; 
    font-family: 'Montserrat', sans-serif;
    font-size: 4.5rem; 
    font-weight: 900; 
    text-transform: uppercase;
    letter-spacing: -2px; 
    color: white;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
}

header p { 
    font-size: 1.25rem; 
    opacity: 0.9; 
    margin-top: 15px; 
    color: var(--text-sec); 
}

/* Mockups Premium CSS (Perspectiva 3D) */
.mockups-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    position: relative;
    z-index: 10;
    padding-bottom: 20px;
}

.phone-mockup {
    width: 240px;
    height: 520px; /* Proporção realista para 1242x2688 */
    border-radius: 35px;
    border: 10px solid #1c1c1e;
    background: #000;
    box-shadow: 0 25px 50px rgba(0,0,0,0.6);
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease;
}

/* Notch / Dynamic Island */
.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background: #1c1c1e;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: #0d0614; /* Cor escura para mesclar com o topo do print */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    box-sizing: border-box;
    /* Empurra o print 25px para baixo para fugir do notch */
    background-size: 100% calc(100% - 25px);
    background-position: center bottom;
    background-repeat: no-repeat;
}

/* Celular 1 (Esquerda) */
.phone-1 {
    transform: perspective(1000px) rotateY(20deg) translateX(40px) scale(0.85);
    z-index: 1;
    opacity: 0.75;
}

/* Celular 2 (Centro / Destaque) */
.phone-2 {
    transform: perspective(1000px) translateY(-10px);
    z-index: 3;
    margin-left: -50px;
    margin-right: -50px;
    border-color: rgba(251, 192, 45, 0.6); /* Borda destacada em dourado */
    box-shadow: 0 35px 70px rgba(0,0,0,0.8), 0 0 35px rgba(251, 192, 45, 0.2);
}

/* Celular 3 (Direita) */
.phone-3 {
    transform: perspective(1000px) rotateY(-20deg) translateX(-40px) scale(0.85);
    z-index: 2;
    opacity: 0.75;
}

/* Animações no Hover */
.mockups-wrapper:hover .phone-1 {
    transform: perspective(1000px) rotateY(15deg) translateX(20px) scale(0.9);
    opacity: 1;
}

.mockups-wrapper:hover .phone-2 {
    transform: perspective(1000px) translateY(0px) scale(1.02);
}

.mockups-wrapper:hover .phone-3 {
    transform: perspective(1000px) rotateY(-15deg) translateX(-20px) scale(0.9);
    opacity: 1;
}

.container {
    max-width: 900px;
    margin: 2rem auto 4rem;
    padding: 0 1rem;
    position: relative;
    z-index: 10;
}

.section-block {
    padding: 3rem 0;
    margin-bottom: 20px;
    background: transparent;
    border: none;
    box-shadow: none;
}

/* Frase de Impacto */
.impact-phrase {
    text-align: center;
    margin: 40px auto 120px; /* Aumentei o espaço inferior para 120px */
    max-width: 800px;
}

.impact-phrase h2 {
    font-size: 2.8rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    border-bottom: none;
    padding-bottom: 0;
    line-height: 1.2;
}

.impact-phrase p {
    font-size: 1.25rem;
    color: var(--text-sec);
    margin: 0;
}

h2 { 
    color: var(--accent); 
    margin-top: 0; 
    font-size: 2rem;
    border-bottom: 1px solid rgba(251, 192, 45, 0.2); 
    padding-bottom: 15px; 
    margin-bottom: 30px;
    font-weight: 700;
}

/* Infinite Marquee Premium (JS Controlled) */
.marquee-wrapper {
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    position: relative;
    width: 100%;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    cursor: grab;
}

.marquee-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.marquee-wrapper.active {
    cursor: grabbing;
}

.marquee-track {
    display: flex;
    width: max-content;
}

.marquee-content {
    display: flex;
    gap: 60px;
    padding-right: 60px;
}

.marquee-item {
    min-width: 280px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-left: 20px;
    border-left: 2px solid rgba(251, 192, 45, 0.2);
    transition: border-left-color 0.3s ease;
}

.marquee-item:hover {
    border-left-color: var(--accent);
}

.marquee-item h3 {
    color: white;
    margin: 0 0 12px 0;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: text-shadow 0.3s ease, color 0.3s ease;
}

.marquee-item:hover h3 {
    color: var(--accent);
    text-shadow: 0 0 12px rgba(251, 192, 45, 0.6), 0 0 24px rgba(251, 192, 45, 0.3);
}

.marquee-item p {
    font-size: 1rem;
    margin: 0;
    color: var(--text-sec);
    line-height: 1.6;
    opacity: 0.9;
}

/* O resto do CSS original segue aqui... (Botões, Caixa de Doação, etc) */
.donation-box { background: rgba(251, 192, 45, 0.1); border-left: 4px solid var(--accent); padding: 1.5rem; border-radius: 12px; margin-top: 1.5rem; }
.pix-key { font-family: monospace; font-size: 1.3rem; font-weight: bold; color: var(--accent); background: rgba(0,0,0,0.3); padding: 10px 15px; border-radius: 8px; display: inline-block; margin: 10px 0; border: 1px dashed var(--accent); letter-spacing: 1px; }
.tip-box { background-color: rgba(251, 192, 45, 0.05); color: var(--text-sec); padding: 15px; border-radius: 12px; font-size: 0.95rem; margin-bottom: 20px; display: flex; align-items: center; border: 1px solid rgba(251, 192, 45, 0.2); }

/* Políticas e FAQ */
details { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; margin-bottom: 15px; overflow: hidden; transition: all 0.3s ease; }
summary { background: transparent; padding: 20px; cursor: pointer; font-weight: 600; color: white; outline: none; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary:hover { background: rgba(255,255,255,0.05); }
summary::after { content: '+'; font-size: 1.5rem; color: var(--accent); font-weight: 400; transition: transform 0.3s ease; }
details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
details[open] summary { border-bottom: 1px solid rgba(255,255,255,0.05); color: var(--accent); }
.policy-content, .faq-content { padding: 20px; font-size: 0.95rem; color: var(--text-sec); max-height: 400px; overflow-y: auto; line-height: 1.7; background: transparent; }

a { color: var(--accent); text-decoration: none; font-weight: 600; transition: color 0.2s; }
a:hover { color: #fff; text-decoration: none; }
footer { text-align: center; padding: 4rem 1rem; color: var(--text-sec); font-size: 0.9rem; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 40px; }

/* Botões */
.botoes-shama { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.btn-shama { display: inline-flex; align-items: center; justify-content: center; padding: 16px 32px; border-radius: 50px; font-size: 16px; font-weight: 700; text-decoration: none; color: #10051C; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
.btn-shama:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 10px 25px rgba(251, 192, 45, 0.4); }
.btn-play, .btn-apple, .btn-web { background-color: transparent; color: white; border: 2px solid white; }
.btn-play:hover, .btn-apple:hover, .btn-web:hover { background-color: white; color: #10051C; box-shadow: 0 10px 25px rgba(255,255,255,0.2); }
.btn-icone { margin-right: 12px; }

/* -------------------------------------
   ANIMAÇÕES DE SCROLL FLUIDAS (REVEAL)
   ------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Para animar os cards com um pequeno delay em cascata */
.features-grid .reveal {
    transform: translateY(30px);
}
.features-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.features-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.features-grid .reveal:nth-child(4) { transition-delay: 0.3s; }

/* -------------------------------------
   RESPONSIVIDADE AVANÇADA (SMARTPHONES)
   ------------------------------------- */
@media (max-width: 768px) {
    /* Ajuste do Trio de Celulares 3D para caber na tela pequena */
    .mockups-wrapper {
        margin-top: 40px;
        padding-bottom: 10px;
    }
    
    .phone-mockup {
        width: 150px;
        height: 325px; /* Proporção mantida */
        border-width: 6px;
        border-radius: 20px;
    }
    
    .phone-mockup::before {
        width: 60px;
        height: 15px;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
    }
    
    .phone-2 {
        margin-left: -35px;
        margin-right: -35px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.8), 0 0 15px rgba(251, 192, 45, 0.2);
    }
    
    .phone-1 {
        transform: perspective(1000px) rotateY(25deg) translateX(25px) scale(0.85);
    }
    
    .phone-3 {
        transform: perspective(1000px) rotateY(-25deg) translateX(-25px) scale(0.85);
    }

    /* Suaviza as animações de hover no mobile para não bugar o toque */
    .mockups-wrapper:hover .phone-1 {
        transform: perspective(1000px) rotateY(20deg) translateX(15px) scale(0.9);
    }
    .mockups-wrapper:hover .phone-3 {
        transform: perspective(1000px) rotateY(-20deg) translateX(-15px) scale(0.9);
    }

    /* Ajuste dos Botões Superiores */
    .botoes-shama {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-shama {
        width: 100%;
        max-width: 280px;
        padding: 14px 24px;
        font-size: 15px;
    }
    
    /* Textos do Header e Frase de Impacto menores para não quebrar a tela */
    h1 {
        font-size: 2.8rem;
    }
    h2 {
        font-size: 1.6rem;
    }
    
    .impact-phrase h2 {
        font-size: 1.8rem;
    }
    
    .impact-phrase p {
        font-size: 1rem;
    }
}