/* ========================= */
/* RESET & BASE */
/* ========================= */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #F8F6F2; /* Off-white editorial */
    color: #1a1a1a;
    -webkit-font-smoothing: antialiased;
}

button, a {
    transition: all 0.4s ease;
}

/* ========================= */
/* HEADER */
/* ========================= */
header {
    background: #0A0A0A;
    color: white;
    text-align: center;
    padding: 110px 20px; /* mais espaço = luxo */
}

.brand-header {
    text-align: center;
    margin-bottom: 30px;
}

.brand-logo {
    height: 90px;
    width: auto;
    display: block;
    margin: 0 auto 25px auto;
}

.brand-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 46px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0;
}

.brand-header h1::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: #C6A75E; /* dourado sofisticado */
    margin: 20px auto 0;
}

header p {
    font-size: 17px;
    letter-spacing: 1px;
    opacity: 0.85;
}

/* Botão mais sofisticado */
.about-btn {
    margin-top: 35px;
    padding: 14px 36px;
    background: transparent;
    border: 1px solid #C6A75E;
    color: #C6A75E;
    font-size: 14px;
    font-weight: 500;
    border-radius: 3px;
    cursor: pointer;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.about-btn:hover {
    background: #C6A75E;
    color: #0A0A0A;
}

/* ========================= */
/* CONTAINER LIVROS */
/* ========================= */
.container {
    max-width: 1200px;
    margin: 100px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 50px;
    padding: 20px;
}

/* ========================= */
/* BOOK CARD */
/* ========================= */
.book-card {
    background: white;
    border-radius: 6px; /* menos arredondado */
    box-shadow: 0 30px 80px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.6s ease;
}

.book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 100px rgba(0,0,0,0.08);
}

.book-card img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.book-card:hover img {
    transform: scale(1.03);
}

.book-info {
    padding: 30px;
}

.book-info h3 {
    margin: 0 0 15px 0;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.book-info p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

/* ========================= */
/* BOTÕES */
/* ========================= */
.buttons {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.buttons a {
    text-decoration: none;
    text-align: center;
    padding: 14px;
    border-radius: 3px;
    font-weight: 500;
    border: 1px solid #C6A75E;
    color: #0A0A0A;
    letter-spacing: 0.5px;
    background: transparent;
}

.buttons a:hover {
    background: #0A0A0A;
    color: white;
}

/* Remove cores vibrantes */
.amazon,
.hotmart {
    background: transparent;
}

/* ========================= */
/* DOAÇÃO */
/* ========================= */
.donation-section {
    background: #0A0A0A;
    color: white;
    padding: 140px 20px;
    text-align: center;
}

.donation-content {
    max-width: 800px;
    margin: auto;
}

.donation-section h2 {
    font-size: 42px;
    font-family: 'Playfair Display', serif;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.donation-section p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0.9;
}

.donation-section strong {
    color: #C6A75E;
}

.highlight {
    color: #C6A75E;
    font-size: 22px;
    font-weight: 600;
    margin-top: 30px;
}

/* ========================= */
/* MODAL */
/* ========================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 1000;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    background: white;
    width: 90%;
    max-width: 600px;
    padding: 70px 40px;
    border-radius: 6px;
    text-align: center;
    transform: translateY(-20px);
    transition: all 0.4s ease;
    box-shadow: 0 40px 100px rgba(0,0,0,0.15);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-content h2 {
    font-size: 28px;
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
}

.modal-highlight {
    font-weight: 600;
    color: #C6A75E;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 18px;
    cursor: pointer;
}

/* ========================= */
/* WHATSAPP FLOAT */
/* ========================= */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
}

.whatsapp-button {
    background: #0A0A0A;
    color: #C6A75E;
    padding: 14px 22px;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 500;
    border: 1px solid #C6A75E;
}

.whatsapp-menu {
    display: none;
    margin-bottom: 15px;
    background: white;
    border-radius: 6px;
    padding: 15px;
    width: 260px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.08);
}

.whatsapp-menu a {
    display: block;
    text-decoration: none;
    border: 1px solid #C6A75E;
    color: #0A0A0A;
    padding: 10px;
    border-radius: 3px;
    margin: 6px 0;
    text-align: center;
    font-size: 14px;
}

.whatsapp-menu a:hover {
    background: #0A0A0A;
    color: white;
}

/* ========================= */
/* ADMIN (mantido funcional) */
/* ========================= */
.remove-btn,
.admin-btn,
.admin-panel button {
    width: 100%;
    padding: 8px;
    border-radius: 3px;
    cursor: pointer;
    border: 1px solid #ddd;
}

.remove-btn {
    background: #111;
    color: white;
    font-size: 12px;
    margin-bottom: 5px;
}

.admin-btn {
    background: #111;
    color: white;
    margin-top: 10px;
}

.admin-panel {
    display: none;
    margin-top: 10px;
}

.admin-panel input {
    width: 100%;
    padding: 8px;
    margin: 5px 0;
}

/* ========================= */
/* FOOTER */
/* ========================= */
footer {
    text-align: center;
    padding: 50px;
    background: #0A0A0A;
    color: #aaa;
    margin-top: 100px;
    font-size: 13px;
    letter-spacing: 1px;
}

/* ========================= */
/* RESPONSIVO */
/* ========================= */
@media (max-width: 768px) {

    header {
        padding: 70px 20px;
    }

    .brand-header h1 {
        font-size: 30px;
    }

    .container {
        margin: 60px auto;
        gap: 30px;
    }

    .donation-section {
        padding: 80px 20px;
    }

    .modal-content {
        padding: 40px 25px;
    }

}
