/*
Theme Name: Caffe Raion
Theme URI: http://cafferaion.com.br/
Author: Caffe Raion
Description: Tema altamente otimizado para o Caffe Raion - Café & Pizza.
Version: 1.3
Text Domain: caffe-raion
*/

/* ============================================================
   CAFFE RAION — Design System
   ============================================================ */
:root {
    --gold: #c8a96e;
    --gold-light: #e4cfa2;
    --gold-dark: #8b6914;
    --cream: #f5efe6;
    --espresso: #1a1410;
    --bg: #0c0a08;
    --bg-card: #151210;
    --bg-elevated: #1c1916;
    --text: #ede8e0;
    --text-muted: #8a8078;
    --text-dim: #5a5450;
    --border: rgba(200, 169, 110, 0.12);
    --border-hover: rgba(200, 169, 110, 0.35);

    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s var(--ease);
}

img {
    display: block;
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.section {
    padding: clamp(4rem, 10vw, 8rem) 0;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3 {
    font-family: var(--font-sans);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--gold);
    font-style: normal;
}

.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.2rem;
    padding: 0.4rem 1rem;
    border: 1px solid var(--border);
    border-radius: 100px;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-desc {
    max-width: 540px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-top: 0.5rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2.2rem;
    background: var(--gold);
    color: var(--espresso);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.35s var(--ease);
    box-shadow: 0 4px 20px rgba(200, 169, 110, 0.25);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(200, 169, 110, 0.4);
    color: var(--espresso);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2.2rem;
    background: transparent;
    color: var(--text);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.35s var(--ease);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: all 0.4s var(--ease);
}

.navbar.scrolled {
    background: rgba(12, 10, 8, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0.8rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    height: 42px;
    width: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: width 0.3s var(--ease);
}

.nav-links a:hover {
    color: var(--text);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.6rem 1.6rem;
    font-size: 0.82rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s var(--ease);
    border-radius: 2px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg .bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg,
            rgba(12,10,8,0.55) 0%,
            rgba(12,10,8,0.35) 40%,
            rgba(12,10,8,0.75) 80%,
            rgba(12,10,8,1) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 850px;
    padding: 0 2rem;
}

.hero-tag {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 500px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.hero-subtitle-inner {
    display: inline-block;
    color: #f0ece4;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 0.35rem 1rem;
    border-radius: 100px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
    font-weight: 400;
    letter-spacing: 0.2px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-strip {
    padding: 1.2rem 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: inline-flex;
    gap: 3rem;
    animation: marquee 30s linear infinite;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-dim);
}

.marquee-track .dot {
    color: var(--gold);
    font-size: 0.5rem;
    opacity: 0.5;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
    position: relative;
    overflow: hidden;
}

/* Lion mockup background */
.about-lion-bg {
    position: absolute;
    top: 50%;
    right: -5%;
    transform: translateY(-50%);
    width: 580px;
    height: 680px;
    pointer-events: none;
    z-index: 0;
}

.about-lion-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.08;
    mix-blend-mode: luminosity;
    filter: sepia(1) saturate(0.4) brightness(1.2);
}

.about > .container {
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.02rem;
    margin-bottom: 1.2rem;
    line-height: 1.75;
}

.about-text strong {
    color: var(--text);
    font-weight: 600;
}

.about-signature {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--gold) !important;
    font-size: 0.95rem !important;
    border-left: 2px solid var(--gold-dark);
    padding-left: 1.2rem;
    margin-top: 1.5rem !important;
}

.about-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--gold);
    transition: height 0.4s var(--ease);
}

.about-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.about-card:hover::before {
    height: 100%;
}

.about-card-number {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold-dark);
    margin-bottom: 0.8rem;
}

.about-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    color: var(--text);
}

.about-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ============================================================
   DIVIDER
   ============================================================ */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.15;
    margin: 2rem 0;
}

/* ============================================================
   GALLERY (Horizontal Scroll)
   ============================================================ */
.gallery-header-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

@media (max-width: 768px) {
    .gallery-header-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .gallery-header-container .section-header {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    .gallery-controls {
        justify-content: center;
    }
}

@media (min-width: 769px) {
    .gallery-header-container .section-header {
        text-align: left;
        margin-bottom: 2rem;
    }
}

.gallery-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.gallery-nav {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--gold);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.gallery-nav:hover {
    background: var(--gold);
    color: var(--espresso);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.gallery-section {
    overflow: hidden;
    position: relative;
}


.gallery-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.gallery-scroll::-webkit-scrollbar {
    display: none;
}

.gallery-track {
    display: flex;
    gap: 1.5rem;
    padding-bottom: 1rem;
}

.gallery-item {
    position: relative;
    flex: 0 0 320px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
    filter: saturate(0.85) brightness(0.9);
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: saturate(1.1) brightness(1);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem;
    background: linear-gradient(to top, rgba(12,10,8,0.85), transparent);
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.4s var(--ease);
}

.gallery-item:hover .gallery-item-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-item-overlay span {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--gold-light);
}

/* ============================================================
   LOCATIONS
   ============================================================ */
.locations {
    background: var(--bg-card);
    position: relative;
    overflow: hidden;
}



.locations > .container {
    position: relative;
    z-index: 1;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.location-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s var(--ease);
}

.location-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.location-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.location-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.location-card:hover .location-img {
    transform: scale(1.05);
}

.location-info {
    padding: 1.5rem;
}

.location-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text);
}

.location-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.map-link {
    display: inline-block;
    margin-top: 0.6rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.3s var(--ease);
}

.location-card:hover .map-link {
    opacity: 1;
    transform: translateY(0);
}

a.location-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* ============================================================
   EVENTS
   ============================================================ */
.events {
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

/* Lion watermark — events section */
.events::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -8%;
    transform: translateY(-50%);
    width: 650px;
    height: 650px;
    background-image: url('images/mockup-leao.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    pointer-events: none;
    z-index: 0;
    opacity: 0.22;
    mix-blend-mode: luminosity;
    filter: sepia(0.3) saturate(0.6) brightness(1.1);
}

.events > .container {
    position: relative;
    z-index: 1;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.event-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s var(--ease);
}

.event-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.event-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.event-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.event-card:hover .event-img {
    transform: scale(1.05);
}

.event-content {
    padding: 1.8rem;
}

.event-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(200, 169, 110, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    margin-bottom: 0.8rem;
}

.event-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
    color: var(--text);
}

.event-content p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ============================================================
   FRANCHISE (Full-width CTA)
   ============================================================ */
.franchise {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: clamp(5rem, 12vw, 10rem) 0;
}

.franchise-bg {
    position: absolute;
    inset: 0;
}

.franchise-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(2px);
}

.franchise-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(12,10,8,0.88) 0%,
        rgba(12,10,8,0.92) 100%
    );
}

.franchise-inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.franchise-inner h2 {
    font-size: clamp(2rem, 5vw, 3rem);
}

.franchise-inner p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.franchise-inner .btn-primary {
    margin-top: 1.5rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--espresso);
    padding: 4rem 0 0;
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

/* Grãos rodapé — cascata de grãos preenchendo o fundo todo */
.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('images/graos-rodape.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center;
    pointer-events: none;
    z-index: 0;
    opacity: 0.06;
    mix-blend-mode: luminosity;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-bottom {
    position: relative;
    z-index: 1;
}

.footer-logo {
    height: 120px;
    width: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem auto;
    display: block;
    border: 2px solid var(--border);
}

.footer-brand {
    text-align: center;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer h4 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.footer-nav-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-nav-grid a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all 0.3s var(--ease);
}

.footer-nav-grid a:hover {
    color: var(--text);
    transform: translateX(4px);
}

.contact-item {
    margin-bottom: 1.2rem;
}

.contact-item span {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 0.3rem;
}

.contact-item a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    transition: color 0.3s var(--ease);
}

.contact-item a:hover {
    color: var(--gold);
}

.footer-social {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all 0.3s var(--ease);
    padding: 0.6rem 1rem;
    border: 1px solid var(--border);
    border-radius: 100px;
}

.social-link:hover {
    color: var(--gold);
    border-color: var(--border-hover);
    background: rgba(200, 169, 110, 0.05);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.visible {
    opacity: 1;
    transform: translate(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .locations-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        flex: 0 0 280px;
        height: 340px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ============================================================
   1. GRAIN / NOISE TEXTURE OVERLAY
   ============================================================ */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
}

/* ============================================================
   2. WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
    animation: whatsappPulse 2.5s ease-in-out infinite;
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: #fff;
    pointer-events: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.55);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4); }
    50%      { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.6), 0 0 0 8px rgba(37, 211, 102, 0.12); }
}

/* ============================================================
   3. BACK TO TOP BUTTON
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 5.5rem;
    z-index: 998;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-muted);
    stroke-width: 2;
    fill: none;
    transition: stroke 0.3s var(--ease);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}

.back-to-top:hover svg {
    stroke: var(--gold);
}

/* ============================================================
   4. COUNTER / STATS SECTION
   ============================================================ */
.stats-strip {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 3rem 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--gold);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-dim);
    margin-top: 0.35rem;
}

/* ============================================================
   5. PRELOADER
   ============================================================ */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}

.preloader-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    animation: preloaderPulse 1.6s ease-in-out infinite;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@keyframes preloaderPulse {
    0%, 100% { transform: scale(1);    opacity: 0.8; }
    50%      { transform: scale(1.08); opacity: 1;   }
}

/* ============================================================
   6. MOBILE MENU OPEN STATE
   ============================================================ */
.nav-links.mobile-open {
    display: flex;
    position: fixed;
    inset: 0;
    top: 70px;
    background: rgba(12, 10, 8, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 999;
}

.nav-links.mobile-open a {
    font-size: 1.3rem;
}

/* Hamburger → X animation */
.hamburger.active span {
    transition: all 0.3s var(--ease);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   7. FOCUS-VISIBLE ACCESSIBILITY
   ============================================================ */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.btn-primary:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(200, 169, 110, 0.2);
}

.btn-outline:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

/* ============================================================
   8. IMAGE LAZY-LOAD FADE-IN
   ============================================================ */
img[loading='lazy'] {
    opacity: 0;
    transition: opacity 0.6s var(--ease);
}

img[loading='lazy'].loaded {
    opacity: 1;
}
