/* ===== CSS RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== CSS VARIABLES ===== */
:root {
    /* Colors */
    --primary-white: #ffffff;
    --primary-orange: #ff6b35;
    --light-gray: #f5f5f5;
    --medium-gray: #cccccc;
    --dark-gray: #333333;
    --darker-gray: #1a1a1a;
    --orange-hover: #e55a2b;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.2);
    
    /* Fonts */
    --font-title: 'Exo 2', sans-serif;
    --font-text: 'Roboto', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* ===== BASE STYLES ===== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-text);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--primary-white);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

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

/* ===== TYPOGRAPHY ===== */
.section-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-gray);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--medium-gray));
    border-radius: 2px;
}

.highlight {
    color: var(--primary-orange);
    font-weight: 800;
}

/* ===== MINI HEADER ===== */
.mini-header {
    background: #2c2c2c; /* Cinza escuro */
    height: 35px;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mini-header-swiper {
    height: 100%;
}

.mini-header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: white;
    font-family: var(--font-text);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    gap: 8px;
}

.mini-header-content i {
    font-size: 12px;
    color: var(--primary-orange); /* Ícones em laranja */
    opacity: 1;
}

.mini-header-content span {
    white-space: nowrap;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 35px;
    left: 0;
    width: 100%;
    background: var(--primary-white);
    box-shadow: 0 2px 20px var(--shadow-color);
    z-index: 9998;
    transition: var(--transition);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo .logo {
    height: 50px;
    width: auto;
}

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

.nav-link {
    font-family: var(--font-title);
    font-weight: 500;
    color: var(--dark-gray);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-orange);
    background-color: var(--light-gray);
}

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

.nav-link:hover::before {
    width: 80%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark-gray);
    transition: var(--transition);
    border-radius: 2px;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: none;
    line-height: 1;
    background-image: url('assets/background-desktop.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.7), rgba(255, 107, 53, 0.3));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: var(--container-padding);
    padding-top: 140px; /* 35px mini-header + 82px header + 23px extra space */
    margin: 0 auto;
}

.hero-container {
    max-width: 800px;
    text-align: left;
}

.hero-intro {
    font-size: 1.2rem;
    color: var(--primary-white);
    margin-bottom: 1rem;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-white);
    margin-bottom: 2.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title .highlight {
    color: var(--primary-orange);
    font-weight: 800;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-orange), var(--orange-hover));
    color: var(--primary-white);
    padding: 1rem 2rem;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-sizing: border-box;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--primary-white);
    color: var(--primary-white);
    box-shadow: none;
}

.cta-button.secondary:hover {
    background: var(--primary-white);
    color: var(--dark-gray);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* ===== ABOUT & VIDEO SECTION ===== */
.about-section {
    padding: var(--section-padding);
    background-color: var(--primary-white);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 4rem;
}

.about-text {
    font-size: 1.2rem;
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.video-title {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    text-align: center;
}

.video-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    box-shadow: 0 10px 30px var(--shadow-color);
    border: 2px solid var(--medium-gray);
    max-width: 400px; /* Limita a largura para vídeos verticais */
    margin: 0 auto; /* Centraliza o vídeo */
    overflow: hidden;
}

.video-wrapper video {
    width: 100%;
    height: auto;
    max-height: 600px; /* Limita altura máxima */
    border-radius: 8px;
}

/* YouTube Fallback Styles */
.youtube-fallback {
    margin-top: 1.5rem;
    text-align: center;
}

.youtube-text {
    font-size: 1rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-style: italic;
}

.youtube-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: var(--primary-white);
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.youtube-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
    background: linear-gradient(135deg, #cc0000, #990000);
}

.youtube-button i {
    font-size: 1.2rem;
}

/* ===== CATALOG SECTION ===== */
.catalog-section {
    padding: var(--section-padding);
    background-color: var(--light-gray);
}

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

.product-card {
    background: var(--primary-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--shadow-color);
    transition: var(--transition);
    border: 1px solid var(--medium-gray);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow-dark);
}

.product-image {
    height: 250px;
    overflow: hidden;
    background-color: var(--light-gray);
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 1rem;
}

.product-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-orange), var(--orange-hover));
    color: var(--primary-white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-family: var(--font-title);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.product-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

/* ===== LOCATION SECTION ===== */
.location-section {
    padding: var(--section-padding);
    background-color: #2c2c2c; /* Cinza escuro */
}

.location-section .section-title {
    color: white; /* Título em branco */
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.location-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px var(--shadow-color);
    border: 2px solid var(--medium-gray);
}

.address-card {
    background: #3a3a3a; /* Cinza mais claro que o fundo */
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid #555;
}

.address-title {
    font-family: var(--font-title);
    font-size: 1.4rem;
    font-weight: 600;
    color: white; /* Texto em branco */
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.address-title i {
    color: var(--primary-orange);
}

.address-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: white; /* Texto em branco */
}

.maps-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--dark-gray), var(--darker-gray));
    color: var(--primary-white);
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-family: var(--font-title);
    font-weight: 500;
    transition: var(--transition);
}

.maps-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* ===== DELIVERY SECTION ===== */
.delivery-section {
    padding: var(--section-padding);
    background-color: var(--primary-white);
}

.delivery-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.delivery-card {
    background: var(--primary-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px var(--shadow-color);
    border: 1px solid var(--medium-gray);
    transition: var(--transition);
}

.delivery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow-dark);
}

.delivery-icon {
    font-size: 3rem;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.delivery-title {
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.delivery-description {
    color: var(--dark-gray);
    line-height: 1.6;
}

.delivery-note {
    text-align: center;
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-orange);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: var(--section-padding);
    background-color: var(--light-gray);
}

.contact-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    background: var(--primary-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px var(--shadow-color);
    border: 1px solid var(--medium-gray);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow-dark);
}

.contact-icon {
    font-size: 3rem;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.contact-title {
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.contact-info {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-orange), var(--orange-hover));
    color: var(--primary-white);
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-family: var(--font-title);
    font-weight: 500;
    transition: var(--transition);
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--darker-gray);
    color: var(--primary-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--medium-gray);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-orange);
    color: var(--primary-white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--orange-hover);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--dark-gray);
    padding-top: 1rem;
    text-align: center;
    color: var(--medium-gray);
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--primary-white);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    position: relative;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-notification {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff0000;
    color: var(--primary-white);
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 12px;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255, 0, 0, 0.4);
    animation: notification-pulse 2s infinite;
    border: 2px solid var(--primary-white);
}

@keyframes notification-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 0, 0, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(255, 0, 0, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 0, 0, 0.4);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    /* Mini Header Mobile */
    .mini-header {
        height: 30px;
    }
    
    .mini-header-content {
        font-size: 11px;
        gap: 6px;
    }
    
    .mini-header-content i {
        font-size: 10px;
    }
    
    /* Header Mobile */
    .header {
        top: 30px;
    }
    
    /* Hero Mobile */
    .hero {
        background-image: url('assets/background-mobile.png');
    }
    
    .hero-content {
        padding-top: 130px; /* 30px mini-header + 82px header + 18px extra space */
        margin: 0 auto;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-container {
        max-width: 100%;
    }
    
    .hero-intro {
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .hero-title .highlight {
        font-weight: 800;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    /* Video responsivo para mobile */
    .video-wrapper {
        max-width: 300px; /* Menor em mobile */
    }
    
    .video-wrapper video {
        max-height: 400px; /* Altura máxima menor em mobile */
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow-color);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title .highlight {
        font-size: 1.7rem;
    }
    
    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .catalog-grid {
        grid-template-columns: 1fr;
    }
    
    .delivery-options {
        grid-template-columns: 1fr;
    }
    
    .contact-options {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .hero-container {
        padding: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.3rem;
    }
    
    .hero-title .highlight {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .whatsapp-notification {
        top: -6px;
        right: -6px;
        font-size: 0.7rem;
        padding: 3px 6px;
        min-width: 18px;
        height: 18px;
    }
}

/* ===== SCROLL ANIMATIONS ===== */
@media (prefers-reduced-motion: no-preference) {
    .animate__animated {
        animation-duration: 0.8s;
        animation-fill-mode: both;
    }
    
    .animate__fadeInUp {
        animation-delay: 0.2s;
    }
    
    .animate__fadeInLeft {
        animation-delay: 0.3s;
    }
    
    .animate__fadeInRight {
        animation-delay: 0.4s;
    }
}