/* ================================================
   PULSE IQ - STYLESHEET FUTURISTA
   Design premium com animações e efeitos visuais
   ================================================ */

/* ================================================
   VARIÁVEIS CSS (Cores, Sombras, Transições)
   ================================================ */
:root {
    /* Cores principais */
    --color-bg-dark: #00112E;
    --color-bg-darker: #000A1E;
    --color-bg-gradient-start: #00112E;
    --color-bg-gradient-end: #021C46;

    /* Cores de texto */
    --color-text-primary: #FFFFFF;
    --color-text-secondary: #A9B8E4;
    --color-text-highlight: #2ED3FF;

    /* Cores de botões - Baseado nas regras da pasta botoes */
    --color-btn-text: #0046D2;
    --color-btn-text-hover: #FFFFFF;
    --color-btn-glow: #00BFFF;

    /* Cores de acento */
    --color-accent-neon: #00BFFF;
    --color-accent-gold: #F8C22C;

    /* Sombras e brilhos */
    --shadow-glow-blue: 0 0 20px rgba(0, 191, 255, 0.5);
    --shadow-glow-strong: 0 0 30px rgba(0, 191, 255, 0.8);
    --shadow-text: 0 2px 10px rgba(0, 0, 0, 0.5);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);

    /* Transições */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

/* ================================================
   RESET E CONFIGURAÇÕES GLOBAIS
   ================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(180deg, var(--color-bg-gradient-start) 0%, var(--color-bg-gradient-end) 100%);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Canvas de partículas fixo no fundo */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ================================================
   CONTAINER E LAYOUT GERAL
   ================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    z-index: 1;
}

section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

/* ================================================
   TIPOGRAFIA
   ================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-shadow: var(--shadow-text);
}

.section-title {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
}

.section-title.centered {
    text-align: center;
}

.highlight {
    color: var(--color-text-highlight);
    font-weight: 600;
}

/* ================================================
   BOTÕES SIMPLES COM IMAGENS DA PASTA BOTOES
   Usando btn_normal.png e btn_hover.png
   Fonte: Audiowide | Cor normal: #0046D2 | Hover: Branco
   ================================================ */
.btn-primary {
    display: inline-block;
    padding: 16px 40px;
    background-image: url('botoes/btn_normal.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    color: #0046D2;
    font-family: 'Audiowide', sans-serif;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    min-width: 180px;
    text-align: center;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.btn-primary span {
    display: inline-block;
}

/* Hover state */
.btn-primary:hover,
.btn-primary:focus {
    background-image: url('botoes/btn_hover.png');
    color: #FFFFFF;
    text-decoration: none;
}

/* Botão grande */
.btn-large {
    padding: 20px 50px;
    font-size: 1.2rem;
    min-width: 220px;
}

/* ================================================
   SEÇÃO 1: HERO / CABEÇALHO
   ================================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 0 120px 0;
    position: relative;
    background: transparent;
    z-index: 2;
}

.logo-container {
    margin-bottom: 3rem;
}

.logo-pulse {
    width: 150px;
    height: 150px;
    filter: drop-shadow(0 0 30px rgba(0, 191, 255, 0.6));
    animation: logo-pulse 3s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 30px rgba(0, 191, 255, 0.6));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 50px rgba(0, 191, 255, 1));
    }
}

.hero-title {
    font-size: 2.2rem;
    line-height: 1.4;
    max-width: 850px;
    margin: 0 auto;
    font-weight: 600;
    color: var(--color-text-primary);
}

/* ================================================
   SEÇÃO 2: INTRODUÇÃO
   ================================================ */
.intro-section {
    background: linear-gradient(rgba(0, 17, 46, 0.85), rgba(2, 28, 70, 0.85)), url('imagens/section_2.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: var(--color-bg-dark);
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.intro-content {
    max-width: 800px;
}

.intro-text {
    color: var(--color-text-primary);
}

.intro-description {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-secondary);
}

.intro-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--color-text-secondary);
}

.intro-section .btn-primary {
    margin-top: 2rem;
}

/* ================================================
   SEÇÃO 3: MOEDA PULSE
   ================================================ */
.moeda-section {
    padding: 120px 0;
    background-color: var(--color-bg-dark);
    position: relative;
    z-index: 1;
}

.moeda-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.moeda-info {
    padding-right: 40px;
}

.moeda-features {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    position: relative;
}

.feature-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent-neon), transparent);
    margin-right: 15px;
    margin-top: 10px;
    box-shadow: 0 0 10px var(--color-accent-neon);
}

.feature-item p {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

.moeda-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.moeda-3d {
    width: 400px;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(248, 194, 44, 0.5));
}

.rotating-coin {
    animation: rotate-coin 20s linear infinite;
}

@keyframes rotate-coin {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

/* ================================================
   SEÇÃO 4: MODELO EDUCATIVO
   Imagem section_4.png como background
   ================================================ */
.educativo-section {
    padding: 120px 0;
    background: linear-gradient(rgba(0, 17, 46, 0.85), rgba(2, 28, 70, 0.85)), url('imagens/section_4.png');
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: var(--color-bg-gradient-end);
    position: relative;
    z-index: 1;
}

.educativo-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.educativo-info {
    max-width: 600px;
    background: rgba(0, 17, 46, 0.7);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(0, 191, 255, 0.2);
    backdrop-filter: blur(10px);
}

.section-description {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.section-paragraph {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* ================================================
   SEÇÃO 5: CARGO REGIONAL
   ================================================ */
.cargo-section {
    padding: 120px 0;
    text-align: center;
    background-color: var(--color-bg-dark);
    position: relative;
    z-index: 1;
    overflow-x: hidden;
}

.cargo-intro {
    max-width: 900px;
    margin: 2rem auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    text-align: center;
}

.cargo-visual {
    margin: 80px 0;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.star-container {
    position: relative;
    width: 800px;
    height: 800px;
    margin: 0 auto;
}

.pulse-star {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    animation: star-pulse 3s ease-in-out infinite;
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.9))
            drop-shadow(0 0 80px rgba(0, 191, 255, 0.8))
            drop-shadow(0 0 120px rgba(0, 191, 255, 0.5));
}

.star-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes star-pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.9))
                drop-shadow(0 0 80px rgba(0, 191, 255, 0.8))
                drop-shadow(0 0 120px rgba(0, 191, 255, 0.5));
    }
    50% {
        transform: translate(-50%, -50%) scale(1.08);
        filter: drop-shadow(0 0 60px rgba(255, 255, 255, 1))
                drop-shadow(0 0 120px rgba(0, 191, 255, 1))
                drop-shadow(0 0 180px rgba(0, 191, 255, 0.7))
                drop-shadow(0 0 240px rgba(0, 191, 255, 0.4));
    }
}

/* Textos ao redor da estrela */
.cargo-point {
    position: absolute;
    width: 220px;
    text-align: center;
}

.cargo-point p {
    background: rgba(0, 17, 46, 0.95);
    padding: 18px 20px;
    border-radius: 12px;
    border: 2px solid var(--color-accent-neon);
    font-size: 1rem;
    color: var(--color-text-secondary);
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.5),
                0 0 40px rgba(0, 191, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cargo-point-1 {
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.cargo-point-2 {
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
}

.cargo-point-3 {
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.cargo-point-4 {
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
}

.cargo-cta {
    margin-top: 3rem;
}

/* ================================================
   SEÇÃO 6: OFERTA E ASSINATURA
   ================================================ */
.oferta-section {
    padding: 120px 0;
    background-color: var(--color-bg-gradient-end);
    position: relative;
    z-index: 1;
}

.oferta-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.oferta-paragraph {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.oferta-benefits {
    list-style: none;
    margin: 2rem 0;
}

.oferta-benefits li {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
    padding-left: 10px;
}

.oferta-warning {
    font-size: 1.2rem;
    color: var(--color-text-highlight);
    margin-top: 2rem;
}

/* Caixa de preço */
.oferta-price-box {
    background: linear-gradient(135deg, rgba(0, 72, 255, 0.1), rgba(0, 191, 255, 0.1));
    border: 2px solid var(--color-accent-neon);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-glow-blue);
    text-align: center;
}

.price-label {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.price-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--color-text-primary);
    margin-bottom: 2rem;
    line-height: 1;
}

.price-value span {
    font-size: 1.5rem;
    color: var(--color-text-secondary);
}

.price-note {
    font-size: 0.9rem;
    color: var(--color-text-highlight);
    margin-top: 1rem;
    font-style: italic;
}

/* ================================================
   RODAPÉ
   ================================================ */
.footer {
    background: var(--color-bg-darker);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(0, 191, 255, 0.2);
}

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

.footer-contact {
    margin-bottom: 2rem;
}

.footer-contact h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.footer-contact p {
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.footer-links {
    margin: 2rem 0;
}

.footer-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    margin: 0 15px;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-text-highlight);
}

.footer-links span {
    color: var(--color-text-secondary);
}

.footer-copyright {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
    color: var(--color-text-secondary);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ================================================
   BOTÃO FLUTUANTE WHATSAPP
   ================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 1000;
    transition: var(--transition-smooth);
    animation: whatsapp-pulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.8);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
}

@keyframes whatsapp-pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 6px 35px rgba(37, 211, 102, 0.8), 0 0 0 15px rgba(37, 211, 102, 0.1);
    }
}

/* ================================================
   ANIMAÇÕES DE SCROLL REVEAL
   ================================================ */
[data-animate] {
    opacity: 1;
    transition: var(--transition-smooth);
}

[data-animate].animate-in {
    opacity: 1;
}

[data-animate="fade-in"].animate-in {
    animation: fadeIn 0.8s ease-out forwards;
}

[data-animate="fade-in-up"].animate-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

[data-animate="slide-left"].animate-in {
    animation: slideLeft 0.8s ease-out forwards;
}

[data-animate="slide-right"].animate-in {
    animation: slideRight 0.8s ease-out forwards;
}

[data-animate="zoom-in"].animate-in {
    animation: zoomIn 0.8s ease-out forwards;
}

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

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

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

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ================================================
   RESPONSIVIDADE - MOBILE E TABLET
   ================================================ */
@media (max-width: 1024px) {
    .moeda-content,
    .oferta-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .moeda-info {
        padding: 0;
    }

    /* Section 4 - Educativo com background */
    .educativo-content {
        justify-content: center;
    }

    .educativo-info {
        max-width: 100%;
        padding: 30px;
    }

    .educativo-section {
        background-attachment: scroll;
        background-position: center;
    }

    .moeda-3d {
        width: 300px;
    }

    /* Section 5 - Estrela em tablet */
    .star-container {
        width: 650px;
        height: 650px;
    }

    .pulse-star {
        width: 320px;
        height: 320px;
    }

    .cargo-point {
        width: 180px;
    }

    .cargo-point p {
        font-size: 0.9rem;
        padding: 15px;
    }
}

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

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

    section {
        padding: 60px 0;
    }

    .logo-pulse {
        width: 100px;
        height: 100px;
    }

    /* Botões em mobile */
    .btn-primary {
        padding: 14px 30px;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 18px 40px;
        font-size: 1rem;
    }

    /* Section 4 - Educativo */
    .educativo-info {
        padding: 25px;
    }

    .moeda-3d {
        width: 250px;
    }

    /* Section 5 - Layout vertical em mobile */
    .star-container {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .pulse-star {
        width: 200px;
        height: 200px;
        position: static;
        transform: none;
        margin-bottom: 20px;
    }

    .cargo-point {
        position: static;
        width: 100%;
        max-width: 500px;
        transform: none;
    }

    .cargo-point-1,
    .cargo-point-2,
    .cargo-point-3,
    .cargo-point-4 {
        position: static;
        transform: none;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
    }

    .cargo-point p {
        font-size: 0.95rem;
        padding: 15px 20px;
    }

    .cargo-line {
        display: none;
    }

    .price-value {
        font-size: 2.5rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 95px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

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

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

    .btn-primary {
        padding: 12px 25px;
        font-size: 0.85rem;
        min-width: 160px;
    }

    .btn-large {
        padding: 16px 35px;
        font-size: 0.95rem;
    }

    /* Section 4 - Educativo */
    .educativo-info {
        padding: 20px;
    }

    /* Section 5 - Mantém layout vertical */
    .pulse-star {
        width: 160px;
        height: 160px;
    }

    .cargo-point p {
        font-size: 0.9rem;
        padding: 12px 16px;
    }

    .oferta-price-box {
        padding: 30px 20px;
    }

    .price-value {
        font-size: 2rem;
    }
}

/* Extra pequeno - mantém layout vertical */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }

    .pulse-star {
        width: 140px;
        height: 140px;
    }

    .cargo-point p {
        font-size: 0.85rem;
        padding: 10px 14px;
    }
}
