.portal-representantes,
.portal-representantes * {
box-sizing: border-box !important;
} .portal-representantes {
width: 100%;
max-width: 100vw;
overflow-x: hidden;
} :root {
--cor-primaria: #da6d52;
--cor-primaria-hover: #cc593e;
--cor-escura: #333333;
}
.portal-representantes .container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
}
.text-center {
text-align: center;
} .formulario-box {
max-width: 500px;
margin: 0 auto;
background: #ffffff;
padding: 40px;
border-radius: 12px;
box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.formulario-box .titulo-form {
margin-bottom: 20px;
color: var(--cor-escura);
}
.formulario-box .descricao-login {
margin-bottom: 30px;
color: #64748b;
} .materiais-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 30px;
}
.material-card {
background: #ffffff;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
display: flex;
flex-direction: column;
transition: transform 0.3s ease;
border: 1px solid #eaeaea;
}
.material-card:hover {
transform: translateY(-5px);
box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}
.material-capa {
width: 100%;
aspect-ratio: 4 / 3;
background-color: #f8f9fa;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.material-capa img {
width: 100%;
height: 100%;
object-fit: cover;
}
.capa-fallback {
font-size: 4rem;
color: #cccccc;
}
.material-info {
padding: 20px;
display: flex;
flex-direction: column;
flex-grow: 1;
justify-content: space-between;
}
.material-titulo {
font-size: 1.2rem;
color: var(--cor-escura);
font-weight: 700;
margin-top: 0;
margin-bottom: 15px;
line-height: 1.3;
}
.btn-download-material {
display: inline-block;
width: 100%;
text-align: center;
background-color: var(--cor-primaria);
color: #ffffff;
padding: 12px 15px;
border-radius: 6px;
text-decoration: none;
font-weight: 600;
font-size: 0.95rem;
transition: background 0.3s ease;
}
.btn-download-material:hover {
background-color: var(--cor-primaria-hover);
color: #ffffff;
} .portal-representantes #loginform p {
margin-bottom: 15px;
text-align: left;
}
.portal-representantes #loginform label {
font-size: 0.85rem;
font-weight: 700;
color: var(--cor-escura);
text-transform: uppercase;
display: block;
margin-bottom: 8px;
}
.portal-representantes #loginform input[type="text"],
.portal-representantes #loginform input[type="password"] {
width: 100%;
height: 50px;
padding: 0 15px;
border: 1px solid #e0e0e0;
border-radius: 8px;
background-color: #f8f9fa;
}
.portal-representantes #loginform input[type="submit"] {
width: 100%;
height: 55px;
background-color: var(--cor-primaria);
color: #fff;
border: none;
border-radius: 8px;
font-size: 1.1rem;
font-weight: bold;
text-transform: uppercase;
cursor: pointer;
margin-top: 10px;
} .portal-controls {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
gap: 20px;
margin-bottom: 40px;
}
.search-box input {
width: 300px;
height: 45px;
padding: 0 15px;
border: 1px solid #e0e0e0;
border-radius: 8px;
font-size: 0.95rem;
outline: none;
}
.filter-tabs {
display: flex;
gap: 10px;
flex-wrap: wrap;
}
.btn-filter {
background: #ffffff;
border: 1px solid #e0e0e0;
padding: 8px 16px;
border-radius: 6px;
cursor: pointer;
font-size: 0.9rem;
font-weight: 600;
color: #555;
transition: all 0.2s ease;
}
.btn-filter.active, .btn-filter:hover {
background: #0f172a; color: #ffffff;
border-color: #0f172a;
} .materiais-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 25px;
align-items: start;
} .material-card.is-destaque {
order: -1; 
}
.material-card {
background: #ffffff;
border-radius: 12px;
border: 1px solid #eef0f2;
overflow: hidden;
display: flex;
flex-direction: column;
height: 100%;
}
.material-capa {
position: relative;
width: 100%;
aspect-ratio: 16 / 10;
background: #f1f5f9;
}
.material-capa img {
width: 100%;
height: 100%;
object-fit: cover;
} .card-badges {
position: absolute;
top: 15px;
left: 15px;
right: 15px;
display: flex;
justify-content: space-between;
z-index: 2;
}
.badge {
padding: 4px 10px;
border-radius: 20px;
font-size: 0.75rem;
font-weight: 700;
background: #ffffff;
color: #333;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.badge-destaque {
background: #fcd34d; color: #92400e;
}
.material-info {
padding: 20px;
flex-grow: 1;
}
.material-titulo {
font-size: 1.1rem;
font-weight: 700;
color: #1e293b;
margin: 0 0 8px 0;
}
.material-descricao {
font-size: 0.85rem;
color: #64748b;
margin: 0 0 15px 0;
line-height: 1.4;
}
.material-tamanho {
font-size: 0.75rem;
color: #94a3b8;
font-weight: 600;
} .material-actions {
padding: 15px 20px;
display: flex;
gap: 10px;
border-top: 1px solid #f1f5f9;
}
.btn-action {
display: inline-flex;
align-items: center;
justify-content: center;
height: 40px;
border-radius: 6px;
font-size: 0.9rem;
font-weight: 600;
text-decoration: none;
transition: background 0.2s ease;
}
.btn-download {
flex-grow: 1;
background: #0f172a;
color: #ffffff;
}
.btn-download:hover {
background: #1e293b;
}
.btn-view {
width: 40px;
background: #ffffff;
border: 1px solid #e2e8f0;
color: #64748b;
}
.btn-view:hover {
background: #f8fafc;
} .material-card.hidden {
display: none !important;
} @media (max-width: 768px) { .portal-representantes .container {
padding: 40px 15px !important;
} .materiais-grid {
grid-template-columns: 1fr; gap: 20px;
} .portal-controls {
flex-direction: column;
align-items: stretch;
gap: 15px;
} .search-box {
width: 100%;
}
.search-box input {
width: 100%;
max-width: 100%;
} .filter-tabs {
justify-content: center;
}
.btn-filter {
flex-grow: 1; text-align: center;
font-size: 0.85rem;
padding: 8px 12px;
}
}