:root {
    --bg: #050505;
    --card: rgba(12, 12, 12, 0.7);
    --blue: #0076FF;
    --white: #ffffff;
    --smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET E SEGURANÇA CONTRA SCROLL LATERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
    background: var(--bg);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: auto; /* Corrigido para evitar lentidão na digitação */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ANIMAÇÕES */
@keyframes blueGlow {
    0%, 100% { text-shadow: 0 0 5px rgba(0, 118, 255, 0.4), 0 0 10px rgba(0, 118, 255, 0.2); }
    50% { text-shadow: 0 0 15px rgba(0, 118, 255, 1), 0 0 25px rgba(0, 118, 255, 0.8); }
}

@keyframes borderFlash {
    0% { border-color: rgba(255, 255, 255, 0.08); }
    50% { border-color: var(--blue); box-shadow: 0 0 20px rgba(0, 118, 255, 0.3); }
    100% { border-color: rgba(255, 255, 255, 0.08); }
}

.blue-text {
    color: var(--blue);
    animation: blueGlow 2.5s ease-in-out infinite;
}

/* HEADER - MODO BOLHA */
header {
    position: fixed;
    width: 90%;
    max-width: 1100px;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    padding: 25px 0;
    z-index: 1000;
    transition: all 0.5s var(--smooth);
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 100px !important;
}

header.scrolled {
    background: rgba(10, 10, 10, 0.75) !important;
    padding: 15px 0;
    top: 15px;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6) !important;
}

.header-center {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 18px;
    transform: scale(1.25);
    transform-origin: center;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1;
    color: #ffffff;
    filter: drop-shadow(0 0 2px rgba(0,0,0,0.5));
}

.header-mini-banner {
    height: 80px;
    width: auto;
    object-fit: contain;
}

/* HERO */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.75), #050505), url('../img/banner.png') center/cover;
    width: 100%;
}

.hero-content h1 {
    color: #ffffff;
    font-weight: 900;
    font-size: clamp(1.5rem, 5vw, 2.5rem); /* Ajustado para elegância */
    margin-bottom: 25px;
    line-height: 1.2;
    display: inline-block;
    text-shadow: none;
    animation: none;
    transition: none !important; /* Impede conflito com o JS */
}

.subtitle {
    color: var(--blue);
    letter-spacing: 4px;
    font-size: 0.8rem;
    font-weight: 900;
    margin-bottom: 15px;
    display: block;
}

/* BOTÕES */
.btn-primary, .btn-secondary {
    border-radius: 30px;
    padding: 14px 36px;
    font-size: 0.95rem;
    transition: 0.3s var(--smooth);
    border-width: 2px;
    display: inline-block;
    font-weight: 700;
    text-decoration: none !important;
}

.btn-primary { background: var(--blue); color: white; border: 2px solid var(--blue); }
.btn-primary:hover { background: transparent; color: var(--blue); box-shadow: 0 0 20px var(--blue); }
.btn-secondary { background: transparent; border: 2px solid white; color: white; }
.btn-secondary:hover { background: white; color: black; box-shadow: 0 0 20px white; }

/* SERVIÇOS */
.servicos { padding: 80px 0; text-align: center; width: 100%; overflow: hidden; }
.section-title h2 { font-size: 2.2rem; font-family: 'Montserrat', sans-serif; margin-bottom: 10px; }
.divider { width: 60px; height: 4px; background: var(--blue); margin: 40px auto 40px; }
.marcas { color: var(--blue); font-weight: 700; margin-bottom: 25px; letter-spacing: 2px; }

.grid-servicos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    width: 100%;
}

.s-card {
    background: var(--card) !important;
    padding: 50px 30px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: 0.5s var(--smooth);
}

[data-aos].aos-animate.s-card {
    animation: borderFlash 2s ease;
}

.s-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 118, 255, 0.15), transparent);
    z-index: -1;
}

.s-card:hover { border-color: var(--blue); transform: translateY(-10px); background: rgba(20, 20, 20, 0.8) !important; }
.card-icon { font-size: 2.8rem; color: var(--blue); margin-bottom: 20px; animation: iconFloat 4s ease-in-out infinite; }

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(3deg); }
}

.s-card p { color: #ccc; line-height: 1.6; font-size: 0.95rem; }

/* FRASE IMPACTO */
.frase-impacto { padding: 80px 0; text-align: center; background: #080808; width: 100%; overflow: hidden; }
.frase-impacto p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    font-style: italic;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 3px;
    display: inline-block;
    min-height: 1.6rem;
    transition: none !important;
}

/* CURSOR */
#titulo-hero::after,
#frase-animada::after {
    content: '/' !important;
    margin-left: 8px;
    color: var(--blue);
    font-weight: 900;
    display: inline-block;
    vertical-align: middle;
    animation: cursorPisca 0.8s infinite;
}

@keyframes cursorPisca {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* CONTATO */
.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0 100px;
    width: 100%;
}

.info-content h2 { font-family: 'Montserrat', sans-serif; margin-bottom: 40px; font-size: 2.2rem; }
.info-item { display: flex; align-items: center; gap: 20px; margin-bottom: 25px; }
.info-item i { color: var(--blue); font-size: 1.5rem; }
.insta-link { text-decoration: none; color: var(--white); font-weight: 600; transition: 0.3s; }
.insta-link:hover { color: var(--blue); }

/* FOOTER */
footer { padding: 80px 0 40px; background: #020202; text-align: center; border-top: 1px solid #111; width: 100%; overflow: hidden; }
.footer-top { display: flex; flex-direction: column; align-items: center; gap: 5px; margin-bottom: 40px; }
.logo-text-footer { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 1.8rem; color: var(--white); text-transform: uppercase; margin-top: 5px; }
.diamond-anim { font-size: 3rem; color: var(--blue); animation: diamondPulse 3s infinite; display: inline-block; }

@keyframes diamondPulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.1); opacity: 1; }
}

.footer-divider { width: 100%; height: 1px; background: #1a1a1a; margin-bottom: 30px; }
.copyright p { color: #666; font-size: 0.85rem; padding-top: 10px; }
.autor { color: var(--blue); font-weight: 700; }

/* WHATSAPP */
.wa-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    z-index: 1000;
    text-decoration: none;
    background: #25d366; /* Cor sólida para evitar flickering */
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: waVibeRastro 4s var(--smooth) infinite;
}

@keyframes waVibeRastro {
    0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
    50% { transform: translateY(-20px) scale(1.05); box-shadow: 0 30px 50px rgba(37, 211, 102, 0.6); }
}

img, iframe { max-width: 100%; }

/* --- AJUSTES DE RESPONSIVIDADE (MOBILE) --- */
@media (max-width: 768px) {
    .contato-grid { grid-template-columns: 1fr; text-align: center; }
    header { width: 95%; top: 15px; }
    .wa-float { width: 55px; height: 55px; bottom: 20px; right: 20px; }
    .logo { transform: scale(0.9); }

    .grid-servicos {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding: 0 10px;
    }

    .s-card {
        width: 100%;
        max-width: 360px;
        padding: 40px 25px !important;
        margin: 0 auto;
    }

    .section-title h2 { font-size: 1.8rem; }
}

/* Celulares muito pequenos */
@media (max-width: 380px) {
    .grid-servicos { padding: 0 5px; }
    .s-card { padding: 30px 20px !important; }
}