/* Premium Editorial — complete presentation layer */
:root {
    --forest: #14263b;
    --forest2: #20374d;
    --cream: #f6f4ef;
    --bg: #faf9f6;
    --surface: #fff;
    --ink: #17283b;
    --mute: #526170;
    --line: #d9dcd9;
    --sage: #d8b681;
    --sage-d: #98703c;
    --sage-dd: #76532b;
    --sage-l: #eee3d1;
    --sage-xl: #f3eee5;
    --r: 10px;
    --r-lg: 16px;
    --serif: Georgia, 'Times New Roman', serif;
    --shadow: 0 12px 32px -18px #13263b40;
    --shadow-lg: 0 25px 70px -25px #13263b65
}

body {
    background: var(--bg)
}

.wrap {
    max-width: 1400px;
    padding-inline: 36px
}

h1,
h2 {
    font-weight: 500;
    letter-spacing: -.045em
}

h2 {
    font-size: clamp(2.1rem, 4vw, 3.45rem)
}

h3 {
    font-family: var(--sans);
    font-weight: 650;
    letter-spacing: -.025em
}

.btn {
    border-radius: 7px;
    background: var(--forest);
    border-color: var(--forest);
    color: #fff;
    position: relative;
    overflow: hidden
}

.btn:hover {
    background: var(--forest2);
    color: #fff;
    border-color: var(--forest2);
    box-shadow: 0 8px 20px #14263b25
}

.btn-ghost {
    background: transparent;
    color: var(--forest)
}

.btn-ghost:hover {
    background: var(--forest);
    color: white
}

.btn:focus-visible,
a:focus-visible,
summary:focus-visible,
button:focus-visible {
    outline: 3px solid #b88c53;
    outline-offset: 3px
}

.eyebrow {
    letter-spacing: .19em
}

.eyebrow:before {
    width: 24px;
    height: 1px;
    border-radius: 0;
    background: currentColor
}

.nav {
    padding: 0;
    background: #faf9f6f5;
    border-bottom: 1px solid var(--line);
    pointer-events: auto;
    backdrop-filter: blur(16px)
}

.nav-in {
    height: 80px;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    padding-inline: 36px;
    backdrop-filter: none
}

.logo {
    font-size: 1.6rem
}

.nav nav a:not(.btn) {
    border-radius: 0;
    padding: .65rem .8rem
}

.nav nav a:not(.btn):hover {
    background: transparent;
    color: var(--sage-dd);
    box-shadow: inset 0 -2px var(--sage-d)
}

.menu-toggle {
    display: none
}

.hx {
    margin: 0;
    padding: 85px 0 120px;
    background: linear-gradient(115deg, #102238, #203b50);
    min-height: 650px;
    display: flex;
    align-items: center
}

.hx-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px
}

.hx .eyebrow {
    color: #e8cda3
}

.hx h1 {
    font-size: clamp(3rem, 5.4vw, 5.2rem);
    line-height: 1.03
}

.hx h1 em {
    color: #e6c89c
}

.hx .lead {
    color: #e0e6eb;
    line-height: 1.75
}

.hx .btn:not(.btn-ghost) {
    background: #e5c79b;
    color: #16283b;
    border-color: #e5c79b
}

.hx .btn:not(.btn-ghost):hover {
    background: #f3dfbc
}

.hx-visual {
    padding: 0 0 22px 22px
}

.hx-visual:before {
    inset: 22px 20px 0 0;
    width: auto;
    border-radius: 12px;
    border-color: #d8b68165
}

.hx-frame {
    border: 0;
    border-radius: 10px;
    aspect-ratio: 1/1.05;
    box-shadow: 0 30px 75px #0004
}

.hero-img {
    animation: heroZoom 18s ease-in-out infinite alternate
}

.hx-badge {
    left: -4px;
    bottom: 45px;
    max-width: 270px;
    border-left: 3px solid var(--sage-d);
    border-radius: 6px;
    padding: 20px 24px;
    animation: floatCard 6s ease-in-out infinite
}

.hero-index {
    position: absolute;
    right: 0;
    bottom: -10px;
    font-size: .65rem;
    letter-spacing: .15em;
    color: #d8b681
}

.hx-stats {
    margin-top: -55px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 9px
}

.hx-stats div {
    padding: 27px 30px
}

.hx-stats strong {
    color: var(--forest);
    font-size: 1.8rem
}

.sec {
    padding: 100px 0
}

.sec.alt {
    background: #efefea
}

.sec-head {
    gap: 45px;
    margin-bottom: 42px;
    align-items: end
}

.sec-head .sub {
    border-left: 1px solid #bca683;
    padding-left: 24px
}

.bento .b {
    border-radius: 10px;
    padding: 30px;
    box-shadow: none;
    position: relative;
    overflow: hidden
}

.bento .b:hover {
    box-shadow: var(--shadow);
    border-color: #bca683;
    transform: translateY(-6px)
}

.bento .b .ic {
    border-radius: 7px;
    background: var(--sage-xl);
    color: var(--sage-dd)
}

#why .bento {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

#why .bento .w2 {
    grid-column: auto
}

#why .bento .tone {
    background: var(--forest);
    color: #fff
}

#why .tone p {
    color: #dbe3ea
}

#why .b .ic+div {
    margin-top: 30px
}

.learning-layout {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 40px;
    align-items: start
}

.learning-layout>.ph {
    --ratio: 4/5 !important;
    position: sticky;
    top: 110px;
    margin: 0
}

.learning-layout .skills {
    grid-template-columns: 1fr;
    gap: 0
}

.skills li {
    padding: 16px 0;
    border-color: #c6ccc9;
    grid-template-columns: 46px 1fr
}

.skills li::before {
    font-size: 1.35rem
}

.course-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 32px;
    align-items: start
}

.course-side {
    background: var(--forest);
    color: #fff;
    border-radius: 12px;
    padding: 28px;
    position: sticky;
    top: 110px;
    overflow: hidden
}

.course-side .eyebrow {
    color: #e5c79b
}

.course-side strong {
    display: block;
    font: 500 6rem/1 var(--serif);
    color: #e5c79b
}

.course-side p {
    margin: 8px 0 24px
}

.course-side img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 15px
}

.course-side>span:last-child {
    color: #dbe3ea;
    font-size: .85rem
}

.acc-mods {
    border: 0;
    display: grid;
    gap: 10px
}

.mod {
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    padding: 0 20px;
    transition: border-color .2s
}

.mod[open] {
    border-color: #bda47e;
    box-shadow: var(--shadow)
}

.mod summary {
    padding: 22px 0;
    grid-template-columns: 46px 1fr auto 30px;
    gap: 12px
}

.mod h3 {
    font-size: 1.1rem
}

.mod summary::after {
    width: 30px;
    height: 30px
}

.cur-list {
    padding: 0 0 22px 0;
    columns: 1
}

.mod[open] .cur-list {
    animation: unfold .35s ease both
}

.gallery {
    gap: 20px;
    margin-bottom: 30px
}

.gallery .ph:nth-child(n) {
    margin: 0;
    --ratio: 1.35 !important;
    border-radius: 10px;
    background: white;
    border: 1px solid var(--line);
    overflow: hidden;
    aspect-ratio: auto
}

.gallery .ph img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.45;
    object-fit: contain;
    background: #e8ebe9;
    display: block;
    transition: transform .55s
}

.gallery .ph:hover img {
    transform: scale(1.035)
}

.gallery figcaption {
    padding: 16px 20px;
    font-weight: 650;
    color: var(--forest);
    background: white;
    position: relative
}

.chips span {
    border-radius: 5px;
    background: #fff
}

#platforms .bento {
    grid-template-columns: repeat(5, 1fr);
    gap: 12px
}

#platforms .b {
    padding: 24px 18px;
    min-height: 190px
}

#platforms .b a {
    margin-top: auto;
    padding-top: 18px;
    font-size: .82rem;
    font-weight: 650
}

.price-rows {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    border: 0
}

.price-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    background: white;
    border: 1px solid var(--line);
    padding: 26px 20px;
    border-radius: 10px
}

.price-row .bar {
    width: 100%;
    margin-top: auto
}

.price {
    font-size: 2rem;
    color: var(--forest)
}

.bar i {
    transform-origin: left;
    transition: transform 1s ease
}

.motion-ready .price-row:not(.visible) .bar i {
    transform: scaleX(0)
}

.tips {
    margin-top: 24px
}

.tl {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    padding-top: 30px
}

.tl:before {
    left: 0;
    right: 0;
    top: 52px;
    bottom: auto;
    width: auto;
    height: 1px;
    transform: none;
    background: #b99a70
}

.tl-item,
.tl-item:nth-child(even) {
    width: auto;
    margin: 0;
    padding: 66px 0 0;
    text-align: left
}

.tl-item::before,
.tl-item:nth-child(even)::before {
    top: 0;
    left: 12px;
    right: auto;
    box-shadow: 0 0 0 6px var(--bg);
    background: var(--forest)
}

.tl-card {
    display: block;
    height: 100%;
    max-width: none;
    padding: 20px 16px;
    border-radius: 8px
}

.qa-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: start
}

.qa {
    background: white;
    padding: 0 20px;
    border: 1px solid var(--line);
    border-radius: 8px
}

.qa summary {
    cursor: pointer;
    list-style: none;
    position: relative;
    font-weight: 650;
    padding: 20px 25px 20px 0
}

.qa summary::-webkit-details-marker {
    display: none
}

.qa summary:after {
    content: '+';
    position: absolute;
    right: 0;
    color: var(--sage-dd);
    font-size: 1.25rem
}

.qa[open] summary:after {
    content: '−'
}

.qa p {
    margin: 0;
    padding: 0 0 20px
}

.qa[open] p {
    animation: unfold .3s ease both
}

.enroll {
    background: var(--forest);
    color: white
}

.enroll .eyebrow,
.enroll h2 {
    color: #e5c79b
}

.enroll-head p {
    color: #dfe6ed
}

.enroll-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center
}

.enroll-head {
    text-align: left;
    margin: 0
}

.enroll-card {
    width: 100%;
    border-radius: 10px
}

.enroll-card .ph {
    --ratio: 2/1 !important
}

.footer {
    border-top: 3px solid #d8b681
}

.foot-menu:before {
    content: 'Navegação'
}

.sticky-cta {
    border-radius: 8px;
    color: var(--forest)
}

.page-hero {
    background: linear-gradient(110deg, #14263b, #263e53);
    color: white
}

.page-hero p {
    color: #dfe6ed
}

.legal-copy {
    background: white;
    padding: 36px !important;
    border: 1px solid var(--line);
    border-radius: 12px
}

.booking-aside {
    background: var(--forest)
}

.booking-aside p {
    color: #dce4eb
}

.booking-dialog {
    border-radius: 14px
}

.booking-panel,
.booking-aside {
    border-radius: 10px
}

.booking-consent {
    align-items: flex-start !important
}

.booking-consent input {
    flex: none
}

.booking-consent span {
    min-width: 0
}

.booking-content {
    animation: unfold .25s ease
}

.load-wheel {
    border-color: #d8b68135;
    border-top-color: #e5c79b;
    border-right-color: #e5c79b
}

.site-loader,
.booking-loader {
    background: var(--forest)
}

.motion-ready .motion-item {
    opacity: 0;
    translate: 0 20px;
    transition: opacity .65s ease, translate .65s cubic-bezier(.2, .7, .2, 1);
    transition-delay: var(--stagger, 0ms)
}

.motion-ready .motion-item.visible {
    opacity: 1;
    translate: 0 0
}

.reading-progress {
    height: 2px;
    background: #bd955d;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    pointer-events: none
}

.nav nav a.is-current {
    color: var(--sage-dd);
    box-shadow: inset 0 -2px var(--sage-d)
}

@keyframes heroZoom {
    to {
        transform: scale(1.07)
    }
}

@keyframes floatCard {
    50% {
        transform: translateY(-8px)
    }
}

@keyframes unfold {
    from {
        opacity: 0;
        translate: 0 6px
    }

    to {
        opacity: 1;
        translate: 0 0
    }
}

@media(max-width:1050px) {
    .hx-grid {
        gap: 35px
    }

    .hx h1 {
        font-size: clamp(2.7rem, 5.7vw, 4.1rem)
    }

    .hx-visual {
        max-width: none
    }

    .nav-in {
        gap: 12px
    }

    .menu-toggle {
        display: block;
        border: 1px solid var(--line);
        background: white;
        color: var(--forest);
        padding: 9px 13px;
        border-radius: 6px;
        font: inherit;
        font-weight: 650
    }

    .nav nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--bg);
        padding: 14px 24px 22px;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        align-items: stretch
    }

    .nav nav.open {
        display: flex;
        flex-direction: column
    }

    .nav nav a:not(.btn) {
        display: block
    }

    .nav nav .btn {
        margin: 4px 0 0
    }

    #platforms .bento {
        grid-template-columns: repeat(3, 1fr)
    }

    .course-layout {
        grid-template-columns: 240px 1fr
    }

    .price-rows {
        grid-template-columns: repeat(2, 1fr)
    }

    .tl {
        grid-template-columns: repeat(5, minmax(0, 1fr))
    }

    .tl-card {
        padding: 15px 12px
    }

    .tl-card span {
        font-size: .88rem
    }
}

@media(max-width:760px) {
    .wrap {
        padding-inline: 20px
    }

    .nav-in {
        height: 68px
    }

    .nav nav {
        top: 68px
    }

    .hx {
        padding: 55px 0 96px;
        min-height: 0
    }

    .hx-grid,
    .learning-layout,
    .course-layout,
    .enroll-layout {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .hx-visual {
        max-width: 520px;
        padding: 0 0 16px 12px
    }

    .hx-frame {
        aspect-ratio: 1.3
    }

    .hx-badge {
        bottom: 25px;
        max-width: 220px;
        padding: 12px 16px
    }

    .hx-stats {
        margin-top: -45px
    }

    .hx-stats div {
        padding: 18px 15px
    }

    .hx-stats strong {
        font-size: 1.45rem
    }

    .sec {
        padding: 65px 0
    }

    .sec-head {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 25px
    }

    .sec-head .sub {
        padding-left: 14px
    }

    .learning-layout>.ph {
        position: static;
        --ratio: 16/10 !important
    }

    .course-side {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 5px 15px;
        padding: 20px
    }

    .course-side strong {
        font-size: 4.5rem
    }

    .course-side img {
        grid-column: 2;
        grid-row: 1/5;
        height: 100%;
        margin: 0
    }

    .course-side p {
        margin: 0
    }

    .course-side>span:last-child {
        grid-column: 1
    }

    .course-side .eyebrow {
        margin: 0;
        font-size: .65rem
    }

    .mod {
        padding-inline: 13px
    }

    .mod summary {
        grid-template-columns: 36px 1fr 30px;
        gap: 10px
    }

    .mod .cnt {
        display: none
    }

    #why .bento,
    #platforms .bento {
        grid-template-columns: 1fr 1fr
    }

    .bento .b {
        padding: 20px 16px
    }

    .gallery {
        grid-template-columns: 1fr;
        gap: 12px
    }

    .price-rows {
        gap: 10px
    }

    .price-row {
        padding: 20px 14px
    }

    .price {
        font-size: 1.6rem
    }

    .tl {
        display: block;
        padding: 0
    }

    .tl:before {
        left: 23px;
        top: 0;
        bottom: 0;
        width: 1px;
        height: auto
    }

    .tl-item,
    .tl-item:nth-child(even) {
        padding: 0 0 16px 62px
    }

    .tl-item:before,
    .tl-item:nth-child(even):before {
        left: 0;
        top: 0
    }

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

    .enroll-head {
        text-align: left
    }

    .legal-copy {
        padding: 20px !important
    }

    .footer .wrap {
        padding-top: 48px
    }

    .cta-row {
        gap: 8px
    }

    .cta-row .btn {
        padding: 13px 16px
    }

    .hero-index {
        bottom: -9px
    }
}

@media(max-width:400px) {

    #why .bento,
    #platforms .bento,
    .price-rows {
        grid-template-columns: 1fr
    }

    .hx h1 {
        font-size: 2.65rem
    }

    .cta-row .btn {
        width: 100%
    }

    .course-side .eyebrow {
        letter-spacing: .08em
    }
}

@media(prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important
    }

    .motion-ready .motion-item {
        opacity: 1;
        translate: none
    }

    .motion-ready .price-row .bar i {
        transform: none !important
    }
}

.gallery .ph img {
    position: relative;
    inset: auto
}

.gallery .ph {
    box-shadow: var(--shadow)
}