/* ========================================================
   JDW Advocacia - Design System & Styles
   LUXURY EDITION — Cinematic Animations + Tone-on-Tone
   ======================================================== */

:root {
    /* Color Palette - Dark Tone-on-Tone Theme */
    --color-bg-primary: #111416;
    --color-bg-secondary: #171b1e;
    --color-bg-tertiary: #22282d;
    --color-text-primary: #FFFFFF;
    --color-text-secondary: #a3a3a3;
    --color-text-muted: #555555;
    
    /* Silver/Slate Accents */
    --color-accent: #9eb1bd;
    --color-accent-hover: #728591;
    --color-accent-light: rgba(158, 177, 189, 0.1);
    --color-accent-glow: rgba(158, 177, 189, 0.35);
    
    --color-border: #2d363d;

    /* Typography */
    --font-display: 'Cinzel', serif;
    --font-body: 'Merriweather', serif;

    /* Type Scale (Fluid) */
    --font-size-xs: clamp(0.75rem, 0.71rem + 0.2vw, 0.875rem);
    --font-size-sm: clamp(0.875rem, 0.83rem + 0.22vw, 1rem);
    --font-size-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    --font-size-lg: clamp(1.125rem, 1.05rem + 0.38vw, 1.25rem);
    --font-size-xl: clamp(1.25rem, 1.12rem + 0.65vw, 1.5rem);
    --font-size-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
    --font-size-3xl: clamp(1.875rem, 1.5rem + 1.88vw, 2.5rem);
    --font-size-4xl: clamp(2.25rem, 1.7rem + 2.75vw, 3.5rem);

    /* Spacing */
    --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
    --space-6: 24px; --space-8: 32px; --space-10: 40px; --space-12: 48px;
    --space-16: 64px; --space-20: 80px; --space-24: 96px; --space-32: 128px;

    /* UI Values */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --shadow-glow: 0 0 20px rgba(158,177,189,0.18), 0 0 60px rgba(158,177,189,0.08), inset 0 0 15px rgba(158,177,189,0.04);
    --shadow-card: 0 25px 50px rgba(0, 0, 0, 0.8);
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Header & Setup */
    --header-height: 90px;
}

/* ========================================================
   Keyframes — Luxury Animations
   ======================================================== */

/* Silver shimmer sweep (buttons, tags, decorative lines) */
@keyframes goldenSweep {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Slow silver pulse glow */
@keyframes goldenPulse {
    0%, 100% { box-shadow: 0 0 15px rgba(158,177,189,0.15), 0 0 30px rgba(158,177,189,0.08); }
    50% { box-shadow: 0 0 25px rgba(158,177,189,0.3), 0 0 60px rgba(158,177,189,0.12); }
}

/* Logo breathing glow */
@keyframes logoBreathe {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(158,177,189,0.3)); }
    50% { filter: drop-shadow(0 0 20px rgba(158,177,189,0.6)); }
}

/* Hero Ken Burns slow zoom */
@keyframes kenBurns {
    0% { transform: scale(1.0); }
    100% { transform: scale(1.15); }
}

/* Decorative line grow from left */
@keyframes lineGrow {
    0% { width: 0; opacity: 0; }
    100% { width: 60px; opacity: 1; }
}

/* Stat number glow flash when counted */
@keyframes numberFlash {
    0% { text-shadow: none; }
    50% { text-shadow: 0 0 30px rgba(158,177,189,0.6), 0 0 60px rgba(158,177,189,0.3); }
    100% { text-shadow: 0 0 10px rgba(158,177,189,0.2); }
}

/* Quote mark fade float */
@keyframes quoteFloat {
    0%, 100% { transform: translateY(0); opacity: 0.15; }
    50% { transform: translateY(-8px); opacity: 0.25; }
}

/* WhatsApp pulse ring */
@keyframes fabPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Particle float for hero */
@keyframes particleFloat {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    50% { transform: translateY(-120px) translateX(30px); opacity: 0.4; }
}

/* Scale in bounce for cards */
@keyframes scaleInBounce {
    0% { transform: scale(0.85); opacity: 0; }
    60% { transform: scale(1.03); }
    100% { transform: scale(1); opacity: 1; }
}

/* Gradient border rotation */
@keyframes borderRotate {
    0% { --angle: 0deg; }
    100% { --angle: 360deg; }
}

/* ========================================================
   Reset & Base Styles
   ======================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    background-color: var(--color-bg-primary);
    color: var(--color-text-secondary);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
}

/* Typography */
.font-display { font-family: var(--font-display); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--color-text-primary);
    line-height: 1.2;
    margin-bottom: var(--space-4);
    font-weight: 600;
}

h1 { font-size: var(--font-size-4xl); color: var(--color-accent); letter-spacing: -0.02em; }
h2 { font-size: var(--font-size-3xl); letter-spacing: -0.01em; }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }

a { color: var(--color-accent); text-decoration: none; transition: var(--transition-smooth); }
p { margin-bottom: var(--space-4); }

/* ========================================================
   Layout & Utilities
   ======================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.section { padding: var(--space-24) 0; }
.bg-secondary { background-color: var(--color-bg-secondary); }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: var(--space-12); }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: var(--space-8); }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--space-8); }

@media (min-width: 768px) {
    .grid-2 { grid-template-columns: 1fr 1fr; align-items: center; }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.align-start { align-items: start !important; }
.text-center { text-align: center; }
.w-full { width: 100%; }
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-4 { margin-bottom: var(--space-4); }

/* Section Tag — with golden shimmer sweep */
.section-tag {
    display: inline-block;
    color: var(--color-accent);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: var(--space-4);
    font-family: var(--font-display);
    font-weight: 600;
    position: relative;
    padding-bottom: var(--space-2);
}

/* Animated underline for section tags */
.section-tag::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    height: 1px;
    width: 60px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    animation: lineGrow 1.2s ease-out forwards;
}

/* ========================================================
   Buttons — with sweep shine effect
   ======================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
    padding: var(--space-3) var(--space-8);
    font-family: var(--font-display);
    font-size: var(--font-size-sm);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: var(--radius-sm);
    min-height: 44px;
    position: relative;
    overflow: hidden;
}

/* Shine sweep on hover */
.btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
    transition: left 0.7s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background-color: var(--color-accent);
    color: #000;
    box-shadow: 0 0 25px rgba(158,177,189,0.35), 0 0 60px rgba(158,177,189,0.1);
    transform: translateY(-2px);
}

.btn-solid {
    background-color: var(--color-accent);
    color: #000;
}
.btn-solid:hover {
    background-color: var(--color-accent-hover);
    color: #000;
    box-shadow: 0 0 30px rgba(158,177,189,0.4), 0 0 80px rgba(158,177,189,0.15);
    transform: translateY(-2px);
}

.btn-outline-white {
    border-color: var(--color-text-primary);
    color: var(--color-text-primary);
}
.btn-outline-white:hover {
    background-color: var(--color-text-primary);
    color: var(--color-bg-primary);
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.btn-large { padding: var(--space-4) var(--space-10); font-size: var(--font-size-base); }


/* ========================================================
   Header & Navigation
   ======================================================== */
.header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    height: var(--header-height);
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border-bottom: 1px solid rgba(158,177,189,0.05);
    z-index: 1000;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s, box-shadow 0.4s, border-color 0.4s;
}

.header.scrolled {
    background-color: rgba(0, 0, 0, 0.92);
    box-shadow: 0 4px 30px rgba(0,0,0,0.9), 0 0 40px rgba(158,177,189,0.04);
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    border-bottom-color: rgba(158,177,189,0.1);
}

.header.hidden {
    transform: translateY(-100%);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Logo — metallic gradient + breathing glow */
.logo-text {
    font-family: var(--font-display);
    font-size: var(--font-size-2xl);
    background: linear-gradient(180deg, #99aab6 0%, #cdd8de 35%, #0f161c 50%, #465665 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: 3px;
    animation: goldenSweep 4s ease-in-out infinite, logoBreathe 3s ease-in-out infinite;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--space-6);
    align-items: center;
}

.nav-link {
    color: var(--color-text-primary);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-display);
    position: relative;
    padding: var(--space-2) 0;
    transition: color 0.3s ease;
}

/* Silver underline expand on hover */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    width: 0%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    transition: width 0.4s ease, left 0.4s ease;
}

.nav-link:hover { color: var(--color-accent); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; left: 0%; }

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text-primary);
    transition: var(--transition-smooth);
}

@media (max-width: 900px) {
    .menu-toggle { display: flex; }
    
    .nav {
        position: fixed;
        top: 0; right: -100%;
        width: 100%; max-width: 400px;
        height: 100vh;
        background-color: rgba(6, 6, 6, 0.98);
        backdrop-filter: blur(20px);
        padding: 100px var(--space-8);
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        border-left: 1px solid rgba(158,177,189,0.1);
    }
    
    .nav.open { right: 0; }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-6);
    }
    
    .menu-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.open span:nth-child(2) { opacity: 0; }
    .menu-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}

/* ========================================================
   Hero Section — Cinematic
   ======================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
}

/* Ken Burns slow zoom on hero background */
.hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    animation: kenBurns 25s ease-in-out alternate infinite;
    will-change: transform;
}

.hero-bg .overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 40%, rgba(0,0,0,0.35) 100%);
}

/* Floating golden particles on hero */
.hero-particles {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.hero-particles span {
    position: absolute;
    width: 3px; height: 3px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: particleFloat 8s ease-in-out infinite;
    opacity: 0;
}
.hero-particles span:nth-child(1) { left: 10%; top: 80%; animation-delay: 0s; animation-duration: 9s; }
.hero-particles span:nth-child(2) { left: 25%; top: 90%; animation-delay: 1.5s; animation-duration: 7s; }
.hero-particles span:nth-child(3) { left: 50%; top: 85%; animation-delay: 3s; animation-duration: 10s; }
.hero-particles span:nth-child(4) { left: 70%; top: 75%; animation-delay: 0.8s; animation-duration: 8s; }
.hero-particles span:nth-child(5) { left: 85%; top: 88%; animation-delay: 2.5s; animation-duration: 11s; }
.hero-particles span:nth-child(6) { left: 40%; top: 70%; animation-delay: 4s; animation-duration: 9s; }
.hero-particles span:nth-child(7) { left: 60%; top: 95%; animation-delay: 5.5s; animation-duration: 7.5s; }
.hero-particles span:nth-child(8) { left: 15%; top: 65%; animation-delay: 1s; animation-duration: 12s; }

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0;
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-8);
    max-width: 600px;
    border-left: 2px solid var(--color-accent);
    padding-left: var(--space-4);
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

/* ========================================================
   About & Stats
   ======================================================== */
.about-text p { font-size: var(--font-size-lg); }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-10);
    padding-top: var(--space-8);
    border-top: 1px solid var(--color-border);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: var(--font-size-4xl);
    color: var(--color-accent);
    line-height: 1;
    transition: text-shadow 0.3s ease;
}

/* Glow flash after counter finishes */
.stat-number.counted {
    animation: numberFlash 1.2s ease-out forwards;
}

.stat-plus {
    font-family: var(--font-display);
    font-size: var(--font-size-2xl);
    color: var(--color-accent);
    vertical-align: top;
}

.stat-label {
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: var(--space-2);
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* Subtle silver glow border on about image */
.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(158,177,189,0.15);
    pointer-events: none;
    transition: border-color 0.5s ease;
}

.about-image:hover::after {
    border-color: rgba(158,177,189,0.4);
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: inherit;
    filter: brightness(0.8) contrast(1.2);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.05);
    filter: brightness(0.85) contrast(1.25);
}

/* ========================================================
   Cards (Áreas) — Glassmorphism + Golden Pulse
   ======================================================== */
.card {
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: var(--space-10);
    border: 1px solid rgba(158,177,189,0.06);
    border-radius: var(--radius-lg);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

/* Diagonal shimmer overlay on cards */
.card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 200%; height: 100%;
    background: linear-gradient(115deg, transparent 40%, rgba(158,177,189,0.04) 50%, transparent 60%);
    transition: left 0.8s ease;
}

.card:hover::before {
    left: 0%;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(158, 177, 189, 0.4);
    background: rgba(14, 14, 14, 0.9);
    box-shadow: var(--shadow-glow), var(--shadow-card);
    animation: goldenPulse 2s ease-in-out infinite;
}

.card-icon {
    width: 48px; height: 48px;
    color: var(--color-accent);
    margin-bottom: var(--space-6);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.card:hover .card-icon {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 0 12px rgba(158,177,189,0.5));
}

.scales-container {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.scales-img {
    width: 100%;
    max-width: 300px;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 25px rgba(158,177,189,0.25));
    transition: filter 0.5s ease, transform 1s ease;
}

.scales-img:hover {
    filter: drop-shadow(0 0 40px rgba(158,177,189,0.45));
    transform: scale(1.05);
}

/* ========================================================
   Services List & Pricing (Planos)
   ======================================================== */
.animated-list {
    list-style: none;
    margin-top: var(--space-6);
}

.animated-list li {
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--color-border);
    position: relative;
    padding-left: var(--space-8);
    transition: padding-left 0.4s ease, color 0.3s ease;
}

.animated-list li:hover {
    padding-left: calc(var(--space-8) + 6px);
    color: var(--color-text-primary);
}

.animated-list li::before {
    content: '✦';
    color: var(--color-accent);
    position: absolute;
    left: 0; top: var(--space-3);
    font-size: 1.2rem;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.animated-list li:hover::before {
    transform: rotate(90deg) scale(1.2);
    filter: drop-shadow(0 0 6px rgba(158,177,189,0.5));
}

.plan-card {
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(158,177,189,0.06);
    padding: var(--space-10);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-8);
    position: relative;
    box-shadow: var(--shadow-card);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

/* Shimmer sweep on plan card hover */
.plan-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 200%; height: 100%;
    background: linear-gradient(115deg, transparent 40%, rgba(158,177,189,0.04) 50%, transparent 60%);
    transition: left 0.8s ease;
}

.plan-card:hover::before {
    left: 0%;
}

.plan-card:hover {
    transform: translateY(-6px);
    border-color: rgba(158,177,189,0.25);
    box-shadow: var(--shadow-glow), var(--shadow-card);
}

.plan-card.premium {
    background: linear-gradient(145deg, rgba(14, 14, 14, 0.9) 0%, rgba(158,177,189,0.1) 100%);
    border-color: rgba(158,177,189,0.35);
    box-shadow: var(--shadow-glow), var(--shadow-card);
}

.plan-card.premium:hover {
    animation: goldenPulse 2s ease-in-out infinite;
}

.plan-card .badge {
    position: absolute;
    top: -12px; right: 24px;
    background: linear-gradient(180deg, #99aab6, #cdd8de, #0f161c);
    background-size: 200% auto;
    animation: goldenSweep 3s ease-in-out infinite;
    color: #000;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--color-border), transparent); margin: var(--space-6) 0; border: none; }

/* ========================================================
   Depoimentos Carousel — Premium
   ======================================================== */
.carousel {
    position: relative;
    max-width: 800px;
    margin: var(--space-12) auto 0;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
    min-width: 100%;
    padding: 0 var(--space-4);
    position: relative;
}

/* Decorative floating quote marks */
.carousel-slide::before {
    content: '"';
    font-family: var(--font-display);
    font-size: 8rem;
    color: var(--color-accent);
    opacity: 0.1;
    position: absolute;
    top: -30px; left: 0;
    line-height: 1;
    animation: quoteFloat 4s ease-in-out infinite;
    pointer-events: none;
}

.quote {
    font-size: var(--font-size-2xl);
    font-style: italic;
    color: var(--color-text-primary);
    margin-bottom: var(--space-6);
    line-height: 1.4;
}

.carousel-slide h4 {
    color: var(--color-accent);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    margin-top: var(--space-8);
}

.carousel-nav button {
    background: transparent;
    border: 1px solid rgba(158,177,189,0.2);
    color: var(--color-text-primary);
    width: 44px; height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

/* Shine sweep on carousel buttons */
.carousel-nav button::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(158,177,189,0.15), transparent);
    transition: left 0.5s ease;
}

.carousel-nav button:hover::before { left: 100%; }

.carousel-nav button:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    box-shadow: 0 0 15px rgba(158,177,189,0.2);
    transform: scale(1.08);
}

/* ========================================================
   Contato & Form
   ======================================================== */
.input-group { margin-bottom: var(--space-4); }

input, textarea {
    width: 100%;
    background-color: rgba(10, 10, 10, 0.6);
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    padding: var(--space-4);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    border-radius: var(--radius-md);
    transition: all 0.4s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(158,177,189,0.15), 0 0 20px rgba(158,177,189,0.08);
    background-color: rgba(15, 15, 15, 0.8);
}

.info-card {
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(8px);
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(158,177,189,0.06);
    box-shadow: var(--shadow-card);
    transition: border-color 0.5s ease;
}

.info-card:hover {
    border-color: rgba(158,177,189,0.2);
}

.info-item { display: flex; gap: var(--space-4); }
.info-item svg {
    width: 24px; height: 24px;
    color: var(--color-accent);
    flex-shrink: 0;
    transition: transform 0.4s ease, filter 0.4s ease;
}
.info-item:hover svg {
    transform: scale(1.15);
    filter: drop-shadow(0 0 8px rgba(158,177,189,0.4));
}
.info-item h4 { margin-bottom: var(--space-1); font-size: var(--font-size-lg); }

.qr-code-wrapper {
    text-align: center;
    padding-top: var(--space-6);
    border-top: 1px dashed rgba(158,177,189,0.15);
}

.qr-code {
    width: 150px;
    height: auto;
    border-radius: var(--radius-md);
    background: #FFF;
    padding: var(--space-2);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.qr-code:hover {
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(158,177,189,0.2);
}

.qr-label {
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: var(--space-2);
    color: var(--color-text-secondary);
}

/* ========================================================
   Footer
   ======================================================== */
.footer {
    background-color: var(--color-bg-secondary);
    border-top: 1px solid rgba(158,177,189,0.08);
    padding: var(--space-16) 0 var(--space-8);
    position: relative;
}

/* Subtle golden gradient line at top of footer */
.footer::before {
    content: '';
    position: absolute;
    top: -1px; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0.4;
}

.footer-brand p { margin-top: var(--space-4); font-size: var(--font-size-sm); }
.footer h4 { color: var(--color-accent); font-size: var(--font-size-base); margin-bottom: var(--space-4); }

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: var(--space-2); }
.footer-links a {
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
    transition: color 0.3s ease, padding-left 0.3s ease;
}
.footer-links a:hover {
    color: var(--color-accent);
    padding-left: 6px;
}

.footer-legal { font-size: var(--font-size-sm); }

/* ========================================================
   Animations — Reveal System
   ======================================================== */

/* Base fade */
.fade-in { opacity: 0; transition: opacity 1.2s ease-out; }
.fade-in.appear { opacity: 1; }

/* Slide up with elastic ease */
.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.9s ease-out, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in-up.appear { opacity: 1; transform: translateY(0); }

/* Slide from left */
.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.9s ease-out, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in-left.appear { opacity: 1; transform: translateX(0); }

/* Slide from right */
.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.9s ease-out, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in-right.appear { opacity: 1; transform: translateX(0); }

/* Cinematic scale in */
.scale-in {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.8s ease-out, transform 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.scale-in.appear { opacity: 1; transform: scale(1); }

/* Stagger delays */
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }
.delay-5 { transition-delay: 0.75s; }

/* ========================================================
   Floating WhatsApp Button (FAB) — with pulse ring
   ======================================================== */
.fab-whatsapp {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-smooth);
    animation: fabPulse 2.5s ease-out infinite;
}

.fab-whatsapp:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
    animation: none; /* stop pulse on hover, let transform take over */
}

.fab-whatsapp svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}
