:root {
    --primary: #FAC915;
    --primary-hover: #e5b610;
    --text-main: #1A1A1A;
    --text-muted: #666666;
    --bg-light: #FFFFFF;
    --bg-offwhite: #FAFAFA;
    --footer-bg: #212529;
    --footer-text: #F0F0F0;
    --border-color: #EAEAEA;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 0.5rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: var(--transition);
}

.header.scrolled .header-container {
    height: 70px;
}

.brand {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.brand-logo {
    max-height: 65px;
    width: auto;
    transition: var(--transition);
}

.header.scrolled .brand-logo {
    max-height: 50px;
}

.nav-list {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

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

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

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('assets/fundo_loja.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 1rem;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-main);
    margin-bottom: 2.5rem;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(255,255,255,0.9);
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: var(--text-main);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    min-height: 48px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(250, 201, 21, 0.3);
    border: none;
    cursor: pointer;
}

.primary-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(250, 201, 21, 0.4);
}

/* Custom Banners */
.banner-section {
    padding: 4rem 0 2rem;
    background-color: var(--bg-light);
}

.grau-bg {
    background-color: var(--bg-offwhite);
}

.custom-banner-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 2rem auto 4rem;
    max-width: 1000px;
}

.custom-banner-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
    object-fit: cover;
}

.custom-banner-text {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 800px;
    line-height: 1.6;
    font-weight: 500;
}

/* Stores Section */
.stores-section {
    padding: 8rem 0;
    background-color: var(--bg-offwhite);
    background-image: linear-gradient(rgba(250, 250, 250, 0.9), rgba(250, 250, 250, 0.9)), url("https://images.unsplash.com/photo-1509062522246-3755977927d7?q=80&w=1600&auto=format&fit=crop");
    background-size: cover;
    background-attachment: fixed;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

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

.store-card {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.store-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.store-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.store-card:hover::before {
    transform: scaleX(1);
}

.store-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(250, 201, 21, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.store-card:hover .store-icon {
    background-color: var(--primary);
    color: var(--text-main);
}

.store-name {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.store-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1rem;
    flex-grow: 1;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-main);
    font-weight: 600;
    text-decoration: none;
    font-size: 1.05rem;
    padding: 0.8rem 1.5rem;
    min-height: 48px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    transition: var(--transition);
}

.store-btn i {
    transition: var(--transition);
}

.store-btn:hover {
    background-color: var(--text-main);
    color: var(--bg-light);
    border-color: var(--text-main);
}

.store-btn:hover i {
    transform: translateX(4px);
}

/* Óculos Solares Section */
.solares-section {
    padding: 8rem 0;
    background-color: var(--bg-light);
}

.solares-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.solares-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.solares-text p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.solares-image {
    background: var(--bg-offwhite);
    border-radius: 20px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.placeholder-image {
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.2;
}

/* Exame de Vista Section */
.exame-section {
    padding: 8rem 0;
    background-color: var(--bg-offwhite);
    background-image: linear-gradient(rgba(250, 250, 250, 0.92), rgba(250, 250, 250, 0.92)), url("https://images.unsplash.com/photo-1509062522246-3755977927d7?q=80&w=1600&auto=format&fit=crop");
    background-size: cover;
    background-attachment: fixed;
    text-align: center;
}

.exame-content {
    max-width: 800px;
    margin: 0 auto;
}

.exame-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.exame-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    text-align: left;
    margin-bottom: 3rem;
}

.exame-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.05rem;
    font-weight: 500;
}

.exame-list i {
    color: var(--primary);
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 5rem 0 2rem;
    text-align: center;
}

.footer-logo {
    max-height: 80px;
    width: auto;
    margin-bottom: 2rem;
}

.footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid var(--primary);
    margin-bottom: 4rem;
}

.footer-btn:hover {
    background-color: var(--primary);
    color: var(--text-main);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: var(--text-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 15px rgba(250, 201, 21, 0.4);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(250, 201, 21, 0.6);
    background-color: var(--primary-hover);
    color: var(--text-main);
}

/* Gallery Grid Rules */
.gallery-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    width: 100%;
}

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

.gallery-item {
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.gallery-info {
    padding: 1.5rem;
    text-align: center;
}

.gallery-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

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

.cta-container {
    text-align: center;
    margin-top: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .header-container {
        flex-direction: column;
        justify-content: center;
        gap: 1rem;
        height: auto;
        padding: 1rem 0;
    }
    
    .header.scrolled .header-container {
        height: auto;
        padding: 0.5rem 0;
    }

    .brand {
        align-items: center;
    }

    .nav-list {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .custom-banner-text {
        font-size: 1.1rem;
        padding: 0 16px;
    }

    .stores-grid, .exame-list {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .solares-content {
        grid-template-columns: 1fr;
    }
}
