/* ==========================================================================
   DESIGN SYSTEM & VARIABLES - Geografia da Bíblia (Nat Geo Replica Style)
   ========================================================================== */
:root {
    /* Color Palette */
    --accent-yellow: #ffcc00;       /* Signature Nat Geo Yellow */
    --accent-yellow-rgb: 255, 204, 0;
    --accent-gold: #e5b358;         /* Sandy Gold for Biblical context */
    --accent-orange: #f47b20;       /* Testimonials Orange Accent */
    --bg-dark-cinematic: #090909;   /* Deep cinematic black */
    --bg-card-dark: #141414;        /* Soft card dark grey */
    --bg-light-section: #f0f3f7;    /* Light grey-blue for testimonials */
    --bg-light-card: #ffffff;       /* White card background */
    --text-light: #ffffff;
    --text-muted: #a0a0a0;
    --text-dark: #111111;
    --text-dark-muted: #555555;

    /* Layout & Spacing */
    --header-height: 72px;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease;
}

/* ==========================================================================
   GLOBAL RESET & BASICS
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark-cinematic);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button {
    font-family: inherit;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #111;
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-yellow);
}

/* ==========================================================================
   HEADER (Nat Geo Navigation Replica with scroll-shrink & glassmorphism)
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(10, 10, 10, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 100;
    transition: var(--transition-smooth);
}

/* Glassmorphism triggered on scroll */
.site-header.scrolled {
    height: 60px;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.header-container {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
    height: 100%;
}

.site-logo {
    height: 42px;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.site-header.scrolled .site-logo {
    height: 34px;
}

.nav-menu > ul {
    list-style: none;
    display: flex;
    gap: clamp(16px, 1.65vw, 28px);
}

.nav-link {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-yellow);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--accent-yellow);
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-btn {
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    transition: var(--transition-fast);
}

.search-btn:hover {
    color: var(--accent-yellow);
}

.login-link {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.login-link:hover {
    color: var(--accent-yellow);
}

.subscribe-btn {
    background-color: var(--accent-yellow);
    color: #000;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 10px 20px;
    border-radius: 0; /* Nat Geo square corners */
    transition: var(--transition-fast);
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.2);
}

.subscribe-btn:hover {
    background-color: #fff;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 25px;
    padding: 4px;
    z-index: 105;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: var(--transition-fast);
}

.mobile-nav-actions {
    display: none;
}

/* ==========================================================================
   ACADEMIA
   ========================================================================== */
.academy-content {
    width: min(1240px, calc(100% - 48px));
    margin: 100px auto 0;
}

.academy-program {
    scroll-margin-top: 100px;
    margin-top: 24px;
    padding: 52px;
    background: #151717;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
}

.academy-program > h2 {
    margin-bottom: 42px;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(32px, 4.5vw, 58px);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.academy-program > h2 em {
    font-style: normal;
}

#workshops-praticos {
    display: block;
    position: relative;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.academy-workshops-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(620px, 76%);
    gap: 24px;
    margin: 0;
    padding: 8px 0 26px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scroll-padding-inline: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.22) rgba(255, 255, 255, 0.06);
}

.academy-workshops-track::-webkit-scrollbar {
    height: 8px;
}

.academy-workshops-track::-webkit-scrollbar-track {
    margin-inline: 0;
    background: rgba(255, 255, 255, 0.06);
}

.academy-workshops-track::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.22);
    border-radius: 4px;
}

.academy-module {
    padding: 30px;
    background: #1d1f1f;
    border-left: 3px solid rgba(255, 204, 0, 0.65);
}

#workshops-praticos .academy-module {
    display: grid;
    grid-template-columns: minmax(210px, 32%) minmax(0, 1fr);
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    position: relative;
    min-height: 420px;
    padding: 0;
    overflow: hidden;
    background: rgba(27, 30, 30, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.22);
    transition: transform 0.25s ease, border-color 0.25s ease;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

#workshops-praticos .academy-module:nth-of-type(2) {
    margin-top: 0;
}

#workshops-praticos .academy-module:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.18);
}

#workshops-praticos .academy-workshop-media {
    grid-column: 1;
    grid-row: 1 / 5;
    position: relative;
    min-width: 0;
    min-height: 100%;
    margin: 0;
    overflow: hidden;
    background: #101212;
}

#workshops-praticos .academy-workshop-media::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset -1px 0 rgba(255, 255, 255, 0.08);
}

#workshops-praticos .academy-workshop-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s ease;
}

#workshops-praticos .academy-module:hover .academy-workshop-media img {
    transform: scale(1.035);
}

#workshops-praticos .academy-module > h3 {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    margin: 36px 36px 18px;
}

.academy-workshop-heading-copy {
    display: grid;
    gap: 4px;
}

.academy-workshop-kicker {
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.academy-workshop-heading-copy em {
    color: var(--accent-yellow);
    font-size: 12px;
    font-style: normal;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#workshops-praticos .academy-module h4 {
    grid-column: 2;
    grid-row: 2;
    max-width: 22ch;
    margin: 0 36px 18px;
    font-size: clamp(23px, 2.1vw, 31px);
}

#workshops-praticos .academy-module > p {
    grid-column: 2;
    grid-row: 3;
    margin: 0 36px;
}

#workshops-praticos .academy-module h5 {
    display: inline-block;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 204, 0, 0.5);
}

#workshops-praticos .academy-lines {
    padding: 18px 20px;
    background: rgba(7, 9, 9, 0.38);
    border-left: 1px solid rgba(255, 204, 0, 0.38);
}

.academy-workshop-open {
    grid-column: 2;
    grid-row: 4;
    align-self: end;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 30px 36px 36px;
    padding: 13px 18px;
    color: #111;
    background: var(--accent-yellow);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.academy-workshop-open svg {
    width: 17px;
    height: 17px;
}

.academy-workshop-open:hover {
    background: #fff;
    transform: translateY(-2px);
}

.academy-workshop-open:active {
    transform: translateY(0) scale(0.98);
}

.workshop-modal-visual .course-modal-cover {
    object-position: center;
}

.workshop-modal-visual .course-modal-title {
    max-width: 15ch;
    font-size: clamp(28px, 2.7vw, 42px);
    line-height: 1.02;
}

.workshop-modal-details {
    display: block;
    padding-top: 48px;
}

.course-modal-benefits.workshop-modal-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    align-items: start;
}

.workshop-modal-benefits .course-modal-section-heading {
    grid-column: 1 / -1;
}

.workshop-modal-spec-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.workshop-modal-spec-copy strong {
    color: #f3f1eb;
    font-size: 12px;
    font-weight: 750;
}

.workshop-modal-spec-copy span {
    color: #aaa8a2;
    font-size: 11px;
    line-height: 1.45;
}

.workshop-quality-section {
    padding-top: 4px;
}

.workshop-quality-intro {
    max-width: 58ch;
    margin-bottom: 18px;
    color: #b9b7b1;
    font-size: 13px;
    line-height: 1.65;
}

.workshop-quality-grid {
    display: grid;
    gap: 10px;
}

.workshop-quality-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 13px;
    align-items: start;
    padding: 15px;
    background: rgba(255, 204, 0, 0.035);
    border: 1px solid rgba(255, 204, 0, 0.13);
    border-radius: 10px;
}

.workshop-quality-item strong {
    display: block;
    margin-bottom: 4px;
    color: #f3f1eb;
    font-size: 12.5px;
}

.workshop-quality-item p {
    color: #aaa8a2;
    font-size: 11.5px;
    line-height: 1.5;
}

.workshop-modal-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.workshop-detail-block {
    position: relative;
    min-width: 0;
    padding: 26px;
    background: #171817;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 3px solid var(--accent-yellow);
}

.workshop-detail-content {
    grid-column: 1 / -1;
}

.workshop-detail-block h5,
.workshop-detail-practice > p:first-child {
    display: block;
    margin: 0 0 16px;
    padding: 0;
    color: var(--accent-yellow);
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 800;
}

.workshop-detail-block p {
    margin-bottom: 9px;
    color: #d0d2d2;
    font-size: 15px;
    line-height: 1.65;
}

.workshop-detail-content .academy-lines {
    columns: 2;
    column-gap: 34px;
    margin: 0;
    padding: 0;
    background: transparent;
    border-left: 0;
}

.workshop-detail-content .academy-lines p {
    position: relative;
    padding-left: 17px;
    break-inside: avoid;
}

.workshop-detail-content .academy-lines p::before {
    content: '';
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 6px;
    height: 6px;
    border: 1px solid var(--accent-yellow);
    transform: rotate(45deg);
}

.workshop-detail-final {
    background: rgba(255, 204, 0, 0.055);
}

@media (max-width: 600px) {
    .course-modal-benefits.workshop-modal-benefits {
        grid-template-columns: 1fr;
    }

    .workshop-modal-benefits .course-modal-section-heading {
        grid-column: auto;
    }

    .workshop-modal-content {
        grid-template-columns: 1fr;
    }

    .workshop-detail-content {
        grid-column: auto;
    }

    .workshop-detail-content .academy-lines {
        columns: 1;
    }
}

.academy-module h3 {
    margin-bottom: 10px;
    color: var(--accent-yellow);
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

.academy-module h4 {
    margin-bottom: 18px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    line-height: 1.3;
}

.academy-module h5 {
    margin: 22px 0 9px;
    color: #fff;
    font-size: 15px;
}

.academy-module p {
    margin-bottom: 8px;
    color: #c8caca;
    font-size: 15px;
    line-height: 1.65;
}

.academy-lines {
    margin: 16px 0 24px;
    columns: 2;
    column-gap: 28px;
}

.academy-lines p {
    break-inside: avoid;
}

.formation-feature {
    position: relative;
    isolation: isolate;
    min-height: clamp(500px, 54vw, 620px);
    margin-top: 72px;
    overflow: hidden;
    background: #11110f;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.formation-feature::before {
    content: '';
    position: absolute;
    z-index: 3;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-yellow) 0 18%, rgba(var(--accent-yellow-rgb), 0.08) 18% 100%);
}

.formation-feature-image,
.formation-feature-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.formation-feature-image {
    z-index: -2;
    object-fit: cover;
    object-position: center 45%;
    filter: saturate(0.72) contrast(1.04);
    transform: scale(1.015);
    transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.formation-feature-shade {
    z-index: -1;
    background:
        radial-gradient(circle at 76% 24%, rgba(255, 210, 103, 0.08), transparent 28%),
        linear-gradient(90deg, rgba(7, 8, 7, 0.98) 0%, rgba(7, 8, 7, 0.91) 38%, rgba(7, 8, 7, 0.42) 66%, rgba(7, 8, 7, 0.13) 100%),
        linear-gradient(180deg, rgba(7, 8, 7, 0.08), rgba(7, 8, 7, 0.62));
}

.formation-feature:hover .formation-feature-image {
    filter: saturate(0.9) contrast(1.06);
    transform: scale(1.045);
}

.formation-feature-copy {
    position: relative;
    z-index: 2;
    width: min(720px, 66%);
    padding: clamp(58px, 7vw, 92px) clamp(42px, 7vw, 86px) clamp(64px, 8vw, 104px);
}

.formation-feature-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    color: var(--accent-yellow);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.formation-feature-eyebrow::before {
    content: '';
    width: 32px;
    height: 2px;
    background: currentColor;
}

.formation-feature h2 {
    max-width: 14ch;
    margin: 0;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(38px, 4.1vw, 54px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.04;
    text-wrap: balance;
}

.formation-feature-copy > p {
    max-width: 56ch;
    margin-top: 26px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    line-height: 1.7;
    text-wrap: pretty;
}

.formation-feature-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 11px 24px;
    margin-top: 34px;
}

.formation-feature-facts span {
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.formation-feature-facts strong {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.formation-feature-open {
    margin-top: 38px;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #fff;
    background: transparent;
    border: 1.5px solid #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: none;
    transition: transform 0.22s ease, color 0.22s ease, background-color 0.22s ease;
}

.formation-feature-open svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.24s ease;
}

.formation-feature-open:hover {
    color: #000;
    background: #fff;
    transform: translateY(-2px);
}

.formation-feature-open:hover svg {
    transform: translateX(5px);
}

.formation-feature-open:active {
    transform: translateY(0) scale(0.985);
}

.formation-feature-open:focus-visible {
    outline: 3px solid rgba(var(--accent-yellow-rgb), 0.42);
    outline-offset: 4px;
}

.formation-feature-watermark {
    position: absolute;
    right: clamp(28px, 4vw, 58px);
    bottom: 22px;
    z-index: 2;
    color: rgba(255, 255, 255, 0.27);
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.28em;
    writing-mode: vertical-rl;
}

@media (max-width: 800px) {
    .academy-content {
        width: min(100% - 36px, 1240px);
        margin-top: 72px;
    }

    .academy-program {
        display: block;
        padding: 28px 20px;
    }

    #workshops-praticos {
        padding: 0;
    }

    #workshops-praticos .academy-module:nth-of-type(2) {
        margin-top: 0;
    }

    .academy-workshops-track {
        grid-auto-columns: minmax(290px, 88vw);
        gap: 14px;
        margin: 0;
        padding: 6px 0 20px;
        scroll-padding-inline: 0;
    }

    .academy-workshops-track::-webkit-scrollbar-track {
        margin-inline: 0;
    }

    #workshops-praticos .academy-module {
        grid-template-columns: 1fr;
        grid-template-rows: 210px auto auto minmax(0, 1fr) auto;
        min-height: 0;
    }

    #workshops-praticos .academy-workshop-media {
        grid-column: 1;
        grid-row: 1;
        min-height: 0;
    }

    #workshops-praticos .academy-workshop-media::after {
        box-shadow: inset 0 -1px rgba(255, 255, 255, 0.08);
    }

    #workshops-praticos .academy-module > h3 {
        grid-column: 1;
        grid-row: 2;
        margin: 24px 22px 16px;
    }

    #workshops-praticos .academy-module h4 {
        grid-column: 1;
        grid-row: 3;
        margin: 0 22px 16px;
    }

    #workshops-praticos .academy-module > p {
        grid-column: 1;
        grid-row: 4;
        margin: 0 22px;
    }

    #workshops-praticos .academy-workshop-open {
        grid-column: 1;
        grid-row: 5;
        margin: 26px 22px 24px;
    }

    .academy-program > h2 {
        margin-bottom: 28px;
    }

    .academy-module {
        margin-bottom: 14px;
        padding: 24px 20px;
    }

    .formation-feature {
        min-height: 620px;
        margin-top: 52px;
    }

    .formation-feature-image {
        object-position: 62% center;
    }

    .formation-feature-shade {
        background:
            linear-gradient(180deg, rgba(7, 8, 7, 0.18) 0%, rgba(7, 8, 7, 0.8) 48%, rgba(7, 8, 7, 0.98) 100%),
            linear-gradient(90deg, rgba(7, 8, 7, 0.66), transparent 82%);
    }

    .formation-feature-copy {
        display: flex;
        min-height: 620px;
        width: 100%;
        flex-direction: column;
        justify-content: flex-end;
        padding: 54px 28px 38px;
    }

    .formation-feature h2 {
        max-width: 13ch;
        font-size: clamp(34px, 9vw, 46px);
    }

    .formation-feature-copy > p {
        margin-top: 20px;
    }

    .formation-feature-facts {
        margin-top: 26px;
    }

    .formation-feature-open {
        align-self: flex-start;
        margin-top: 30px;
    }

    .formation-feature-watermark {
        display: none;
    }

    .academy-lines {
        columns: 1;
    }
}

/* ==========================================================================
   SEARCH OVERLAY
   ========================================================================== */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    overflow-y: auto;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(76px, 10vh, 118px) 24px 40px;
    background: rgba(4, 5, 5, 0.94);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-panel {
    width: min(960px, 100%);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-top: 4px solid var(--accent-yellow);
    background: #101112;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
    transform: translateY(16px);
    transition: transform 0.25s ease;
}

.search-overlay.active .search-panel {
    transform: translateY(0);
}

.search-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 30px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.search-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: var(--accent-yellow);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.search-panel-header h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.08;
}

.search-container {
    padding: 24px 30px 30px;
}

.search-field {
    position: relative;
}

.search-field > svg {
    position: absolute;
    top: 50%;
    left: 17px;
    width: 21px;
    height: 21px;
    fill: none;
    stroke: #aeb3b7;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    transform: translateY(-50%);
    pointer-events: none;
}

.search-field input {
    width: 100%;
    min-height: 60px;
    padding: 14px 18px 14px 52px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 3px solid var(--accent-yellow);
    border-radius: 0;
    outline: none;
    background: #080909;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 650;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-field input::placeholder {
    color: #72777b;
    font-weight: 500;
}

.search-field input:focus {
    border-color: var(--accent-yellow);
    box-shadow: 0 0 0 3px rgba(var(--accent-yellow-rgb), 0.15);
}

.search-close {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.search-close svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.8;
}

.search-close:hover,
.search-close:focus-visible {
    border-color: var(--accent-yellow);
    background: rgba(var(--accent-yellow-rgb), 0.08);
    color: var(--accent-yellow);
}

.search-guidance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0 5px;
}

.search-guidance[hidden] {
    display: none;
}

.search-guidance p,
.search-status {
    margin: 0;
    color: #9ca2a6;
    font-size: 13px;
}

.search-suggestion-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
}

.search-suggestion-list button {
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #d8dbdd;
    font-size: 12px;
    font-weight: 700;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.search-suggestion-list button:hover,
.search-suggestion-list button:focus-visible {
    border-color: var(--accent-yellow);
    color: var(--accent-yellow);
}

.search-status {
    min-height: 22px;
    padding-top: 13px;
    font-weight: 650;
}

.search-results {
    display: grid;
    max-height: min(430px, 48vh);
    margin: 8px 0 0;
    padding: 0;
    overflow-y: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    list-style: none;
}

.search-result-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.search-result-button {
    display: grid;
    width: 100%;
    grid-template-columns: 116px minmax(0, 1fr) 26px;
    align-items: center;
    gap: 18px;
    padding: 17px 12px;
    color: #fff;
    text-align: left;
    transition: background 0.18s ease, box-shadow 0.18s ease;
}

.search-result-button:hover,
.search-result-button:focus-visible {
    outline: none;
    background: rgba(255, 255, 255, 0.055);
    box-shadow: inset 3px 0 0 var(--accent-yellow);
}

.search-result-kind {
    color: var(--accent-yellow);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.search-result-copy {
    min-width: 0;
}

.search-result-copy strong,
.search-result-copy span {
    display: block;
}

.search-result-copy strong {
    overflow: hidden;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-result-copy span {
    margin-top: 4px;
    overflow: hidden;
    color: #9ca2a6;
    font-size: 12px;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-result-arrow {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #72777b;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    transition: stroke 0.2s ease, transform 0.2s ease;
}

.search-result-button:hover .search-result-arrow,
.search-result-button:focus-visible .search-result-arrow {
    stroke: var(--accent-yellow);
    transform: translateX(3px);
}

.search-empty {
    padding: 38px 18px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    text-align: center;
}

.search-empty span,
.search-empty strong {
    display: block;
}

.search-empty span {
    color: var(--accent-yellow);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.14em;
}

.search-empty strong {
    margin-top: 7px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
}

.search-empty p {
    margin: 5px 0 0;
    color: #969ca0;
    font-size: 13px;
}

body.search-open {
    overflow: hidden;
}

.search-target-highlight {
    animation: search-target-pulse 1.8s ease;
}

@keyframes search-target-pulse {
    0%, 100% { box-shadow: none; }
    35% { box-shadow: 0 0 0 4px var(--accent-yellow); }
}

@media (max-width: 680px) {
    .search-overlay {
        padding: 0;
    }

    .search-panel {
        min-height: 100dvh;
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        box-shadow: none;
    }

    .search-panel-header {
        padding: max(20px, env(safe-area-inset-top)) 18px 18px;
    }

    .search-panel-header h2 {
        font-size: 24px;
    }

    .search-container {
        padding: 18px;
    }

    .search-field input {
        min-height: 56px;
        font-size: 16px;
    }

    .search-guidance {
        display: grid;
        gap: 10px;
    }

    .search-suggestion-list {
        justify-content: flex-start;
    }

    .search-results {
        max-height: none;
    }

    .search-result-button {
        grid-template-columns: minmax(0, 1fr) 24px;
        gap: 8px;
        padding: 16px 10px;
    }

    .search-result-kind {
        grid-column: 1 / -1;
    }

    .search-result-copy strong,
    .search-result-copy span {
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
    }
}

/* ==========================================================================
   HERO SECTION (Replicando o Hero visual com estatísticas e mini slider)
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 60px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transform: scale(1.05);
    animation: zoomHero 20s infinite alternate ease-in-out;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.hero-video-bg iframe {
    width: 100vw;
    height: 56.25vw; /* 16:9 ratio */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 ratio */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-video-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
        rgba(10, 10, 10, 0.98) 0%,
        rgba(10, 10, 10, 0.8) 15%,
        rgba(10, 10, 10, 0.3) 45%,
        rgba(10, 10, 10, 0.85) 100%);
    z-index: 3;
}

/* Video Skeleton Loader */
.video-skeleton {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #090909;
    z-index: 2;
    overflow: hidden;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.video-skeleton.fade-out {
    opacity: 0;
    pointer-events: none;
}

.skeleton-shimmer {
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.03) 50%,
        transparent 100%
    );
    animation: skeletonShimmer 2.5s infinite linear;
}

@keyframes skeletonShimmer {
    0% {
        left: -150%;
    }
    100% {
        left: 100%;
    }
}

@keyframes zoomHero {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(100%, 980px);
    margin: auto auto 34px auto;
    padding: 0 24px;
    text-align: center;
}

.hero-eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--text-light);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero-title {
    max-width: 15ch;
    margin-inline: auto;
    font-size: clamp(42px, 5.1vw, 68px);
    font-weight: 900;
    line-height: 0.98;
    margin-bottom: 18px;
    letter-spacing: -0.045em;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
    text-wrap: balance;
}

.hero-lead {
    margin-bottom: 18px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(17px, 1.8vw, 22px);
    font-weight: 650;
    line-height: 1.35;
    text-shadow: 0 2px 10px rgba(0,0,0,0.85);
}

.hero-description {
    max-width: 800px;
    margin-inline: auto;
    font-size: 15px;
    color: #e0e0e0;
    margin-bottom: 26px;
    line-height: 1.62;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.hero-description p + p {
    margin-top: 10px;
}

.hero-description p:first-child {
    color: #fff;
    font-weight: 650;
}

.watch-now-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 14px 28px;
    background-color: transparent;
    color: #fff;
    border-bottom: 3px solid var(--accent-yellow);
    transition: var(--transition-fast);
}

.watch-now-btn:hover {
    color: var(--accent-yellow);
    transform: translateY(-2px);
}

/* Statistics Bar (Design premium - glassmorphism bar) */
.stats-bar-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 50px auto;
    padding: 0 24px;
}

.stats-bar {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 24px 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-yellow);
    margin-bottom: 4px;
}

.stat-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #ccc;
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.12);
}

/* Disney+ Style Bottom Slider */
.hero-slider-section {
    position: relative;
    z-index: 2;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 80%, rgba(0,0,0,0));
    padding: 20px 0 50px 0;
}

.slider-header {
    max-width: 1400px;
    margin: 0 auto 16px auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slider-header h3 {
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 700;
    color: #ccc;
    border-left: 3px solid var(--accent-yellow);
    padding-left: 10px;
}

.slider-controls {
    display: flex;
    gap: 8px;
}

.slider-arrow {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.05);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.slider-arrow:hover {
    background: var(--accent-yellow);
    color: #000;
}

.hero-cards-wrapper {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 10px 40px 20px 40px;
    -webkit-overflow-scrolling: touch;
}

/* Hide horizontal scrollbar but keep functionality */
.hero-cards-wrapper::-webkit-scrollbar {
    display: none;
}

.hero-card {
    flex: 0 0 220px;
    aspect-ratio: 3/4;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
}

.hero-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: var(--transition-fast);
    pointer-events: none;
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    padding: 16px;
}

.card-overlay h4 {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.hero-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 204, 0, 0.15);
}

.hero-card:hover::after {
    border-color: var(--accent-yellow);
}

.hero-card:hover img {
    transform: scale(1.1);
}

/* ==========================================================================
   3D CAROUSEL SECTION (Replicando o Coverflow do NAT GEO TV)
   ========================================================================== */
.section-3d-gallery {
    padding: 80px 0;
    background-color: var(--bg-dark-cinematic);
    position: relative;
}

.section-header-3d {
    text-align: center;
    margin-bottom: 50px;
}

.section-title-3d {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: #fff;
    margin-bottom: 12px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background-color: var(--accent-yellow);
    margin: 0 auto;
}

.gallery-3d-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* Let clicks pass through container */
}

.gallery-arrow-3d {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 50px;
    height: 50px;
    background: rgba(20,20,20,0.8);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    pointer-events: auto; /* Enable clicks on arrows */
}

.gallery-arrow-3d:hover {
    background: var(--accent-yellow);
    color: #000;
}

.gallery-arrow-3d.prev { left: 40px; }
.gallery-arrow-3d.next { right: 40px; }

.gallery-3d-stage {
    width: 100%;
    height: 100%;
    position: relative;
    perspective: 1200px;
    transform-style: preserve-3d;
    pointer-events: none; /* Let clicks pass through stage */
}

.slide-3d {
    position: absolute;
    width: 280px;
    height: 380px;
    left: 50%;
    top: 50%;
    margin-left: -140px;
    margin-top: -190px;
    transition: var(--transition-smooth);
    transform-style: preserve-3d;
    cursor: pointer;
    pointer-events: auto; /* Enable clicks on slides */
}

.card-3d-inner {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    background-color: var(--bg-card-dark);
}

.card-3d-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.9));
    z-index: 2;
    transition: var(--transition-smooth);
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    z-index: 3;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.slide-content-overlay h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #fff;
    letter-spacing: 0.05em;
}

.slide-content-overlay p {
    font-size: 11px;
    color: #ccc;
    margin-bottom: 16px;
    line-height: 1.4;
}

.slide-action-btn {
    display: inline-block;
    background-color: var(--accent-yellow);
    color: #000;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 10px 18px;
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.slide-action-btn:hover {
    background-color: #fff;
}

/* 3D Classes generated by JS */
.slide-3d.active-slide {
    transform: translate3d(0, 0, 220px) scale(1.1);
    z-index: 10;
    opacity: 1;
    pointer-events: auto;
}

.slide-3d.active-slide .card-3d-inner::before {
    background: linear-gradient(rgba(0,0,0,0) 40%, rgba(0,0,0,0.9));
}

.slide-3d.active-slide .slide-content-overlay {
    opacity: 1;
    transform: translateY(0);
}

.slide-3d.prev-slide {
    transform: translate3d(-240px, 0, 100px) rotateY(32deg) scale(0.95);
    z-index: 5;
    opacity: 0.65;
    pointer-events: auto;
}

.slide-3d.next-slide {
    transform: translate3d(240px, 0, 100px) rotateY(-32deg) scale(0.95);
    z-index: 5;
    opacity: 0.65;
    pointer-events: auto;
}

.slide-3d.far-prev-slide {
    transform: translate3d(-440px, 0, 0px) rotateY(45deg) scale(0.8);
    z-index: 2;
    opacity: 0.3;
    pointer-events: auto;
}

.slide-3d.far-next-slide {
    transform: translate3d(440px, 0, 0px) rotateY(-45deg) scale(0.8);
    z-index: 2;
    opacity: 0.3;
    pointer-events: auto;
}

.slide-3d.hidden-slide {
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}

/* ==========================================================================
   LATEST STORIES GRID SECTION (Editorial Replica)
   ========================================================================== */
.stories-section {
    padding: 80px 40px;
    background-color: var(--bg-dark-cinematic);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.stories-grid-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    align-items: start;
}

.featured-story-card {
    background-color: var(--bg-card-dark);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.story-image-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.story-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 52%;
    transition: transform 0.8s ease;
}

.featured-story-card:hover .story-image-wrapper img {
    transform: scale(1.05);
}

.story-content {
    padding: 32px;
}

.story-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-yellow);
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 12px;
}

.story-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    transition: var(--transition-fast);
}

.featured-story-card:hover .story-title {
    color: var(--accent-yellow);
}

.story-excerpt {
    font-size: 14px;
    color: #b0b0b0;
    margin-bottom: 24px;
    line-height: 1.6;
}

.read-more-link {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-bottom: 2px solid var(--accent-yellow);
    padding-bottom: 4px;
}

.read-more-link:hover {
    color: var(--accent-yellow);
}

/* Sidebar List */
.latest-stories-aside {
    display: flex;
    flex-direction: column;
    height: 650px;
    min-height: 0;
}

.aside-heading {
    font-size: 18px;
    letter-spacing: 0.15em;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.underline-aside {
    width: 50px;
    height: 3px;
    background-color: var(--accent-yellow);
    margin-bottom: 24px;
}

.aside-stories-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-yellow) rgba(255, 255, 255, 0.06);
    padding-right: 14px;
}

.aside-stories-list::-webkit-scrollbar {
    width: 7px;
}

.aside-stories-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.06);
}

.aside-stories-list::-webkit-scrollbar-thumb {
    background: var(--accent-yellow);
    border-radius: 4px;
}

.aside-stories-list::-webkit-scrollbar-thumb:hover {
    background: #ffe066;
}

.aside-story-item {
    display: flex;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    cursor: pointer;
}

.aside-thumb {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 2px;
    transition: var(--transition-fast);
}

.aside-story-item:hover .aside-thumb {
    transform: scale(1.05);
}

.aside-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.aside-tag {
    font-size: 9px;
    font-weight: 700;
    color: var(--accent-yellow);
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.aside-content h3 {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: #e0e0e0;
    transition: var(--transition-fast);
}

.aside-story-item:hover h3 {
    color: var(--accent-yellow);
}

.see-more-stories {
    display: block;
    margin-top: 24px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.15);
    padding: 12px;
    transition: var(--transition-fast);
}

.see-more-stories:hover {
    background-color: #fff;
    color: #000;
}

/* ==========================================================================
   PHOTO OF THE DAY SECTION (Epic Immersive Banner)
   ========================================================================== */
.photo-day-section {
    position: relative;
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding: 80px 40px;
}

.photo-day-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.photo-day-container {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.photo-day-layout {
    position: relative;
    z-index: 2;
    display: grid;
    width: min(100%, 1320px);
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    align-items: end;
    gap: clamp(40px, 8vw, 120px);
    margin: 0 auto;
}

.photo-day-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-yellow);
    letter-spacing: 0.2em;
    margin-bottom: 12px;
    display: block;
}

.photo-day-title {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
}

.photo-day-description {
    font-size: 14px;
    color: #e0e0e0;
    margin-bottom: 28px;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.photo-day-btn {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1.5px solid #fff;
    padding: 12px 24px;
    background: transparent;
    color: #fff;
    transition: var(--transition-fast);
}

.photo-day-btn:hover {
    background-color: #fff;
    color: #000;
}

.photo-day-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 22px;
}

.photo-day-btn.primary {
    border-color: var(--accent-yellow);
    background: var(--accent-yellow);
    color: #090909;
}

.photo-day-btn.primary:hover {
    border-color: #fff;
    background: #fff;
}

.photo-day-login {
    padding-bottom: 3px;
    border-bottom: 2px solid var(--accent-yellow);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.photo-day-map-preview {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(10, 10, 10, 0.88);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.photo-day-map-image {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #d7cfb8;
}

.photo-day-map-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-day-lock {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 7px 9px;
    background: var(--accent-yellow);
    color: #080808;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.photo-day-map-preview > div:last-child {
    display: grid;
    gap: 4px;
    padding: 16px 18px 18px;
}

.photo-day-map-preview > div:last-child span {
    color: var(--accent-yellow);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.photo-day-map-preview > div:last-child strong {
    color: #fff;
    font-size: 13px;
}

/* ==========================================================================
   PUBLIC MAPS ARCHIVE
   ========================================================================== */
.maps-archive-section {
    position: relative;
    padding: clamp(76px, 9vw, 132px) 40px;
    overflow: hidden;
    background: #eeeae0;
    color: #11110f;
}

.maps-archive-section::before {
    content: 'MAPAS';
    position: absolute;
    top: 18px;
    right: -0.035em;
    color: rgba(17, 17, 15, 0.035);
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(92px, 18vw, 270px);
    font-weight: 900;
    letter-spacing: -0.075em;
    line-height: 0.8;
    pointer-events: none;
}

.maps-archive-header,
.public-maps-grid,
.maps-load-status {
    position: relative;
    z-index: 1;
    width: min(1240px, 100%);
    margin-inline: auto;
}

.maps-archive-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 48px;
    padding-top: 28px;
    margin-bottom: clamp(42px, 6vw, 72px);
    border-top: 4px solid #11110f;
}

.maps-archive-heading {
    max-width: 850px;
}

.maps-archive-index {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #947400;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.maps-archive-index::before {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--accent-yellow);
}

.maps-archive-heading h2 {
    max-width: 13ch;
    margin-top: 20px;
    font-size: clamp(40px, 5.7vw, 76px);
    font-weight: 880;
    letter-spacing: -0.058em;
    line-height: 0.94;
    text-wrap: balance;
}

.maps-archive-heading p {
    max-width: 64ch;
    margin-top: 24px;
    color: #56534d;
    font-size: clamp(15px, 1.35vw, 18px);
    line-height: 1.7;
}

.maps-archive-header-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    min-width: 224px;
    padding-bottom: 4px;
}

.maps-archive-signup {
    padding: 14px 20px;
    background: #11110f;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;
}

.maps-archive-signup:hover {
    background: var(--accent-yellow);
    color: #11110f;
}

.maps-archive-login {
    align-self: center;
    padding: 2px 0 4px;
    border-bottom: 2px solid var(--accent-yellow);
    font-size: 12px;
    font-weight: 750;
}

.public-maps-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
}

.public-map-card {
    grid-column: span 4;
    display: flex;
    min-width: 0;
    flex-direction: column;
    border-top: 4px solid #11110f;
    background: #faf9f5;
    box-shadow: 0 18px 52px rgba(38, 31, 19, 0.09);
}

.public-map-card:nth-last-child(2):first-child,
.public-map-card:nth-last-child(2):first-child ~ .public-map-card {
    grid-column: span 6;
}

.public-map-card:only-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
}

.public-map-media {
    position: relative;
    min-height: 0;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #d7cfb8;
}

.public-map-card:only-child .public-map-media {
    height: 100%;
    aspect-ratio: auto;
}

.public-map-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 50%, rgba(0, 0, 0, 0.42) 100%);
    pointer-events: none;
}

.public-map-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.public-map-card:hover .public-map-media img {
    transform: scale(1.025);
}

.public-map-badge,
.public-map-sequence {
    position: absolute;
    z-index: 1;
    font-family: 'Montserrat', sans-serif;
    font-weight: 850;
}

.public-map-badge {
    top: 16px;
    left: 16px;
    padding: 8px 10px;
    background: #11110f;
    color: #fff;
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.public-map-badge.is-featured {
    background: var(--accent-yellow);
    color: #11110f;
}

.public-map-sequence {
    right: 16px;
    bottom: 12px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 28px;
    letter-spacing: -0.05em;
}

.public-map-copy {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    padding: clamp(24px, 3vw, 42px);
}

.public-map-eyebrow {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #d8d3c8;
    color: #6f6a61;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.public-map-card h3 {
    margin-top: 25px;
    font-size: clamp(23px, 2.5vw, 36px);
    font-weight: 850;
    letter-spacing: -0.042em;
    line-height: 1.03;
    text-wrap: balance;
}

.public-map-subtitle {
    margin-top: 13px;
    color: #37342f;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.public-map-description {
    display: -webkit-box;
    margin-top: 16px;
    overflow: hidden;
    color: #666158;
    font-size: 13px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.public-map-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px 20px;
    margin-top: auto;
    padding-top: 28px;
}

.public-map-primary-action {
    padding: 13px 16px;
    background: var(--accent-yellow);
    color: #11110f;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.public-map-primary-action:hover {
    background: #11110f;
    color: #fff;
}

.public-map-secondary-action {
    padding: 3px 0;
    border-bottom: 2px solid #11110f;
    color: #37342f;
    font-size: 11px;
    font-weight: 750;
}

.maps-archive-signup:focus-visible,
.maps-archive-login:focus-visible,
.public-map-primary-action:focus-visible,
.public-map-secondary-action:focus-visible {
    outline: 3px solid rgba(142, 108, 0, 0.45);
    outline-offset: 4px;
}

.maps-load-status {
    min-height: 24px;
    margin-top: 18px;
    color: #676158;
    font-size: 14px;
}

.public-map-skeleton {
    grid-column: 1 / -1;
    min-height: 430px;
    overflow: hidden;
    border-top: 4px solid rgba(17, 17, 15, 0.3);
    background: #ded9ce;
}

.public-map-skeleton::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, 0.34) 48%, transparent 62%);
    transform: translateX(-100%);
    animation: contentSkeleton 1.5s infinite;
}

@media (max-width: 980px) {
    .maps-archive-header {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 30px;
    }

    .maps-archive-header-actions {
        width: min(100%, 300px);
        min-width: 0;
    }

    .public-map-card,
    .public-map-card:nth-last-child(2):first-child,
    .public-map-card:nth-last-child(2):first-child ~ .public-map-card {
        grid-column: span 6;
    }

    .public-map-card:only-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .maps-archive-section {
        padding: 68px 20px 76px;
    }

    .maps-archive-section::before {
        top: 36px;
    }

    .maps-archive-header {
        padding-top: 22px;
    }

    .maps-archive-heading h2 {
        max-width: 12ch;
        font-size: clamp(38px, 13vw, 60px);
    }

    .public-map-card,
    .public-map-card:nth-last-child(2):first-child,
    .public-map-card:nth-last-child(2):first-child ~ .public-map-card,
    .public-map-card:only-child {
        grid-column: 1 / -1;
        display: flex;
    }

    .public-map-card:only-child .public-map-media {
        height: auto;
        aspect-ratio: 3 / 2;
    }

    .public-map-copy {
        padding: 24px 20px 26px;
    }

    .public-map-card h3 {
        font-size: 25px;
    }

    .public-map-actions {
        align-items: stretch;
    }

    .public-map-primary-action {
        flex: 1 1 100%;
        text-align: center;
    }
}

/* ==========================================================================
   TESTIMONIALS SECTION (Nossos Clientes Satisfeitos - Precise Replica)
   ========================================================================== */
.testimonials-section {
    padding: 80px 40px;
    background-color: var(--bg-light-section); /* Light background for relief */
    color: var(--text-dark);
}

.section-header-testimonials {
    text-align: center;
    margin-bottom: 60px;
}

.section-header-testimonials h2 {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.underline-testimonials {
    width: 60px;
    height: 4px;
    background-color: var(--accent-orange); /* Orange line */
    margin: 0 auto;
}

.testimonials-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background-color: var(--bg-light-card);
    border-radius: 8px;
    padding: 40px 32px 32px 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 3px solid var(--accent-orange); /* Orange bottom border */
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.client-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.client-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.client-info p {
    font-size: 12px;
    color: var(--text-dark-muted);
    font-weight: 500;
}

.star-rating {
    display: flex;
    gap: 4px;
    color: #ffaa00; /* Gold Stars */
    font-size: 18px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 13.5px;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 40px; /* Space for the bottom quote */
    font-style: italic;
    flex-grow: 1;
}

.quote-graphic {
    position: absolute;
    bottom: 20px;
    right: 28px;
    color: rgba(244, 123, 32, 0.12); /* Semi-transparent orange quote */
}

.quote-svg {
    width: 50px;
    height: 50px;
}

/* ==========================================================================
   FOOTER (Replicando o rodapé Nat Geo)
   ========================================================================== */
.site-footer {
    background-color: #050505;
    padding: 80px 40px 40px 40px;
    color: #999;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 64px;
}

.footer-left-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    height: 48px;
    object-fit: contain;
    align-self: flex-start;
    margin-bottom: 24px;
}

.footer-bio {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-stats-info span {
    font-size: 12px;
    color: var(--accent-yellow);
}

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

.footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 12px;
    transition: var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--accent-yellow);
}

.footer-contact-item {
    font-size: 12px;
    margin-bottom: 16px;
    line-height: 1.5;
}

.footer-contact-item strong {
    color: #fff;
}

.footer-contact-item a:hover {
    color: var(--accent-yellow);
}

.footer-bottom {
    max-width: 1400px;
    margin: 60px auto 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}

.footer-bottom p {
    font-size: 11px;
}

/* ==========================================================================
   YOUTUBE MODAL LIGHTBOX
   ========================================================================== */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.video-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 960px;
    aspect-ratio: 16/9;
    background: #000;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.video-modal-close {
    position: absolute;
    right: -45px;
    top: -45px;
    font-size: 40px;
    color: #fff;
    transition: var(--transition-fast);
}

.video-modal-close:hover {
    color: var(--accent-yellow);
}

.video-iframe-container {
    width: 100%;
    height: 100%;
}

.video-iframe-container iframe {
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   SCROLL TO TOP BUTTON (As in reference)
   ========================================================================== */
.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #0b2240; /* Dark Navy as seen in client testimonial image */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

.scroll-to-top-btn.active {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top-btn:hover {
    background-color: var(--accent-yellow);
    color: #000;
    transform: translateY(-3px);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */

@media (max-width: 1024px) {
    .site-header .header-actions .login-link,
    .site-header .header-actions .subscribe-btn {
        display: none;
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        padding: 90px 32px 40px 32px;
        z-index: 99;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu > ul {
        flex-direction: column;
        gap: 24px;
        width: 100%;
        margin-bottom: 32px;
    }

    .nav-menu > ul > li > a {
        font-size: 15px;
        font-weight: 600;
        letter-spacing: 0.08em;
        padding: 8px 0;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    }

    .mobile-nav-actions {
        display: flex;
        flex-direction: column;
        gap: 16px;
        width: 100%;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding-top: 24px;
        margin-top: auto;
    }

    .mobile-login-link {
        font-size: 13px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        text-align: center;
        color: #fff;
        padding: 12px;
        border: 1.5px solid rgba(255, 255, 255, 0.15);
        transition: var(--transition-fast);
    }

    .mobile-login-link:hover {
        background-color: rgba(255, 255, 255, 0.05);
        border-color: #fff;
    }

    .mobile-subscribe-btn {
        background-color: var(--accent-yellow);
        color: #000;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        padding: 12px;
        text-align: center;
        transition: var(--transition-fast);
        box-shadow: 0 4px 15px rgba(255, 204, 0, 0.2);
    }

    .mobile-subscribe-btn:hover {
        background-color: #fff;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    body.menu-open {
        overflow: hidden;
    }

    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 98;
        animation: drawerFadeIn 0.3s ease forwards;
    }

    @keyframes drawerFadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    .hero-title {
        font-size: clamp(38px, 6.2vw, 52px);
    }

    .gallery-3d-stage {
        perspective: 900px;
    }

    .slide-3d {
        width: 240px;
        height: 320px;
        margin-left: -120px;
        margin-top: -160px;
    }

    /* Shift position offsets for smaller perspective screens */
    .slide-3d.prev-slide { transform: translate3d(-180px, 0, 100px) rotateY(25deg) scale(0.9); }
    .slide-3d.next-slide { transform: translate3d(180px, 0, 100px) rotateY(-25deg) scale(0.9); }
    .slide-3d.far-prev-slide { transform: translate3d(-320px, 0, 0px) rotateY(35deg) scale(0.75); }
    .slide-3d.far-next-slide { transform: translate3d(320px, 0, 0px) rotateY(-35deg) scale(0.75); }

    .stories-grid-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .latest-stories-aside {
        height: 560px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .site-header {
        height: 60px;
    }

    .hero-section {
        padding-top: calc(var(--header-height) + 20px);
    }

    .site-logo {
        height: 32px;
    }

    .hero-title {
        max-width: 13ch;
        font-size: clamp(34px, 10.5vw, 48px);
    }

    .hero-lead {
        font-size: 16px;
    }

    .hero-description {
        max-width: 620px;
        font-size: 13px;
        line-height: 1.58;
    }

    .hero-bg {
        background-image: linear-gradient(rgba(9, 9, 9, 0.96) 0%, rgba(9, 9, 9, 0.75) 25%, rgba(9, 9, 9, 0.3) 55%, rgba(9, 9, 9, 0.95) 100%), url('../img/banner/hero-banner.jpg') !important;
        background-size: auto 300vh !important;
        background-position: center 62% !important;
    }

    .stats-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 24px 16px;
    }

    .stat-divider {
        display: none;
    }

    .gallery-3d-container {
        height: 350px;
    }

    .gallery-arrow-3d {
        width: 36px;
        height: 36px;
    }

    .gallery-arrow-3d.prev { left: 10px; }
    .gallery-arrow-3d.next { right: 10px; }

    .slide-3d {
        width: 180px;
        height: 250px;
        margin-left: -90px;
        margin-top: -125px;
    }

    .slide-3d.prev-slide { transform: translate3d(-110px, 0, 60px) rotateY(20deg) scale(0.85); }
    .slide-3d.next-slide { transform: translate3d(110px, 0, 60px) rotateY(-20deg) scale(0.85); }
    .slide-3d.far-prev-slide { transform: translate3d(-200px, 0, 0px) rotateY(30deg) scale(0.7); }
    .slide-3d.far-next-slide { transform: translate3d(200px, 0, 0px) rotateY(-30deg) scale(0.7); }

    .slide-content-overlay {
        padding: 12px;
    }

    .slide-content-overlay h3 {
        font-size: 12px;
    }

    .slide-content-overlay p {
        display: none;
    }

    .photo-day-section {
        padding: 60px 20px;
        min-height: 60vh;
    }

    .photo-day-container {
        max-width: 100%;
    }

    .photo-day-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .photo-day-map-preview {
        width: min(100%, 440px);
    }

    .photo-day-title {
        font-size: 26px;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .video-modal-close {
        right: 0;
        top: -40px;
    }
}

/* ==========================================================================
   SOLICITAR MATERIAL MULTI-STEP MODAL
   ========================================================================== */
.material-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    padding: 20px;
}

.material-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.material-modal-content {
    position: relative;
    width: 100%;
    max-width: 550px;
    background: #121212;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    overflow: hidden;
    animation: modalSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.material-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    color: #888;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 10;
    line-height: 1;
}

.material-modal-close:hover {
    color: var(--accent-yellow);
}

.material-modal-body {
    padding: 40px 32px 32px 32px;
}

/* Steps Indicator */
.material-steps-indicator {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.material-step-dot {
    width: 32px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.material-step-dot.active {
    background: var(--accent-yellow);
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

/* Step Layout */
.material-step {
    display: none;
}

.material-step.active {
    display: block;
    animation: stepFadeIn 0.4s ease-out;
}

@keyframes stepFadeIn {
    from {
        opacity: 0;
        transform: translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.material-step h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.material-step-subtitle {
    font-size: 13px;
    color: #888;
    margin-bottom: 24px;
}

/* Options Grid */
.material-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

@media (max-width: 480px) {
    .material-options-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.material-option-card {
    cursor: pointer;
    position: relative;
}

.material-option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.material-option-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    transition: var(--transition-smooth);
}

.material-option-card:hover .material-option-content {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.material-option-card input:checked + .material-option-content {
    border-color: var(--accent-yellow);
    background: rgba(255, 204, 0, 0.06);
    box-shadow: inset 0 0 12px rgba(255, 204, 0, 0.1), 0 4px 20px rgba(255, 204, 0, 0.05);
}

.material-option-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.full-width-options .material-option-icon {
    margin-bottom: 0;
    width: 42px;
    height: 42px;
}

.modal-svg-icon {
    width: 22px;
    height: 22px;
    transition: var(--transition-smooth);
}

.modal-svg-icon-large {
    width: 48px;
    height: 48px;
    stroke: var(--accent-yellow);
    filter: drop-shadow(0 0 8px rgba(255, 204, 0, 0.4));
}

/* Theme-aligned custom colors for SVGs to replace generic emojis */
.icon-bible { color: var(--accent-gold); }
.icon-teacher { color: #4fc3f7; }
.icon-student { color: #b39ddb; }
.icon-compass { color: #ffb74d; }

.icon-map { color: var(--accent-gold); }
.icon-route { color: var(--accent-orange); }
.icon-archaeology { color: #d4a373; }
.icon-library { color: var(--accent-yellow); }

.icon-whatsapp { color: #25d366; }
.icon-email { color: #4fc3f7; }
.icon-group { color: #4db6ac; }

/* SVG transitions */
.material-option-icon svg {
    stroke: currentColor;
    opacity: 0.65;
    transition: var(--transition-smooth);
}

.material-option-icon.icon-whatsapp svg {
    fill: currentColor;
    stroke: none;
    opacity: 0.75;
}

/* Hover and checked states */
.material-option-card:hover .material-option-icon {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.material-option-card:hover .material-option-icon svg {
    opacity: 1;
    transform: scale(1.08);
}

.material-option-card input:checked + .material-option-content .material-option-icon {
    background: rgba(255, 204, 0, 0.12);
    border-color: var(--accent-yellow);
    box-shadow: 0 0 12px rgba(255, 204, 0, 0.15);
}

.material-option-card input:checked + .material-option-content .material-option-icon svg {
    opacity: 1;
    transform: scale(1.1);
    stroke: var(--accent-yellow) !important;
}

.material-option-card input:checked + .material-option-content .material-option-icon.icon-whatsapp svg {
    fill: var(--accent-yellow) !important;
    stroke: none !important;
}

.material-option-title {
    font-size: 13px;
    font-weight: 600;
    color: #ccc;
    transition: var(--transition-fast);
}

.material-option-card input:checked + .material-option-content .material-option-title {
    color: #fff;
}

/* Full width adjustments for Step 3 */
.full-width-options {
    grid-template-columns: 1fr;
    gap: 12px;
}

.full-width-options .material-option-content {
    flex-direction: row;
    justify-content: flex-start;
    padding: 14px 20px;
    gap: 16px;
}

/* Actions footer */
.material-step-actions {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.material-btn-next,
.material-btn-finish {
    background-color: var(--accent-yellow);
    color: #000;
    border: none;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 24px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.material-btn-next:hover,
.material-btn-finish:hover {
    background-color: #fff;
}

.material-btn-prev {
    background-color: transparent;
    color: #aaa;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 24px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.material-btn-prev:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Success Step */
.material-success-content {
    text-align: center;
    padding: 10px 0;
}

.material-success-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    animation: successPulse 1.5s infinite alternate ease-in-out;
}

@keyframes successPulse {
    from { transform: scale(1); }
    to { transform: scale(1.15); }
}

.material-success-content p {
    font-size: 14px;
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 12px;
}

.material-whatsapp-prompt {
    font-weight: 500;
    color: #ddd !important;
    margin: 20px 0 28px 0 !important;
}

.material-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #25d366;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 16px 32px;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    transition: var(--transition-smooth);
}

.material-whatsapp-btn:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.material-whatsapp-btn svg {
    fill: #fff;
}

/* ==========================================================================
   COURSE DETAILS MODAL
   ========================================================================== */
.course-modal-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    min-height: 100dvh;
    padding: clamp(16px, 3vw, 42px);
    background:
        radial-gradient(circle at 18% 18%, rgba(229, 179, 88, 0.08), transparent 34%),
        rgba(5, 5, 4, 0.92);
    backdrop-filter: blur(18px) saturate(0.85);
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.course-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.course-modal-content {
    position: relative;
    width: min(1220px, 100%);
    height: min(88dvh, 820px);
    min-height: 620px;
    background: #0d0d0c;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.72),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: courseModalSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes courseModalSlideIn {
    from {
        transform: translateY(22px) scale(0.985);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.course-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    background: rgba(9, 9, 8, 0.66);
    color: #fff;
    backdrop-filter: blur(10px);
    z-index: 20;
    display: grid;
    place-items: center;
    transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.course-modal-close svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.course-modal-close:hover {
    transform: rotate(4deg);
    background: var(--accent-yellow);
    color: #0a0a09;
    border-color: var(--accent-yellow);
}

.course-modal-close:focus-visible,
.course-checkout-btn:focus-visible {
    outline: 3px solid rgba(var(--accent-yellow-rgb), 0.42);
    outline-offset: 3px;
}

.course-modal-body {
    flex: 1;
    min-height: 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(390px, 0.92fr) minmax(0, 1.28fr);
    overflow: hidden;
}

.course-modal-visual {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #15130f;
    isolation: isolate;
}

.course-modal-cover {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transform: scale(1.01);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.course-modal-overlay.active .course-modal-cover {
    transform: scale(1.04);
}

.course-modal-cover-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(4, 4, 3, 0.08) 22%, rgba(4, 4, 3, 0.5) 62%, rgba(4, 4, 3, 0.96) 100%),
        linear-gradient(90deg, transparent 72%, rgba(4, 4, 3, 0.2));
    pointer-events: none;
}

.course-modal-cover-copy {
    position: absolute;
    z-index: 2;
    left: clamp(28px, 3vw, 46px);
    right: clamp(28px, 3vw, 46px);
    bottom: clamp(30px, 4vh, 48px);
}

.course-modal-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    color: var(--accent-yellow);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.course-modal-eyebrow::before {
    content: '';
    width: 22px;
    height: 2px;
    background: currentColor;
}

.course-modal-title {
    max-width: 11ch;
    color: #fff;
    font-size: clamp(31px, 3.2vw, 46px);
    font-weight: 850;
    letter-spacing: -0.045em;
    line-height: 0.98;
    text-wrap: balance;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.48);
}

.course-modal-cover-sub {
    max-width: 34ch;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-wrap: pretty;
}

.course-modal-details {
    min-width: 0;
    overflow-y: auto;
    padding: 58px clamp(36px, 4.3vw, 66px) 64px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}

.course-modal-details::-webkit-scrollbar {
    width: 6px;
}

.course-modal-details::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
}

.course-modal-long-desc {
    max-width: 62ch;
    padding-bottom: 30px;
    color: #c8c6c0;
    font-size: 15px;
    line-height: 1.75;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.course-modal-long-desc p {
    margin: 0;
}

.course-modal-long-desc p + p {
    margin-top: 14px;
}

.course-modal-section {
    margin-top: 34px;
}

.course-modal-section-heading {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 14px;
}

.course-modal-section-index {
    color: var(--accent-yellow);
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    font-variant-numeric: tabular-nums;
}

.course-modal-section-heading h3 {
    color: #f6f4ee;
    font-size: 17px;
    font-weight: 750;
    letter-spacing: -0.025em;
    text-transform: none;
}

.course-modal-benefits {
    display: flex;
    flex-direction: column;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 0;
    color: #e1dfd9;
    font-size: 13.5px;
    line-height: 1.45;
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.benefit-item:last-child {
    border-bottom: 0;
}

.benefit-check {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    margin-top: -2px;
    border: 1px solid rgba(var(--accent-yellow-rgb), 0.42);
    border-radius: 50%;
    color: var(--accent-yellow);
    background: rgba(var(--accent-yellow-rgb), 0.07);
}

.benefit-check svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.course-modal-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.spec-item {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 13px;
    color: #c8c6c0;
    font-size: 12px;
    line-height: 1.45;
    background: #141412;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
}

.spec-icon {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    color: var(--accent-yellow);
    background: rgba(var(--accent-yellow-rgb), 0.08);
    border-radius: 7px;
}

.spec-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.spec-text {
    padding-top: 5px;
    text-wrap: pretty;
}

.course-modal-footer {
    position: relative;
    z-index: 4;
    min-height: 78px;
    padding: 15px 24px 15px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: rgba(10, 10, 9, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 -16px 34px rgba(0, 0, 0, 0.24);
}

.footer-price-info {
    display: flex;
    flex-direction: column;
}

.price-label {
    max-width: 44ch;
    color: #a8a69f;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1.5;
    text-transform: uppercase;
}

.course-checkout-btn {
    min-height: 48px;
    padding: 14px 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid var(--accent-yellow);
    border-radius: 5px;
    background: var(--accent-yellow);
    color: #0a0a09;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.055em;
    line-height: 1;
    box-shadow: 0 10px 28px rgba(var(--accent-yellow-rgb), 0.15);
    transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.course-checkout-btn:hover {
    transform: translateY(-2px);
    background: #fff;
    color: #080808;
    border-color: #fff;
    box-shadow: 0 14px 32px rgba(255, 255, 255, 0.13);
}

.course-checkout-btn:active {
    transform: translateY(0) scale(0.985);
}

.course-checkout-btn svg {
    flex: 0 0 auto;
    transition: transform 0.22s ease;
}

.course-checkout-btn:hover svg {
    transform: translateX(4px);
}

@media (max-width: 980px) {
    .course-modal-content {
        width: min(940px, 100%);
    }

    .course-modal-body {
        grid-template-columns: minmax(310px, 0.82fr) minmax(0, 1.18fr);
    }

    .course-modal-details {
        padding: 52px 34px 54px;
    }

    .course-modal-specs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .course-modal-overlay {
        padding: 8px;
        align-items: center;
    }

    .course-modal-content {
        width: 100%;
        height: calc(100dvh - 16px);
        min-height: 0;
        border-radius: 12px;
    }

    .course-modal-body {
        display: block;
        overflow-y: auto;
    }

    .course-modal-visual {
        height: min(54vh, 430px);
        min-height: 340px;
    }

    .course-modal-cover-shade {
        background: linear-gradient(180deg, rgba(4, 4, 3, 0.05) 18%, rgba(4, 4, 3, 0.88) 100%);
    }

    .course-modal-cover-copy {
        left: 24px;
        right: 58px;
        bottom: 26px;
    }

    .course-modal-title {
        max-width: 13ch;
        font-size: clamp(28px, 9vw, 38px);
    }

    .course-modal-cover-sub {
        margin-top: 12px;
        font-size: 13px;
    }

    .course-modal-details {
        overflow: visible;
        padding: 32px 22px 42px;
    }

    .course-modal-long-desc {
        font-size: 14px;
        line-height: 1.7;
    }

    .course-modal-section {
        margin-top: 30px;
    }

    .course-modal-footer {
        min-height: auto;
        padding: 12px;
    }

    .footer-price-info {
        display: none;
    }

    .course-checkout-btn {
        width: 100%;
        min-height: 50px;
    }
}

@media (max-width: 420px) {
    .course-modal-specs-grid {
        grid-template-columns: 1fr;
    }

    .course-modal-close {
        right: 14px;
        top: 14px;
    }
}

@media (max-height: 690px) and (min-width: 721px) {
    .course-modal-content {
        height: calc(100dvh - 24px);
        min-height: 0;
    }

    .course-modal-details {
        padding-top: 42px;
        padding-bottom: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .course-modal-content,
    .course-modal-cover {
        animation: none;
        transition: none;
    }
}

/* ==========================================================================
   FORMAÇÃO EM GEOGRAFIA BÍBLICA — CINEMATIC MODAL
   ========================================================================== */
.formation-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    min-height: 100dvh;
    place-items: center;
    padding: clamp(12px, 2.3vw, 34px);
    background:
        radial-gradient(circle at 14% 18%, rgba(205, 155, 68, 0.13), transparent 32%),
        radial-gradient(circle at 88% 86%, rgba(255, 204, 0, 0.06), transparent 30%),
        rgba(3, 4, 3, 0.95);
    backdrop-filter: blur(22px) saturate(0.78);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.38s ease, visibility 0.38s ease;
}

.formation-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.formation-modal-shell {
    --formation-progress: 0%;
    position: relative;
    width: min(1440px, 100%);
    height: min(92dvh, 900px);
    min-height: 680px;
    display: grid;
    grid-template-columns: minmax(390px, 0.84fr) minmax(640px, 1.36fr);
    overflow: hidden;
    background: #0c0d0c;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 12px;
    box-shadow:
        0 54px 130px rgba(0, 0, 0, 0.78),
        0 0 0 1px rgba(var(--accent-yellow-rgb), 0.025) inset,
        0 1px 0 rgba(255, 255, 255, 0.045) inset;
    opacity: 0;
    transform: translateY(26px) scale(0.985);
    transition: opacity 0.42s ease, transform 0.52s cubic-bezier(0.16, 1, 0.3, 1);
}

.formation-modal-overlay.active .formation-modal-shell {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.formation-modal-close {
    position: absolute;
    z-index: 20;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(8, 9, 8, 0.64);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    backdrop-filter: blur(14px);
    transition: color 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.formation-modal-close svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.formation-modal-close:hover {
    color: #0a0a08;
    background: var(--accent-yellow);
    border-color: var(--accent-yellow);
    transform: rotate(5deg);
}

.formation-modal-close:focus-visible,
.formation-modal-tab:focus-visible,
.formation-module-jump:focus-visible {
    outline: 3px solid rgba(var(--accent-yellow-rgb), 0.46);
    outline-offset: 3px;
}

.formation-modal-visual {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #17150f;
    isolation: isolate;
}

.formation-modal-visual > img {
    position: absolute;
    z-index: -3;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.72) contrast(1.05);
    transform: scale(1.035);
    transition: opacity 0.2s ease, transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s ease;
}

.formation-modal-overlay.active .formation-modal-visual > img {
    filter: saturate(0.86) contrast(1.06);
    transform: scale(1.075);
}

.formation-modal-visual > img.is-switching {
    opacity: 0;
    transform: scale(1.1);
}

.formation-modal-visual-shade {
    position: absolute;
    z-index: -2;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(4, 5, 4, 0.17) 0%, rgba(4, 5, 4, 0.2) 34%, rgba(4, 5, 4, 0.92) 86%, rgba(4, 5, 4, 0.98) 100%),
        linear-gradient(90deg, rgba(4, 5, 4, 0.16), transparent 74%);
}

.formation-modal-visual-grid {
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: 0.15;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 68px 68px;
    mask-image: linear-gradient(180deg, transparent 4%, #000 44%, #000 100%);
    pointer-events: none;
}

.formation-modal-visual-top {
    position: absolute;
    top: 28px;
    right: 30px;
    left: 30px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.formation-modal-visual-top span:last-child {
    color: var(--accent-yellow);
    font-variant-numeric: tabular-nums;
}

.formation-modal-visual-copy {
    position: absolute;
    right: clamp(30px, 4vw, 56px);
    bottom: clamp(54px, 7vh, 84px);
    left: clamp(30px, 4vw, 56px);
}

.formation-modal-visual-kicker {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 17px;
    color: var(--accent-yellow);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.formation-modal-visual-kicker::before {
    content: '';
    width: 26px;
    height: 2px;
    background: currentColor;
}

.formation-modal-visual-copy h2 {
    max-width: 10ch;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(38px, 4.2vw, 61px);
    font-weight: 850;
    letter-spacing: -0.055em;
    line-height: 0.94;
    text-wrap: balance;
    text-shadow: 0 8px 32px rgba(0, 0, 0, 0.54);
}

.formation-modal-visual-copy p {
    max-width: 38ch;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
    text-wrap: pretty;
}

.formation-modal-progress {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
}

.formation-modal-progress span {
    display: block;
    width: var(--formation-progress);
    height: 100%;
    background: var(--accent-yellow);
    box-shadow: 0 0 18px rgba(var(--accent-yellow-rgb), 0.52);
    transition: width 0.46s cubic-bezier(0.16, 1, 0.3, 1);
}

.formation-modal-interface {
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    background:
        radial-gradient(circle at 94% 0%, rgba(var(--accent-yellow-rgb), 0.035), transparent 30%),
        #0d0e0d;
}

.formation-modal-header {
    min-height: 76px;
    padding: 19px 72px 18px 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.formation-modal-header > div {
    display: grid;
    gap: 3px;
}

.formation-modal-header span,
.formation-modal-header strong {
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.13em;
    line-height: 1.45;
    text-transform: uppercase;
}

.formation-modal-header span {
    color: var(--accent-yellow);
}

.formation-modal-header strong {
    color: rgba(255, 255, 255, 0.64);
}

.formation-modal-header .formation-modal-count {
    color: rgba(255, 255, 255, 0.42);
    white-space: nowrap;
}

.formation-modal-tabs {
    display: grid;
    grid-template-columns: minmax(92px, 1.45fr) repeat(8, minmax(48px, 1fr));
    min-width: 0;
    padding: 0 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.formation-modal-tab {
    position: relative;
    min-width: 0;
    min-height: 58px;
    padding: 0 8px;
    color: rgba(255, 255, 255, 0.36);
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    font-variant-numeric: tabular-nums;
    text-transform: uppercase;
    transition: color 0.22s ease, background-color 0.22s ease;
}

.formation-modal-tab:first-child {
    text-align: left;
}

.formation-modal-tab::after {
    content: '';
    position: absolute;
    right: 8px;
    bottom: -1px;
    left: 8px;
    height: 2px;
    background: var(--accent-yellow);
    opacity: 0;
    transform: scaleX(0.35);
    transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.formation-modal-tab:hover {
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.025);
}

.formation-modal-tab[aria-selected="true"] {
    color: var(--accent-yellow);
}

.formation-modal-tab[aria-selected="true"]::after {
    opacity: 1;
    transform: scaleX(1);
}

.formation-modal-scroll {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: clamp(32px, 4.5vw, 58px) clamp(34px, 5vw, 68px) 62px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}

.formation-modal-scroll::-webkit-scrollbar {
    width: 6px;
}

.formation-modal-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.16);
    border-radius: 5px;
}

.formation-modal-panel {
    max-width: 860px;
    margin: 0 auto;
    outline: none;
}

.formation-modal-panel.is-entering {
    animation: formationPanelIn 0.44s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes formationPanelIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.formation-panel-eyebrow {
    display: block;
    margin-bottom: 15px;
    color: var(--accent-yellow);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.formation-overview > h3,
.formation-module-heading > h3 {
    max-width: 15ch;
    color: #f5f3ed;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(31px, 3.2vw, 48px);
    font-weight: 820;
    letter-spacing: -0.045em;
    line-height: 1.02;
    text-wrap: balance;
}

.formation-panel-lead,
.formation-module-heading > p {
    max-width: 64ch;
    margin-top: 20px;
    color: #aaa9a3;
    font-size: 14px;
    line-height: 1.72;
    text-wrap: pretty;
}

.formation-overview-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 34px;
    border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.formation-overview-metrics div {
    padding: 20px 20px 20px 0;
}

.formation-overview-metrics div + div {
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.formation-overview-metrics strong {
    display: block;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.formation-overview-metrics span {
    display: block;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.46);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.formation-directory-heading {
    margin: 38px 0 14px;
    color: rgba(255, 255, 255, 0.64);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.formation-module-directory {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.formation-module-jump {
    position: relative;
    min-width: 0;
    min-height: 76px;
    padding: 14px 42px 14px 15px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    color: #e7e5de;
    text-align: left;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.075);
    transition: color 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.formation-module-jump:hover {
    color: #fff;
    background: rgba(var(--accent-yellow-rgb), 0.055);
    border-color: rgba(var(--accent-yellow-rgb), 0.25);
    transform: translateY(-2px);
}

.formation-module-jump-number {
    color: var(--accent-yellow);
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.08em;
    font-variant-numeric: tabular-nums;
}

.formation-module-jump-copy {
    min-width: 0;
}

.formation-module-jump-copy strong {
    display: block;
    overflow: hidden;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.formation-module-jump-copy span {
    display: block;
    margin-top: 3px;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.38);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.formation-module-jump > svg {
    position: absolute;
    right: 15px;
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.46;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.formation-module-jump:hover > svg {
    opacity: 1;
    transform: translateX(3px);
}

.formation-module-heading {
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.formation-module-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
    gap: clamp(28px, 4vw, 52px);
    align-items: start;
    margin-top: 34px;
}

.formation-module-syllabus > h4,
.formation-module-outcome > span {
    display: block;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.formation-module-topics {
    counter-reset: formation-topic;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.formation-module-topic {
    counter-increment: formation-topic;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
    padding: 13px 0;
    color: #e0ded7;
    font-size: 13px;
    line-height: 1.45;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.formation-module-topic::before {
    content: counter(formation-topic, decimal-leading-zero);
    color: var(--accent-yellow);
    font-family: 'Montserrat', sans-serif;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    font-variant-numeric: tabular-nums;
}

.formation-module-outcome {
    position: relative;
    padding: 24px;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(var(--accent-yellow-rgb), 0.08), rgba(var(--accent-yellow-rgb), 0.015)),
        #151612;
    border: 1px solid rgba(var(--accent-yellow-rgb), 0.18);
}

.formation-module-outcome::after {
    content: attr(data-module-number);
    position: absolute;
    right: -4px;
    bottom: -23px;
    color: rgba(var(--accent-yellow-rgb), 0.055);
    font-family: 'Montserrat', sans-serif;
    font-size: 104px;
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
}

.formation-module-outcome strong {
    position: relative;
    z-index: 1;
    display: block;
    color: #f0eee7;
    font-size: 17px;
    font-weight: 750;
    letter-spacing: -0.025em;
    line-height: 1.35;
    text-wrap: balance;
}

.formation-module-outcome p {
    position: relative;
    z-index: 1;
    margin-top: 11px;
    color: #9f9e98;
    font-size: 12px;
    line-height: 1.65;
    text-wrap: pretty;
}

@media (max-width: 1120px) {
    .formation-modal-shell {
        grid-template-columns: minmax(330px, 0.74fr) minmax(0, 1.26fr);
    }

    .formation-modal-header {
        padding-left: 26px;
    }

    .formation-modal-tabs {
        padding-inline: 20px;
    }

    .formation-modal-scroll {
        padding-inline: 38px;
    }

    .formation-module-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 780px) {
    .formation-modal-overlay {
        padding: 7px;
    }

    .formation-modal-shell {
        width: 100%;
        height: calc(100dvh - 14px);
        min-height: 0;
        display: flex;
        flex-direction: column;
        border-radius: 10px;
    }

    .formation-modal-close {
        top: 14px;
        right: 14px;
    }

    .formation-modal-visual {
        flex: 0 0 min(35dvh, 320px);
        min-height: 245px;
    }

    .formation-modal-visual-top {
        top: 20px;
        right: 68px;
        left: 22px;
    }

    .formation-modal-visual-copy {
        right: 22px;
        bottom: 30px;
        left: 22px;
    }

    .formation-modal-visual-copy h2 {
        max-width: 14ch;
        font-size: clamp(30px, 8.5vw, 43px);
    }

    .formation-modal-visual-copy p {
        max-width: 46ch;
        margin-top: 12px;
        font-size: 12px;
    }

    .formation-modal-interface {
        flex: 1 1 auto;
        min-height: 0;
    }

    .formation-modal-header {
        min-height: 58px;
        padding: 12px 20px;
    }

    .formation-modal-tabs {
        display: flex;
        min-width: 0;
        padding: 0 14px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .formation-modal-tabs::-webkit-scrollbar {
        display: none;
    }

    .formation-modal-tab {
        flex: 0 0 54px;
        min-height: 52px;
    }

    .formation-modal-tab:first-child {
        flex-basis: 94px;
    }

    .formation-modal-scroll {
        padding: 28px 22px 42px;
    }

    .formation-overview > h3,
    .formation-module-heading > h3 {
        font-size: clamp(29px, 8vw, 39px);
    }

}

@media (max-width: 540px) {
    .formation-feature-open {
        width: 100%;
    }

    .formation-modal-visual {
        flex-basis: 29dvh;
        min-height: 220px;
    }

    .formation-modal-visual-top span:last-child,
    .formation-modal-visual-copy p,
    .formation-modal-header .formation-modal-count {
        display: none;
    }

    .formation-modal-visual-copy h2 {
        max-width: 12ch;
        font-size: clamp(28px, 8.8vw, 36px);
    }

    .formation-modal-visual-kicker {
        margin-bottom: 10px;
    }

    .formation-modal-header {
        padding-right: 64px;
    }

    .formation-modal-header strong {
        font-size: 8px;
    }

    .formation-module-directory,
    .formation-overview-metrics {
        grid-template-columns: 1fr;
    }

    .formation-overview-metrics div {
        padding: 14px 0;
    }

    .formation-overview-metrics div + div {
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        border-left: 0;
    }

    .formation-module-jump-copy strong,
    .formation-module-jump-copy span {
        white-space: normal;
    }

}

@media (max-height: 720px) and (min-width: 781px) {
    .formation-modal-shell {
        height: calc(100dvh - 18px);
        min-height: 0;
    }

    .formation-modal-visual-copy {
        bottom: 50px;
    }

    .formation-modal-header {
        min-height: 64px;
        padding-block: 12px;
    }

    .formation-modal-tab {
        min-height: 50px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .formation-modal-shell,
    .formation-modal-visual > img,
    .formation-modal-panel,
    .formation-feature-image {
        animation: none;
        transition: none;
    }
}
/* ==========================================================================
   FOUNDER SECTION (Eduardo Hoffmann Profile)
   ========================================================================== */
.founder-section {
    background-color: var(--bg-dark-cinematic);
    padding: 100px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.founder-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: center;
}

.founder-image-wrapper {
    position: relative;
    border-left: 4px solid var(--accent-yellow);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    background: #000;
}

.founder-image-wrapper::after {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-yellow);
    z-index: -1;
    transition: var(--transition-smooth);
}

.founder-image-wrapper:hover::after {
    top: 12px;
    left: -12px;
}

.founder-img {
    width: 100%;
    height: clamp(520px, 56vw, 680px);
    object-fit: cover;
    object-position: center top;
    display: block;
    filter: brightness(0.95) contrast(1.05);
    transition: var(--transition-smooth);
}

.founder-image-wrapper:hover .founder-img {
    filter: brightness(1.02) contrast(1.05);
}

.founder-image-caption {
    background: rgba(10, 10, 10, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--accent-gold);
    padding: 14px 20px;
    font-family: 'Montserrat', sans-serif;
    display: grid;
    gap: 5px;
    text-align: left;
}

.founder-image-caption strong {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.founder-image-caption span {
    color: #aaa69d;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0.055em;
    line-height: 1.45;
    text-transform: uppercase;
}

.founder-content {
    display: flex;
    flex-direction: column;
}

.founder-tag {
    color: var(--accent-yellow);
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.founder-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.25;
    color: #fff;
    margin-bottom: 20px;
}

.founder-quote {
    font-style: italic;
    color: var(--accent-gold);
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 30px;
    border-left: 3px solid var(--accent-yellow);
    padding-left: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.founder-text,
.founder-footer-text {
    color: #bbb;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.founder-text strong {
    color: #fff;
}

.founder-more-button {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
    padding: 14px 19px;
    background: var(--accent-yellow);
    color: #090909;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.founder-more-button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.founder-more-button:hover {
    background: #fff;
    transform: translateY(-2px);
}

.founder-more-button:focus-visible,
.founder-modal-close:focus-visible {
    outline: 3px solid rgba(var(--accent-yellow-rgb), 0.5);
    outline-offset: 4px;
}

.founder-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 0;
}

.highlight-item h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.highlight-item h4::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--accent-yellow);
    border-radius: 50%;
}

.highlight-item p {
    color: #999;
    font-size: 14px;
    line-height: 1.6;
}

/* Founder Responsive */
@media (max-width: 992px) {
    .founder-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .founder-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .founder-section {
        padding: 60px 15px;
    }
    .founder-title {
        font-size: 28px;
    }
    .founder-img {
        height: clamp(500px, 137vw, 650px);
    }
    .founder-highlights {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 20px 0;
        padding: 20px 0;
    }
}

/* Founder story dialog */
body.founder-modal-open {
    overflow: hidden;
}

.founder-modal {
    width: min(1080px, calc(100% - 32px));
    max-width: none;
    max-height: min(90dvh, 900px);
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0c0c0b;
    color: #f6f3ea;
    box-shadow: 0 42px 110px rgba(0, 0, 0, 0.72);
}

.founder-modal::backdrop {
    background: rgba(4, 4, 3, 0.9);
    backdrop-filter: blur(14px) saturate(0.8);
}

.founder-modal[open] {
    animation: founderModalIn 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes founderModalIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.founder-modal-shell {
    position: relative;
    max-height: min(90dvh, 900px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.founder-modal-close {
    position: sticky;
    top: 20px;
    z-index: 5;
    display: grid;
    width: 42px;
    height: 42px;
    margin: 20px 20px -62px auto;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(12, 12, 11, 0.82);
    color: #fff;
    backdrop-filter: blur(10px);
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.founder-modal-close svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.founder-modal-close:hover {
    background: var(--accent-yellow);
    color: #090909;
    transform: rotate(4deg);
}

.founder-modal-header {
    padding: clamp(54px, 7vw, 88px) clamp(28px, 7vw, 82px) clamp(42px, 6vw, 70px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    background:
        linear-gradient(90deg, rgba(var(--accent-yellow-rgb), 0.08), transparent 34%),
        #10100f;
}

.founder-modal-index {
    color: var(--accent-yellow);
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.founder-modal-header h2 {
    max-width: 14ch;
    margin-top: 20px;
    font-size: clamp(38px, 6vw, 70px);
    font-weight: 870;
    letter-spacing: -0.055em;
    line-height: 0.96;
    text-wrap: balance;
}

.founder-modal-header p {
    max-width: 760px;
    margin-top: 26px;
    padding-left: 18px;
    border-left: 3px solid var(--accent-yellow);
    color: #d9b96b;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(15px, 1.8vw, 19px);
    font-weight: 550;
    line-height: 1.55;
}

.founder-modal-body {
    padding: clamp(42px, 7vw, 82px);
}

.founder-modal-story {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 24px;
}

.founder-modal-section-number,
.founder-modal-principles section > span {
    color: var(--accent-yellow);
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.12em;
}

.founder-modal-story h3,
.founder-modal-principles h3 {
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.founder-modal-story p {
    max-width: 82ch;
    margin-top: 20px;
    color: #bbb7ae;
    font-size: 15px;
    line-height: 1.78;
}

.founder-modal-principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: clamp(48px, 7vw, 78px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.founder-modal-principles section {
    padding: 30px 28px 34px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.founder-modal-principles section:first-child {
    padding-left: 0;
}

.founder-modal-principles section:last-child {
    padding-right: 0;
    border-right: 0;
}

.founder-modal-principles h3 {
    margin-top: 18px;
}

.founder-modal-principles p {
    margin-top: 14px;
    color: #9f9b92;
    font-size: 13px;
    line-height: 1.7;
}

@media (max-width: 760px) {
    .founder-modal {
        width: calc(100% - 18px);
        max-height: 94dvh;
    }

    .founder-modal-shell {
        max-height: 94dvh;
    }

    .founder-modal-close {
        top: 12px;
        margin: 12px 12px -54px auto;
    }

    .founder-modal-header h2 {
        max-width: 13ch;
        font-size: clamp(35px, 11vw, 52px);
    }

    .founder-modal-story {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .founder-modal-principles {
        grid-template-columns: 1fr;
    }

    .founder-modal-principles section,
    .founder-modal-principles section:first-child,
    .founder-modal-principles section:last-child {
        padding: 26px 0;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .founder-modal-principles section:last-child {
        border-bottom: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .founder-modal[open] {
        animation: none;
    }
}

/* ==========================================================================
   SPLASH SCREEN LOADER
   ========================================================================== */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #090909;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
                visibility 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.splash-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.splash-logo-container {
    position: relative;
    padding: 20px 40px;
    margin-bottom: 30px;
    animation: splashPulse 2s infinite ease-in-out;
}

.splash-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent-yellow);
    z-index: 1;
    animation: drawFrame 1.5s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.splash-logo {
    position: relative;
    z-index: 2;
    max-width: 280px;
    height: auto;
    display: block;
}

.splash-loader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 15px;
}

.splash-loader-progress {
    height: 100%;
    width: 0%;
    background: var(--accent-yellow);
    box-shadow: 0 0 8px rgba(255, 204, 0, 0.8);
    animation: fillLoader 1.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.splash-tagline {
    color: var(--text-muted);
    font-size: 11px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInText 1s ease 1s forwards;
    opacity: 0;
}

/* Splash Animations */
@keyframes splashPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes drawFrame {
    0% {
        clip-path: polygon(0 0, 0 0, 0 0, 0 0);
    }
    30% {
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }
    60% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 100% 100%);
    }
    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

@keyframes fillLoader {
    0% { width: 0%; }
    10% { width: 15%; }
    40% { width: 55%; }
    70% { width: 85%; }
    100% { width: 100%; }
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transition: opacity 1.0s cubic-bezier(0.25, 1, 0.5, 1),
                    transform 1.0s cubic-bezier(0.25, 1, 0.5, 1);
        will-change: transform, opacity;
    }

    /* Directional offsets before reveal */
    .scroll-reveal.reveal-up {
        transform: translateY(40px);
    }
    .scroll-reveal.reveal-down {
        transform: translateY(-40px);
    }
    .scroll-reveal.reveal-left {
        transform: translateX(-40px);
    }
    .scroll-reveal.reveal-right {
        transform: translateX(40px);
    }
    .scroll-reveal.reveal-scale {
        transform: scale(0.95);
        opacity: 0;
    }

    /* State when revealed */
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }

    /* Animation Delays for staggered entrance effects */
    .delay-100 { transition-delay: 100ms; }
    .delay-200 { transition-delay: 200ms; }
    .delay-300 { transition-delay: 300ms; }
    .delay-400 { transition-delay: 400ms; }
    .delay-500 { transition-delay: 500ms; }
    .delay-600 { transition-delay: 600ms; }
    .delay-700 { transition-delay: 700ms; }
    .delay-800 { transition-delay: 800ms; }
    .delay-900 { transition-delay: 900ms; }
    .delay-1000 { transition-delay: 1000ms; }
}

/* ==========================================================================
   LOJA E BLOG — TRILHOS DE CONTEÚDO HORIZONTAIS
   ========================================================================== */
.skip-link {
    position: fixed;
    top: 10px;
    left: 12px;
    z-index: 10000;
    padding: 11px 16px;
    background: var(--accent-yellow);
    color: #090909;
    font-size: 13px;
    font-weight: 800;
    transform: translateY(-150%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
    outline: 3px solid #fff;
    outline-offset: 3px;
}

body.content-modal-open {
    overflow: hidden;
}

.content-rail-section {
    position: relative;
    width: 100%;
    padding: clamp(88px, 10vw, 144px) 0 clamp(104px, 11vw, 164px);
    overflow: hidden;
    scroll-margin-top: 68px;
    isolation: isolate;
}

.store-rail-section {
    background:
        radial-gradient(circle at 82% 12%, rgba(var(--accent-yellow-rgb), 0.065), transparent 28%),
        linear-gradient(180deg, #0b0c0c 0%, #101212 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.store-rail-section::before {
    content: 'ACERVO';
    position: absolute;
    top: 6%;
    right: -0.05em;
    z-index: -1;
    color: rgba(255, 255, 255, 0.024);
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(90px, 17vw, 260px);
    font-weight: 900;
    letter-spacing: -0.08em;
    line-height: 0.8;
    pointer-events: none;
}

.blog-rail-section {
    background:
        radial-gradient(circle at 18% 0%, rgba(229, 179, 88, 0.07), transparent 31%),
        #0b0b0a;
    border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.content-rail-header,
.content-horizontal-rail,
.content-load-status {
    width: min(1240px, calc(100% - 48px));
    margin-inline: auto;
}

.content-rail-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 48px;
    margin-bottom: 52px;
}

.content-rail-heading {
    max-width: 900px;
}

.content-section-index,
.content-modal-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--accent-yellow);
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.content-section-index::before,
.content-modal-kicker::before {
    content: '';
    width: 28px;
    height: 2px;
    background: currentColor;
}

.content-rail-heading h2 {
    max-width: 14ch;
    margin-top: 20px;
    color: #f4f2ec;
    font-size: clamp(38px, 5vw, 70px);
    font-weight: 850;
    letter-spacing: -0.052em;
    line-height: 0.98;
    text-wrap: balance;
}

.content-rail-heading p {
    max-width: 64ch;
    margin-top: 24px;
    color: #aaa8a1;
    font-size: clamp(15px, 1.35vw, 18px);
    line-height: 1.75;
    text-wrap: pretty;
}

.content-rail-actions {
    display: flex;
    gap: 8px;
    padding-bottom: 4px;
}

.content-rail-arrow {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #f5f3ec;
    background: rgba(255, 255, 255, 0.025);
    transition: transform 0.22s ease, color 0.22s ease, background 0.22s ease, border-color 0.22s ease, opacity 0.22s ease;
}

.content-rail-arrow svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.content-rail-arrow:hover:not(:disabled) {
    transform: translateY(-2px);
    color: #090909;
    background: var(--accent-yellow);
    border-color: var(--accent-yellow);
}

.content-rail-arrow:active:not(:disabled) {
    transform: translateY(0) scale(0.97);
}

.content-rail-arrow:disabled {
    opacity: 0.28;
    cursor: default;
}

.content-rail-arrow:focus-visible,
.store-product-trigger:focus-visible,
.blog-post-trigger:focus-visible,
.content-modal-close:focus-visible,
.commerce-buy-button:focus-visible,
.commerce-quantity-field input:focus-visible {
    outline: 3px solid rgba(var(--accent-yellow-rgb), 0.55);
    outline-offset: 4px;
}

.content-horizontal-rail {
    display: grid;
    grid-auto-flow: column;
    gap: 22px;
    padding: 4px 0 26px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scroll-padding-inline: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.22) rgba(255, 255, 255, 0.05);
}

.store-products-rail {
    grid-auto-columns: minmax(320px, 36%);
}

.blog-posts-rail {
    grid-auto-columns: minmax(700px, 86%);
}

.content-horizontal-rail::-webkit-scrollbar {
    height: 7px;
}

.content-horizontal-rail::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.045);
}

.content-horizontal-rail::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.22);
}

.content-load-status {
    min-height: 24px;
    margin-top: 14px;
    color: #aaa8a1;
    font-size: 14px;
}

.content-card-skeleton {
    min-height: 560px;
    overflow: hidden;
    background: #171918;
    border: 1px solid rgba(255, 255, 255, 0.055);
    scroll-snap-align: start;
}

.content-card-skeleton::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, 0.055) 48%, transparent 62%);
    transform: translateX(-100%);
    animation: contentSkeleton 1.5s infinite;
}

.blog-skeleton {
    min-height: 430px;
}

@keyframes contentSkeleton {
    to { transform: translateX(100%); }
}

.store-product-card,
.blog-post-card {
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.store-product-trigger,
.blog-post-trigger {
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
    text-align: left;
    color: #f5f3ed;
    background: #151716;
    border: 1px solid rgba(255, 255, 255, 0.075);
    transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.store-product-trigger:hover,
.blog-post-trigger:hover {
    transform: translateY(-5px);
    background: #191b1a;
    border-color: rgba(255, 255, 255, 0.18);
}

.store-product-media {
    position: relative;
    aspect-ratio: 4 / 5;
    display: block;
    overflow: hidden;
    background: #0c0d0c;
}

.store-product-media img,
.blog-post-media img {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.store-product-media img {
    object-fit: contain;
}

.store-product-trigger:hover .store-product-media img,
.blog-post-trigger:hover .blog-post-media img {
    transform: scale(1.035);
}

.store-product-image-shade,
.blog-post-image-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 56%, rgba(4, 4, 3, 0.62));
    pointer-events: none;
}

.store-product-badge,
.store-product-number {
    position: absolute;
    z-index: 2;
    top: 18px;
    color: #f7f5ef;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.store-product-badge {
    left: 18px;
    padding: 7px 9px;
    background: rgba(8, 8, 7, 0.74);
    border-left: 2px solid var(--accent-yellow);
    backdrop-filter: blur(8px);
}

.store-product-number {
    right: 18px;
    color: rgba(255, 255, 255, 0.72);
    font-variant-numeric: tabular-nums;
}

.store-product-copy {
    min-height: 210px;
    display: flex;
    flex-direction: column;
    padding: 26px 25px 22px;
}

.store-product-title,
.blog-post-title {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
    text-wrap: balance;
}

.store-product-title {
    font-size: clamp(21px, 2vw, 27px);
}

.store-product-subtitle {
    display: block;
    margin-top: 12px;
    color: #a6a59f;
    font-size: 13px;
    line-height: 1.55;
}

.store-product-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 28px;
}

.store-product-availability {
    color: #c5c3bc;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.store-product-action,
.blog-post-action {
    color: var(--accent-yellow);
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.blog-post-trigger {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.8fr);
    min-height: 430px;
}

.blog-post-media {
    position: relative;
    min-height: 100%;
    display: block;
    overflow: hidden;
    background: #111;
}

.blog-post-media img {
    object-fit: cover;
}

.blog-post-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: clamp(34px, 4vw, 58px);
}

.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    color: var(--accent-yellow);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.blog-post-title {
    margin-top: 24px;
    font-size: clamp(28px, 3vw, 44px);
}

.blog-post-subtitle {
    display: block;
    margin-top: 14px;
    color: #d4d1ca;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
}

.blog-post-excerpt {
    display: -webkit-box;
    margin-top: 18px;
    overflow: hidden;
    color: #9f9e98;
    font-size: 14px;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.blog-post-action {
    margin-top: auto;
    padding-top: 28px;
}

/* ==========================================================================
   MODAL DE PRODUTO
   ========================================================================== */
.commerce-modal-overlay,
.article-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1300;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: clamp(12px, 3vw, 38px);
    background:
        radial-gradient(circle at 18% 16%, rgba(var(--accent-yellow-rgb), 0.075), transparent 32%),
        rgba(5, 5, 4, 0.93);
    backdrop-filter: blur(18px) saturate(0.8);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.32s ease, visibility 0.32s ease;
}

.article-modal-overlay {
    z-index: 1310;
}

.commerce-modal-overlay.active,
.article-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.commerce-modal-shell,
.article-modal-shell {
    position: relative;
    width: min(1120px, 100%);
    height: min(88dvh, 790px);
    overflow: hidden;
    background: #0e0f0e;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 14px;
    box-shadow: 0 42px 110px rgba(0, 0, 0, 0.72), inset 0 1px rgba(255, 255, 255, 0.035);
    transform: translateY(22px) scale(0.986);
    transition: transform 0.48s cubic-bezier(0.16, 1, 0.3, 1);
}

.commerce-modal-overlay.active .commerce-modal-shell,
.article-modal-overlay.active .article-modal-shell {
    transform: translateY(0) scale(1);
}

.commerce-modal-shell {
    display: grid;
    grid-template-columns: minmax(360px, 0.88fr) minmax(0, 1.12fr);
}

.content-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 8;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(8, 8, 7, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: transform 0.22s ease, color 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.content-modal-close:hover {
    transform: rotate(5deg);
    color: #090909;
    background: var(--accent-yellow);
    border-color: var(--accent-yellow);
}

.content-modal-close svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.commerce-modal-media {
    position: relative;
    min-width: 0;
    min-height: 0;
    margin: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        #121312;
    background-size: 34px 34px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.commerce-modal-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(5, 5, 4, 0.58));
    pointer-events: none;
}

.commerce-modal-media img {
    width: 100%;
    height: 100%;
    display: block;
    padding: clamp(22px, 4vw, 56px);
    object-fit: contain;
}

.commerce-modal-counter {
    position: absolute;
    left: 24px;
    bottom: 22px;
    z-index: 2;
    color: rgba(255, 255, 255, 0.72);
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.commerce-modal-content {
    min-width: 0;
    overflow-y: auto;
    padding: clamp(54px, 5.4vw, 78px) clamp(34px, 5vw, 68px) 52px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.commerce-modal-header h2 {
    max-width: 13ch;
    margin-top: 18px;
    color: #f5f3ed;
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 850;
    letter-spacing: -0.052em;
    line-height: 0.98;
    text-wrap: balance;
}

.commerce-modal-description {
    max-width: 61ch;
    margin-top: 24px;
    color: #aaa8a1;
    font-size: 15px;
    line-height: 1.75;
}

.commerce-modal-description p + p {
    margin-top: 14px;
}

.commerce-modal-description h2,
.commerce-modal-description h3 {
    margin: 24px 0 10px;
    color: #f0eee7;
    font-size: 18px;
    line-height: 1.25;
}

.commerce-modal-description strong {
    color: #f0eee7;
    font-weight: 750;
}

.commerce-modal-description em {
    font-style: italic;
}

.commerce-spec-list {
    display: grid;
    grid-template-columns: minmax(90px, 0.35fr) minmax(0, 1fr);
    margin-top: 34px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.commerce-spec-list dt,
.commerce-spec-list dd {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 12px;
    line-height: 1.5;
}

.commerce-spec-list dt {
    color: #777771;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.commerce-spec-list dd {
    color: #d5d2ca;
}

.commerce-purchase-panel {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.commerce-price-block,
.commerce-quantity-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.commerce-price-block > span,
.commerce-quantity-field > span {
    color: #777771;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.commerce-price-block strong {
    color: #f5f3ed;
    font-family: 'Montserrat', sans-serif;
    font-size: 19px;
    font-weight: 750;
    letter-spacing: -0.025em;
}

.commerce-quantity-field input {
    width: 76px;
    height: 46px;
    padding: 0 10px;
    color: #fff;
    background: #171816;
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

.commerce-buy-button {
    width: 100%;
    min-height: 54px;
    margin-top: 26px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    color: #090909;
    background: var(--accent-yellow);
    border: 1px solid var(--accent-yellow);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    transition: transform 0.22s ease, color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.commerce-buy-button:hover {
    transform: translateY(-2px);
    color: #080808;
    background: #fff;
    border-color: #fff;
    box-shadow: 0 14px 32px rgba(255, 255, 255, 0.12);
}

.commerce-buy-button:active {
    transform: translateY(0) scale(0.988);
}

.commerce-buy-button.is-disabled {
    color: #777771;
    background: #20211f;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
    cursor: not-allowed;
    pointer-events: none;
}

.commerce-buy-button svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.22s ease;
}

.commerce-buy-button:hover svg {
    transform: translateX(4px);
}

.commerce-purchase-note {
    margin-top: 13px;
    color: #777771;
    font-size: 11px;
    line-height: 1.55;
}

/* ==========================================================================
   LEITOR DO BLOG
   ========================================================================== */
.article-modal-shell {
    width: min(1060px, 100%);
    height: min(92dvh, 920px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.article-modal-close {
    position: sticky;
    top: 18px;
    right: auto;
    float: right;
    margin: 18px 18px -62px 0;
}

.article-modal-hero {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: end;
    overflow: hidden;
    background: #151515;
}

.article-modal-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-modal-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6, 6, 5, 0.12) 10%, rgba(6, 6, 5, 0.45) 55%, #0e0f0e 100%),
        linear-gradient(90deg, rgba(6, 6, 5, 0.36), transparent 68%);
}

.article-modal-heading {
    position: relative;
    z-index: 2;
    width: min(820px, calc(100% - 80px));
    padding: 76px 0 54px;
    margin-inline: auto;
}

.article-modal-heading h2 {
    max-width: 13ch;
    margin-top: 20px;
    color: #fff;
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 860;
    letter-spacing: -0.06em;
    line-height: 0.94;
    text-wrap: balance;
}

.article-modal-heading > p {
    max-width: 64ch;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 1.65;
}

.article-modal-meta {
    margin-top: 22px;
    color: #d6d3ca;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.article-modal-reading-area {
    background: #f0eee7;
    color: #23231f;
}

.article-rich-content {
    width: min(720px, calc(100% - 48px));
    margin-inline: auto;
}

.article-rich-content {
    padding: 76px 0 88px;
}

.article-rich-content p,
.article-rich-content li {
    color: #3e3d37;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(17px, 1.7vw, 20px);
    line-height: 1.82;
}

.article-rich-content p + p {
    margin-top: 25px;
}

.article-rich-content h2 {
    margin: 72px 0 24px;
    color: #181814;
    font-size: clamp(31px, 4vw, 46px);
    font-weight: 830;
    letter-spacing: -0.045em;
    line-height: 1.04;
    text-wrap: balance;
}

.article-rich-content h2:first-child {
    margin-top: 0;
}

.article-rich-content h3 {
    margin: 46px 0 16px;
    color: #24231e;
    font-size: clamp(22px, 2.7vw, 29px);
    font-weight: 760;
    letter-spacing: -0.032em;
    line-height: 1.15;
}

.article-rich-content strong {
    color: #171713;
    font-weight: 700;
}

.article-rich-content em {
    font-style: italic;
}

.article-rich-content ul,
.article-rich-content ol {
    margin: 24px 0 32px;
    padding-left: 24px;
}

.article-rich-content li {
    padding-left: 8px;
}

.article-rich-content li + li {
    margin-top: 12px;
}

.article-rich-content li::marker {
    color: #9f7d26;
}

.article-rich-content blockquote {
    margin: 38px 0;
    padding: 26px 30px 25px;
    background: #e4e0d4;
    border-left: 4px solid #b68b25;
}

.article-rich-content blockquote p {
    color: #292822;
    font-size: clamp(20px, 2.2vw, 25px);
    line-height: 1.55;
}

.article-rich-content blockquote cite {
    display: block;
    margin-top: 16px;
    color: #6e6859;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.article-rich-content figure {
    margin: 46px 0;
}

.article-rich-content figure img {
    width: 100%;
    display: block;
}

.article-rich-content figcaption {
    margin-top: 10px;
    color: #6e6a60;
    font-size: 12px;
}

@media (max-width: 1024px) {
    .content-rail-heading h2 {
        max-width: 16ch;
    }

    .store-products-rail {
        grid-auto-columns: minmax(300px, calc((100% - 22px) / 2));
    }

    .blog-posts-rail {
        grid-auto-columns: 94%;
    }

    .blog-post-trigger {
        grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
    }
}

@media (max-width: 800px) {
    .content-rail-section {
        padding: 78px 0 94px;
    }

    .content-rail-header,
    .content-horizontal-rail,
    .content-load-status {
        width: calc(100% - 34px);
    }

    .content-rail-header {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 38px;
    }

    .content-rail-actions {
        padding: 0;
    }

    .content-rail-heading h2 {
        margin-top: 16px;
        font-size: clamp(36px, 10.5vw, 54px);
    }

    .content-rail-heading p {
        margin-top: 20px;
        font-size: 15px;
    }

    .store-products-rail {
        grid-auto-columns: minmax(278px, 82vw);
        gap: 14px;
    }

    .blog-posts-rail {
        grid-auto-columns: minmax(286px, 88vw);
        gap: 14px;
    }

    .store-product-copy {
        min-height: 194px;
        padding: 23px 21px 20px;
    }

    .blog-post-trigger {
        display: flex;
        min-height: 0;
        flex-direction: column;
    }

    .blog-post-media {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .blog-post-copy {
        min-height: 350px;
        padding: 30px 24px;
    }

    .commerce-modal-overlay,
    .article-modal-overlay {
        padding: 8px;
    }

    .commerce-modal-shell {
        width: 100%;
        height: calc(100dvh - 16px);
        display: block;
        overflow-y: auto;
        border-radius: 10px;
    }

    .commerce-modal-media {
        height: min(49dvh, 450px);
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .commerce-modal-media img {
        padding: 24px 48px;
    }

    .commerce-modal-content {
        overflow: visible;
        padding: 42px 24px 40px;
    }

    .commerce-modal-header h2 {
        max-width: 15ch;
        font-size: clamp(33px, 10vw, 44px);
    }

    .article-modal-shell {
        width: 100%;
        height: calc(100dvh - 16px);
        border-radius: 10px;
    }

    .article-modal-close {
        top: 14px;
        margin: 14px 14px -58px 0;
    }

    .article-modal-hero {
        min-height: 500px;
    }

    .article-modal-heading {
        width: calc(100% - 44px);
        padding-bottom: 42px;
    }

    .article-modal-heading h2 {
        font-size: clamp(40px, 13vw, 58px);
    }

    .article-modal-heading > p {
        font-size: 14px;
    }

    .article-rich-content {
        width: calc(100% - 44px);
    }

    .article-rich-content {
        padding: 56px 0 68px;
    }

}

@media (max-width: 480px) {
    .store-product-media {
        aspect-ratio: 4 / 5;
    }

    .commerce-modal-media {
        height: 43dvh;
        min-height: 310px;
    }

    .commerce-modal-media img {
        padding: 22px 34px;
    }

    .commerce-purchase-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .commerce-quantity-field input {
        width: 92px;
    }

    .article-modal-hero {
        min-height: 540px;
    }

    .article-rich-content p,
    .article-rich-content li {
        font-size: 17px;
        line-height: 1.76;
    }

    .article-rich-content blockquote {
        padding: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .content-card-skeleton::after {
        animation: none;
    }

    .store-product-trigger,
    .blog-post-trigger,
    .store-product-media img,
    .blog-post-media img,
    .commerce-modal-shell,
    .article-modal-shell {
        transition: none;
    }
}
