/* Estilos Globais */
:root {
    --primary-color: #3a7e6d;
    --secondary-color: #d9a566;
    --accent-color: #bf4342;
    --text-color: #333;
    --light-color: #f8f5f0;
    --dark-color: #2c3e50;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
    color: var(--primary-color);
}

h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

section {
    padding: 4rem 0;
}

section:nth-child(even) {
    background-color: white;
}

.cta-button, .buy-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    text-align: center;
    box-shadow: var(--shadow);
    margin-top: 1.5rem;
}

.cta-button:hover, .buy-button:hover {
    background-color: #a53a38;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Header / Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f5f0 0%, #e8e0d5 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0,0 L100,100 M100,0 L0,100" stroke="rgba(58, 126, 109, 0.05)" stroke-width="1"/></svg>');
    background-size: 20px 20px;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 2rem;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tagline {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 2rem;
    font-style: italic;
}

/* Book Cover Styling */
.book-cover {
    position: relative;
    width: 250px;
    height: 350px;
    perspective: 1000px;
    transform-style: preserve-3d;
    transform: rotateY(-30deg);
    transition: var(--transition);
}

.book-cover:hover {
    transform: rotateY(-15deg);
}

.book-spine {
    position: absolute;
    width: 40px;
    height: 350px;
    left: 0;
    background: var(--primary-color);
    transform: rotateY(90deg) translateZ(20px);
    transform-origin: left;
}

.book-front {
    position: absolute;
    width: 250px;
    height: 350px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a5d50 100%);
    border-radius: 2px 10px 10px 2px;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    color: white;
    text-align: center;
}

.book-front h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.book-front p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

/* Intro Section */
.intro {
    background-color: white;
    text-align: center;
}

.intro p {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
}

.quote {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.quote i {
    color: var(--secondary-color);
    font-size: 2rem;
    position: absolute;
    top: -15px;
    left: 20px;
}

.quote p {
    font-style: italic;
    font-size: 1.3rem;
    color: var(--primary-color);
    margin: 0;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a5d50 100%);
    color: white;
}

.testimonials h2 {
    color: white;
}

.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    max-width: 350px;
    backdrop-filter: blur(5px);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
}

.author {
    text-align: right;
    font-weight: 600;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
}

/* Pricing Section */
.pricing {
    background: linear-gradient(135deg, #f8f5f0 0%, #e8e0d5 100%);
    text-align: center;
}

.price-box {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto 3rem;
    overflow: hidden;
}

.price-header {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem;
}

.price-header h3 {
    color: white;
    margin-bottom: 1rem;
}

.price {
    margin-bottom: 1rem;
}

.old-price {
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    margin-right: 1rem;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 700;
}

.discount-tag {
    display: inline-block;
    background-color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.price-features {
    padding: 2rem;
}

.price-features ul {
    list-style: none;
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.price-features li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.price-features i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.price-cta {
    padding: 0 2rem 2rem;
}

.purchase-form {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(58, 126, 109, 0.2);
}

.buy-button {
    display: block;
    width: 100%;
    font-size: 1.2rem;
    padding: 1.2rem;
    cursor: pointer;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.secure-payment {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--dark-color);
}

.guarantee {
    display: flex;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.guarantee-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.guarantee-text {
    text-align: left;
}

.guarantee-text h3 {
    margin-bottom: 0.5rem;
}

/* FAQ Section */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 1rem;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.accordion-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 1.5rem;
    cursor: pointer;
    position: relative;
    font-weight: 600;
}

.accordion-header::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    transition: var(--transition);
}

.accordion-header.active::after {
    transform: rotate(45deg);
}

.accordion-content {
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-content p {
    padding: 1.5rem;
    margin: 0;
}

/* Final CTA Section */
.final-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a5d50 100%);
    color: white;
    text-align: center;
}

.final-cta h2 {
    color: white;
}

.final-cta p {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

footer .container {
    padding: 0;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 1rem;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

/* Estilos para imagens SVG */
.book-img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.book-img:hover {
    transform: translateY(-10px);
}

.icon-img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 3rem;
        text-align: center;
    }
    
    .book-img {
        max-width: 250px;
        margin: 0 auto;
        display: block;
    }
    
    .testimonial-slider {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonial {
        width: 100%;
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .benefits-grid, 
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-card {
        margin-bottom: 1.5rem;
    }
    
    .guarantee {
        flex-direction: column;
        text-align: center;
    }
    
    .guarantee-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .guarantee-text {
        text-align: center;
    }
    
    .accordion-header {
        font-size: 0.9rem;
        padding: 0.8rem 1rem;
    }
    
    .accordion-content p {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    p {
        font-size: 1rem;
    }
    
    .container {
        width: 95%;
        padding: 1.5rem 0;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .cta-button, .buy-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .book-img {
        max-width: 200px;
    }
    
    .icon-img {
        width: 60px;
        height: 60px;
    }
    
    .current-price {
        font-size: 2rem;
    }
    
    .price-features li {
        font-size: 0.9rem;
    }
    
    .footer-links a {
        display: block;
        margin: 0.5rem 0;
    }
}
