/* Reset e Configurações Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0f9d58;
    --secondary-color: #1a73e8;
    --accent-color: #f4b400;
    --text-color: #333;
    --light-text: #777;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --white: #fff;
    --border-color: #e0e0e0;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 4px;
}

body {
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Botões */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    text-align: center;
}

.btn:hover {
    background-color: #0b8043;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #1769d1;
}

.btn-accent {
    background-color: var(--accent-color);
}

.btn-accent:hover {
    background-color: #e5a700;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    color: var(--light-text);
    font-size: 18px;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
}

.logo span {
    color: var(--primary-color);
}

.menu ul {
    display: flex;
}

.menu li {
    margin: 0 15px;
}

.menu a {
    position: relative;
    font-weight: 500;
    transition: var(--transition);
}

.menu a:hover,
.menu a.active {
    color: var(--primary-color);
}

.menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

.menu a:hover::after,
.menu a.active::after {
    width: 100%;
}

.header-icons {
    display: flex;
    align-items: center;
}

.header-icons .icon {
    margin-left: 15px;
    font-size: 20px;
    position: relative;
    transition: var(--transition);
}

.header-icons .icon:hover {
    color: var(--primary-color);
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: var(--white);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Banner */
.banner {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://m.media-amazon.com/images/I/713rbsp+lTL._AC_UF1000,1000_QL80_.jpg') center/cover;
    height: 500px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
}

.banner-content {
    max-width: 700px;
    margin: 0 auto;
}

.banner-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Produtos */
.produtos {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 30px;
}

.produto {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.produto:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.produto-img {
    height: 220px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.produto-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.produto:hover .produto-img img {
    transform: scale(1.05);
}

.produto-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 5px 10px;
    border-radius: var(--border-radius);
    font-size: 12px;
    font-weight: 500;
}

.produto-info {
    padding: 20px;
}

.produto-nome {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.produto-descricao {
    color: var(--light-text);
    margin-bottom: 15px;
    font-size: 14px;
    height: 45px;
    overflow: hidden;
}

.produto-preco {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.preco-valor {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
}

.produto-btn {
    width: 100%;
    padding: 10px;
    font-size: 15px;
}

/* Diferenciais */
.diferenciais {
    padding: 60px 0;
    background-color: var(--white);
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.diferencial-item {
    padding: 30px 20px;
    transition: var(--transition);
    border-radius: var(--border-radius);
}

.diferencial-item:hover {
    box-shadow: var(--shadow);
    background-color: var(--light-bg);
}

.diferencial-item i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.diferencial-item h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.diferencial-item p {
    color: var(--light-text);
}

/* Depoimentos */
.depoimentos {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.depoimentos-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.depoimento-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.depoimento-texto {
    margin-bottom: 20px;
    position: relative;
    padding-left: 25px;
}

.depoimento-texto::before {
    content: '"';
    font-size: 50px;
    color: var(--primary-color);
    position: absolute;
    top: -20px;
    left: 0;
    font-family: Georgia, serif;
}

.depoimento-autor {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.depoimento-autor h4 {
    font-weight: 600;
}

.estrelas {
    color: var(--accent-color);
}

/* Newsletter */
.newsletter {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.newsletter-content {
    text-align: center;
}

.newsletter-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

#newsletter-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}

#newsletter-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 16px;
}

#newsletter-form button {
    background-color: var(--dark-bg);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 0 25px;
}

#newsletter-form button:hover {
    background-color: black;
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-col p {
    color: #aaa;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #aaa;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contato li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #aaa;
}

.footer-contato i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-pagamentos,
.footer-certificacoes {
    display: flex;
    gap: 10px;
    font-size: 24px;
    color: #aaa;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 14px;
}

.mt-20 {
    margin-top: 20px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: var(--white);
    margin: 50px auto;
    padding: 30px;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 600px;
    animation: slideDown 0.4s ease;
    max-height: 80vh;
    overflow-y: auto;
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modal-content h2 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.carrinho-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.carrinho-item-img {
    width: 80px;
    height: 80px;
    margin-right: 15px;
}

.carrinho-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.carrinho-item-detalhes {
    flex: 1;
}

.carrinho-item-nome {
    font-weight: 600;
    margin-bottom: 5px;
}

.carrinho-item-preco {
    color: var(--primary-color);
    font-weight: 600;
}

.carrinho-item-qtd {
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.carrinho-item-qtd button {
    width: 25px;
    height: 25px;
    border: 1px solid var(--border-color);
    background: none;
    cursor: pointer;
}

.carrinho-item-qtd span {
    margin: 0 10px;
    font-weight: 600;
}

.carrinho-item-remover {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    margin-left: 20px;
    font-size: 18px;
}

.carrinho-total {
    margin: 20px 0;
    text-align: right;
    font-size: 18px;
    font-weight: 600;
}

.carrinho-vazio {
    text-align: center;
    padding: 30px 0;
    color: var(--light-text);
}

/* Notificação */
.notificacao {
    position: fixed;
    top: 90px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    padding: 15px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    z-index: 1000;
    transform: translateY(-100px);
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.notificacao.show {
    transform: translateY(0);
    opacity: 1;
}

.ofertas-timer {
    display: flex;
    justify-content: center;
    margin: 20px 0 30px;
}

.timer-item {
    text-align: center;
    margin: 0 10px;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    padding: 15px;
    min-width: 80px;
}

.timer-num {
    font-size: 28px;
    font-weight: 700;
}

.timer-text {
    font-size: 12px;
    text-transform: uppercase;
    margin-top: 5px;
}

/* Responsividade */
@media (max-width: 992px) {
    .header-container {
        flex-direction: column;
        padding: 15px 0;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .menu ul {
        justify-content: center;
        margin-bottom: 15px;
    }
    
    .header-icons {
        position: absolute;
        top: 15px;
        right: 20px;
    }
    
    .banner {
        height: 400px;
    }
    
    .banner-content h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .banner {
        height: 350px;
    }
}
