/* style.css */
:root {
    --color-bg: #0a0a0a;
    --color-text: #ffffff;
}

body {
    background-color: var(--color-bg); /* O main-wrapper agora cuida de sobrepor o footer */
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
}

/* Custom Selection */
::selection {
    background: #ff0033;
    color: white;
}

/* Hide scrollbar for a cleaner App-Feel */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0a0a; 
}
::-webkit-scrollbar-thumb {
    background: #1f1f1f; 
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ff0033; 
}

/* Noise/Grain Effect */
.noise-overlay {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
    pointer-events: none;
}

/* Magnetic Buttons & Interactions */
.magnetic-btn {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Stroke Text for Hero Parallax */
.stroke-text {
    -webkit-text-stroke: 3px rgba(255, 255, 255, 0.8);
    color: transparent;
}

/* Expansive Footer Reveal Fix */
/* O main-wrapper precisa ter um bottom-margin igual à altura do footer,
   ou podemos simplesmente deixar o footer fixo e o main-wrapper com margin-bottom */
.main-wrapper {
    /* No desktop a altura do footer é 70vh, no mobile 80vh. */
    margin-bottom: 80vh; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.5); /* Sombra para dar profundidade ao revelar o footer */
}
@media (min-width: 768px) {
    .main-wrapper {
        margin-bottom: 70vh;
    }
}

.footer-reveal {
    /* Agora o footer tem pointer-events e z-index mais baixo. Como o main-wrapper termina, o footer revelado recebe cliques normalmente */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 0; 
}

/* Swiper custom styles */
.swiper-slide {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}
.swiper-slide-active {
    opacity: 1;
}

/* Estilos para a paginação do Swiper de Depoimentos */
.swiper-pagination-bullet {
    background: white;
    opacity: 0.3;
}
.swiper-pagination-bullet-active {
    background: #ff0033;
    opacity: 1;
}

/* 3D Tilt Effect Base */
.tilt-effect {
    transform-style: preserve-3d;
    transform: perspective(1000px);
}
.tilt-effect > * {
    transform: translateZ(30px);
}

/* Botões Inclinados (Skew Effect) */
.btn-skew {
    transform: skewX(-10deg);
    display: inline-block;
    overflow: hidden;
    position: relative;
    border-radius: 4px;
}
.btn-skew > * {
    transform: skewX(10deg);
    display: inline-block;
}

/* Cart Drawer Styles */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 450px;
    height: 100vh;
    background-color: var(--color-bg);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 9999;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
}

.cart-drawer.active {
    right: 0;
}

