/* Base Styles and Variables */
:root {
    --primary-color: #1e3a8a; /* Deep blue for authority and trust */
    --secondary-color: #ffc107; /* Yellow for inspiration and creativity */
    --accent-color: #0ea5e9; /* Light blue accent */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --text-color: #333333;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

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

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

section {
    padding: 100px 0;
    position: relative;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--dark-gray);
    box-shadow: var(--shadow);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    display: inline-block;
    position: relative;
    margin-bottom: 20px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-header p {
    color: var(--dark-gray);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    background-color: var(--white);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo a {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: visible;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-image.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.744) 0%, rgba(255, 255, 255, 0.519) 50%, rgba(255, 255, 255, 0.24) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 100%;
    width: 100%;
    padding: 0;
    position: relative;
    z-index: 10;
}

.animate-text-container {
    margin-bottom: 20px;
}

.animate-text {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 5;
    border-right: 0.15em solid transparent;
    overflow: hidden;
    white-space: nowrap;
    margin: 0;
    letter-spacing: 0.05em;
    display: inline-block;
    width: 0;
    animation: typing 2s steps(25, end) forwards;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 3.5rem;
    line-height: 1.3;
}

.animate-text.second-line {
    animation: typing2 2s steps(40, end) forwards;
    animation-delay: 2s;
}

.animate-text:last-child {
    border-right: 0.15em solid var(--secondary-color);
    animation: typing2 2s steps(40, end) forwards, blink-caret 0.75s step-end infinite;
    animation-delay: 2s;
}

@keyframes typing {
    to { width: 100%; }
}

@keyframes typing2 {
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--secondary-color) }
}

.hero p {
    margin-bottom: 30px;
    font-size: 1.2rem;
    max-width: 80%;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 5;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-down a {
    color: var(--primary-color);
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}

/* Free Content Section */
.free-content {
    background-color: var(--light-gray);
}

.ebooks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
}

.content-card {
    display: flex;
    align-items: center;
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.content-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-image {
    flex: 1;
    max-width: 300px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    flex: 2;
    padding: 40px;
}

/* About Me Section */
.about-me .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
}

.about-image::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--secondary-color);
    border-radius: var(--border-radius);
    z-index: 0;
}

.about-content {
    flex: 1;
}

.about-content h3 {
    color: var(--accent-color);
    margin-top: 30px;
}

/* Mentorship Section */
.mentorship {
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.mentorship::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern-bg.png');
    opacity: 0.1;
    z-index: 0;
}

.mentorship-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.feature-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-card .icon {
    width: 70px;
    height: 70px;
    background-color: rgba(30, 58, 138, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-card .icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.feature-card h3 {
    margin-bottom: 15px;
}

/* Testimonials */
.testimonials {
    margin-bottom: 80px;
}

.testimonials h3 {
    text-align: center;
    margin-bottom: 40px;
}

/* Carousel Container */
.testimonials-carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

/* Carousel */
.testimonials-carousel {
    display: flex;
    overflow: hidden;
    width: 100%;
    scroll-behavior: smooth;
    position: relative;
}

.testimonial {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    flex: 0 0 100%;
    scroll-snap-align: center;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial p::before {
    content: '\201C';
    font-size: 4rem;
    position: absolute;
    left: -20px;
    top: -20px;
    color: rgba(30, 58, 138, 0.1);
    font-family: Georgia, serif;
}

.author {
    display: flex;
    align-items: center;
}

.author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.author-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--accent-color);
}

/* Carousel Navigation Arrows */
.carousel-arrow {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.carousel-arrow:hover {
    background-color: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
    left: -20px;
}

.next-arrow {
    right: -20px;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Call to Action */
.cta-container {
    background-color: var(--white);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-container h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
    margin-top: 20px;
}

.btn-lg i {
    margin-right: 10px;
    font-size: 1.3rem;
}

/* Contact Section */
.contact-section {
    background-color: var(--light-gray);
    position: relative;
}

.contact-btn-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 600;
    padding: 20px 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.btn-contact:hover {
    background-color: #128C7E;
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.btn-contact i {
    font-size: 1.8rem;
    margin-right: 15px;
}

/* Pricing Section */
.pricing-section {
    background-color: var(--light-gray);
    position: relative;
}

.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.pricing-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border: 2px solid var(--secondary-color);
    transform: scale(1.03);
    z-index: 1;
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--secondary-color);
    color: var(--dark-gray);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
}

.pricing-header {
    padding: 30px 30px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

.old-price {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--dark-gray);
    text-decoration: line-through;
    position: relative;
    opacity: 0.7;
}

.old-price::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transform: rotate(-5deg);
}

.pricing-card.featured .old-price::after {
    height: 3px;
    background-color: #ff6b6b;
}

.pricing-card.featured .price {
    color: #ff6b6b;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.pricing-card.featured .price-tag {
    background-color: #ff6b6b;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
    transform: scale(1.05);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 4px;
}

.price-tag {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    background-color: var(--secondary-color);
    padding: 3px 10px;
    border-radius: 20px;
    margin-top: 8px;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.pricing-features {
    padding: 30px;
    flex-grow: 1;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.pricing-features ul li i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 1rem;
    margin-top: 4px;
}

.pricing-description {
    padding: 0 30px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.pricing-description p {
    font-size: 0.9rem;
    color: var(--dark-gray);
    text-align: justify;
}

.pricing-footer {
    padding: 20px 30px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pricing-footer .btn {
    width: 100%;
}

.pricing-footer .saiba-mais {
    margin-bottom: 5px;
}

/* Mentored Books Section */
.mentored-books {
    background-color: var(--white);
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.book-card {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.book-cover {
    height: auto;
    overflow: hidden;
    position: relative;
    padding-top: 140%; /* Proporu00e7u00e3o 5:7 (500:700) = 140% */
}

.book-cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.book-card:hover .book-cover img {
    transform: scale(1.05);
}

.book-info {
    padding: 25px;
}

.book-info h3 {
    margin-bottom: 5px;
}

.book-info .author {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.book-info .description {
    margin-bottom: 20px;
    font-size: 0.95rem;
    max-height: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
}

/* Planos e Serviços Section */
.planos-e-servicos {
    background-color: var(--light-gray);
    position: relative;
}

.planos-e-servicos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern-bg.png');
    opacity: 0.05;
    z-index: 0;
}

.planos-e-servicos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.planos-e-servicos-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.planos-e-servicos-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.planos-e-servicos-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--secondary-color);
    color: var(--dark-gray);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
}

.planos-e-servicos-header {
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.planos-e-servicos-header h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.planos-e-servicos-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.planos-e-servicos-features {
    padding: 30px;
    flex-grow: 1;
}

.planos-e-servicos-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.planos-e-servicos-features ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.planos-e-servicos-features ul li i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 1rem;
    margin-top: 4px;
}

.planos-e-servicos-footer {
    padding: 20px 30px 30px;
    text-align: center;
}

.planos-e-servicos-footer .btn {
    width: 100%;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0 0 20px;
    position: relative;
    margin-top: 100px;
}

.footer-wave {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    line-height: 0;
    overflow: hidden;
}

.footer-wave svg {
    display: block;
    width: 100%;
}

.footer-main {
    display: flex;
    align-items: center;
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

.footer-logo-container {
    flex: 0 0 auto;
    margin-right: 50px;
}

.footer-logo-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    animation: pulse-glow 3s infinite alternate;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 15px rgba(255, 193, 7, 0.2);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 0 30px rgba(255, 193, 7, 0.6);
        transform: scale(1.05);
    }
}

.footer-logo-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 0 35px rgba(255, 193, 7, 0.7);
    animation: none;
}

.footer-logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.footer-logo-circle:hover img {
    transform: scale(1.1);
}

.footer-info {
    flex: 1;
}

.footer-info h3 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.footer-info span {
    color: var(--secondary-color);
}

.footer-tagline {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
    opacity: 0.9;
    font-style: italic;
}

.footer-description {
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 25px;
    opacity: 0.8;
}

.footer-contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-right: 30px;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-right: 10px;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-5px) rotate(10deg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

.designer-credit {
    margin-top: 10px;
    font-size: 0.85rem;
}

.designer-credit a {
    color: var(--secondary-color);
    transition: var(--transition);
}

.designer-credit a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero-background {
        width: 100%;
        opacity: 0.5;
    }
    
    .hero::before {
        background: rgba(255,255,255,0.7);
    }
    
    .hero .container {
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .ebooks-grid {
        grid-template-columns: 1fr;
    }
    
    .about-me .container {
        flex-direction: column;
    }
    
    .about-image {
        margin-bottom: 40px;
    }
    
    .testimonial {
        flex: 0 0 calc(100% - 30px);
    }
}

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .ebooks-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1001;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .mobile-menu-btn {
        display: block;
        z-index: 1002;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .content-card {
        flex-direction: column;
    }
    
    .card-image {
        max-width: 100%;
    }
    
    .card-content {
        padding: 30px;
    }
    
    .cta-container {
        padding: 30px;
    }
    
    .footer-main {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo-container {
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    .footer-contact-info {
        justify-content: center;
    }
    
    .footer-social-icons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero {
        padding-left: 15px;
        padding-right: 15px;
        text-align: center;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    .animate-text-container {
        width: 100%;
        text-align: center;
    }
    
    .animate-text {
        font-size: 1.8rem;
        white-space: normal;
        width: 100%;
        animation: fade-in 1s ease-in forwards;
        overflow: visible;
        display: block;
        border-right: none;
        margin: 0 auto 5px;
        max-width: 100%;
        text-align: center;
        word-wrap: break-word;
        line-height: 1.3;
    }
    
    .animate-text.second-line {
        font-size: 1.7rem;
        animation: fade-in 1s ease-in forwards;
        animation-delay: 0.5s;
        width: 100%;
        margin: 0 auto;
        opacity: 0;
    }
    
    @keyframes fade-in {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    .animate-text:last-child {
        border-right: 0.15em solid var(--secondary-color);
        animation: fade-in 1s ease-in forwards, blink-caret 0.75s step-end infinite;
        animation-delay: 0.5s;
        opacity: 0;
    }
    
    .hero p {
        margin: 15px auto 25px;
        width: 100%;
        max-width: 100%;
        font-size: 1.1rem;
        text-align: center;
    }
    
    .hero .btn {
        margin: 0 auto;
        display: block;
        max-width: 200px;
    }
    
    @keyframes typing-mobile {
        to { width: 100%; }
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 80px;
    }
    
    .hero-background {
        opacity: 0.6;
        background-position: center;
        width: 100%;
    }
    
    .hero::before {
        background: rgba(255, 255, 255, 0.458);
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .testimonial {
        padding: 20px;
    }
    
    .cta-container {
        padding: 30px 20px;
    }
    
    .btn-contact {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
    
    .btn-contact i {
        font-size: 1.5rem;
    }
    
    .pricing-container {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
        order: -1;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .footer-wave {
        top: -50px;
    }
    
    .footer-logo-circle {
        width: 150px;
        height: 150px;
    }
    
    .footer-info h3 {
        font-size: 1.8rem;
    }
    
    .footer-tagline {
        font-size: 1rem;
    }
    
    .contact-item {
        margin-right: 0;
        width: 100%;
        justify-content: center;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        right: 15px;
        bottom: 15px;
    }
    
    .whatsapp-float i {
        font-size: 1.8rem;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: white;
    transform: scale(1.1) rotate(10deg);
    animation: none;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(37, 211, 102, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    }
}

/* Modal de Loja Online */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 0;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideIn 0.4s;
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 10px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    transition: 0.2s;
    z-index: 10;
}

.close-modal:hover,
.close-modal:focus {
    color: #1e3a8a;
    text-decoration: none;
    cursor: pointer;
}

.modal-body {
    padding: 30px;
    text-align: center;
}

.modal-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #1e3a8a;
}

.modal-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--secondary-color), transparent);
    margin: 15px auto;
    width: 80%;
}

/* Carrossel de Miniaturas de Livros */
.books-carousel-container {
    margin: 0 auto 20px;
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

.books-mini-carousel {
    display: flex;
    animation: scrollBooks 30s linear infinite;
    width: max-content;
}

.books-carousel-container:hover .books-mini-carousel {
    animation-play-state: paused;
}

.book-mini {
    width: 70px;
    height: 100px;
    margin: 0 8px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-mini:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 2;
}

@keyframes scrollBooks {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-78px * 9)); /* (largura + margem) * número de livros */
    }
}

/* Efeito de gradiente nas bordas do carrossel */
.books-carousel-container::before,
.books-carousel-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    z-index: 2;
}

.books-carousel-container::before {
    left: 0;
    background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
}

.books-carousel-container::after {
    right: 0;
    background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
}

.modal h3 {
    color: #1e3a8a;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
}

.modal p {
    margin-bottom: 25px;
    color: #555;
}

@keyframes fadeIn {
    from {opacity: 0}
    to {opacity: 1}
}

@keyframes slideIn {
    from {transform: translateY(-50px); opacity: 0;}
    to {transform: translateY(0); opacity: 1;}
}

/* Modal de Planos */
#planos-modal .modal-content {
    max-width: 700px;
}

#planos-modal .modal-body {
    padding: 40px;
}

.plano-detalhes {
    text-align: left;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.plano-detalhes:last-child {
    border-bottom: none;
    margin-bottom: 20px;
}

.plano-detalhes h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.plano-detalhes h5 {
    color: var(--accent-color);
    margin: 20px 0 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

.plano-detalhes p {
    margin-bottom: 15px;
    text-align: justify;
}

.plano-detalhes ul {
    padding-left: 20px;
}

.plano-detalhes ul.plano-topicos {
    margin-bottom: 20px;
}

.plano-detalhes ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
}

.plano-detalhes ul li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 2px;
}

.pricing-features ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 30px;
}

.pricing-features ul li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--accent-color);
}

.pricing-features ul li i.fa-credit-card {
    color: var(--secondary-color);
}

.pricing-features ul li:last-child {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.modal-footer {
    margin-top: 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .modal-content {
        margin: 20% auto;
        width: 95%;
    }
    
    #planos-modal .modal-body {
        padding: 30px 20px;
    }
    
    .plano-detalhes h4 {
        font-size: 1.3rem;
    }
}
