.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}

.font-display-xl { font-family: 'Anybody', sans-serif; font-weight: 900; }
.font-headline-lg { font-family: 'Anybody', sans-serif; font-weight: 800; }

h1.font-display-xl,
h2.font-display-xl,
h3.font-display-xl {
    max-width: 100%;
    overflow-wrap: break-word;
    text-wrap: balance;
}

main .max-w-4xl,
main .max-w-5xl,
main .max-w-6xl,
main .max-w-7xl {
    min-width: 0;
}
.font-label-caps { font-family: 'Space Grotesk', sans-serif; font-weight: 700; letter-spacing: 0.04em; }
.font-body-md { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 500; }
.font-chalk-accent { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 400; }

.hard-shadow { box-shadow: 4px 4px 0 0 rgba(25, 27, 37, 1); }
.hard-shadow-lg { box-shadow: 8px 8px 0 0 rgba(25, 27, 37, 1); }
.brutalist-shadow { box-shadow: 4px 4px 0 0 rgba(25, 27, 37, 1); }
.brutalist-shadow-lg { box-shadow: 8px 8px 0 0 rgba(25, 27, 37, 1); }

.paper-texture,
.paper-grain {
    background-image: url("https://www.transparenttextures.com/patterns/natural-paper.png");
}

.interactive-btn:active,
.btn-press:active {
    transform: translate(2px, 2px);
    box-shadow: 0 0 0 0 rgba(25, 27, 37, 1);
}

.wa-float-wrap {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 100;
}

@keyframes wa-shake-burst {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    12% { transform: translate3d(-8px, 2px, 0) rotate(-12deg); }
    24% { transform: translate3d(8px, -2px, 0) rotate(12deg); }
    36% { transform: translate3d(-7px, -2px, 0) rotate(-10deg); }
    48% { transform: translate3d(7px, 2px, 0) rotate(10deg); }
    60% { transform: translate3d(-5px, 0, 0) rotate(-6deg); }
    72% { transform: translate3d(5px, 0, 0) rotate(6deg); }
    84% { transform: translate3d(-2px, 0, 0) rotate(-3deg); }
}

.wa-float-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    padding: 0 !important;
    border-radius: 9999px !important;
    box-sizing: border-box;
    transform-origin: center center;
    will-change: transform;
    text-decoration: none;
    line-height: 0;
}

.wa-float-btn svg {
    width: 1.75rem;
    height: 1.75rem;
    flex-shrink: 0;
}

.wa-float-btn.wa-shake-active {
    animation: wa-shake-burst 0.7s ease-in-out;
}

.wa-float-btn:active {
    animation: none;
    transform: translate(2px, 2px);
}

.site-nav-logo-wrap {
    display: inline-flex;
    transition: transform 0.3s ease;
}

.site-nav-logo-wrap:hover {
    transform: scale(1.08);
}

.list-section-logo-wrap {
    display: inline-flex;
    perspective: 600px;
}

.list-section-logo {
    animation: list-logo-spin 5s linear infinite;
    transform-style: preserve-3d;
    backface-visibility: visible;
}

@keyframes list-logo-spin {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

.mascot-img {
    display: block;
    object-fit: contain;
}

.mascot-img--shadow {
    filter: drop-shadow(4px 6px 0 rgba(25, 27, 37, 0.12));
}

.hero-asset-img {
    display: block;
    object-fit: contain;
}

.hero-mascot-bg {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 280px;
    padding: 0.5rem 0;
}

.hero-mascot-bg__stage {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.hero-mascot-bg__circles {
    position: absolute;
    width: min(92%, 380px);
    aspect-ratio: 1;
    left: 50%;
    top: 62%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.hero-mascot-bg__circle {
    position: absolute;
    border-radius: 50%;
    width: 88%;
    aspect-ratio: 1;
}

.hero-mascot-bg__circle--yellow {
    background: #fdd400;
    left: -4%;
    top: 8%;
}

.hero-mascot-bg__circle--blue {
    background: #8fd456;
    right: -4%;
    bottom: 6%;
}

.hero-mascot-bg__figure {
    position: relative;
    z-index: 1;
    width: 100%;
}

.mascot-solid-bg {
    box-shadow: 4px 4px 0 0 rgba(25, 27, 37, 1);
    background-color: #fdfdfd;
}

.mascot-solid-bg .mascot-img,
.brutalist-shadow-lg .mascot-img {
    background-color: #fdfdfd;
}

.mascot-hero-wrap {
    min-height: 240px;
}

.mascot-hero-stack {
    margin-bottom: -1.5rem;
}

@media (min-width: 768px) {
    .mascot-hero-stack {
        margin-bottom: -2.5rem;
    }
}

.mascot-peek {
    position: absolute;
    bottom: -0.5rem;
    z-index: 15;
    pointer-events: none;
}

.mascot-peek--right {
    right: 0.5rem;
}

.mascot-peek--left {
    left: 0.5rem;
}

@media (max-width: 767px) {
    .mascot-peek {
        display: flex;
        position: relative;
        bottom: auto;
        right: auto;
        left: auto;
        justify-content: center;
        margin: 0 auto 1rem;
        width: fit-content;
    }

    .washi-cta {
        padding-top: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wa-float-btn.wa-shake-active {
        animation: none;
    }

    .site-nav-logo {
        animation: none;
    }

    .site-nav-logo-wrap:hover {
        transform: none;
    }
}

.site-nav-logo-static .site-nav-logo {
    animation: none;
}

.doodle-bg {
    position: absolute;
    pointer-events: none;
    opacity: 0.1;
    z-index: 0;
}

#mobile-menu { display: none; }
#mobile-menu.open { display: block; }

#modal-inscricao:not(.open),
#modal-ads-lead:not(.open) {
  display: none !important;
  visibility: hidden;
  pointer-events: none;
}

#modal-inscricao.open,
#modal-ads-lead.open {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.nav-link {
    white-space: nowrap;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.03em;
}

#matricula {
  scroll-margin-top: 6rem;
}

/* Celular estilo desenho / brutalist — vídeo Semiturbo LP */
.ap-phone-frame {
  position: relative;
  width: min(100%, 280px);
  filter: drop-shadow(8px 8px 0 rgba(25, 27, 37, 1));
}

.ap-phone-bezel {
  background: #191b25;
  border: 4px solid #191b25;
  border-radius: 2.25rem;
  padding: 0.65rem 0.55rem 0.85rem;
  position: relative;
}

.ap-phone-notch {
  width: 38%;
  height: 0.55rem;
  background: #0d0e14;
  border-radius: 999px;
  margin: 0.15rem auto 0.55rem;
  border: 2px solid #2a2d3a;
}

.ap-phone-screen {
  background: #000;
  border-radius: 1.35rem;
  overflow: hidden;
  border: 3px solid #77d200;
  aspect-ratio: 9 / 16;
}

.ap-phone-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #111;
}

.ap-phone-home {
  width: 2rem;
  height: 0.35rem;
  background: #3a3d4a;
  border-radius: 999px;
  margin: 0.55rem auto 0;
}

.ap-phone-sticker {
  position: absolute;
  top: -0.75rem;
  right: -1.25rem;
  background: #ccff00;
  color: #191b25;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border: 3px solid #191b25;
  border-radius: 0.75rem;
  transform: rotate(8deg);
  box-shadow: 4px 4px 0 #191b25;
}

@media (min-width: 768px) {
  .ap-phone-frame {
    width: 300px;
  }
}

/* Campos sempre legíveis (fundo claro + texto escuro), inclusive no tema dark */
.ap-form input,
.ap-form textarea,
.ap-form select {
    color: #191b25 !important;
    background-color: #ffffff !important;
    -webkit-text-fill-color: #191b25;
}

.ap-form input::placeholder,
.ap-form textarea::placeholder {
    color: #6b7280 !important;
    -webkit-text-fill-color: #6b7280;
    opacity: 1;
}

.ap-form select option {
    color: #191b25;
    background-color: #ffffff;
}

.ap-form input:focus,
.ap-form textarea:focus,
.ap-form select:focus {
    outline: 2px solid #00963C;
    outline-offset: 2px;
}

.ap-form .field-error {
    color: #c13301;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.ap-form input.invalid,
.ap-form textarea.invalid {
    border-color: #c13301;
}

.washi-tape {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    width: 140px;
    height: 32px;
    background: rgba(255, 225, 217, 0.85);
    border: 1px solid rgba(25, 27, 37, 0.2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

.washi-cta {
    overflow: visible;
}

.sticker-white {
    backdrop-filter: blur(4px);
}

.torn-edge {
    clip-path: polygon(0% 2%, 3% 0%, 7% 3%, 12% 0%, 18% 2%, 24% 0%, 30% 3%, 36% 0%, 42% 2%, 48% 0%, 54% 3%, 60% 0%, 66% 2%, 72% 0%, 78% 3%, 84% 0%, 90% 2%, 96% 0%, 100% 3%, 100% 98%, 97% 100%, 91% 97%, 85% 100%, 79% 98%, 73% 100%, 67% 97%, 61% 100%, 55% 98%, 49% 100%, 43% 97%, 37% 100%, 31% 98%, 25% 100%, 19% 97%, 13% 100%, 7% 98%, 0% 100%);
}

html.dark body {
    background-color: #191b25;
    color: #f0f0fd;
}

html.dark .bg-paper-white,
html.dark .bg-background {
    background-color: #1e2030 !important;
}

html.dark .bg-surface-container-high,
html.dark .bg-surface-container-low,
html.dark .bg-surface-container-lowest {
    background-color: #252838 !important;
}

html.dark .text-on-surface,
html.dark .text-on-background {
    color: #f0f0fd !important;
}

html.dark .text-on-surface-variant {
    color: #c3c5d9 !important;
}

html.dark nav,
html.dark #mobile-menu,
html.dark #site-header {
    background-color: #1e2030 !important;
}

.approved-preview-scroll {
    scrollbar-width: thin;
    scrollbar-color: #77D200 transparent;
}

.approved-preview-scroll::-webkit-scrollbar {
    height: 6px;
}

.approved-preview-scroll::-webkit-scrollbar-thumb {
    background: #77D200;
    border-radius: 3px;
}

.reviews-scroll {
    scrollbar-width: thin;
    scrollbar-color: #00963C transparent;
}

.reviews-scroll::-webkit-scrollbar {
    height: 6px;
}

.reviews-scroll::-webkit-scrollbar-thumb {
    background: #00963C;
    border-radius: 3px;
}

.review-stars {
    letter-spacing: 0.1em;
    font-size: 1rem;
}

.gallery-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(25, 27, 37, 0.94);
    padding: 1rem;
}

.gallery-lightbox.open {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox__stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 72rem;
    min-height: 0;
}

.gallery-lightbox__img {
    max-width: 100%;
    max-height: calc(100vh - 8rem);
    object-fit: contain;
    border: 4px solid #f0f0fd;
    border-radius: 0.75rem;
    box-shadow: 8px 8px 0 0 rgba(119, 210, 0, 0.35);
}

.gallery-lightbox__close,
.gallery-lightbox__prev,
.gallery-lightbox__next {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #f0f0fd;
    background: #00963C;
    color: #f0f0fd;
    border-radius: 9999px;
    width: 3rem;
    height: 3rem;
    cursor: pointer;
    box-shadow: 4px 4px 0 0 rgba(25, 27, 37, 1);
}

.gallery-lightbox__close {
    top: 1rem;
    right: 1rem;
}

.gallery-lightbox__prev {
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-lightbox__next {
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-lightbox__counter {
    margin-top: 1rem;
    color: #f0f0fd;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.875rem;
}

@media (max-width: 640px) {
    .gallery-lightbox__prev { left: 0.5rem; }
    .gallery-lightbox__next { right: 0.5rem; }
    .gallery-lightbox__close { top: 0.5rem; right: 0.5rem; }
}

