:root {
    --color-dark: #2B160F;
    --color-medium: #5C3317;
    --color-milk: #7B4A2F;
    --color-cream: #F4E6D0;
    --color-gold: #C8A46A;
    --color-white: #FFFFFF;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: initial; /* Lenis handles it */
}

body {
    font-family: var(--font-body);
    background-color: var(--color-dark);
    color: var(--color-cream);
    line-height: 1.6;
    overflow-x: hidden;
}

section[id] {
    scroll-margin-top: 70px;
}

h1, h2, h3, h4, .logo, .logo-footer {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

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

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-dark);
    box-shadow: 0 10px 20px rgba(200, 164, 106, 0.2);
}

.btn-primary:hover {
    background-color: #d8b47a;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(200, 164, 106, 0.3);
}

.btn-secondary {
    background-color: var(--color-medium);
    color: var(--color-cream);
}

.btn-secondary:hover {
    background-color: var(--color-milk);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
}

.btn-outline:hover {
    background: var(--color-gold);
    color: var(--color-dark);
}

.btn.small {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
}

.btn-whatsapp {
    background-color: #1e8c00;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #156000;
    transform: translateY(-3px);
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.5rem 0;
    z-index: 100;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0);
}

.header.scrolled {
    background: rgba(43, 22, 15, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.2rem 0;
    border-bottom: 1px solid rgba(200, 164, 106, 0.2);
}

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

.logo img {
    height: 120px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-links a {
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: width 0.3s;
}

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

.menu-mobile-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-mobile-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-gold);
    transition: var(--transition);
}

/* HERO */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding-top: 100px; /* Offset for the header */
}

.hero-bg {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(43, 22, 15, 0.9) 0%, rgba(43, 22, 15, 0.4) 100%);
}

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

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--color-gold);
    font-style: italic;
    display: block;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-bottom: 2.5rem;
    max-width: 600px;
    opacity: 0.9;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
}

/* PROVA SOCIAL / PARTNERS MARQUEE */
.social-proof {
    padding: 0;
    background: transparent;
    border: none;
}

.partners-marquee {
    width: 100%;
    overflow: hidden;
    background: transparent;
    padding: 2rem 0;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: inline-block;
    animation: marquee 25s linear infinite;
}

.marquee-content img {
    display: inline-block;
    height: 50px;
    width: auto;
    margin: 0 4rem;
    vertical-align: middle;
    filter: brightness(0) invert(1) opacity(0.5);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* SENSORIAL GRID */
.sensorial {
    padding: 8rem 0;
    background-color: var(--color-dark);
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.2;
}

.grid-sensorial {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 2rem;
}

.grid-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.grid-item::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--color-dark);
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
    pointer-events: none;
}

.grid-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.grid-item:hover img {
    transform: scale(1.05);
}

.grid-item:hover::after {
    opacity: 0.6;
}

.item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(43,22,15,0.9), transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.grid-item:hover .item-info {
    transform: translateY(0);
    opacity: 1;
}

.item-info h3 {
    color: var(--color-gold);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

/* CALENDÁRIO HR */
.calendario-hr {
    padding: 8rem 0;
    background-color: var(--color-dark);
}

.calendario-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.calendario-text {
    flex: 1;
}

.calendario-text h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.calendario-text h2 small {
    display: block;
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    font-weight: 500;
    color: var(--color-cream);
    margin-bottom: 0.2rem;
}

.calendario-text h2 span {
    color: var(--color-gold);
}

@media (min-width: 992px) {
    .calendario-text h2 small,
    .calendario-text h2 span {
        white-space: nowrap;
    }
}

.calendario-btn {
    margin-top: 3.5rem;
}

.calendario-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.calendario-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cal-feature {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.cal-feature strong {
    color: var(--color-gold);
    font-size: 1.2rem;
}

.cal-feature span {
    font-size: 1.1rem;
    opacity: 0.9;
}

.calendario-image {
    flex: 1;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

#slider-calendario img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1; /* keeps a nice square/rectangle shape for the slider */
}

/* SPLIDE PAGINATION CUSTOMIZATION */
.splide__pagination__page.is-active {
    background: var(--color-gold) !important;
    opacity: 1 !important;
}

.splide__pagination__page {
    background: var(--color-cream) !important;
    opacity: 0.5 !important;
}

/* SPLIDE ARROWS CUSTOMIZATION */
.splide__arrow {
    background: transparent !important;
}

.splide__arrow:hover {
    background: transparent !important;
    opacity: 1 !important;
}

.splide__arrow svg {
    fill: var(--color-gold) !important;
    width: 2em !important;
    height: 2em !important;
}

/* DIFERENCIAIS */
.diferenciais {
    padding: 8rem 0;
    background-color: var(--color-dark);
    position: relative;
    overflow: hidden;
}

.diferenciais-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #5C3317;
    opacity: 0.85;
}

.diferenciais .container {
    position: relative;
    z-index: 2;
}

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

.card-dif {
    background: rgba(43, 22, 15, 0.4);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.card-dif:hover {
    transform: translateY(-10px);
    background: rgba(43, 22, 15, 0.6);
    border-color: rgba(200, 164, 106, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.card-icon {
    margin-bottom: 1.5rem;
}

.card-icon img {
    height: 48px;
    width: auto;
    margin: 0 auto;
}

.card-dif h3 {
    color: var(--color-gold);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* EXPERIENCE */
.store-experience {
    padding: 8rem 0;
}

.experience-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.experience-text {
    flex: 1;
}

.experience-text h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 2rem;
    line-height: 1.1;
}

.experience-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--color-cream);
    opacity: 0.9;
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.experience-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.experience-list li::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--color-gold);
    border-radius: 50%;
}

.experience-images {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

/* LOJAS */
.lojas {
    padding: 8rem 0;
    background: var(--color-medium);
}

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

.loja-card {
    background: var(--color-dark);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.loja-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.loja-img {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.loja-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-dark);
    opacity: 0.3;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.loja-card:hover .loja-img::after {
    opacity: 0.1;
}

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

.loja-card:hover .loja-img img {
    transform: scale(1.1);
}

.loja-info {
    padding: 2rem;
}

.loja-info h3 {
    color: var(--color-gold);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.loja-info p {
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

.loja-actions {
    display: flex;
    gap: 1rem;
}

/* CTA FINAL */
.cta-final {
    position: relative;
    padding: 10rem 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

.overlay-dark {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(43, 22, 15, 0.85);
}

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

.cta-content h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 3rem;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(200, 164, 106, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(200, 164, 106, 0); }
    100% { box-shadow: 0 0 0 0 rgba(200, 164, 106, 0); }
}

/* FOOTER */
.footer {
    background-color: #1a0d09;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(200, 164, 106, 0.2);
}

.footer-bottom {
    text-align: center;
    opacity: 0.5;
    font-size: 0.9rem;
}

/* LOADER */
.loader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--color-dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.loader-content {
    text-align: center;
    z-index: 2;
}

.loader-logo-img {
    max-width: 250px;
    height: auto;
    opacity: 0;
    animation: fadeIn 1.5s ease forwards;
}



.loader-liquid {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: calc(100% + 150px);
    z-index: 3;
    display: flex;
    flex-direction: column;
}

.liquid-wave {
    width: 100%;
    height: 150px; /* makes the wave visible */
    display: block;
    margin-bottom: -1px; /* prevent gap */
}

.liquid-fill {
    flex: 1;
    background-color: var(--color-medium);
}

.droplets {
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.drop {
    position: absolute;
    background-color: var(--color-medium);
    border-radius: 50%;
    opacity: 0;
}

.drop.d1 { width: 12px; height: 12px; left: 25%; animation: drip 2s 1.5s forwards; }
.drop.d2 { width: 8px; height: 8px; left: 55%; animation: drip 2.2s 1.7s forwards; }
.drop.d3 { width: 16px; height: 16px; left: 85%; animation: drip 1.8s 1.6s forwards; }

@keyframes drip {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(200px); opacity: 0; }
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .grid-sensorial {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }
    .experience-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-dark);
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(200, 164, 106, 0.2);
    }
    .header-container {
        justify-content: center;
    }
    .header .btn-outline {
        display: none;
    }
    .menu-mobile-btn {
        display: none;
    }
    .grid-sensorial {
        grid-template-columns: 1fr;
    }
    .grid-item {
        aspect-ratio: 4/3; /* Evita que o card fique com uma altura exagerada no mobile */
    }
    .card-dif {
        padding: 2rem 1.5rem; /* Otimiza os cards de diferenciais para não cortar */
    }
    .calendario-content {
        flex-direction: column;
        text-align: center;
    }
    .calendario-features {
        text-align: left;
    }
    .calendario-btn {
        margin: 3.5rem auto 0;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-icons {
        justify-content: center;
    }
    .hero-ctas {
        flex-direction: column;
    }
}
