@import "tailwindcss";

@theme {
    --color-forest: #023A1F;
    --color-forest-dark: #011a0e;
    --color-forest-mid: #02521c;
    --color-gold: #988E46;
    --color-gold-light: #C4B96A;
    --color-gold-pale: #E8DFA0;
    --color-cream: #FAF6ED;
    --color-cream-dark: #F0E8D5;

    --font-family-serif: 'Cormorant Garamond', Georgia, serif;
    --font-family-body: 'Jost', sans-serif;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('/webphant/koisas-de-minas/fonts/CormorantGaramond-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('/webphant/koisas-de-minas/fonts/CormorantGaramond-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Jost';
    src: url('/webphant/koisas-de-minas/fonts/Jost-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root { --forest: #023A1F; --forest-dark: #011a0e; --gold: #988E46; --gold-light: #C4B96A; --gold-pale: #E8DFA0; --cream: #FAF6ED; }

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

html { scroll-behavior: auto; background: #011a0e; overflow-x: hidden; }

body { background: var(--cream); color: var(--forest-dark); font-family: 'Jost', sans-serif; overflow-x: hidden; cursor: none; }

.cursor-dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; transition: transform 0.1s ease; }
.cursor-ring { width: 36px; height: 36px; border: 1.5px solid var(--gold); border-radius: 50%; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998; transition: all 0.18s ease; opacity: 0.6; }
.cursor-ring.hover { width: 56px; height: 56px; border-color: var(--gold-light); opacity: 1; background: rgba(152,142,70,0.08); }

body::before { content: ''; position: fixed; inset: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E"); pointer-events: none; z-index: 9990; opacity: 0.4; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

.hero { min-height: 100vh; background: var(--forest-dark); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; padding-top: calc(6rem + env(safe-area-inset-top, 0px)); padding-bottom: 4rem; }

.hero-bg-pattern { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(2,58,31,0.8) 0%, transparent 70%), radial-gradient(ellipse 40% 40% at 80% 80%, rgba(152,142,70,0.12) 0%, transparent 60%), radial-gradient(ellipse 30% 30% at 20% 20%, rgba(152,142,70,0.08) 0%, transparent 60%); }

.hero-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(152,142,70,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(152,142,70,0.04) 1px, transparent 1px); background-size: 80px 80px; }

.hero-corner-ornament { position: absolute; width: 200px; height: 200px; border: 1px solid rgba(152,142,70,0.2); }
.hero-corner-ornament.tl { top: 40px; left: 40px; border-right: none; border-bottom: none; }
.hero-corner-ornament.tr { top: 40px; right: 40px; border-left: none; border-bottom: none; }
.hero-corner-ornament.bl { bottom: 40px; left: 40px; border-right: none; border-top: none; }
.hero-corner-ornament.br { bottom: 40px; right: 40px; border-left: none; border-top: none; }

.hero-particle { position: absolute; width: 2px; height: 2px; background: var(--gold); border-radius: 50%; opacity: 0; animation: particle-float 10s infinite; z-index: 20; pointer-events: none; }
@keyframes particle-float { 0% { transform: translateY(0) translateX(0); opacity: 0; } 20% { opacity: 0.55; } 80% { opacity: 0.25; } 100% { transform: translateY(-130px) translateX(25px); opacity: 0; } }

.hero-logo-container { position: relative; z-index: 10; text-align: center; animation: hero-reveal 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; }
@keyframes hero-reveal { 0% { opacity: 0; transform: translateY(40px) scale(0.96); } 100% { opacity: 1; transform: translateY(0) scale(1); } }

.hero-logo-frame { position: relative; display: inline-block; padding: 20px; }
.hero-logo-frame::before, .hero-logo-frame::after { content: ''; position: absolute; width: 60px; height: 60px; border-color: rgba(152,142,70,0.4); border-style: solid; }
.hero-logo-frame::before { top: 0; left: 0; border-width: 1px 0 0 1px; }
.hero-logo-frame::after { bottom: 0; right: 0; border-width: 0 1px 1px 0; }

.hero-tagline { font-family: 'Cormorant Garamond', serif; font-size: clamp(3rem, 8vw, 7rem); font-weight: 300; color: var(--cream); line-height: 1; letter-spacing: -0.02em; animation: hero-reveal 1.4s 0.2s forwards; opacity: 0; }
.hero-tagline em { font-style: italic; color: var(--gold-light); }
.hero-subtitle { font-family: 'Jost', sans-serif; font-size: 0.75rem; font-weight: 300; letter-spacing: 0.4em; text-transform: uppercase; color: rgba(152,142,70,0.7); margin-top: 20px; animation: hero-reveal 1.4s 0.4s forwards; opacity: 0; }
.hero-divider { width: 1px; height: 60px; background: linear-gradient(to bottom, transparent, var(--gold), transparent); margin: 30px auto; animation: hero-reveal 1.4s 0.5s forwards; opacity: 0; }

.hero-cta { display: inline-flex; align-items: center; gap: 12px; padding: 14px 36px; background: transparent; border: 1px solid rgba(152,142,70,0.5); color: var(--gold-pale); font-family: 'Jost', sans-serif; font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; text-decoration: none; transition: all 0.4s; position: relative; overflow: hidden; animation: hero-reveal 1.4s 0.6s forwards; opacity: 0; border-radius: 0.5rem; }
.hero-cta::before { content: ''; position: absolute; inset: 0; background: rgba(152,142,70,0.12); transform: scaleX(0); transform-origin: left; transition: transform 0.4s; }
.hero-cta:hover::before { transform: scaleX(1); }
.hero-cta:hover { border-color: var(--gold); color: var(--gold-pale); }

.hero-scroll-hint { position: absolute; bottom: 40px; left: 60px; display: flex; align-items: center; gap: 14px; animation: hero-reveal 1.4s 1.3s forwards; opacity: 0; z-index: 10; }
.hero-scroll-line { width: 52px; height: 1px; background: linear-gradient(to right, rgba(152,142,70,0.35), transparent); animation: scroll-pulse 2.2s ease-in-out infinite; }
@keyframes scroll-pulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 0.9; } }

.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: calc(20px + env(safe-area-inset-top, 0px)) 40px 20px; display: flex; align-items: center; justify-content: space-between; transition: all 0.4s ease; }
.nav-logo { display: flex; align-items: center; }
.nav-logo img {
    height: clamp(56px, 10vw, 90px);
    width: auto;
    transition: height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav.scrolled { background: rgba(1,26,14,0.96) !important; backdrop-filter: blur(16px); border-bottom: 1px solid rgba(152,142,70,0.12); }
.nav.scrolled .nav-logo img {
    height: clamp(36px, 5vw, 48px);
}
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a { color: rgba(250,246,237,0.6); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; transition: color 0.3s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--gold); transition: width 0.3s; }
.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { padding: 8px 24px; border: 1px solid rgba(152,142,70,0.4); color: var(--gold-pale) !important; transition: all 0.3s !important; border-radius: 0.5rem; }
.nav-cta:hover { background: rgba(152,142,70,0.15); border-color: var(--gold) !important; }
.nav-cta::after { display: none !important; }

.section-label { font-size: 0.65rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold); font-weight: 400; display: flex; align-items: center; gap: 16px; }
.section-label::before { content: ''; width: 40px; height: 1px; background: var(--gold); }

.section-heading { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 400; line-height: 1.1; color: var(--forest-dark); }
.section-heading em { font-style: italic; color: var(--forest); }

.sobre { background: var(--cream); padding: 120px 0; position: relative; overflow: hidden; }
.sobre::before { content: ''; position: absolute; right: -100px; top: -100px; width: 500px; height: 500px; border: 1px solid rgba(152,142,70,0.1); border-radius: 50%; }
.sobre::after { content: ''; position: absolute; right: -50px; top: -50px; width: 300px; height: 300px; border: 1px solid rgba(152,142,70,0.07); border-radius: 50%; }
.sobre-number { font-family: 'Cormorant Garamond', serif; font-size: 9rem; font-weight: 300; color: rgba(152,142,70,0.08); line-height: 1; position: absolute; right: 60px; top: 60px; }

.categorias { background: var(--forest); padding: 120px 0; position: relative; overflow: hidden; }
.categorias-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 50% 60% at 80% 50%, rgba(152,142,70,0.06) 0%, transparent 60%), radial-gradient(ellipse 30% 40% at 20% 80%, rgba(152,142,70,0.04) 0%, transparent 60%); }

.categoria-card { border: 1px solid rgba(152,142,70,0.15); padding: 24px 24px 32px; position: relative; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); overflow: hidden; cursor: pointer; border-radius: 0.5rem; }
.categoria-card::before { content: ''; position: absolute; inset: 0; background: rgba(152,142,70,0.06); transform: scaleY(0); transform-origin: bottom; transition: transform 0.5s; }
.categoria-card:hover::before { transform: scaleY(1); }
.categoria-card:hover { border-color: rgba(152,142,70,0.4); transform: translateY(-4px); }
.categoria-img { height: 140px; background-size: cover; background-position: center; margin: -25px -25px 20px; filter: brightness(0.85) saturate(0.9); transition: all 0.5s; }
.categoria-card:hover .categoria-img { filter: brightness(1) saturate(1.1); }

.carrossel { background: #F0E8D5; padding: 120px 0; overflow: hidden; position: relative; }
.carrossel::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 100px; background: linear-gradient(to right, #F0E8D5, transparent); z-index: 10; pointer-events: none; }
.carrossel::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 100px; background: linear-gradient(to left, #F0E8D5, transparent); z-index: 10; pointer-events: none; }
.swiper-produto { overflow: visible !important; }

.produto-slide { position: relative; overflow: hidden; aspect-ratio: 4/5; background: var(--forest); border-radius: 0.5rem; }
.produto-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); filter: brightness(0.85) saturate(0.9); }
.produto-slide:hover img { transform: scale(1.08); filter: brightness(0.95) saturate(1); }
.produto-slide-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(1,26,14,0.8) 0%, transparent 50%); display: flex; align-items: flex-end; padding: 24px; opacity: 0; transition: opacity 0.4s; }
.produto-slide:hover .produto-slide-overlay { opacity: 1; }
.produto-slide-label { color: var(--cream); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; }

.swiper-btn { width: 48px; height: 48px; border: 1px solid rgba(152,142,70,0.4); background: transparent; color: var(--gold); display: flex; align-items: center; justify-content: center; transition: all 0.3s; border-radius: 0.5rem; }
.swiper-btn:hover { background: var(--gold); color: var(--cream); border-color: var(--gold); }
.swiper-btn svg { width: 18px; height: 18px; }

.diferenciais { background: var(--forest-dark); padding: 120px 0; position: relative; overflow: hidden; }
.diferencial-item { position: relative; padding: 40px 0; border-bottom: 1px solid rgba(152,142,70,0.12); display: flex; align-items: center; justify-content: space-between; gap: 40px; transition: all 0.4s; cursor: pointer; }
.diferencial-item:first-child { border-top: 1px solid rgba(152,142,70,0.12); }
.diferencial-item:hover { padding-left: 20px; }
.diferencial-num { font-family: 'Cormorant Garamond', serif; font-size: 1rem; color: rgba(152,142,70,0.4); min-width: 40px; font-style: italic; }
.diferencial-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 400; color: var(--cream); flex: 1; transition: color 0.3s; }
.diferencial-item:hover .diferencial-title { color: var(--gold-pale); }
.diferencial-arrow { width: 36px; height: 36px; border: 1px solid rgba(152,142,70,0.2); display: flex; align-items: center; justify-content: center; color: rgba(152,142,70,0.4); transition: all 0.4s; flex-shrink: 0; }
.diferencial-item:hover .diferencial-arrow { background: var(--gold); color: var(--forest-dark); border-color: var(--gold); transform: rotate(45deg); }

.depoimentos { background: var(--cream); padding: 120px 0; position: relative; }
.depoimento-card { background: white; border: 1px solid rgba(152,142,70,0.12); padding: 40px; position: relative; transition: all 0.4s; border-radius: 0.5rem; }
.depoimento-card::before { content: '"'; font-family: 'Cormorant Garamond', serif; font-size: 6rem; color: rgba(152,142,70,0.12); position: absolute; top: 10px; left: 24px; line-height: 1; }
.depoimento-card:hover { box-shadow: 0 20px 60px rgba(2,58,31,0.08); transform: translateY(-4px); border-color: rgba(152,142,70,0.3); }
.stars { color: var(--gold); font-size: 0.8rem; letter-spacing: 2px; }

.numeros { background: var(--forest); padding: 100px 0; position: relative; overflow: hidden; }
.numeros-bg { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(152,142,70,0.04) 0%, transparent 50%); }
.numero-item { text-align: center; position: relative; }
.numero-item + .numero-item::before { content: ''; position: absolute; left: 0; top: 20%; height: 60%; width: 1px; background: rgba(152,142,70,0.2); }
.numero-val { font-family: 'Cormorant Garamond', serif; font-size: clamp(3rem, 6vw, 5rem); font-weight: 300; color: var(--gold-light); line-height: 1; }
.numero-label { font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(250,246,237,0.5); margin-top: 8px; }

.lojas { background: var(--cream); padding: 120px 0; }
.loja-card { border: 1px solid rgba(2,58,31,0.12); padding: 48px 40px; position: relative; transition: all 0.4s; border-radius: 0.5rem; }
.loja-card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 0; background: var(--gold); transition: height 0.4s; }
.loja-card:hover::before { height: 100%; }
.loja-card:hover { box-shadow: 0 20px 60px rgba(2,58,31,0.06); }
.loja-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); background: rgba(152,142,70,0.08); padding: 6px 14px; margin-bottom: 20px; }

.mapa { background: var(--forest-dark); padding: 0; position: relative; }
.mapa-overlay { position: absolute; top: 0; left: 0; width: 50%; height: 100%; background: var(--forest-dark); z-index: 10; display: flex; flex-direction: column; justify-content: center; padding: 80px 80px 80px 120px; }
.mapa-info-row { display: flex; align-items: flex-start; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(152,142,70,0.1); }
.mapa-info-row:last-child { border-bottom: none; }
.mapa-info-icon { width: 36px; height: 36px; border: 1px solid rgba(152,142,70,0.3); display: flex; align-items: center; justify-content: center; color: var(--gold); flex-shrink: 0; margin-top: 2px; border-radius: 0.5rem; }
.mapa-iframe { width: 50%; margin-left: 50%; height: 560px; display: block; }

.social { background: #F0E8D5; padding: 100px 0; }
.social-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.social-item { aspect-ratio: 1; background: var(--forest); position: relative; overflow: hidden; border-radius: 0.5rem; }
.social-item img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.75) saturate(0.8); transition: all 0.5s; }
.social-item:hover img { filter: brightness(0.5) saturate(0.6); transform: scale(1.05); }
.social-item-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.4s; background: rgba(2,58,31,0.4); }
.social-item:hover .social-item-overlay { opacity: 1; }
.social-item-icon { color: white; width: 32px; height: 32px; }

.horarios { background: var(--forest); padding: 80px 0; }
.horario-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(152,142,70,0.1); font-size: 0.85rem; }
.horario-row:last-child { border-bottom: none; }
.horario-dia { color: rgba(250,246,237,0.5); letter-spacing: 0.1em; }
.horario-hora { color: var(--gold-pale); font-family: 'Cormorant Garamond', serif; font-size: 1rem; }
.horario-fechado { color: rgba(152,142,70,0.3); }

.footer { background: var(--forest-dark); padding: 60px 0 30px; border-top: 1px solid rgba(152,142,70,0.1); }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

.gold-line { width: 0; height: 1px; background: linear-gradient(to right, var(--gold), transparent); transition: width 1.2s; }
.gold-line.visible { width: 100%; }

.whatsapp-float { position: fixed; bottom: calc(36px + env(safe-area-inset-bottom, 0px)); right: calc(36px + env(safe-area-inset-right, 0px)); z-index: 800; width: 52px; height: 52px; background: #025c4c; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,0.3); transition: all 0.3s; text-decoration: none; animation: wpp-pulse 3s ease-in-out infinite; }
.whatsapp-float:hover { transform: scale(1.1); background: #128c7e; }
@keyframes wpp-pulse { 0%, 100% { box-shadow: 0 8px 24px rgba(0,0,0,0.3), 0 0 0 0 rgba(2,92,76,0.4); } 50% { box-shadow: 0 8px 24px rgba(0,0,0,0.3), 0 0 0 12px rgba(2,92,76,0); } }

.marquee-track { display: flex; gap: 60px; animation: marquee 25s linear infinite; white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-style: italic; color: rgba(152,142,70,0.4); display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.marquee-dot { width: 4px; height: 4px; background: rgba(152,142,70,0.3); border-radius: 50%; flex-shrink: 0; }

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav { padding-left: 20px; padding-right: 20px; }
    .nav.scrolled { padding-left: 20px; padding-right: 20px; }
    .nav-links { display: none; }
    .hero-corner-ornament { width: 80px; height: 80px; }
    .mapa-overlay { position: static; width: 100%; padding: 60px 24px; }
    .mapa-iframe { width: 100%; margin-left: 0; height: 300px; }
    .sobre-number { font-size: 5rem; }
    .social-grid { grid-template-columns: repeat(2, 1fr); }
    .carrossel-inner { padding: 0 20px !important; }
    .dif-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
    .diferencial-item { gap: 16px; }
    .diferencial-arrow { display: none; }
    .sobre-grid { grid-template-columns: 1fr !important; gap: 60px !important; }
    .dif-grid { grid-template-columns: 1fr !important; }
    .loja-grid { grid-template-columns: 1fr !important; }
    .footer-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
}

@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr) !important; } .dep-grid { grid-template-columns: 1fr !important; } }
@media (max-width: 500px) { .cat-grid { grid-template-columns: 1fr !important; } }
@media (max-width: 600px) { .num-grid { grid-template-columns: repeat(2, 1fr) !important; } }

/* Linha separadora dourada ornamental */
.ornament-divider { display: flex; align-items: center; gap: 20px; margin: 20px 0; }
.ornament-divider::before, .ornament-divider::after { content: ''; flex: 1; height: 1px; background: linear-gradient(to right, transparent, rgba(152,142,70,0.4), transparent); }
.ornament-divider span { color: var(--gold); font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; }