/* Estilos Globais Imperial Tecnologia - Enterprise Edition */
:root {
    --cor-primaria: #E30613;
    --cor-hover: #B8000F;
    --cor-escura: #1A1A1A;
    --cor-detalhe: #2B1B14;
    --cor-fundo: #F5F5F5;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.12);
    --radius-lg: 32px;
    --radius-xl: 60px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--cor-fundo);
    color: var(--cor-escura);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Utilitários */
.text-primary { color: var(--cor-primaria); }
.bg-primary { background-color: var(--cor-primaria); }
.font-display { font-family: 'Outfit', sans-serif; }

/* Header */
header {
    padding: 40px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo {
    max-height: 55px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.02);
}

.admin-logo {
    max-height: 48px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Hero Section */
.hero {
    padding: 100px 0 140px;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(227, 6, 19, 0.03) 0%, rgba(227, 6, 19, 0) 70%);
    z-index: -1;
}

.badge {
    display: inline-block;
    padding: 8px 20px;
    background-color: white;
    color: var(--cor-primaria);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(227, 6, 19, 0.05);
}

h1 {
    font-size: 72px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -4px;
    margin-bottom: 32px;
}

h1 span {
    color: var(--cor-primaria);
    position: relative;
    display: inline-block;
}

h1 span::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--cor-primaria);
    opacity: 0.1;
    z-index: -1;
}

.hero p {
    font-size: 20px;
    color: rgba(26, 26, 26, 0.5);
    max-width: 650px;
    margin: 0 auto 48px;
    font-weight: 400;
}

.btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    padding: 20px 40px;
    border-radius: 16px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.btn-primary {
    background-color: var(--cor-primaria);
    color: white;
    box-shadow: 0 15px 30px rgba(227, 6, 19, 0.25);
}

.btn-primary:hover {
    background-color: var(--cor-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(227, 6, 19, 0.3);
}

.btn-secondary {
    background-color: white;
    color: var(--cor-escura);
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--cor-escura);
    color: white;
    transform: translateY(-4px);
}

/* Sections */
.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 56px;
    font-weight: 900;
    letter-spacing: -3px;
}

.section-title h2 span {
    color: var(--cor-primaria);
}

/* Grid & Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.card {
    background-color: white;
    padding: 48px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 72px;
    height: 72px;
    background-color: var(--cor-fundo);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cor-primaria);
    margin-bottom: 32px;
    transition: all 0.3s ease;
}

.card:hover .card-icon {
    background-color: var(--cor-primaria);
    color: white;
    transform: rotate(-5deg);
}

/* Lojas */
.store-card {
    display: flex;
    flex-direction: column;
}

.store-info h3 {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.store-info div {
    display: flex;
    gap: 14px;
    font-size: 15px;
    color: rgba(26, 26, 26, 0.5);
    margin-bottom: 12px;
}

.store-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(0,0,0,0.04);
}

.btn-sm {
    padding: 14px;
    font-size: 13px;
    text-align: center;
    border-radius: 12px;
    background-color: var(--cor-fundo);
    color: var(--cor-escura);
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-sm:hover {
    background-color: var(--cor-escura);
    color: white;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 72px;
    height: 72px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(10deg);
}

/* Cookie Consent */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 60px);
    max-width: 800px;
    background-color: var(--cor-escura);
    padding: 24px 32px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 2000;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.cookie-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.cookie-btn {
    background-color: var(--cor-primaria);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
}

.cookie-btn:hover {
    background-color: var(--cor-hover);
    transform: scale(1.05);
}

/* Footer */
footer {
    padding: 100px 0 60px;
    text-align: center;
}

/* Responsivo */
@media (max-width: 992px) {
    h1 { font-size: 56px; letter-spacing: -2px; }
    .section-title h2 { font-size: 44px; }
}

@media (max-width: 768px) {
    h1 { font-size: 42px; letter-spacing: -1.5px; }
    .btn-group { flex-direction: column; }
    .cookie-content { flex-direction: column; text-align: center; gap: 20px; }
    .hero { padding: 60px 0 100px; }
    .container { padding: 0 20px; }
    .whatsapp-float { bottom: 20px; right: 20px; width: 60px; height: 60px; }
}

/* Parceiros (Hero) */
.partners-section {
    margin-top: 60px;
    opacity: 0.8;
}

.partners-title {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(26,26,26,0.4);
    margin-bottom: 20px;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.partner-item img {
    width: 120px;
    height: 40px;
    object-fit: contain;
    filter: grayscale(1) opacity(0.5);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.partner-item:hover {
    transform: scale(1.1);
}

.partner-item:hover img {
    filter: grayscale(0) opacity(1);
}

/* Treinamentos */
.training-card {
    background: white;
    padding: 30px;
    border-radius: 25px;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.training-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.training-link:hover {
    background-color: var(--cor-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(227, 6, 19, 0.2);
}

@media (max-width: 768px) {
    .partners-grid {
        gap: 20px;
    }
    .partner-item img {
        height: 20px;
    }
}
