/* Reset e Estilos Globais */
html {
  scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Taheadera, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #333;
    transform: translateY(-2px);
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    color: #222;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #e63946;
}

.bg-light {
    background-color: #f9f9f9;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    letter-spacing: 1px;
}

.logo p {
    font-size: 0.9rem;
    color: #777;
    font-style: italic;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #000;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: #000;
}

nav ul li a i {
    font-size: 1.3rem;
}

/* Banner */
#banner {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('imagens/fundo.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 220px 0 120px;
    margin-top: 80px;
}

#banner h2 {
    font-size: 3rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.3;
}

#banner p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

#banner h2 .destaque-vida {
    color: #23a35d;
    font-size: 1.5em;
    text-shadow: 0 0 10px rgba(26, 113, 228, 0.3);
    display: inline-block;
}

@keyframes pulse {
    from { transform: scale(1); }
    to { transform: scale(1.3); }
}

/* Carrossel */
.carrossel-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

.produtos-carrossel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
}

.produtos-carrossel::-webkit-scrollbar {
    display: none;
}

.produtos-carrossel:active {
    cursor: grabbing;
}

.produto {
    flex: 0 0 auto;
    width: 280px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.produto:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.produto-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.produto img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.produto:hover img {
    transform: scale(1.03);
}

.produto h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
    color: #222;
    font-weight: 600;
}

.preco {
    margin-bottom: 20px;
    font-weight: bold;
    color: #e63946;
    font-size: 1.3rem;
}

.btn-comprar {
    display: block;
    width: 100%;
    padding: 15px;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    border-radius: 0 0 10px 10px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.produto-content a {
    text-decoration: none;
    display: inline-block; /* Isso ajuda no alinhamento */
}

.btn-comprar:hover {
    background: #e63946;
    letter-spacing: 2px;
}

.carrossel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.carrossel-btn:hover {
    background: #000;
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* Sobre */
.sobre-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.sobre-texto {
    flex: 1;
}

.sobre-texto p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.sobre-imagem {
    flex: 1;
    position: relative;
}

.sobre-imagem img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.sobre-imagem:hover img {
    transform: scale(1.02);
}

/* Newsletter */
#newsletter {
    text-align: center;
    background: #f0f0f0;
    padding: 100px 0;
}

#newsletter h2 {
    margin-bottom: 20px;
    font-size: 2.2rem;
}

#newsletter p {
    margin-bottom: 40px;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#newsletter form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

#newsletter input {
    flex: 1;
    padding: 15px;
    border: none;
    font-size: 1rem;
    outline: none;
}

#newsletter button {
    padding: 0 30px;
    font-weight: 600;
}

/* Footer */
footer {
    background: #222;
    color: #fff;
    padding: 80px 0 0;
}

footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.footer-col h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: #e63946;
}

.footer-col p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #bbb;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.footer-col ul li a:hover {
    color: #fff;
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-icons a {
    color: #fff;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-decoration: none;
}

.social-icons a:hover {
    background: #e63946;
    transform: translateY(-5px);
}

.whatsapp-link {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-link:hover {
    color: #25D366;
}

.copyright {
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
    border-top: 1px solid #444;
    font-size: 0.9rem;
    color: #bbb;
}

/* Efeitos e Animações */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.section {
    animation: fadeIn 0.8s ease forwards;
}

/* Responsivo */
@media (max-width: 992px) {
    .sobre-content {
        flex-direction: column;
    }
    
    .sobre-imagem {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
        padding: 15px 0;
    }

    .logo {
        margin-bottom: 15px;
    }

    nav ul {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 0 10px 10px;
    }

    #banner {
        padding: 180px 0 80px;
    }

    #banner h2 {
        font-size: 2.2rem;
    }

    #banner p {
        font-size: 1.1rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .produto {
        width: 240px;
    }
    
    .carrossel-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    #newsletter form {
        flex-direction: column;
    }
    
    #newsletter input {
        border-radius: 5px 5px 0 0;
    }
    
    #newsletter button {
        border-radius: 0 0 5px 5px;
    }
    
    footer .container {
        grid-template-columns: 1fr;
    }
    
    .footer-col {
        margin-bottom: 30px;
    }
    
    .carrossel-container {
        padding: 0 20px;
    }
    
    .carrossel-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}