/* ========================================
    CLUBE DA INVESTIGACAO - STYLESHEET
    Tema baseado no design original
    ======================================== */

:root {
    /* Cores - Alinhadas com o Exemplo */
    --primary: #FFFFFF;
    --secondary: #FFCC3A;
    --accent: #E42424;
    --accent-dark: #6B0C0A;
    --accent-green: #039C32;
    --accent-green-dark: #0A6B0B;
    --accent-light: #FF4D4D;
    --light: #FFFFFF;
    --dark: #000000;
    --muted: rgba(244, 237, 237, 0.72);
    --text-secondary: #F4EDED;
    --border: rgba(255, 255, 255, 0.12);
    --bg-light: #000000;
    --bg-accent: rgba(227, 36, 36, 0.18);

    /* Superfícies (tema imersivo) */
    --bg: #000000;
    --paper: #0A0A0A;
    --surface: rgba(255, 255, 255, 0.05);
    --surface-2: rgba(255, 255, 255, 0.08);
    --text: #F4EDED;
    --text-muted: rgba(244, 237, 237, 0.78);
    --ink: #111111;
    
    /* Espaçamento */
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 20px;
    --space-lg: 30px;
    --space-xl: 50px;
    --space-xxl: 80px;
    
    /* Tipografia */
    --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --fs-xs: 0.875rem;
    --fs-sm: 0.95rem;
    --fs-md: 1rem;
    --fs-lg: 1.125rem;
    --fs-xl: 1.5rem;
    --fs-xxl: 2rem;
    --fs-xxxl: 2.5rem;
    
    /* Efeitos */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* ========== RESET ========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    font-weight: 300;
    letter-spacing: -0.3px;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(1200px 600px at 20% 0%, rgba(255, 204, 58, 0.10), transparent 55%),
        radial-gradient(900px 600px at 80% 15%, rgba(227, 36, 36, 0.18), transparent 55%),
        radial-gradient(700px 500px at 50% 90%, rgba(107, 12, 10, 0.18), transparent 55%),
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.03) 0px,
            rgba(255, 255, 255, 0.03) 1px,
            transparent 1px,
            transparent 6px
        );
    opacity: 0.85;
    mix-blend-mode: screen;
    z-index: 0;
}

/* ========== TIPOGRAFIA ========== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    letter-spacing: -0.5px;
    line-height: 1.2;
    color: var(--text);
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: var(--space-md);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    margin-bottom: var(--space-md);
}

h3 {
    font-size: clamp(1.1rem, 2vw, 1.375rem);
    margin-bottom: var(--space-sm);
}

h4 {
    font-size: var(--fs-lg);
    font-weight: 500;
}

p {
    font-size: var(--fs-md);
    line-height: 1.7;
    color: var(--text-muted);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

strong {
    font-weight: 600;
}

em {
    font-style: italic;
    color: var(--text-muted);
}

/* ========== LAYOUT ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-xxl) var(--space-md);
    position: relative;
    z-index: 1;
}

.section.dark {
    background: #000000;
    color: var(--text);
}

.section.light-bg {
    background: #000000;
    color: var(--text);
}

.section.light-bg h1,
.section.light-bg h2,
.section.light-bg h3,
.section.light-bg h4,
.section.light-bg p {
    color: var(--text);
}

.section.accent-bg {
    background:
    radial-gradient(900px 500px at 20% 10%, rgba(227, 36, 36, 0.18), transparent 55%),
    radial-gradient(900px 500px at 80% 20%, rgba(255, 204, 58, 0.14), transparent 55%),
    #000000;
}

/* ========== HEADER ========== */
header {
    background: linear-gradient(180deg, rgba(6, 6, 6, 0.92), rgba(0, 0, 0, 0.78));
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(244, 237, 237, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    box-shadow: none;
}

header.is-scrolled {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-lg);
}

.main-nav {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
}

.main-nav a,
.mobile-nav a {
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(244, 237, 237, 0.72);
    transition: color 0.3s ease;
    position: relative;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.main-nav a::after,
.mobile-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.32);
    transition: width 0.2s ease;
}

.main-nav a:hover,
.mobile-nav a:hover {
    color: rgba(244, 237, 237, 0.9);
}

.main-nav a:hover::after,
.mobile-nav a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 10px;
    transition: var(--transition);
}

.nav-toggle:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.nav-toggle__bar {
    width: 18px;
    height: 2px;
    background: rgba(244, 237, 237, 0.9);
    display: block;
    border-radius: 999px;
}

.btn-nav {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(244, 237, 237, 0.92);
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: var(--transition);
    border: 1px solid rgba(244, 237, 237, 0.22);
    cursor: pointer;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.btn-nav:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(244, 237, 237, 0.35);
    transform: translateY(-1px);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
}

.mobile-menu.is-open {
    display: block;
}

.mobile-menu__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.mobile-menu__panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(320px, 86vw);
    background: rgba(10, 10, 10, 0.98);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    transform: translateX(100%);
    transition: transform 260ms ease;
}

.mobile-menu.is-open .mobile-menu__panel {
    transform: translateX(0);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.btn-nav--mobile {
    width: 100%;
    text-align: center;
}

.mobile-close {
    align-self: flex-end;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-size: 20px;
    cursor: pointer;
}

body.is-nav-open {
    overflow: hidden;
}

/* ========== BOTÕES ========== */
.btn {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    border-radius: 999px;
    font-weight: 600;
    font-size: var(--fs-sm);
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.btn-primary {
    background-image: linear-gradient(90deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--primary);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.btn-primary:hover {
    filter: brightness(1.06);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: rgba(255, 255, 255, 0.22);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
}

.btn-success {
    background-image: linear-gradient(90deg, var(--accent-green) 0%, var(--accent-green-dark) 100%);
    color: var(--primary);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

.btn-success:hover {
    filter: brightness(1.08);
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
}

.btn-lg {
    padding: var(--space-md) var(--space-xl);
    font-size: var(--fs-lg);
}

/* ========== HERO ========== */
.hero {
    padding: var(--space-xxl) var(--space-md) clamp(220px, 28vh, 420px);
    text-align: center;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.7)),
        #000 url('../assets/images/header.png') center top / cover no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
    z-index: 1;
    isolation: isolate;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 80% at 50% 10%, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.85));
    z-index: 0;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.03) 0px,
            rgba(255, 255, 255, 0.03) 1px,
            transparent 1px,
            transparent 6px
        );
    opacity: 0.15;
    mix-blend-mode: screen;
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding-top: clamp(140px, 18vh, 260px);
    position: relative;
    z-index: 1;
}


.hero-eyebrow,
.hero-title,
.hero-subtitle {
    text-shadow:
        0 6px 24px rgba(0, 0, 0, 0.65),
        0 0 30px rgba(0, 0, 0, 0.5);
}

.hero-eyebrow,
.hero-title,
.hero-subtitle,
.hero-cta {
    opacity: 0;
    transform: translateY(8px);
    animation: heroFade 1.2s ease forwards;
}

.hero-eyebrow { animation-delay: 0.05s; }
.hero-title { animation-delay: 0.25s; }
.hero-subtitle { animation-delay: 0.45s; }
.hero-cta { animation-delay: 0.7s; }

.hero-image {
    width: 100%;
    max-width: 700px;
    margin: 0 auto var(--space-lg);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(244, 237, 237, 0.75);
    margin-bottom: var(--space-sm);
}

.hero-title {
    margin-bottom: var(--space-md);
    font-weight: 500;
}

.hero-subtitle {
    font-size: var(--fs-lg);
    color: rgba(244, 237, 237, 0.78);
    margin: 0 auto var(--space-xl);
    max-width: 560px;
}

.hero-kicker {
    font-size: clamp(1.6rem, 4vw, 3rem);
    letter-spacing: 0.35rem;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 800;
    margin-bottom: var(--space-md);
}

.rating-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.55);
    font-size: var(--fs-sm);
    color: var(--text);
    margin-bottom: var(--space-md);
}

.rating-stars {
    color: var(--secondary);
    letter-spacing: 2px;
}

.hero-cta {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.28);
    padding: 14px 22px;
    border-radius: 999px;
    font-size: var(--fs-sm);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: var(--transition);
}

.hero-cta:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.4);
}

@keyframes heroFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    position: fixed;
    right: 24px;
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: rgba(244, 237, 237, 0.8);
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    backdrop-filter: blur(6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    cursor: pointer;
    z-index: 9999;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    white-space: nowrap;
}

.scroll-indicator svg {
    width: 18px;
    height: 18px;
    animation: bob 1.6s ease-in-out infinite;
    transition: transform 200ms ease;
}

.scroll-indicator.is-up svg {
    transform: rotate(180deg);
    animation: none;
}

.scroll-indicator:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.4);
    outline-offset: 6px;
    border-radius: 999px;
}

.scroll-indicator svg {
    width: 18px;
    height: 18px;
    animation: bob 1.6s ease-in-out infinite;
}

@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

.section-intro {
    max-width: 820px;
    margin: 0 auto var(--space-xl);
}

.section-intro p {
    font-size: var(--fs-md);
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-top: var(--space-lg);
}

/* ========== CARDS ========== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.card {
    background: var(--surface);
    padding: var(--space-lg);
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: var(--transition);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    transform: translateY(-8px);
}

.card-icon {
    font-size: 2.25rem;
    margin-bottom: var(--space-md);
    line-height: 1;
    width: 54px;
    height: 54px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(227, 36, 36, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: var(--accent);
}

.card-icon svg {
    width: 26px;
    height: 26px;
    display: block;
}

.section.light-bg .card-icon {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(227, 36, 36, 0.12);
    color: var(--accent);
}

.card h3 {
    margin-bottom: var(--space-sm);
    color: var(--text);
}

.card p {
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.card strong {
    color: var(--text);
}

/* ========== SHOWCASE ========== */
.showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.showcase-item {
    border-radius: 8px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: var(--transition);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.showcase-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.showcase-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.showcase-content {
    padding: var(--space-lg);
}

.showcase-content h4 {
    color: var(--text);
    margin-bottom: var(--space-sm);
    font-weight: 600;
}

.showcase-content p {
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.section.light-bg .card,
.section.light-bg .showcase-item,
.section.light-bg .pricing-card,
.section.light-bg .faq-item {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.section.light-bg .card h3,
.section.light-bg .showcase-content h4 {
    color: var(--text);
}

.section.light-bg .card p,
.section.light-bg .showcase-content p,
.section.light-bg .faq-answer {
    color: var(--text-muted);
}

/* ========== TESTIMONIALS ========== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.testimonial {
    background: rgba(255, 255, 255, 0.6);
    padding: var(--space-lg);
    border-radius: 8px;
    border-left: 5px solid var(--accent);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.testimonial:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial.dark {
    background: rgba(30, 30, 30, 0.7);
    color: var(--light);
    border-left-color: var(--secondary);
}

.testimonial p {
    font-size: var(--fs-sm);
    margin-bottom: var(--space-md);
    font-style: italic;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: var(--secondary);
}

.testimonial.dark .testimonial-author {
    color: var(--secondary);
}

/* ========== PRICING ========== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.pricing-card {
    background: var(--surface);
    padding: var(--space-lg);
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.14);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.pricing-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.pricing-card.featured {
    border-color: rgba(227, 36, 36, 0.65);
    box-shadow: 0 20px 60px rgba(227, 36, 36, 0.18);
    background:
        radial-gradient(600px 200px at 50% 0%, rgba(227, 36, 36, 0.18), transparent 55%),
        radial-gradient(600px 200px at 50% 0%, rgba(255, 204, 58, 0.16), transparent 55%),
        rgba(255, 255, 255, 0.04);
    transform: scale(1.02);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-header {
    margin-bottom: var(--space-lg);
}

.price-title {
    font-size: var(--fs-lg);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.price-old {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}

.price-old del {
    color: var(--accent);
}

.price-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: var(--fs-xs);
    color: var(--secondary);
    margin-top: var(--space-sm);
}

.price-tag {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.price-tag.secondary {
    color: var(--primary);
}

.price-subtext {
    font-size: var(--fs-xs);
    color: rgba(244, 237, 237, 0.72);
}

.features-list {
    list-style: none;
    text-align: left;
    margin: var(--space-lg) 0;
}

.features-list li {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border);
    font-size: var(--fs-sm);
    color: rgba(244, 237, 237, 0.86);
}

.section.light-bg .features-list li {
    color: rgba(244, 237, 237, 0.86);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.features-list li::before {
    content: '✓ ';
    color: var(--accent-green);
    font-weight: 700;
    margin-right: var(--space-sm);
}

.pricing-guarantee {
    margin: -6px 0 var(--space-md);
    font-size: var(--fs-xs);
    color: rgba(244, 237, 237, 0.65);
    text-align: left;
}

/* ========== FAQ ========== */
.faq-container {
    max-width: 740px;
    margin: var(--space-xl) auto 0;
}

.faq-container.faq-narrative {
    padding: var(--space-lg);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.35);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: var(--space-md) 0;
    opacity: 0.92;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.faq-item + .faq-item { margin-top: 14px; }
.faq-item:nth-child(2) { margin-top: 18px; }
.faq-item:nth-child(3) { margin-top: 22px; }
.faq-item:nth-child(4) { margin-top: 26px; }
.faq-item:nth-child(5) { margin-top: 30px; }
.faq-item:nth-child(6) { margin-top: 34px; }
.faq-item:nth-child(7) { margin-top: 38px; }
.faq-item:nth-child(8) { margin-top: 48px; }

.faq-item.is-open {
    opacity: 1;
}

.faq-item:last-child {
    border-bottom: none;
    padding-top: var(--space-lg);
    margin-top: 52px;
    position: relative;
}

.faq-item:last-child::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.faq-question {
    font-weight: 600;
    font-size: var(--fs-md);
    margin-bottom: var(--space-sm);
    cursor: pointer;
    transition: color 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.85;
}

.faq-question:hover {
    color: var(--secondary);
    opacity: 1;
    transform: translateY(-1px);
}

.faq-question-text {
    position: relative;
    display: inline-block;
    transition: opacity 0.35s ease, transform 0.35s ease;
    opacity: 0.85;
    transform: translateY(2px);
}

.faq-question-text::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.faq-item.is-open .faq-question {
    color: var(--text);
    opacity: 1;
}

.faq-item.is-open .faq-question-text {
    opacity: 1;
    transform: translateY(0);
}

.faq-item.is-open .faq-question-text::after {
    transform: scaleX(1);
}

.faq-toggle {
    font-size: 1.2rem;
    transition: transform 0.45s ease;
}

.faq-item.is-open .faq-toggle,
.faq-question.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    line-height: 1.8;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(6px);
    transition:
        max-height 320ms ease,
    opacity 200ms ease 240ms,
    transform 200ms ease 240ms;
}

.faq-answer-text {
    display: block;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 240ms ease 320ms, transform 240ms ease 320ms;
}

.faq-item.is-open .faq-answer {
    max-height: 420px;
    opacity: 1;
    transform: translateY(0);
}

.faq-item.is-open .faq-answer-text {
    opacity: 1;
    transform: translateY(0);
}

.faq-item.is-closing .faq-answer {
    transition:
        max-height 200ms ease,
        opacity 120ms ease,
        transform 120ms ease;
}

.faq-item:last-child .faq-answer {
    color: rgba(244, 237, 237, 0.72);
}

/* ========== FOOTER ========== */
footer {
    background: #000;
    color: var(--text);
    padding: var(--space-lg) var(--space-md);
    text-align: center;
    font-size: var(--fs-sm);
}

/* ========== INTERACTIONS & SOCIAL PROOF ========== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--accent) 0%, var(--secondary) 100%);
    z-index: 2000;
    box-shadow: 0 0 12px rgba(227, 36, 36, 0.5);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.social-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.social-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
}

.social-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.social-card:focus-visible {
    outline: 2px solid rgba(227, 36, 36, 0.85);
    outline-offset: 4px;
}

/* ========== LIGHTBOX ========== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
}

.lightbox.is-open {
    display: flex;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 220ms ease;
}

.lightbox.is-open .lightbox-backdrop {
    opacity: 1;
}

.lightbox-content {
    position: relative;
    z-index: 1;
    width: min(980px, 92vw);
    max-height: 88vh;
    border-radius: 16px;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(10px) scale(0.98);
    opacity: 0;
    transition: transform 260ms ease, opacity 220ms ease;
}

.lightbox.is-open .lightbox-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.16);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.16);
}

.lightbox-prev {
    left: 12px;
}

.lightbox-next {
    right: 12px;
}

.lightbox-media {
    width: 100%;
    height: 100%;
    padding: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image,
.lightbox-video {
    max-width: 100%;
    max-height: 78vh;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    display: none;
}

.lightbox-image.is-active,
.lightbox-video.is-active {
    display: block;
}

.lightbox-image {
    cursor: zoom-in;
    transition: transform 200ms ease;
}

.lightbox-image.is-zoomed {
    transform: scale(1.06);
    cursor: zoom-out;
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 38px;
        height: 38px;
        font-size: 22px;
    }

    .lightbox-prev {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }

    .hero {
        background-attachment: scroll;
        background-position: center top;
        background:
            linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.7)),
            #000 url('../assets/images/header-mobile.png') center top / cover no-repeat;
    }
}

body.is-locked {
    overflow: hidden;
}

.evidence-panel {
    margin-top: var(--space-xl);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: var(--space-xl);
    align-items: center;
}

.evidence-tabs {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.evidence-tab {
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.evidence-tab.active {
    border-color: rgba(227, 36, 36, 0.7);
    box-shadow: 0 16px 40px rgba(227, 36, 36, 0.2);
    background: rgba(227, 36, 36, 0.12);
}

.evidence-preview {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    position: relative;
}

.evidence-preview img {
    width: 100%;
    display: block;
}

.lamp-hotspot {
    position: absolute;
    top: 29%;
    left: 26%;
    width: 15%;
    height: 17%;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: default;
    outline: none;
    pointer-events: auto;
}

.evidence-content {
    margin-top: var(--space-md);
}

.case-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: var(--fs-xs);
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}

/* ========== TOAST ========== */
.toast-container {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 18px;
    display: grid;
    gap: 10px;
    z-index: 2000;
    pointer-events: none;
}

.toast {
    margin: 0 auto;
    max-width: 520px;
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(244, 237, 237, 0.14);
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(10px);
    color: var(--text);
    font-size: var(--fs-sm);
    white-space: pre-line;
    transform: translateY(10px);
    opacity: 0;
    transition: transform 180ms ease, opacity 180ms ease;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .animate-fade-up { animation: none; }
    .toast { transition: none; }
    .hero-eyebrow,
    .hero-title,
    .hero-subtitle,
    .hero-cta {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

.footer-content p {
    color: inherit;
    margin-bottom: var(--space-sm);
}

.footer-content p:last-child {
    margin-bottom: 0;
}

/* ========== UTILITIES ========== */
.text-center {
    text-align: center;
}

.mt-xl {
    margin-top: var(--space-xl);
}

.mb-lg {
    margin-bottom: var(--space-lg);
}

.mb-md {
    margin-bottom: var(--space-md);
}

.opacity-reduced {
    opacity: 0.75;
}

.highlight {
    color: var(--accent);
}

.highlight-secondary {
    color: var(--secondary);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.animate-fade-up {
    animation: fadeInUp 0.6s ease backwards;
}

.animate-slide-left {
    animation: slideInLeft 0.6s ease backwards;
}

.pulse-subtle {
    animation: pulse 2s ease-in-out infinite;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .section {
        padding: var(--space-lg) var(--space-md);
    }

    .main-nav {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .btn-nav {
        padding: var(--space-sm) var(--space-md);
        font-size: var(--fs-xs);
    }

    .cta-group {
        flex-direction: column;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .showcase {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }

    .evidence-panel {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .hero-content {
        padding-top: clamp(180px, 22vh, 240px);
    }

    .hero-image {
        max-width: 100%;
    }

    .showcase-image {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: var(--space-lg) var(--space-sm);
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    .hero-content {
        padding-top: clamp(190px, 24vh, 250px);
    }

    .price-tag {
        font-size: 2rem;
    }

    .showcase-image {
        height: 200px;
    }
}
