@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Great+Vibes&display=swap');

/* ==========================================================================
   VARIÁVEIS
   ========================================================================== */
:root {
    --gold: #d4a87a;
    --gold-light: #e8c99a;
    --gold-dark: #c4956a;
    --purple: #742670;
    --purple-light: #a03da0;
    --bg: #000000;
    --bg-surface: #0a0508;
    --bg-card: #0f0a0d;
    --text: #fff5e6;
    --text-muted: rgba(255, 245, 230, 0.6);
    --border: rgba(212, 168, 122, 0.2);
    --border-hover: rgba(212, 168, 122, 0.5);
}

/* ==========================================================================
   1. RESET E BASE
   ========================================================================== */
body {
    text-align: center;
    font-family: 'Cormorant Garamond', Georgia, serif;
    background-color: #000;
    color: #fff;
    margin: 0;
    padding: 0;
}

p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 20px;
    box-sizing: border-box;
}

/* ==========================================================================
   2. HEADER COM BANNER
   ========================================================================== */
header.header-com-banner {
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    aspect-ratio: 1280 / 250 !important;
    padding: 0 !important;
    z-index: 1 !important;
    border-bottom: 1px solid rgba(163, 78, 158, 0.2) !important;
}

.header-bg-static {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
}

.header-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(to bottom, rgba(10, 5, 8, 0.65), rgba(10, 5, 8, 0.35)) !important;
    z-index: 2 !important;
}

.header-content {
    position: absolute !important;
    inset: 0 !important;
    z-index: 10 !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: flex-end !important;
    padding: 20px 110px !important;
    box-sizing: border-box !important;
}

.header-content nav {
    display: flex !important;
    gap: 2.5rem !important;
    margin-bottom: 5px !important;
    font-size: 20px !important;
}

nav a {
    color: rgba(255, 255, 255, 0.85) !important;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 18px !important;
    letter-spacing: 0.2em !important;
    text-decoration: none !important;
    font-weight: bold !important;
    margin: 0 !important;
    transition: color 0.2s !important;
}

nav a:hover,
nav a.active {
    color: var(--gold) !important;
}

/* ==========================================================================
   3. BOTÕES DE ACESSO E CHIP DE USUÁRIO
   ========================================================================== */
.top-access-btns {
    position: fixed;
    top: 14px;
    right: 18px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 8px;
}

.access-btn {
    padding: 5px 14px;
    border-radius: 20px;
    font-family: inherit;
    font-size: 0.78rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.04em;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.55);
    background: none;
}
.access-btn:hover { color: #fff; border-color: rgba(255, 255, 255, 0.4); }

.access-btn-login {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: 2px;
    padding: 7px 20px;
}
.access-btn-login:hover {
    background: var(--gold);
    color: #0a0508;
}

.access-btn-cadastro {
    background: rgba(163, 78, 158, 0.15);
    border-color: rgba(163, 78, 158, 0.4);
    color: #c87fc3;
}
.access-btn-cadastro:hover { background: rgba(163, 78, 158, 0.3); }

.user-chip {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3px 10px 3px 4px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}
.user-chip:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(163, 78, 158, 0.4); }

.user-avatar-mini {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(163, 78, 158, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #c87fc3;
    overflow: hidden;
    flex-shrink: 0;
}
.user-avatar-mini img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

.user-chip-nome {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ==========================================================================
   4. DRAWER (MOBILE)
   ========================================================================== */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: rgba(10, 5, 8, 0.7);
    border: 1px solid rgba(163, 78, 158, 0.4);
    border-radius: 4px;
    cursor: pointer;
    z-index: 1100;
    position: fixed;
    top: 16px;
    left: 16px;
    transition: border-color 0.3s;
}
.hamburger-btn:hover { border-color: #a34e9e; }
.hamburger-btn span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--gold);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}
.hamburger-btn.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 5, 8, 0.6);
    z-index: 1050;
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.nav-overlay.visible { opacity: 1; }

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 260px;
    background: #0f0610;
    border-right: 1px solid rgba(163, 78, 158, 0.2);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    padding: 0 0 40px;
    box-sizing: border-box;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.5);
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(to right, #7a12a3, var(--gold), #7a12a3);
}

.mobile-drawer-logo {
    padding: 0;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(163, 78, 158, 0.15);
    overflow: hidden;
    height: 100px;
    flex-shrink: 0;
}
.mobile-drawer-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.mobile-drawer nav {
    display: flex;
    flex-direction: column !important;
    padding: 8px 24px 0 !important;
    gap: 0 !important;
    width: auto !important;
    font-size: unset !important;
    justify-content: unset !important;
    margin-bottom: 0 !important;
}
.mobile-drawer nav a {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 13px !important;
    letter-spacing: 0.25em !important;
    text-transform: uppercase !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 600 !important;
    padding: 14px 0 !important;
    border-bottom: 1px solid rgba(163, 78, 158, 0.1) !important;
    transition: color 0.2s, padding-left 0.2s !important;
    display: block !important;
    margin: 0 !important;
    text-decoration: none !important;
}
.mobile-drawer nav a:last-child { border-bottom: none !important; }
.mobile-drawer nav a:hover,
.mobile-drawer nav a.active { color: var(--gold) !important; padding-left: 8px !important; }

.drawer-user-area {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    margin-bottom: 0.5rem;
}
.drawer-user-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.drawer-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(163, 78, 158, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #c87fc3;
    overflow: hidden;
    flex-shrink: 0;
}
.drawer-user-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.drawer-user-info { display: flex; flex-direction: column; }
.drawer-user-nome { font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); }
.drawer-user-sub  { font-size: 0.75rem; color: rgba(255, 255, 255, 0.3); }
.drawer-btn-sair {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    font-family: inherit;
    font-size: 0.78rem;
    cursor: pointer;
    padding: 0.5rem 0;
    text-align: left;
    transition: color 0.2s;
    width: 100%;
    margin-top: 0.4rem;
}
.drawer-btn-sair:hover { color: rgba(255, 255, 255, 0.6); }

/* ==========================================================================
   5. TIPOGRAFIA E TÍTULOS
   ========================================================================== */
.section-title {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.8rem, 6vw, 5rem);
    color: var(--gold);
    margin: 3.5rem auto 0.5rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.1;
    animation: fadeUp 0.7s ease both;
}

.section-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 1px;
    color: #9a8a9a;
    margin: 0 auto;
    max-width: 600px;
}

.header-eyebrow {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #a34e9e;
    margin: 0 0 6px;
    animation: fadeUp 0.7s ease both;
}

.ilustra-subtitle,
.livros-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.82rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0 auto 2rem;
    animation: fadeUp 0.7s ease both;
}

.top-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
    position: relative;
}

/* Linha ornamental */
.ornament-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 0 auto 1.5rem;
    max-width: 400px;
    animation: fadeUp 0.7s 0.12s ease both;
}
.ornament-line::before,
.ornament-line::after {
    content: '';
    flex: 1;
    height: 1px;
}
.ornament-line::before { background: linear-gradient(to right, transparent, var(--gold-dark)); }
.ornament-line::after  { background: linear-gradient(to left,  transparent, var(--gold-dark)); }
.ornament-diamond {
    width: 6px;
    height: 6px;
    background: var(--gold);
    transform: rotate(45deg);
    flex-shrink: 0;
}

.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, #c4956a55, transparent);
}

/* ==========================================================================
   6. BARRA DE BUSCA
   ========================================================================== */
.search-box {
    display: flex;
    align-items: center;
    height: 46px;
    width: 420px;
    max-width: 90vw;
    background-color: #fff;
    border: 2px solid rgba(163, 78, 158, 0.35);
    border-radius: 30px;
    padding: 0 20px;
    box-shadow: 0 0 0 4px rgba(163, 78, 158, 0.08), 0 4px 20px rgba(0,0,0,0.4);
    box-sizing: border-box;
}
.search-box::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #a34e9e;
    flex-shrink: 0;
    margin-right: 10px;
}
.search-box input {
    border: none;
    background: transparent;
    outline: none;
    flex: 1;
    font-size: 14px;
    color: #444;
    padding-right: 10px;
}
.search-box input::placeholder { color: #888; }
.search-box button {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: transform 0.2s ease;
}
.search-box button:hover { transform: scale(1.1); }

/* ==========================================================================
   7. GRID DE LIVROS
   ========================================================================== */
.galeria-livros {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    max-width: 700px;
    margin: 20px auto 60px;
}

.livro-card {
    background-color: transparent;
    border-radius: 12px;
    text-align: left;
    transition: transform 0.2s ease;
    width: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.livro-card:hover { transform: translateY(-5px); }

.livro-card-img-wrapper {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}
.livro-card-img-wrapper img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}
.livro-card-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 45%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
    border-radius: 0 0 12px 12px;
    pointer-events: none;
}

.livro-card-overlay-text {
    position: absolute;
    bottom: 14px;
    left: 14px;
    z-index: 2;
}
.livro-card-overlay-text h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 1px 6px rgba(0,0,0,0.7);
}

.livro-card-nome {
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
    margin: 10px 0 0;
    text-align: left;
}

.livro-card > p,
.botoes-card-wrapper,
.livro-card > h3 { display: none !important; }

/* ==========================================================================
   8. BOTÕES DOS CARDS
   ========================================================================== */
.livro-card button {
    border: none;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: background 0.2s ease, transform 0.1s ease;
}
.livro-card button:active { transform: scale(0.96); }

.ver-ilustracoes { background-color: #7a12a3 !important; flex: 2; }
.ver-ilustracoes:hover { background-color: #a34e9e !important; }

.ver-ilustracoes-18 { background-color: #8b0000 !important; flex: 1; white-space: nowrap; }
.ver-ilustracoes-18:hover { background-color: #bd0000 !important; }

/* ==========================================================================
   9. GRID DE ILUSTRAÇÕES INTERNAS
   ========================================================================== */
.header-interna-ilustr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    margin-bottom: 60px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(122, 18, 163, 0.2);
    text-align: left;
}

.info-livro-lateral {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    width: 320px;
}

.capa-mini-interna {
    width: 70px;
    height: 105px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(122, 18, 163, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.texto-livro-lateral h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 2px;
    color: #fff;
}
.texto-livro-lateral p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #bfaec6;
    margin: 0;
}

.titulo-pagina-central {
    flex: 1;
    text-align: center;
    margin-right: 320px;
}

.grid-artes-livro {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.arte-card {
    background-color: #121212;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}
.arte-card a { text-decoration: none; display: block; cursor: pointer; }
.arte-card img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.arte-card:hover img {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(122, 18, 163, 0.3);
}

.legenda-arte {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    color: #bfaec6;
    margin-top: 10px;
    margin-bottom: 0;
    text-align: center;
}

/* Blur +18 */
.ilustracao-adulto { position: relative; }
.ilustracao-adulto .blur { filter: blur(15px); transition: filter 0.3s ease; }
.ilustracao-adulto button.ver-adulto {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(122, 18, 163, 0.9);
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
}
.ilustracao-adulto button.ver-adulto:hover { background-color: rgba(163, 78, 158, 0.9); }

.ilustr-card[data-img-blur="true"] .ilustr-card-img-wrap img {
    filter: blur(12px);
    transform: scale(1.1);
}

/* Exclusivos: sempre visíveis no DOM */
.ilustr-card[data-exclusivo="true"] { display: flex !important; }

/* Imagem exclusiva enquanto não logado — src estará vazio, ocupa espaço */
.ilustr-card[data-exclusivo="true"]:not(.exclusivo-visivel) .ilustr-card-img-wrap {
    cursor: pointer;
    background: rgba(10, 5, 12, 0.9);
    min-height: 260px;
}
.ilustr-card[data-exclusivo="true"]:not(.exclusivo-visivel) .ilustr-card-img-wrap img {
    opacity: 0;
    pointer-events: none;
}

/* Logado: imagem aparece normalmente, sem blur */
.ilustr-card[data-exclusivo="true"].exclusivo-visivel .ilustr-card-img-wrap img {
    opacity: 1;
    transition: transform 0.35s ease;
}
.ilustr-card[data-exclusivo="true"].exclusivo-visivel:hover .ilustr-card-img-wrap img {
    transform: scale(1.04);
}

/* ── LOCK OVERLAY ─────────────────────────────────────────────────────────── */
.ilustr-card-lock {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: linear-gradient(
        160deg,
        rgba(10, 4, 14, 0.96) 0%,
        rgba(30, 8, 40, 0.92) 100%
    );
    border: 1px solid rgba(163, 78, 158, 0.18);
    border-radius: inherit;
    z-index: 2;
    pointer-events: none;
    transition: background 0.3s ease;
}
.ilustr-card:hover .ilustr-card-lock {
    background: linear-gradient(
        160deg,
        rgba(12, 5, 18, 0.97) 0%,
        rgba(40, 10, 55, 0.94) 100%
    );
}
.ilustr-card-lock svg {
    width: 36px;
    height: 36px;
    color: rgba(163, 78, 158, 0.7);
    filter: drop-shadow(0 0 8px rgba(163, 78, 158, 0.35));
    transition: color 0.3s ease, filter 0.3s ease;
}
.ilustr-card:hover .ilustr-card-lock svg {
    color: rgba(200, 127, 195, 0.9);
    filter: drop-shadow(0 0 12px rgba(163, 78, 158, 0.6));
}
.ilustr-card-lock p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.78rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
    transition: color 0.3s ease;
}
.ilustr-card:hover .ilustr-card-lock p {
    color: rgba(200, 127, 195, 0.7);
}

/* ==========================================================================
   10. BOTÃO VOLTAR
   ========================================================================== */
.btn-voltar {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid rgba(212, 168, 122, 0.4);
    color: var(--gold);
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    letter-spacing: 0.1em;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: absolute;
    top: 290px;
    left: 30px;
    margin: 0;
}
.btn-voltar:hover { background: rgba(212, 168, 122, 0.1); border-color: var(--gold); }

/* ==========================================================================
   11. AVISO +18
   ========================================================================== */
.btn-hot {
    position: absolute;
    top: 16px; left: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(139, 0, 0, 0.6);
    color: #c0392b;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    letter-spacing: 0.08em;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}
.btn-hot:hover { background: rgba(139, 0, 0, 0.12); border-color: #c0392b; }

.aviso18-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.75);
    justify-content: center;
    align-items: center;
}
.aviso18-overlay.active { display: flex; }

.aviso18-box {
    background: #0f0a0d;
    border: 1px solid rgba(139, 0, 0, 0.4);
    border-radius: 12px;
    padding: 40px 36px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 8px 40px rgba(0,0,0,0.8);
}
.aviso18-icon { font-size: 2.5rem; margin: 0 0 12px; }
.aviso18-titulo {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #fff;
    margin: 0 0 12px;
}
.aviso18-texto {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    color: #9a8a9a;
    line-height: 1.6;
    margin: 0 0 28px;
    max-width: 100%;
}
.aviso18-btns { display: flex; gap: 12px; justify-content: center; }
.aviso18-cancelar {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: #aaa;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    padding: 10px 24px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}
.aviso18-cancelar:hover { border-color: rgba(255,255,255,0.4); color: #fff; }
.aviso18-confirmar {
    background: linear-gradient(135deg, #8b0000, #c0392b);
    border: none;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}
.aviso18-confirmar:hover { background: linear-gradient(135deg, #a00000, #e74c3c); transform: translateY(-1px); }

/* ==========================================================================
   12. MODAL
   ========================================================================== */
.ilustr-modal-box { position: relative; }

.ilustr-modal-img-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px;
    margin-top: 8px;
}

.ilustr-download-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
}
.ilustr-download-btn:hover { color: var(--gold); }

/* ==========================================================================
   13. COMENTÁRIOS
   ========================================================================== */
.comentarios-section {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem 2rem 4rem;
    text-align: center;
}

.comentarios-title {
    font-family: 'Great Vibes', cursive;
    font-size: 38px;
    color: var(--gold);
    margin: 0 0 6px;
}

.comentarios-sub {
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.35);
    margin: 0 0 2rem;
}

.comentario-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 2.5rem;
    text-align: left;
}

.comentario-input-nome,
.comentario-textarea {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(163, 78, 158, 0.2);
    border-radius: 4px;
    padding: 12px 16px;
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
    font-size: 15px;
    resize: none;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
    box-sizing: border-box;
}
.comentario-input-nome::placeholder,
.comentario-textarea::placeholder { color: rgba(255,255,255,0.25); }
.comentario-input-nome:focus,
.comentario-textarea:focus { border-color: rgba(163, 78, 158, 0.6); }

.comentario-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comentario-char-count {
    font-family: 'Cormorant Garamond', serif;
    font-size: 12px;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.1em;
}

.comentario-enviar {
    background: transparent;
    border: 1px solid rgba(163, 78, 158, 0.5);
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 9px 24px;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s;
}
.comentario-enviar:hover { background: rgba(163, 78, 158, 0.12); border-color: #a34e9e; transform: translateY(-1px); }
.comentario-enviar:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.comentarios-lista {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}

.comentarios-vazio {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: rgba(255,255,255,0.2);
    letter-spacing: 0.15em;
    font-size: 14px;
    text-align: center;
    padding: 2rem 0;
}

.comentario-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(163, 78, 158, 0.12);
    border-radius: 4px;
    padding: 1rem 1.2rem;
    animation: fadeIn 0.4s ease;
}

.comentario-card-header {
    display: flex;
   
    align-items: baseline;
    margin-bottom: 8px;
}

/* Nome mais próximo da foto — avatar inline no header do comentário */
.comentario-card-header {
    gap: 8px;
}

.comentario-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.comentario-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.comentario-avatar-inicial {
    background: rgba(163,78,158,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #c87fc3;
    font-family: 'Cormorant Garamond', serif;
}

.comentario-nome {
    font-family: 'Cormorant Garamond', serif;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #a34e9e;
    
}

.comentario-data {
    font-family: 'Cormorant Garamond', serif;
    font-size: 11px;
    color: rgba(255,255,255,0.2);
    letter-spacing: 0.1em;
    margin-left: auto;
}

@media (max-width: 480px) {
    .comentario-card-header {
        flex-wrap: wrap;
        row-gap: 2px;
    }

    .comentario-data {
        width: 100%;
        margin-left: 40px; /* alinha com o nome, após o avatar */
    }
}

.comentario-texto {
    font-family: 'Cormorant Garamond', serif;
    font-size: 15px;
    font-style: italic;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin: 0;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
}

.comentarios-loading {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: rgba(255,255,255,0.2);
    font-size: 13px;
    text-align: center;
    padding: 1rem 0;
    letter-spacing: 0.15em;
}

.comentario-acoes {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.btn-curtir {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 3px 10px;
    color: rgba(255,255,255,0.4);
    font-family: inherit;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
}
.btn-curtir:hover { border-color: #a34e9e; color: #a34e9e; }
.btn-curtir.curtido { border-color: #a34e9e; color: #a34e9e; background: rgba(163, 78, 158, 0.1); }
.btn-curtir svg {
    width: 13px; height: 13px;
    fill: none; stroke: currentColor;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
    transition: fill 0.2s ease;
}
.btn-curtir.curtido svg { fill: #a34e9e; }

.comentario-responder-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.3);
    font-family: inherit;
    font-size: 0.75rem;
    cursor: pointer;
    padding: 3px 0;
    transition: color 0.2s ease;
}
.comentario-responder-btn:hover { color: rgba(255,255,255,0.7); }

.respondendo-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(163, 78, 158, 0.1);
    border-left: 2px solid #a34e9e;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
}
.respondendo-banner strong { color: #c87fc3; }
.respondendo-banner button {
    background: none; border: none;
    color: rgba(255,255,255,0.4);
    cursor: pointer; font-size: 0.9rem;
    padding: 0 4px; transition: color 0.2s;
}
.respondendo-banner button:hover { color: #fff; }

.btn-ver-respostas {
    background: none; border: none;
    color: #a34e9e;
    font-family: inherit; font-size: 0.75rem;
    cursor: pointer; padding: 3px 0;
    transition: color 0.2s ease;
    display: inline-flex; align-items: center; gap: 5px;
}
.btn-ver-respostas:hover { color: #c87fc3; }
.btn-ver-respostas .seta { display: inline-block; transition: transform 0.25s ease; font-style: normal; }
.btn-ver-respostas.aberto .seta { transform: rotate(180deg); }

.comentario-respostas {
    margin-top: 0;
    border-left: 2px solid rgba(163, 78, 158, 0.25);
    padding-left: 14px;
    display: flex; flex-direction: column; gap: 10px;
    overflow: hidden; max-height: 0; opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease, margin-top 0.25s ease;
}
.comentario-respostas.visivel { max-height: 2000px; opacity: 1; margin-top: 10px; }

.comentario-resposta {
    background: rgba(255,255,255,0.03);
    border-radius: 6px;
    padding: 8px 12px;
}
.comentario-resposta .comentario-nome { font-size: 11px; }
.comentario-resposta .comentario-texto { font-size: 14px; }


.comentarios-paginacao {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4);
}

.comentarios-paginacao button {
    background: none;
    border: 1px solid rgba(163, 78, 158, 0.3);
    color: #a34e9e;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comentarios-paginacao button:hover:not(:disabled) {
    background: rgba(163, 78, 158, 0.15);
    border-color: #a34e9e;
}

.comentarios-paginacao button:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

/* ==========================================================================
   14. EMPTY STATE
   ========================================================================== */
#empty-state {
    text-align: center;
    padding: 60px 20px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#empty-state p { max-width: 100%; margin: 0 auto; text-align: center; }
#empty-state .empty-icon { font-size: 36px; color: var(--gold); margin-bottom: 16px; display: block; }
#empty-state .empty-title { font-family: 'Great Vibes', cursive; font-size: 2.5em; color: var(--gold); margin: 0 0 8px; max-width: 100%; }
#empty-state .empty-subtitle { font-family: 'Cormorant Garamond', serif; font-size: 1rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin: 0 auto; }

/* ==========================================================================
   15. LINKS ESPECIAIS
   ========================================================================== */
a.ilustr-meta-label {
    color: var(--gold);
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s;
}
a.ilustr-meta-label:hover { color: var(--gold-light); }

/* ==========================================================================
   16. FOOTER
   ========================================================================== */
footer {
    background: #000;
    color: rgba(255, 245, 230, 0.7);
    text-align: center;
    padding: 2rem 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 0.05em;
}
.social-media p { font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.6; margin-bottom: 0.4rem; }
.social-media a { color: #742670; text-decoration: none; font-size: 15px; display: block; margin-bottom: 0.5rem; }
.copyright p { font-size: 12px; opacity: 0.5; margin-top: 0.5rem; }

/* ==========================================================================
   17. ANIMAÇÕES
   ========================================================================== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.personagens-grid { animation: fadeUp 0.7s 0.25s ease both; }
.personagem-card  { animation: fadeIn 0.5s ease both; }

/* ==========================================================================
   18. MEDIA QUERIES
   ========================================================================== */
@media (max-width: 950px) {
    .header-interna-ilustr { flex-direction: column; gap: 30px; text-align: center; }
    .info-livro-lateral { justify-content: center; width: 100%; }
    .titulo-pagina-central { margin-right: 0; }
    .grid-artes-livro { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    header.header-com-banner { aspect-ratio: unset !important; height: 90px !important; }
    .header-content nav { display: none !important; }

    .hamburger-btn { display: flex; }

    .container { padding: 20px 12px !important; }

    .galeria-livros {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
        max-width: 100% !important;
    }
    .livro-card-img-wrapper img { height: 200px !important; }

    .ilustr-meta {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        width: 100%;
    }

    .filter-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .filter-grid label { white-space: normal; word-break: break-word; }
    .filter-dropdown { width: 92vw !important; left: 50% !important; transform: translateX(-50%) !important; right: unset !important; }
    .search-box { width: 100% !important; }

    .btn-voltar {
        position: static !important;
        margin: 12px 0 12px 16px !important;
        display: inline-flex !important;
    }

    main { display: flex; flex-direction: column; align-items: flex-start; }

    .header-interna-ilustr { flex-direction: column !important; gap: 20px !important; text-align: center !important; }
    .info-livro-lateral { justify-content: center !important; width: 100% !important; }
    .titulo-pagina-central { margin-right: 0 !important; }

    .grid-artes-livro { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px !important; }
    .section-title { font-size: 2.8rem !important; }


}

@media (max-width: 700px) {
    .galeria-livros { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 16px !important; max-width: 100% !important; }
    .livro-card-img-wrapper img { height: 220px !important; }
    .section-title { font-size: 3.5em !important; }
    .header-content { padding: 20px 20px !important; }
    .header-content nav { width: 100% !important; }
}

@media (max-width: 480px) {
    .galeria-livros { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .livro-card-img-wrapper img { height: 160px !important; }
    .grid-artes-livro { grid-template-columns: 1fr !important; }
    .section-title { font-size: 2.2rem !important; }
}

@media (max-width: 550px) {
    .grid-artes-livro { grid-template-columns: 1fr !important; }
}

/* ==========================================================================
   19. ILUSTRAÇÕES — HERO E GRID (de teste.css)
   ========================================================================== */

body.ilustracoes {
    background: #0a0508;
    font-family: 'Cormorant Garamond', Georgia, serif;
}

/* Hero */
.ilustr-hero {
    max-width: 920px;
    margin: 0 auto;
    padding: 4rem 2rem 3rem;
}

.ilustr-hero-inner {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3.5rem;
    align-items: center;
}

.ilustr-book-frame {
    position: relative;
    width: 180px;
}
.ilustr-book-frame::before {
    content: '';
    position: absolute;
    top: 10px; left: 10px;
    width: 100%; height: 100%;
    border: 1px solid rgba(196, 149, 106, 0.4);
    z-index: 0;
}

.ilustr-book-cover {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 12px 40px rgba(122, 18, 163, 0.35);
}

.ilustr-eyebrow {
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #a34e9e;
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 0.6rem;
}

.ilustr-title {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 400;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 0.3rem;
}
.ilustr-title em { font-style: italic; color: #c4956a; }

.ilustr-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 1.4rem;
}

.ilustr-divider-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, #c4956a, transparent);
    margin-bottom: 1.2rem;
}

.ilustr-desc {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    max-width: 480px;
    margin: 0 0 1.8rem;
}

.ilustr-meta {
    display: flex;
    gap: 2rem;
}
.ilustr-meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-left: 2px solid #c4956a;
    padding-left: 10px;
}
.ilustr-meta-num {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}
.ilustr-meta-label {
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #a34e9e;
}

.ilustr-section-divider {
    width: 80%;
    margin: 0 auto;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(196, 149, 106, 0.3), transparent);
    border: none;
}

/* Grid de ilustrações */
.ilustr-grid-section {
    max-width: 920px;
    margin: 0 auto;
    padding: 3rem 2rem 5rem;
}
.ilustr-grid-header { margin-bottom: 2.5rem; }
.ilustr-grid-eyebrow {
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #a34e9e;
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 0.4rem;
}
.ilustr-grid-title {
    font-family: 'Great Vibes', cursive;
    font-size: 42px;
    color: #d4a0cc;
    margin: 0;
    font-weight: 400;
}

.ilustr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.ilustr-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    cursor: pointer;
}

.ilustr-card-img-wrap {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(196, 149, 106, 0.15);
}
.ilustr-card-img-wrap img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.ilustr-card:hover .ilustr-card-img-wrap img { transform: scale(1.05); }

.ilustr-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 5, 8, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.ilustr-card:hover .ilustr-card-overlay { opacity: 1; }

.ilustr-card-zoom {
    font-size: 28px;
    color: #c4956a;
    transform: rotate(45deg);
    display: block;
}

.ilustr-card-info {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    padding: 0.8rem 0.2rem 0;
    border-top: 1px solid rgba(196, 149, 106, 0.15);
    margin-top: 1px;
}
.ilustr-card-title {
   font-family: 'Cormorant Garamond', serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.04em;
    margin: 0;
    text-align: left;
    width: 100%;
}
.ilustr-card-num {
    margin-left: auto;
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 12px;
    letter-spacing: 0.1em;
    flex-shrink: 0;
}

.ilustr-card-actions {
   display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-wrap: nowrap;
}
.ilustr-btn-baixar {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: rgba(255,255,255,0.3);
    transition: color 0.2s;
    text-decoration: none;
    flex-shrink: 0; /* nunca encolhe */
    font-family: 'Cormorant Garamond', serif;
    font-size: 13px;
}

.ilustr-btn-baixar:hover {
    color: rgba(255,255,255,0.8);
}

.ilustr-download-bloqueado {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Exclusivos: escondidos por padrão, JS libera quando logado */


/* Footer das ilustrações */
.ilustr-footer {
    background: #050205;
    border-top: 1px solid rgba(163, 78, 158, 0.15);
    text-align: center;
    padding: 2rem 1.5rem;
    font-family: 'Cormorant Garamond', serif;
}
.ilustr-footer .social-media p {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 245, 230, 0.7);;
    margin-bottom: 0.5rem;
}
.ilustr-footer a { color: #742670; font-size: 15px; text-decoration: none; display: block; margin-bottom: 0.5rem; }
.ilustr-footer a:hover { color: #fff; }
.ilustr-footer .copyright p {
    font-size: 11px;
    color: rgba(255, 245, 230, 0.7);
    margin-top: 0.8rem;
    border-top: 1px solid rgba(163, 78, 158, 0.1);
    padding-top: 0.8rem;
}

/* ==========================================================================
   20. MODAL DE ILUSTRAÇÃO (de teste.css)
   ========================================================================== */
.ilustr-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.ilustr-modal.active { opacity: 1; pointer-events: all; }

.ilustr-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 2, 5, 0.92);
    backdrop-filter: blur(6px);
}

.ilustr-modal-box {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    background: #0f0710;
    border: 1px solid rgba(196, 149, 106, 0.2);
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}
.ilustr-modal.active .ilustr-modal-box { transform: translateY(0); }

.ilustr-modal-close {
    position: absolute;
    top: 14px; right: 16px;
    background: transparent;
    border: none;
    color:#a34e9e;
    font-size: 18px;
    cursor: pointer;
    z-index: 2;
    transition: color 0.2s;
    line-height: 1;
}
.ilustr-modal-close:hover { color: #c4956a; }

.ilustr-modal-img-col {
    position: relative;
    overflow: hidden;
}
.ilustr-modal-img-col img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ilustr-modal-num {
    position: absolute;
    bottom: 12px; left: 14px;
    font-family: 'Playfair Display', serif;
    font-size: 11px;
    color: rgba(196, 149, 106, 0.6);
    letter-spacing: 0.1em;
    margin: 0;
}

.ilustr-modal-text-col {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
    background: #0f0710;
}
.ilustr-modal-eyebrow {
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #a34e9e;
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 0.8rem;
}
.ilustr-modal-titulo {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 400;
    color: #fff;
    margin: 0 0 1rem;
    line-height: 1.3;
}
.ilustr-modal-divider {
    width: 50px;
    height: 1px;
    background: linear-gradient(to right, #c4956a, transparent);
    margin-bottom: 1.4rem;
}
.ilustr-modal-trecho {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 17px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.75);
    white-space: pre-line;
    margin: 0;
    overflow-y: auto;
    max-height: 350px;
    scrollbar-width: thin;
    scrollbar-color: rgba(180, 140, 100, 0.5) transparent;
}

@media (max-width: 640px) {
    .ilustr-modal-box { grid-template-columns: 1fr; max-height: 95vh; overflow-y: auto; }
    .ilustr-modal-img-col img { height: auto; width: 100%; object-fit: contain; }
    .ilustr-modal-text-col { padding: 2rem 1.5rem; }
    .ilustr-book-wrap { display: flex; justify-content: center; }
}

@media (max-width: 620px) {
    .ilustr-hero-inner { grid-template-columns: 1fr; gap: 2rem; }
    .ilustr-book-frame { width: 140px; }
    .ilustr-title { font-size: 28px; }
    .ilustr-grid { grid-template-columns: 1fr; }
}

.comentario-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.comentario-avatar-inicial {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #a34e9e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}


/* Toast */
.curtir-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(16px);
    background: #1e1e2e;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, transform .3s;
    z-index: 9999;
    border: 1px solid #a34e9e44;
}
.curtir-toast.visivel {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}





/* Botão excluir comentário */
.comentario-excluir-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.2);
    font-family: inherit;
    font-size: 0.72rem;
    cursor: pointer;
    padding: 3px 0;
    transition: color 0.2s ease;
    margin-left: auto;
}
.comentario-excluir-btn:hover { color: #c0392b; }

/* Comentário da autora */
.comentario-autora {
    border-color: rgba(196, 149, 106, 0.5) !important;
    background: linear-gradient(135deg, rgba(196, 149, 106, 0.06), rgba(163, 78, 158, 0.06)) !important;
    box-shadow: 0 0 20px rgba(196, 149, 106, 0.08);
}

.badge-autora {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #c4956a, #a34e9e);
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 20px;
    flex-shrink: 0;
}
