/* --- GERAL, PALETAS DE CORES E TIPOGRAFIA --- */
/*teste*/
:root {
    /* TEMA CLARO (PADRÃO) */
    --brand-primary: #00796B;
    --brand-action: #FFAB40;
    --bg-light: #F5F5F5;
    --bg-white: #FFFFFF;
    --text-dark: #212121;
    --text-light: #757575;
    --border-color: #E0E0E0;

    /* TIPOGRAFIA */
    --serif-font: 'Lora', serif;
    --sans-font: 'Poppins', sans-serif;
}

/* TEMA ESCURO */
body.dark-mode {
    --brand-primary: #4DB6AC; /* Verde mais claro */
    --brand-action: #FFB74D; /* Laranja mais claro */
    --bg-light: #212121;  /* Fundo principal escuro */
    --bg-white: #303030;  /* Fundo dos cards escuro */
    --text-dark: #F5F5F5;  /* Texto principal claro */
    --text-light: #BDBDBD; /* Texto secundário claro */
    --border-color: #424242; /* Bordas mais sutis */
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans-font);
    color: var(--text-dark);
    background-color: var(--bg-light); /* Fundo principal da página */
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex; /* Adicionado para o rodapé */
    flex-direction: column; /* Adicionado para o rodapé */
    min-height: 100vh; /* Adicionado para o rodapé */
}

main {
    flex-grow: 1; /* Adicionado para o rodapé */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: var(--serif-font);
    color: var(--brand-primary);
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: normal;
    margin-bottom: 1rem;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--brand-action);
    margin: 0.5rem auto 0;
}

section {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

/* --- ANIMAÇÕES DE SCROLL --- */
.animate-on-scroll { opacity: 0; transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-in-up { transform: translateY(40px); }
.slide-from-left { transform: translateX(-50px); }
.slide-from-right { transform: translateX(50px); }
.animate-on-scroll.is-visible { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: 0.2s; }
[data-delay="2"] { transition-delay: 0.4s; }


/* --- HEADER --- */
.header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}
.header .container { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { font-family: var(--serif-font); font-size: 2rem; color: var(--brand-primary); text-decoration: none; font-weight: bold;}
.nav-menu a {
    text-decoration: none; color: var(--text-dark); margin: 0 15px; font-size: 1rem;
    padding-bottom: 5px; border-bottom: 2px solid transparent; transition: border-color 0.3s, color 0.3s;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--brand-primary); border-bottom-color: var(--brand-primary); }

.header-icons { display: flex; align-items: center; gap: 20px; }
.cart-icon, .theme-toggle { font-size: 1.5rem; color: var(--text-dark); position: relative; text-decoration: none; }
.cart-count {
    position: absolute; top: -5px; right: -10px; background-color: var(--brand-action); color: #fff;
    width: 20px; height: 20px; border-radius: 50%; font-size: 0.75rem; font-weight: bold;
    display: flex; justify-content: center; align-items: center;
}
.hamburger { display: none; font-size: 1.5rem; background: none; border: none; cursor: pointer; color: var(--text-dark); }


/* BOTÃO MODO ESCURO */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
}
.theme-toggle .fa-sun { display: none; }
.dark-mode .theme-toggle .fa-sun { display: inline-block; }
.dark-mode .theme-toggle .fa-moon { display: none; }


/* --- HERO --- */
.hero {
    position: relative;
    background-image: url('https://images.cdn-files-a.com/uploads/9338583/2000_gi-66686e6074d33.jpg');
    background-size: cover; background-position: center; display: flex;
    justify-content: center; align-items: center; height: calc(100vh - 80px); color: #fff;
}
.hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); z-index: 1; }
.hero-card {
    position: relative; z-index: 2; background-color: rgba(0, 0, 0, 0.3); padding: 50px 70px;
    text-align: center; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero-card h1 { font-size: 3.5rem; margin-bottom: 15px; font-weight: bold; color: #fff; }
.hero-card p { font-size: 1.3rem; margin-bottom: 40px; color: #eee; }

/* --- BOTÃO PRINCIPAL COM ANIMAÇÃO --- */
.btn {
    background-color: var(--brand-action); color: var(--bg-light); padding: 12px 30px; text-decoration: none;
    border-radius: 8px; font-weight: bold; font-size: 1rem; transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    border: none; cursor: pointer; text-transform: uppercase; letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.btn:hover {
    background-color: #ff8f00; 
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.btn:disabled { background-color: #aaa; cursor: not-allowed; }

/* --- SEÇÕES --- */
.about, .contact, .products-page-main {
    background-color: var(--bg-light);
}

.two-columns { display: flex; align-items: center; gap: 50px; }
.two-columns.reverse { flex-direction: row-reverse; }
.column-image { flex: 1; }
.column-image img { width: 100%; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); height: 400px; object-fit: cover; }
.column-text { flex: 1; }
.column-text h2 { text-align: left; margin-bottom: 1rem; }
.column-text h2::after { margin-left: 0; }
.column-text p { font-size: 1.1rem; line-height: 1.7; color: var(--text-light); }

/* --- CARDS DE PRODUTO --- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 40px; }
.product-card {
    background-color: var(--bg-white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.product-card img {
    width: 100%;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: contain; 
    background-color: var(--bg-light); 
    transition: background-color 0.3s ease;
}

.card-title { padding: 15px; font-weight: bold; flex-grow: 1; font-family: var(--sans-font); color: var(--text-dark); }
.card-price { font-size: 1.2rem; color: var(--brand-primary); font-weight: bold; padding: 0 15px 15px; }
.add-to-cart-btn {
    width: calc(100% - 30px); margin: 0 15px 15px; border-radius: 8px;
    padding: 12px; text-transform: none; background-color: var(--brand-primary);
    color: var(--bg-light); 
}
.add-to-cart-btn:hover { background-color: #004D40; }
.product-card-link { text-decoration: none; color: inherit; }

/* --- CONTATO --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; margin-top: 40px; }
.contact-info p { margin-bottom: 15px; font-size: 1.1rem; }
.contact-info a { color: var(--text-dark); text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }
.contact-info i { color: var(--brand-action); margin-right: 10px; width: 20px; }
.contact-form { display: flex; flex-direction: column; gap: 15px; }
.contact-form .form-row { display: flex; gap: 15px; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 15px; border: 1px solid var(--border-color);
    border-radius: 8px; font-size: 1rem; font-family: var(--sans-font);
    background-color: var(--bg-white); 
    color: var(--text-dark); 
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(0, 121, 107, 0.2);
}

/* --- RODAPÉ --- */
.footer-section {
    background-color: var(--bg-white);
    color: var(--text-light);
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9rem;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}


/* --- BOTÃO VOLTAR AO TOPO --- */
.back-to-top {
    position: fixed; bottom: 20px; right: 20px; background-color: var(--brand-action);
    color: var(--bg-light); width: 40px; height: 40px; border-radius: 50%; text-align: center;
    line-height: 40px; font-size: 1.2rem; text-decoration: none; opacity: 0;
    visibility: hidden; transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); }

/* --- NOTIFICAÇÃO --- */
.notification {
    position: fixed; bottom: 20px; left: 20px; background-color: #333; color: #fff;
    padding: 15px 25px; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 2000; opacity: 0; visibility: hidden; transform: translateY(20px);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
}
.notification.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* --- MEDIA QUERIES --- */
@media (max-width: 992px) {
    .hamburger { display: block; }
    .nav-menu {
        display: none; position: absolute; top: 80px; left: 0; width: 100%;
        background-color: var(--bg-white); flex-direction: column; padding: 10px 0;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    .nav-menu.mobile-active { display: flex; }
    .nav-menu a { padding: 15px; text-align: center; width: 100%; border-bottom: 1px solid var(--border-color); }
    .two-columns, .two-columns.reverse { flex-direction: column; }
    .contact-grid { grid-template-columns: 1fr; }
    .hero-card { padding: 40px; width: 90%; }
    .hero-card h1 { font-size: 2.5rem; }
    .hero-card p { font-size: 1.1rem; }
}

@media (max-width: 768px) {
    .product-grid { grid-template-columns: 1fr; }
    .contact-form .form-row { flex-direction: column; }
}
/* Adicione esta regra ao seu style.css, pode ser junto com os outros estilos de botão */

.btn.added {
    background-color: #004D40; /* Um verde mais escuro para confirmação */
    cursor: default;
}