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

:root {
    --primary-red: #FF4D4D;
    --primary-orange: #FF9A42;
    --dark-red: #E63946;
    --light-cream: #FFF8F0;
    --dark-text: #2B2B2B;
    --gray-text: #5A5A5A;
}

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0 20px 0; /* remove vertical gaps */
    overflow: hidden;
}

/* Poster-like shapes to recreate the reference layout */
.hero.theme-ursula {
    background: #f7efe5; /* remove black bands: match cream backdrop */
}

.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Left cream trapezoid */
.shape-cream {
    position: absolute;
    left: 0;
    top: 0;
    width: 68%;
    height: 100%;
    background: #f7efe5; /* close to paper cream */
    transform: skewX(-10deg);
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.12) inset; */
}

/* Middle red wedge */
.shape-red {
    position: absolute;
    left: 68%;
    top: 0;
    width: 42%;
    height: 100%;
    background: url('img/ursula.png') center right / cover no-repeat;
    transform: skewX(-12deg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

/* Right orange panel */
/* removed: .shape-image (image now applied on .shape-red) */

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    max-width: 1200px;
    align-items: center;
    width: 100%;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.hero-text {
    color: #c8392b; /* matches the reference red for text area */
    animation: fadeInLeft 1s ease-out;
}

.title-cursive {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    font-style: normal;
    text-shadow: none;
}

.subtitle {
    font-size: clamp(1.1rem, 2.1vw, 1.3rem);
    margin-bottom: 26px;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: #c24937;
}

.upper-tight { letter-spacing: 2px; }

/* Replace single CTA with dual buttons styled like the poster */
.hero-ctas { display: flex; gap: 16px; }

.btn-hero {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn-hero.primary {
    background: #d74a36;
    color: #fff;
}

.btn-hero.ghost {
    background: #f1b35c;
    color: #6f3011;
}

.btn-hero:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,0.18); }

.cta-button {
    display: inline-block;
    background: white;
    color: var(--primary-red);
    padding: 18px 40px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    background: var(--light-cream);
}

.cta-button.large {
    padding: 22px 50px;
    font-size: 1.3rem;
}

/* removed standalone image/labels; now integrated into shape-image */

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    text-align: center;
    color: white;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.arrow-down {
    width: 30px;
    height: 30px;
    border-left: 3px solid white;
    border-bottom: 3px solid white;
    transform: rotate(-45deg);
    margin: 0 auto;
}

/* História Section */
.historia {
    padding: 100px 20px;
    background: var(--light-cream);
}

.historia-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--primary-red);
    margin-bottom: 40px;
    text-align: center;
}

.historia-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
}

.historia-text p {
    margin-bottom: 20px;
}

.historia-text .destaque {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-red);
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Porque Ler Section */
.porque-ler {
    padding: 100px 20px;
    background: white;
}

.porque-ler h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--primary-red);
    margin-bottom: 60px;
    text-align: center;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: var(--light-cream);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 77, 77, 0.2);
    border-color: var(--primary-orange);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--dark-red);
    margin-bottom: 15px;
}

.card p {
    color: var(--gray-text);
    line-height: 1.6;
}

/* Citação Section */
.citacao {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--dark-red) 0%, var(--primary-red) 100%);
    color: white;
    text-align: center;
}

.citacao blockquote {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-style: italic;
    max-width: 900px;
    margin: 0 auto 20px;
    line-height: 1.5;
}

.citacao-author {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Autora Section */
.autora {
    padding: 100px 20px;
    background: var(--light-cream);
}

.autora h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--primary-red);
    margin-bottom: 50px;
    text-align: center;
}

.autora-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
}

.autora-text p {
    margin-bottom: 25px;
    color: var(--dark-text);
}

/* CTA Final Section */
.cta-final {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-red) 100%);
    color: white;
    text-align: center;
}

.cta-final h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 20px;
}

.cta-final p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-note {
    margin-top: 20px;
    font-size: 1rem !important;
    opacity: 0.8 !important;
}

/* Footer */
footer {
    padding: 40px 20px;
    background: var(--dark-text);
    color: white;
    text-align: center;
}

.footer-small {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 10px;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding-top: 320px; /* Space for the book cover */
    }

    .shape-cream { 
        top: 0; 
        height: 100%; 
        width: 100%; 
        left: -10%; 
        transform: skewX(-8deg); 
    }
    
    /* Hide the red shape on mobile */
    .shape-red { 
        display: none; 
    }
    
    /* Add book cover for mobile */
    .hero-content::after {
        content: '';
        position: absolute;
        top: 20px;
        left: 50%;
        transform: translateX(-50%) rotateY(-15deg) rotateX(5deg);
        width: 200px;
        height: 280px;
        background: url('img/ursula.png') center/cover no-repeat;
        border-radius: 8px 12px 12px 8px;
        box-shadow: 
            -15px 15px 30px rgba(0,0,0,0.3),
            -5px 5px 15px rgba(0,0,0,0.2),
            inset -2px 0 5px rgba(0,0,0,0.1);
        z-index: 3;
        perspective: 1000px;
        transform-style: preserve-3d;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 15px 30px;
    }

    .btn-hero { padding: 12px 20px; font-size: .95rem; }
    
    /* Adjust book cover for smaller screens */
    .hero-content::after {
        width: 150px;
        height: 210px;
        top: 10px;
        transform: translateX(-50%) rotateY(-10deg) rotateX(3deg);
    }
    
    /* Adjust padding for smaller book cover */
    .hero-content {
        padding-top: 240px; /* Space for the smaller book cover */
    }
}

