* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --cor-teal: #0d9488;
    --cor-teal-clara: #14b8a6;
    --cor-teal-escura: #0f766e;
    --cor-grafite: #475569;
    --cor-grafite-escuro: #1e293b;
    --cor-fundo: #0b1220;
    --cor-fundo-painel: #111b2e;
    --cor-texto-claro: #e2e8f0;
    --cor-texto-muted: #94a3b8;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: var(--cor-fundo);
    color: var(--cor-texto-claro);
    line-height: 1.6;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; }

/* HEADER */
.header {
    position: sticky; top: 0; z-index: 20;
    background: rgba(11,18,32,0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(20,184,166,0.15);
}
.navbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 20px; max-width: 1100px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 64px; border-radius: 6px; }

@media (max-width: 600px) {
    .brand img { height: 48px; }
}
.header-actions { display: flex; align-items: center; gap: 18px; }

/* Instagram, WhatsApp e Carrinho padronizados */
.social-btn,
.cart-link {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    color: #cbd5e1; font-size: 14px; font-weight: 600;
    transition: color 0.2s, transform 0.2s;
}
.social-btn img,
.cart-link img {
    width: 36px; height: 36px; object-fit: contain; display: block;
}
.social-btn:hover,
.cart-link:hover { color: var(--cor-teal-clara); transform: translateY(-2px); }

.cart-icon-wrap { position: relative; line-height: 0; }
.cart-count {
    position: absolute; top: -7px; right: -11px;
    background: #f43f5e; color: #fff;
    font-size: 11px; font-weight: 700;
    min-width: 18px; height: 18px; padding: 0 4px;
    border-radius: 999px;
    display: flex; align-items: center; justify-content: center;
}

@media (max-width: 600px) {
    .social-btn span:not(.cart-count),
    .cart-link > span { display: none; }
}

/* HERO */
.hero {
    position: relative;
    text-align: center; padding: 90px 20px 70px;
    background: radial-gradient(circle at 50% 0%, rgba(20,184,166,0.12), transparent 60%);
    border-bottom: 1px solid rgba(148,163,184,0.1);
    overflow: hidden;
}
.hero-bg-logo {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; opacity: 0.2;
    pointer-events: none; z-index: 0;
}
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,15,30,0.55) 0%, rgba(10,15,30,0.85) 100%);
    z-index: 1; pointer-events: none;
}
.hero > *:not(.hero-bg-logo) { position: relative; z-index: 2; }

.tag {
    display: inline-block; background: rgba(20,184,166,0.12);
    border: 1px solid rgba(20,184,166,0.3);
    color: var(--cor-teal-clara);
    padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 700;
    margin-bottom: 18px; letter-spacing: 0.5px;
}
.hero h1 {
    font-size: 2.4rem; margin-bottom: 14px;
    background: linear-gradient(90deg, #ffffff 0%, #5eead4 100%);
    -webkit-background-clip: text; background-clip: text;
    color: transparent; font-weight: 800; letter-spacing: -0.5px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.6));
}
.hero p {
    font-size: 17px; max-width: 520px; margin: 0 auto;
    color: #e2e8f0; font-weight: 500;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

/* INFO BAR */
.info-section {
    background: var(--cor-fundo-painel); padding: 50px 20px;
    border-bottom: 1px solid rgba(148,163,184,0.1);
}
.info-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px; margin-bottom: 35px;
}
.info-card {
    text-align: center; padding: 20px; border-radius: 12px;
    border: 1px solid rgba(148,163,184,0.12);
    background: rgba(255,255,255,0.02);
    transition: border-color 0.2s;
}
.info-card:hover { border-color: rgba(20,184,166,0.3); }
.info-icon { font-size: 28px; display: block; margin-bottom: 10px; }
.info-card h3 { color: white; font-size: 15px; margin-bottom: 6px; font-weight: 600; }
.info-card p { color: var(--cor-texto-muted); font-size: 14px; }

.map-wrapper {
    border-radius: 14px; overflow: hidden;
    border: 1px solid rgba(148,163,184,0.15);
}
.map-wrapper iframe { width: 100%; height: 320px; border: 0; display: block; filter: grayscale(0.1) contrast(1.05); }

/* PRODUTOS */
.section { padding: 70px 20px; }
.section-title { text-align: center; margin-bottom: 10px; }
.section-title h2 { font-size: 2rem; color: white; font-weight: 700; }
.section-title p { color: var(--cor-texto-muted); margin-bottom: 40px; }

.products-grid {
    display: grid; gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.product-card {
    background: var(--cor-fundo-painel); border-radius: 14px; overflow: hidden;
    border: 1px solid rgba(244, 245, 249, 0.12);
    transition: transform 0.25s, border-color 0.25s;
    display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); border-color: rgba(20,184,166,0.35); }
.product-img {
    height: 170px; display: flex; align-items: center; justify-content: center;
    font-size: 56px; background: linear-gradient(135deg, rgba(20,184,166,0.1), rgba(71,85,105,0.1));
}
.product-img img { max-width: 100%; max-height: 100%; object-fit: contain; padding: 14px; }
.product-info { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-info h3 { font-size: 16px; color: white; margin-bottom: 6px; font-weight: 600; }
.product-info p { font-size: 13px; color: var(--cor-texto-muted); flex: 1; margin-bottom: 14px; }
.product-price { font-size: 20px; font-weight: 800; color: var(--cor-teal-clara); margin-bottom: 14px; }

.qty-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.qty-btn {
    width: 30px; height: 30px; border-radius: 8px; border: 1px solid rgba(148,163,184,0.25);
    background: transparent; color: var(--cor-texto-claro); font-weight: 700;
    cursor: pointer; font-size: 16px; transition: border-color 0.2s;
}
.qty-btn:hover { border-color: var(--cor-teal-clara); }
.qty-value { font-weight: 700; min-width: 20px; text-align: center; }

.add-btn {
    background: var(--cor-teal);
    color: white; border: none; padding: 11px; border-radius: 8px;
    font-weight: 700; cursor: pointer; font-size: 14px; transition: background 0.2s;
}
.add-btn:hover { background: var(--cor-teal-escura); }

/* CARRINHO LATERAL */
.cart-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.6);
    display: none; z-index: 50;
}
.cart-overlay.active { display: block; }
.cart-sidebar {
    position: fixed; top: 0; right: -400px; width: 100%; max-width: 400px; height: 100%;
    background: var(--cor-fundo-painel); z-index: 51; transition: right 0.3s ease;
    display: flex; flex-direction: column; box-shadow: -4px 0 25px rgba(0,0,0,0.4);
    border-left: 1px solid rgba(148,163,184,0.15);
}
.cart-sidebar.active { right: 0; }
.cart-header {
    padding: 20px; background: var(--cor-grafite-escuro);
    color: white; display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid rgba(148,163,184,0.15);
}
.cart-header h3 { font-size: 17px; font-weight: 700; }
.close-btn { background: none; border: none; color: white; font-size: 24px; cursor: pointer; }
.cart-items { flex: 1; overflow-y: auto; padding: 15px 20px; }
.cart-empty { text-align: center; color: var(--cor-texto-muted); margin-top: 50px; }
.cart-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(148,163,184,0.1); align-items: center; }
.cart-item-icon { font-size: 26px; width: 40px; text-align: center; }
.cart-item-icon img { width: 40px; height: 40px; object-fit: contain; display: block; }
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-size: 14px; margin-bottom: 4px; color: white; }
.cart-item-info p { font-size: 13px; color: var(--cor-teal-clara); font-weight: 700; }
.cart-item-controls { display: flex; align-items: center; gap: 6px; }
.remove-btn { background: none; border: none; color: #f87171; font-size: 17px; cursor: pointer; margin-left: 6px; }

.cart-footer { padding: 20px; border-top: 1px solid rgba(148,163,184,0.15); }
.cart-total { display: flex; justify-content: space-between; font-size: 18px; font-weight: 800; margin-bottom: 15px; color: white; }
.checkout-btn {
    width: 100%; background: var(--cor-teal);
    color: white; border: none; padding: 14px; border-radius: 10px;
    font-weight: 700; font-size: 16px; cursor: pointer; transition: background 0.2s;
}
.checkout-btn:hover:not(:disabled) { background: var(--cor-teal-escura); }
.checkout-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* MODAL CHECKOUT */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.65);
    display: none; align-items: center; justify-content: center; z-index: 60; padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-box {
    background: var(--cor-fundo-painel); border-radius: 16px; max-width: 480px; width: 100%;
    max-height: 90vh; overflow-y: auto; padding: 28px;
    border: 1px solid rgba(148,163,184,0.15);
}
.modal-box h3 { color: white; margin-bottom: 22px; font-size: 20px; font-weight: 700; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--cor-texto-muted); }
.form-group input, .form-group select {
    width: 100%; padding: 10px 12px; border: 1px solid rgba(148,163,184,0.25); border-radius: 8px;
    font-size: 14px; font-family: inherit; background: rgba(255,255,255,0.03); color: var(--cor-texto-claro);
}
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--cor-teal-clara); }
.radio-group { display: flex; gap: 18px; }
.radio-option { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--cor-texto-claro); }
#address-fields, #change-field { display: none; }
.modal-actions { display: flex; gap: 10px; margin-top: 22px; }
.btn-cancel {
    flex: 1; background: rgba(148,163,184,0.1); border: none; padding: 12px; border-radius: 8px;
    font-weight: 600; cursor: pointer; color: var(--cor-texto-claro);
}
.btn-send {
    flex: 2; background: #25d366; color: white;
    border: none; padding: 12px; border-radius: 8px; font-weight: 700; cursor: pointer;
}

/* FOOTER */
.footer {
    background: var(--cor-grafite-escuro);
    color: var(--cor-texto-muted);
    display: flex; align-items: center; justify-content: center; gap: 10px;
    flex-wrap: wrap; text-align: center;
    padding: 14px 20px;
    border-top: 1px solid rgba(148,163,184,0.1);
}
.footer img { height: 26px; border-radius: 4px; }
.footer p { font-size: 12px; }

@media (max-width: 600px) {
    .hero h1 { font-size: 1.8rem; }
}

/* BOTÕES DO HERO / PROMO */
.hero-actions { display: flex; gap: 12px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.btn-primary, .btn-outline {
    display: inline-block; padding: 11px 22px; border-radius: 8px;
    font-weight: 700; font-size: 14px; transition: background 0.2s, color 0.2s;
}
.btn-primary { background: var(--cor-teal); color: #fff; }
.btn-primary:hover { background: var(--cor-teal-escura); }
.btn-outline { border: 1px solid var(--cor-teal-clara); color: var(--cor-teal-clara); }
.btn-outline:hover { background: var(--cor-teal-clara); color: #fff; }

.section-alt { background: var(--cor-fundo-painel); }

/* PROMOÇÕES */
.promo-grid {
    display: grid; gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.promo-card {
    position: relative; padding: 28px 22px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(20,184,166,0.15), rgba(71,85,105,0.12));
    border: 1px solid rgba(20,184,166,0.25);
    display: flex; flex-direction: column; gap: 10px;
}
.promo-badge {
    align-self: flex-start; background: #f43f5e; color: #fff;
    font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px;
}
.promo-card h3 { color: #fff; font-size: 18px; }
.promo-card p { color: var(--cor-texto-muted); font-size: 14px; flex: 1; }
.promo-card .btn-primary { align-self: flex-start; }

/* SOBRE NÓS */
.about { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: center; }
.about-img img { width: 100%; max-width: 360px; border-radius: 14px; display: block; margin: 0 auto; }
.about-text h2 { color: #fff; font-size: 2rem; margin-bottom: 14px; }
.about-text p { color: var(--cor-texto-muted); margin-bottom: 12px; }
.about-list { list-style: none; margin-top: 10px; color: var(--cor-teal-clara); font-weight: 600; }
.about-list li { margin-bottom: 6px; }

#contato .section-title p { margin-bottom: 30px; }

@media (max-width: 800px) {
    .about { grid-template-columns: 1fr; text-align: center; }
}
/* ===== MENU DO HEADER ===== */
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 90px; }

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-name {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.3px;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #cbd5e1;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: color 0.2s;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #2dd4bf;
    transition: width 0.2s;
}

.nav-links a:hover { color: #2dd4bf; }
.nav-links a:hover::after { width: 100%; }

.cart-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

/* Mobile: menu vai para a segunda linha */
@media (max-width: 800px) {
    .navbar { flex-wrap: wrap; row-gap: 10px; }
    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 18px;
        overflow-x: auto;
    }
    .nav-links a { font-size: 14px; white-space: nowrap; }
}

@media (max-width: 600px) {
    .brand-name { font-size: 15px; }
}

/* ===== RODAPÉ ===== */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 24px 16px;
    text-align: center;
}

/* Instagram e WhatsApp lado a lado */
.footer-social {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.footer-social .social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.footer-social .social-btn:hover { transform: scale(1.1); }

.footer-social .social-btn img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

/* Logo da empresa + créditos embaixo */
.footer-credit {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-credit img {
    width: 32px;
    height: 32px;
    margin: 0;
    object-fit: contain;
    border-radius: 6px;
}

.footer-credit p {
    margin: 0;
    color: #94a3b8;
    font-size: 14px;
}
.ver-mais-wrap {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.btn-ver-mais {
    align-items: center;
    padding: 12px 32px;
    border: 2px solid #2dd4bf;
    border-radius: 999px;
    background: transparent;
    color: #2dd4bf;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.btn-ver-mais:hover {
    background: #2dd4bf;
    color: #0f172a;
}
.credit-link {
    color: #2dd4bf;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
}

.credit-link:hover {
    color: #fff;
    text-decoration: underline;
}
/* ===== OPÇÕES DO SELECT (forma de pagamento) ===== */
#input-pagamento {
    color: #fff;
    color-scheme: dark;
}

#input-pagamento option {
    background: #0f172a;
    color: #f1f5f9;
}

#input-pagamento option[value=""] {
    color: #94a3b8;
}

#input-pagamento option:checked {
    background: #2dd4bf;
    color: #0f172a;
}
/* ===== FEEDBACKS ===== */
.feedback-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.feedback-card {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s, border-color 0.2s;
}

.feedback-card:hover {
    transform: translateY(-4px);
    border-color: #2dd4bf;
}

.feedback-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

@media (max-width: 900px) {
    .feedback-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .feedback-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
}
