* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background: #f5f5f5;
    overflow-x: hidden;
}

/* Navegação */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #3498db;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #3498db;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Seção Hero */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    z-index: 0;
}

.hero-content {
    z-index: 1;
}

.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
    background: linear-gradient(90deg, #3498db, #2ecc71);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: #ecf0f1;
    color: #2c3e50;
}

.btn-secondary:hover {
    background: #d5dbdb;
    transform: translateY(-3px);
}

/* Seção Livros */
.livros {
    padding: 6rem 3rem;
    background: white;
    text-align: center;
}

.livros h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    margin-bottom: 4rem;
    color: #2c3e50;
    position: relative;
}

.livros h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.livro-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 4rem;
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.livro-card:hover {
    transform: translateY(-10px);
}

.livro-img {
    width: 250px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.livro-img:hover {
    transform: scale(1.05);
}

.livro-text {
    max-width: 500px;
    text-align: left;
}

.livro-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.livro-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Seção Autor */
.autor {
    padding: 6rem 3rem;
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    text-align: center;
}

.autor h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    margin-bottom: 4rem;
    color: #2c3e50;
}

.autor-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.autor-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid #3498db;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.autor-img:hover {
    transform: rotate(5deg);
}

.autor-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Seção Contato */
.contato {
    padding: 6rem 3rem;
    background: white;
    text-align: center;
}

.contato h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.contato p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

form label {
    font-weight: 600;
    color: #2c3e50;
    text-align: left;
}

form input, form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

form input:focus, form textarea:focus {
    border: 1px solid #3498db;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.2);
    outline: none;
}

form textarea {
    resize: vertical;
    min-height: 120px;
}

.form-feedback {
    margin-top: 1rem;
    font-weight: 600;
    color: #2ecc71;
}

/* Rodapé */
.footer {
    padding: 2rem;
    background: linear-gradient(135deg, #2c3e50, #1e272e);
    color: white;
    text-align: center;
}

.social-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-links a {
    color: white;
    font-size: 1.8rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
    color: #3498db;
}

/* Responsividade */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .livro-card, .autor-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .livro-text, .autor-text p {
        text-align: center;
    }

    .livro-img, .autor-img {
        margin: 0 auto;
    }
}