/* ========== RESET E CONFIGURAÇÕES GERAIS ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6c63ff;
    --primary-dark: #5a52d5;
    --secondary: #1a1a2e;
    --bg: #f8f9fa;
    --text: #2d2d2d;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    padding-top: 70px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul { list-style: none; }

/* ========== NAVBAR ========== */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 2rem;
    height: 70px;
    display: flex;
    align-items: center;
}

.navbar {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}
.logo i { margin-right: 8px; }

.nav-links {
    display: flex;
    gap: 2rem;
}
.nav-links a {
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--text);
    border-radius: 3px;
    transition: var(--transition);
}

/* ========== HERO ========== */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: calc(100vh - 70px);
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
}
.hero-content h1 span {
    color: var(--primary);
}
.hero-content p {
    font-size: 1.2rem;
    color: #555;
    margin: 1.5rem 0;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ========== BOTÕES ========== */
.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--primary);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

/* ========== CARDS / DIFERENCIAIS ========== */
.diferenciais {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
}
.diferenciais h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}
.card h3 {
    margin-bottom: 0.5rem;
}

/* ========== DEPOIMENTOS ========== */
.depoimentos {
    background: var(--secondary);
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
}
.depoimentos h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}
.depoimentos-container {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.depoimentos blockquote {
    background: rgba(255,255,255,0.05);
    padding: 2rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
    text-align: left;
}
.depoimentos blockquote p {
    font-size: 1.1rem;
    font-style: italic;
}
.depoimentos blockquote cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    color: #aaa;
    font-size: 0.9rem;
}

/* ========== PÁGINAS INTERNAS ========== */
.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}
.page-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.about-grid h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.servico-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}
.servico-card:hover {
    transform: translateY(-5px);
}
.servico-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}
.servico-card h3 {
    margin-bottom: 0.5rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.post-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.post-card:hover {
    transform: translateY(-5px);
}
.post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.post-card h3 {
    padding: 1rem 1rem 0;
}
.post-card p {
    padding: 0 1rem 1rem;
    color: #555;
}

/* ========== CONTATO ========== */
.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.contato-info h3 {
    margin-bottom: 1rem;
}
.contato-info p {
    margin: 0.8rem 0;
}
.contato-info i {
    width: 24px;
    color: var(--primary);
}

.contato-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.contato-form h3 {
    margin-bottom: 1.5rem;
}
.form-group {
    margin-bottom: 1.2rem;
}
.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.3rem;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}
.form-group textarea {
    resize: vertical;
}

/* ========== LOJA ========== */
.loja-filtros {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.loja-filtros select,
.loja-filtros input {
    padding: 0.6rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
}
.loja-filtros input {
    flex: 1;
    min-width: 200px;
}

.produtos-loja-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.produto-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.produto-card:hover {
    transform: translateY(-5px);
}
.produto-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.produto-info {
    padding: 1rem;
}
.produto-info h3 {
    font-size: 1.1rem;
}
.produto-desc {
    color: #777;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}
.produto-preco {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0.5rem 0;
}

/* ========== CARRINHO ========== */
.carrinho-lista {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}
.carrinho-header {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 0.5fr;
    gap: 1rem;
    font-weight: 700;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
}
.carrinho-item {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 0.5fr;
    gap: 1rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}
.carrinho-produto {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.carrinho-produto img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}
.carrinho-quantidade {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.carrinho-quantidade button {
    background: #eee;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
}
.carrinho-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    margin-top: 1rem;
    border-top: 2px solid #eee;
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    z-index: 999;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

/* ========== FOOTER ========== */
footer {
    background: var(--secondary);
    color: #ccc;
    padding: 3rem 2rem 1rem;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}
.footer-col h4 {
    color: var(--white);
    margin-bottom: 1rem;
}
.footer-col ul li {
    margin: 0.5rem 0;
}
.footer-col ul li a:hover {
    color: var(--primary);
}
.social-links a {
    display: inline-block;
    margin-right: 1rem;
    font-size: 1.5rem;
    color: #ccc;
    transition: var(--transition);
}
.social-links a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

/* ========== BOTÃO VOLTAR AO TOPO ========== */
#btnTopo {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 999;
}
#btnTopo.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#btnTopo:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ========== RESPONSIVO ========== */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem 1rem;
    }
    .hero-content p {
        margin: 1.5rem auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-image img {
        max-width: 100%;
    }
    .about-grid,
    .contato-grid {
        grid-template-columns: 1fr;
    }
    .depoimentos-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        transform: translateX(100%);
        transition: var(--transition);
    }
    .nav-links.open {
        transform: translateX(0);
    }
    .hamburger {
        display: flex;
    }
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }
    .diferenciais h2,
    .depoimentos h2,
    .page-content h1 {
        font-size: 2rem;
    }
    
    .carrinho-header {
        display: none;
    }
    .carrinho-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 1rem;
        border: 1px solid #eee;
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }
    .carrinho-total {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .btn-primary,
    .btn-secondary {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    .contato-form {
        padding: 1.5rem;
    }
}
/* ========================================
   ESTILO DE LIVRO - CAPA E PÁGINAS
   ======================================== */

body {
    background: #2c1810;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.book-container {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    background: #fdf6e3;
    padding: 30px 25px;
    border-radius: 8px;
    box-shadow: 
        0 20px 60px rgba(0,0,0,0.8),
        0 0 0 1px #8b7355 inset;
    min-height: 600px;
}

.book-cover {
    background: #1a1a2e;
    color: #f5e6c4;
    padding: 40px 20px;
    border-radius: 4px;
    text-align: center;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px solid #d4a854;
    position: relative;
}

.book-cover h1 {
    font-size: 2.5rem;
    font-family: 'Georgia', serif;
    color: #f5e6c4;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 10px;
}

.book-cover .autor {
    font-size: 1.2rem;
    color: #d4a854;
    font-style: italic;
}

.book-cover .subtitulo {
    font-size: 1rem;
    color: #bfa88a;
    margin-top: 20px;
    border-top: 1px solid #d4a854;
    padding-top: 20px;
}

.page-content {
    background: #fdf6e3;
    color: #3d2b1f;
    padding: 30px 20px;
    min-height: 500px;
    font-family: 'Georgia', serif;
    line-height: 1.8;
}

.page-content h1 {
    font-size: 2rem;
    color: #3d2b1f;
    border-bottom: 2px solid #d4a854;
    padding-bottom: 10px;
    font-family: 'Georgia', serif;
}

.btn-virar {
    background: #d4a854;
    color: #1a1a2e;
    border: none;
    padding: 10px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
    font-family: 'Georgia', serif;
}

.btn-virar:hover {
    background: #e8c88a;
    transform: scale(1.05);
}

@media (max-width: 600px) {
    .book-container {
        padding: 15px;
        border-radius: 4px;
    }
    .book-cover h1 {
        font-size: 1.8rem;
    }
}
