/**
 * MONOSABOR - Estilo Principal
 * Paleta: Preto #111, Vermelho #D71920, Dourado #F5A623, Branco #FFF, Cinza #F3F3F3
 */

:root {
    --ms-black: #111111;
    --ms-red: #D71920;
    --ms-red-dark: #B0151B;
    --ms-gold: #F5A623;
    --ms-gold-light: #FFD78A;
    --ms-white: #FFFFFF;
    --ms-gray: #F3F3F3;
    --ms-gray-dark: #666666;
    --ms-green: #28a745;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
}

* { box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--ms-black);
    background: var(--ms-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

.main-content {
    padding-top: 76px;
}

/* Navbar */
.bg-monosabor {
    background: var(--ms-black) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.brand-mono { color: var(--ms-red); }
.brand-sabor { color: var(--ms-gold); }

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 2px;
}

/* Hero */
.hero-section {
    background: linear-gradient(135deg, var(--ms-black) 0%, #1a1a1a 50%, #2a1a1a 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(215,25,32,0.15) 0%, transparent 70%);
}

.fw-black { font-weight: 900; }
.text-white-75 { color: rgba(255,255,255,0.75); }
.text-white-50 { color: rgba(255,255,255,0.5); }

/* Book Cover 3D */
.book-cover-hero {
    perspective: 1000px;
}

.book-3d {
    transform-style: preserve-3d;
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
    display: inline-block;
}

.book-3d:hover {
    transform: rotateY(-5deg) rotateX(2deg);
}

.book-front {
    width: 280px;
    height: 400px;
    background: linear-gradient(135deg, var(--ms-black) 0%, #2a0a0a 100%);
    border-radius: 4px 12px 12px 4px;
    box-shadow: 
        10px 10px 30px rgba(0,0,0,0.5),
        -2px 0 10px rgba(0,0,0,0.3),
        inset -3px 0 10px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.book-front::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 20px;
    background: linear-gradient(90deg, rgba(0,0,0,0.4), transparent);
}

.book-cover-content {
    text-align: center;
    padding: 30px;
    color: white;
    z-index: 1;
}

.book-badge {
    background: var(--ms-red);
    color: white;
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 0.7rem;
    letter-spacing: 3px;
    font-weight: 700;
}

.book-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    margin: 20px 0 10px;
    line-height: 1;
}

.book-title span { color: var(--ms-gold); }

.book-divider {
    width: 60px;
    height: 3px;
    background: var(--ms-red);
    margin: 15px auto;
}

.book-subtitle {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.4;
}

.book-pizza-icon {
    font-size: 3rem;
    margin: 15px 0;
}

.book-slogan {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ms-gold);
}

/* Cards */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Buttons */
.btn-danger {
    background: var(--ms-red) !important;
    border-color: var(--ms-red) !important;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background: var(--ms-red-dark) !important;
    border-color: var(--ms-red-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(215,25,32,0.4);
}

/* Sections */
section { position: relative; }

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-section .container {
    animation: fadeInUp 1s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .book-front {
        width: 200px;
        height: 290px;
    }
    .book-title { font-size: 1.6rem; }
    .display-2 { font-size: 2.5rem; }
    .hero-section { min-height: auto; padding: 100px 0 60px; }
}

/* Utility */
.bg-opacity-10 { background: rgba(255,255,255,0.1) !important; }
/* Footer sempre com Inter e texto claro */
footer, footer * {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

footer {
    color: #e0e0e0;
}

footer h5, footer h6 {
    color: #ffffff;
    font-weight: 700;
}

footer p, footer small, footer li, footer span {
    color: #aaaaaa;
}

footer a {
    color: #cccccc;
}

footer a:hover {
    color: #F5A623;
}

/* Remover faixa branca no topo */
body {
    margin: 0 !important;
    padding: 0 !important;
}

.main-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Garantir que a navbar fique colada no topo */
.navbar.fixed-top {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1030 !important;
    margin: 0 !important;
}

/* Hero section sem margem superior */
.hero-section {
    margin-top: 0 !important;
    padding-top: 100px !important;
}

/* Remover qualquer espaçamento do body */
html, body {
    overflow-x: hidden !important;
}