:root {
    --primary-color: #F89406;
    --secondary-color: #E67E00;
    --text-color: #1f2937;
    --bg-color: #ffffff;
    --bg-secondary: #f3f4f6;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] {
    --primary-color: #F89406;
    --secondary-color: #FFA726;
    --text-color: #f9fafb;
    --bg-color: #111827;
    --bg-secondary: #1f2937;
    --border-color: #374151;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

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

/* Theme Toggle */
/* Theme Toggle (desktop) */
.theme-toggle {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 999px;
    width: 46px;
    height: 36px;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 16px;
    flex-shrink: 0;
}

.theme-toggle i {
    font-size: 1rem;
}

.theme-toggle:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}


.header {
    background-color: var(--bg-secondary);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 10px 0;
}

.header .container.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.logo {
    height: 40px;
    width: auto;
    display: none;
}

.logo.visible {
    display: block;
}

.company-name {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav a:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

/* Menu mobile container (fica escondido até abrir) */
.mobile-menu {
    display: none;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.mobile-menu.open {
    display: block;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 12px 20px 8px;
    gap: 10px;
}

.mobile-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
}

.mobile-nav a:hover {
    color: var(--primary-color);
}

/* Botão de tema dentro do menu mobile */
.theme-toggle-inline {
    width: 100%;
    border: none;
    background-color: transparent;
    border-top: 1px solid var(--border-color);
    padding: 12px 20px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-color);
}

.theme-toggle-inline i {
    font-size: 1rem;
    color: var(--primary-color);
}


/* Hero */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 100px 20px;
}

.hero .container,
.hero-container {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    gap: 40px;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.3rem;
    opacity: 0.9;
}

.hero-actions {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn,
.btn-primary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.98rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #ffffff;
    color: #1f2937;
    box-shadow: var(--shadow-lg);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.25);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid rgba(255,255,255,0.6);
    color: white;
}

.btn-outline:hover {
    background-color: rgba(255,255,255,0.08);
    transform: translateY(-2px);
}

.hero-highlights {
    margin-top: 25px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.95rem;
}

.hero-highlights li {
    display: flex;
    align-items: center;
}

.hero-highlights i {
    margin-right: 6px;
}

/* Logo Showcase */
.logo-showcase {
    padding: 60px 20px;
    background-color: var(--bg-secondary);
    text-align: center;
}

.logo-showcase-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.showcase-logo-img {
    max-width: 300px;
    max-height: 200px;
    width: auto;
    height: auto;
    display: none;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.showcase-logo-img.visible {
    display: block;
}

/* Sections */
.section {
    padding: 80px 20px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px;
    font-size: 1rem;
    color: #4b5563;
}

/* Offers & Catalog */
.offers {
    background-color: var(--bg-color);
}

.catalog {
    background-color: var(--bg-secondary);
}

.offers-grid,
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.offer-card,
.catalog-item {
    background-color: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.catalog-item {
    background-color: var(--bg-color);
}

.offer-card:hover,
.catalog-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.offer-card img,
.catalog-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.offer-content,
.catalog-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.offer-content h3,
.catalog-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.offer-content p,
.catalog-content p {
    margin-bottom: 15px;
    color: var(--text-color);
    flex: 1;
}

.offer-price {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.offer-old-price {
    text-decoration: line-through;
    color: #999;
}

.offer-new-price {
    color: #10b981;
    font-weight: bold;
    font-size: 1.5rem;
}

.product-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn-whatsapp,
.btn-catalog {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.btn-whatsapp {
    background-color: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
}

.btn-catalog {
    background-color: var(--primary-color);
    color: white;
}

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

/* Gallery */
.gallery {
    background-color: var(--bg-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.3s;
}

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

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-item-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px 10px 10px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-item-caption {
    transform: translateY(0);
}

/* About */
.about {
    background-color: var(--bg-secondary);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-content > p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.8;
    text-align: center;
}

.about-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.about-block {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.about-block h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1rem;
    word-break: break-word;
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    min-width: 20px;
    flex-shrink: 0;
}

.info-item span {
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Business Hours */
.business-hours {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-day {
    font-weight: 600;
    color: var(--text-color);
}

.hours-time {
    color: var(--primary-color);
    font-weight: 500;
}

.hours-time.closed {
    color: #ef4444;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 100%;
}

.payment-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--bg-secondary);
    border-radius: 20px;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
}

.payment-item i {
    color: var(--primary-color);
    font-size: 1rem;
    min-width: 18px;
    flex-shrink: 0;
}

/* Location */
.location {
    background-color: var(--bg-color);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background-color: var(--bg-secondary);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 15px;
}

.info-card i {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-top: 5px;
}

.info-card h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.info-card p {
    color: var(--text-color);
    line-height: 1.6;
}

.btn-maps {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.btn-maps:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Social */
.social {
    background-color: var(--bg-secondary);
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.8rem;
    text-decoration: none;
    transition: transform 0.3s, background-color 0.3s;
}

.social-link:hover {
    transform: scale(1.15);
}

.social-link.facebook { background-color: #1877f2; }
.social-link.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-link.whatsapp { background-color: #25d366; }
.social-link.x { background-color: #000000; }
.social-link.tiktok { background: linear-gradient(135deg, #ff0050, #00f2ea); }
.social-link.kwai { background-color: #ff6600; }
.social-link.linkedin { background-color: #0077b5; }
.social-link.youtube { background-color: #ff0000; }

/* Footer */
.footer {
    background-color: var(--bg-color);
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid var(--border-color);
}

.footer-info p {
    color: var(--text-color);
    margin-bottom: 8px;
}

.cnpj {
    font-size: 0.9rem;
    color: #6b7280;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero .container,
    .hero-container {
        grid-template-columns: 1.2fr 1fr;
        gap: 24px;
    }

    .hero-content h2 {
        font-size: 2.4rem;
    }
}

@media (min-width: 769px) {
    .nav {
        display: flex;
    }

    .theme-toggle {
        display: inline-flex;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .mobile-menu {
        display: none !important;
    }
}


@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .theme-toggle {
        display: none; /* não mostra o botão de tema do header no mobile */
    }
    
    .mobile-menu-toggle {
        display: block;
    }

    .header .container.header-inner {
        gap: 12px;
    }

    .logo-container {
        flex: 1;
        min-width: 0;
    }

    .company-name {
        font-size: 1.2rem;
    }

    .logo {
        height: 36px;
    }
    
    
    .hero {
        padding: 70px 20px;
    }

    .hero .container,
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-actions {
        justify-content: center;
    }

    .hero-highlights {
        align-items: center;
    }

    .hero-highlights li {
        justify-content: center;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }

    /* Se tiver uma seção de logo-showcase separada, escondemos no mobile
       se você já estiver mostrando a logo no hero */
    section.logo-showcase {
        display: none;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .company-name {
        font-size: 1.4rem;
    }
    
    .showcase-logo-img {
        max-width: 200px;
    }
    
    .about-details {
        grid-template-columns: 1fr;
    }
    
    .location-content {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid,
    .offers-grid,
    .catalog-grid {
        grid-template-columns: 1fr;
    }

    .product-actions {
        flex-direction: column;
    }

    .map-container {
        height: 320px;
    }
}

@media (max-width: 480px) {
    
    .hero {
        padding: 60px 16px;
    }
    
    .section {
        padding: 40px 16px;
    }

    .logo-showcase {
        padding: 40px 16px;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }

    .about-content > p {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .header .container {
        padding: 0 12px;
    }

    .logo-container {
        gap: 8px;
    }

    .logo {
        height: 40px;
    }
}
