/* 
   Capital Consultores - Design System 
   Theme: Premium, Clean, Trustworthy
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,600;0,6..96,700;1,6..96,400&display=swap');

:root {
    /* Brand Colors */
    --color-primary: #07221A;    /* Darker Capital Green for Mural */
    --color-primary-light: #0E3A2D;
    --color-secondary: #FFFFFF;  /* Body text now White */
    --color-accent: #F1E0C7;     /* Updated Beige 'Cru' */
    
    /* Neutrals */
    --color-white: #FFFFFF;
    --color-text-light: #FFFFFF; /* Body text now White */
    --color-text-dark: #1A1A1A;
    --color-border: rgba(241, 224, 199, 0.1);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Typography */
    --font-heading: 'Bodoni Moda', serif;
    --font-body: 'Inter', sans-serif;
    
    /* UI Elements */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-accent); /* Titles back to Beige #F1E0C7 */
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

/* Zara Snap Scroll Layout */
.zara-layout {
    margin: 0;
    padding: 0;
    overflow: hidden; /* Evitar scroll duplo */
}

.zara-scroll-container {
    height: 100vh;
    width: 100vw;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
}
.zara-scroll-container::-webkit-scrollbar {
    display: none;
}

/* NEW: Hero Carousel Horizontal Wrapper */
.hero-carousel-wrapper {
    height: 100vh;
    width: 100vw;
    display: flex;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    position: relative;
}
.hero-carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.zara-snap-section {
    flex: 0 0 100vw;
    height: 100vh;
    width: 100vw;
    scroll-snap-align: start;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

/* Standard Vertical Section */
.zara-section {
    padding: 120px 0;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Gamified 3D Numbers Section */
.gamified-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-top: 5rem;
    perspective: 1000px;
}

.gamified-card {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s, border-color 0.4s;
    transform-style: preserve-3d;
    cursor: default;
}

.gamified-card:hover {
    transform: translateY(-15px) rotateX(8deg) rotateY(-5deg);
    box-shadow: 0 25px 50px rgba(212, 175, 55, 0.15), inset 0 1px 0 rgba(255,255,255,0.1);
    border-color: rgba(212, 175, 55, 0.5);
}

.gamified-number {
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
    transform: translateZ(40px);
}

.gamified-text {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.9;
    color: var(--color-white);
    transform: translateZ(20px);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background: rgba(245, 245, 220, 0.03);
    padding: 3rem 2rem;
    border: 1px solid rgba(245, 245, 220, 0.1);
    transition: 0.3s;
}

.feature-card:hover {
    background: rgba(245, 245, 220, 0.08);
    border-color: var(--color-accent);
}

.bg-solid {
    background-color: var(--color-primary-light);
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    z-index: 10;
}

/* Background Variations */
.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    opacity: 0.6;
}

/* Typography - ZARA Style */
.zara-title-huge {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 10vw, 8rem);
    line-height: 0.9;
    color: var(--color-accent);
    font-weight: 700;
    font-variation-settings: "opsz" 14;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.zara-title-massive {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 15vw, 12rem);
    line-height: 0.85;
    color: var(--color-accent);
    font-weight: 700;
    font-variation-settings: "opsz" 14;
    text-transform: uppercase;
}

.zara-title-big {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 8vw, 6rem);
    color: var(--color-accent);
    font-weight: 700;
    font-variation-settings: "opsz" 14;
}

.zara-title-light {
    font-family: var(--font-body);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--color-accent);
    font-weight: 600;
    letter-spacing: 5px;
}

/* Leopard 'O' Specific Styling */
.leopard-o {
    display: inline-block;
    width: 0.8em;
    height: 0.8em;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: translateY(10px);
}

/* Layout Utilities */
.hero-content {
    margin-top: auto;
    padding-bottom: 10vh;
}

.slide-overlay {
    background: rgba(7, 34, 26, 0.4);
    padding: 4rem;
    backdrop-filter: blur(5px);
    border-radius: 1px;
}

.slide-bottom-content {
    margin-top: auto;
    padding-bottom: 15vh;
}

.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 3rem; }
.text-center { text-align: center; }
.text-left { text-align: left; }

/* Refined Buttons */
.btn-group-floating {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-wrapper-center {
    display: flex;
    justify-content: center;
    width: 100%;
}

.btn-large {
    padding: 1.5rem 4rem;
    font-size: 0.9rem;
}

.btn-filled {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    border-color: var(--color-secondary);
}

.btn-filled:hover {
    background-color: transparent;
    color: var(--color-secondary);
}

/* Carousel Background */
.carousel-backgrounds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel-backgrounds .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.carousel-backgrounds .slide.active {
    opacity: 1;
}

/* Zara-style Hamburger Menu */
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2200; /* Above menu-overlay (2100) */
    padding: 2.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    mix-blend-mode: difference;
    pointer-events: none; /* Let clicks pass through to content */
}

.ham-btn {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 2201;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: auto; /* Essential since the header has pointer-events: none */
}

.ham-line {
    display: block;
    width: 28px;
    height: 2.5px;
    background-color: var(--color-white);
    position: absolute;
    transition: var(--transition);
}

.ham-line-1 { transform: translateY(-5px); }
.ham-line-2 { transform: translateY(5px); }

.ham-btn.active .ham-line-1,
body.menu-open .ham-line-1 {
    transform: translateY(0) rotate(45deg);
    background-color: #07221A !important;
}
.ham-btn.active .ham-line-2,
body.menu-open .ham-line-2 {
    transform: translateY(0) rotate(-45deg);
    background-color: #07221A !important;
}

/* Hide legacy elements */
.navbar, footer:not(.footer-mural) {
    display: none !important;
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
    color: var(--color-text-dark);
    z-index: 2100;
    display: flex;
    padding: 10rem 5% 5rem;
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.menu-overlay.active {
    transform: translateX(0);
}

.menu-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    width: 100%;
    max-width: 1200px;
}

.menu-column h3 {
    color: #999;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    font-family: var(--font-body);
}

.menu-list {
    list-style: none;
}

.menu-item {
    margin-bottom: 0.8rem;
}

.menu-link {
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-dark);
}

.menu-link:hover {
    color: #000;
    font-weight: 400;
}

.menu-link-large {
    font-family: var(--font-heading);
    font-size: 2rem;
    display: block;
    margin-top: 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    font-family: var(--font-body);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    cursor: pointer;
    border: 1px solid var(--color-text-light);
    transition: var(--transition);
}

.btn-white {
    background-color: transparent;
    color: var(--color-text-light);
}

.btn-white:hover {
    background-color: var(--color-text-light);
    color: var(--color-primary);
}

/* Hero Section */
.hero-mural {
    height: 100vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 10vh;
}

.hero-mural h1 {
    font-size: clamp(3rem, 10vw, 8rem);
    margin-bottom: 2rem;
    max-width: 1000px;
}

/* Footer (Integrated into Mural) */
/* Footer Mural Refined */
.footer-mural {
    background-color: var(--color-bg-dark);
    color: var(--color-white);
    padding: 80px 5% 40px;
    border-top: 1px solid rgba(245, 245, 220, 0.1);
}

.footer-mural .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-mural h4 {
    color: var(--color-accent);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-contact-list, .footer-social-list {
    list-style: none;
    padding: 0;
}

.footer-contact-list li {
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-social-list {
    display: flex;
    gap: 20px;
}

.footer-social-list ion-icon {
    font-size: 1.5rem;
    transition: var(--transition);
    color: var(--color-white);
}

.footer-social-list a:hover ion-icon {
    color: var(--color-accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(245, 245, 220, 0.1);
    font-size: 0.75rem;
    letter-spacing: 1px;
    opacity: 0.5;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    text-transform: uppercase;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--color-white);
    opacity: 1;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .menu-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-mural h1 {
        font-size: 4rem;
    }
    
    .header-fixed {
        mix-blend-mode: normal !important;
    }
    
    .ham-line {
        background-color: var(--color-accent) !important;
    }
}

@media (max-width: 600px) {
    .header-fixed {
        padding: 1.5rem 5%;
    }
    
    .mural-section {
        padding: 5rem 5%;
    }
}

/* Video Section - Full Width Impact */
.video-mural {
    width: 100%;
    background-color: var(--color-primary);
    line-height: 0; /* Remove gap bottom */
    overflow: hidden;
}

.full-width-video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 400px; /* Garante visibilidade impactante */
}

/* Explore Section Styles */
.explore-section {
    padding: var(--spacing-xl) 5%;
    background-color: var(--color-primary-light);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.explore-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.explore-link {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-white);
    opacity: 0.6;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
}

.explore-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-accent);
    transition: var(--transition);
}

.explore-link:hover {
    opacity: 1;
    color: var(--color-accent);
}

.explore-link:hover::after {
    width: 100%;
}
