/* ==========================================================================
   VasosDecor Foz - Custom Stylesheet
   Theme: Warm Earthy Terracotta, Sandstone & Organic Luxury
   ========================================================================== */

:root {
    --color-terracotta: #b45309;
    --color-terracotta-dark: #854d0e;
    --color-terracotta-light: #fef3c7;
    --color-amber-gold: #d97706;
    --color-stone-dark: #1c1917;
    --color-stone-card: #292524;
    --color-sand: #f5f5f4;
    --color-sand-border: #e7e5e4;
    --color-whatsapp: #25D366;
    --color-whatsapp-dark: #128C7E;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
    --shadow-lux: 0 20px 35px -10px rgba(180, 83, 9, 0.15), 0 10px 20px -5px rgba(0, 0, 0, 0.08);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: #fafaf9;
    color: #292524;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

/* Top Bar */
.top-bar {
    background: linear-gradient(90deg, #1c1917 0%, #292524 100%);
    color: #e7e5e4;
    padding: 0.5rem 0;
    font-size: 0.75rem;
    border-bottom: 1px solid rgba(217, 119, 6, 0.2);
}

/* Header & Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-sand-border);
    transition: all 0.3s ease;
    padding: 0.85rem 0;
}

.navbar.scrolled {
    box-shadow: var(--shadow-soft);
    background: rgba(255, 255, 255, 0.98);
}

.logo-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--color-amber-gold);
    overflow: hidden;
    box-shadow: 0 0 10px rgba(217, 119, 6, 0.2);
}

.brand-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.45rem;
    color: #1c1917;
    line-height: 1.1;
    display: block;
}

.brand-sub {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #78716c;
    font-weight: 600;
    display: block;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: #44403c;
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-terracotta);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--color-terracotta);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.btn-whatsapp-header {
    background-color: #15803d;
    color: white;
    padding: 0.55rem 1.1rem;
    border-radius: 9999px;
    font-size: 0.825rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(21, 128, 61, 0.25);
}

.btn-whatsapp-header:hover {
    background-color: #166534;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(21, 128, 61, 0.35);
}

/* Mobile Toggle & Menu */
.mobile-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: #292524;
    padding: 0.4rem;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    z-index: 150;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s;
    overflow-y: auto;
}

.mobile-menu.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

.mob-link {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: #292524;
    text-decoration: none;
    font-weight: 600;
    padding: 0.35rem 0;
    border-bottom: 1px dashed #e7e5e4;
    transition: color 0.2s;
}

.mob-link:hover {
    color: var(--color-terracotta);
    padding-left: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    border-radius: 0.85rem;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #b45309 0%, #92400e 100%);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(180, 83, 9, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #92400e 0%, #78350f 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(180, 83, 9, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: #ffffff;
    color: #44403c;
    border: 1px solid #d6d3d1;
}

.btn-outline:hover {
    background: #f5f5f4;
    color: var(--color-terracotta);
    border-color: var(--color-terracotta);
}

/* Hero Section */
.hero-section {
    background-color: #1c1917;
    background-image: radial-gradient(circle at 80% 20%, rgba(180, 83, 9, 0.3) 0%, transparent 50%),
                      radial-gradient(circle at 10% 80%, rgba(16, 185, 129, 0.15) 0%, transparent 40%),
                      linear-gradient(180deg, #1c1917 0%, #292524 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* Botanical Floating Leaves Animation */
.hero-leaves-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 5;
    pointer-events: none;
}

.floating-leaf {
    position: absolute;
    will-change: transform;
    opacity: 0.85;
    transition: opacity 0.5s ease;
}

.leaf-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.leaf-gold {
    color: #f59e0b;
    filter: drop-shadow(0 4px 16px rgba(245, 158, 11, 0.3));
}

.leaf-emerald {
    color: #10b981;
    filter: drop-shadow(0 4px 16px rgba(16, 185, 129, 0.25));
}

.leaf-terracotta {
    color: #d97706;
    filter: drop-shadow(0 4px 16px rgba(217, 119, 6, 0.3));
}

/* Individual Leaf Positions & Animations */
.leaf-1 {
    top: 5%;
    left: 2%;
    width: 110px;
    height: 110px;
    animation: floatLeaf1 14s ease-in-out infinite alternate;
}

.leaf-2 {
    top: 6%;
    right: 3%;
    width: 100px;
    height: 140px;
    animation: floatLeaf2 18s ease-in-out infinite alternate;
}

.leaf-3 {
    top: 48%;
    left: -1%;
    width: 80px;
    height: 80px;
    animation: floatLeaf3 12s ease-in-out infinite alternate;
}

.leaf-4 {
    bottom: 4%;
    right: 2%;
    width: 115px;
    height: 115px;
    animation: floatLeaf1 16s ease-in-out infinite alternate-reverse;
}

.leaf-5 {
    bottom: 8%;
    left: 36%;
    width: 60px;
    height: 60px;
    animation: floatLeaf2 15s ease-in-out infinite alternate;
}

.leaf-6 {
    top: 36%;
    right: 48%;
    width: 75px;
    height: 75px;
    animation: floatLeaf3 20s ease-in-out infinite alternate-reverse;
}

/* Responsive sizes */
@media (max-width: 768px) {
    .leaf-1 { width: 75px; height: 75px; top: 2%; left: 0%; }
    .leaf-2 { width: 70px; height: 95px; top: 3%; right: 1%; }
    .leaf-3 { width: 55px; height: 55px; top: 60%; }
    .leaf-4 { width: 80px; height: 80px; bottom: 2%; right: 0%; }
    .leaf-5 { width: 45px; height: 45px; }
    .leaf-6 { display: none; }
}

@keyframes floatLeaf1 {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    }
    33% {
        transform: translate3d(15px, -20px, 0) rotate(8deg) scale(1.04);
    }
    66% {
        transform: translate3d(-12px, -35px, 0) rotate(-6deg) scale(0.98);
    }
    100% {
        transform: translate3d(20px, -50px, 0) rotate(14deg) scale(1.05);
    }
}

@keyframes floatLeaf2 {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    }
    35% {
        transform: translate3d(-20px, 25px, 0) rotate(-10deg) scale(1.03);
    }
    70% {
        transform: translate3d(15px, 40px, 0) rotate(6deg) scale(0.97);
    }
    100% {
        transform: translate3d(-25px, 60px, 0) rotate(-15deg) scale(1.04);
    }
}

@keyframes floatLeaf3 {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    50% {
        transform: translate3d(22px, -28px, 0) rotate(12deg);
    }
    100% {
        transform: translate3d(-18px, -15px, 0) rotate(-8deg);
    }
}

.hero-heading {
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.4rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #e7e5e4;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-thumb {
    border: 2px solid transparent;
    padding: 0;
    background: none;
    border-radius: 0.85rem;
    cursor: pointer;
    overflow: hidden;
    opacity: 0.6;
    transition: all 0.2s ease;
}

.hero-thumb.active, .hero-thumb:hover {
    border-color: var(--color-amber-gold);
    opacity: 1;
    transform: scale(1.04);
}

/* Stories / Highlights Carousel */
.highlights-track {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.5rem 0.5rem 1rem;
    justify-content: flex-start;
}

@media (min-width: 768px) {
    .highlights-track {
        justify-content: center;
        flex-wrap: wrap;
    }
}

.highlights-track::-webkit-scrollbar {
    display: none;
}

.highlight-ring {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(45deg, #f59e0b, #b45309, #d97706, #78350f);
    margin: 0 auto 0.5rem;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px rgba(180, 83, 9, 0.2);
}

.highlight-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    background: #ffffff;
}

.highlight-item:hover .highlight-ring {
    transform: scale(1.1);
}

.highlight-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #44403c;
    display: block;
}

/* Sections */
.section-badge {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    background-color: var(--color-terracotta-light);
    color: var(--color-terracotta-dark);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(217, 119, 6, 0.25);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: #1c1917;
    line-height: 1.2;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 2.75rem;
    }
}

.section-subtitle {
    font-size: 1rem;
    color: #78716c;
    margin-top: 0.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Catalog Filter Buttons */
.catalog-filters {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.25rem 0.5rem 0.75rem;
    max-width: 100%;
}

@media (min-width: 768px) {
    .catalog-filters {
        flex-wrap: wrap;
        justify-content: center;
        overflow-x: visible;
    }
}

.filter-btn {
    padding: 0.5rem 1.1rem;
    border-radius: 9999px;
    font-size: 0.825rem;
    font-weight: 700;
    background-color: #ffffff;
    color: #57534e;
    border: 1px solid #e7e5e4;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.filter-btn:hover {
    border-color: var(--color-terracotta);
    color: var(--color-terracotta);
}

.filter-btn.active {
    background-color: var(--color-terracotta);
    color: #ffffff;
    border-color: var(--color-terracotta);
    box-shadow: 0 4px 12px rgba(180, 83, 9, 0.25);
}

/* Product / Catalog Card */
.catalog-card {
    background: #ffffff;
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid #e7e5e4;
    box-shadow: var(--shadow-soft);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.catalog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lux);
    border-color: #d6d3d1;
}

.card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #f5f5f4;
}

@media (min-width: 640px) {
    .card-img-wrap {
        aspect-ratio: 4 / 5;
    }
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.catalog-card:hover .card-img-wrap img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: rgba(28, 25, 23, 0.8);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    max-width: calc(100% - 1.5rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 2;
}

.card-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    min-width: 0;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .card-content {
        padding: 1.25rem;
    }
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.18rem;
    font-weight: 700;
    color: #1c1917;
    line-height: 1.25;
    word-break: break-word;
}

@media (min-width: 640px) {
    .card-title {
        font-size: 1.35rem;
    }
}

.card-desc {
    font-size: 0.78rem;
    color: #78716c;
    margin-top: 0.35rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

@media (min-width: 640px) {
    .card-desc {
        font-size: 0.82rem;
    }
}

.card-actions {
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f5f5f4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-width: 0;
}

/* Feature Items in Differentials */
.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 0.75rem;
    background: rgba(217, 119, 6, 0.15);
    color: #f59e0b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* FAQ Accordion */
.faq-card {
    background: #ffffff;
    border: 1px solid #e7e5e4;
    border-radius: 1rem;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-card.open {
    border-color: var(--color-terracotta);
    box-shadow: var(--shadow-soft);
}

.faq-card.open .fa-chevron-down {
    transform: rotate(180deg);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 45;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: pulseWhatsApp 2.5s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.12);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #1c1917;
    color: white;
    padding: 0.45rem 0.9rem;
    border-radius: 0.6rem;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: var(--shadow-soft);
}

.floating-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(-4px);
}

@keyframes pulseWhatsApp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Modal Lightbox */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    opacity: 1;
    transition: opacity 0.25s ease;
}

.modal-backdrop.hidden {
    display: none;
    opacity: 0;
}

.modal-container {
    background: #ffffff;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    max-width: 54rem;
    width: 100%;
    max-height: 90vh;
    max-height: 90dvh;
    overflow-y: auto;
    position: relative;
    box-sizing: border-box;
}

.modal-close-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 20;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1c1917;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    background: #ffffff;
    transform: scale(1.1);
}

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.94);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-scaleUp {
    animation: scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Utilities */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
