﻿:root {
    --blue: #0C75BB;
    --blue-deep: #0f4f8b;
    --green: #009b78;
    --ink: #222;
    --line: #0f5b95;
    --paper: #fff;
    --bleed: 10mm;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f6f7fb;
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
}

.page {
    width: min(1040px, calc(100% - 172px));
    margin: 200px auto;
    background: var(--paper);
    border: 3px solid var(--line);
    overflow: visible;

}

.hero {
    position: relative;
    padding: 28px 28px 0;
}

.masthead {
    position: absolute;
    top: -18px;
    left: -3px;
    padding: 6px 12px;
    background: var(--blue-deep);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

    .brand img {
        width: min(304px, 40vw);
        height: auto;
        display: block;
    }

.top-gallery {
    display: grid;
    grid-template-columns: 0.92fr 1.18fr 1.08fr 1fr;
    min-height: 320px;
    width: calc(100% + (var(--bleed) * 4));
    margin-inline: calc(var(--bleed) * -1);
    margin-left: -70px;
}

    .top-gallery img {
        width: 100%;
        height: 100%;
        min-height: 320px;
        object-fit: cover;
        display: block;
    }

.story {
    padding: clamp(28px, 4vw, 52px) clamp(22px, 6vw, 78px) 18px;
}

    .story h1 {
        max-width: 980px;
        margin: 0 auto 28px;
        color: var(--blue);
        font-size: clamp(1.8rem, 4vw, 3.6rem);
        line-height: 1.08;
        text-align: center;
        display: block;
        font-family: Inter-Bold;
    }

.story-columns {
    columns: 2 320px;
    column-gap: clamp(24px, 4vw, 42px);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    line-height: 1.45;
}

    .story-columns p {
        break-inside: avoid;
        margin: 0 0 12px;
        font-family: Inter;
    }

.levels {
    padding: 10px 28px 0px;
}

    .levels h2 {
        margin: 0 0 24px;
        color: var(--blue);
        font-size: clamp(1.7rem, 3vw, 2.5rem);
        text-align: center;
    }

.levels-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    width: calc(100% + (var(--bleed) * 4));
    margin-inline: calc(var(--bleed) * -1);
    margin-left: -70px;
}

.level-card {
    text-align: center;
}

    .level-card img {
        width: 100%;
        object-fit: cover;
        margin-bottom: 16px;
        display: block;
    }

    .level-card h3 {
        margin: 0 0 6px;
        color: var(--blue-deep);
        font-size: 1rem;
        line-height: 1.1;
    }

    .level-card p {
        max-width: 220px;
        margin: 0 auto;
        font-size: 0.95rem;
        line-height: 1.3;
        font-family: Inter;
    }

.footer {
    display: grid;
    justify-items: center;
    gap: 18px;
    padding: 0 20px 24px;
    background-color: #FFF
}

    .footer nav {
        display: flex;
        gap: 18px;
        padding-bottom: 25px;
    }

    .footer a {
        display: grid;
        width: 54px;
        height: 54px;
        place-items: center;
        text-decoration: none;
    }

        .footer a img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
        }

.footerEstudio {
    position: absolute;
    left: 50%;
    bottom: -17px;
    transform: translateX(-50%);
    background: var(--paper);
    border: 3px solid var(--line);
    width: 175px;
    padding-left: 10px;
    padding-right: 10px;
}

    /* Group 979 */
.saibaMais {
    position: relative;
    width: 100%;
    height: 61px;
    margin-top: -150px;
}
    .saibaMais span {
        background: #2466B3;
        border-radius: 14px;
        position: absolute;
        width: 200px;
        height: 36px;
        left: calc(50% - 191px/2 + 0.5px);
        font-family: 'Inter';
        font-style: normal;
        font-weight: 600;
        font-size: 30px;
        line-height: 36px;
        color: #FFF2F2;
        display: inline;
        text-align: center;
    }
/* Rectangle 1834 */
.saibaMaisRetangulo {
    position: relative;
    width: 315px;
    height: 61px;
    left: calc(50% - 315px/2 + 0.5px);
}




@media (max-width: 900px) {
    : root {
        --bleed: 18px;
    }

    .page {
        width: min(100% - 20px, 760px);
    }

    .top-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-height: 480px;
    }

    .levels-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 18px;
    }
}

@media (max-width: 640px) {
    :root {
        --bleed: 10px;
    }

    .page {
        margin: 14px auto;
        border-width: 2px;
    }

    .hero {
        padding: 18px 16px 0;
    }

    .masthead {
        font-size: 0.68rem;
    }

    .brand {
        min-height: 96px;
    }

    .top-gallery {
        min-height: 520px;
    }

    .story {
        padding-inline: 18px;
    }

        .story h1 {
            font-size: clamp(1.65rem, 8vw, 2.2rem);
        }

    .story-columns {
        columns: 1;
        font-size: 0.98rem;
    }

    .levels {
        padding-inline: 16px;
    }

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

    .level-card img {
        width: min(100%, 320px);
        margin-inline: auto;
    }

    .footer nav {
        gap: 12px;
    }

    .footer a {
        width: 48px;
        height: 48px;
        font-size: 1.55rem;
    }
}
