/* =========================================
   VARIABLES & DESIGN TOKENS
   ========================================= */
:root {
    /* Colors extracted from prototype */
    --primary: #4A1C40;
    --primary-dark: #2A0F24;
    --primary-light: #6A2C5D;
    --secondary: #C865A4;
    --secondary-hover: #D576B4;
    
    --text-main: #ffffff;
    --text-muted: #e0d0df;
    
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    /* Typography */
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Layout */
    --header-height: 80px;
    --container-padding: 1.5rem;
    --transition: all 0.3s ease;
}

/* =========================================
   RESET & BASE STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--primary-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    /* Subtle background gradient */
    background: radial-gradient(circle at top right, var(--primary), var(--primary-dark));
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Typography Utility */
h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    font-weight: 600;
}

.text-highlight {
    color: var(--secondary);
}

.text-link {
    color: var(--secondary);
    font-weight: 600;
    transition: var(--transition);
}
.text-link:hover {
    color: var(--text-main);
}

/* Layout Utility */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--secondary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(200, 101, 164, 0.4);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(200, 101, 164, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--text-main);
}

.btn-outline:hover {
    background: var(--text-main);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

/* =========================================
   HEADER & NAV
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(42, 15, 36, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0px;
    /* Novo estilo Premium: Gradiente e sem sombra pesada */
    background: linear-gradient(45deg, #ffffff, var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition);
}

.logo:hover {
    opacity: 0.8;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 3px;
    transition: var(--transition);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><path d="M20 0c11 0 20 9 20 20s-9 20-20 20S0 31 0 20 9 0 20 0zm0 2c-9.9 0-18 8.1-18 18s8.1 18 18 18 18-8.1 18-18S29.9 2 20 2z" fill="%23ffffff" fill-rule="evenodd"/></svg>');
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
}

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

.hero-img-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: hero-float 4s ease-in-out infinite;
}

/* Glow animado atrás do produto */
.hero-img-wrapper::before {
    content: '';
    position: absolute;
    width: 70%;
    height: 70%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 101, 164, 0.35) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
    animation: glow-pulse 3s ease-in-out infinite alternate;
}

.hero-img {
    width: 100%;
    max-width: 520px;
    border: none;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    z-index: 1;
    transition: transform 0.5s ease;
    /* Máscara gradiente agressiva — bordas desaparecem completamente */
    -webkit-mask-image: radial-gradient(ellipse 75% 75% at center, #000 40%, transparent 75%);
    mask-image: radial-gradient(ellipse 75% 75% at center, #000 40%, transparent 75%);
}

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

@keyframes hero-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes glow-pulse {
    0% { opacity: 0.5; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1.1); }
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transform: rotate(8deg);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 2;
    animation: badge-float 3s ease-in-out infinite;
}

@keyframes badge-float {
    0%, 100% { transform: rotate(8deg) translateY(0); }
    50% { transform: rotate(8deg) translateY(-6px); }
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 24px;
    transition: transform 0.6s ease;
}

.about-img-wrapper:hover .about-img {
    transform: scale(1.05);
}

.about-list {
    margin-top: 1.5rem;
}

.about-list li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 2rem;
    color: var(--text-muted);
}

.about-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* =========================================
   MENU SECTION
   ========================================= */
.section-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

.menu-card-img {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.menu-card-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.menu-card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =========================================
   EVENTS SECTION
   ========================================= */
.events {
    background-color: var(--primary);
    position: relative;
}

.events-container {
    display: flex;
    justify-content: center;
    text-align: center;
}

.events-content {
    max-width: 600px;
}

.event-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 2rem 0;
    text-align: left;
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    border-radius: 10px;
    padding: 1rem;
    min-width: 80px;
}

.event-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.event-date .month {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.event-info h3 {
    margin-bottom: 0.3rem;
}

.event-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-cta {
    margin-top: 2rem;
    font-size: 1.1rem;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background: var(--primary-dark);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    font-size: 0.9rem;
}

.footer-links h4, .footer-social h4 {
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.social-icon:hover {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =========================================
   ANIMATIONS & UTILS
   ========================================= */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   MEDIA QUERIES (TABLET & DESKTOP)
   ========================================= */
@media screen and (max-width: 767px) {
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: rgba(42, 15, 36, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        border-top: 1px solid var(--glass-border);
    }
    
    .nav-menu.show-menu {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    
    .nav-link {
        font-size: 1.5rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    /* Hamburger Animation */
    .nav-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    .nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
}

@media screen and (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (min-width: 1024px) {
    .hero-title {
        font-size: 5rem;
    }
    
    .menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .container {
        padding: 0 2rem;
    }
}
