@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sora:wght@100..800&display=swap');

/* Reset básico e configurações globais */
:root {
    --primary: #EDC221;
    --primary-dark: #d4ac1d;
    --secondary: #94A3B8;
    --dark: #0f172a;
    --darker: #020617;
    --surface: #1e293b;
    --text-muted: #94a3b8;
    --white: #ffffff;
}

body {
    background-color: var(--dark);
    color: var(--text);
    line-height: 1.6;
    
}
h1, h2, h3, h4, h5, h6 { font-family: "Sora", sans-serif; }
        p, a, span { font-family: "Poppins", sans-serif; }

/* Botões */
.btn-primary {
    background-color: var(--primary);
    color: var(--darker); /* Texto escuro para contraste no amarelo */
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(237, 194, 33, 0.2);
}

/* Utilitários de Cor */
.text-primary {
    color: var(--primary);
}

.bg-primary {
    background-color: var(--primary);
}

.border-primary {
    border-color: var(--primary);
}

/* Cards e Containers */
.card {
    background-color: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

/* Navigation */
.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Mobile Menu */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}

/* Hero Section */
.hero-gradient {
    background: linear-gradient(rgba(2, 6, 23, 0.8), rgba(2, 6, 23, 0.8)), url('../img/bg/bg1.webp') no-repeat center center/cover;
}

/* Product Cards */
.product-card {
    background-color: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.product-image-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
    margin-top: 1rem;
    transition: color 0.3s ease;
}

.product-link:hover {
    color: var(--white);
}

.product-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.product-link:hover i {
    transform: translateX(5px);
}

/* Tables */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    background-color: var(--darker);
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

table th, table td {
    padding: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

table th {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
}

table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

table td {
    color: var(--text-muted);
}

table td.highlight {
    color: var(--primary);
    font-weight: 600;
}

/* Logo Agencia Yes */
.logoagenciayes {
    margin-top: -5px; 
    width: 140px;
    padding-left: 5px;
    opacity: 0.5;
    transition: all 0.3s ease;
    display: inline-block;
}

.logoagenciayes:hover {
    opacity: 1;
    transform: scale(1.1);
}
.bgtitulo {
    background: linear-gradient(rgba(2, 6, 23, 0.8), rgba(2, 6, 23, 0.8)), url('../img/bg/bg1.webp') no-repeat center center/cover;
}

/* Efeito de Luz e Brilho nas Imagens do Blog */
.blog-card-image {
    position: relative; /* Necessário para posicionamento absoluto do overlay */
    overflow: hidden;   /* Garante que o overlay não extravase a área da imagem */
}

/* Elemento overlay para o efeito de luz */
.blog-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente linear simulando um feixe de luz */
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    /* Posicionamento inicial fora da área visível (esquerda) */
    transform: translateX(-100%);
    /* Transição suave para a animação */
    transition: transform 0.6s ease-in-out;
    pointer-events: none; /* Permite cliques na imagem/link abaixo */
    z-index: 10; /* Garante que fique acima da imagem */
}

/* Ativação do efeito ao passar o mouse no card (group) */
.group:hover .blog-card-image::after {
    /* Move o feixe de luz para o lado direito */
    transform: translateX(100%);
}

/* Efeito adicional de brilho na imagem */
.blog-card-image img {
    /* Transição suave para brilho e escala */
    transition: transform 0.5s ease, filter 0.5s ease;
}

.group:hover .blog-card-image img {
    /* Aumenta ligeiramente o brilho para complementar a luz */
    filter: brightness(1.1);
    /* Escala já é tratada pelas classes do Tailwind (group-hover:scale-110), mas reforçamos se necessário */
}
