/* ==========================================================================
   Social Game Landing Page - Stylesheet
   Dragueur de Paris (Design Réplique Exacte & Optimisée)
   ========================================================================== */

:root {
    --primary-red: #E61818;
    --brand-red: #BD1134;
    --brand-red-hover: #980021;
    --highlight-yellow: #ffff66;
    --bg-page: #F0F0F0;
    --card-bg: #FFFFFF;
    --text-black: #000000;
    --text-muted: #4b4f58;
    --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-heading: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Reset Básico */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg-page);
    color: var(--text-black);
    font-family: var(--font-family-base);
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Espaçador do Topo */
.top-spacer-bar {
    width: 100%;
    height: 15px;
    background-color: transparent;
}

/* Container Wrapper */
.page-wrapper {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 10px 15px 40px 15px;
    flex: 1;
}

/* Card Branco Centralizado com Sombra (Elementor Boxed Style) */
.content-card {
    background-color: var(--card-bg);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
    padding: 3% 5% 5% 5%;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

/* Blocos de Títulos */
.heading-block {
    width: 100%;
    text-align: center;
    margin-bottom: 12px;
}

/* Headline 1 (Amarelo) */
.heading-yellow h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.5px;
    color: var(--text-black);
    text-transform: none;
}

.yellow-highlight {
    background-color: var(--highlight-yellow);
    padding: 2px 8px;
    display: inline-block;
}

/* Headline 2 (Principal) */
.heading-main {
    margin-top: 6px;
    margin-bottom: 14px;
}

.heading-main h2 {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-black);
    text-transform: none;
}

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

/* Headline 3 (Sub-headline) */
.heading-sub {
    margin-bottom: 15px;
}

.heading-sub h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.5px;
    color: var(--text-black);
    text-transform: none;
}

/* Seta animada */
.arrow-container {
    margin: 5px 0 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.arrow-down-icon {
    width: 41px;
    height: 41px;
    color: var(--primary-red);
    animation: bounceSlow 2s infinite ease-in-out;
}

@keyframes bounceSlow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}

/* Container do Vídeo (16:9 Aspect Ratio) */
.video-section {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 10px auto;
}

.video-container {
    width: 100%;
    position: relative;
    background-color: #000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    overflow: hidden;
}

.vidalytics-wrapper {
    width: 100%;
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

/* Seção do Botão CTA */
.cta-section {
    display: none; /* Oculto até atingir 24:47 do vídeo */
    width: 100%;
    max-width: 820px;
    margin: 30px auto 10px auto;
    flex-direction: column;
    align-items: center;
    animation: fadeInCTA 0.6s ease-in-out;
}

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

/* Botão em Degradê de Alta Conversão */
.btn-degrade {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 720px;
    padding: 20px 28px;
    background: linear-gradient(90deg, #cf002e 0%, #bd1134 40%, #a00d2b 100%);
    color: #FFFFFF !important;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(189, 17, 52, 0.45), 0 2px 4px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.25s ease-in-out;
    animation: pulseButton 2.5s infinite;
}

.btn-degrade:hover {
    background: linear-gradient(90deg, #e60033 0%, #cf002e 40%, #b80029 100%);
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 12px 30px rgba(189, 17, 52, 0.6), 0 4px 8px rgba(0, 0, 0, 0.25);
    color: #FFFFFF !important;
    text-decoration: none;
}

.btn-degrade:active {
    transform: translateY(1px) scale(0.99);
}

@keyframes pulseButton {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(189, 17, 52, 0.45);
    }
    50% {
        box-shadow: 0 8px 35px rgba(189, 17, 52, 0.75);
    }
}

.btn-text {
    line-height: 1.3;
}

.cta-guarantee-note {
    margin-top: 10px;
    font-size: 14px;
    color: #555555;
    font-weight: 500;
}

/* Espaçador entre Vídeo/CTA e Footer */
.section-spacer {
    width: 100%;
    height: 71px;
}

/* Rodapé Jurídico & Disclaimers */
.legal-footer {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    border-top: 1px solid #EAEAEA;
    padding-top: 25px;
}

.disclaimer-text {
    font-size: 15px;
    color: #000000;
    line-height: 1.45;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.legal-links {
    margin-bottom: 14px;
}

.legal-links a {
    font-size: 15px;
    color: #000000;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s;
}

.legal-links a:hover {
    color: var(--brand-red);
}

.copyright-text {
    font-size: 15px;
    color: #000000;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

/* Botão Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 44px;
    height: 44px;
    background-color: var(--brand-red);
    color: #FFFFFF;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--brand-red-hover);
    transform: translateY(-3px);
}

/* ==========================================================================
   Responsividade Mobile (<= 767px) - Réplica idêntica ao Elementor
   ========================================================================== */
@media (max-width: 767px) {
    .page-wrapper {
        padding: 5px 8px 30px 8px;
    }

    .content-card {
        padding: 6% 4% 8% 4%;
        box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.35);
    }

    .heading-yellow h2 {
        font-size: 17px;
        line-height: 1.3;
    }

    .heading-main h2 {
        font-size: 30px;
        line-height: 1.25;
    }

    .heading-sub h2 {
        font-size: 19px;
        line-height: 1.3;
    }

    .arrow-down-icon {
        width: 32px;
        height: 32px;
    }

    .btn-degrade {
        font-size: 17px;
        padding: 16px 18px;
    }

    .section-spacer {
        height: 50px;
    }

    .disclaimer-text,
    .legal-links a,
    .copyright-text {
        font-size: 12px;
        line-height: 1.4;
    }

    .scroll-to-top {
        bottom: 20px;
        left: 20px;
        width: 38px;
        height: 38px;
    }
}
