/* Theme Name: Amazon Fox Premium 
Version: 2.1 (Refined)
*/

:root {
    --primary: #c4170c; 
    --dark: #1a1a1a;
    --gray-light: #f8f9fa;
    --text-main: #222222; /* Corrigido de #2222 */
    --text-muted: #555555; /* Corrigido de #4444 */
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --radius: 12px;
    --shadow: 0 10px 30px rgba(0,0,0,0.05);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #fcfcfc; 
    color: var(--text-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

p {
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

/* --- HEADER & NAVIGATION --- */
.header-principal .navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Suporte Safari */
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 12px 0;
}

/* --- GRID DE IMAGENS (PADRONIZAÇÃO 16:9) --- */
.img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; 
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.03);
    background: #eee;
    transition: var(--transition);
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* --- CARDS DE NOTÍCIA --- */
.noticia-card {
    border: none;
    background: transparent;
    margin-bottom: 2.5rem;
    text-decoration: none; /* Caso o card seja um <a> */
    display: block;
}

.noticia-card:hover .img-wrapper {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.noticia-card:hover img {
    transform: scale(1.04);
}

.noticia-card h6 {
    margin-top: 15px;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--dark);
    transition: color 0.3s ease;
}

.noticia-card:hover h6 {
    color: var(--primary);
}

/* --- BOTÕES SOCIAIS --- */
.social-btn i {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.social-btn:hover i {
    background: var(--primary);
    color: #fff !important;
    transform: translateY(-3px) rotate(8deg);
}
/* Menu Retrátil Customizado */
.offcanvas {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    width: 350px !important;
}

.btn-menu-toggle {
    transition: transform 0.3s ease;
    color: var(--dark);
}

.btn-menu-toggle:hover {
    transform: scale(1.1);
    color: var(--primary);
}

/* Classe para animação dos itens do menu */
.menu-retratil-links .nav-item {
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: translateX(-30px);
}

.menu-retratil-links .nav-item.show-item {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.menu-retratil-links .nav-link {
    border-color: #f0f0f0 !important;
    transition: padding-left 0.3s ease;
}

.menu-retratil-links .nav-link:hover {
    padding-left: 15px;
    color: var(--primary) !important;
}