/* ==========================================================================
   ÁLVARO DAMIÃO — DESIGN SYSTEM & ULTRA PREMIUM STYLING
   ========================================================================== */

/* RESET & DESIGN TOKENS */
:root {
    --primary: #0F2C59;         /* Navy Blue */
    --secondary: #1B365D;       /* Slate Dark Blue */
    --accent: #FFD200;          /* Premium Golden Yellow */
    --accent-rgb: 255, 210, 0;
    --gold: #FFD700;            /* Classic Gold */
    --dark: #07152B;            /* Midnight Deep Blue Background */
    --dark-card: rgba(15, 44, 89, 0.1);
    --light: #F8F9FA;           /* Light Soft Cream */
    --white: #FFFFFF;
    --text-dark: #121A26;
    --text-muted: #5F748D;
    
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --transition-premium: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: all 0.25s ease;
    
    --shadow-premium: 0 20px 50px rgba(7, 21, 43, 0.08);
    --shadow-glow: 0 0 30px rgba(var(--accent-rgb), 0.35);
    --shadow-gold: 0 0 30px rgba(255, 215, 0, 0.25);
    
    --border-glass: 1px solid rgba(255, 255, 255, 0.08);
    --border-dark-glass: 1px solid rgba(15, 44, 89, 0.06);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* CUSTOM PREMIUM SCROLLBAR */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--dark);
}
::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 5px;
    border: 2px solid var(--dark);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

body {
    font-family: var(--font-body);
    background-color: var(--light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

/* SCROLL REVEAL UTILITY CLASSES */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

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

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-premium);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary);
    box-shadow: 0 8px 30px rgba(var(--accent-rgb), 0.35);
}

.btn-primary:hover {
    background-color: #FFE000;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(var(--accent-rgb), 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
}

/* HEADER GLASSMORPHISM */
.header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(15, 44, 89, 0.05);
    transition: var(--transition-fast);
}

.header-scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(7, 21, 43, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    cursor: default;
}

.logo-bold {
    color: var(--primary);
}

.logo-light {
    color: var(--accent);
    text-shadow: 1px 1px 0 rgba(15, 44, 89, 0.08);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary);
    letter-spacing: 0.8px;
    position: relative;
    padding: 8px 0;
    text-decoration: none;
    transition: var(--transition-fast);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--accent);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.btn-nav-cta {
    padding: 12px 24px;
    font-size: 0.8rem;
    background-color: var(--primary);
    color: var(--white);
}

.btn-nav-cta:hover {
    background-color: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* BURGER MENU BUTTON */
.burger-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.burger-bar {
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 4px;
    transition: var(--transition-fast);
}

.burger-menu-btn.active .burger-bar:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.burger-menu-btn.active .burger-bar:nth-child(2) {
    opacity: 0;
}

.burger-menu-btn.active .burger-bar:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* MOBILE DRAWERS */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(7, 21, 43, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: right 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.mobile-drawer.active {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 20px;
}

.drawer-header .logo-light {
    color: var(--accent);
}

.drawer-close-btn {
    font-size: 2.2rem;
    color: var(--white);
    background: transparent;
    border: none;
    cursor: pointer;
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 40px 0;
}

.drawer-nav a {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-fast);
}

.drawer-nav a:hover {
    color: var(--accent);
    padding-left: 10px;
}

.btn-drawer-cta {
    width: 100%;
    text-align: center;
}

/* HERO SECTION */
.hero {
    position: relative;
    padding: 140px 0 100px;
    background-color: var(--dark);
    color: var(--white);
    overflow: hidden;
}

.hero-glow-1 {
    position: absolute;
    top: -15%;
    left: -15%;
    width: 60%;
    height: 70%;
    background: radial-gradient(circle, rgba(153, 227, 53, 0.15) 0%, transparent 70%);
    z-index: 0;
}

.hero-glow-2 {
    position: absolute;
    bottom: -15%;
    right: -15%;
    width: 60%;
    height: 70%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    position: relative;
    z-index: 2;
    gap: 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--white);
    font-weight: 900;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, #FFE082 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-actions-group {
    display: flex;
    gap: 20px;
}

/* Dynamic Word Animation */
.dynamic-word-holder {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent) 0%, #FFE082 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(0);
    opacity: 1;
}

.dynamic-word-holder.changing {
    opacity: 0;
    transform: translateY(-10px);
}

/* Floating Badges overlaying Hero image */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.hero-bg-circle {
    position: absolute;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(153, 227, 53, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: rotateCircle 25s linear infinite;
}

.hero-blob-wrapper {
    position: relative;
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    overflow: hidden;
    width: 100%;
    max-width: 410px;
    height: 480px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(var(--accent-rgb), 0.15);
    border: 3px solid rgba(255, 255, 255, 0.08);
    z-index: 2;
    animation: morphWrapper 10s ease-in-out infinite alternate;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    transform-origin: center bottom;
    animation: alvaroFloat 8s ease-in-out infinite alternate;
}

@keyframes alvaroFloat {
    0% {
        transform: scale(1.03) translateY(5px) rotate(-0.5deg);
    }
    100% {
        transform: scale(1.08) translateY(-5px) rotate(0.5deg);
    }
}

.floating-badge {
    position: absolute;
    background: rgba(15, 44, 89, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(153, 227, 53, 0.25);
    border-radius: 20px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    box-shadow: var(--shadow-premium), 0 0 15px rgba(153, 227, 53, 0.1);
    z-index: 3;
    pointer-events: none;
    transition: all 0.3s ease;
}

.badge-icon {
    width: 36px;
    height: 36px;
    background: rgba(153, 227, 53, 0.2);
    border: 1px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 0.95rem;
    filter: drop-shadow(0 0 5px rgba(153, 227, 53, 0.4));
}

.badge-info {
    display: flex;
    flex-direction: column;
}

.badge-title {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.badge-val {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 800;
}

/* Floating positions */
.badge-saude {
    top: 30px;
    left: -20px;
    animation: floatBadge1 6s ease-in-out infinite;
}

.badge-habitacao {
    bottom: 50px;
    right: -25px;
    animation: floatBadge2 7s ease-in-out infinite;
}

.badge-esporte {
    bottom: 10px;
    left: -15px;
    animation: floatBadge3 8s ease-in-out infinite;
}

/* Shimmer CTA Button Effect */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    animation: shimmerSwipe 4s infinite linear;
}

/* Secondary CTA Button */
.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.18);
    color: var(--white);
    padding: 16px 36px;
    border-radius: 50px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

/* Animations */
@keyframes floatBadge1 {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes floatBadge2 {
    0%, 100% { transform: translateY(0) rotate(1deg); }
    50% { transform: translateY(-15px) rotate(-1deg); }
}

@keyframes floatBadge3 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

@keyframes rotateCircle {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes morphWrapper {
    0% { border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%; }
    100% { border-radius: 60% 40% 40% 60% / 60% 60% 40% 40%; }
}

@keyframes shimmerSwipe {
    0% { left: -60%; }
    30%, 100% { left: 140%; }
}

/* SCROLL INDICATOR */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    z-index: 3;
}

.mouse-icon {
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; top: 6px; }
    50% { opacity: 0.3; top: 16px; }
    100% { opacity: 1; top: 6px; }
}

/* SECTION HEADER TEMPLATE */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 6px;
}

.section-main-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-top: 8px;
    font-weight: 800;
}

.separator-line {
    width: 80px;
    height: 4px;
    background-color: var(--accent);
    margin: 20px auto 0;
    border-radius: 2px;
}

.separator-line.left {
    margin: 20px 0 0;
}


/* GALLERY ACCORDION */
.gallery-accordion {
    padding: 100px 0;
    background: var(--light);
}

.accordion-wrapper {
    display: flex;
    height: 480px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    gap: 15px;
}

.accordion-item {
    flex: 1;
    background-size: cover;
    background-position: center;
    position: relative;
    cursor: pointer;
    transition: var(--transition-premium);
    display: flex;
    align-items: flex-end;
    border-radius: 16px;
    overflow: hidden;
}

.accordion-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 21, 43, 0.95) 0%, rgba(7, 21, 43, 0.4) 60%, transparent 100%);
    z-index: 1;
    transition: var(--transition-premium);
}

.accordion-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    color: var(--white);
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-premium);
    width: 100%;
}

.item-tag {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
}

.accordion-content h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: var(--white);
}

.accordion-content p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.98rem;
    max-width: 550px;
    line-height: 1.5;
}

/* Active slide expansion */
.accordion-item.active {
    flex: 3.8;
}

.accordion-item.active .accordion-content {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

.accordion-item:hover:not(.active) {
    transform: scale(1.02);
}

/* 3D COIN SECTION ("AQUI É TRABALHO") */
.trabalho-section {
    padding: 100px 0;
    background-color: var(--dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.trabalho-glow-1 {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(153, 227, 53, 0.08) 0%, transparent 70%);
    z-index: 0;
}

.trabalho-glow-2 {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.06) 0%, transparent 70%);
    z-index: 0;
}

.trabalho-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.trabalho-content .section-tag {
    color: var(--accent);
}

.trabalho-content .section-main-title {
    color: var(--white);
}

.trabalho-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px;
}

.trabalho-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.t-feat-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.t-feat-icon {
    background: rgba(153, 227, 53, 0.12);
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent);
    border: 1px solid rgba(153, 227, 53, 0.2);
    flex-shrink: 0;
}

.t-feat-item h4 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.t-feat-item p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
}

.trabalho-instructions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.inst-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}

.inst-pill i {
    color: var(--accent);
    margin-right: 6px;
}

/* 3D COIN GRAPHIC ENGINE */
.coin-scene-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1500px;
}

.scene {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.scene-title {
    font-family: var(--font-display);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 5px;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.coin {
    width: 450px;
    height: 450px;
    position: relative;
    transform-style: preserve-3d;
    animation: coinFlip 10s linear infinite;
    cursor: pointer;
    filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.6));
}

.coin:hover {
    animation-play-state: paused;
}

/* Fast manual flip when clicked */
.coin.coin-flipping {
    animation: coinManualFlip 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

/* Faces */
.coin-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 50%;
    overflow: hidden;
}

.coin-face img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.coin-front {
    z-index: 2;
}

.coin-back {
    transform: rotateY(180deg);
}

/* Golden outer borders for faces */
.coin-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 8px solid transparent;
    background-clip: padding-box;
    box-shadow: 
        inset 0 0 0 4px var(--gold),
        inset 0 0 20px rgba(255, 215, 0, 0.5),
        0 0 20px rgba(255, 215, 0, 0.4);
    pointer-events: none;
    z-index: 5;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Dynamic metallic gloss line */
.coin-shine {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.45) 0%,
        rgba(255, 255, 255, 0) 45%,
        rgba(255, 255, 255, 0) 55%,
        rgba(255, 255, 255, 0.15) 100%
    );
    z-index: 10;
    pointer-events: none;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.coin-edge {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

/* Floor Shadow below the 3D coin */
.coin-shadow {
    width: 320px;
    height: 24px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.5) 0%, transparent 70%);
    border-radius: 50%;
    animation: shadowPulse 10s linear infinite;
    margin-top: -10px;
}

@keyframes shadowPulse {
    0%, 50%, 100% { transform: scaleX(1); opacity: 0.55; }
    25%, 75% { transform: scaleX(0.2); opacity: 0.3; }
}

@keyframes coinFlip {
    0% { transform: rotateY(0deg) rotateX(4deg); }
    100% { transform: rotateY(360deg) rotateX(4deg); }
}

@keyframes coinManualFlip {
    0% { transform: rotateY(0deg) scale(1); }
    50% { transform: rotateY(180deg) scale(1.1); }
    100% { transform: rotateY(360deg) scale(1); }
}

/* SPARKLES Particles */
.sparkle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    animation: sparkleAnim 3s ease-in-out infinite;
}

.sparkle.diamond {
    width: 10px;
    height: 10px;
    background: none;
    border: 2px solid rgba(var(--accent-rgb), 0.6);
    transform: rotate(45deg);
    border-radius: 0;
}

@keyframes sparkleAnim {
    0%, 100% { opacity: 0; transform: scale(0.3) translateY(0); }
    50% { opacity: 0.95; transform: scale(1.2) translateY(-25px); }
}

/* CONQUISTAS / STATS SECTION */
.achievements {
    padding: 100px 0;
    background: var(--white);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.achievement-card {
    background: var(--light);
    border-radius: 28px;
    padding: 40px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(15, 44, 89, 0.03);
    transition: var(--transition-premium);
}

.card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 120%, rgba(var(--accent-rgb), 0.12), transparent 75%);
    opacity: 0;
    transition: var(--transition-premium);
}

.achievement-card:hover {
    transform: translateY(-10px);
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 30px 60px rgba(15, 44, 89, 0.15);
    border-color: var(--primary);
}

.achievement-card:hover .card-glow {
    opacity: 1;
}

.achievement-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1;
    transition: var(--transition-premium);
}

.achievement-card:hover .achievement-number {
    color: var(--accent);
    text-shadow: 0 0 15px rgba(var(--accent-rgb), 0.35);
}

.achievement-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(15, 44, 89, 0.05);
    transition: var(--transition-premium);
}

.achievement-card:hover .achievement-icon {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.achievement-pill {
    display: inline-block;
    background: rgba(15, 44, 89, 0.05);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-premium);
}

.achievement-card:hover .achievement-pill {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.achievement-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: var(--transition-premium);
}

.achievement-card:hover p {
    color: rgba(255, 255, 255, 0.75);
}

/* SOBRE / BIOGRAFIA */
.about {
    padding: 100px 0;
    background: var(--light);
}

.about-container {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-bg-frame {
    position: absolute;
    width: 105%;
    height: 105%;
    top: -2.5%;
    left: -2.5%;
    border: 3px solid var(--accent);
    border-radius: 32px;
    z-index: 1;
}

.about-img {
    width: 100%;
    position: relative;
    z-index: 2;
    border-radius: 28px;
    box-shadow: var(--shadow-premium);
}

.about-content .section-main-title {
    margin-bottom: 16px;
}

.about-lead {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1rem;
}

.about-signature {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    border-left: 5px solid var(--accent);
    padding-left: 20px;
}

.about-signature strong {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--primary);
}

.about-signature span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CONTATO */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.contact-info {
    max-width: 800px;
    text-align: center;
    width: 100%;
}

.contact-info h2 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-top: 12px;
    margin-bottom: 24px;
    font-weight: 800;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.social-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px 35px;
    border-radius: 20px;
    background: var(--light);
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-premium);
    border: 1px solid rgba(15, 44, 89, 0.02);
    min-width: 220px;
}

.social-box i {
    font-size: 1.8rem;
}

.social-box:hover {
    transform: translateY(-6px);
    color: var(--white);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.instagram:hover { background-color: #E1306C; }
.youtube:hover { background-color: #FF0000; }
.whatsapp:hover { background-color: #25D366; }
.facebook:hover { background-color: #1877F2; }
.tiktok:hover { background-color: #000000; }
.kwai:hover { background-color: #FF5A00; }

/* PREMIUM FORM */
.contact-form-wrapper {
    background: var(--light);
    padding: 50px;
    border-radius: 30px;
    border: 1px solid rgba(15, 44, 89, 0.03);
    box-shadow: var(--shadow-premium);
}

.premium-form .form-group {
    margin-bottom: 24px;
}

.premium-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 0.8px;
}

.premium-form input,
.premium-form textarea {
    width: 100%;
    padding: 16px 20px;
    border-radius: 16px;
    border: 1px solid rgba(15, 44, 89, 0.1);
    background-color: var(--white);
    font-family: inherit;
    font-size: 0.98rem;
    color: var(--text-dark);
    transition: var(--transition-premium);
}

.premium-form input:focus,
.premium-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 5px rgba(15, 44, 89, 0.06);
}

.btn-submit {
    width: 100%;
    background-color: var(--primary);
    color: var(--white);
    padding: 18px;
    border-radius: 16px;
}

.btn-submit:hover {
    background-color: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* FOOTER */
.footer {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.45);
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo .logo-light {
    color: var(--accent);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.footer-copy {
    text-align: right;
}

.footer-copy p {
    margin-bottom: 4px;
}

/* ANIMATIONS */
@keyframes blobMorph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 60% 40% 50% 50% / 40% 60% 40% 60%; }
    100% { border-radius: 50% 50% 30% 70% / 50% 60% 40% 50%; }
}


@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* ==========================================================================
   8. RESPONSIVE DESIGN MEDIA QUERIES
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .hero-badge {
        margin-bottom: 20px;
    }

    .hero-description {
        margin: 0 auto 30px;
    }

    .hero-actions-group {
        justify-content: center;
    }

    .hero-image-wrapper {
        order: -1;
    }

    .proposal-pane-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 30px;
    }

    .stat-pill-large {
        width: 180px;
        height: 180px;
    }

    .trabalho-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .trabalho-content {
        text-align: center;
    }

    .trabalho-content .separator-line.left {
        margin: 20px auto 0;
    }

    .trabalho-instructions {
        justify-content: center;
    }

    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links, .header-actions {
        display: none;
    }

    .burger-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .proposal-tab-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .accordion-wrapper {
        flex-direction: column;
        height: 600px;
    }

    .accordion-item.active {
        flex: 3.5;
    }

    .coin {
        width: 320px;
        height: 320px;
    }

    .coin-shadow {
        width: 220px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-copy {
        text-align: center;
    }

}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-actions-group {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .btn {
        width: 100%;
    }

    .proposal-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .proposal-tab-btn {
        width: 100%;
        justify-content: center;
    }

    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .coin {
        width: 270px;
        height: 270px;
    }
    
    .coin-shadow {
        width: 190px;
    }
}

/* ==========================================================================
   8. PREMIUM TOAST NOTIFICATION
   ========================================================================== */
.toast-container {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    z-index: 9999;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s ease;
    opacity: 0;
    pointer-events: none;
}

.toast-container.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-card {
    background: rgba(15, 44, 89, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    padding: 16px 32px;
    border-radius: 50px;
    box-shadow: 0 15px 35px rgba(7, 21, 43, 0.15), 0 0 20px rgba(var(--accent-rgb), 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--white);
}

.toast-icon {
    color: var(--accent);
    font-size: 1.2rem;
    filter: drop-shadow(0 0 5px rgba(var(--accent-rgb), 0.5));
}

.toast-message {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

/* ==========================================================================
   9. BLOG & NOTÍCIAS SECTION
   ========================================================================== */
.blog {
    padding: 100px 0;
    background-color: var(--bg-light);
    position: relative;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.blog-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 44, 89, 0.05);
    border: 1px solid rgba(15, 44, 89, 0.05);
    transition: transform var(--transition-fast) ease, box-shadow var(--transition-fast) ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 44, 89, 0.1);
    border-color: rgba(153, 227, 53, 0.3);
}

.blog-image-container {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img {
    transform: scale(1.08);
}

.blog-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(15, 44, 89, 0.2);
}

.blog-meta {
    padding: 25px 25px 10px;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: rgba(15, 44, 89, 0.6);
    font-family: var(--font-body);
}

.blog-meta i {
    color: var(--accent);
    margin-right: 5px;
}

.blog-title {
    padding: 0 25px 15px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.4;
    transition: color var(--transition-fast) ease;
}

.blog-card:hover .blog-title {
    color: var(--primary-light);
}

.blog-excerpt {
    padding: 0 25px 25px;
    font-size: 0.92rem;
    color: rgba(15, 44, 89, 0.7);
    line-height: 1.6;
    flex-grow: 1;
}

.blog-link {
    padding: 0 25px 25px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition-fast) ease;
    text-decoration: none;
}

.blog-link i {
    font-size: 0.8rem;
    transition: transform var(--transition-fast) ease;
}

.blog-card:hover .blog-link {
    color: var(--accent);
}

.blog-card:hover .blog-link i {
    transform: translateX(4px);
}

.blog-actions {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.btn-blog-more {
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 20px rgba(15, 44, 89, 0.1);
    text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ==========================================================================
   10. GALLERY & LIGHTBOX SECTION
   ========================================================================== */
.gallery {
    padding: 100px 0;
    background-color: var(--white);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--light);
    border: 1px solid rgba(15, 44, 89, 0.08);
    padding: 12px 24px;
    border-radius: 50px;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition-premium);
}

.filter-btn:hover {
    background: rgba(15, 44, 89, 0.04);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(15, 44, 89, 0.15);
}

.gallery-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery-item {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-premium);
    opacity: 1;
    transform: scale(1);
}

.gallery-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: none;
}

.gallery-img-box {
    position: relative;
    width: 100%;
    height: 280px;
    cursor: pointer;
    overflow: hidden;
}

.gallery-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-info-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 21, 43, 0.95) 0%, rgba(7, 21, 43, 0.4) 60%, transparent 100%);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-info-overlay .img-tag {
    align-self: flex-start;
    background: var(--accent);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.gallery-info-overlay h4 {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.gallery-info-overlay p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.88rem;
    line-height: 1.4;
}

.zoom-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    color: var(--white);
    font-size: 1.5rem;
    opacity: 0;
    transform: scale(0.7);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Hover States */
.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(7, 21, 43, 0.15);
}

.gallery-item:hover .gallery-img-box img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-info-overlay {
    opacity: 1;
}

.gallery-item:hover .zoom-icon {
    opacity: 1;
    transform: scale(1);
}

/* LIGHTBOX MODAL */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background-color: rgba(7, 21, 43, 0.98);
    backdrop-filter: blur(15px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--white);
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 10001;
}

.lightbox-close:hover {
    color: var(--accent);
    transform: scale(1.1);
}

.lightbox-content-box {
    max-width: 900px;
    width: 90%;
    display: flex;
    flex-direction: column;
    background: var(--dark);
    border-radius: 30px;
    overflow: hidden;
    border: var(--border-glass);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.lightbox-modal.active .lightbox-content-box {
    transform: scale(1);
}

.lightbox-content-box img {
    width: 100%;
    max-height: 550px;
    object-fit: cover;
}

.lightbox-caption {
    padding: 35px;
    background-color: rgba(15, 44, 89, 0.2);
    border-top: var(--border-glass);
}

.lightbox-caption .img-tag {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 15px;
}

.lightbox-caption h4 {
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.lightbox-caption p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.98rem;
    line-height: 1.5;
}

/* Lightbox navigation buttons */
.lightbox-prev-btn,
.lightbox-next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: var(--border-glass);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-premium);
}

.lightbox-prev-btn:hover,
.lightbox-next-btn:hover {
    background: var(--accent);
    color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.lightbox-prev-btn { left: 40px; }
.lightbox-next-btn { right: 40px; }

/* Responsive adjustments */
@media (max-width: 992px) {
    .gallery-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .lightbox-prev-btn { left: 20px; }
    .lightbox-next-btn { right: 20px; }
}

@media (max-width: 768px) {
    .gallery-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-img-box {
        height: 240px;
    }
    
    .lightbox-prev-btn,
    .lightbox-next-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .lightbox-close {
        top: 20px;
        right: 25px;
        font-size: 2.5rem;
    }
}

/* ==========================================================================
   11. BEFORE/AFTER IMAGE SLIDER
   ========================================================================== */
.comparison-section {
    padding: 100px 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.comparison-glow-1 {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(153, 227, 53, 0.08) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.comparison-glow-2 {
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(15, 44, 89, 0.04) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.comparison-slider-wrapper {
    max-width: 900px;
    margin: 50px auto 0;
    padding: 0 15px;
    z-index: 2;
    position: relative;
}

.comparison-slider-container {
    width: 100%;
    height: 500px;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    border: 3px solid rgba(15, 44, 89, 0.1);
    user-select: none;
    -webkit-user-select: none;
    cursor: ew-resize;
}

.img-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.before-image {
    z-index: 1;
    width: 100%;
}

.img-container.after-image {
    z-index: 2;
    width: 100%;
    clip-path: inset(0 0 0 50%);
}

.comparison-label {
    position: absolute;
    bottom: 25px;
    background: rgba(15, 44, 89, 0.85);
    backdrop-filter: blur(10px);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 20px;
    border-radius: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.label-before {
    left: 25px;
}

.label-after {
    right: 25px;
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--accent);
    z-index: 3;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px rgba(153, 227, 53, 0.8);
    pointer-events: none;
}

.handle-line {
    width: 2px;
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.6);
}

.handle-button {
    width: 46px;
    height: 46px;
    background: var(--primary);
    border: 3px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 0.9rem;
    gap: 4px;
    box-shadow: 0 0 15px rgba(15, 44, 89, 0.4), 0 0 10px rgba(153, 227, 53, 0.4);
    cursor: ew-resize;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
    pointer-events: auto;
}

.comparison-slider-container:hover .handle-button {
    transform: scale(1.1);
    background: var(--accent);
    color: var(--primary);
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.8);
}

/* RESPONSIVE COMPARATOR */
@media (max-width: 768px) {
    .comparison-slider-container {
        height: 350px;
    }
    
    .comparison-label {
        bottom: 15px;
        padding: 6px 14px;
        font-size: 0.75rem;
    }
    
    .label-before { left: 15px; }
    .label-after { right: 15px; }
    
    .handle-button {
        width: 38px;
        height: 38px;
        font-size: 0.75rem;
    }
}