/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #0f172a;
    color: #1e293b;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    margin: 0;
}

a {
    text-decoration: none;
}

/* ===== UTILITÁRIOS ===== */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.font-logo {
    font-family: 'Kaushan Script', cursive;
    font-weight: 400 !important;
}

.logo-style {
    font-weight: 400 !important;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    width: 100%;
    z-index: 50;
    background-color: #0f172a;
    border-bottom: 1px solid #1e293b;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-content {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    font-size: 2rem;
    color: #fff;
    transition: opacity 0.3s;
}

.navbar-logo span {
    background: linear-gradient(to right, #fcd34d, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-links {
    display: none;
    gap: 1.5rem;
    align-items: center;
}

.navbar-links a {
    font-size: 0.875rem;
    font-weight: 700;
    color: #cbd5e1;
    transition: color 0.3s;
}

.navbar-links a:hover {
    color: #f59e0b;
}

.navbar-links .btn-redes {
    padding: 0.5rem 1.25rem;
    background: linear-gradient(to right, #fcd34d, #f59e0b);
    color: #fff;
    border-radius: 0.75rem;
    font-weight: 700;
    transition: opacity 0.3s;
}

.navbar-links .btn-redes:hover {
    opacity: 0.9;
}

.mobile-menu-btn {
    display: flex;
    padding: 0.5rem;
    border-radius: 0.375rem;
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #0f172a;
    border-bottom: 1px solid #1e293b;
    padding: 1.5rem;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu a {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    color: #cbd5e1;
    padding: 0.5rem 0;
}

.mobile-menu a:hover {
    color: #f59e0b;
}

.mobile-menu.open {
    display: flex;
}

/* ===== SEÇÕES GERAIS ===== */
.section {
    padding: 4rem 1.5rem;
}

.container {
    max-width: 72rem;
    margin: 0 auto;
}

.section-dark {
    background-color: #0f172a;
    color: #fff;
}

.section-white {
    background-color: #fff;
    color: #1e293b;
}

.section-light {
    background-color: #f8fafc;
}

.bg-dots {
    background-image: radial-gradient(#fbbf24 1px, transparent 1px);
    background-size: 32px 32px;
}

/* ===== HERO ===== */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 64rem;
    margin: 0 auto;
    padding: 6rem 1.5rem 4rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 0.95;
    color: #fff;
    margin-bottom: 2rem;
}

.hero h1 span {
    color: #FFD700;
}

.hero p {
    font-size: 1.125rem;
    color: #cbd5e1;
    margin-bottom: 3rem;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-white {
    background-color: #fff;
    color: #0f172a;
}
.btn-white:hover {
    background-color: #f1f5f9;
}

.btn-amber {
    background: linear-gradient(to right, #fcd34d, #f59e0b);
    color: #fff;
}
.btn-amber:hover {
    opacity: 0.9;
}

.btn-dark {
    background-color: #0f172a;
    color: #fff;
}
.btn-dark:hover {
    background-color: #f59e0b;
}

.btn-green {
    background-color: #16a34a;
    color: #fff;
}
.btn-green:hover {
    background-color: #15803d;
}

.btn-slate {
    background-color: #f1f5f9;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}
.btn-slate:hover {
    background-color: #e2e8f0;
}

/* ===== SOBRE ===== */
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.sobre-img {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 1rem;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
    max-width: 24rem;
    margin: 0 auto;
}

.sobre-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== LIVROS (index) ===== */
.livros-card {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.livros-card-inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.livros-card-img {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    aspect-ratio: 3/4;
    border-radius: 1rem;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    background: #1e293b;
}

.livros-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== FORMULÁRIO DE DOWNLOAD ===== */
.download-form {
    background: #f8fafc;
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 2rem;
}

.input-email {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin-bottom: 1rem;
    transition: border-color 0.3s;
}

.input-email:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245,158,11,0.1);
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

/* Mensagens de status */
.status-msg {
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.status-msg.success {
    color: #16a34a;
}

.status-msg.error {
    color: #dc2626;
}

/* ===== FOOTER ===== */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 4rem 1.5rem;
    border-top: 1px solid #1e293b;
}

.footer-content {
    max-width: 72rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

/* ===== RESPONSIVO ===== */
@media (min-width: 768px) {
    .hero h1 {
        font-size: 4rem;
    }
    .hero p {
        font-size: 1.25rem;
    }
    .hero-buttons {
        flex-direction: row;
    }
    .sobre-grid {
        grid-template-columns: 5fr 7fr;
    }
    .livros-card-inner {
        flex-direction: row;
    }
    .livros-card-img {
        width: 33.333%;
        max-width: 100%;
    }
}

@media (min-width: 1024px) {
    .navbar-links {
        display: flex;
    }
    .mobile-menu-btn {
        display: none;
    }
    .hero h1 {
        font-size: 5rem;
    }
}