/* ============================================================
   DESIGN SYSTEM — CAMPOS & CARDOSO ADVOCACIA ESPECIALIZADA
   Paleta: Preto · Ouro Metálico · Branco
   Estilo: Luxo Refinado · Advocacia Criminal de Elite
   Baseado no modelo: Fortuna & Bacelar
 ============================================================ */

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

:root {
    /* Colors */
    --black: #1a1a1a;
    --black-soft: #262626;
    --black-mid: #333333;
    --black-border: rgba(255, 255, 255, 0.12);

    --gold-500: #fcda80;
    --gold-600: #a3651a;
    --gold-400: #ffea99;
    --gold-metallic: linear-gradient(135deg, #a3651a 0%, #fcda80 50%, #a3651a 100%);

    /* Gradiente Títulos: Amarelo ouro → Amarelo bem claro (Playfair Italic) */
    --gold-title-gradient: linear-gradient(135deg, #a3651a 0%, #fcda80 100%);

    --gold-glow: rgba(252, 218, 128, 0.18);
    --gold-subtle: rgba(252, 218, 128, 0.06);

    --white: #FFFFFF;
    --silver: #9A9AA8;
    --silver-light: #C8C8D4;

    --whatsapp-green: #25D366;
    --whatsapp-dark: #128C7E;

    /* Fonts */
    --font-serif: 'Cinzel', Georgia, serif;
    --font-sans: 'Inter', sans-serif;

    /* Transitions */
    --transition-base: all 0.55s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-fast: all 0.3s ease;
}

/* ── Reset ─────────────────────────────────────────────── */
*,
*::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.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ── Layout ─────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ── Typography utilities ───────────────────────────────── */

/* Gradiente clássico metálico (spans de destaque) */
.text-gold-gradient {
    background: var(--gold-title-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Classe utilitária: título serif itálico com gradiente amarelo→claro */
.title-gold-italic {
    font-family: var(--font-serif);

    font-weight: 300;
    background: var(--gold-title-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 18px rgba(230, 184, 36, 0.22));
}

.text-glow-gold {
    filter: drop-shadow(0 0 22px rgba(230, 184, 36, 0.35));
}

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

/* Todos os títulos de seção: Cormorant Garamond itálico */
.section-title {
    font-family: var(--font-serif);

    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 300;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: 0.01em;
}

/* Títulos h1/h2/h3 com font-serif herdam itálico automaticamente */
h1.hero-title,
h2.section-title,
.section-title {}

.section-description {
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: 300;
    color: var(--silver);
    max-width: 820px;
    line-height: 1.8;
}

/* ── Gold Divider ───────────────────────────────────────── */
.gold-line {
    width: 60px;
    height: 1px;
    background: var(--gold-metallic);
    margin: 1.5rem 0;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn-premium-outer {
    display: inline-block;
    border: 1px solid transparent;
    text-decoration: none;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.btn-premium-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d5c4b 0%, #148f74 100%);
    color: var(--white);
    padding: 13px 32px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: var(--transition-base);
    gap: 10px;
}

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

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

/* Ghost secondary button */
.btn-ghost {
    display: inline-block;
    border: 1px solid var(--gold-500);
    padding: 14px 36px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-500);
    text-decoration: none;
    transition: var(--transition-base);
    border-radius: 8px;
}

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

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold-metallic);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-base);
}

.service-card:hover {
    border-color: rgba(212, 168, 75, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px var(--gold-glow);
}

.service-card:hover::before {
    transform: scaleX(1);
}

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

.service-card:hover .step-number {
    color: rgba(212, 168, 75, 0.08);
    transform: scale(1.05);
}

/* ── Reveal Animation ───────────────────────────────────── */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    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.65s 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: 52px;
    height: 52px;
    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: 28px;
    right: 28px;
    width: 22px;
    height: 22px;
    background: url('https://upload.wikimedia.org/wikipedia/commons/c/c1/Google_%22G%22_logo.svg') no-repeat center;
    background-size: contain;
    opacity: 0.75;
}

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

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

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

    100% {
        transform: translateX(-50%);
    }
}

/* ── FAQ ────────────────────────────────────────────────── */
.faq-icon-wrapper {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 168, 75, 0.06);
    border-radius: 50%;
    transition: var(--transition-base);
    flex-shrink: 0;
}

.faq-icon {
    width: 15px;
    height: 15px;
    color: var(--gold-600);
    transition: transform 0.45s 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);
}

/* ── Hero ───────────────────────────────────────────────── */
.hero-bg {
    background: url('../img/backg01.webp') center / cover no-repeat;
}

@media (max-width: 768px) {
    .hero-bg {
        background: url('../img/backg01mobile.webp') center / cover no-repeat;
    }
}

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

@media (max-width: 768px) {
    .persona-img-mobile {
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: auto;
        z-index: 1;
        pointer-events: none;
    }

    #wa-balloon {
        display: none !important;
    }
}

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

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

/* ── Differential Icons ────────────────────────────────── */
.diferencial-card {
    padding: 3rem 2rem;
    border: 1px solid var(--black-border);
    background: var(--black-soft);
    transition: var(--transition-base);
    position: relative;
    border-radius: 8px;
}

.diferencial-card:hover {
    border-color: rgba(212, 168, 75, 0.3);
    background: var(--black-mid);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* ── Expert Card ───────────────────────────────────────── */
.expert-card {
    background: var(--black-mid);
    border: 1px solid var(--black-border);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-base);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    position: relative;
}

.expert-card:hover {
    border-color: rgba(212, 168, 75, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 30px var(--gold-subtle);
}

.expert-img-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.expert-img-wrapper img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.expert-card:hover .expert-img-wrapper img {
    transform: scale(1.03);
}

.expert-content {
    padding: 2rem 2.5rem 2.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* ── Navbar ─────────────────────────────────────────────── */
.nav-links a:hover {
    color: var(--gold-500) !important;
}

.nav-links::-webkit-scrollbar {
    display: none;
}

/* ── Floating WhatsApp Widget ───────────────────────────── */
.wa-pulse {
    animation: pulse-green 2.5s ease-in-out infinite;
}

@keyframes pulse-green {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    50% {
        box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
    }
}

@keyframes bounceX {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-6px);
    }
}

@keyframes slideInBalloon {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ── Mobile Responsive ──────────────────────────────────── */
@media (max-width: 768px) {
    section {
        padding: 60px 0 !important;
    }

    .section-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem) !important;
    }

    .hero-title {
        font-size: clamp(1.5rem, 6.5vw, 1.9rem) !important;
    }

    .btn-premium-inner {
        padding: 14px 20px;
        font-size: 0.78rem;
        letter-spacing: 0.06em;
        white-space: normal;
        text-align: center;
        line-height: 1.4;
    }

    .btn-premium-inner svg {
        width: 16px;
        height: 16px;
    }

    .cta-block {
        padding: 70px 20px !important;
        margin-top: 80px !important;
    }

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

    .logo-desktop {
        display: none !important;
    }

    .logo-mobile {
        display: block !important;
    }

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

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

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

    .nav-carousel-wrapper {
        margin-left: -10px;
    }
}

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