:root {
    --ink: #123233;
    --muted: #617173;
    --teal: #00616a;
    --teal-dark: #003f46;
    --gold: #dca22f;
    --green: #63aa32;
    --paper: #ffffff;
    --line: #dfe8e6;
    --shadow: 0 24px 70px rgba(12, 50, 55, .15);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(180deg, rgba(248, 251, 250, .96), rgba(248, 251, 250, 1)),
        repeating-linear-gradient(90deg, rgba(0, 97, 106, .04) 0 1px, transparent 1px 82px);
    font-family: Manrope, Arial, sans-serif;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px clamp(18px, 4vw, 54px);
    background: rgba(255, 255, 255, .9);
    border-bottom: 1px solid rgba(223, 232, 230, .8);
    backdrop-filter: blur(18px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
}

.brand img,
.site-footer img,
.access-panel img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(220, 162, 47, .78);
    box-shadow: 0 8px 22px rgba(0, 63, 70, .12);
}

.brand strong {
    display: block;
    font-weight: 800;
}

.brand small {
    color: var(--muted);
    font-weight: 700;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 800;
}

.main-nav a {
    padding: 10px 12px;
    border-radius: 999px;
    color: #27494b;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    background: #ecf6f2;
}

.nav-link-soft {
    border: 1px solid var(--line);
}

.nav-link-solid {
    color: white !important;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    box-shadow: 0 10px 24px rgba(0, 97, 106, .18);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--ink);
}

.hero {
    position: relative;
    min-height: calc(100vh - 84px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
    gap: 28px;
    align-items: center;
    padding: clamp(48px, 7vw, 96px) clamp(18px, 6vw, 84px);
    overflow: hidden;
    background: #062f35;
}

.hero::before {
    content: "";
    position: absolute;
    inset: auto -8vw -22vw auto;
    width: 48vw;
    height: 48vw;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    z-index: 1;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 31, 36, .95) 0%, rgba(4, 31, 36, .82) 48%, rgba(4, 31, 36, .2) 100%),
        linear-gradient(180deg, rgba(4, 31, 36, .06), rgba(4, 31, 36, .52)),
        radial-gradient(circle at 16% 26%, rgba(220, 162, 47, .28), transparent 28%);
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    filter: saturate(1.04);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(760px, 100%);
    color: white;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.hero h1,
.section h2,
.location-band h2,
.access-panel h1 {
    margin: 0;
    font-family: "Source Serif 4", Georgia, serif;
    line-height: 1.02;
}

.hero h1 {
    max-width: 820px;
    font-size: clamp(58px, 8.6vw, 122px);
    text-shadow: 0 18px 44px rgba(0, 0, 0, .24);
}

.hero-lead {
    max-width: 680px;
    margin: 22px 0 30px;
    color: rgba(255, 255, 255, .9);
    font-size: clamp(18px, 2.1vw, 24px);
}

.hero-actions,
.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.btn-primary {
    color: #102a2d;
    background: linear-gradient(135deg, #f4c15a, var(--gold));
    box-shadow: 0 16px 36px rgba(220, 162, 47, .28);
}

.btn-secondary {
    color: white;
    border: 1px solid rgba(255, 255, 255, .36);
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(8px);
}

.btn-whatsapp {
    color: white;
    background: #1c8b4c;
}

.hero-points {
    margin-top: 32px;
}

.hero-points span {
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .9);
    font-weight: 800;
}

.hero-card {
    position: relative;
    z-index: 2;
    align-self: end;
    max-width: 380px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 18px;
    color: white;
    background: rgba(7, 51, 57, .72);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .24);
    backdrop-filter: blur(18px);
}

.hero-card-label {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 11px;
    border-radius: 999px;
    color: #173231;
    background: #f5c85f;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-card strong {
    display: block;
    font-size: 28px;
    line-height: 1.1;
}

.hero-card p {
    color: rgba(255, 255, 255, .78);
}

.hero-card a {
    color: #f7cf72;
    font-weight: 900;
}

.trust-strip {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin: -34px clamp(18px, 6vw, 84px) 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--line);
    box-shadow: 0 24px 60px rgba(9, 45, 48, .14);
}

.trust-strip div {
    padding: 22px;
    background: rgba(255, 255, 255, .96);
}

.trust-strip strong,
.trust-strip span {
    display: block;
}

.trust-strip strong {
    color: var(--teal-dark);
    font-size: 22px;
}

.trust-strip span {
    color: var(--muted);
    font-weight: 700;
}

.section {
    padding: clamp(66px, 8vw, 112px) clamp(18px, 6vw, 84px);
}

.section-heading {
    max-width: 840px;
    margin: 0 auto 34px;
    text-align: center;
}

.section-heading.compact {
    max-width: 760px;
}

.section h2,
.location-band h2 {
    font-size: clamp(32px, 4.2vw, 58px);
}

.section-heading p:not(.eyebrow),
.levels-copy p,
.method-copy p,
.enrollment-section p,
.location-band p {
    color: var(--muted);
    font-size: 17px;
}

.program-grid,
.workshop-grid,
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.program-card,
.workshop-card,
.news-card {
    min-height: 250px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--paper);
    box-shadow: 0 14px 38px rgba(15, 65, 70, .07);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.program-card:hover,
.workshop-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 97, 106, .22);
    box-shadow: 0 20px 46px rgba(15, 65, 70, .12);
}

.program-card svg,
.workshop-card svg,
.contact-list svg {
    width: 34px;
    height: 34px;
    color: var(--teal);
    stroke-width: 2.1;
}

.program-card svg,
.workshop-card svg {
    box-sizing: content-box;
    padding: 12px;
    border-radius: 16px;
    background: #edf8f3;
}

.program-card h3,
.workshop-card h3,
.news-card h3 {
    margin: 18px 0 8px;
    font-size: 20px;
    line-height: 1.25;
}

.program-card p,
.workshop-card p,
.news-card p {
    margin: 0;
    color: var(--muted);
}

.levels-section {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
    background:
        linear-gradient(135deg, rgba(238, 247, 243, .98), rgba(255, 248, 233, .88)),
        linear-gradient(90deg, rgba(0, 97, 106, .05) 1px, transparent 1px);
    background-size: auto, 72px 72px;
}

.level-list {
    display: grid;
    gap: 14px;
}

.level-list div {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 16px;
    padding: 20px;
    border-left: 5px solid var(--gold);
    border-radius: 16px;
    background: white;
    box-shadow: 0 12px 32px rgba(15, 65, 70, .06);
}

.level-list strong {
    color: var(--teal-dark);
    font-size: 20px;
}

.level-list span {
    color: var(--muted);
}

.workshops-section {
    background: linear-gradient(180deg, #fff 0%, #fff8e9 100%);
}

.workshop-card {
    min-height: 205px;
}

.method-section {
    display: grid;
    grid-template-columns: minmax(280px, .82fr) minmax(320px, 1fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
}

.method-image {
    position: relative;
}

.method-image img {
    width: 100%;
    max-height: 720px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.method-image span {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 10px 13px;
    border-radius: 999px;
    color: white;
    background: rgba(5, 45, 50, .82);
    font-size: 13px;
    font-weight: 900;
    text-align: center;
}

.steps {
    display: grid;
    gap: 14px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.steps li {
    position: relative;
    padding: 18px 18px 18px 64px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: white;
    color: var(--muted);
}

.steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 18px;
    top: 18px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: white;
    background: var(--teal);
    font-weight: 900;
}

.steps strong {
    color: var(--ink);
}

.gallery-section {
    background: #f3f8f7;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr 1.15fr;
    gap: 18px;
}

.gallery-grid figure {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: white;
    box-shadow: 0 14px 36px rgba(15, 65, 70, .08);
}

.gallery-grid img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    background: white;
}

.gallery-grid figure:nth-child(2) img {
    object-position: center 22%;
}

.gallery-grid figcaption {
    padding: 13px 16px;
    color: var(--teal-dark);
    font-weight: 900;
}

.enrollment-section {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: clamp(28px, 5vw, 76px);
    align-items: center;
    color: white;
    background:
        linear-gradient(90deg, rgba(0, 63, 70, .94), rgba(0, 97, 106, .86)),
        url("../img/hero-academia-novaris.png") center/cover;
}

.enrollment-section .eyebrow {
    color: #f8cc67;
}

.enrollment-section h2 {
    color: white;
}

.enrollment-section p,
.enrollment-section .contact-list li {
    color: rgba(255, 255, 255, .84);
}

.contact-list {
    display: grid;
    gap: 14px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.enrollment-section .contact-list svg {
    color: #f8cc67;
}

.lead-form {
    display: grid;
    gap: 16px;
    padding: clamp(20px, 4vw, 34px);
    border: 1px solid var(--line);
    border-radius: 20px;
    background: white;
    box-shadow: var(--shadow);
    color: var(--ink);
}

.lead-form label {
    display: grid;
    gap: 7px;
    color: #335052;
    font-weight: 900;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
    width: 100%;
    min-height: 46px;
    padding: 12px 13px;
    border: 1px solid #cfdcda;
    border-radius: 12px;
    color: var(--ink);
    background: white;
    font: inherit;
}

.lead-form textarea {
    resize: vertical;
}

.form-note {
    margin: 0;
    font-size: 14px !important;
}

.location-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(34px, 5vw, 56px) clamp(18px, 6vw, 84px);
    color: white;
    background: linear-gradient(135deg, #062b31, #00616a);
}

.location-band p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, .78);
}

.site-footer {
    display: grid;
    grid-template-columns: 1.3fr repeat(3, 1fr);
    gap: 26px;
    padding: 46px clamp(18px, 6vw, 84px) 24px;
    background: #092d30;
    color: white;
}

.site-footer h2 {
    margin: 0 0 12px;
    font-size: 16px;
}

.site-footer a,
.site-footer p {
    display: block;
    margin: 6px 0;
    color: rgba(255, 255, 255, .76);
}

.copyright {
    grid-column: 1 / -1;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    font-size: 14px;
}

.access-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 20px;
    background: linear-gradient(140deg, #eef7f3 0%, #fff8e9 100%);
}

.access-panel {
    width: min(560px, 100%);
    padding: 40px;
    border-radius: 20px;
    background: white;
    text-align: center;
    box-shadow: var(--shadow);
}

.access-panel img {
    margin: 0 auto 18px;
    width: 96px;
    height: 96px;
}

.access-panel h1 {
    font-size: clamp(34px, 6vw, 54px);
}

.access-panel p:not(.eyebrow) {
    color: var(--muted);
}

@media (max-width: 1080px) {
    .main-nav {
        position: fixed;
        inset: 85px 16px auto 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: white;
        box-shadow: var(--shadow);
    }

    .main-nav.is-open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .program-grid,
    .workshop-grid,
    .trust-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .hero {
        min-height: 720px;
        grid-template-columns: 1fr;
    }

    .hero::after {
        background: linear-gradient(180deg, rgba(5, 34, 38, .92), rgba(5, 34, 38, .7));
    }

    .hero-card {
        align-self: start;
    }

    .levels-section,
    .method-section,
    .enrollment-section,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .level-list div {
        grid-template-columns: 1fr;
    }

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

    .gallery-grid img {
        height: auto;
        max-height: none;
    }

    .location-band {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .site-header {
        padding: 12px 14px;
    }

    .brand {
        min-width: 0;
    }

    .brand img {
        width: 46px;
        height: 46px;
    }

    .brand small {
        display: none;
    }

    .hero {
        min-height: 700px;
        padding-top: 72px;
    }

    .program-grid,
    .workshop-grid,
    .news-grid,
    .trust-strip {
        grid-template-columns: 1fr;
    }

    .trust-strip {
        margin: 0;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

    .program-card,
    .workshop-card {
        min-height: auto;
    }

    .hero-actions .btn,
    .lead-form .btn,
    .location-band .btn {
        width: 100%;
    }

    .access-panel {
        padding: 28px 18px;
    }
}
