.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.img-wrapper { overflow: hidden; }
.img-wrapper img { transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.img-wrapper:hover img { transform: scale(1.05); }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }

/* Header com vídeo */
.header-video-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: screen;
    opacity: 0.5;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(5,5,5,0.2) 0%, rgba(5,5,5,0.7) 100%);
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: default;
}

#mantra-container {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 100%;
    max-width: 80rem;
    padding: 0 1.5rem;
    pointer-events: none;
}

.title-content {
    position: relative;
    z-index: 1;
}

.title-content h1 {
    pointer-events: none;
}

/* Animação de reflexo */
.shine-text {
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #f3f4f6 20%,
        #a855f7 40%,
        #ec4899 60%,
        #f3f4f6 80%,
        #ffffff 100%
    );
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shineSwing 6s ease-in-out infinite alternate;
}

@keyframes shineSwing {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 0%; }
}

/* ---------- MENU FULLSCREEN ---------- */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.side-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 100;
    padding: 2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.side-menu.active {
    opacity: 1;
    visibility: visible;
}

.side-menu-close {
    position: absolute;
    top: 1.2rem;
    right: 3.2rem;
    background: none;
    border: none;
    color: #F3F4F6;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    opacity: 0.8;
    transition: opacity 0.2s;
    z-index: 101;
}

.side-menu-close:hover { opacity: 1; }

.side-menu a {
    font-size: 1rem;
    font-weight: 500;
    margin: 1.5rem 0;
    color: #F3F4F6;
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
}

.side-menu a:hover {
    color: #9CA3AF;
    transform: scale(1.05);
}

.hamburger-btn {
    z-index: 102;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 30px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.hamburger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #F3F4F6;
}

nav { z-index: 50; }

/* ========== ESTILOS DAS SEÇÕES DE ESPECIALIDADES ========== */
/* Carrossel de logos */
.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.carousel-track {
    display: flex;
    width: max-content;
    animation: scroll 25s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.logo-item {
    width: 280px;
    height: 220px;
    margin: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    backdrop-filter: blur(4px);
    transition: border-color 0.3s;
}

.logo-item:hover {
    border-color: rgba(255,255,255,0.2);
}

.logo-item img {
    max-width: 100%;
    max-height: 90%;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: opacity 0.3s;
}

.logo-item:hover img {
    opacity: 1;
}

/* Grid Social Media */
.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.social-card {
    aspect-ratio: 3/4;
    background: #111;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.03);
}

/* Carrossel dentro do card */
.social-carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.social-carousel-slides {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-carousel-slides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.social-carousel-prev,
.social-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s, background 0.2s;
    z-index: 10;
}

.social-carousel-prev:hover,
.social-carousel-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.social-carousel-prev { left: 8px; }
.social-carousel-next { right: 8px; }

.social-card:hover .social-carousel-prev,
.social-card:hover .social-carousel-next {
    opacity: 1;
}

.social-carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s;
}

.social-card:hover .social-carousel-dots {
    opacity: 1;
}

.social-carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s;
}

.social-carousel-dot.active {
    background: white;
    transform: scale(1.3);
}

/* Overlay com avatar e username */
.social-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    z-index: 15;
    pointer-events: none;
}

.social-card:hover .social-overlay {
    opacity: 1;
}

/* Graphics Masonry */
.graphics-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: 1.5rem;
}

.graphics-item {
    background: #111;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,0.03);
    transition: transform 0.3s ease;
}

.graphics-item:hover {
    transform: translateY(-8px);
}

.graphics-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.graphics-item:hover img {
    transform: scale(1.05);
}

.graphics-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s;
}

.graphics-item:hover .graphics-label {
    opacity: 1;
}

/* Video Slider */
.video-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0.5rem 2rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.video-slider::-webkit-scrollbar {
    height: 4px;
}
.video-slider::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}

.video-card {
    flex: 0 0 370px;
    scroll-snap-align: start;
    background: #111;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s;
}

.video-card:hover {
    border-color: rgba(255,255,255,0.2);
    transform: scale(1.02);
}

.video-thumb {
    aspect-ratio: 16/9;
    position: relative;
    cursor: pointer;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
}

.video-thumb:hover .play-button {
    background: white;
    color: black;
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button i {
    font-size: 1.8rem;
    margin-top: 2px;
}

.video-info { padding: 1.5rem; }
.video-info h4 { font-weight: 600; margin-bottom: 0.25rem; }
.video-info p { color: #9CA3AF; font-size: 0.9rem; }

/* Modal de vídeo */
.video-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 200;
    align-items: center;
    justify-content: center;
}

.video-modal.active { display: flex; }

.modal-content {
    width: 90%;
    max-width: 1000px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.modal-content iframe {
    width: 100%;
    height: 100%;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.close-modal:hover { opacity: 1; }

/* Responsivo */
@media (max-width: 768px) {
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .graphics-masonry {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
    }
    .graphics-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
    .graphics-item:nth-child(2) { grid-column: span 1; grid-row: span 1; }
    .graphics-item:nth-child(3) { grid-column: span 1; grid-row: span 1; }
    .graphics-item:nth-child(4) { grid-column: span 2; grid-row: span 1; }
    .graphics-item:nth-child(5) { grid-column: span 1; grid-row: span 1; }
    .graphics-item:nth-child(6) { grid-column: span 1; grid-row: span 1; }
    .video-card {
        flex: 0 0 260px;
    }
}

@media (max-width: 480px) {
    .social-grid {
        grid-template-columns: 1fr;
    }
}