@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

:root {
    --primary-red: #e61c24; /* Vermelho característico de e-commerce esportivo */
    --primary-red-hover: #c41219;
    --bg-light: #f5f5f5;
    --text-dark: #222222;
    --text-muted: #666666;
    --border-color: #e0e0e0;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

/* --- HEADER ESTILO CENTAURO --- */
.header-centauro {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    max-width: 1280px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

#logo {
    max-height: 42px;
    width: auto;
}

/* Caixa de Pesquisa Arredondada */
.search-box {
    flex: 1;
    max-width: 550px;
    position: relative;
    display: flex;
    align-items: center;
}

.search-box input {
    width: 100%;
    padding: 12px 20px;
    border-radius: 25px;
    border: 1px solid var(--border-color);
    background-color: #f0f0f0;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s;
}

.search-box input:focus {
    background-color: var(--white);
    border-color: var(--primary-red);
}

.search-icon {
    position: absolute;
    right: 15px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-dark);
}

.action-item .icon {
    font-size: 1.2rem;
}

.action-text {
    display: flex;
    flex-direction: column;
    font-size: 0.75rem;
}

.action-text small {
    color: var(--text-muted);
}

/* Menu de Categorias Horizontal */
.nav-categories {
    border-top: 1px solid #f0f0f0;
    background-color: var(--white);
}

.nav-list {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    list-style: none;
    gap: 25px;
    overflow-x: auto;
}

.nav-list li a {
    display: block;
    padding: 12px 0;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.2s;
}

.nav-list li a:hover {
    color: var(--primary-red);
}

.nav-list li a.highlight-red {
    color: var(--primary-red);
    font-weight: 700;
}

/* --- HERO BANNER DUPLO --- */
.hero-centauro {
    background-color: var(--white);
    padding: 30px 20px;
    margin-bottom: 30px;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 40px;
    background-color: #fafafa;
    border-radius: 12px;
    overflow: hidden;
}

.hero-content {
    padding: 50px;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.btn-comprar-hero {
    display: inline-block;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 14px 35px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.btn-comprar-hero:hover {
    background-color: var(--primary-red-hover);
}

.hero-image img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

/* --- TITULOS PADRÃO --- */
.titulo-centauro {
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 25px;
}

/* --- CATEGORIAS EM CÍRCULOS --- */
.secao-categorias-circulos {
    max-width: 1280px;
    margin: 40px auto;
    padding: 0 20px;
}

.circulos-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.tipos {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
}

.tipos .circulo-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 10px;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.tipos:hover .circulo-img {
    border-color: var(--primary-red);
}

.tipos .circulo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tipos h3 {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* --- CARDS DE PRODUTOS (VITRINE) --- */
.secao-vitrine {
    max-width: 1280px;
    margin: 40px auto;
    padding: 0 20px;
}

.projetos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.projeto {
    background-color: var(--white);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.projeto:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.container-foto-principal {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 12px;
}

.foto-principal {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.projeto h2 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.descricao-produto {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tamanhos-wrapper {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.tamanho-badge {
    background-color: #f0f0f0;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 500;
}

.preco-container {
    margin-top: auto;
    margin-bottom: 12px;
}

.preco {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--text-dark);
}

.btn-comprar {
    background-color: var(--primary-red);
    color: var(--white);
    text-align: center;
    padding: 10px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: background 0.2s;
}

.btn-comprar:hover {
    background-color: var(--primary-red-hover);
}

/* --- CONTATO E RODAPÉ --- */
.contatos-centauro {
    background-color: var(--white);
    padding: 40px 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.separar {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn-social {
    background-color: #f0f0f0;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.85rem;
}

/* --- ESTILOS DO CARRINHO / SACOLA LATERAL --- */
.btn-sacola-header {
    background: #f0f0f0;
    border: none;
    padding: 8px 14px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    transition: background 0.2s;
}

.btn-sacola-header:hover {
    background: #e0e0e0;
}

.badge-carrinho {
    background: var(--primary-red);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 2px 7px;
    border-radius: 10px;
}

.carrinho-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    display: none;
}

.carrinho-overlay.open {
    display: block;
}

.carrinho-drawer {
    position: fixed;
    top: 0; right: -400px;
    width: 100%; max-width: 380px; height: 100%;
    background: #fff;
    z-index: 2001;
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
}

.carrinho-drawer.open {
    right: 0;
}

.carrinho-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.carrinho-header h3 {
    font-size: 1.1rem;
    color: #222;
}

.btn-fechar-carrinho {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #666;
}

.carrinho-itens {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.carrinho-item {
    display: flex;
    gap: 12px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.carrinho-item img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 6px;
}

.carrinho-item-info {
    flex: 1;
}

.carrinho-item-info h4 {
    font-size: 0.85rem;
    color: #222;
    margin-bottom: 4px;
}

.carrinho-item-info p {
    font-size: 0.75rem;
    color: #666;
}

.carrinho-item-preco {
    font-weight: bold;
    color: var(--primary-red) !important;
    margin-top: 2px;
}

.carrinho-qtd-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.carrinho-qtd-controls button {
    background: #eee;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.btn-remover-item {
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
    font-size: 0.9rem;
}

.carrinho-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #fafafa;
}

.carrinho-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

/* --- ESTILOS DA IDENTIFICAÇÃO DO CLIENTE NO CARRINHO --- */
.cliente-identificacao-box {
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border-color);
}

.cliente-identificacao-box label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dark);
    display: block;
    margin-bottom: 8px;
}

.cliente-identificacao-box input {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: #fafafa;
    outline: none;
    transition: border-color 0.2s, background-color 0.2s;
    margin-bottom: 8px;
}

.cliente-identificacao-box input:focus {
    background-color: var(--white);
    border-color: var(--primary-red);
}

.btn-finalizar-whats {
    width: 100%;
    background: #25d366;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.2s;
}

.btn-finalizar-whats:hover {
    background: #1ebc57;
}

/* Tamanho selecionado na vitrine */
.tamanho-badge {
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.tamanho-badge.selected {
    background: #222;
    color: #fff;
}

.rodape-centauro {
    background-color: #111111;
    color: #888888;
    text-align: center;
    padding: 20px;
    font-size: 0.8rem;
}

/* --- RESPONSIVO --- */
@media (max-width: 768px) {
    .top-bar { flex-direction: column; }
    .hero-container { grid-template-columns: 1fr; }
    .hero-content { padding: 30px; }
    .hero-content h1 { font-size: 2rem; }
}