/* ===== TEMA ESCRITOR - DEGRADÊ AZUL-BRANCO ===== */

/* Reset e base */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-attachment: fixed;
    min-height: 100vh;
    padding-top: 80px;
    color: #2c3e50;
    line-height: 1.6;
}

/* ===== NAVEGAÇÃO ===== */
.navbar-default {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-radius: 0;
}

.navbar-brand {
    font-weight: bold;
    font-size: 24px;
    color: #2c3e50 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.navbar-nav > li > a {
    color: #34495e !important;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 20px;
    margin: 5px 3px;
}

.navbar-nav > li > a:hover,
.navbar-nav > li.active > a {
    background: linear-gradient(45deg, #667eea, #764ba2) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* ===== SEÇÕES E CONTAINERS ===== */
.hero {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    margin: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.section {
    padding: 60px 0;
    margin: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.section.alt {
    background: rgba(248, 249, 250, 0.9);
}

/* ===== TIPOGRAFIA ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', serif;
    color: #2c3e50;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
}

.lead {
    font-size: 1.3rem;
    color: #5a6c7d;
    margin-bottom: 30px;
}

/* ===== BOTÕES ESTILIZADOS ===== */
.btn {
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #5a6fd8, #6a4190);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-success {
    background: linear-gradient(45deg, #56ab2f, #a8e6cf);
    color: white;
}

.btn-success:hover {
    background: linear-gradient(45deg, #4e9a2a, #96d4b8);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(86, 171, 47, 0.4);
}

.btn-warning {
    background: linear-gradient(45deg, #f093fb, #f5576c);
    color: white;
}

.btn-warning:hover {
    background: linear-gradient(45deg, #ee82f0, #f34560);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(240, 147, 251, 0.4);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* ===== CARDS E WELLS ===== */
.well, .thumbnail, .panel {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.well:hover, .thumbnail:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.thumbnail {
    padding: 20px;
    margin-bottom: 30px;
}

.thumbnail img {
    border-radius: 15px;
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.thumb-placeholder {
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    color: #6c757d;
    font-style: italic;
    flex-direction: column;
}

/* ===== PREÇO DESTACADO ===== */
.price-tag {
    display: inline-block;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #8b4513;
    border-radius: 25px;
    padding: 10px 20px;
    margin: 15px 0 25px;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ===== FORMULÁRIOS ===== */
.form-control {
    border-radius: 15px;
    border: 2px solid #e9ecef;
    padding: 12px 20px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: white;
}

.form-horizontal .btn {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.form-horizontal .btn-sm {
    padding: 8px 12px;
    font-size: 0.85rem;
    line-height: 1.2;
}

/* ===== LAYOUT TIPO LIVRO ===== */
.book {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin: 20px;
    backdrop-filter: blur(10px);
}

.book-title {
    font-family: Georgia, serif;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #2c3e50;
    text-align: center;
    border-bottom: 3px solid #667eea;
    padding-bottom: 20px;
}

.book-content {
    font-family: Georgia, serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #34495e;
    text-align: justify;
    font-size: 16px;
}

.book-content p {
    margin-bottom: 20px;
    text-indent: 2rem;
}

.book-media {
    margin: 30px 0;
    text-align: center;
}

.book-media img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.book-cta {
    margin-top: 40px;
    text-align: center;
    padding: 30px;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 20px;
}

/* ===== VITRINE ESPECÍFICA ===== */
.story-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 10px;
    min-height: 40px;
    display: flex;
    align-items: center;
    line-height: 1.2;
}

.story-objective {
    margin-bottom: 15px;
    min-height: 60px;
    font-size: 0.9rem;
    flex-grow: 1;
}

.story-actions {
    margin-bottom: 10px;
    margin-top: auto;
    width: 100%;
}

.story-actions .btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.story-status {
    text-align: center;
    margin-top: 8px;
    margin-bottom: 0;
}

.story-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 15px;
}

.thumbnail {
    padding: 15px;
    margin-bottom: 25px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.thumbnail .caption {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    margin: 0;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== LABELS E STATUS ===== */
.label {
    border-radius: 15px;
    padding: 5px 12px;
    font-size: 0.85rem;
}

.status-item {
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(248, 249, 250, 0.5);
    border-radius: 10px;
}

/* ===== FOOTER ELEGANTE ===== */
.footer {
    background: rgba(44, 62, 80, 0.95);
    color: white;
    padding: 40px 0;
    margin-top: 40px;
    backdrop-filter: blur(10px);
}

.footer h5 {
    color: #ecf0f1;
    margin-bottom: 20px;
    font-weight: bold;
}

.footer a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #667eea;
    text-decoration: none;
}

.footer .social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.footer .social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* ===== LISTA DE VERIFICAÇÃO ===== */
.check-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.check-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
    font-size: 1.2rem;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    .hero, .section {
        margin: 10px;
        padding: 40px 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .btn-lg {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .book {
        padding: 20px;
        margin: 10px;
    }
    
    .navbar-nav > li > a {
        margin: 2px 0;
        border-radius: 15px;
    }
}

/* Vitrine */
.thumbnail img { height: 120px; object-fit: cover; width: 100%; }
.thumb-placeholder { height: 120px; background: #f1f1f1; display: flex; align-items: center; justify-content: center; color: #999; }

/* Formulários */
.help-block { color: #777; }