:root {
    /* PALETA DE CORES - OUTRO MUNDO (LARANJA/MARROM) */
    --bg-body-start: #6b4f3a;
    --bg-body-end: #4a3627;
    --bg-color-solid: #6b4f3a;

    --header-grad-start: #f09b2b;
    --header-grad-end: #ffd59a;

    --panel-bg: #FFE0C6;
    --text-main: #111;
    --text-title: #FFE0C6;
    --text-shadow: #000;

    --card-bg: #fff;

    --page-bg-image: url('images/ilusao.png');
    --page-bg-opacity: 0.14;

    --max-width: 80%;
    --border-radius: 18px;
    --shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.25);
    --shadow-strong: 0 8px 28px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    /* ALTERAÇÃO DE FONTE AQUI */
    font-family: 'Indie Flower', cursive;
    font-size: 18px;
    /* Aumentado levemente para legibilidade */
    color: var(--text-main);
    background: var(--bg-color-solid);
    min-height: 100vh;
}

.page-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: var(--page-bg-image);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: var(--page-bg-opacity);
    pointer-events: none;
}

/* HEADER */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 36px;
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
    background: linear-gradient(90deg, var(--header-grad-start), var(--header-grad-end));
    box-shadow: var(--shadow-soft);
    margin-bottom: 26px;
    transition: all .32s cubic-bezier(.2, .9, .2, 1);
}

.header--large {
    padding: 40px 60px;
}

.header--compact {
    padding: 10px 20px;
    box-shadow: var(--shadow-strong);
}

.logo img {
    height: 46px;
    display: block;
    transition: height .32s cubic-bezier(.2, .9, .2, 1);
}

.header--large .logo img {
    height: 120px;
}

.header--compact .logo img {
    height: 36px;
}

nav {
    /* Mantendo a fonte Abril Fatface no menu para manter o estilo do filme */
    font-family: 'Abril Fatface', serif;
    font-size: 28px;
    transition: font-size .32s ease;
}

.header--large nav {
    font-size: 32px;
}

.header--compact nav {
    font-size: 18px;
}

nav a {
    color: #000;
    text-decoration: none;
    margin: 0 18px;
}

nav a:hover {
    text-decoration: underline;
}

/* MAIN */
main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 70px 80px 60px;
    position: relative;
    z-index: 1;
}

section {
    margin-bottom: 80px;
}

/* TÍTULOS - Mantidos com a fonte do filme para destaque */
.hero-title,
.section-title,
.marvel-content .name,
.fact-card h3 {
    font-family: 'Abril Fatface', serif;
    color: var(--text-title);
    text-shadow: 2px 2px 0 var(--text-shadow);
    margin: 0 0 12px;
    line-height: 1.1;
}

/* Ajuste de cor para títulos dentro de cartões claros */
.marvel-content .name,
.fact-card h3 {
    color: #4a3627;
    text-shadow: none;
}

.hero-title {
    font-size: 88px;
}

.section-title {
    font-size: 56px;
    text-align: center;
    margin-bottom: 40px;
}

.panel {
    background: var(--panel-bg);
    color: #111;
    padding: 28px;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    line-height: 1.6;
    font-size: 22px;
    /* Aumentado para Indie Flower */
    text-align: justify;
}

.panel p {
    margin: 0 0 16px 0;
}

.panel p:last-child {
    margin-bottom: 0;
}

/* HERO GRID */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 36px;
    align-items: ce;
}

.hero-grid.reverse {
    grid-template-columns: 526px 1fr;
}

.image-wrap img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: var(--shadow-strong);
    display: block;
}

/* --- MARAVILHAS (RETANGULARES) --- */
.marvel-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.marvel-item {
    display: flex;
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    transition: transform 0.2s ease;
    min-height: 220px;
}

.marvel-item:hover {
    transform: scale(1.02);
}

.marvel-img {
    width: 40%;
    min-width: 250px;
    object-fit: cover;
    border-right: 4px solid var(--header-grad-start);
}

.marvel-content {
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 60%;
}

.marvel-content .name {
    font-size: 28px;
    margin-bottom: 10px;
}

.marvel-content .desc {
    font-size: 20px;
    /* Ajuste para Indie Flower */
    color: #333;
    line-height: 1.5;
}

/* --- FATOS --- */
.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.fact-card {
    background: #FFE0C6;
    padding: 25px;
    border-radius: 12px;
    border-left: 6px solid #f09b2b;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.fact-card::before {
    content: "!";
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: 80px;
    opacity: 0.1;
    font-family: 'Abril Fatface', serif;
    color: #000;
}

.fact-card h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
}

.fact-card p {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    color: #222;
}

/* --- BOTÃO DE DESTAQUE --- */
.btn-destaque {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 28px;
    background: #f09b2b;
    color: #4a3627;
    /* Botão fica melhor com a fonte mais bold (Abril) para leitura */
    font-family: 'Abril Fatface', serif;
    font-weight: normal;
    text-decoration: none;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 16px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.btn-destaque:hover {
    background: #ffaa4a;
    transform: scale(1.05);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

/* FOOTER */
footer.site-footer {
    margin-top: 40px;
}

.footer-black {
    background: #000;
    color: #fff;
    padding: 20px 0;
}

.footer-black-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.footer-black a {
    color: #fff;
    text-decoration: underline;
}

.footer-black p {
    margin: 0;
    font-size: 16px;
}

.footer-black img {
    height: 40px;
    vertical-align: middle;
    margin-left: 10px;
    border-radius: 4px;
}

/* RESPONSIVE */
@media (max-width: 980px) {

    .hero-grid,
    .hero-grid.reverse {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 64px;
    }

    .header--large {
        padding: 20px;
    }

    .header--large .logo img {
        height: 60px;
    }

    .marvel-item {
        flex-direction: column;
    }

    .marvel-img {
        width: 100%;
        height: 200px;
        border-right: none;
        border-bottom: 4px solid var(--header-grad-start);
    }

    .marvel-content {
        width: 100%;
    }

    .btn-destaque {
        display: block;
        width: 100%;
    }
}

@media (max-width: 560px) {
    .hero-title {
        font-size: 42px;
    }

    .section-title {
        font-size: 36px;
    }

    nav {
        font-size: 16px;
    }

    nav a {
        margin: 0 8px;
    }

    .footer-black-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .header--compact {
        padding: 10px;
    }
}