/* Base styles & fonts */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fff8f7;
}
::-webkit-scrollbar-thumb {
    background: #dfc0b2;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #8b7265;
}

/* Material symbols override */
.material-symbols-outlined, .material-symbols-rounded {
    font-family: 'Material Symbols Rounded' !important;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    color: currentColor;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


/* Soft shadow */
.soft-shadow {
    box-shadow: 0 10px 40px -10px rgba(35, 61, 76, 0.08);
}

.glow-shadow-orange {
    box-shadow: 0 8px 30px rgba(254, 128, 46, 0.35);
}

.glow-shadow-navy {
    box-shadow: 0 8px 30px rgba(35, 61, 76, 0.2);
}

/* Glass navigation */
.glass-nav {
    background: rgba(255, 248, 247, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(223, 192, 178, 0.3);
}
/* Mobile: barra sólida para o menu fixo ficar sempre legível ao rolar */
@media (max-width: 1023px) {
    .glass-nav {
        background: rgba(255, 248, 247, 0.98);
        box-shadow: 0 2px 12px rgba(35, 61, 76, 0.06);
    }
}

/* Interactive Before/After Comparison Slider */
.comparison-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 50px -15px rgba(0, 59, 111, 0.15);
    --slider-pos: 50%;
}

@media (max-width: 768px) {
    .comparison-container {
        aspect-ratio: 4 / 3;
    }
}

.comparison-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* The clear vision is the base layer */
.comparison-clear {
    z-index: 1;
}

/* The blurry vision is the top layer, clipped by width */
.comparison-blurry {
    z-index: 2;
    width: 100%;
    height: 100%;
    filter: blur(10px) contrast(0.9);
    clip-path: inset(0 calc(100% - var(--slider-pos)) 0 0);
}

/* The divider line and handle */
.comparison-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--slider-pos);
    width: 4px;
    background: #ffffff;
    z-index: 3;
    transform: translateX(-50%);
    pointer-events: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.comparison-handle-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: #FE802E;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(254, 128, 46, 0.4);
    border: 3px solid #ffffff;
    font-size: 24px;
    cursor: ew-resize;
}

.comparison-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 4;
    margin: 0;
}

/* Scroll Reveal class is kept for class references but has no hidden styles by default */
.reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
}



/* Floating button pulse animation */
@keyframes pulse-orange {
    0% {
        box-shadow: 0 0 0 0 rgba(254, 128, 46, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(254, 128, 46, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(254, 128, 46, 0);
    }
}
.pulse-btn {
    animation: pulse-orange 2s infinite;
}

/* Bento card hover effect */
.bento-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px -10px rgba(35, 61, 76, 0.12);
}

/* Quiz UI classes */
.quiz-step {
    display: none;
}
.quiz-step.active {
    display: block;
    animation: quizSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes quizSlideIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quiz-option {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.quiz-option.selected {
    border-color: #FE802E;
    background-color: rgba(254, 128, 46, 0.05);
}

/* Dynamic details/summary details transition helper */
details[name="faq-accordion"] summary::-webkit-details-marker {
    display: none;
}
details[name="faq-accordion"] {
    transition: all 0.3s ease-in-out;
}

/* Infinite Brand Marquee Carousel */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.marquee-container {
    overflow: hidden;
    width: 100%;
    display: flex;
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.marquee-content {
    display: flex;
    gap: 5rem;
    animation: marquee 30s linear infinite;
    width: max-content;
    padding-left: 2.5rem;
}
.marquee-content:hover {
    animation-play-state: paused;
}

/* Glassmorphism Orange CTA Button */
.glass-btn-orange {
    position: relative;
    overflow: hidden;
    background: rgba(254, 128, 46, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 8px 32px 0 rgba(254, 128, 46, 0.35) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.glass-btn-orange:hover {
    background: rgba(254, 128, 46, 0.95) !important;
    box-shadow: 0 12px 40px 0 rgba(254, 128, 46, 0.5) !important;
    transform: translateY(-2px);
}

/* Glassmorphism Navy CTA Button */
.glass-btn-navy {
    position: relative;
    overflow: hidden;
    background: rgba(35, 61, 76, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 8px 32px 0 rgba(35, 61, 76, 0.2) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    color: #ffffff !important;
}
.glass-btn-navy:hover {
    background: rgba(35, 61, 76, 0.95) !important;
    box-shadow: 0 12px 40px 0 rgba(35, 61, 76, 0.4) !important;
    transform: translateY(-2px);
}

/* Glass shine sweep — moving light reflection across CTA buttons */
.glass-btn-orange::after,
.glass-btn-navy::after {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 55%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-22deg);
    pointer-events: none;
    animation: glass-shine 5s ease-in-out infinite;
}
.glass-btn-orange:hover::after,
.glass-btn-navy:hover::after {
    animation: glass-shine 1s ease-in-out;
}
@keyframes glass-shine {
    0% { left: -80%; }
    22% { left: 130%; }
    100% { left: 130%; }
}
@media (prefers-reduced-motion: reduce) {
    .glass-btn-orange::after,
    .glass-btn-navy::after {
        animation: none;
    }
}


