/* ============================================================
   DESIGN SYSTEM — FORTUNA & BACELAR · CRIMINAL DEFENSE
   Palette: Black · Metallic Gold · White
   Architecture: Luxury Brutalist (Vanilla CSS)
 ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Aboreto&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Colors */
    --black: #0A0A0A;
    --black-soft: #121212;
    --black-border: rgba(255, 255, 255, 0.08);
    
    --gold-500: #E5C374;
    --gold-600: #C9A74E;
    --gold-400: #F1D592;
    --gold-metallic: linear-gradient(135deg, #B8860B 0%, #FFD700 50%, #B8860B 100%);
    --gold-glow: rgba(229, 195, 116, 0.15);
    
    --white: #FFFFFF;
    --silver: #A1A1AA;

    --whatsapp-green: #25D366;
    --whatsapp-dark: #128C7E;
    --whatsapp-gradient: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    
    /* Fonts */
    --font-serif: 'Aboreto', serif;
    --font-sans: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-base: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Base Setup */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--black);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gold-gradient {
    background: var(--gold-metallic);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-glow-gold {
    text-shadow: 0 0 30px var(--gold-glow);
}

.section-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold-500);
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 300;
    color: var(--silver);
    max-width: 800px;
}

/* Buttons */
.btn-premium-outer {
    display: inline-block;
    border: 1px solid var(--whatsapp-green);
    text-decoration: none;
    transition: var(--transition-base);
}

.btn-premium-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--whatsapp-dark) 0%, var(--whatsapp-green) 100%);
    color: var(--white); /* White text looks better on dark/med green gradient */
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: uppercase;
    transition: var(--transition-base);
}

.btn-premium-outer:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px var(--gold-glow);
    border-color: var(--gold-500);
}

.btn-premium-outer:hover .btn-premium-inner {
    background: var(--gold-metallic);
    color: var(--black);
}

/* Service Cards */
.service-card {
    background: var(--black-soft);
    padding: 3rem 2rem;
    border: 1px solid var(--black-border);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    border-color: var(--gold-500);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.service-card .step-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-family: var(--font-serif);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    transition: var(--transition-base);
}

.service-card:hover .step-number {
    color: rgba(229, 195, 116, 0.1);
    transform: scale(1.1);
}

/* Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-base);
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Reviews Carousel */
.reviews-slider-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0 60px;
}

.reviews-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.review-slide {
    flex: 0 0 100%;
    padding: 0 15px;
}

@media (min-width: 768px) {
    .review-slide { flex: 0 0 50%; }
}

@media (min-width: 1024px) {
    .review-slide { flex: 0 0 33.333%; }
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border: 1px solid var(--black-border);
    background: var(--black-soft);
    color: var(--gold-500);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    font-size: 1.2rem;
}

.slider-btn:hover {
    border-color: var(--gold-500);
    background: var(--gold-500);
    color: var(--black);
}

.google-review-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 20px;
    height: 20px;
    background: url('https://upload.wikimedia.org/wikipedia/commons/c/c1/Google_%22G%22_logo.svg') no-repeat center;
    background-size: contain;
    opacity: 0.8;
}

/* Ticker */
.ticker-wrap {
    overflow: hidden;
    background: #0f0f0f;
    border-top: 1px solid var(--black-border);
    border-bottom: 1px solid var(--black-border);
    padding: 24px 0;
}

.ticker {
    display: flex;
    gap: 4rem;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* FAQ Stylized Icons */
.faq-icon-wrapper {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 167, 78, 0.05); /* Very light gold tint */
    border-radius: 50%;
    transition: var(--transition-base);
}

.faq-icon {
    width: 14px;
    height: 14px;
    color: var(--gold-600);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

details[open] .faq-icon {
    transform: rotate(180deg);
}

details[open] .faq-icon-wrapper {
    background: var(--gold-500);
}

details[open] .faq-icon {
    color: var(--black);
}

/* Responsive Adjustments for Mobile Buttons */
@media (max-width: 480px) {
    .btn-premium-inner {
        padding: 14px 12px;
        font-size: 0.78rem;
        gap: 6px;
        white-space: nowrap;
    }
    
    .btn-premium-inner svg {
        width: 14px;
        height: 14px;
    }
}

/* Hero Section Responsive */
.hero-bg {
    background: url('../imagens/Backg01.webp') center/cover no-repeat;
}

.hero-mobile-img {
    display: none;
}

.hero-subtitle {
    max-width: 100%;
}

.cta-block {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('../imagens/backg02.webp') center/cover no-repeat !important;
}

.cta-block h2 {
    line-height: 1.1;
}

@media (min-width: 768px) {
    .hero-subtitle {
        max-width: 650px;
    }
}

@media (max-width: 768px) {
    .cta-block {
        padding: 80px 24px !important;
        margin-top: 80px !important;
    }

    .cta-block h2 {
        font-size: 1.6rem !important;
        margin-bottom: 1.5rem !important;
    }

    .cta-block p {
        font-size: 0.95rem !important;
        margin-bottom: 2rem !important;
    }

    .hero-subtitle {
        margin-bottom: 1.5rem !important;
    }

    .hero-bg {
        background-image: url('../imagens/BackgroundMobile.webp');
    }

    #home {
        padding-top: 200px !important;
        padding-bottom: 0 !important;
        min-height: auto !important;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .hero-mobile-img {
        display: block;
        width: 100%;
        max-width: 450px;
        margin-top: -60px;
        align-self: flex-end;
        position: relative;
        bottom: 0;
        z-index: 1;
    }
}
