/* === DESIGN SYSTEM OC PREMIUM 2025 === */
:root {
    /* Paleta de Cores Estratégica */
    --color-primary: #102A43;
    --color-primary-light: #243B53;
    --color-accent: #F97316;
    --color-accent-hover: #EA580C;
    --color-hover-primary: #1E3A8A;
    --color-hover-primary-light: #3B82F6;
    --color-background: #F8FAFC;
    --color-surface: #FFFFFF;
    --color-text-headings: #1E293B;
    --color-text-body: #475467;
    --color-border: #E2E8F0;
    --color-white: #FFFFFF;

    /* Tipografia Hierárquica */
    --font-family-base: 'Poppins', sans-serif;
    --font-size-body: 16px;
    --line-height-body: 1.6;

    /* Layout e Espaçamento */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 8px;
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.07), 0 4px 6px -4px rgb(0 0 0 / 0.07);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET E ESTILOS GLOBAIS === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-family-base);
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
    color: var(--color-text-body);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.oc-container { width: 100%; max-width: var(--container-width); margin-left: auto; margin-right: auto; padding: 0 1rem; }
.oc-section-title { font-size: clamp(1.75rem, 5vw, 2.5rem); font-weight: 600; color: var(--color-text-headings); text-align: center; margin-bottom: 2rem; }

/* === HEADER (Mobile First) === */
.oc-header {
    background-color: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    position: sticky; top: 0;
    width: 100%; height: var(--header-height);
    z-index: 1000;
}
.oc-header__container {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    height: 100%;
    gap: 1rem;
}
.oc-header__logo-link {
    grid-column: 1;
    justify-self: start;
}
.oc-header__logo-img {
    height: 48px;
}
.oc-search-bar {
    grid-column: 2;
    justify-self: end;
    border-radius: 50px;
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border);
    background-color: var(--color-background);
    width: 100%;
    max-width: 300px;
    transition: all var(--transition-base);
    overflow: hidden;
}
.oc-search-bar:focus-within {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}
.oc-search-bar__input {
    border: none; background: transparent; outline: none;
    width: 100%; height: 44px;
    padding: 0 20px;
    font-size: 0.9rem;
}
.oc-search-bar__button {
    background: transparent; border: none; cursor: pointer;
    padding: 0 16px; color: var(--color-text-body);
    display: flex; align-items: center; height: 100%;
    transition: all var(--transition-base);
}
.oc-search-bar__button:hover {
    background-color: var(--color-hover-primary);
    color: var(--color-white);
}

/* === SEÇÃO DE PRODUTOS E GRID (Já é responsivo por natureza) === */
main { padding: 3rem 0; }
.oc-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }

/* === CARD DE PRODUTO REFINADO === */
@keyframes card-fade-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.oc-product-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    overflow: hidden; display: flex; flex-direction: column;
    box-shadow: var(--shadow-sm); transition: all var(--transition-base);
    opacity: 0; animation: card-fade-in 500ms var(--transition-base) forwards;
}
.oc-product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--color-hover-primary); }
.oc-product-card__image-container { width: 100%; aspect-ratio: 16 / 10; background-color: #eee; overflow: hidden; }
.oc-product-card__image { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.oc-product-card:hover .oc-product-card__image { transform: scale(1.05); }
.oc-product-card__content { padding: 1.25rem; display: flex; flex-direction: column; flex-grow: 1; }
.oc-product-card__title { font-size: 1.15rem; font-weight: 600; color: var(--color-text-headings); margin-bottom: 0.5rem; line-height: 1.3; }
.oc-product-card__description { margin-bottom: 1.5rem; font-size: 0.9rem; flex-grow: 1; }
.oc-product-card__footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--color-border); padding-top: 1rem; }
.oc-product-card__price { font-size: 1.4rem; font-weight: 700; color: var(--color-primary); }
.oc-product-card__button {
    background-color: var(--color-primary); color: var(--color-white);
    text-decoration: none; font-size: 0.9rem; font-weight: 600;
    padding: 10px 20px; border-radius: var(--border-radius);
    transition: all var(--transition-base);
}
.oc-product-card__button:hover { background-color: var(--color-hover-primary-light); }

/* === BARRA DE FILTROS (Mobile First) === */
.oc-filter-bar {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 3rem;
    overflow-x: auto;
    padding: 0.5rem 1rem;
    margin-left: -1rem;
    margin-right: -1rem;
    scrollbar-width: none; /* Firefox */
}
.oc-filter-bar::-webkit-scrollbar { display: none; } /* Chrome, Safari, and Opera */
.oc-filter-button {
    background-color: var(--color-surface); border: 1px solid var(--color-border);
    color: var(--color-text-body); padding: 8px 20px;
    border-radius: 50px; cursor: pointer;
    font-weight: 500; font-size: 0.9rem;
    transition: all var(--transition-base);
    white-space: nowrap;
}
.oc-filter-button:hover {
    background-color: var(--color-hover-primary-light);
    border-color: var(--color-hover-primary-light);
    color: var(--color-primary);
}
.oc-filter-button.active {
    background-color: var(--color-primary); color: var(--color-white);
    border-color: var(--color-primary);
}

/* === FOOTER REFINADO E PROFISSIONAL (Mobile First) === */
.oc-footer {
    background-color: var(--color-primary);
    color: #A0AEC0;
    padding-top: 3rem;
}
.oc-footer__main-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
    text-align: center;
}
.oc-footer__logo {
    height: 40px;
    margin-bottom: 1rem;
}
.oc-footer__description { font-size: 0.95rem; max-width: 350px; line-height: 1.5; margin: 0 auto; }
.oc-footer__title { font-size: 1.1rem; font-weight: 600; color: var(--color-white); margin-bottom: 1.25rem; font-family: var(--font-family-base); }
.oc-footer__links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.oc-footer__links a { color: #A0AEC0; text-decoration: none; transition: all var(--transition-base); }
.oc-footer__links a:hover { color: var(--color-white); padding-left: 8px; }
.oc-footer__social-icons { display: flex; gap: 1.5rem; justify-content: center; }
.oc-footer__social-icons a { color: #A0AEC0; transition: all var(--transition-base); }
.oc-footer__social-icons a:hover { color: var(--color-accent); transform: translateY(-3px); }
.oc-footer__bottom-bar {
    padding: 1.5rem 1rem;
    background-color: #061A2E;
    text-align: center;
    font-size: 0.85rem;
}

/* ================================================= */
/* === RESPONSIVIDADE - AJUSTES PARA TELAS MAIORES === */
/* ================================================= */

/* Tablets (e telas maiores) */
@media (min-width: 768px) {
    .oc-container { padding: 0 2rem; }
    main { padding: 5rem 0; }
    .oc-header__container {
        grid-template-columns: 1fr auto 1fr;
    }
    .oc-header__logo-img {
        height: 63px;
    }
    .oc-search-bar {
        grid-column: 2;
        justify-self: center;
        max-width: 500px;
    }
    .oc-search-bar__input {
        padding: 0 114px; /* Retorna o padding grande, conforme solicitado */
    }
    .oc-filter-bar {
        justify-content: center;
        overflow-x: visible;
    }
    .oc-footer__main-content {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        text-align: left;
    }
    .oc-footer__social-icons {
        justify-content: flex-start;
    }
}

/* Desktops (e telas maiores) */
@media (min-width: 1024px) {
    .oc-footer__main-content {
        gap: 3rem;
    }
    .oc-footer__section--about {
        grid-column: span 2 / span 2;
    }
}

.faixa-vendido {
    position: absolute;
    top: 20px;
    right: -35px;
    background-color: #e74c3c; /* Cor vermelha */
    color: white;
    padding: 5px 40px;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 1px;
}