:root {
    --ink: #172532;
    --muted: #68737c;
    --paper: #f5f2eb;
    --white: #fff;
    --line: #dcd7cd;
    --gold: #a87834;
    --navy: #20384c;
    --books: #9b5e4a;
    --neuro: #3c7180;
    --mep: #a87834;
    --courses: #6d7452;
    --tech: #536678;
    --studio: #875f48;
    --sobre: #7a6d62;
    --area: var(--gold)
}

.area-livros {
    --area: var(--books)
}

.area-neurociencia {
    --area: var(--neuro)
}

.area-mep {
    --area: var(--mep)
}

.area-cursos {
    --area: var(--courses)
}

.area-tecnologia {
    --area: var(--tech)
}

.area-studio {
    --area: var(--studio)
}

.area-sobre {
    --area: var(--sobre)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

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

a {
    color: inherit;
    text-decoration: none
}

.wrap {
    width: min(1180px,calc(100% - 48px));
    margin: auto
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(245,242,235,.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line)
}

.top {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px
}

.brand {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 120px
}

    .brand img {
        display: block;
        width: auto;
        height: 52px;
        max-width: 96px;
        object-fit: contain
    }

    .brand small {
        display: block;
        font-size: 10px;
        letter-spacing: .22em;
        color: var(--muted);
        line-height: 1.4
    }

.brand-copy {
    border-left: 1px solid var(--line);
    padding-left: 14px
}

.nav {
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 13px;
    height: 100%
}

    .nav a {
        height: 100%;
        display: flex;
        align-items: center;
        border-bottom: 3px solid transparent;
        padding-top: 3px
    }

        .nav a:hover, .nav a.active {
            border-color: var(--area)
        }

.menu-button {
    display: none;
    border: 0;
    background: none;
    color: var(--ink);
    font-size: 27px;
    cursor: pointer
}

.eyebrow {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .24em;
    color: var(--area);
    font-weight: 700
}

.hero {
    padding: 58px 0 0;
    border-bottom: 1px solid var(--line);
    overflow: hidden
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: end;
    min-height: 560px
}

.hero h1 {
    font: normal clamp(43px,5.7vw,76px)/1.02 Georgia,serif;
    letter-spacing: -.035em;
    margin: 16px 0 25px;
    max-width: 700px
}

.hero p {
    font: 20px/1.65 Georgia,serif;
    max-width: 650px;
    margin: 0;
    color: #394650
}

.hero-copy {
    padding: 52px 0 92px
}

.hero-photo {
    position: relative;
    align-self: end;
    height: 540px;
    display: flex;
    align-items: flex-end;
    justify-content: center
}

    .hero-photo:before {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        background: rgba(32,56,76,.055);
        bottom: 35px;
        right: 0
    }

    .hero-photo img {
        position: relative;
        z-index: 1;
        display: block;
        max-height: 535px;
        max-width: 100%;
        width: auto;
        object-fit: contain;
        object-position: bottom center
    }

.hero-note {
    margin-top: 30px;
    border-left: 1px solid var(--gold);
    padding: 2px 0 2px 18px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    max-width: 580px
}

.intro {
    padding: 68px 0 30px;
    display: grid;
    grid-template-columns: .65fr 1.35fr;
    gap: 80px
}

    .intro h2, .section-head h2 {
        font: normal 36px/1.15 Georgia,serif;
        margin: 0
    }

    .intro p {
        font-size: 17px;
        line-height: 1.8;
        margin: 0;
        color: #4f5a62;
        max-width: 760px
    }

.worlds {
    padding: 35px 0 90px
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 26px
}

    .section-head span {
        font-size: 12px;
        color: var(--muted)
    }

.grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line)
}

.card {
    --accent: var(--gold);
    min-height: 255px;
    padding: 32px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,.34);
    position: relative;
    transition: .2s
}

    .card.books {
        --accent: var(--books)
    }

    .card.neuro {
        --accent: var(--neuro)
    }

    .card.mep {
        --accent: var(--mep)
    }

    .card.courses {
        --accent: var(--courses)
    }

    .card.tech {
        --accent: var(--tech)
    }

    .card.studio {
        --accent: var(--studio)
    }

    .card:hover {
        background: var(--white);
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(22,35,46,.07)
    }

.mark {
    width: 34px;
    height: 4px;
    background: var(--accent);
    margin-bottom: 46px
}

.card h3 {
    font: normal 27px Georgia,serif;
    margin: 0 0 14px
}

.card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 14px;
    max-width: 300px
}

.card .go {
    position: absolute;
    bottom: 28px;
    right: 30px;
    font-size: 20px;
    color: var(--accent)
}

.feature {
    background: var(--navy);
    color: #f7f2e9;
    padding: 76px 0
}

.feature-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 90px
}

.feature .eyebrow {
    color: #d2ad70
}

.feature h2 {
    font: normal 44px/1.12 Georgia,serif;
    margin: 13px 0
}

.feature p {
    color: #c8d0d6;
    line-height: 1.75;
    margin: 0 0 20px
}

.feature a {
    display: inline-block;
    border-bottom: 1px solid #d2ad70;
    padding-bottom: 5px;
    font-size: 13px
}

.area-hero {
    border-bottom: 1px solid var(--line);
    padding: 86px 0 72px;
    position: relative
}

    .area-hero:before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 5px;
        background: var(--area)
    }

.area-hero-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 90px;
    align-items: end
}

.area-hero h1 {
    font: normal clamp(42px,5vw,68px)/1.04 Georgia,serif;
    letter-spacing: -.03em;
    margin: 14px 0 0
}

.area-hero p {
    font: 20px/1.65 Georgia,serif;
    color: #46535d;
    margin: 0;
    max-width: 700px
}

.content-shell {
    padding: 70px 0 100px
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 24px
}

.content-card {
    display: block;
    background: rgba(255,255,255,.42);
    border: 1px solid var(--line);
    padding: 34px;
    min-height: 190px
}

    .content-card span {
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: .18em;
        color: var(--area);
        font-weight: bold
    }

    .content-card h2 {
        font: normal 28px/1.2 Georgia,serif;
        margin: 12px 0
    }

    .content-card p {
        color: var(--muted);
        line-height: 1.7;
        margin: 0
    }

.content-grid a.content-card {
    transition: .2s
}

    .content-grid a.content-card:hover {
        background: #fff;
        transform: translateY(-2px)
    }

.article {
    max-width: 790px;
    margin: auto
}

    .article .lead {
        font: 21px/1.7 Georgia,serif;
        color: #3e4b54
    }

    .article h2 {
        font: normal 32px Georgia,serif;
        margin-top: 48px
    }

    .article p {
        font-size: 16px;
        line-height: 1.85;
        color: #4d5961
    }

.about-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 40px;
    align-items: stretch
}

.about-photo {
    min-height: 430px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    border-bottom: 4px solid var(--area);
    overflow: hidden
}

    .about-photo img {
        max-height: 430px;
        max-width: 100%
    }

footer {
    padding: 58px 0 38px;
    border-top: 1px solid var(--line)
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.9fr;
    gap: 70px
}

.footer-logo {
    width: 112px;
    height: auto;
    display: block;
    margin-bottom: 18px
}

.footer-note {
    font: 17px/1.6 Georgia,serif;
    max-width: 380px
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
    font-size: 13px
}

    .footer-links strong {
        display: block;
        margin-bottom: 10px;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: .15em;
        color: var(--muted)
    }

    .footer-links a {
        display: block;
        margin: 8px 0
    }

.copyright {
    border-top: 1px solid var(--line);
    margin-top: 44px;
    padding-top: 20px;
    font-size: 11px;
    color: var(--muted)
}

@media(max-width:980px) {
    .nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 82px;
        height: auto;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        padding: 12px 24px 24px;
        flex-direction: column;
        align-items: stretch;
        gap: 0
    }

        .nav.open {
            display: flex
        }

        .nav a {
            height: auto;
            padding: 14px 0;
            border-bottom: 1px solid var(--line)
        }

            .nav a.active {
                border-bottom-color: var(--area)
            }

    .menu-button {
        display: block
    }

    .hero-grid, .intro, .feature-grid, .footer-grid, .area-hero-grid {
        grid-template-columns: 1fr;
        gap: 0
    }

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

    .hero {
        padding-top: 25px
    }

    .hero-grid {
        min-height: 0
    }

    .hero-copy {
        padding: 50px 0 25px
    }

    .hero-photo {
        height: 420px
    }

        .hero-photo img {
            max-height: 420px
        }

        .hero-photo:before {
            width: 330px;
            height: 330px;
            right: 50%;
            transform: translateX(50%)
        }

    .intro, .feature-grid, .footer-grid, .area-hero-grid {
        gap: 35px
    }

    .area-hero {
        padding: 64px 0
    }

    .content-grid {
        grid-template-columns: 1fr
    }
}

@media(max-width:600px) {
    .wrap {
        width: min(100% - 30px,1180px)
    }

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

    .brand img {
        height: 48px;
        max-width: 88px
    }

    .brand-copy {
        display: none
    }

    .top {
        height: 72px
    }

    .nav {
        top: 72px
    }

    .hero h1 {
        font-size: 46px
    }

    .hero p {
        font-size: 18px
    }

    .hero-photo {
        height: 350px
    }

        .hero-photo img {
            max-height: 350px
        }

    .section-head {
        display: block
    }

        .section-head span {
            display: block;
            margin-top: 10px
        }

    .footer-links {
        grid-template-columns: 1fr 1fr
    }

    .area-hero h1 {
        font-size: 43px
    }

    .area-hero p {
        font-size: 18px
    }

    .about-grid {
        grid-template-columns: 1fr
    }
}
/* V2 — conexões, oportunidades e redes */
.opportunity {
    margin-top: 64px;
    padding: 42px 44px;
    display: grid;
    grid-template-columns: 5px 1fr;
    gap: 30px;
    background: rgba(255,255,255,.5);
    border: 1px solid var(--line)
}

.opportunity-mark {
    background: var(--area);
    min-height: 100%
}

.opportunity h2, .channel-block h2 {
    font: normal 32px/1.2 Georgia,serif;
    margin: 10px 0 14px
}

.opportunity p, .channel-block p {
    max-width: 820px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
    margin: 0 0 20px
}

.text-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    border-bottom: 1px solid var(--area);
    padding-bottom: 5px
}

    .text-link span {
        color: var(--area);
        margin-left: 5px
    }

.channel-block {
    margin-top: 64px;
    padding: 38px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 55px;
    align-items: center
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

    .social-links a {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        border: 1px solid var(--line);
        padding: 9px 12px;
        background: rgba(255,255,255,.35);
        font-size: 12px;
        transition: .18s
    }

        .social-links a:hover {
            background: #fff;
            border-color: var(--area);
            transform: translateY(-1px)
        }

.social-icon {
    width: 25px;
    height: 25px;
    border: 1px solid currentColor;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: -.02em
}

.social-label {
    white-space: nowrap
}

footer .social-links {
    margin-top: 22px
}

    footer .social-links a {
        padding: 7px;
        background: transparent
    }

    footer .social-links .social-label {
        display: none
    }

footer .social-icon {
    width: 29px;
    height: 29px
}

.social-studio {
    justify-content: flex-start
}

    .social-studio a {
        border-color: color-mix(in srgb,var(--area) 35%,var(--line))
    }

@media(max-width:800px) {
    .channel-block {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .opportunity {
        padding: 32px 26px;
        gap: 20px
    }
}

@media(max-width:600px) {
    .opportunity {
        grid-template-columns: 4px 1fr;
        margin-top: 44px
    }

    .social-label {
        white-space: normal
    }

    .channel-block {
        margin-top: 44px
    }
}
/* V3 — estrutura funcional */
.area-contato {
    --area: var(--gold)
}

.breadcrumb {
    padding-top: 22px;
    display: flex;
    gap: 9px;
    align-items: center;
    font-size: 11px;
    color: var(--muted)
}

    .breadcrumb a:hover {
        color: var(--area)
    }

    .breadcrumb strong {
        font-weight: 600;
        color: var(--ink)
    }

.contact-shell {
    max-width: 900px
}

.contact-form {
    background: rgba(255,255,255,.48);
    border: 1px solid var(--line);
    padding: 42px
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.field-full {
    grid-column: 1/-1
}

.field label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .03em
}

.field input, .field select, .field textarea {
    width: 100%;
    border: 1px solid #cbc5b9;
    background: #fff;
    padding: 13px 14px;
    font: 15px Arial,Helvetica,sans-serif;
    color: var(--ink);
    border-radius: 0
}

.field textarea {
    resize: vertical
}

    .field input:focus, .field select:focus, .field textarea:focus {
        outline: 2px solid color-mix(in srgb,var(--area) 30%,transparent);
        border-color: var(--area)
    }

.field span {
    font-size: 11px;
    color: #9b3f35
}

.submit-button {
    margin-top: 28px;
    border: 0;
    background: var(--navy);
    color: #fff;
    padding: 14px 20px;
    font-size: 13px;
    cursor: pointer
}

    .submit-button span {
        color: #d2ad70;
        margin-left: 8px
    }

    .submit-button:hover {
        filter: brightness(1.08)
    }

.hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden
}

.contact-success {
    padding: 46px;
    background: rgba(255,255,255,.5);
    border: 1px solid var(--line)
}

    .contact-success h2 {
        font: normal 36px Georgia,serif;
        margin: 12px 0
    }

    .contact-success p {
        color: var(--muted);
        line-height: 1.7
    }

.not-found {
    padding: 120px 0 150px;
    max-width: 820px
}

    .not-found h1 {
        font: normal clamp(44px,6vw,72px)/1.05 Georgia,serif;
        margin: 14px 0 22px
    }

    .not-found p {
        font: 19px/1.7 Georgia,serif;
        color: var(--muted);
        max-width: 650px
    }

@media(max-width:650px) {
    .form-grid {
        grid-template-columns: 1fr
    }

    .contact-form {
        padding: 28px 20px
    }

    .field-full {
        grid-column: auto
    }

    .breadcrumb {
        overflow: auto;
        white-space: nowrap
    }
}

/* V4 — estrutura editorial por universo */
.editorial-intro {
    max-width: 820px;
    margin-bottom: 48px
}

    .editorial-intro h2 {
        font: normal 34px/1.2 Georgia,serif;
        margin: 0 0 16px
    }

    .editorial-intro p {
        font-size: 17px;
        line-height: 1.8;
        color: var(--muted);
        margin: 0
    }

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin: 64px 0 24px;
    padding-top: 28px;
    border-top: 1px solid var(--line)
}

    .section-title h2 {
        font: normal 34px/1.15 Georgia,serif;
        margin: 0
    }

    .section-title p {
        max-width: 520px;
        margin: 0;
        color: var(--muted);
        font-size: 14px;
        line-height: 1.6
    }
/* livros */
.book-list {
    display: grid;
    gap: 22px
}

.book-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 32px;
    padding: 26px;
    background: rgba(255,255,255,.42);
    border: 1px solid var(--line);
    transition: .2s
}

    .book-item:hover {
        background: #fff;
        transform: translateY(-2px)
    }

.book-cover {
    aspect-ratio: 2/3;
    background: linear-gradient(145deg,color-mix(in srgb,var(--area) 75%,#172532),#172532);
    color: #fff;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 12px 25px rgba(23,37,50,.13)
}

    .book-cover small {
        font-size: 9px;
        text-transform: uppercase;
        letter-spacing: .14em;
        opacity: .75
    }

    .book-cover strong {
        font: normal 19px/1.18 Georgia,serif
    }

.book-copy {
    align-self: center
}

.meta {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--area);
    font-weight: 700
}

.book-copy h3 {
    font: normal 29px/1.15 Georgia,serif;
    margin: 9px 0 12px
}

.book-copy p {
    color: var(--muted);
    line-height: 1.7;
    margin: 0 0 18px;
    max-width: 720px
}

.collection-note {
    font-size: 12px;
    color: var(--muted);
    margin-top: 8px
}
/* neurociência */
.research-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px
}

.research-card {
    padding: 38px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.42);
    position: relative;
    overflow: hidden
}

    .research-card:before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 4px;
        background: var(--area)
    }

    .research-card .number {
        font: normal 54px Georgia,serif;
        color: color-mix(in srgb,var(--area) 28%,transparent)
    }

    .research-card h2 {
        font: normal 30px/1.18 Georgia,serif;
        margin: 18px 0 14px
    }

    .research-card p {
        color: var(--muted);
        line-height: 1.75;
        margin-bottom: 24px
    }

.research-note {
    margin-top: 28px;
    padding: 26px 30px;
    border-left: 4px solid var(--area);
    background: rgba(255,255,255,.32);
    font: 18px/1.65 Georgia,serif;
    color: #46535d
}
/* mep */
.mep-flow {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 0;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.32)
}

.mep-step {
    padding: 34px;
    border-right: 1px solid var(--line)
}

    .mep-step:last-child {
        border-right: 0
    }

    .mep-step b {
        display: block;
        color: var(--area);
        font-size: 11px;
        letter-spacing: .15em;
        text-transform: uppercase;
        margin-bottom: 28px
    }

    .mep-step h3 {
        font: normal 26px Georgia,serif;
        margin: 0 0 12px
    }

    .mep-step p {
        color: var(--muted);
        line-height: 1.65;
        margin: 0
    }

.mep-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 28px
}
/* cursos */
.course-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 24px
}

.course-card {
    border: 1px solid var(--line);
    background: rgba(255,255,255,.42);
    overflow: hidden
}

.course-visual {
    min-height: 150px;
    padding: 28px;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(135deg,color-mix(in srgb,var(--area) 18%,transparent),rgba(255,255,255,.2));
    border-bottom: 1px solid var(--line)
}

    .course-visual span {
        font: normal 31px/1.15 Georgia,serif;
        max-width: 420px
    }

.course-body {
    padding: 28px
}

    .course-body p {
        color: var(--muted);
        line-height: 1.7;
        margin: 12px 0 20px
    }

.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 20px
}

.tag {
    border: 1px solid var(--line);
    padding: 6px 9px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted)
}

.course-card img {
    width: 100%;
}
/* tecnologia */
.project-list {
    display: grid;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line)
}

.project-item {
    background: var(--paper);
    display: grid;
    grid-template-columns: 180px 1fr 220px;
    gap: 28px;
    padding: 30px;
    align-items: start
}

    .project-item .project-type {
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: .16em;
        color: var(--area);
        font-weight: 700
    }

    .project-item h3 {
        font: normal 27px Georgia,serif;
        margin: 0 0 10px
    }

    .project-item p {
        margin: 0;
        color: var(--muted);
        line-height: 1.65
    }

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end
}

    .project-tech span {
        font-size: 10px;
        border: 1px solid var(--line);
        padding: 6px 8px;
        background: rgba(255,255,255,.35)
    }
/* hobby / studio */
.hobby-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 24px
}

.studio-feature {
    min-height: 390px;
    padding: 38px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(160deg,rgba(135,95,72,.12),rgba(255,255,255,.55));
    border: 1px solid var(--line);
    position: relative
}

    .studio-feature:after {
        content: "C";
        position: absolute;
        right: 25px;
        top: 5px;
        font: normal 180px Georgia,serif;
        color: rgba(135,95,72,.07)
    }

    .studio-feature h2 {
        font: normal 38px Georgia,serif;
        margin: 8px 0 12px;
        position: relative;
        z-index: 1
    }

    .studio-feature p {
        color: var(--muted);
        line-height: 1.7;
        max-width: 650px;
        position: relative;
        z-index: 1
    }

.studio-side {
    display: grid;
    gap: 24px
}

.studio-mini {
    padding: 30px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.38)
}

    .studio-mini h3 {
        font: normal 25px Georgia,serif;
        margin: 10px 0
    }

    .studio-mini p {
        color: var(--muted);
        line-height: 1.65;
        margin: 0
    }

.creation-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px
}

.creation-card {
    min-height: 260px;
    border: 1px solid var(--line);
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(180deg,rgba(255,255,255,.12),rgba(135,95,72,.10))
}

    .creation-card h3 {
        font: normal 25px Georgia,serif;
        margin: 8px 0
    }

    .creation-card p {
        font-size: 13px;
        color: var(--muted);
        line-height: 1.6;
        margin: 0
    }
/* sobre */
.about-story {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 48px;
    align-items: start
}

    .about-story .story p {
        font-size: 17px;
        line-height: 1.85;
        color: #4d5961
    }

        .about-story .story p:first-of-type {
            font: 21px/1.7 Georgia,serif;
            color: #3e4b54
        }

.territory-list {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line)
}

.territory-item {
    background: var(--paper);
    padding: 25px
}

    .territory-item strong {
        display: block;
        font: normal 23px Georgia,serif;
        margin-bottom: 8px
    }

    .territory-item span {
        font-size: 13px;
        color: var(--muted);
        line-height: 1.5
    }

.about-photo.sticky {
    position: sticky;
    top: 110px
}

@media(max-width:900px) {
    .mep-flow, .creation-grid {
        grid-template-columns: 1fr
    }

    .mep-step {
        border-right: 0;
        border-bottom: 1px solid var(--line)
    }

        .mep-step:last-child {
            border-bottom: 0
        }

    .project-item {
        grid-template-columns: 1fr
    }

    .project-tech {
        justify-content: flex-start
    }

    .hobby-grid, .about-story {
        grid-template-columns: 1fr
    }

    .about-photo.sticky {
        position: static
    }

    .course-grid, .research-grid {
        grid-template-columns: 1fr
    }
}

@media(max-width:650px) {
    .book-item {
        grid-template-columns: 95px 1fr;
        gap: 18px;
        padding: 18px
    }

    .book-cover {
        padding: 11px
    }

        .book-cover strong {
            font-size: 14px
        }

    .book-copy h3 {
        font-size: 23px
    }

    .mep-actions, .territory-list {
        grid-template-columns: 1fr
    }

    .section-title {
        display: block
    }

        .section-title p {
            margin-top: 10px
        }
}

/* Livros & Ebooks — complemento para wwwroot/css/site.css */
.books-page .book-collection {
    margin: 54px 0 72px;
    padding: 38px 0 44px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.book-collection-head {
    display: grid;
    grid-template-columns: minmax(260px,.8fr) 1.2fr;
    gap: 54px;
    align-items: end;
    margin-bottom: 34px
}

    .book-collection-head h2 {
        font: normal 36px/1.12 Georgia,serif;
        margin: 8px 0 0
    }

    .book-collection-head p {
        max-width: 650px;
        margin: 0;
        color: var(--muted);
        line-height: 1.75
    }

.book-cover-grid {
    display: grid;
    gap: 28px;
    align-items: start;
    max-width: 860px
}

.book-cover-grid-3 {
    grid-template-columns: repeat(3,minmax(0,1fr))
}

.book-cover-grid-2 {
    grid-template-columns: repeat(2,minmax(0,230px))
}

.book-cover-card {
    display: block;
    text-decoration: none;
    color: var(--ink)
}

    .book-cover-card img, .book-image img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
        background: #fff;
        box-shadow: 0 14px 30px rgba(23,37,50,.12);
        transition: transform .2s ease,box-shadow .2s ease
    }

    .book-cover-card:hover img {
        transform: translateY(-4px);
        box-shadow: 0 18px 36px rgba(23,37,50,.17)
    }

    .book-cover-card > span {
        display: block;
        margin-top: 13px;
        font: normal 18px/1.3 Georgia,serif
    }

.book-index-list {
    display: grid;
    gap: 22px
}

.book-index-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 32px;
    padding: 26px;
    background: rgba(255,255,255,.42);
    border: 1px solid var(--line);
    transition: .2s
}

    .book-index-item:hover {
        background: #fff;
        transform: translateY(-2px)
    }

.book-image {
    width: 150px;
    align-self: start
}

    .book-image img {
        max-height: 230px
    }

.book-index-item .book-copy {
    align-self: center
}

.book-index-item .text-link {
    display: inline-flex;
    text-decoration: none
}

@media(max-width:760px) {
    .book-collection-head {
        grid-template-columns: 1fr;
        gap: 14px
    }

    .book-cover-grid {
        gap: 18px
    }

    .book-cover-grid-3 {
        grid-template-columns: repeat(3,minmax(0,1fr))
    }

    .book-cover-grid-2 {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .book-cover-card > span {
        font-size: 15px
    }

    .book-index-item {
        grid-template-columns: 105px 1fr;
        gap: 20px;
        padding: 18px
    }

    .book-image {
        width: 105px
    }
}

@media(max-width:480px) {
    .book-cover-grid-3 {
        grid-template-columns: repeat(3,minmax(0,1fr));
        gap: 10px
    }

    .book-cover-grid-2 {
        gap: 14px
    }

    .book-cover-card > span {
        font-size: 13px
    }

    .book-index-item {
        grid-template-columns: 82px 1fr;
        gap: 16px
    }

    .book-image {
        width: 82px
    }

    .book-index-item .book-copy h3 {
        font-size: 22px
    }
}

/* V5 — primeira lapidação visual */
/* Ícones dos universos: funcionam como elemento gráfico, não como selo de aplicativo. */
.card {
    overflow: hidden;
    isolation: isolate
}

    .card .world-icon {
        position: absolute;
        width: 116px;
        height: 116px;
        right: -16px;
        top: 18px;
        color: var(--accent);
        opacity: .075;
        transition: transform .35s ease,opacity .35s ease;
        z-index: -1
    }

    .card:hover .world-icon {
        transform: translate(-8px,6px) scale(1.06);
        opacity: .13
    }

    .card .mark {
        width: 44px;
        height: 2px;
        margin-bottom: 50px
    }

    .card h3 {
        position: relative
    }

    .card.books {
        background: linear-gradient(145deg,rgba(155,94,74,.045),rgba(255,255,255,.30))
    }

    .card.neuro {
        background: linear-gradient(145deg,rgba(60,113,128,.045),rgba(255,255,255,.30))
    }

    .card.mep {
        background: linear-gradient(145deg,rgba(168,120,52,.045),rgba(255,255,255,.30))
    }

    .card.courses {
        background: linear-gradient(145deg,rgba(109,116,82,.045),rgba(255,255,255,.30))
    }

    .card.tech {
        background: linear-gradient(145deg,rgba(83,102,120,.045),rgba(255,255,255,.30))
    }

    .card.studio {
        background: linear-gradient(145deg,rgba(135,95,72,.045),rgba(255,255,255,.30))
    }

/* Redes sociais em SVG */
.social-icon {
    border: 0;
    width: 25px;
    height: 25px;
    border-radius: 0
}

    .social-icon img {
        display: block;
        width: 19px;
        height: 19px;
        object-fit: contain
    }

.social-links a {
    border-radius: 2px
}

    .social-links a:hover .social-icon {
        color: var(--area)
    }

footer .social-icon {
    width: 28px;
    height: 28px
}

    footer .social-icon img {
        width: 20px;
        height: 20px
    }

/* Pequenos refinamentos editoriais compartilhados */
.editorial-intro {
    max-width: 820px;
    margin-bottom: 58px
}

    .editorial-intro h2 {
        font: normal 38px/1.15 Georgia,serif;
        margin: 0 0 18px
    }

    .editorial-intro p {
        font-size: 17px;
        line-height: 1.8;
        color: #4d5961;
        margin: 0
    }

.section-title {
    margin-top: 58px
}

.area-hero {
    overflow: hidden
}

    .area-hero:after {
        content: "";
        position: absolute;
        right: -120px;
        bottom: -190px;
        width: 420px;
        height: 420px;
        border: 1px solid color-mix(in srgb,var(--area) 18%,transparent);
        border-radius: 50%;
        pointer-events: none
    }

/* Cantini.Studio — portfólio visual, sem excesso de divisões */
.studio-portfolio {
    padding-top: 76px
}

.studio-opening {
    margin-bottom: 52px
}

.studio-featured {
    display: grid;
    grid-template-columns: minmax(0,1.45fr) minmax(300px,.55fr);
    gap: 48px;
    align-items: center;
    margin-bottom: 88px
}

.studio-media {
    background: linear-gradient(145deg,rgba(135,95,72,.17),rgba(32,56,76,.08));
    border: 1px solid color-mix(in srgb,var(--studio) 28%,var(--line));
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden
}

    .studio-media:before {
        content: "";
        position: absolute;
        width: 60%;
        height: 160%;
        border: 1px solid rgba(135,95,72,.18);
        transform: rotate(28deg)
    }

    .studio-media span {
        position: relative;
        font-size: 10px;
        letter-spacing: .2em;
        color: var(--muted)
    }

.studio-media-featured {
    min-height: 520px
}

.studio-project-copy h2 {
    font: normal 42px/1.1 Georgia,serif;
    margin: 12px 0 20px
}

.studio-project-copy p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--muted);
    margin: 0 0 24px
}

.studio-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 62px 32px;
    align-items: start
}

.studio-project h3 {
    font: normal 27px/1.2 Georgia,serif;
    margin: 9px 0 12px
}

.studio-project p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--muted);
    margin: 0;
    max-width: 500px
}

.studio-project .meta {
    display: block;
    margin-top: 20px
}

.studio-media-tall {
    min-height: 560px
}

.studio-media-wide {
    min-height: 330px
}

.studio-project-wide {
    margin-top: 85px
}

.studio-channel {
    margin-top: 92px
}

.area-studio .opportunity {
    background: transparent;
    border-left: 0;
    border-right: 0;
    padding-left: 0;
    padding-right: 0
}

.area-studio .opportunity-mark {
    width: 2px
}

/* Livros: mais editorial e menos card */
.books-page .book-index-list {
    gap: 0;
    border-top: 1px solid var(--line)
}

.books-page .book-index-item {
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    padding: 34px 0;
    grid-template-columns: 145px 1fr
}

    .books-page .book-index-item:hover {
        background: transparent;
        transform: none
    }

        .books-page .book-index-item:hover .book-image img {
            transform: translateY(-3px);
            box-shadow: 0 18px 34px rgba(23,37,50,.16)
        }

.books-page .book-image img {
    transition: .2s
}

.collection-universe {
    margin-top: 36px;
    padding: 24px 0 0;
    border-top: 1px dashed color-mix(in srgb,var(--books) 35%,var(--line));
    max-width: 860px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center
}

    .collection-universe p {
        margin: 0;
        color: var(--muted);
        line-height: 1.65
    }

        .collection-universe p:first-child {
            max-width: 610px
        }

    .collection-universe a {
        white-space: nowrap;
        font-size: 13px;
        font-weight: 700;
        border-bottom: 1px solid var(--books);
        padding-bottom: 5px
    }

/* Tecnologia: projetos como registros/cases, sem caixas repetidas */
.area-tecnologia .project-list {
    border-top: 1px solid var(--line)
}

.area-tecnologia .project-item {
    border-left: 0;
    border-right: 0;
    border-top: 0;
    background: transparent
}

    .area-tecnologia .project-item:hover {
        background: rgba(255,255,255,.28)
    }

@media(max-width:900px) {
    .studio-featured {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .studio-media-featured {
        min-height: 420px
    }

    .studio-gallery {
        gap: 45px 22px
    }

    .studio-project-wide {
        margin-top: 50px
    }
}

@media(max-width:650px) {
    .card .world-icon {
        width: 96px;
        height: 96px
    }

    .studio-gallery {
        grid-template-columns: 1fr
    }

    .studio-project-wide {
        margin-top: 0
    }

    .studio-media-featured, .studio-media-tall, .studio-media-wide, .studio-media {
        min-height: 330px
    }

    .collection-universe {
        display: block
    }

        .collection-universe p + p {
            margin-top: 16px
        }

    .books-page .book-index-item {
        grid-template-columns: 95px 1fr
    }
}


/* V5.1 — refinamentos */
.card .world-icon {
    width: 96px;
    height: 96px;
    right: 28px;
    top: 28px;
    opacity: .055;
    filter: none
}

.card:hover .world-icon {
    transform: translate(-3px,4px) scale(1.035);
    opacity: .095
}

.about-links .territory-item {
    position: relative;
    padding-right: 52px;
    transition: background .18s ease,color .18s ease
}

    .about-links .territory-item i {
        position: absolute;
        right: 22px;
        top: 50%;
        transform: translateY(-50%);
        font-style: normal;
        font-size: 18px;
        color: var(--area);
        opacity: .55;
        transition: transform .18s ease,opacity .18s ease
    }

    .about-links .territory-item:hover {
        background: #fff
    }

        .about-links .territory-item:hover i {
            transform: translate(4px,-50%);
            opacity: 1
        }

@media(max-width:650px) {
    .card .world-icon {
        width: 78px;
        height: 78px;
        right: 22px;
        top: 24px
    }
}

.studio-portfolio img {
    width:100%;
}
/* V6 — lapidação final da base visual */

/* Home: os caminhos passam a ser tratados como índice editorial, sem ícones decorativos. */
.worlds .grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    column-gap: 58px;
    row-gap: 0;
    border: 0;
}

.worlds .card {
    min-height: 210px;
    padding: 30px 54px 38px 0;
    border: 0;
    border-top: 1px solid var(--line);
    background: transparent;
    overflow: hidden;
}

.worlds .card:hover {
    background: transparent;
    box-shadow: none;
    transform: translateX(5px);
}

.worlds .card .mark {
    width: 30px;
    height: 3px;
    margin-bottom: 38px;
    transition: width .2s ease;
}

.worlds .card:hover .mark {
    width: 54px;
}

.worlds .card h3 {
    font-size: 31px;
    letter-spacing: -.015em;
}

.worlds .card p {
    max-width: 430px;
    font-size: 14px;
    line-height: 1.7;
}

.worlds .card .go {
    right: 4px;
    bottom: 38px;
    transition: transform .18s ease;
}

.worlds .card:hover .go {
    transform: translate(3px,-3px);
}

/* Sobre: navegação com aparência mais editorial e menos de componente de sistema. */
.about-links.territory-list {
    border-top: 1px solid var(--line);
}

.about-links .territory-item {
    background: transparent;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    padding-left: 0;
}

.about-links .territory-item:hover {
    background: transparent;
}

.about-links .territory-item strong {
    transition: color .18s ease;
}

.about-links .territory-item:hover strong {
    color: var(--area);
}

/* Studio: as imagens devem assumir o protagonismo quando os arquivos reais forem incluídos. */
.studio-media {
    background: rgba(255,255,255,.28);
    border: 1px solid color-mix(in srgb,var(--studio) 18%,var(--line));
}

.studio-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.studio-project:hover .studio-media img,
.studio-featured:hover .studio-media img {
    transform: scale(1.015);
}

/* Pequenos refinamentos de leitura. */
.editorial-intro p,
.section-title p,
.book-copy p,
.project-item p {
    text-wrap: pretty;
}

.area-hero p,
.hero p {
    text-wrap: balance;
}

@media(max-width:900px) {
    .worlds .grid {
        column-gap: 34px;
    }
}

@media(max-width:650px) {
    .worlds .grid {
        grid-template-columns: 1fr;
    }

    .worlds .card {
        min-height: 0;
        padding: 26px 42px 30px 0;
    }

    .worlds .card .mark {
        margin-bottom: 25px;
    }

    .worlds .card .go {
        bottom: 30px;
    }
}


/* V6.1 — pequenos ajustes de acabamento */

/* Home: o destaque do ebook ganha um elemento editorial real. */
.ebook-feature-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) 230px;
    gap: 80px;
    align-items: center;
}

.ebook-feature-copy {
    max-width: 760px;
}

.ebook-feature-cover {
    display: block;
    width: 100%;
    max-width: 220px;
    justify-self: end;
    transform: rotate(1.2deg);
    transition: transform .22s ease;
}

.ebook-feature-cover:hover {
    transform: rotate(0deg) translateY(-4px);
}

.ebook-feature-cover img {
    display: block;
    width: 100%;
    height: auto;
    box-shadow: 0 18px 42px rgba(0,0,0,.22);
}

/* Cursos: a imagem pertence ao card; o respiro começa no conteúdo. */
.course-card {
    display: flex;
    flex-direction: column;
}

.course-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: color-mix(in srgb,var(--area) 10%,#fff);
    border-bottom: 1px solid var(--line);
}

.course-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-body {
    flex: 1;
}

.course-body h3 {
    font: normal 29px/1.18 Georgia,serif;
    margin: 10px 0 14px;
}

/* Sobre: mantém a leveza editorial da V6, mas recupera estrutura e respiro. */
.about-links.territory-list {
    gap: 0;
    background: transparent;
    border: 1px solid var(--line);
    border-bottom: 0;
}

.about-links .territory-item {
    padding: 24px 54px 24px 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,.22);
}

.about-links .territory-item:nth-child(odd) {
    border-right: 1px solid var(--line);
}

.about-links .territory-item:hover {
    background: rgba(255,255,255,.55);
}

@media(max-width:900px) {
    .ebook-feature-grid {
        grid-template-columns: minmax(0,1fr) 190px;
        gap: 45px;
    }
}

@media(max-width:650px) {
    .ebook-feature-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .ebook-feature-cover {
        justify-self: start;
        max-width: 180px;
    }

    .about-links.territory-list {
        grid-template-columns: 1fr;
    }

    .about-links .territory-item:nth-child(odd) {
        border-right: 0;
    }

    .course-body h3 {
        font-size: 25px;
    }
}
