/* CSS Variables for consistent theming */
:root {
    --color-red: #ED1717;
    --color-dark-blue: #0B192C;
    --color-dark-bg: #050505;
    --color-yellow: #FFD928;
    --color-white: #FFFFFF;
    --color-text-light: #F4F6F9;
    --font-heading: 'Anton', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-speed: 0.3s;
}

/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-white);
    background-color: var(--color-dark-bg);
    overflow: hidden; /* Scroll snapping handles scrolling */
}

/* Typography Rules as requested */
h1, h2, h3, .titulo-principal, .hero-title, .section-title, .title, .cta-title {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

button, .cta, .btn {
    font-family: var(--font-body);
    font-weight: 800;
}

.red-text, span.red-text, .section-title span, .title span {
    color: var(--color-red);
}
.text-yellow { color: var(--color-yellow); }
.text-red { color: var(--color-red); }

/* --- Scroll Snapping Magic --- */
.scroll-container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.scroll-container::-webkit-scrollbar {
    display: none;
}

/* General Section Styles */
.section {
    height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 2rem 5%;
    overflow: hidden;
    background-color: var(--color-dark-bg);
}

.content {
    max-width: 1200px;
    width: 100%;
    z-index: 2;
}

.section-title {
    font-size: 3rem;
    color: var(--color-white);
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}
.section-title span {
    color: var(--color-red);
}

.sub-title {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

/* --- SECTION 1: HERO --- */
.hero {
    background: linear-gradient(90deg, #050505 40%, transparent 80%), url('home.webp') no-repeat right center / cover;
    color: var(--color-white);
    align-items: flex-start;
    justify-content: center;
    padding: 0 8%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 650px;
}

.logo-img {
    max-width: 280px;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
}

.hero-text-box {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    white-space: nowrap; /* Garante que 'SUA MARCA NA RUA' fique em apenas uma linha no desktop */
}

/* TrueFocus Effect (@react-bits/TrueFocus) - Aplicado Exclusivamente à chamada da Hero */
.true-focus-title {
    position: relative;
    isolation: isolate;
}

.focus-word {
    display: inline-block;
    transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
    cursor: default;
}

.focused-active {
    opacity: 1;
    filter: blur(0);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.focused-dimmed {
    opacity: 0.55;
    filter: blur(0.8px);
}

/* Moldura de Foco Dinâmica com Cantoneiras */
.true-focus-box {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    border: 2px solid var(--color-red);
    border-radius: 6px;
    box-shadow: 0 0 18px rgba(237, 23, 23, 0.65), inset 0 0 10px rgba(237, 23, 23, 0.3);
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), width 0.35s cubic-bezier(0.25, 1, 0.5, 1), height 0.35s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
    z-index: 10;
    opacity: 0;
    will-change: transform, width, height;
}

.true-focus-box::before, .true-focus-box::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-color: var(--color-yellow);
    border-style: solid;
}
.true-focus-box::before {
    top: -4px;
    left: -4px;
    border-width: 3px 0 0 3px;
}
.true-focus-box::after {
    bottom: -4px;
    right: -4px;
    border-width: 0 3px 3px 0;
}

.hero-subtitle {
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 2.5rem;
    color: #DDD;
}

.btn {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    font-size: 1.25rem;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 40px;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed), background var(--transition-speed);
}

.btn-red {
    background-color: var(--color-red);
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(237, 23, 23, 0.5);
}

.btn-red:hover {
    background-color: #ff3131;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(237, 23, 23, 0.7);
}

.btn-white {
    background-color: var(--color-white);
    color: #111111;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}
.btn-white:hover {
    background-color: #f0f0f0;
    transform: scale(1.05);
}

/* Animations */
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(237, 23, 23, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(237, 23, 23, 0); }
    100% { box-shadow: 0 0 0 0 rgba(237, 23, 23, 0); }
}
.pulse-anim {
    animation: pulse 2s infinite;
}

/* --- SECTION 2: PLANOS DE VEICULAÇÃO --- */
.pricing {
    background-color: #050505;
}

.plans {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.swipe-hint {
    display: none;
}

.card {
    background: #111827;
    color: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    width: 350px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    border: 1px solid #222222;
    text-align: center;
}

.card.glare-hover {
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.15s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
}

.card.glare-hover::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        circle at var(--glare-x, 50%) var(--glare-y, 50%),
        rgba(255, 255, 255, 0.55) 0%,
        rgba(255, 217, 40, 0.25) 25%,
        transparent 65%
    );
    opacity: var(--glare-opacity, 0);
    pointer-events: none;
    mix-blend-mode: overlay;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.card-header h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    padding: 1.8rem 1rem 1.2rem 1rem;
    text-align: center;
    color: var(--color-white);
}

.card-body {
    display: flex;
    flex-direction: column;
}

.hours {
    background-color: var(--color-yellow);
    color: #111111;
    padding: 1.8rem 1rem;
    text-align: center;
    font-size: 2rem;
    font-weight: 900;
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.card p.desc {
    padding: 1.8rem 1.5rem 1rem 1.5rem;
    color: #DDD;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.4;
}

.plan-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin: 1rem 1.5rem 2rem 1.5rem;
    padding: 1rem 1.5rem;
    background: var(--color-red);
    color: var(--color-white);
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    border-radius: 40px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(237, 23, 23, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plan-btn:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 8px 25px rgba(237, 23, 23, 0.6);
}

.highlight-card {
    border: 2px solid var(--color-yellow);
    box-shadow: 0 0 30px rgba(255, 217, 40, 0.25);
}

.special-note {
    margin-top: 2.5rem;
    background-color: rgba(255, 255, 255, 0.08);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    color: var(--color-white);
    border: 1px solid rgba(255, 217, 40, 0.3);
}

/* --- SECTION 3: POR QUE ANUNCIAR COM A GENTE? --- */
.advantages {
    background-color: #050505;
}

.benefits {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    text-align: center;
}

.box.advantage-item {
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform var(--transition-speed);
}
.box.advantage-item:hover {
    transform: translateY(-8px);
}

.icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 1rem auto;
    background: rgba(237, 23, 23, 0.1);
    border: 1.5px solid rgba(237, 23, 23, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--color-red);
    box-shadow: 0 4px 15px rgba(237, 23, 23, 0.15);
    transition: all var(--transition-speed);
}

.box.advantage-item:hover .icon {
    background: var(--color-red);
    color: var(--color-white);
    border-color: var(--color-red);
    box-shadow: 0 8px 25px rgba(237, 23, 23, 0.5);
    transform: scale(1.08);
}

.box h3 {
    margin: 0.8rem 0 0.5rem 0;
    font-size: 1.3rem;
    color: var(--color-white);
    font-family: var(--font-heading);
}

.box p {
    color: #AAA;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* --- SECTION 4: COMO FUNCIONA & IDEAL PARA --- */
.how-it-works {
    background-color: #050505;
}

.steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.step {
    background: #101827;
    padding: 2rem;
    border-radius: 20px;
    flex: 1;
    max-width: 360px;
    text-align: center;
    border: 1px solid #1E293B;
    transition: transform var(--transition-speed);
}
.step:hover {
    transform: translateY(-5px);
}

.step strong {
    font-size: 2.8rem;
    color: var(--color-yellow);
    font-family: var(--font-heading);
    display: block;
    margin-bottom: 0.5rem;
}

.step h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--color-white);
}

.step p {
    color: #DDD;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* List of ideal targets */
.list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.list div {
    background: #111827;
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border: 1px solid #1E293B;
    color: var(--color-white);
}

/* --- SECTION 5: CTA FINAL --- */
.cta-section {
    background: linear-gradient(135deg, #ed1717 0%, #b30000 100%);
    text-align: center;
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    color: #F8FAF6;
}

.cta-contact-phone {
    margin-top: 2rem;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--color-yellow);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.cta-location {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(0, 0, 0, 0.25);
    padding: 0.75rem 1.8rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Map Widget matching user screenshot */
.map-widget {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 1.5rem auto 0 auto;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.map-pin-badge {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(5, 5, 5, 0.92);
    color: var(--color-white);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-size: 0.88rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    white-space: nowrap;
}

/* Minimalist Footer Branding */
.footer-minimalist-brand {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo {
    max-width: 170px;
    height: auto;
    opacity: 0.9;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.cta-socials {
    margin-top: 2.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.social-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    letter-spacing: 1.5px;
    color: var(--color-yellow);
}

.social-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 1.8rem;
    border-radius: 50px;
    color: var(--color-white);
    text-decoration: none;
    font-weight: 800;
    font-size: 1.05rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform var(--transition-speed), background var(--transition-speed), box-shadow var(--transition-speed);
}

.social-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(220, 39, 67, 0.5);
    border-color: transparent;
}

.social-btn.facebook:hover {
    background: #1877F2;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.5);
    border-color: transparent;
}

.social-btn i {
    font-size: 1.3rem;
}

/* --- SPECULAR BUTTON EFFECT (@react-bits/SpecularButton) --- */
.specular-btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 20px rgba(237, 23, 23, 0.4), inset 0 0 12px rgba(255, 255, 255, 0.25);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed), border-color var(--transition-speed);
}

/* Interactive Cursor Specular Reflection */
.specular-btn::before {
    content: '';
    position: absolute;
    top: var(--mouse-y, 50%);
    left: var(--mouse-x, 50%);
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(255, 217, 40, 0.6) 25%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    mix-blend-mode: overlay;
    opacity: var(--shine-opacity, 0);
    transition: opacity 0.25s ease;
    z-index: 2;
}

/* Continuous Rotating Specular Sheen Highlight Overlay */
.specular-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.95) 50%, rgba(255, 217, 40, 0.8) 55%, transparent 80%);
    background-size: 250% 250%;
    animation: specularSheen 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    pointer-events: none;
    opacity: 0.7;
    mix-blend-mode: overlay;
}

@keyframes specularSheen {
    0% { background-position: -250% 0; }
    50% { background-position: 250% 0; }
    100% { background-position: 250% 0; }
}

.specular-btn:hover {
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 30px rgba(237, 23, 23, 0.7), inset 0 0 20px rgba(255, 255, 255, 0.5);
}

/* Responsive adjustments for Mobile & Tablet */
@media (max-width: 900px) {
    body {
        overflow-y: auto;
    }

    .scroll-container {
        height: auto;
        overflow-y: visible;
        scroll-snap-type: none; /* Disable forced snap on mobile so content doesn't get cut off */
    }

    .section {
        height: auto;
        min-height: auto;
        scroll-snap-align: none;
        padding: 3.5rem 1.25rem;
    }

    /* Hero Section Mobile */
    .hero {
        background: linear-gradient(180deg, rgba(5,5,5,0.88) 0%, rgba(5,5,5,0.96) 100%), url('home.webp') no-repeat center center / cover;
        padding: 4rem 1.5rem 3.5rem 1.5rem;
        align-items: center;
        text-align: center;
        min-height: 90vh;
    }

    .hero-content {
        align-items: center;
        text-align: center;
        margin: 0 auto;
    }

    .logo-img {
        max-width: 220px;
        margin: 0 auto;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.08;
        white-space: normal;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.45;
        margin-bottom: 2rem;
    }

    .btn {
        width: 100%;
        max-width: 320px;
        padding: 1.1rem 1.5rem;
        font-size: 1.1rem;
        text-align: center;
        display: inline-flex;
        justify-content: center;
    }

    /* Section Titles Mobile */
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 1.8rem;
    }

    .sub-title {
        font-size: 2rem;
        margin-top: 2.5rem;
        margin-bottom: 1.2rem;
    }

    /* Plans Section Mobile: Horizontal Touch Carousel (Todos os 3 planos juntos em 1 tela) */
    .swipe-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        font-size: 0.85rem;
        color: var(--color-yellow);
        margin-bottom: 1rem;
        font-weight: 700;
        letter-spacing: 0.5px;
    }

    .pricing {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 3.5rem 0;
    }

    .pricing .content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: 0 auto;
    }

    .plans {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
        width: 100%;
        padding: 0.5rem calc((100vw - 280px) / 2) 1rem calc((100vw - 280px) / 2);
        scroll-padding-inline: calc((100vw - 280px) / 2);
        justify-content: flex-start;
        align-items: stretch;
        box-sizing: border-box;
    }

    .card {
        flex: 0 0 280px;
        width: 280px;
        max-width: 280px;
        scroll-snap-align: center;
        border-radius: 16px;
        margin: 0 auto;
    }

    .card-header h3 {
        font-size: 1.45rem;
        padding: 1rem 0.8rem 0.5rem 0.8rem;
    }

    .hours {
        font-size: 1.3rem;
        padding: 0.8rem;
    }

    .card p.desc {
        padding: 0.9rem 0.8rem 0.4rem 0.8rem;
        font-size: 0.88rem;
        line-height: 1.35;
    }

    .plan-btn {
        width: calc(100% - 1.6rem);
        margin: 0.8rem 0.8rem 1.2rem 0.8rem;
        padding: 0.75rem 0.5rem;
        font-size: 0.82rem;
    }

    .special-note {
        margin-top: 1rem;
        padding: 0.7rem 1rem;
        font-size: 0.8rem;
        border-radius: 20px;
        text-align: center;
    }

    /* Benefits Section Mobile (2-column grid) */
    .benefits {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 0.8rem;
        width: 100%;
    }

    .box.advantage-item {
        width: 100%;
    }

    .icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .box h3 {
        font-size: 1.15rem;
    }

    .box p {
        font-size: 0.88rem;
    }

    /* Steps Section Mobile */
    .steps {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .step {
        width: 100%;
        max-width: 100%;
        padding: 1.5rem;
    }

    .step strong {
        font-size: 2.4rem;
    }

    .step h3 {
        font-size: 1.25rem;
    }

    /* List Section Mobile (2-column grid) */
    .list {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        width: 100%;
    }

    .list div {
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
        justify-content: center;
        text-align: center;
    }

    /* CTA Section Mobile */
    .cta-section {
        padding: 4rem 1.5rem;
    }

    .cta-title {
        font-size: 2.6rem;
        line-height: 1.05;
        margin-bottom: 0.8rem;
    }

    .cta-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .cta-contact-phone {
        font-size: 1.6rem;
        margin-top: 1.5rem;
    }
}

/* --- GALAXY CANVAS BACKGROUND (@react-bits/Galaxy) --- */
#galaxy-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    opacity: 0.65;
    mix-blend-mode: screen;
}
