/* A primeira dobra considera a barra administrativa quando a sessão WordPress está ativa. */
:root { --hero-admin-offset: 0px; }
.admin-bar { --hero-admin-offset: 32px; }
@media (max-width: 782px) {
  .admin-bar { --hero-admin-offset: 46px; }
}
@media (max-width: 1180px) {
  .hero-layout { grid-template-columns: minmax(280px, .65fr) minmax(500px, 1.35fr); }
  .hero-person--support_left { left: 0; width: 52%; }
  .hero-person--lead { left: 27%; width: 42%; }
  .hero-person--legacy { left: 60%; width: 28%; }
  .hero-person--support_right { right: 0; width: 27%; }
  .character-profile { grid-template-columns: 180px 1fr; }
}

@media (max-width: 980px) {
  :root { --header-height: 64px; }
  .admin-bar .site-header { top: 32px; }
  .brand-logo { height: 42px; }
  .nav-toggle { display: inline-flex; min-width: 48px; min-height: 44px; align-items: center; justify-content: center; gap: .5rem; padding: .55rem .65rem; border: 1.5px solid var(--ink); border-radius: var(--radius-pill); font-size: .78rem; font-weight: 800; }
  .nav-toggle i, .nav-toggle i::before, .nav-toggle i::after { display: block; width: 15px; height: 2px; background: currentColor; content: ""; transition: transform .2s ease; }
  .nav-toggle i { position: relative; }
  .nav-toggle i::before { position: absolute; top: -5px; }
  .nav-toggle i::after { position: absolute; top: 5px; }
  .nav-disclosure[open] .nav-toggle i { background: transparent; }
  .nav-disclosure[open] .nav-toggle i::before { top: 0; transform: rotate(45deg); }
  .nav-disclosure[open] .nav-toggle i::after { top: 0; transform: rotate(-45deg); }
  .nav-disclosure:not([open]) > .primary-nav { display: none; }
  .primary-nav { position: fixed; z-index: 1001; top: var(--header-height); right: var(--edge); left: var(--edge); display: block; padding: 1rem; background: var(--white); border: var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
  .admin-bar .primary-nav { top: calc(var(--header-height) + 32px); }
  .site-menu { display: grid; gap: 0; }
  .site-menu a { display: flex; min-height: 48px; align-items: center; padding: .45rem .3rem; border-bottom: 1px solid rgb(24 20 17 / 13%); font-size: 1rem; }
  .site-menu a::after { display: none; }
  .hero-layout { grid-template-columns: 1fr; grid-template-rows: auto minmax(390px, 1fr); min-height: calc(100svh - var(--header-height) - var(--hero-admin-offset)); align-items: start; }
  .hero-copy { max-width: 680px; padding-top: 2rem; padding-bottom: .5rem; }
  .hero-copy h1 { max-width: none; font-size: clamp(4rem, 12vw, 6.3rem); }
  .hero-stage { width: min(100%, 760px); height: clamp(390px, calc(100svh - var(--header-height) - var(--hero-admin-offset) - 370px), 490px); min-height: 0; justify-self: center; }
  .hero-ensemble { min-height: 0; }
  .artist-grid, .corporate-stage, .final-contact-grid, .footer-stage { grid-template-columns: 1fr; }
  .artist-grid { min-height: 0; gap: 0; }
  .artist-copy { order: -1; padding-block: var(--space-6) 0; }
  .artist-stage { height: 570px; }
  .character-stage-grid { display: flex; margin-inline: calc(-1 * var(--edge)); padding-inline: var(--edge); gap: 1rem; overflow-x: auto; scroll-padding-inline: var(--edge); scroll-snap-type: x mandatory; }
  .character-card { flex: 0 0 min(78vw, 430px); min-height: 500px; scroll-snap-align: center; }
  .product-section__layout { grid-template-columns: minmax(260px, .7fr) minmax(360px, 1.3fr); gap: var(--space-4); }
  .product-section__copy h2 { font-size: clamp(3.2rem, 7vw, 5rem); }
  .product-section__visual { height: min(68svh, 610px); }
  .corporate-copy { padding-block: var(--space-6) 0; }
  .corporate-portrait { height: 520px; }
  .route-hero__layout, .event-details-grid, .profile-stage__content { grid-template-columns: 1fr; }
  .route-hero__layout { min-height: 0; }
  .route-hero__visual { min-height: 0; height: 480px; }
  .route-hero--text .route-hero__layout, .route-hero__layout--text { min-height: 180px; }
  .event-purchase { position: static; }
  .profile-stage__next { grid-column: 1 / -1; }
  .filter-form { grid-template-columns: repeat(2, 1fr); }
  .agenda-toolbar__actions { grid-column: 1 / -1; }
  .character-archive-grid { grid-template-columns: 1fr; }
}

@media (min-width: 761px) and (max-width: 980px) {
  .artist-grid { grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); min-height: 650px; gap: var(--space-4); }
  .artist-copy { order: initial; padding-block: var(--space-5); }
  .artist-stage { height: 620px; }
  .corporate-stage { grid-template-columns: minmax(270px, .78fr) minmax(0, 1.22fr); min-height: 660px; gap: var(--space-4); }
  .corporate-copy { padding-block: var(--space-5); }
  .corporate-portrait { height: 590px; min-height: 0; }
}

@media (max-width: 760px) {
  :root { --edge: 1rem; }
  .admin-bar .site-header { top: 46px; }
  .admin-bar .primary-nav { top: calc(var(--header-height) + 46px); }
  .header-actions { gap: .5rem; }
  .header-booking { min-height: 48px; padding-inline: .78rem; font-size: .75rem; }
  .nav-toggle span { display: none; }
  .section-heading--split, .results-heading, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .section-heading--split .button { width: 100%; }
  .home-hero { min-height: calc(100svh - var(--header-height) - var(--hero-admin-offset)); }
  .hero-layout { display: block; min-height: inherit; }
  .hero-copy { position: absolute; z-index: 7; inset: 0; max-width: none; padding: 0; background: linear-gradient(transparent 64%, rgb(8 7 7 / 72%) 84%, rgb(8 7 7 / 97%)); pointer-events: none; }
  .hero-copy .eyebrow { position: absolute; top: 1.25rem; left: 0; display: block; margin: 0; }
  .hero-copy h1 { position: absolute; top: 3rem; left: 0; display: block; max-width: 6ch; margin: 0; font-size: clamp(3.25rem, 16vw, 4.6rem); line-height: .88; }
  .hero-layout:has(.rotator-scene--campaign.is-active) .hero-copy .eyebrow, .hero-layout:has(.rotator-scene--campaign.is-active) .hero-copy h1 { opacity: 0; }
  .hero-lead, .hero-next { display: none; }
  .hero-actions { position: absolute; right: 0; bottom: 1rem; left: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin: 0; pointer-events: auto; }
  .hero-actions .button { min-width: 0; padding-inline: .65rem; }
  .hero-stage { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; }
  .hero-stage::before, .hero-stage::after, .hero-stage__halo { display: none; }
  .rotator-scene--photos { background: linear-gradient(145deg, rgb(245 239 230 / 3%), transparent 60%); }
  .rotator-scene--campaign { padding: 0; }
  .hero-campaign { width: 100%; height: 100%; aspect-ratio: auto; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
  .hero-campaign img { object-fit: contain; object-position: center top; }
  .hero-ensemble { height: 100%; padding-bottom: 7.25rem; }
  .hero-ensemble::before { right: -5%; bottom: 7.15rem; left: -5%; height: 18%; }
  .hero-ensemble__base { right: 0; bottom: 7.1rem; left: 0; }
  .hero-person { bottom: 7.2rem; max-height: calc(100% - 7.7rem); }
  .hero-person--support_left { left: 0; width: 60%; }
  .hero-person--lead { left: 22%; width: 50%; }
  .hero-person--legacy { left: 55%; width: 30%; }
  .hero-person--support_right { right: 0; width: 28%; }
  .campaign-section { padding-block: 1.25rem; }
  .campaign-copy--compact { grid-template-columns: minmax(0, 1fr) auto; gap: .35rem 1rem; padding: .95rem 0; }
  .campaign-copy--compact .eyebrow, .campaign-copy--compact h2 { grid-column: 1; }
  .campaign-copy--compact p:not(.eyebrow) { grid-column: 1 / -1; }
  .campaign-copy--compact .button { grid-column: 2; grid-row: 1 / 3; }
  .content-section { padding-block: var(--space-6); }
  .event-row { grid-template-columns: 84px minmax(0, 1fr); gap: .85rem; padding-inline: 1rem; }
  .event-date { min-height: 72px; padding: .55rem; }
  .event-action { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; align-items: center; justify-items: start; }
  .event-action .status-pill { max-width: 100%; }
  .event-action .text-link { flex-shrink: 0; justify-self: end; white-space: nowrap; }
  .artist-stage { height: 470px; }
  .character-card { flex-basis: 84vw; min-height: 450px; }
  .full-fold { min-height: max(680px, calc(100svh - var(--header-height))); }
  .product-section__layout { grid-template-columns: 1fr; align-content: space-between; gap: 0; padding-block: var(--space-6) 0; }
  .product-section__copy { padding-block: 0; }
  .product-section__copy h2 { max-width: 9ch; font-size: clamp(3.1rem, 14vw, 4.8rem); }
  .product-section__visual { width: min(100%, 520px); height: min(52svh, 500px); justify-self: center; }
  .product-section:hover .product-photo { transform: none; }
  .game-section__layout { padding-block: var(--space-6) 0; }
  .game-section__kicker { position: static; margin-bottom: var(--space-3); }
  .game-section .cris-game-cta { min-height: 0; }
  .game-section .cris-game-cta__media--photo { height: min(54svh, 510px); }
  .corporate-stage { min-height: 0; grid-template-rows: auto 420px; gap: 0; }
  .corporate-copy { padding-block: var(--space-5) var(--space-3); }
  .corporate-portrait { height: 420px; min-height: 0; }
  .final-contact-grid { gap: var(--space-4); }
  .route-hero:not(.booking-page) { padding-block: 2rem; }
  .route-hero__copy:not(.booking-stage__copy) h1 { font-size: clamp(2.35rem, 9vw, 2.75rem); }
  .route-hero__visual { height: 360px; min-height: 320px; }
  .agenda-toolbar { margin-top: -.75rem; padding: .9rem; box-shadow: var(--shadow-card); }
  .filter-form { grid-template-columns: 1fr; }
  .agenda-toolbar__actions { grid-column: auto; align-items: stretch; flex-direction: column; }
  .agenda-toolbar__actions .button { width: 100%; }
  .event-facts dl { grid-template-columns: 1fr; }
  .profile-stage__gesture { height: 460px; }
  .character-profile { grid-template-columns: 1fr; min-height: 0; }
  .character-profile__visual { min-height: 390px; }
  .story-row { grid-template-columns: 1fr; }
  .footer-stage { gap: var(--space-4); }
  .footer-bottom { gap: .5rem; }
  .footer-credit { justify-content: flex-start; }
  .characters-priority__grid, .character-archive-grid { grid-template-columns: 1fr; }
  .route-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 230px; }
  .route-gallery__item, .route-gallery__item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .route-gallery__item:first-child { grid-column: 1 / -1; }
}

@media (min-width: 600px) and (max-width: 760px) {
  .hero-campaign img { object-position: right center; }
  .hero-copy { right: auto; width: min(280px, 42%); padding-inline: var(--edge); background: linear-gradient(90deg, rgb(8 7 7 / 96%), rgb(8 7 7 / 78%) 72%, transparent); }
  .hero-actions { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .admin-bar .site-header { top: 0; }
  .admin-bar .primary-nav { top: var(--header-height); }
  #wpadminbar .display-name { display: none !important; }
}

@media (max-width: 599px) {
  .hero-ensemble { padding-bottom: 7.65rem; }
  .hero-ensemble::before { bottom: 7.55rem; }
  .hero-ensemble__base { bottom: 7.5rem; }
  .hero-person { bottom: 7.6rem; max-height: calc(100% - 8.1rem); }
}
@media (max-width: 390px) {
  .header-inner { gap: .4rem; }
  .brand-logo { max-width: 104px; height: 36px; }
  .header-actions { gap: .35rem; }
  .header-booking { min-height: 48px; padding-inline: .5rem; font-size: .65rem; white-space: nowrap; }
  .hero-person--support_left { left: 0; width: 60%; }
  .hero-person--lead { left: 23%; width: 49%; }
  .hero-person--legacy { left: 55%; width: 30%; }
  .hero-person--support_right { right: 0; width: 28%; }
  .campaign-copy--compact p:not(.eyebrow) { display: none; }
  .button-row > .button { flex: 1 1 auto; }
  .route-hero__visual, .profile-stage__gesture { height: 330px; }
  .character-card { flex-basis: 88vw; min-height: 430px; }
  .cris-consent { align-items: start; }
}
@media (max-width: 340px) {
  .header-inner { gap: .25rem; }
  .brand-logo { max-width: 72px; height: 28px; }
  .header-actions { gap: .2rem; }
  .header-booking { padding-inline: .35rem; font-size: .57rem; letter-spacing: -.01em; }
}
@media (prefers-reduced-motion: reduce) {
  .rotator-scene:not(.is-active), .corporate-rotator__scene:not(.is-active) { display: none; }
  .motion-reveal { opacity: 1; transform: none; }
}
@media (max-height: 680px) and (max-width: 760px) {
  .cris-consent-banner { max-height: calc(100dvh - 2rem); overflow-y: auto; }
}
@media (min-width: 761px) and (max-height: 760px) { .hero-copy { padding-block: 2rem; } .hero-person--lead { height: 95%; } }
@media (max-width: 980px) { .about-page-hero__layout { width: min(100% - (2 * var(--edge)), var(--shell)); grid-template-columns: 1fr; } .about-page-hero__copy { padding: clamp(2.25rem, 7vw, 3.75rem) 0 var(--space-5); } .about-page-hero__copy h1 { max-width: none; } .about-page-hero__visual { height: clamp(340px, 52vw, 470px); min-height: 0; clip-path: none; } .about-page-hero__visual::before { inset: 0 0 auto; width: 100%; height: 18%; background: linear-gradient(180deg, var(--night), transparent); } .about-gallery .route-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .about-gallery .route-gallery__item, .about-gallery .route-gallery__item:nth-child(n), .about-gallery .route-gallery__item:first-child { grid-column: span 1; grid-row: span 1; } }
@media (max-width: 760px) { .route-hero.about-page-hero { padding-block: 0; } .about-page-hero__copy { padding-block: 1.75rem 1.35rem; } .about-page-hero__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.25rem; } .about-page-hero__actions .button { min-width: 0; padding-inline: .65rem; } .about-page-hero__visual { height: min(38svh, 310px); min-height: 260px; } .about-page-hero__image { object-position: center 24%; } .about-story__layout, .about-booking__layout { grid-template-columns: 1fr; gap: var(--space-4); } .about-story__heading h2, .about-booking__heading h2 { max-width: 11ch; font-size: var(--step-3); } .about-story__body { gap: var(--space-4); } .about-story__body .button, .about-booking__action .button-row, .about-booking__action .button { width: 100%; } .about-booking__action .button-row { display: grid; grid-template-columns: 1fr; } .about-gallery .route-gallery__grid { gap: .65rem; } }
@media (max-width: 390px) { .about-page-hero__visual { height: 280px; min-height: 240px; } .about-page-hero__copy h1 { font-size: clamp(2.55rem, 14vw, 3.45rem); } .about-gallery .route-gallery__item, .about-gallery .route-gallery__item:nth-child(n) { border-radius: var(--radius-sm); } }
