```css
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00d4ff;
    --secondary: #7b2cbf;
    --accent: #ff6b35;
    --dark: #0a0a0f;
    --darker: #050508;
    --light: #e0e0e0;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--darker);
    color: var(--light);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ESTRELAS */
.stars-container {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

#stars, #stars2, #stars3 {
    position: absolute;
    inset: 0;
    animation: animateStars linear infinite;
}

#stars {
    background:
        radial-gradient(2px 2px at 20px 30px, white, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, white, transparent);
    background-size: 350px 350px;
    animation-duration: 150s;
    opacity: 0.5;
}

#stars2 {
    background:
        radial-gradient(1px 1px at 50px 100px, var(--primary), transparent),
        radial-gradient(2px 2px at 150px 50px, rgba(0,212,255,0.6), transparent);
    background-size: 400px 400px;
    animation-duration: 200s;
    opacity: 0.3;
}

#stars3 {
    background:
        radial-gradient(2px 2px at 100px 150px, var(--secondary), transparent),
        radial-gradient(1px 1px at 200px 100px, rgba(123,44,191,0.5), transparent);
    background-size: 500px 500px;
    animation-duration: 250s;
    opacity: 0.2;
}

@keyframes animateStars {
    from { transform: translateY(0); }
    to { transform: translateY(-100%); }
}

/* HEADER */
.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.15);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.title-group h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 0.9rem;
    color: rgba(224, 224, 224, 0.7);
    letter-spacing: 0.5px;
}

/* NAVEGAÇÃO */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    text-decoration: none;
    color: var(--light);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--light);
    transition: 0.3s;
}
/* HERO */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
}

.hero-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--light), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.85;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-decoration: none;
    color: var(--darker);
    background: var(--primary);
    border-radius: 4px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

/* SEÇÕES */
section {
    padding: 5rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--primary);
}

/* SERVIÇOS */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 8px;
    padding: 2rem;
    transition: transform 0.3s, border-color 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.service-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--light);
}

/* FOOTER */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .main-header {
        padding: 1rem 1.5rem;
        flex-wrap: wrap;
    }

    .menu-toggle { display: flex; }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        padding-top: 1.5rem;
        gap: 1rem;
        text-align: center;
    }

    .nav-links.active { display: flex; }

    .title-group h1 { font-size: 1.3rem; }

    section { padding: 3rem 1.5rem; }
}
/* SEÇÃO DE VÍDEO */
.video-section {
    text-align: center;
    padding: 4rem 2rem;
}

.video-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.video-consent-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 4rem 2rem;
    background: rgba(0, 212, 255, 0.05);
    border: 2px dashed rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    color: var(--light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-consent-btn:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary);
}

.video-consent-btn:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.video-consent-btn .play-icon {
    font-size: 3rem;
    color: var(--primary);
}

.video-consent-btn span {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
}

.video-consent-btn small {
    font-size: 0.8rem;
    opacity: 0.6;
    max-width: 300px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ACESSIBILIDADE */
.nav-links a:focus,
.cta-button:focus,
.service-card:focus-within {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ── VÍDEO COM THUMBNAIL ─────────────────────────────────────────────────── */
.video-thumb-btn {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    background: #000;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
}

.video-thumb-img {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.3s;
}

.video-thumb-btn:hover .video-thumb-img,
.video-thumb-btn:focus .video-thumb-img { opacity: 0.65; }

.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.video-play-btn {
    background: rgba(0,0,0,0.6);
    border-radius: 12px;
    padding: 8px 12px;
    transition: transform 0.2s, background 0.2s;
}

.video-thumb-btn:hover .video-play-btn,
.video-thumb-btn:focus .video-play-btn {
    background: rgba(0,0,0,0.85);
    transform: scale(1.1);
}

.video-thumb-notice {
    display: block;
    position: absolute;
    bottom: 0.6rem;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    pointer-events: none;
}

.video-thumb-btn:focus { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ── WIDGET DODGE ────────────────────────────────────────────────────────── */
#dodge-widget {
    position: fixed;
    bottom: 1.8rem;
    right: 1.8rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.8rem;
}

.dodge-fab {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    background: linear-gradient(135deg, var(--secondary), #5a1a9f);
    border: 1px solid rgba(123,44,191,0.6);
    border-radius: 50px;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(123,44,191,0.5);
    transition: transform 0.2s, box-shadow 0.2s;
    letter-spacing: 1px;
}

.dodge-fab:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(123,44,191,0.7);
}

.dodge-avatar { font-size: 1.4rem; }

.dodge-pulse {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 12px;
    height: 12px;
    background: #00ff88;
    border-radius: 50%;
    border: 2px solid var(--darker);
    animation: dodge-ping 2s cubic-bezier(0,0,0.2,1) infinite;
}

@keyframes dodge-ping {
    0%,100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.6); opacity: 0.4; }
}

.dodge-modal {
    display: none;
    flex-direction: column;
    width: min(420px, 95vw);
    height: min(600px, 80vh);
    background: rgba(10,10,15,0.97);
    border: 1px solid rgba(123,44,191,0.5);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    animation: dodge-slide-in 0.25s ease;
}

.dodge-modal.open { display: flex; }

@keyframes dodge-slide-in {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0)   scale(1); }
}

.dodge-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: linear-gradient(90deg, rgba(123,44,191,0.3), rgba(0,212,255,0.1));
    border-bottom: 1px solid rgba(123,44,191,0.3);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    color: var(--primary);
    letter-spacing: 1px;
}

.dodge-close {
    background: transparent;
    border: none;
    color: rgba(224,224,224,0.6);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}
.dodge-close:hover { color: #fff; background: rgba(255,255,255,0.1); }

.dodge-iframe {
    flex: 1;
    border: none;
    width: 100%;
}

@media (max-width: 480px) {
    #dodge-widget { bottom: 1rem; right: 1rem; }
    .dodge-label { display: none; }
    .dodge-fab { padding: 0.8rem; border-radius: 50%; }
}
