:root {
    --bg: #0d0c0a;
    --bg-soft: #171511;
    --paper: #f3efe7;
    --paper-soft: #ece4d8;
    --ink: #f4eee3;
    --ink-soft: #d8c6aa;
    --dark-ink: #23201b;
    --warm-gray: #7f766a;
    --gold: #b89463;
    --gold-soft: #d6b487;
    --line: rgba(184, 148, 99, 0.34);
    --max: 1220px;
    --font-body: 'Sora', sans-serif;
    --font-display: 'Cormorant Garamond', serif;
    --font-accent-a: 'Cinzel', serif;
    --font-accent-b: 'Marcellus', serif;
    --font-editorial: 'Bodoni Moda', serif;
    --font-script-a: 'Great Vibes', cursive;
    --font-script-b: 'Allura', cursive;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    background: linear-gradient(180deg, #12100d 0%, #0b0a08 100%);
    color: var(--ink);
    font-family: var(--font-body);
    line-height: 1.74;
    font-weight: 400;
    font-feature-settings: "ss01" 1;
    overflow-x: hidden;
    letter-spacing: 0.01em;
}

body.page-home {
    position: relative;
    isolation: isolate;
    background: #070605;
}

body.page-home::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background: #070605 url('/images/Ensaio.png') center 8% / cover no-repeat;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    pointer-events: none;
}

body.page-home .ambient-orb {
    display: none;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: var(--progress, 0%);
    z-index: 45;
    background: linear-gradient(90deg, #d7b480 0%, #b58a52 55%, #ffe3bf 100%);
    box-shadow: 0 0 16px rgba(181, 138, 82, 0.65);
    transition: width 0.1s linear;
}

.grain {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.18;
    background-image: repeating-linear-gradient(
        0deg,
        rgba(255, 255, 255, 0.05) 0,
        rgba(255, 255, 255, 0.05) 1px,
        transparent 1px,
        transparent 4px
    );
}

.ambient-orb {
    position: fixed;
    width: clamp(300px, 44vw, 620px);
    aspect-ratio: 1;
    border-radius: 50%;
    filter: blur(78px);
    opacity: 0.24;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: screen;
}

.orb-a {
    top: -18vh;
    right: -14vw;
    background: radial-gradient(circle, rgba(184, 148, 99, 0.72), rgba(184, 148, 99, 0));
    animation: orb-float-a 17s ease-in-out infinite alternate;
}

.orb-b {
    bottom: -22vh;
    left: -18vw;
    background: radial-gradient(circle, rgba(141, 124, 101, 0.5), rgba(141, 124, 101, 0));
    animation: orb-float-b 21s ease-in-out infinite alternate;
}

.scene-flash {
    position: fixed;
    inset: 0;
    z-index: 58;
    pointer-events: none;
    opacity: 0;
    background:
        radial-gradient(circle at 50% 50%, rgba(214, 180, 135, 0.18), rgba(214, 180, 135, 0) 52%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0));
}

.scene-flash.is-active {
    animation: scene-flash-pulse 0.62s ease;
}

.cinema-intro {
    position: fixed;
    inset: 0;
    z-index: 110;
    pointer-events: none;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease 0.95s, visibility 0.4s step-end 0.95s;
}

.cinema-panel {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50.5%;
    background: #050505;
    box-shadow: inset 0 0 110px rgba(0, 0, 0, 0.75);
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}

.cinema-panel.top {
    top: 0;
    border-bottom: 1px solid rgba(184, 148, 99, 0.18);
}

.cinema-panel.bottom {
    bottom: 0;
    border-top: 1px solid rgba(184, 148, 99, 0.18);
}

body.intro-play .cinema-panel.top {
    transform: translateY(-104%);
}

body.intro-play .cinema-panel.bottom {
    transform: translateY(104%);
}

body.intro-done .cinema-intro {
    opacity: 0;
    visibility: hidden;
}

.container {
    width: min(var(--max), 92vw);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.site-header .container {
    z-index: 60;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--font-display);
    line-height: 0.98;
    letter-spacing: -0.012em;
    font-weight: 600;
}

p {
    margin: 0;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 30;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(8, 8, 8, 0.7);
    backdrop-filter: blur(8px);
    transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
    background: rgba(8, 8, 8, 0.92);
    border-bottom-color: rgba(184, 148, 99, 0.28);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.nav-wrap {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.72rem;
    text-decoration: none;
    color: var(--ink);
}

.brand-logo {
    display: block;
    width: auto;
    height: 54px;
    max-width: 210px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
    transition: transform 0.25s ease, filter 0.25s ease;
}

.brand-home {
    gap: 0.58rem;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(184, 148, 99, 0.46);
    background: radial-gradient(circle at 50% 30%, rgba(184, 148, 99, 0.14), rgba(184, 148, 99, 0) 72%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #e7d6be;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.brand-name {
    position: relative;
    font-family: var(--font-body);
    font-size: clamp(0.72rem, 0.78vw, 0.86rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    color: #efe2cf;
    padding-bottom: 0.1rem;
    transition: color 0.25s ease, letter-spacing 0.25s ease;
}

.brand-name::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(214, 180, 135, 0.65), rgba(214, 180, 135, 0.12));
    transform-origin: left;
    transform: scaleX(0.42);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.brand:hover .brand-mark {
    border-color: rgba(214, 180, 135, 0.74);
    color: #f2e4cf;
}

.brand:hover .brand-name {
    color: #f6ead9;
    letter-spacing: 0.22em;
}

.brand:hover .brand-name::after {
    transform: scaleX(0.82);
}

.brand-home:hover .brand-logo {
    transform: translateY(-1px) scale(1.015);
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}

.menu-pill {
    position: relative;
    isolation: isolate;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(12, 11, 9, 0.42);
    color: #efdfc8;
    min-height: 44px;
    padding: 0 0.85rem 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.66rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.25s ease;
}

.menu-pill::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0), rgba(206, 169, 116, 0.2), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.menu-pill:hover {
    border-color: rgba(206, 169, 116, 0.58);
    background: rgba(19, 16, 12, 0.68);
}

.menu-pill:hover::before {
    opacity: 1;
}

.menu-pill-label {
    display: inline-block;
    transform: translateY(1px);
}

.menu-pill-icon {
    width: 22px;
    height: 22px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.menu-pill-icon i {
    position: absolute;
    width: 14px;
    height: 1px;
    background: #f0e1cb;
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}

.menu-pill-icon i:first-child {
    transform: translateY(-3.5px);
}

.menu-pill-icon i:last-child {
    transform: translateY(3.5px);
}

.menu-pill.is-open {
    border-color: rgba(206, 169, 116, 0.7);
    background: rgba(22, 18, 13, 0.78);
}

.menu-pill.is-open .menu-pill-icon i:first-child {
    transform: rotate(45deg);
    width: 16px;
}

.menu-pill.is-open .menu-pill-icon i:last-child {
    transform: rotate(-45deg);
    width: 16px;
}

body.nav-open {
    overflow: hidden;
}

main,
.section-coda,
.site-footer {
    transition: transform 0.42s ease, opacity 0.42s ease;
}

body.nav-open main,
body.nav-open .section-coda,
body.nav-open .site-footer {
    transform: scale(0.986);
    opacity: 0.72;
}

.main-nav {
    --mx: 50%;
    --my: 50%;
    position: fixed;
    inset: 0;
    z-index: 70;
    display: grid;
    place-items: center;
    padding: 6.6rem min(8vw, 6rem) 3rem;
    background-color: #080706;
    background:
        radial-gradient(circle at var(--mx) var(--my), rgba(206, 169, 116, 0.15) 0%, rgba(206, 169, 116, 0) 36%),
        linear-gradient(145deg, rgba(8, 8, 8, 0.985) 0%, rgba(13, 11, 9, 0.985) 100%);
    backdrop-filter: blur(6px);
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, -2%, 0) scale(0.985);
    transition: opacity 0.34s ease, transform 0.34s ease, clip-path 0.46s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.34s step-end;
}

.main-nav::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 58px 58px, 58px 58px;
    opacity: 0.12;
    animation: nav-grid-drift 22s linear infinite;
    pointer-events: none;
}

.main-nav::after {
    content: '';
    position: absolute;
    inset: 3.2rem;
    border: 1px solid rgba(206, 169, 116, 0.18);
    pointer-events: none;
}

.menu-close {
    position: absolute;
    top: 1.55rem;
    right: 1.8rem;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(206, 169, 116, 0.42);
    background: rgba(11, 10, 8, 0.6);
    color: #f2e6d4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    opacity: 0;
    transform: translate3d(0, -7px, 0) rotate(-10deg) scale(0.92);
    transition:
        opacity 0.3s ease 0.07s,
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1) 0.07s,
        background-color 0.25s ease,
        border-color 0.25s ease;
}

.menu-close span {
    display: block;
    font-size: 1.6rem;
    line-height: 1;
    transform: translateY(-1px) rotate(-8deg);
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1) 0.09s;
}

.main-nav.is-open .menu-close {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
}

.main-nav.is-open .menu-close span {
    transform: translateY(-1px) rotate(0deg);
}

.menu-close:hover {
    background: rgba(26, 21, 15, 0.9);
    border-color: rgba(206, 169, 116, 0.72);
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1.04);
}

.main-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    clip-path: inset(0 0 0 0);
    transform: translate3d(0, 0, 0) scale(1);
    transition: opacity 0.34s ease, transform 0.34s ease, clip-path 0.46s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
}

.main-nav-inner {
    width: min(980px, 88vw);
    display: grid;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.main-nav-kicker {
    margin-bottom: 0.9rem;
    color: #c9ab7f;
    text-transform: uppercase;
    letter-spacing: 0.36em;
    font-size: 0.66rem;
    font-weight: 700;
}

.main-nav a {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: baseline;
    gap: 1rem;
    color: #efe4d3;
    text-decoration: none;
    padding: 0.38rem 0;
    opacity: 0;
    transform: translateY(14px);
    transition: color 0.3s ease, opacity 0.35s ease, transform 0.35s ease, letter-spacing 0.3s ease;
}

.main-nav.is-open a {
    opacity: 1;
    transform: translateY(0);
}

.main-nav.is-open a:nth-of-type(1) {
    transition-delay: 0.06s;
}

.main-nav.is-open a:nth-of-type(2) {
    transition-delay: 0.12s;
}

.main-nav.is-open a:nth-of-type(3) {
    transition-delay: 0.18s;
}

.main-nav.is-open a:nth-of-type(4) {
    transition-delay: 0.24s;
}

.main-nav a::before {
    content: attr(data-order);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    color: rgba(208, 177, 134, 0.86);
    transform: translateY(1px);
}

.main-nav a span {
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 4.2vw, 3.45rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.02em;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.main-nav a:hover {
    color: #fff6ea;
    letter-spacing: 0.02em;
}

.main-nav a.is-active {
    color: #fff8ec;
}

.main-nav a.is-active::before {
    color: #f3d4a9;
}

.main-nav a.is-active span {
    text-shadow: 0 0 24px rgba(214, 180, 135, 0.34);
}

.main-nav-meta {
    margin-top: 1rem;
    max-width: 42ch;
    color: #d3b891;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.hero-intro {
    --hx: 50%;
    --hy: 46%;
    min-height: 100vh;
    padding: 8.5rem 0 5.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 42%),
        linear-gradient(180deg, rgba(8, 8, 8, 0.76) 0%, rgba(7, 7, 7, 0.85) 100%);
}

body.page-home .hero-intro {
    background: linear-gradient(180deg, rgba(6, 6, 6, 0.62) 0%, rgba(6, 6, 6, 0.74) 100%);
}

.hero-intro::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0) 45%);
    transform: translateY(-100%);
    animation: hero-curtain 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
    pointer-events: none;
}

body.page-home .hero-intro::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0) 52%);
}

.hero-vignette {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at var(--hx) var(--hy), rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0.58) 88%),
        radial-gradient(circle at 50% 50%, rgba(184, 148, 99, 0.14) 0%, rgba(184, 148, 99, 0) 58%);
    z-index: 1;
}

body.page-home .hero-vignette {
    background:
        radial-gradient(circle at var(--hx) var(--hy), rgba(0, 0, 0, 0.08) 18%, rgba(0, 0, 0, 0.46) 82%),
        radial-gradient(circle at 50% 50%, rgba(184, 148, 99, 0.1) 0%, rgba(184, 148, 99, 0) 62%);
}

.hero-content {
    max-width: 1040px;
    display: grid;
    justify-items: center;
    text-align: center;
    margin-inline: auto;
}

.hero-overline {
    margin-bottom: 0.8rem;
    font-family: var(--font-body);
    font-size: 0.74rem;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: var(--gold-soft);
    font-weight: 600;
}

.hero-intro h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.9vw, 4.4rem);
    line-height: 0.9;
    letter-spacing: -0.01em;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--ink);
    max-width: 18ch;
    margin: 0 auto;
}

.hero-title {
    width: 100%;
    text-align: center;
    margin-inline: auto;
    max-width: 18ch;
}

.title-line {
    display: block;
    overflow: visible;
}

body.js-enabled .title-line {
    overflow: visible;
    opacity: 0;
    transform: translate3d(0, 34px, 0);
}

body.intro-done .title-line {
    overflow: visible;
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

body.intro-play .title-line {
    animation: title-line-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.intro-play .title-line:nth-child(2) {
    animation-delay: 0.1s;
}

.cine-title {
    position: relative;
    isolation: isolate;
}

.cine-title::after {
    content: '';
    position: absolute;
    inset: 0 -12%;
    background: linear-gradient(105deg, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, 0.34) 50%, rgba(255, 255, 255, 0) 58%);
    transform: translateX(-135%);
    opacity: 0;
    pointer-events: none;
}

body.js-enabled .cinematic-block.cinema-in .cine-title::after {
    animation: title-sweep 1.28s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

.hero-sub {
    margin-top: 0.55rem;
    font-size: clamp(0.92rem, 1.45vw, 1.34rem);
    letter-spacing: 0.13em;
    text-transform: lowercase;
    color: #ddd0bc;
    font-weight: 500;
    max-width: 34ch;
    margin-inline: auto;
}

.hero-btn {
    margin-top: 2rem;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 1.4rem;
    border: 1px solid rgba(214, 180, 135, 0.5);
    color: #f1e8d8;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 0.67rem;
    background: transparent;
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.hero-btn::after {
    content: '';
    position: absolute;
    inset: 0 auto 0 -120%;
    width: 55%;
    background: linear-gradient(110deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
    transform: skewX(-18deg);
}

.hero-btn:hover::after {
    animation: btn-shine 0.95s ease;
}

.hero-actions {
    margin-top: 1.45rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.page-home .hero-actions {
    margin-top: 2.05rem;
}

@media (min-width: 1101px) {
    .page-home .hero-actions {
        margin-top: 2.75rem;
    }
}

.hero-actions .hero-btn {
    margin-top: 0;
}

.hero-link {
    color: #dcc4a0;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.66rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(214, 180, 135, 0.52);
    padding-bottom: 0.26rem;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.hero-link:hover {
    color: #fff3df;
    border-bottom-color: rgba(214, 180, 135, 0.85);
}

.hero-meta {
    position: absolute;
    bottom: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(90vw, 1050px);
    text-align: center;
    color: #ccb696;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.62rem;
    z-index: 2;
    font-weight: 700;
}

.section {
    padding: 5.6rem 0;
}

.section-hub {
    background: var(--paper);
    color: var(--dark-ink);
    border-top: 1px solid rgba(27, 23, 18, 0.08);
    border-bottom: 1px solid rgba(27, 23, 18, 0.08);
}

.section-hub h2 {
    color: #28231d;
    font-size: clamp(2rem, 4.2vw, 3.45rem);
    max-width: 18ch;
    margin-bottom: 2rem;
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.15rem;
}

.hub-card {
    text-decoration: none;
    color: #2d2822;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(23, 18, 12, 0.12);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(236, 228, 216, 0.72));
    padding: 1.25rem 1.1rem;
    min-height: 210px;
    display: grid;
    align-content: space-between;
    gap: 0.9rem;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.hub-card p {
    color: #7f6b50;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
}

.hub-card h3 {
    font-size: clamp(1.55rem, 2.2vw, 2rem);
    line-height: 0.95;
    color: #26211c;
}

.hub-card span {
    font-size: 0.88rem;
    line-height: 1.55;
    color: #5f5548;
}

.hub-card:hover {
    transform: translateY(-8px);
    border-color: rgba(184, 148, 99, 0.5);
    box-shadow: 0 26px 40px rgba(0, 0, 0, 0.13);
}

.hub-card::after,
.montage-card::after,
.roadmap-step::after,
.contact-card::after,
.contact-form-mock::after,
.professional-highlights article::after,
.professional-id::after,
.professional-steps article::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: radial-gradient(circle at var(--sx, 50%) var(--sy, 50%), rgba(247, 225, 190, 0.28), rgba(247, 225, 190, 0) 48%);
}

.hub-card.is-spotlit::after,
.montage-card.is-spotlit::after,
.roadmap-step.is-spotlit::after,
.contact-card.is-spotlit::after,
.contact-form-mock.is-spotlit::after,
.professional-highlights article.is-spotlit::after,
.professional-id.is-spotlit::after,
.professional-steps article.is-spotlit::after {
    opacity: 1;
}

.section-filmline {
    padding: 1.6rem 0 1.35rem;
    border-top: 1px solid rgba(184, 148, 99, 0.2);
    border-bottom: 1px solid rgba(184, 148, 99, 0.2);
    background: linear-gradient(90deg, rgba(12, 10, 8, 0.96), rgba(22, 18, 13, 0.96), rgba(12, 10, 8, 0.96));
    overflow: hidden;
}

.tag-cloud {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: minmax(70px, auto);
    column-gap: 1rem;
    row-gap: 0.72rem;
    width: min(1320px, 95vw);
    min-height: 456px;
    padding: 0.95rem clamp(0.8rem, 2vw, 2rem) 0.7rem;
    box-sizing: border-box;
    margin-inline: auto;
}

.tag-cloud::before {
    content: '';
    position: absolute;
    inset: -10% -8%;
    background:
        radial-gradient(circle at 16% 46%, rgba(236, 195, 140, 0.13), rgba(236, 195, 140, 0) 48%),
        radial-gradient(circle at 75% 44%, rgba(206, 157, 100, 0.1), rgba(206, 157, 100, 0) 52%);
    filter: blur(12px);
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
}

body.js-enabled .section-filmline.cinema-in .tag-cloud::before {
    animation: tag-cloud-lantern 16s ease-in-out infinite alternate;
}

.tag-chip {
    --chip: #cba574;
    --delay: 0s;
    position: relative;
    z-index: 1;
    display: inline-block;
    width: max-content;
    max-width: none;
    color: var(--chip);
    background-image: linear-gradient(110deg, var(--chip) 0%, #f6e5c9 46%, var(--chip) 100%);
    background-size: 220% 100%;
    background-position: 0% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 0.68rem;
    line-height: 1.08;
    padding: 0.05em 0;
    white-space: normal;
    text-wrap: balance;
    opacity: 1;
    transform: none;
    filter: none;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
    transition: color 0.25s ease, text-shadow 0.25s ease;
    will-change: opacity, transform;
}

.tag-chip:hover,
.tag-chip.is-spotlit {
    color: #f3ddbd;
    text-shadow: 0 0 22px rgba(227, 189, 142, 0.45), 0 0 8px rgba(0, 0, 0, 0.3);
}

body.js-enabled .section-filmline .tag-chip {
    opacity: 0;
    transform: translate3d(0, 24px, 0) scale(0.92);
    filter: blur(6px);
}

body.js-enabled .section-filmline.cinema-in .tag-chip {
    animation:
        tag-reveal 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards,
        tag-float 13.4s ease-in-out calc(var(--delay, 0s) + 1.2s) infinite,
        tag-veil var(--veil-duration, 26s) ease-in-out calc(var(--delay, 0s) + 1.05s + var(--veil-offset, 0s)) infinite;
    animation-delay: var(--delay, 0s), calc(var(--delay, 0s) + 1.2s), calc(var(--delay, 0s) + 1.05s + var(--veil-offset, 0s));
}

.tag-cloud .tag-chip:nth-child(4n + 1) {
    --veil-duration: 24.6s;
    --veil-offset: 0s;
}

.tag-cloud .tag-chip:nth-child(4n + 2) {
    --veil-duration: 26.8s;
    --veil-offset: 1.05s;
}

.tag-cloud .tag-chip:nth-child(4n + 3) {
    --veil-duration: 28.4s;
    --veil-offset: 1.55s;
}

.tag-cloud .tag-chip:nth-child(4n + 4) {
    --veil-duration: 29.7s;
    --veil-offset: .7s;
}

.tag-1 {
    --chip: #e0bf93;
    --delay: 0s;
    grid-column: 1 / 4;
    grid-row: 1;
    justify-self: start;
    font-family: var(--font-editorial);
    font-size: clamp(1.25rem, 1.9vw, 2.1rem);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.tag-2 {
    --chip: #cfa875;
    --delay: .45s;
    grid-column: 4 / 8;
    grid-row: 1;
    justify-self: center;
    font-family: var(--font-body);
    font-size: clamp(1.45rem, 2.35vw, 2.55rem);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.tag-3 {
    --chip: #ebd1ad;
    --delay: .9s;
    grid-column: 8 / 12;
    grid-row: 1;
    justify-self: start;
    padding-left: 0.14em;
    margin-left: -0.14em;
    font-family: var(--font-script-a);
    font-size: clamp(2.7rem, 4.7vw, 5rem);
    line-height: 1.14;
    letter-spacing: 0.01em;
    text-transform: none;
    white-space: nowrap;
}

.tag-4 {
    --chip: #c79b66;
    --delay: .7s;
    grid-column: 10 / 13;
    grid-row: 1;
    justify-self: end;
    align-self: end;
    text-align: right;
    padding-right: .18rem;
    font-family: var(--font-accent-b);
    font-size: clamp(1.3rem, 1.85vw, 2.2rem);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.tag-5 {
    --chip: #f0d9ba;
    --delay: 1.25s;
    grid-column: 1 / 6;
    grid-row: 2;
    justify-self: start;
    font-family: var(--font-script-b);
    font-size: clamp(3rem, 5.05vw, 5.5rem);
    letter-spacing: 0.02em;
    text-transform: none;
    white-space: nowrap;
}

.tag-6 {
    --chip: #bc8c56;
    --delay: .3s;
    grid-column: 8 / 11;
    grid-row: 2;
    justify-self: center;
    align-self: center;
    font-family: var(--font-body);
    font-size: clamp(0.58rem, 0.66vw, 0.8rem);
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.tag-7 {
    --chip: #d7b889;
    --delay: .8s;
    grid-column: 5 / 8;
    grid-row: 3;
    justify-self: center;
    font-family: var(--font-accent-a);
    font-size: clamp(0.95rem, 1.2vw, 1.34rem);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.tag-8 {
    --chip: #e2c49b;
    --delay: 1.45s;
    grid-column: 1 / 5;
    grid-row: 4;
    justify-self: start;
    margin-top: -22px;
    font-family: var(--font-editorial);
    font-size: clamp(1.48rem, 2.45vw, 2.8rem);
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.tag-9 {
    --chip: #d1a978;
    --delay: .65s;
    grid-column: 8 / 11;
    grid-row: 4;
    justify-self: start;
    align-self: start;
    font-family: var(--font-display);
    font-style: normal;
    font-size: clamp(1.1rem, 1.5vw, 1.55rem);
    letter-spacing: 0.1em;
    text-transform: none;
}

.tag-10 {
    --chip: #b98952;
    --delay: .2s;
    grid-column: 11 / 13;
    grid-row: 4;
    justify-self: end;
    text-align: right;
    font-family: var(--font-body);
    font-size: clamp(0.82rem, 1vw, 1.16rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.tag-11 {
    --chip: #dfc39d;
    --delay: 1.1s;
    grid-column: 2 / 5;
    grid-row: 5;
    justify-self: start;
    font-family: var(--font-accent-a);
    font-size: clamp(0.9rem, 1.05vw, 1.22rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.tag-12 {
    --chip: #e8d2b3;
    --delay: .95s;
    grid-column: 6 / 10;
    grid-row: 5;
    justify-self: start;
    font-family: var(--font-editorial);
    font-size: clamp(1.1rem, 1.55vw, 1.65rem);
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    white-space: nowrap;
}

.tag-13 {
    --chip: #f1dcbe;
    --delay: .55s;
    grid-column: 6 / 8;
    grid-row: 2;
    justify-self: center;
    font-family: var(--font-script-a);
    font-size: clamp(1.8rem, 2.7vw, 3.05rem);
    letter-spacing: 0.01em;
    text-transform: none;
    white-space: nowrap;
}

.tag-14 {
    --chip: #edd5b2;
    --delay: 1s;
    grid-column: 10 / 13;
    grid-row: 3;
    justify-self: end;
    font-family: var(--font-script-b);
    font-size: clamp(1.6rem, 2.4vw, 2.65rem);
    letter-spacing: 0.02em;
    text-transform: none;
    white-space: nowrap;
}

.tag-15 {
    --chip: #f2dfc3;
    --delay: .75s;
    grid-column: 6 / 8;
    grid-row: 4;
    justify-self: start;
    align-self: start;
    font-family: var(--font-script-a);
    font-size: clamp(1.95rem, 2.9vw, 3.2rem);
    line-height: 1.14;
    letter-spacing: 0.01em;
    text-transform: none;
    white-space: nowrap;
}

.tag-16 {
    --chip: #e8d0af;
    --delay: .6s;
    grid-column: 9 / 13;
    grid-row: 5;
    justify-self: end;
    text-align: right;
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.45vw, 1.55rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

@media (min-width: 1101px) {
    .tag-cloud {
        width: min(1860px, 98vw);
        grid-template-columns: repeat(24, minmax(0, 1fr));
        grid-auto-rows: minmax(94px, auto);
        column-gap: 1.05rem;
        row-gap: 1.05rem;
        padding: 0.95rem clamp(1rem, 1.8vw, 2.1rem) 0.75rem;
    }

    .tag-chip {
        white-space: nowrap;
        text-wrap: nowrap;
    }

    .tag-1 {
        grid-column: 1 / 7;
        grid-row: 1;
        justify-self: start;
    }

    .tag-2 {
        grid-column: 8 / 14;
        grid-row: 1;
        justify-self: start;
        font-size: clamp(1.26rem, 1.9vw, 2.2rem);
    }

    .tag-3 {
        grid-column: 14 / 20;
        grid-row: 1;
        justify-self: start;
        margin-left: 0;
        padding-left: 0.08em;
    }

    .tag-4 {
        grid-column: 21 / 25;
        grid-row: 1;
        justify-self: start;
        align-self: center;
        margin-top: 0;
        padding: 0;
        font-size: clamp(1.12rem, 1.7vw, 1.95rem);
    }

    .tag-5 {
        grid-column: 1 / 11;
        grid-row: 2;
        justify-self: start;
        font-size: clamp(2.6rem, 4.2vw, 4.85rem);
    }

    .tag-13 {
        grid-column: 12 / 17;
        grid-row: 2;
        justify-self: start;
    }

    .tag-6 {
        grid-column: 18 / 25;
        grid-row: 2;
        justify-self: start;
    }

    .tag-7 {
        grid-column: 10 / 16;
        grid-row: 3;
        justify-self: center;
    }

    .tag-14 {
        grid-column: 19 / 25;
        grid-row: 3;
        justify-self: start;
    }

    .tag-8 {
        grid-column: 1 / 11;
        grid-row: 4;
        justify-self: start;
        margin-top: 0;
        font-size: clamp(1.42rem, 2.18vw, 2.52rem);
    }

    .tag-15 {
        grid-column: 12 / 16;
        grid-row: 4;
        justify-self: start;
    }

    .tag-9 {
        grid-column: 16 / 20;
        grid-row: 4;
        justify-self: start;
    }

    .tag-10 {
        grid-column: 21 / 25;
        grid-row: 4;
        justify-self: start;
        text-align: left;
    }

    .tag-11 {
        grid-column: 3 / 10;
        grid-row: 5;
        justify-self: start;
    }

    .tag-12 {
        grid-column: 10 / 17;
        grid-row: 5;
        justify-self: start;
        padding-right: 0;
    }

    .tag-16 {
        grid-column: 18 / 25;
        grid-row: 5;
        justify-self: start;
        text-align: left;
        padding-left: 0;
    }
}

.cinematic-block {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.cinematic-block::after {
    content: '';
    position: absolute;
    inset: -25% -40%;
    background: linear-gradient(108deg, rgba(255, 255, 255, 0) 44%, rgba(214, 180, 135, 0.22) 51%, rgba(255, 255, 255, 0) 58%);
    transform: translate3d(-35%, 0, 0) rotate(5deg);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

body.js-enabled .cinematic-block.cinema-in::after {
    animation: cinema-sweep 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.cinematic-block::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.9s ease;
}

.scene-warm::before {
    background:
        radial-gradient(circle at 72% 14%, rgba(184, 148, 99, 0.16), rgba(184, 148, 99, 0) 52%),
        linear-gradient(180deg, rgba(24, 20, 16, 0.24), rgba(24, 20, 16, 0));
}

.scene-neutral::before {
    background:
        radial-gradient(circle at 20% 16%, rgba(232, 225, 212, 0.18), rgba(232, 225, 212, 0) 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
}

.scene-cool::before {
    background:
        radial-gradient(circle at 78% 14%, rgba(144, 158, 170, 0.14), rgba(144, 158, 170, 0) 52%),
        linear-gradient(180deg, rgba(10, 14, 19, 0.2), rgba(10, 14, 19, 0));
}

.cinematic-block.scene-active::before {
    opacity: 1;
}

.section-kicker {
    margin-bottom: 0.7rem;
    color: var(--gold-soft);
    font-size: 0.68rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    font-weight: 800;
}

.section-instituto {
    background: var(--bg-soft);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section-instituto h2 {
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 0.98;
    max-width: 760px;
    margin-bottom: 1.8rem;
}

.instituto-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.instituto-gallery figure {
    margin: 0;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
}

.instituto-gallery figure::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0.26) 50%, rgba(255, 255, 255, 0) 65%);
    transform: translateX(-130%);
    transition: transform 0.95s ease;
}

.instituto-gallery figure:hover::after {
    transform: translateX(130%);
}

.instituto-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.9s ease, opacity 0.7s ease;
}

.instituto-gallery figure:hover img {
    filter: grayscale(15%);
}

.instituto-gallery figure:first-child img {
    object-position: 50% 24%;
}

.instituto-gallery figure:last-child img {
    object-position: 50% 68%;
}

.section-copy {
    margin-top: 1.4rem;
    max-width: 78ch;
    color: var(--ink-soft);
    font-size: 0.98rem;
}

.inner-hero {
    --hx: 50%;
    --hy: 42%;
    min-height: 82vh;
    padding: 10rem 0 4.6rem;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #0b0907;
}

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

.inner-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 16%;
    filter: grayscale(62%) contrast(1.05) brightness(0.62);
    transform: scale(1.04);
}

.inner-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at var(--hx) var(--hy), rgba(0, 0, 0, 0.05) 16%, rgba(0, 0, 0, 0.6) 74%),
        linear-gradient(180deg, rgba(4, 4, 4, 0.8), rgba(4, 4, 4, 0.18) 35%, rgba(4, 4, 4, 0.78) 100%);
}

.inner-hero-content {
    max-width: 760px;
    position: relative;
    z-index: 2;
}

.inner-title {
    color: #f3ebde;
    font-size: clamp(2.1rem, 5.6vw, 4.95rem);
    line-height: 0.9;
    margin-bottom: 1rem;
}

.inner-sub {
    color: #ddcdb5;
    max-width: 62ch;
    font-size: clamp(0.92rem, 1.45vw, 1.08rem);
    letter-spacing: 0.03em;
}

.section-clinico {
    background: var(--paper);
    color: var(--dark-ink);
}

.light-title {
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 4.2vw, 3.4rem);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.03em;
    margin-bottom: 2rem;
}

.section-clinico .light-title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.2vw, 2.8rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #27231d;
    line-height: 1.02;
}

.doctor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.2rem;
}

.doctor-card {
    background: #dcd7cf;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform;
    transition: box-shadow 0.35s ease, border-color 0.35s ease;
    border: 1px solid rgba(16, 16, 16, 0.08);
}

.doctor-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0) 68%);
    transform: translateX(-140%);
    pointer-events: none;
    transition: transform 1s ease;
}

.doctor-card:hover {
    box-shadow: 0 26px 44px rgba(0, 0, 0, 0.2);
    border-color: rgba(184, 148, 99, 0.34);
}

.doctor-card:hover::after {
    transform: translateX(140%);
}

.doctor-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    filter: grayscale(100%);
    transform: scale(1.04);
    animation: portrait-drift 9s ease-in-out infinite alternate;
    transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s ease;
}

.doctor-card:hover img {
    animation: none;
    transform: scale(1.1);
    filter: grayscale(0%);
}

.doctor-card-main img {
    filter: grayscale(100%);
}

.doctor-info {
    text-align: center;
    padding: 1.2rem 1rem 1.4rem;
    background: linear-gradient(180deg, rgba(243, 239, 231, 0.2), rgba(243, 239, 231, 0.97) 42%);
    margin-top: -5.5rem;
    position: relative;
    transition: transform 0.45s ease;
}

.doctor-card:hover .doctor-info {
    transform: translateY(-8px);
}

.doctor-info h3 {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 1.8vw, 1.75rem);
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: none;
    color: #28241e;
    line-height: 1.06;
    margin-bottom: 0.3rem;
}

.doctor-info p {
    color: #5d554b;
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
}

.doctor-info span {
    display: inline-block;
    margin-top: 0.7rem;
    color: #332e27;
    font-size: 0.69rem;
    letter-spacing: 0.18em;
    font-weight: 700;
    text-transform: uppercase;
}

.doctor-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.doctor-card-link .doctor-info span {
    border-bottom: 1px solid rgba(42, 37, 31, 0.28);
    padding-bottom: 0.24rem;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.doctor-card-link:hover .doctor-info span {
    color: #1f1b15;
    border-bottom-color: rgba(42, 37, 31, 0.65);
}

.section-clinic-signature {
    padding: 1.2rem 0 2rem;
    background: linear-gradient(180deg, #f3efe7 0%, #efe7db 100%);
    border-top: 1px solid rgba(33, 29, 23, 0.1);
}

.clinic-signature {
    color: #3f3830;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.66rem;
    font-weight: 700;
    text-align: center;
}

.section-photo-break {
    position: relative;
    min-height: 154vh;
    overflow: hidden;
    border-top: 0;
    border-bottom: 0;
    background: #000;
    perspective: 1000px;
}

body.page-home .section-photo-break-empty {
    min-height: 100vh;
    min-height: 100svh;
    height: 100vh;
    height: 100svh;
    background: transparent;
    border: 0;
    perspective: none;
}

body.page-home .section-photo-break-empty .photo-break-media,
body.page-home .section-photo-break-empty .photo-break-overlay {
    display: none;
}

.photo-break-media {
    position: sticky;
    top: 0;
    height: 154vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
}

.photo-depth {
    position: absolute;
    inset: 0;
    pointer-events: none;
    transition: transform 0.25s linear;
}

.photo-depth-back {
    background: rgba(255, 255, 255, 0.12);
    mix-blend-mode: soft-light;
    z-index: 0;
}

.photo-depth-front {
    background: rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.photo-break-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 6%;
    filter: grayscale(84%) brightness(1.15) contrast(1.02);
    will-change: transform;
    transition: filter 0.55s ease;
    z-index: 1;
}

@media (min-width: 1700px) {
    .photo-break-media img {
        object-position: 50% 8.5%;
    }
}

.photo-break-overlay {
    position: sticky;
    top: 0;
    height: 154vh;
    margin-top: -154vh;
    z-index: 1;
    background: transparent;
    pointer-events: none;
}

.photo-break-content {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: min(var(--max), 92vw);
    max-width: 760px;
    z-index: 2;
}

.photo-break-content h2 {
    font-size: clamp(2.2rem, 5vw, 4.7rem);
    color: #f3e9da;
    text-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}

.section-dark-grid {
    background: #12100d;
    margin-top: -5vh;
    position: relative;
    z-index: 4;
    border-top: 1px solid rgba(206, 169, 116, 0.2);
}

body.page-home .section-dark-grid {
    margin-top: 0;
    background: #110f0c;
    padding: clamp(6.2rem, 9vw, 8.4rem) 0 clamp(9rem, 14vw, 12rem);
    min-height: 112vh;
}

body.page-home .section-dark-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 14% 84%, rgba(184, 148, 99, 0.14), rgba(184, 148, 99, 0) 46%),
        radial-gradient(circle at 84% 16%, rgba(184, 148, 99, 0.09), rgba(184, 148, 99, 0) 52%);
    pointer-events: none;
    z-index: 0;
}

body.page-home .section-dark-grid .container {
    position: relative;
    z-index: 2;
}

body.page-home .section-dark-grid .method-grid {
    margin-bottom: clamp(3.2rem, 6vw, 5.4rem);
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.method-grid article {
    border: 1px solid rgba(184, 148, 99, 0.26);
    background: rgba(20, 17, 13, 0.66);
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

body.page-home .method-grid article {
    background: #18140f;
}

.dark-epilogue {
    border-top: 1px solid rgba(184, 148, 99, 0.22);
    padding-top: clamp(1.7rem, 3vw, 2.5rem);
    display: grid;
    gap: 1rem;
}

.dark-epilogue-kicker {
    color: #cfae84;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.64rem;
    font-weight: 700;
}

.dark-epilogue h3 {
    color: #f2e6d5;
    font-size: clamp(1.7rem, 3.5vw, 3rem);
    line-height: 0.96;
    max-width: 18ch;
}

.dark-epilogue-ticker {
    overflow: hidden;
    border-top: 1px solid rgba(184, 148, 99, 0.2);
    border-bottom: 1px solid rgba(184, 148, 99, 0.2);
    padding: 0.85rem 0;
    margin-top: 0.7rem;
}

.dark-epilogue-track {
    display: flex;
    width: max-content;
    min-width: 200%;
    gap: 2rem;
    animation: marquee-flow 26s linear infinite;
}

.dark-epilogue-track span {
    color: #d6bea0;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
}

.method-grid article::before {
    content: '';
    position: absolute;
    inset: auto -25% -45% -25%;
    height: 65%;
    background: radial-gradient(circle, rgba(184, 148, 99, 0.24), rgba(184, 148, 99, 0));
    transform: translateY(38px);
    transition: transform 0.4s ease;
    pointer-events: none;
}

.method-grid article:hover {
    transform: translateY(-7px);
    border-color: rgba(184, 148, 99, 0.56);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.22);
}

.method-grid article:hover::before {
    transform: translateY(8px);
}

.method-grid h3 {
    color: #f1e7d8;
    font-size: clamp(1.5rem, 2.4vw, 2.2rem);
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
}

.method-grid p {
    color: #d0b89b;
    font-size: 0.95rem;
}

.section-editorial {
    background: linear-gradient(180deg, #ece5d9, #e3dacd);
    color: #27231e;
    border-top: 1px solid rgba(35, 29, 22, 0.12);
    border-bottom: 1px solid rgba(35, 29, 22, 0.12);
}

.editorial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.editorial-card {
    border: 1px solid rgba(32, 27, 21, 0.14);
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.58);
    min-height: 216px;
    display: grid;
    align-content: space-between;
}

.editorial-card p {
    color: #8a7557;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.68rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.editorial-card h3 {
    color: #2b2621;
    font-size: clamp(1.6rem, 2.5vw, 2.3rem);
    margin-bottom: 0.8rem;
}

.editorial-card span {
    color: #594f42;
    font-size: 0.9rem;
    line-height: 1.6;
}

.section-montage {
    background: #11100e;
    border-top: 1px solid rgba(184, 148, 99, 0.22);
}

.montage-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr 1fr;
    gap: 1rem;
    align-items: end;
}

.montage-card {
    margin: 0;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(184, 148, 99, 0.26);
    min-height: 380px;
    background: #0d0c0a;
}

.montage-card:nth-child(2) {
    transform: translateY(34px);
}

.montage-card:nth-child(3) {
    transform: translateY(64px);
}

.montage-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(78%) contrast(1.03);
    transition: transform 0.9s ease, filter 0.9s ease;
}

.montage-card:hover img {
    transform: scale(1.07);
    filter: grayscale(20%);
}

.montage-card figcaption {
    position: absolute;
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.8rem;
    color: #f1e5d4;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.64rem;
    font-weight: 700;
}

.bio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem;
}

.bio-grid article {
    border: 1px solid rgba(184, 148, 99, 0.24);
    background: rgba(16, 13, 10, 0.76);
    padding: 1.25rem;
}

.bio-grid h3 {
    color: #f0e6d8;
    font-size: clamp(1.7rem, 2.7vw, 2.35rem);
    margin-bottom: 0.6rem;
}

.bio-grid p {
    color: #d1bca0;
    font-size: 0.92rem;
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.roadmap-step {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(184, 148, 99, 0.3);
    background: rgba(20, 16, 12, 0.72);
    padding: 1.2rem;
    min-height: 220px;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.roadmap-step p {
    color: #d4b48a;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.68rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.roadmap-step h3 {
    color: #f1e7d9;
    font-size: clamp(1.42rem, 2.2vw, 1.95rem);
    margin-bottom: 0.8rem;
}

.roadmap-step span {
    color: #d0b89b;
    font-size: 0.88rem;
    line-height: 1.58;
}

.roadmap-step:hover {
    transform: translateY(-8px);
    border-color: rgba(184, 148, 99, 0.58);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.22);
}

.section-method-signature {
    overflow: hidden;
    border-top: 1px solid rgba(184, 148, 99, 0.22);
    border-bottom: 1px solid rgba(184, 148, 99, 0.22);
    padding: 1.15rem 0;
    background: linear-gradient(90deg, #12100d, #1a1713, #12100d);
}

.method-signature-track {
    display: flex;
    gap: 2.2rem;
    width: max-content;
    min-width: 100%;
    animation: marquee-flow 18s linear infinite reverse;
}

.method-signature-track span {
    color: #d7b488;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 0.66rem;
    font-weight: 700;
    white-space: nowrap;
}

.section-cta {
    background: #0f0d0b;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-card,
.contact-form-mock {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(184, 148, 99, 0.3);
    padding: 1.3rem;
    background: linear-gradient(145deg, rgba(20, 17, 13, 0.72), rgba(10, 9, 8, 0.88));
}

.contact-card h2 {
    color: #f4eadc;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    margin-bottom: 0.8rem;
}

.contact-list {
    list-style: none;
    margin: 0 0 1.3rem;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

.contact-list li {
    color: #ddc9ad;
    font-size: 0.9rem;
    line-height: 1.55;
}

.contact-form-mock h3 {
    color: #f2e8da;
    font-size: clamp(1.8rem, 2.9vw, 2.5rem);
    margin-bottom: 1rem;
}

.contact-card .hero-btn,
.contact-form-mock .hero-btn {
    margin-top: 0.9rem;
}

.form-row {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 0.8rem;
}

.form-row label {
    color: #cfb18b;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.64rem;
    font-weight: 700;
}

.form-row input,
.form-row textarea {
    width: 100%;
    border: 1px solid rgba(214, 180, 135, 0.34);
    background: rgba(10, 9, 8, 0.78);
    color: #eee4d4;
    padding: 0.72rem 0.8rem;
    font-family: var(--font-body);
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-row input:focus,
.form-row textarea:focus {
    border-color: rgba(214, 180, 135, 0.72);
    box-shadow: 0 0 0 2px rgba(214, 180, 135, 0.18);
}

.section-contact-signature {
    padding: 1.4rem 0;
    background: linear-gradient(180deg, #e9e1d6 0%, #e2d8ca 100%);
    border-top: 1px solid rgba(35, 30, 23, 0.12);
}

.contact-signature {
    color: #41392f;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.66rem;
    font-weight: 700;
    text-align: center;
}

.inner-hero-professional .inner-hero-media img {
    object-position: 50% 8%;
    filter: grayscale(70%) contrast(1.08) brightness(0.58);
}

.section-professional {
    background: #f1ece2;
    color: #2a261f;
}

.professional-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 1.1rem;
    align-items: start;
}

.professional-id {
    position: sticky;
    top: 6.6rem;
    border: 1px solid rgba(37, 32, 25, 0.16);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.72), rgba(236, 227, 214, 0.88));
    padding: 1.25rem;
    overflow: hidden;
}

.professional-role {
    color: #8a7355;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.64rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.professional-id h2 {
    color: #2b251f;
    font-size: clamp(1.9rem, 3.2vw, 2.8rem);
    line-height: 0.95;
    margin-bottom: 0.55rem;
}

.professional-crm {
    color: #4e4438;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.68rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
}

.professional-about {
    color: #554b3f;
    font-size: 0.95rem;
    line-height: 1.62;
}

.professional-copy {
    display: grid;
    gap: 0.9rem;
}

.professional-copy > p {
    color: #4b4338;
    font-size: 0.95rem;
    line-height: 1.72;
}

.professional-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.professional-highlights article {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(41, 35, 28, 0.14);
    background: rgba(255, 255, 255, 0.58);
    padding: 0.9rem;
    min-height: 160px;
}

.professional-highlights p {
    color: #8a7558;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.62rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.professional-highlights span {
    color: #3f362c;
    font-size: 0.88rem;
    line-height: 1.55;
}

.section-professional-steps {
    background: #11100d;
}

.professional-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
}

.professional-steps article {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(184, 148, 99, 0.3);
    background: rgba(18, 14, 11, 0.72);
    padding: 1.1rem;
    min-height: 220px;
}

.professional-steps p {
    color: #d5b78f;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.62rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.professional-steps h3 {
    color: #f1e7d9;
    font-size: clamp(1.45rem, 2.2vw, 2.04rem);
    margin-bottom: 0.6rem;
}

.professional-steps span {
    color: #ceb79a;
    font-size: 0.88rem;
    line-height: 1.6;
}

.professional-cta {
    max-width: 900px;
    margin-inline: auto;
    text-align: center;
}

.section-coda {
    position: relative;
    height: clamp(100px, 22vh, 220px);
    background:
        radial-gradient(circle at 50% 0%, rgba(184, 148, 99, 0.16), rgba(184, 148, 99, 0) 48%),
        linear-gradient(180deg, rgba(10, 9, 8, 0) 0%, #080706 100%);
    border-top: 1px solid rgba(184, 148, 99, 0.16);
}

body.page-home .section-coda {
    height: clamp(72px, 12vh, 130px);
    background: linear-gradient(180deg, #110f0c 0%, #080706 100%);
    border-top-color: rgba(184, 148, 99, 0.2);
}

@media (max-width: 1080px) {
    body.page-home::before {
        background-position: 50% 16%;
    }

    body.page-home .section-dark-grid {
        min-height: auto;
        padding: 4.9rem 0 6.4rem;
    }

    .dark-epilogue h3 {
        max-width: 24ch;
        line-height: 1;
    }

    .dark-epilogue-track {
        animation-duration: 32s;
    }
}

@media (max-width: 760px) {
    body.page-home::before {
        background-position: 52% 20%;
    }

    body.page-home .section-dark-grid {
        padding: 4.1rem 0 5.2rem;
    }

    .dark-epilogue-ticker {
        margin-top: 0.45rem;
    }

    .dark-epilogue-track span {
        font-size: 0.62rem;
        letter-spacing: 0.16em;
    }
}

.cta-wrap {
    border: 1px solid rgba(184, 148, 99, 0.34);
    padding: clamp(1.5rem, 4vw, 2.8rem);
    display: grid;
    gap: 1.6rem;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: stretch;
    background: linear-gradient(145deg, rgba(184, 148, 99, 0.1), rgba(12, 11, 9, 0.88));
    box-shadow: 0 26px 46px rgba(0, 0, 0, 0.28);
}

.cta-copy h2 {
    font-size: clamp(2rem, 3.8vw, 3.25rem);
    color: #f3e7d8;
    line-height: 0.95;
    margin-bottom: 0.85rem;
}

.cta-copy p {
    color: #d7c3a6;
    font-size: 0.96rem;
    max-width: 52ch;
}

.concierge-card {
    border: 1px solid rgba(214, 180, 135, 0.36);
    background: linear-gradient(165deg, rgba(19, 16, 13, 0.92), rgba(9, 8, 7, 0.82));
    padding: clamp(1.2rem, 2.4vw, 1.7rem);
    position: relative;
    overflow: hidden;
}

.concierge-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 84% 12%, rgba(214, 180, 135, 0.2), rgba(214, 180, 135, 0) 45%);
    pointer-events: none;
}

.concierge-label {
    color: var(--gold-soft);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    margin-bottom: 1rem;
    font-weight: 700;
}

.concierge-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}

.concierge-list li {
    position: relative;
    padding-left: 1rem;
    color: #ebdeca;
    font-size: 0.88rem;
    line-height: 1.55;
}

.concierge-list li::before {
    content: '';
    position: absolute;
    top: 0.52rem;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 5px rgba(184, 148, 99, 0.15);
}

.concierge-actions {
    margin-top: 1.3rem;
    display: grid;
    gap: 0.7rem;
}

.concierge-card .hero-btn {
    margin-top: 0;
    width: 100%;
    min-height: 46px;
    justify-content: center;
    border-color: rgba(214, 180, 135, 0.58);
}

.concierge-link {
    color: #dac3a2;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.66rem;
    font-weight: 700;
    justify-self: start;
    border-bottom: 1px solid rgba(214, 180, 135, 0.42);
    padding-bottom: 0.2rem;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.concierge-link:hover {
    color: #fff0d8;
    border-bottom-color: rgba(214, 180, 135, 0.78);
}

.site-footer {
    background: #0a0907;
    border-top: 1px solid rgba(184, 148, 99, 0.26);
    padding: 1.2rem 0 2rem;
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-wrap p {
    color: #cab08d;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.64rem;
    font-weight: 700;
}

.reveal {
    opacity: 1;
    transform: none;
}

body.js-enabled .reveal {
    opacity: 0;
    filter: blur(7px);
    transform: translate3d(0, 28px, 0) scale(0.985);
    transition:
        opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

body.js-enabled .reveal[data-delay="1"] {
    transition-delay: 0.14s;
}

body.js-enabled .reveal[data-delay="2"] {
    transition-delay: 0.28s;
}

body.js-enabled .reveal[data-delay="3"] {
    transition-delay: 0.42s;
}

body.js-enabled .reveal.in-view {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
}

body.page-instituto .inner-hero-media img {
    animation: hero-pan-slow 18s ease-in-out infinite alternate;
}

body.page-clinico .inner-hero-overlay {
    background:
        radial-gradient(circle at var(--hx) var(--hy), rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 24%),
        linear-gradient(180deg, rgba(4, 4, 4, 0.82), rgba(4, 4, 4, 0.26) 35%, rgba(4, 4, 4, 0.76) 100%);
}

body.page-clinico .doctor-grid {
    position: relative;
}

body.page-clinico .doctor-grid::before {
    content: '';
    position: absolute;
    inset: -0.8rem;
    border: 1px solid rgba(49, 41, 33, 0.14);
    pointer-events: none;
}

body.page-metodo .roadmap-grid {
    position: relative;
}

body.page-metodo .roadmap-grid::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 26px;
    height: 1px;
    background: linear-gradient(90deg, rgba(184, 148, 99, 0), rgba(184, 148, 99, 0.52), rgba(184, 148, 99, 0));
    pointer-events: none;
}

body.page-contato .inner-hero-overlay {
    background:
        radial-gradient(circle at var(--hx) var(--hy), rgba(214, 180, 135, 0.12), rgba(214, 180, 135, 0) 36%),
        linear-gradient(180deg, rgba(4, 4, 4, 0.76), rgba(4, 4, 4, 0.24) 35%, rgba(4, 4, 4, 0.78) 100%);
}

body.page-profissional .ambient-orb {
    opacity: 0.3;
}

body.page-profissional .section-professional-steps::after {
    animation-duration: 2.1s;
}

@keyframes scene-flash-pulse {
    0% {
        opacity: 0;
    }
    25% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes title-line-in {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes title-sweep {
    0% {
        opacity: 0;
        transform: translateX(-135%);
    }
    18% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(135%);
    }
}

@keyframes portrait-drift {
    0% {
        transform: scale(1.04);
    }
    100% {
        transform: scale(1.08);
    }
}

@keyframes hero-curtain {
    0% {
        transform: translateY(-100%);
        opacity: 1;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

@keyframes btn-shine {
    from {
        transform: translateX(-130%) skewX(-18deg);
    }
    to {
        transform: translateX(310%) skewX(-18deg);
    }
}

@keyframes nav-grid-drift {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(58px, 58px, 0);
    }
}

@keyframes marquee-flow {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@keyframes hero-pan-slow {
    0% {
        transform: scale(1.05) translate3d(0, 0, 0);
    }
    100% {
        transform: scale(1.12) translate3d(1.6%, -1.4%, 0);
    }
}

@keyframes tag-reveal {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0);
    }
}

@keyframes tag-pulse {
    0% {
        text-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
    }
    100% {
        text-shadow: 0 0 22px rgba(227, 189, 142, 0.28), 0 0 8px rgba(0, 0, 0, 0.3);
    }
}

@keyframes tag-shimmer {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes tag-glow {
    0% {
        filter: brightness(0.96) saturate(1);
    }
    100% {
        filter: brightness(1.08) saturate(1.06);
    }
}

@keyframes tag-float {
    0% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, 2px, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes tag-veil {
    0%,
    100% {
        opacity: 1;
    }
    10% {
        opacity: 0;
    }
    16% {
        opacity: 0;
    }
    30%,
    60% {
        opacity: 1;
    }
    70% {
        opacity: 0.22;
    }
    78% {
        opacity: 1;
    }
}

@keyframes tag-cloud-lantern {
    0% {
        transform: translate3d(-2.5%, 0, 0);
        opacity: 0.34;
    }
    50% {
        opacity: 0.48;
    }
    100% {
        transform: translate3d(2.5%, 0, 0);
        opacity: 0.36;
    }
}

@keyframes cinema-sweep {
    0% {
        opacity: 0;
        transform: translate3d(-35%, 0, 0) rotate(5deg);
    }
    15% {
        opacity: 0.42;
    }
    100% {
        opacity: 0;
        transform: translate3d(35%, 0, 0) rotate(5deg);
    }
}

@keyframes orb-float-a {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    100% {
        transform: translate3d(-5vw, 6vh, 0) scale(1.08);
    }
}

@keyframes orb-float-b {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    100% {
        transform: translate3d(6vw, -6vh, 0) scale(1.12);
    }
}

body.perf-lite .ambient-orb {
    animation: none;
    opacity: 0.14;
    filter: blur(52px);
}

body.perf-lite .scene-flash {
    display: none;
}

body.perf-lite .site-header,
body.perf-lite .main-nav {
    backdrop-filter: none;
}

body.perf-lite .main-nav::before {
    animation: none;
    opacity: 0.07;
}

body.perf-lite .tag-cloud::before {
    animation: none;
    filter: blur(8px);
    opacity: 0.28;
}

body.perf-lite .section-filmline.cinema-in .tag-chip {
    animation:
        tag-reveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards,
        tag-veil var(--veil-duration, 24s) ease-in-out calc(var(--delay, 0s) + 1s + var(--veil-offset, 0s)) infinite;
}

body.perf-lite .doctor-card-main img,
body.perf-lite .hero-media img,
body.perf-lite .hero-photo img {
    animation: none;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

@media (max-width: 1320px) {
    .doctor-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hub-grid,
    .roadmap-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .montage-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .professional-highlights,
    .professional-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1080px) {
    .doctor-grid,
    .method-grid,
    .instituto-gallery,
    .editorial-grid,
    .bio-grid,
    .contact-layout,
    .montage-grid,
    .professional-grid,
    .professional-highlights,
    .professional-steps {
        grid-template-columns: 1fr;
    }

    .hub-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tag-cloud {
        min-height: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        align-content: flex-start;
        gap: 0.72rem 0.84rem;
        width: min(96vw, 760px);
        padding: 1rem 0.35rem 0.8rem;
    }

    .tag-chip {
        position: relative;
        display: inline-block;
        left: auto;
        top: auto;
        width: auto;
        max-width: none;
        transform: none;
        animation: none;
        margin: 0 !important;
        align-self: center;
        justify-self: auto;
        grid-column: auto;
        grid-row: auto;
        text-align: center !important;
        line-height: 1.18;
        white-space: nowrap;
        text-wrap: nowrap;
    }

    .tag-chip:hover {
        transform: none;
    }

    body.js-enabled .section-filmline .tag-chip,
    body.js-enabled .section-filmline.cinema-in .tag-chip {
        opacity: 1;
        transform: none;
        filter: none;
        animation: none;
    }

    .hero-meta {
        letter-spacing: 0.16em;
        font-size: 0.62rem;
    }

    .section-photo-break {
        min-height: 126vh;
    }

    .photo-break-media,
    .photo-break-overlay {
        top: 0;
        height: 126vh;
    }

    .photo-break-overlay {
        margin-top: -126vh;
    }

    .photo-break-media img {
        width: 100%;
        object-fit: cover;
        object-position: 50% 10%;
    }

    .section-dark-grid {
        margin-top: -2vh;
    }

    .montage-card:nth-child(2),
    .montage-card:nth-child(3) {
        transform: none;
    }

    .professional-id {
        position: relative;
        top: auto;
    }

    body.page-metodo .roadmap-grid::before {
        display: none;
    }

    .cta-wrap {
        grid-template-columns: 1fr;
    }

    .concierge-card .hero-btn {
        width: auto;
        justify-content: flex-start;
        padding-inline: 1.2rem;
    }
}

@media (max-width: 760px) {
    .site-header {
        background: rgba(7, 7, 7, 0.84);
    }

    .hero-intro {
        padding: 7rem 0 4.7rem;
    }

    .hero-content {
        width: min(100%, 560px);
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-overline {
        letter-spacing: 0.32em;
        font-size: 0.72rem;
    }

    .hero-intro h1 {
        font-size: clamp(1.72rem, 8.2vw, 2.55rem);
        max-width: 100%;
        line-height: 0.92;
        letter-spacing: -0.006em;
    }

    .hero-title {
        max-width: 100%;
    }

    .hero-title .title-line {
        white-space: nowrap;
    }

    .hero-sub {
        letter-spacing: 0.08em;
        font-size: clamp(0.82rem, 3.6vw, 1rem);
        max-width: 27ch;
    }

    .method-signature-track span,
    .clinic-signature,
    .contact-signature {
        letter-spacing: 0.14em;
        font-size: 0.58rem;
    }

    .tag-cloud {
        gap: 0.78rem 0.72rem;
        padding-inline: 0.45rem;
    }

    .tag-3,
    .tag-5,
    .tag-12,
    .tag-13,
    .tag-14,
    .tag-15,
    .tag-16 {
        font-size: clamp(1.15rem, 7.4vw, 1.7rem);
    }

    .inner-hero {
        min-height: 72vh;
        padding: 8.2rem 0 3.4rem;
    }

    .inner-title {
        font-size: clamp(1.95rem, 9.2vw, 2.95rem);
    }

    .hero-meta {
        letter-spacing: 0.09em;
        font-size: 0.58rem;
    }

    .section-photo-break {
        min-height: 100vh;
    }

    .photo-break-media,
    .photo-break-overlay {
        top: 0;
        height: 100vh;
    }

    .photo-break-overlay {
        margin-top: -100vh;
    }

    .photo-break-media img {
        object-fit: cover;
        object-position: 50% 12%;
    }

    .photo-break-content {
        max-width: 84vw;
    }

    .section-dark-grid {
        margin-top: 0;
    }

    .main-nav {
        padding: 6rem 1.1rem 2rem;
    }

    .main-nav::after {
        inset: 1.2rem;
    }

    .main-nav a {
        grid-template-columns: 32px 1fr;
        gap: 0.75rem;
    }

    .main-nav a::before {
        font-size: 0.63rem;
    }

    .main-nav a span {
        font-size: clamp(1.3rem, 9.8vw, 2.15rem);
    }

    .main-nav-meta {
        font-size: 0.68rem;
        letter-spacing: 0.06em;
    }

    .menu-close {
        top: 1.2rem;
        right: 1.2rem;
        width: 40px;
        height: 40px;
    }

    .menu-close span {
        font-size: 1.35rem;
    }

    .cta-copy h2 {
        font-size: clamp(1.7rem, 8.2vw, 2.3rem);
    }

    .hub-grid,
    .roadmap-grid {
        grid-template-columns: 1fr;
    }

    .montage-card {
        min-height: 260px;
    }

    .professional-id h2 {
        font-size: clamp(1.65rem, 8.4vw, 2.2rem);
    }

    .concierge-list li {
        font-size: 0.83rem;
    }

    .ambient-orb {
        opacity: 0.12;
    }
}
