/* ==================== RESET E ESTILOS GLOBAIS ==================== */
/* Fontes locais */
@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Cinzel';
    src: url('../fonts/Cinzel-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #050505;
    background-image: radial-gradient(circle at 50% 0%, #1a1a1a 0%, #050505 60%);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ==================== HEADER FLUTUANTE ==================== */
.floating-header {
    background: rgba(10, 10, 10, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 90%;
    max-width: 1200px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 900;
    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.logo img {
    height: 2.5rem;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 0.5rem;
    z-index: 910;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 1.5rem;
    height: 0.2rem;
    background: #ffffff;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(0.8rem, 0.8rem);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(0.6rem, -0.6rem);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #d4af37;
}

nav .btn-assinar {
    background: #d4af37;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 0.3rem;
    font-weight: bold;
    transition: background 0.3s ease;
}

nav .btn-assinar:hover {
    background: #c19b2e;
}

/* ==================== HERO FULL-SCREEN ==================== */
.hero {
    height: 100vh;
    min-height: 100vh;
    padding: 9rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: url('../images/capa1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
    z-index: 1;
}

.hero > * {
    position: relative;
    z-index: 2;
}

.logo-hero {
    text-align: center;
    margin-bottom: 2rem;
    z-index: 2;
    position: relative;
}

.logo-hero img {
    max-width: 100%;
    height: auto;
    width: 18rem;
    transition: all 0.5s ease;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.logo-hero:hover img {
    transform: scale(1.08);
    filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.8)) 
            drop-shadow(0 0 40px rgba(212, 175, 55, 0.6));
}

.main-title {
    font-size: clamp(2rem, 8vw, 4.4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-family: 'Playfair Display', serif;
}

.main-title span {
    color: #d4af37;
}

.description {
    font-size: clamp(1rem, 3vw, 1.45rem);
    max-width: 900px;
    margin: 1.5rem auto 2rem;
    line-height: 1.6;
    color: #e0e0e0;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}

.buttons {
    margin: 2rem 0 3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: clamp(0.9rem, 2vw, 1.4rem);
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-explorar {
    background: #ffffff;
    color: #000000;
}

.btn-explorar:hover {
    background: #d4af37;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-ver {
    background: transparent;
    color: white;
    border: 2px solid #666;
}

.btn-ver:hover {
    background: #d4af37;
    border-color: #d4af37;
    transform: translateY(-2px);
}

/* ==================== ANIMATIONS ==================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ==================== PRELOADER MINIMALISTA ==================== */
.modern-preloader {
    position: fixed;
    inset: 0;
    background: #050505;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.preloader-text.fade-in-out {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    color: #d4af37;
    opacity: 0;
    animation: poetryFade 3s ease-in-out infinite alternate;
}

.loader-minimal {
    width: 40px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.loader-minimal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    background: #d4af37;
    animation: loaderSlide 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes poetryFade {
    0% { opacity: 0; transform: translateY(10px); }
    50% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0.8; }
}

@keyframes loaderSlide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

/* ==================== SEÇÃO DE LIVROS ==================== */
.books-section {
    padding: 4rem 2rem;
    background: #000;
}

.section-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    color: #d4af37;
    margin-bottom: 0.5rem;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

.section-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.4rem);
    opacity: 0.7;
    margin-bottom: 3rem;
    text-align: center;
}

.books-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 2rem;
    padding: 1rem 0;
    max-width: 1400px;
    margin: 0 auto;
}

.perspective-3d-container {
    perspective: 1000px;
}

.book-card {
    position: relative;
    width: 100%;
    height: 27rem;
    overflow: hidden;
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s ease;
    transform-style: preserve-3d;
}

.book-card::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    transition: all 0.6s ease;
    z-index: 10;
}

.book-card:hover {
    transform: rotateY(10deg) rotateX(5deg) scale(1.05) translateZ(20px);
    box-shadow: -15px 20px 40px rgba(0, 0, 0, 0.8), 0 0 40px rgba(212, 175, 55, 0.4);
}

.book-card:hover::after {
    left: 200%;
}

.book-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.book-card:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(212, 175, 55, 0.85) 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.book-card:hover .overlay {
    opacity: 1;
}

.overlay h3 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 8px black;
}

.overlay p {
    font-size: clamp(0.85rem, 2vw, 1.1rem);
    opacity: 0.9;
    line-height: 1.4;
}

/* ==================== SEÇÃO DE PREÇOS ==================== */
.pricing-section {
    padding: 4rem 2rem;
    background: transparent;
    text-align: center;
    color: #ffffff;
}

.pricing-title {
    font-size: clamp(2rem, 6vw, 4.5rem);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.pricing-title span {
    color: #d4af37;
}

.pricing-subtitle {
    font-size: clamp(1rem, 2vw, 1.6rem);
    max-width: 800px;
    margin: 0 auto 3rem;
    opacity: 0.9;
}

.currency-toggle {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.toggle-btn {
    background: #222;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: clamp(0.85rem, 2vw, 1.2rem);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0.25rem;
}

.toggle-btn.active {
    background: #d4af37;
}

.toggle-btn:hover {
    background: #c19b2e;
}

.plans-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.plan-card {
    background: rgba(28, 28, 28, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    width: 100%;
    max-width: 380px;
    position: relative;
    transition: transform 0.4s ease, border-color 0.4s ease;
    color: #fff;
}

.plan-card:hover {
    transform: translateY(-1rem);
    border-color: #d4af37;
}

.plan-card.popular {
    border-color: #d4af37;
    background: #0a0a0a;
}

.ribbon {
    position: absolute;
    top: -1.25rem;
    right: 2rem;
    background: #d4af37;
    color: white;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 0 0 0.5rem 0.5rem;
}

.plan-card h3 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 1rem;
}

.price {
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.price small {
    font-size: clamp(0.9rem, 2vw, 1.4rem);
    opacity: 0.7;
}

.discount {
    color: #d4af37;
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.features li {
    font-size: clamp(0.9rem, 2vw, 1.15rem);
    margin-bottom: 0.85rem;
    padding-left: 1.75rem;
    position: relative;
}

.features li::before {
    content: "✓";
    color: #d4af37;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.btn-signup {
    display: block;
    background: #d4af37;
    color: white;
    padding: 1rem 1.5rem;
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: background 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-signup:hover {
    background: #c19b2e;
    transform: translateY(-2px);
}

/* ==================== SEÇÃO DE DESTAQUES (BENTO BOX) ==================== */
.bento-section {
    padding: 6rem 2rem;
    background: #000;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.8) 0%, rgba(15, 15, 15, 0.4) 100%);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Feature 1 span 2 rows if space permits */
@media (min-width: 992px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: minmax(250px, auto);
    }
    .feature-card:first-child {
        grid-row: span 2;
    }
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.1), transparent 50%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
}

.feature-card:hover {
    transform: translateY(-0.75rem);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3);
}

.icon-circle {
    width: 5rem;
    height: 5rem;
    background: #d4af37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: white;
}

.feature-card h3 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: clamp(0.9rem, 2vw, 1.15rem);
    opacity: 0.85;
    line-height: 1.6;
}

/* ==================== FOOTER ==================== */
.site-footer {
    background: #000000;
    padding: 4rem 2rem 2rem;
    color: #aaa;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto 3rem;
    gap: 2rem;
}

.footer-logo {
    max-width: 350px;
}

.footer-logo img {
    height: 3.75rem;
    margin-bottom: 1.25rem;
}

.footer-logo p {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    opacity: 0.7;
    transition: opacity 0.3s ease;
    display: inline-flex;
}

.social-icons a:hover {
    opacity: 1;
}

.social-icons img {
    width: 1.5rem;
    height: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-column h4 {
    color: white;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: #aaa;
    text-decoration: none;
    font-size: clamp(0.85rem, 2vw, 1rem);
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #d4af37;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #222;
    font-size: clamp(0.8rem, 2vw, 0.95rem);
    opacity: 0.7;
}

/* ==================== MODAIS (ESCONDIDOS POR PADRÃO) ==================== */
/* Estilo Base do Modal - Efeito Vidro Sombrio */
.modal-content {
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    max-width: 450px;
    width: 90%;
    position: relative;
    transition: transform 0.3s ease;
}

/* Campos de Input Elegantes */
.modal-form .form-group {
    margin-bottom: 20px;
}

.modal-form label {
    display: block;
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-form input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 15px;
    color: #fff;
    font-family: inherit;
    transition: all 0.3s ease;
}

.modal-form input:focus {
    outline: none;
    border-color: #d4af37; /* Dourado */
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

/* Opções de Pagamento Estilizadas */
.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-bottom: 25px;
}

.payment-option input {
    display: none; /* Esconde o rádio original */
}

.payment-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 10px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option input:checked + .payment-card {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
}

.payment-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 5px;
}

.payment-name {
    font-size: 0.7rem;
    color: #ccc;
    font-weight: bold;
}

/* Botões */
.btn-form {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #d4af37;
    color: #ffffff;
}

.btn-form:hover {
    background: #f1c40f;
    transform: scale(1.02);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    margin-top: 10px;
}
/* ==================== MEDIA QUERIES RESPONSIVAS ==================== */
@media (max-width: 768px) {
    .books-carousel {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .book-card {
        height: 22.5rem;
    }
    .floating-header {
        padding: 0.8rem 1.5rem;
        width: 95%;
    }
    .menu-toggle {
        display: flex;
    }
    nav {
        position: fixed;
        inset: 0;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        z-index: 890;
    }
    nav.active {
        opacity: 1;
        visibility: visible;
    }
    nav ul {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        text-align: center;
    }
    nav a {
        font-size: 1.5rem;
    }
    .hero {
        padding: 5rem 1rem 1rem;
    }
    .logo-hero img {
        width: 12rem;
    }
}

@media (max-width: 480px) {
    .books-carousel {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .book-card {
        height: 18rem;
    }
}

@media (min-width: 1200px) {
    .books-carousel {
        grid-template-columns: repeat(4, 1fr);
    }
    .book-card {
        height: 27rem;
    }
}

/* ... mantém o resto do teu CSS para teaser, preloader, etc. ... */
/* Página Teaser (transparência leve no fundo) */
.teaser-page {
    background: #000 url('../images/capa1.png') center/cover no-repeat fixed;
    background-attachment: fixed;
}

.teaser-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75); /* transparência 75% - ajusta se quiseres mais leve */
    z-index: -1;
}

.teaser-content {
    padding: 120px 40px 80px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.back-btn {
    position: fixed;
    top: 90px;
    left: 40px;
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    padding: 8px 16px;
    background: rgba(0,0,0,0.5);
    border-radius: 6px;
    z-index: 100;
    transition: all 0.3s;
}

.back-btn:hover {
    background: #d4af37;
}

.teaser-title {
    font-size: 4.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #fff;
    text-shadow: 0 0 20px rgba(212, 175, 55,0.6);
}

/* Página Teaser - fundo com leve transparência */
.teaser-page {
    background: #000 url('../images/capa1.png') center/cover no-repeat fixed;
}

.teaser-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78); /* transparência leve como na imagem */
    z-index: -1;
}

/* Layout principal: esquerda (capa) | direita (conteúdo) */
.teaser-main {
    padding: 120px 40px 80px;
    max-width: 1400px;
    margin: 0 auto;
    color: #e0e0e0;
}

.teaser-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

/* Esquerda: Capa + título + descrição */
.book-left {
    text-align: center;
}

.book-cover {
    width: 100%;
    max-width: 320px; /* ≈9cm em desktop normal */
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.7);
    margin-bottom: 30px;
}

.book-title {
    font-family: 'Cinzel', serif;
    font-size: 3.2rem;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(212, 175, 55,0.5);
}

.book-author {
    font-size: 1.3rem;
    color: #d4af37;
    margin-bottom: 20px;
}

.book-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    opacity: 0.9;
}

/* Direita: Seções */
.book-right {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.teaser-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    color: #d4af37;
    margin-bottom: 30px;
    text-align: left;
}

/* Cards de poemas */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.poem-card {
    background: rgba(30,30,30,0.85);
    border: 1px solid #444;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.4s ease;
}

.poem-card:hover {
    transform: translateY(-8px);
    border-color: #d4af37;
    box-shadow: 0 15px 35px rgba(212, 175, 55,0.25);
}

.poem-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.poem-card p {
    font-size: 1.05rem;
    line-height: 1.6;
    opacity: 0.88;
}

.read-more {
    color: #d4af37;
    font-weight: bold;
    text-decoration: none;
    margin-top: 15px;
    display: inline-block;
}

.read-more:hover {
    text-decoration: underline;
}

/* Vídeos */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.video-card {
    background: rgba(30,30,30,0.85);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(212, 175, 55,0.25);
}

.video-thumb {
    position: relative;
}

.video-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(212, 175, 55,0.75);
    border: none;
    color: white;
    font-size: 3.5rem;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.play-btn:hover {
    background: #d4af37;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-card h3 {
    padding: 15px;
    font-size: 1.4rem;
}

.video-card p {
    padding: 0 15px 15px;
    font-size: 1rem;
    opacity: 0.7;
}

/* Áudios */
.audio-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.audio-card {
    background: rgba(30,30,30,0.9);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #444;
}

.audio-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

audio {
    width: 100%;
    margin-top: 10px;
}

/* Responsividade */
@media (max-width: 1024px) {
    .teaser-layout {
        grid-template-columns: 1fr;
    }
    .book-cover {
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .teaser-main {
        padding: 100px 20px 60px;
    }
    .back-btn {
        top: 80px;
        left: 20px;
    }
    .book-title {
        font-size: 2.8rem;
    }
    .teaser-section h2 {
        font-size: 2rem;
    }
}

/* Palavra Gratuito */
.free-ribbon {
    position: absolute;
    top: 12px;
    left: -8px;                /* ligeiro ângulo para fora */
    background: linear-gradient(135deg, rgb(11, 212, 11) 0%, #40db15 100%);
    color: #fff;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 0.45rem 2.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transform: rotate(-45deg) translateX(-20%);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.5);
    z-index: 10;
    white-space: nowrap;
    border-radius: 3px 3px 0 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}

/* Efeito hover para dar mais vida (opcional, mas fica bonito) */
.book-card:hover .free-ribbon {
    transform: rotate(-45deg) translateX(-20%) scale(1.08);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.7);
}
/* Modal base – fundo escuro imersivo */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    align-items: center;
    justify-content: center;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

/* Conteúdo do modal */
.modal-content, .modal-signup .modal-content {
    background: #111111;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    transform: scale(0.95);
    transition: transform 0.4s ease;
    margin: 0; /* reset safety */
}

.modal.show .modal-content {
    transform: scale(1);
}

/* Cabeçalho do modal */
.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    color: #d4af37;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.4);
}

.modal-header p {
    color: #aaa;
    font-size: 1.05rem;
}

/* Campos de formulário */
.form-group {
    margin-bottom: 1.6rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    color: #ddd;
    font-weight: 500;
    font-size: 1.05rem;
}

.form-group input {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

/* Botões do formulário */
.btn-form {
    width: 100%;
    padding: 1rem;
    background: #d4af37;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-form:hover {
    background: #c19b2e;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: #222;
}

.btn-secondary:hover {
    background: #333;
}

/* Link "Criar conta" / "Já tens conta?" */
.modal-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 1.05rem;
}

.modal-footer a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
}

.modal-footer a:hover {
    text-decoration: underline;
}

/* Botão fechar (X) */
.modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #777;
    font-size: 2.2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #d4af37;
}