:root {
    /* Colors */
    --color-base: #e0dbce;
    --color-dark: #161616;
    --color-dark-alt: #2b2722;
    --color-light: #f4f1ea;
    --color-white: #fffaf2;
    --color-accent: #b89b5e;
    --color-whatsapp: #25D366;
    --color-b2b-blue: #2c404e;
    --color-b2b-blue-light: #f0f3f5;
    --color-b2b-blue-subtle: rgba(44, 64, 78, 0.1);
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --container-w: 1280px;
    
    /* Effects */
    --shadow-soft: 0 10px 40px rgba(22, 22, 22, 0.03);
    --shadow-hover: 0 15px 40px rgba(22, 22, 22, 0.06);
    --transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); background-color: var(--color-light); color: var(--color-dark); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }

::selection { background-color: var(--color-accent); color: var(--color-white); }

/* Typography */
h1, h2, h3, h4, .logo { font-family: var(--font-heading); font-weight: 500; line-height: 1.1; color: var(--color-dark); }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); letter-spacing: -0.01em; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; font-weight: 500; margin-bottom: 0.5rem; }
p { font-size: 1.05rem; color: var(--color-dark-alt); font-weight: 300; }
.section-kicker { display: inline-block; font-family: var(--font-body); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--color-accent); font-weight: 600; margin-bottom: 1rem; }
.section-kicker.light { color: var(--color-accent); }
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

/* Utilities */
.container { width: 100%; max-width: var(--container-w); margin: 0 auto; padding: 0 5%; }
.section { padding: 6rem 0; }
.section-header { margin-bottom: 3rem; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.85rem 2.25rem; border-radius: 100px; font-family: var(--font-body);
    font-weight: 500; font-size: 0.95rem; text-decoration: none;
    transition: var(--transition); cursor: pointer; border: 1px solid transparent; gap: 0.75rem;
}

.btn-primary { background-color: var(--color-dark); color: var(--color-white); }
.btn-primary:hover { background-color: var(--color-b2b-blue); transform: translateY(-2px); box-shadow: var(--shadow-hover); }

.btn-outline { background-color: transparent; border-color: var(--color-dark); color: var(--color-dark); }
.btn-outline:hover { background-color: var(--color-dark); color: var(--color-white); }

.btn-whatsapp { background-color: var(--color-dark); color: var(--color-white); border-color: var(--color-dark); }
.btn-whatsapp svg { color: var(--color-whatsapp); transition: var(--transition); }
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); background-color: var(--color-b2b-blue); }

.btn-small { padding: 0.65rem 1.5rem; font-size: 0.85rem; }

/* Header */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; padding: 0.5rem 0; transition: var(--transition); background: transparent; }
.header.scrolled { background: rgba(244, 241, 234, 0.95); backdrop-filter: blur(8px); padding: 0.5rem 0; border-bottom: 1px solid rgba(22,22,22,0.03); }
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo-img { height: 96px; width: auto; object-fit: contain; display: block; transform: scale(1.6); transform-origin: left center; }
.nav { display: flex; gap: 2rem; align-items: center; }
.nav a { text-decoration: none; color: var(--color-dark-alt); font-weight: 400; font-size: 0.9rem; transition: color 0.3s ease; }
.nav a:hover { color: var(--color-accent); }
.menu-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; z-index: 101; }
.menu-toggle span { width: 24px; height: 2px; background-color: var(--color-dark); transition: var(--transition); }

/* Hero - Refined & Autoral Layout */
.hero { min-height: 100vh; padding-top: 8rem; display: flex; align-items: center; position: relative; background-color: var(--color-base); }
.hero-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 4.5rem; align-items: center; position: relative; }
.hero-content { position: relative; z-index: 10; padding: 2rem 0; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.chip { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 500; padding: 0.4rem 0.8rem; border: 1px solid rgba(22, 22, 22, 0.1); border-radius: 100px; color: var(--color-dark); background: rgba(255,255,255,0.4); backdrop-filter: blur(4px); }
.hero-title { font-size: clamp(2.3rem, 4.2vw, 3.6rem); line-height: 1.15; margin-bottom: 1.5rem; }
.hero-subtitle { margin-bottom: 2.5rem; max-width: 95%; text-align: justify; text-justify: inter-word; }
.hero-buttons { display: flex; gap: 1rem; }
.hero-visual { position: relative; width: 100%; display: flex; align-items: center; justify-content: center; padding: 2rem 0; }
.hero-image-frame { position: absolute; top: 0; right: -2rem; bottom: 0; left: 2rem; border: 1px solid var(--color-accent); border-radius: var(--radius-md); z-index: 1; opacity: 0.4; }
.hero-image-wrapper { position: relative; z-index: 2; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); width: 100%; aspect-ratio: 4/5; background-color: var(--color-base); }
.hero-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease-in-out; }
.hero-img.active { opacity: 1; z-index: 1; }

/* Services */
.services { background-color: var(--color-white); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.service-card { padding: 2.5rem 2rem; background: var(--color-light); border-radius: var(--radius-md); transition: var(--transition); border: 1px solid transparent; }
.service-card p { text-align: justify; text-justify: inter-word; }
.service-card:hover { transform: translateY(-5px); background: var(--color-white); border-color: rgba(44, 64, 78, 0.2); box-shadow: var(--shadow-hover); }
.service-icon { width: 40px; height: 40px; margin-bottom: 1.25rem; color: var(--color-b2b-blue); }

/* Benefits */
/* Benefits Section - Reimagined */
.benefits { background-color: var(--color-light); color: var(--color-dark); padding: 7rem 0 3.5rem; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.benefit-card { padding: 2.5rem 2rem; background: var(--color-white); border-radius: var(--radius-md); border: 1px solid rgba(22, 22, 22, 0.03); transition: var(--transition); display: flex; flex-direction: column; align-items: flex-start; }
.benefit-card:hover { transform: translateY(-5px); border-color: rgba(44, 64, 78, 0.3); box-shadow: var(--shadow-hover); }
.benefit-icon { width: 44px; height: 44px; color: var(--color-b2b-blue); margin-bottom: 1.5rem; display: inline-flex; align-items: center; justify-content: center; }
.benefit-icon svg { width: 32px; height: 32px; stroke-width: 1.5; }
.benefit-card h3 { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 500; margin-bottom: 0.75rem; color: var(--color-dark); }
.benefit-card p { font-size: 0.95rem; color: var(--color-dark-alt); font-weight: 300; line-height: 1.6; margin: 0; text-align: justify; text-justify: inter-word; }

/* Portfolio */
.portfolio { background-color: var(--color-light); padding-top: 3rem; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.portfolio-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; }
.portfolio-item[data-src] { cursor: zoom-in; }
.portfolio-item img, .portfolio-item video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.portfolio-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(22,22,22,0.85) 0%, rgba(22,22,22,0.3) 40%, rgba(22,22,22,0) 100%); opacity: 0; transition: opacity 0.4s ease; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 1.5rem; }
.portfolio-overlay span.portfolio-zoom { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -40%); color: var(--color-white); font-weight: 500; font-size: 1.05rem; opacity: 0; transition: all 0.4s ease; }
.portfolio-overlay span.portfolio-label { font-size: 0.85rem; font-weight: 400; color: var(--color-accent); text-transform: uppercase; letter-spacing: 0.1em; transform: translateY(15px); transition: all 0.5s ease; transition-delay: 0.05s; margin-bottom: 0; opacity: 0; }
.portfolio-item:hover img { transform: scale(1.03); }
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-item:hover .portfolio-overlay span.portfolio-zoom { opacity: 1; transform: translate(-50%, -50%); }
.portfolio-item:hover .portfolio-overlay span.portfolio-label { opacity: 1; transform: translateY(0); }

/* How It Works */
.how-it-works { background-color: var(--color-white); }
.steps-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.step-card { padding: 2rem; background: var(--color-light); border-radius: var(--radius-md); border: 1px solid rgba(22,22,22,0.03); transition: var(--transition); }
.step-card p { text-align: justify; text-justify: inter-word; }
.step-card:hover { border-color: rgba(184, 155, 94, 0.2); background: var(--color-white); }
.step-number { font-family: var(--font-heading); font-size: 2rem; font-weight: 300; color: var(--color-b2b-blue); margin-bottom: 1rem; line-height: 1; }

/* About */
.about { background-color: var(--color-base); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-image-wrapper { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/5; background-color: var(--color-base); }
.sobre-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease-in-out; }
.sobre-img.active { opacity: 1; z-index: 1; }
.about-text p { text-align: justify; line-height: 1.75; margin-bottom: 1.5rem; }
.about-text p:last-child { margin-bottom: 0; }

/* CTA */
.cta { background-color: var(--color-light); padding: 6rem 0; }
.cta-box { background: var(--color-white); padding: 5rem 3rem; border-radius: var(--radius-lg); text-align: center; max-width: 800px; margin: 0 auto; border: 1px solid rgba(226, 219, 206, 0.5); }
.cta-box h2 { margin-bottom: 1rem; }
.cta-box p { margin: 0 auto 2rem; max-width: 500px; text-align: justify; text-justify: inter-word; }

/* Footer - Compact & Professional */
.footer { background-color: var(--color-base); color: var(--color-dark); padding: 4rem 0 1.5rem; border-top: 1px solid rgba(0,0,0,0.05); }
.footer-container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; align-items: start; margin-bottom: 3rem; }
.footer-col h4 { color: var(--color-dark); font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.75rem; margin-bottom: 1.25rem; font-weight: 600; }
.footer-col a { display: block; color: var(--color-dark-alt); text-decoration: none; margin-bottom: 0.5rem; font-size: 0.9rem; transition: color 0.3s ease; }
.footer-col a:hover { color: var(--color-accent); }
.brand-col .logo { margin-bottom: 0.75rem; display: inline-block; }
.brand-col p { color: var(--color-dark-alt); font-size: 0.85rem; max-width: 250px; opacity: 0.8; text-align: justify; text-justify: inter-word; }
.footer-bottom {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-copyright {
    font-size: 0.8rem;
    color: var(--color-dark-alt);
    margin: 0;
    opacity: 0.6;
}
.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}
.footer-bottom-links a {
    font-size: 0.8rem;
    color: var(--color-dark-alt);
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.3s ease, color 0.3s ease;
}
.footer-bottom-links a:hover {
    opacity: 1;
    color: var(--color-accent);
}

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(22,22,22,0.95); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox-close { position: absolute; top: 2rem; right: 2rem; background: none; border: none; color: var(--color-white); font-size: 2.5rem; cursor: pointer; transition: color 0.3s ease; line-height: 1; }
.lightbox-close:hover { color: var(--color-accent); }
.lightbox-content { max-width: 90%; max-height: 90vh; transform: scale(0.98); transition: transform 0.3s ease; }
.lightbox.active .lightbox-content { transform: scale(1); }
.lightbox-content img { max-width: 100%; max-height: 90vh; object-fit: contain; border-radius: var(--radius-sm); cursor: zoom-out; }

/* Subtle Animations */
.reveal { opacity: 0; transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1); }
.reveal.fade-up { transform: translateY(20px); }
.reveal.fade-in { transform: translateY(0); }
.reveal.active { opacity: 1; transform: translate(0); }

/* Target Audience Section (B2B) */
.target-audience { background-color: var(--color-light); }
.target-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 4rem; align-items: center; }
.target-image-wrapper { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-soft); }
.target-image-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.target-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.target-item { display: flex; gap: 1rem; align-items: center; padding: 1.25rem; background-color: var(--color-white); border-radius: var(--radius-md); border: 1px solid rgba(22,22,22,0.02); transition: var(--transition); }
.target-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--color-b2b-blue-subtle); }
.target-icon { color: var(--color-b2b-blue); flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: var(--color-b2b-blue-subtle); border-radius: 50%; font-size: 0.95rem; font-weight: 600; }
.target-desc { text-align: justify; text-justify: inter-word; }
.target-text { font-size: 1.05rem; color: var(--color-dark); font-weight: 500; margin: 0; }

/* Responsive */
@media (max-width: 1024px) {
    .hero-layout { grid-template-columns: 1fr; text-align: center; gap: 3rem; padding-top: 2rem; }
    .hero-content { padding: 0; }
    .hero-chips { justify-content: center; }
    .hero-title br { display: none; }
    .hero-subtitle { margin: 0 auto 2.5rem; text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero-image-frame { display: none; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-container { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .target-layout { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
    .header { padding: 0.3rem 0; }
    .header.scrolled { padding: 0.3rem 0; }
    .logo-img { height: 62px; }
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 40%;
        min-width: 260px;
        max-width: 320px;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 100px 30px 40px;
        gap: 16px;
        box-shadow: -5px 0 25px rgba(22, 22, 22, 0.12);
        transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 100;
    }
    .nav.active {
        right: 0;
    }
    .nav a {
        font-size: 1rem;
        color: var(--color-dark);
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid rgba(22, 22, 22, 0.08);
        text-align: left;
    }
    .menu-toggle { display: flex; z-index: 101; }
    .menu-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .header .btn-small { display: none; }
    
    /* Mobile Hero adjustments */
    .hero { min-height: auto; padding-top: 7.5rem; padding-bottom: 2rem; }
    .hero-layout { display: flex !important; flex-direction: column !important; gap: 1.5rem; }
    .hero-visual { order: 1 !important; padding: 0; }
    .hero-content { order: 2 !important; padding: 0; }
    .hero-image-wrapper { aspect-ratio: 16/10 !important; max-height: 220px !important; }
    .hero-chips { margin-bottom: 1rem; gap: 0.4rem; justify-content: center; }
    .chip { font-size: 0.65rem; padding: 0.3rem 0.6rem; }
    h1.hero-title { font-size: 1.6rem; line-height: 1.25; margin-bottom: 0.75rem; }
    .hero-subtitle { font-size: 0.9rem; margin-bottom: 1.5rem; max-width: 100%; text-align: justify !important; text-justify: inter-word !important; letter-spacing: -0.01em; }
    .about-text p { text-align: justify !important; text-justify: inter-word !important; font-size: 0.95rem; letter-spacing: -0.01em; }
    
    /* Hero Buttons stacked on Mobile */
    .hero-buttons { display: flex !important; flex-direction: column !important; gap: 0.75rem !important; justify-content: center !important; align-items: center !important; width: 100%; }
    .hero-buttons .btn { width: 100% !important; max-width: 320px !important; padding: 0.85rem 1.5rem !important; font-size: 0.85rem !important; text-align: center !important; justify-content: center !important; }
    
    /* General Typography & Spacing adjustments for Mobile (390px) */
    h2, .section-title { font-size: 1.5rem !important; line-height: 1.25 !important; letter-spacing: -0.01em !important; }
    .section { padding: 4rem 0 !important; }
    .section-header { margin-bottom: 2rem !important; }
    
    /* Cards Layout & Internal Paddings */
    .services-grid, .benefits-grid, .portfolio-grid, .steps-container { grid-template-columns: 1fr; gap: 1.25rem !important; }
    .service-card { padding: 2rem 1.25rem !important; }
    .benefit-card { padding: 2rem 1.25rem !important; }
    .step-card { padding: 1.75rem 1.25rem !important; }
    .service-card p, .benefit-card p, .step-card p { text-align: justify !important; text-justify: inter-word !important; font-size: 0.9rem !important; letter-spacing: -0.01em; }
    .benefits { padding-bottom: 2rem !important; }
    .portfolio { padding-top: 2rem !important; }
    .cta-box { padding: 3.5rem 1.25rem !important; }
    .cta-box p { text-align: justify !important; text-justify: inter-word !important; font-size: 0.95rem !important; letter-spacing: -0.01em; }
    .target-desc { text-align: justify !important; text-justify: inter-word !important; font-size: 0.95rem !important; letter-spacing: -0.01em; margin-bottom: 1.5rem !important; }
    
    /* FAQ mobile optimization */
    .faq-trigger { font-size: 0.95rem !important; padding: 16px 0 !important; }
    .faq-question { padding-right: 25px !important; }
    .faq-answer { font-size: 0.9rem !important; line-height: 1.6 !important; text-align: justify !important; text-justify: inter-word !important; letter-spacing: -0.01em; }
    
    /* Mobile Footer adjustments */
    .footer { padding: 3.5rem 0 1.5rem; }
    .footer-container { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 1rem; text-align: center; margin-bottom: 2rem; }
    .brand-col { grid-column: 1 / -1; margin-bottom: 0.5rem; text-align: left !important; }
    .brand-col p { margin: 0.5rem 0 0 0 !important; max-width: 260px; text-align: left; }
    .brand-col .logo-img { height: 75px !important; }
    .footer-col:nth-child(4) { grid-column: 1 / -1; }
    .footer-col h4 { margin-bottom: 0.75rem; }
    .footer-col a { margin-bottom: 0.4rem; }
    .footer-bottom { flex-direction: column; justify-content: center; text-align: center; gap: 12px; }
    
    /* Mobile B2B overrides */
    .target-image-wrapper {
        aspect-ratio: 16/9 !important;
        border: 2px solid var(--color-accent);
        animation: glow-pulse-mobile 2.5s infinite ease-in-out;
        position: relative;
    }
    
    .video-badge-mobile {
        display: flex;
        align-items: center;
        position: absolute;
        top: 12px;
        left: 12px;
        background: var(--color-accent);
        color: var(--color-white);
        font-family: var(--font-body);
        font-size: 0.65rem;
        font-weight: 600;
        letter-spacing: 0.05em;
        padding: 5px 10px;
        border-radius: 4px;
        z-index: 12;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
        pointer-events: none;
        animation: badge-bounce-mobile 2s infinite ease-in-out;
    }
    
    .target-list { grid-template-columns: 1fr; gap: 1rem; }
    .target-item { padding: 1rem; }
}

/* ============================================
   FAQ COMPACT ACCORDION
   ============================================ */
.faq-section {
    background-color: var(--color-base);
}

.faq-compact {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-dark);
  text-align: left;
  transition: color 0.2s ease;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.faq-trigger:hover {
  color: var(--color-accent);
}

.faq-question {
  padding-right: 20px;
  line-height: 1.4;
}

.faq-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--color-accent);
  transition: transform 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.faq-icon::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
}

.faq-icon::after {
  top: 0;
  left: 7px;
  width: 2px;
  height: 16px;
}

.faq-item.active .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-answer {
  padding-bottom: 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-dark-alt);
  text-align: justify;
  text-justify: inter-word;
}

/* ============================================
   CUSTOM VIDEO PLAYER (YOUTUBE-LIKE)
   ============================================ */
.custom-video-player {
    position: relative;
    overflow: hidden;
    background-color: #000;
    user-select: none;
}

.custom-video-player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

/* Big Play/Pause Center Button Overlay */
.video-play-center-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent) 0%, #9e824c 100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 2px solid var(--color-white);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.video-play-center-btn svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

/* Align play icon slightly to the right to look visually centered */
.video-play-center-btn svg.icon-play {
    transform: translateX(2px);
}

/* Visibility states */
.custom-video-player.video-paused .video-play-center-btn {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
    animation: play-btn-pulse 2s infinite ease-in-out;
}

.custom-video-player.video-playing .video-play-center-btn {
    opacity: 0;
    pointer-events: none;
}

/* On hover on PC while playing, display the pause button */
.custom-video-player.video-playing:hover .video-play-center-btn {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
    background: rgba(22, 22, 22, 0.75);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Hover effect on center button (both play and pause states) */
.video-play-center-btn:hover {
    background: var(--color-white) !important;
    color: var(--color-accent) !important;
    border-color: var(--color-accent) !important;
    transform: translate(-50%, -50%) scale(1.1) !important;
    box-shadow: 0 12px 32px rgba(184, 155, 94, 0.7) !important;
    animation: none !important;
}

@keyframes play-btn-pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 8px 24px rgba(184, 155, 94, 0.4), 0 0 0 0 rgba(184, 155, 94, 0.5);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.08);
        box-shadow: 0 12px 32px rgba(184, 155, 94, 0.6), 0 0 0 16px rgba(184, 155, 94, 0);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 8px 24px rgba(184, 155, 94, 0.4), 0 0 0 0 rgba(184, 155, 94, 0);
    }
}

/* Controls Bar Overlay */
.video-controls-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(22, 22, 22, 0.95) 0%, rgba(22, 22, 22, 0.4) 60%, rgba(22, 22, 22, 0) 100%);
    padding: 24px 16px 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
}

.custom-video-player:hover .video-controls-bar,
.custom-video-player.controls-active .video-controls-bar {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Progress / Timeline Bar */
.video-progress-container {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    position: relative;
    border-radius: 2px;
    transition: height 0.15s ease;
}

.video-progress-container:hover {
    height: 6px;
}

.video-progress-bar {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-progress-filled {
    height: 100%;
    background: var(--color-accent);
    width: 0%;
    position: relative;
    border-radius: 2px;
}

.video-progress-filled::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-white);
    border: 2px solid var(--color-accent);
    transition: transform 0.15s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.video-progress-container:hover .video-progress-filled::after {
    transform: translateY(-50%) scale(1);
}

.video-progress-hover {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.35);
    width: 0%;
    pointer-events: none;
    border-radius: 2px;
}

/* Controls Row */
.video-controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.video-controls-left,
.video-controls-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.video-control-btn {
    background: none;
    border: none;
    color: var(--color-white);
    opacity: 0.85;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 50%;
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.video-control-btn:hover {
    opacity: 1;
    color: var(--color-accent);
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.video-control-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Volume container and slider */
.video-volume-container {
    display: flex;
    align-items: center;
    gap: 2px;
}

.volume-slider {
    width: 0px;
    opacity: 0;
    height: 4px;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    transition: width 0.25s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.2s ease;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.5);
    cursor: pointer;
}

.video-volume-container:hover .volume-slider,
.video-volume-container.active .volume-slider {
    width: 60px;
    opacity: 1;
    margin-left: 6px;
}

/* Time display */
.video-time-display {
    font-size: 0.825rem;
    color: var(--color-white);
    font-family: var(--font-body);
    font-weight: 400;
    opacity: 0.85;
    user-select: none;
    margin-left: 6px;
    letter-spacing: 0.02em;
}

/* Unmute Badge Indicator (Overlay) if it autoplays muted */
.video-unmute-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(22, 22, 22, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--color-white);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-family: var(--font-body);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 11;
    box-shadow: 0 4px 20px rgba(0,0,0,0.35);
    animation: pulse-unmute 2s infinite;
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
}

.video-unmute-badge svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.video-unmute-badge:hover {
    background: var(--color-accent);
    transform: scale(1.04);
    border-color: transparent;
}

@keyframes pulse-unmute {
    0% {
        box-shadow: 0 0 0 0 rgba(184, 155, 94, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(184, 155, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(184, 155, 94, 0);
    }
}

/* Fullscreen support */
.custom-video-player:fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
    border-radius: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.custom-video-player:fullscreen video {
    aspect-ratio: auto;
    height: 100% !important;
    width: 100% !important;
    object-fit: contain;
}

.custom-video-player:fullscreen .video-controls-bar {
    padding: 30px 24px 20px 24px;
}

/* Responsive details */
@media (max-width: 480px) {
    .video-volume-container {
        display: none; /* Hide volume on mobile to save space */
    }
    .video-controls-left {
        gap: 8px;
    }
    .video-control-btn {
        padding: 4px;
    }
    .video-control-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* Default state for video badge (desktop hidden) */
.video-badge-mobile {
    display: none;
}

/* Animations for Mobile Eye-catchers */
@keyframes glow-pulse-mobile {
    0% {
        box-shadow: 0 0 8px rgba(184, 155, 94, 0.4);
        border-color: rgba(184, 155, 94, 0.6);
    }
    50% {
        box-shadow: 0 0 22px rgba(184, 155, 94, 0.95);
        border-color: rgba(184, 155, 94, 1);
    }
    100% {
        box-shadow: 0 0 8px rgba(184, 155, 94, 0.4);
        border-color: rgba(184, 155, 94, 0.6);
    }
}

@keyframes badge-bounce-mobile {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

/* ============================================
   BOTÃO FLUTUANTE DO CATÁLOGO
   ============================================ */
.floating-catalog-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--color-white);
    color: var(--color-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: all var(--transition);
    border: 1px solid rgba(22, 22, 22, 0.08);
    text-decoration: none;
}

.floating-catalog-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 24px rgba(184, 155, 94, 0.25);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.floating-catalog-icon {
    width: 24px;
    height: 24px;
    transition: transform var(--transition);
    animation: cart-wiggle 2s infinite ease-in-out;
}

.floating-catalog-btn:hover .floating-catalog-icon {
    transform: scale(1.1);
    animation-play-state: paused; /* Pausa a animação automática no hover para o hover manual ter foco */
}

/* Badge de notificação no botão do catálogo */
.floating-catalog-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 10px;
    height: 10px;
    background-color: #ff3b30;
    border-radius: 50%;
    border: 1.5px solid var(--color-white);
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
    z-index: 2;
}

.floating-catalog-badge.active {
    opacity: 1;
    transform: scale(1);
    animation: badge-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes badge-pop {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

@keyframes cart-wiggle {
    0%, 80%, 100% {
        transform: rotate(0deg);
    }
    85% {
        transform: rotate(-10deg) scale(1.05);
    }
    90% {
        transform: rotate(8deg) scale(1.05);
    }
    95% {
        transform: rotate(-4deg) scale(1.02);
    }
}

/* Tooltip opcional ao passar o mouse */
.floating-catalog-tooltip {
    position: absolute;
    right: 75px;
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-family: var(--font-body);
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.floating-catalog-btn:hover .floating-catalog-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Ajuste responsivo para mobile */
@media (max-width: 768px) {
    .floating-catalog-btn {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
    }
    .floating-catalog-tooltip {
        display: none;
    }
    .floating-catalog-badge {
        top: 10px;
        right: 10px;
        width: 9px;
        height: 9px;
    }
}
