/* Intro Alimentar - tema suave infantil */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e8a87c;
    --secondary-color: #85cdca;
    --accent-color: #c38d9e;
    --text-dark: #2d3142;
    --text-light: #6b7a8c;
    --bg-light: #faf8f5;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* Hero */
.hero-banner {
    padding: 60px 0 80px;
    background: linear-gradient(135deg, #f5e6d3 0%, #e8d5c4 50%, #d4e4d9 100%);
}

.hero-content {
    text-align: center;
    margin-bottom: 40px;
}

.main-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--text-dark);
}

.main-title .highlight {
    color: var(--primary-color);
    position: relative;
}

.main-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Content Section */
.content-section {
    padding: 60px 0 80px;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.feature-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.75rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Ebook Section */
.ebook-section {
    margin-bottom: 60px;
}

.ebook-card {
    background: var(--white);
    border-radius: 20px;
    padding: 48px;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 40px;
    align-items: center;
}

.ebook-image {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 4rem;
}

.ebook-content h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.ebook-description {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.8;
}

.ebook-features {
    list-style: none;
    margin-bottom: 24px;
}

.ebook-features li {
    padding: 8px 0;
    font-size: 1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.ebook-features li i {
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 16px 36px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(232, 168, 124, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 168, 124, 0.5);
}

.btn-secondary {
    background: #f3f4f6;
    color: var(--text-dark);
    border: 2px solid #e5e7eb;
}

.btn-secondary:hover {
    background: #e5e7eb;
}

.btn-large {
    padding: 18px 44px;
    font-size: 1.15rem;
}

.btn i {
    margin-right: 8px;
}

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

/* Testimonials */
.testimonials-section {
    margin-top: 60px;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 36px;
    color: var(--text-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

.testimonial-stars {
    color: #f4d03f;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 16px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-dark);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    overflow-y: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    z-index: 10001;
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: 24px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    z-index: 10002;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 28px 20px;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.modal-close {
    background: #f3f4f6;
    border: none;
    font-size: 1.2rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #e5e7eb;
    color: var(--text-dark);
}

.modal-form {
    padding: 28px;
    overflow-y: auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group .required { color: #dc2626; }
.form-group .optional { color: var(--text-light); font-weight: 400; font-size: 0.85rem; }

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.modal-actions .btn {
    flex: 1;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

@media (max-width: 768px) {
    .main-title { font-size: 2.2rem; }
    .subtitle { font-size: 1.05rem; }
    .ebook-card {
        grid-template-columns: 1fr;
        padding: 32px 24px;
        text-align: center;
    }
    .ebook-image { margin: 0 auto; }
    .features-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .main-title { font-size: 1.75rem; }
    .ebook-card { padding: 24px 20px; }
    .modal-actions { flex-direction: column-reverse; }
    .modal-actions .btn { width: 100%; }
}
