* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    line-height: 1.6;
    color: #ffffff;
    background: #fff;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #fff;
    max-width: 600px;
    width: 90%;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
}

.modal-content h2 {
    font-size: 1.5rem;
    color: #0f0f0f;
    margin-bottom: 15px;
    font-weight: 500;
}

.modal-content p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 15px;
}

.modal-scroll {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.modal-scroll h3 {
    font-size: 1.2rem;
    color: #0f0f0f;
    margin: 15px 0 10px;
    font-weight: 500;
}

.modal-scroll a {
    color: #ad0002;
    text-decoration: none;
}

.modal-scroll a:hover,
.modal-scroll a:focus {
    text-decoration: underline;
}

.modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

.modal-button {
    background: #25D366;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: 500;
}

.modal-button:hover,
.modal-button:focus {
    background: #1ebe57;
}

.modal-button:focus {
    outline: 2px solid #ad0002;
    outline-offset: 2px;
}

.settings-content {
    margin-top: 20px;
}

.settings-content label {
    display: block;
    margin: 10px 0;
    font-size: 0.9rem;
    color: #333;
}

.settings-content input {
    margin-right: 8px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

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

/* Navbar */
.navbar {
    background: #0f0f0f;
    color: #fff;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

@media (max-width: 600px) {
    .navbar {
        padding: 8px 0;
    }
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 40px;
    cursor: pointer;
}

.logo:focus {
    outline: 2px solid #ad0002;
    outline-offset: 2px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links a:hover,
.nav-links a:focus {
    color: #ad0002;
    transform: translateY(-2px);
}

.nav-links a:focus {
    outline: 2px solid #ad0002;
    outline-offset: 2px;
}

.whatsapp-btn {
    background: #25D366;
    color: #fff;
    padding: 8px 16px;
    border-radius: 25px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.3s ease;
}

.whatsapp-btn:hover,
.whatsapp-btn:focus {
    background: #1ebe57;
    transform: scale(1.05);
}

.whatsapp-btn:focus {
    outline: 2px solid #ad0002;
    outline-offset: 2px;
}

/* Navigation Buttons */
.nav-buttons {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
}

.nav-button {
    background: #0f0f0f;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.nav-button:hover,
.nav-button:focus {
    background: #ad0002;
    transform: scale(1.1);
}

.nav-button:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.nav-button.hidden {
    display: none;
}

/* Hero Section com Carrossel - Ajustes Gerais */
.hero {
    position: relative;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow: visible;
    background-color: transparent;
}

.banner-swiper {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
    background-color: transparent;
}

.swiper-slide {
    width: 100%;
    margin: 0;
    padding: 0;
    display: block;
    background-color: transparent;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain; /* Mantém a proporção sem cortar */
    margin: 0;
    padding: 0;
    background-color: #ccc; /* Fallback para imagens que não carregam */
    max-height: none !important;
    border-radius: 10px;
}

/* Media Queries para Mobile */
@media (max-width: 768px) {
    .hero::before, .hero::after,
    .banner-swiper::before, .banner-swiper::after,
    .swiper-slide::before, .swiper-slide::after {
        display: none !important;
        content: none !important;
        opacity: 0 !important;
    }

    .banner-swiper,
    .swiper-slide,
    .hero-image {
        background-color: transparent;
    }

    .hero-image {
        width: 100%; /* Garante 100% da largura da tela */
        height: auto; /* Ajusta altura automaticamente */
        object-fit: contain; /* Evita corte */
        max-width: none; /* Remove limite de largura */
    }

    .swiper-slide {
        min-height: auto;
        display: block;
    }

    picture,
    source {
        width: 100%;
        display: block;
        overflow: visible;
        background-color: transparent;
    }
}

@media (max-width: 480px) {
    .banner-swiper,
    .swiper-slide,
    .hero-image {
        background-color: transparent;
    }

    .hero-image {
        width: 100%; /* Garante 100% da largura */
        height: auto; /* Ajusta altura proporcionalmente */
        object-fit: contain; /* Preserva a imagem sem corte */
        max-width: none; /* Remove qualquer restrição de largura */
    }

    .swiper-slide {
        min-height: auto;
    }
}

/* Section Title */
.section-title {
    background: #ad0002;
    width: 100%;
    position: static;
    left: unset;
    right: unset;
    margin-left: 0;
    margin-right: 0;
    padding: 6px 0;
    margin-bottom: 20px;
    text-align: center;
    z-index: 1;
    border-radius: 10px; /* Borda arredondada para consistência */
}

.section-title h2 {
    color: #fff;
    font-size: 1.5rem;
    margin: 0;
    font-weight: 500;
}

.section-title p {
    font-size: 1.2rem;
    color: #fff;
    text-align: center;
    margin-top: 10px;
}

/* Produtos */
.products {
    padding: 40px 0;
    text-align: center;
    background: #ffd800;
}

.products h2 {
    font-size: 2rem;
    color: #f7f7f7;
    font-weight: 500;
}

.products .container p {
    font-size: 1.2rem;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
    justify-content: center; /* Centraliza os itens no desktop */
    max-width: 1200px; /* Limita a largura total do grid */
    margin: 0 auto;
}

/* Ajuste para desktop: limitar a 4 colunas */
@media (min-width: 769px) {
    .product-grid {
        grid-template-columns: repeat(4, minmax(150px, 1fr)); /* 4 colunas fixas no desktop */
    }
}

.product-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

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

.product-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 10px;
}

.product-card h3 {
    font-size: 1rem;
    margin: 10px 0;
    color: #0f0f0f;
    line-height: 1.3;
    height: 40px;
    overflow: hidden;
    font-weight: 500;
}

.whatsapp-products-btn {
    background: #25D366;
    color: #fff;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 30px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.whatsapp-products-btn:hover,
.whatsapp-products-btn:focus {
    background: #1ebe57;
    transform: scale(1.05);
}

.whatsapp-products-btn:focus {
    outline: 2px solid #ad0002;
    outline-offset: 2px;
}

/* Quem Somos */
.about {
    padding: 40px 0;
    background: #f9f9f9;
    text-align: center;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #0f0f0f;
    font-weight: 500;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
    justify-content: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.about-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0 30px 0;
    padding: 0;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: #333;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    min-width: 0;
    box-sizing: border-box;
}

.about-list li:hover {
    transform: translateY(-3px);
}

.about-list i {
    color: #ad0002;
    font-size: 1.2rem;
}

.store-image {
    max-width: 600px;
    height: auto;
    display: block;
    margin: 20px auto 0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    flex: 0 0 auto;
}

/* Nossa Missão */
.mission {
    padding: 30px 0;
    background: #f9f9f9;
    text-align: center;
}

.highlight {
    background: rgba(255, 69, 0, 0.1);
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    display: block;
}

.highlight p {
    font-size: 1.1rem;
    font-weight: 500;
    color: #0f0f0f;
    line-height: 1.5;
    margin-bottom: 15px;
}

.highlight p:last-child {
    margin-bottom: 0;
}

/* Marcas */
.brands {
    padding: 40px 0;
    background: #f9f9f9;
    text-align: center;
}

.brands h2 {
    font-size: 1.5rem;
    color: #fff;
}

.brands .container p {
    font-size: 1.2rem;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

.brands-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    position: relative;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: grab;
}

.brands-grid:active {
    cursor: grabbing;
}

.brands-grid::-webkit-scrollbar {
    display: none;
}

.brand-logo {
    flex: 0 0 auto;
    max-width: 120px;
    height: auto;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
    object-fit: contain;
}

.brand-logo:hover {
    transform: scale(1.1);
    opacity: 1;
}

/* Localização */
.location {
    padding: 40px 0;
    text-align: center;
    background: #f0f0f0;
}

.location h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #0f0f0f;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
}

.location-emoji {
    font-size: 1.5rem;
}

.map-container {
    max-width: 600px;
    margin: 0 auto;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Contato */
.contact {
    padding: 40px 0;
    text-align: center;
    background: #fff;
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #0f0f0f;
    font-weight: 500;
}

.error {
    color: #ad0002;
    margin-bottom: 15px;
}

#contact-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#contact-form input,
#contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 0.9rem;
    background: #fff;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: 2px solid #ad0002;
    border-color: #ad0002;
}

#contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

#contact-form button {
    background: #25D366;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

#contact-form button:hover,
#contact-form button:focus {
    background: #1ebe57;
    transform: scale(1.05);
}

#contact-form button:focus {
    outline: 2px solid #ad0002;
    outline-offset: 2px;
}

/* Social Media Section */
.social-media {
    background-color: #f8f9fa;
    padding: 20px 0;
    text-align: center;
}

.social-media p {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}

.social-link {
    font-size: 2rem;
    color: #e63946;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #d62828;
}

/* Footer */
.footer {
    background: #ffd800;
    color: #0f0f0f;
    padding: 20px 0;
    text-align: center;
    word-break: break-word;
    overflow-x: hidden;
}

.footer-strip {
    background: #0f0f0f;
    height: 20px;
}

.footer-logo {
    height: 65px;
    max-width: 180px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: height 0.3s, max-width 0.3s;
}

.footer p {
    color: #0f0f0f;
    margin-bottom: 15px;
    font-size: 1rem;
}

.footer-location {
    margin-bottom: 20px;
}

.footer-location a {
    color: #0f0f0f;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.footer-location a:hover,
.footer-location a:focus {
    color: #ad0002;
}

.footer-location a:focus {
    outline: 2px solid #0f0f0f;
    outline-offset: 2px;
}

.footer-location i {
    color: #ad0002;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #0f0f0f;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links a:hover,
.footer-links a:focus {
    color: #ad0002;
    transform: translateY(-2px);
}

.footer-links a:focus {
    outline: 2px solid #0f0f0f;
    outline-offset: 2px;
}

.footer-credit {
    font-size: 0.8rem;
    color: #ad0002;
    opacity: 0.7;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 0;
    padding-right: 0;
    letter-spacing: 0.5px;
    word-break: break-word;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.social-icons a {
    color: #0f0f0f;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-icons a:hover,
.social-icons a:focus {
    color: #ad0002;
}

.social-icons a:focus {
    outline: 2px solid #0f0f0f;
    outline-offset: 2px;
}

/* Responsividade */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .navbar {
        padding: 8px 0;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: #0f0f0f;
        padding: 10px 0;
    }

    .nav-menu.active {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        padding: 15px;
    }

    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 10px;
        font-size: 1.1rem;
    }

    .whatsapp-btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .section-title {
        margin-bottom: 10px;
    }

    .section-title h2,
    .about h2,
    .products h2,
    .brands h2,
    .location h2,
    .contact h2 {
        font-size: 1.1rem;
    }

    .section-title p,
    .products .container p,
    .brands .container p {
        font-size: 1rem;
    }

    .about-content {
        flex-direction: column;
    }

    .about-text {
        max-width: 100%;
    }

    .about-list {
        grid-template-columns: 1fr;
    }

    .store-image {
        max-width: 200px;
        margin: 20px auto 0;
    }

    .highlight {
        padding: 15px;
        max-width: 100%;
    }

    .highlight p {
        font-size: 1rem;
    }

    .products,
    .about,
    .brands,
    .location,
    .contact,
    .social-media {
        padding: 30px 0;
    }

    .mission {
        padding: 20px 0;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); /* Ajuste para mobile */
        gap: 15px;
    }

    .product-card {
        padding: 10px;
    }

    .product-card h3 {
        font-size: 0.9rem;
        height: 36px;
    }

    .whatsapp-products-btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }

    .brands-grid {
        gap: 10px;
        padding: 15px 0;
    }

    .brand-logo {
        max-width: 80px;
    }

    .map-container iframe {
        height: 300px;
    }

    .nav-buttons {
        right: 10px;
    }

    .nav-button {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .footer-logo {
        height: 35px;
        max-width: 90px;
    }

    .footer p {
        font-size: 0.9rem;
    }

    .modal-content {
        width: 95%;
        padding: 15px;
    }

    .modal-scroll {
        max-height: 300px;
    }

    .footer-credit {
        margin-top: 18px;
        text-align: center;
        padding-right: 0;
    }

    .section-title {
        font-size: 1.2rem;
        padding: 8px 0;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 4px 0;
    }

    .logo {
        height: 25px;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 8px;
    }

    .whatsapp-btn {
        font-size: 0.75rem;
        padding: 4px 8px;
    }

    .products,
    .about,
    .brands,
    .location,
    .contact,
    .social-media {
        padding: 20px 0;
    }

    .mission {
        padding: 15px 0;
    }

    .section-title {
        margin-bottom: 8px;
    }

    .section-title h2,
    .brands h2 {
        font-size: 1rem;
    }

    .section-title p,
    .products .container p,
    .brands .container p {
        font-size: 0.9rem;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
    }

    .product-card {
        padding: 8px;
    }

    .product-card h3 {
        font-size: 0.85rem;
        height: 32px;
        margin: 5px 0;
    }

    .brands-grid {
        gap: 8px;
        padding: 10px 0;
    }

    .brand-logo {
        max-width: 60px;
    }

    #contact-form input,
    #contact-form textarea {
        padding: 8px;
        font-size: 0.85rem;
    }

    #contact-form textarea {
        min-height: 100px;
    }

    #contact-form button {
        padding: 8px;
        font-size: 0.85rem;
    }

    .whatsapp-products-btn {
        font-size: 0.85rem;
        padding: 8px 16px;
        margin-top: 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-logo {
        height: 25px;
        max-width: 70px;
    }

    .footer p {
        font-size: 0.85rem;
    }

    .social-icons {
        gap: 10px;
    }

    .social-icons a {
        font-size: 1rem;
    }

    .modal-content h2 {
        font-size: 1.3rem;
    }

    .modal-button {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .footer-credit {
        font-size: 0.65rem;
    }

    .highlight p {
        font-size: 0.95rem;
    }

    .about-text {
        min-width: 0;
    }

    .about-list {
        grid-template-columns: 1fr;
    }

    .about-list li {
        padding: 10px;
    }

    .nav-buttons {
        right: 5px;
    }

    .nav-button {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 8px;
    }

    .product-card {
        padding: 6px;
    }

    .product-card h3 {
        font-size: 0.8rem;
        height: 30px;
        margin: 4px 0;
    }

    .whatsapp-btn {
        padding: 3px 6px;
        font-size: 0.7rem;
    }

    .brands-grid {
        gap: 6px;
        padding: 8px 0;
    }

    .brand-logo {
        max-width: 45px;
    }

    .footer-logo {
        height: 20px;
        max-width: 60px;
    }

    .container {
        padding: 0 8px;
    }
}