:root {
    --red: #e63946;
    --red-deep: #b71c2c;
    --red-glow: rgba(230, 57, 70, 0.5);
    --black: #0a0a0a;
    --black-soft: #141414;
    --black-card: #1a1a1a;
    --white: #ffffff;
    --gray: #9a9a9a;
    --gray-dark: #2a2a2a;
    --grad-red: linear-gradient(135deg, #e63946 0%, #b71c2c 100%);
    --grad-dark: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
    --grad-text: linear-gradient(135deg, #ff4d5e 0%, #e63946 50%, #b71c2c 100%);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-red: 0 10px 40px rgba(230, 57, 70, 0.25);
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --font-display: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
}





/* ===== RESET ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== LOADER ===== */
.loader {
    position: fixed;
    inset: 0;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-kanji {
    font-family: var(--font-display);
    font-size: 6rem;
    color: var(--red);
    animation: pulseGlow 1.4s ease-in-out infinite;
    text-shadow: 0 0 40px var(--red-glow);
    width: 500px;
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* ===== PARTÍCULAS ===== */
#particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* ===== HEADER / NAV ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 18px 0;
    background: rgba(10, 10, 10, 0);
    backdrop-filter: blur(0);
    transition: all 0.4s var(--ease);
}

.header.scrolled {
    padding: 12px 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(230, 57, 70, 0.15);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    gap: 36px;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-red);
    transition: width 0.3s var(--ease);
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 110;
}

.hamburger span {
    width: 26px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s var(--ease);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: var(--red);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: var(--red);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: -10% 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(230, 57, 70, 0.2), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(183, 28, 44, 0.25), transparent 50%),
        var(--grad-dark);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.015) 2px, rgba(255, 255, 255, 0.015) 4px);
    z-index: 2;
}

.hero-kanji {
    position: absolute;
    top: 50%;
    right: -5%;
    transform: translateY(-50%);
    font-family: 'Yuji Mai', cursive;
    font-size: 35rem;
    font-weight: 400;
    color: rgba(230, 57, 70, 0.06);
    line-height: 1;
    z-index: 2;
    user-select: none;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: -1px;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.gradient-text {
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--gray);
    max-width: 560px;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== BOTÕES ===== */
.btn {
    display: inline-block;
    padding: 16px 36px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-primary {
    background: var(--grad-red);
    color: var(--white);
    box-shadow: var(--shadow-red);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s var(--ease);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(230, 57, 70, 0.5);
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
}

.btn-ghost:hover {
    border-color: var(--red);
    color: var(--red);
    background: rgba(230, 57, 70, 0.05);
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--red);
    border-radius: 2px;
    animation: scrollDot 2s infinite;
}

@keyframes scrollDot {
    0% {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 14px);
    }
}

/* ===== SEÇÕES ===== */
.section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.section-head {
    text-align: center;
    margin-bottom: 70px;
}

.eyebrow {
    font-family: var(--font-display);
    color: var(--red);
    letter-spacing: 6px;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-sub {
    color: var(--gray);
    max-width: 580px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* ===== SOBRE ===== */
.about {
    background: var(--black-soft);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
}

.about-text p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-text strong {
    color: var(--white);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--red);
    line-height: 1;
}
.about-whatsapp-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    padding: 18px 22px;
    background: var(--black-card);
    border: 1px solid rgba(37, 211, 102, 0.25);
    border-radius: 14px;
    text-decoration: none;
    color: var(--white);
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease);
}

.about-whatsapp-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.12), rgba(18, 140, 126, 0.08));
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.about-whatsapp-cta:hover::before {
    opacity: 1;
}

.about-whatsapp-cta:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 211, 102, 0.5);
    box-shadow: 0 16px 48px rgba(37, 211, 102, 0.18);
}

.awc-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    animation: whatsappPulse 2.4s ease-in-out infinite;
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.35); }
    50% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
}

.awc-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: relative;
    z-index: 1;
    flex: 1;
}

.awc-text strong {
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: 0.3px;
}

.awc-text span {
    color: var(--gray);
    font-size: 0.85rem;
}

.awc-arrow {
    color: var(--gray);
    font-size: 0.9rem;
    transition: transform 0.3s var(--ease), color 0.3s var(--ease);
    position: relative;
    z-index: 1;
}

.about-whatsapp-cta:hover .awc-arrow {
    transform: translateX(6px);
    color: #25d366;
}

@media (max-width: 600px) {
    .about-whatsapp-cta {
        padding: 16px 18px;
        gap: 12px;
    }
    .awc-icon {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }
    .WhatsApp-section{
    width: 300px;
    margin: auto;

}
}

.whatsapp-banner {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    padding: 48px 56px;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.08), var(--black-card) 65%);
    border: 1px solid rgba(37, 211, 102, 0.25);
    border-radius: 24px;
    overflow: hidden;
}

.whatsapp-banner-kanji {
    position: absolute;
    right: -10px;
    bottom: -40px;
    font-family: 'Yuji Mai', cursive;
    font-size: 11rem;
    color: rgba(37, 211, 102, 0.07);
    line-height: 1;
    user-select: none;
    pointer-events: none;
}

.whatsapp-banner-content {
    position: relative;
    z-index: 1;
    max-width: 520px;
}

.whatsapp-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #25d366;
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.3);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
    font-weight: 600;
}

.whatsapp-banner-content h3 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    margin-bottom: 10px;
}

.whatsapp-banner-content p {
    color: var(--gray);
    font-size: 0.98rem;
}

.whatsapp-banner-btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 34px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
    border-radius: 50px;
    white-space: nowrap;
    transition: all 0.4s var(--ease);
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.25);
}

.whatsapp-banner-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(37, 211, 102, 0.45);
}

.whatsapp-banner-btn i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .whatsapp-banner {
        flex-direction: column;
        text-align: center;
        padding: 36px 28px;
        margin: 40px 20px 0;
    }

    .whatsapp-banner-kanji {
        font-size: 7rem;
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.7rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 500;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease), transform 0.4s var(--ease), scale 0.3s var(--ease);
    animation: whatsappPulse 2.4s ease-in-out infinite;
}

.whatsapp-float.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@media (max-width: 600px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
        bottom: 18px;
        right: 18px;
    }
}

.aula-modal-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    padding: 16px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
    border-radius: 10px;
    transition: all 0.3s var(--ease);
}

.aula-modal-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(37, 211, 102, 0.3);
}

.aula-modal-cta i {
    font-size: 1.1rem;
}



.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===== CARDS BASE ===== */
.about-card,
.class-card {
    position: relative;
    background: var(--black-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 50px 36px;
    overflow: hidden;
    transition: all 0.4s var(--ease);
}

.about-card {
    text-align: center;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(230, 57, 70, 0.15), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s var(--ease);
    pointer-events: none;
}

.about-card:hover .card-glow,
.class-card:hover .card-glow {
    opacity: 1;
}

.about-card:hover,
.class-card:hover {
    transform: translateY(-8px);
    border-color: rgba(230, 57, 70, 0.4);
    box-shadow: var(--shadow-red);
}

/* ===== AULAS ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.class-card {
    text-align: left;
    padding: 40px 32px;
}

.class-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.4s var(--ease-bounce);
}

.class-card:hover .class-icon {
    transform: scale(1.2) rotate(-8deg);
}

.class-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.class-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.card-meta {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 2px;
    color: var(--red);
    text-transform: uppercase;
    padding: 6px 12px;
    border: 1px solid rgba(230, 57, 70, 0.3);
    border-radius: 4px;
}

/* ===== GALERIA ===== */
.gallery {
    background: var(--black-soft);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: var(--black-card);
}

.gallery-item img,
.gallery-item .img-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.gallery-item .img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--red);
    background: linear-gradient(135deg, var(--black-card), var(--gray-dark));
    text-shadow: 0 0 30px var(--red-glow);
}

.gallery-item:hover img,
.gallery-item:hover .img-placeholder {
    transform: scale(1.1);
}

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    text-align: center;
    animation: zoomIn 0.4s var(--ease);
}

@keyframes zoomIn {
    from {
        transform: scale(0.85);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-content img,
.lightbox-content .lb-placeholder {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 20px 80px rgba(230, 57, 70, 0.3);
}

.lb-placeholder {
    width: 600px;
    height: 600px;
    max-width: 90vw;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 12rem;
    color: var(--red);
    background: linear-gradient(135deg, var(--black-card), var(--gray-dark));
    text-shadow: 0 0 60px var(--red-glow);
}

.lightbox-caption {
    color: var(--white);
    margin-top: 20px;
    font-family: var(--font-display);
    letter-spacing: 2px;
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    background: rgba(230, 57, 70, 0.15);
    border: 1px solid rgba(230, 57, 70, 0.4);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: var(--red);
    transform: scale(1.1);
}

.lightbox-close {
    top: 30px;
    right: 30px;
    font-size: 2rem;
}

.lightbox-prev {
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

/* ===== CARDS COM IMAGEM (AULAS) ===== */
.class-card--img {
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.class-card--img:hover {
    transform: translateY(-8px);
    border-color: rgba(230, 57, 70, 0.4);
    box-shadow: var(--shadow-red);
}

.class-card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--gray-dark);
}

.class-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.6s var(--ease);
    display: block;
}

.class-card--img:hover .class-card-img img {
    transform: scale(1.07);
}

.class-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.75) 100%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.card-img-kanji {
    font-family: 'Yuji Mai', cursive;
    font-size: 3.5rem;
    color: rgba(230, 57, 70, 0.6);
    line-height: 1;
    user-select: none;
    transition: color 0.3s var(--ease);
}

.class-card--img:hover .card-img-kanji {
    color: rgba(230, 57, 70, 0.9);
}

/* Imagem ausente — placeholder kanji grande */
.class-card-img img[src=""],
.class-card-img img:not([src]) {
    display: none;
}

.class-card-img:has(img[src=""]) {
    background: linear-gradient(135deg, var(--black-card), var(--gray-dark));
}

/* Ajuste fino de foco por card */
[data-modal="modal-kata"] .class-card-img img {
    object-position: center 20%;
}

[data-modal="modal-kumite"] .class-card-img img {
    object-position: center 40%;
}

[data-modal="modal-ufsc"] .class-card-img img {
    object-position: center 15%;
}

[data-modal="modal-competicao"] .class-card-img img {
    object-position: center center;
}

.class-card-body {
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.class-card-body h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin: 0;
}

.class-card-body p {
    color: var(--gray);
    font-size: 0.92rem;
    margin: 0;
    line-height: 1.6;
    flex: 1;
}

.class-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    gap: 8px;
    flex-wrap: wrap;
}

.card-meta--green {
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.35);
}

.card-saibamais {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--red);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s var(--ease), color 0.3s;
    text-transform: uppercase;
    white-space: nowrap;
}

.card-saibamais:hover {
    gap: 10px;
}

.class-card--img:hover .card-saibamais {
    color: var(--white);
}

/* ===== MODAIS DAS AULAS ===== */
.aula-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}

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

.aula-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
}

.aula-modal-box {
    position: relative;
    background: var(--black-card);
    border: 1px solid rgba(230, 57, 70, 0.2);
    border-radius: 20px;
    max-width: 680px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.7);
    transform: scale(0.9) translateY(24px);
    transition: transform 0.45s var(--ease-bounce);
    scrollbar-width: thin;
    scrollbar-color: var(--red) var(--gray-dark);
}

.aula-modal.active .aula-modal-box {
    transform: scale(1) translateY(0);
}

.aula-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
    line-height: 1;
    backdrop-filter: blur(4px);
}

.aula-modal-close:hover {
    background: var(--red);
    border-color: var(--red);
    transform: rotate(90deg);
}

/* Hero com imagem */
.aula-modal-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    background: var(--gray-dark);
}

.aula-modal-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.aula-modal-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(10, 10, 10, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
}

.aula-modal-kanji {
    font-family: 'Yuji Mai', cursive;
    font-size: 5rem;
    color: rgba(230, 57, 70, 0.5);
    line-height: 1;
    user-select: none;
}

/* Conteúdo do modal */
.aula-modal-content {
    padding: 32px 36px 40px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.aula-modal-content .eyebrow {
    margin-bottom: 2px;
}

.aula-modal-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2rem);
    font-weight: 700;
    margin: 0;
}

.aula-modal-sub {
    color: var(--red);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.aula-modal-content p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.75;
}

.aula-modal-content p strong {
    color: var(--white);
}

/* Destaque info (UFSC) */
.aula-modal-destaque {
    display: flex;
    gap: 14px;
    padding: 18px;
    background: rgba(230, 57, 70, 0.06);
    border: 1px solid rgba(230, 57, 70, 0.2);
    border-radius: 10px;
    align-items: flex-start;
}

.aula-modal-destaque i {
    color: var(--red);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.aula-modal-destaque p {
    font-size: 0.9rem;
    margin: 0 !important;
}

/* Tags */
.aula-modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.aula-modal-tags span {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 12px;
    border: 1px solid rgba(230, 57, 70, 0.35);
    border-radius: 4px;
    color: var(--red);
    background: rgba(230, 57, 70, 0.06);
    font-weight: 600;
}

/* Info footer */
.aula-modal-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    margin-top: 4px;
}

.aula-modal-info div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--gray);
}

.aula-modal-info i {
    color: var(--red);
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.aula-modal-info strong {
    color: var(--white);
}

/* Responsivo modais aulas */
@media (max-width: 600px) {
    .aula-modal-content {
        padding: 24px 20px 32px;
    }

    .aula-modal-hero {
        aspect-ratio: 16 / 8;
    }

    .aula-modal-kanji {
        font-size: 3.5rem;
    }

    .class-card-body {
        padding: 22px 20px 18px;
    }
}

/* ===== PROFESSORES ===== */
.professors {
    background: var(--black);
}

.carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.carousel-track-container {
    overflow: hidden;
    flex: 1;
    border-radius: 12px;
}

.carousel-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.professor-card {
    min-width: 100%;
    display: grid;
    grid-template-columns: 280px 1fr;
    background: var(--black-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.4s var(--ease);
}

.professor-card:hover {
    border-color: rgba(230, 57, 70, 0.35);
}

.prof-photo-wrap {
    position: relative;
    background: linear-gradient(160deg, var(--gray-dark), var(--black-card));
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    overflow: hidden;
}

.prof-photo-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 60% 40%, rgba(230, 57, 70, 0.15), transparent 65%);
}

.prof-photo-placeholder {
    font-family: var(--font-display);
    font-size: 9rem;
    color: var(--red);
    text-shadow: 0 0 60px var(--red-glow);
    opacity: 0.75;
    user-select: none;
}

.prof-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.prof-belt {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--grad-red);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    padding: 10px;
    font-family: var(--font-display);
}

.prof-info {
    padding: 50px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.prof-info h3 {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.prof-role {
    color: var(--red);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.prof-bio {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 480px;
}

.prof-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.prof-tags span {
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border: 1px solid rgba(230, 57, 70, 0.35);
    border-radius: 4px;
    color: var(--red);
    background: rgba(230, 57, 70, 0.06);
    font-weight: 600;
    transition: all 0.3s var(--ease);
}

.prof-tags span:hover {
    background: var(--red);
    color: var(--white);
}

.carousel-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(230, 57, 70, 0.4);
    background: rgba(230, 57, 70, 0.1);
    color: var(--white);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s var(--ease);
    cursor: pointer;
}

.carousel-btn:hover {
    background: var(--red);
    border-color: var(--red);
    transform: scale(1.1);
    box-shadow: var(--shadow-red);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 36px;
}

/* ===== FAIXAS PRETAS CTA ===== */
.faixas-pretas-cta {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.faixas-pretas-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 36px;
    background: var(--black-card);
    border: 1px solid rgba(230, 57, 70, 0.3);
    border-radius: 50px;
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

.faixas-pretas-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-red);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    border-radius: 50px;
}

.faixas-pretas-link:hover::before {
    opacity: 1;
}

.faixas-pretas-link:hover {
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(230, 57, 70, 0.35);
}

.faixas-pretas-icon,
.faixas-pretas-text,
.faixas-pretas-arrow {
    position: relative;
    z-index: 1;
}

.faixas-pretas-icon {
    font-size: 1.2rem;
    color: var(--red);
    transition: color 0.4s var(--ease);
}

.faixas-pretas-link:hover .faixas-pretas-icon {
    color: var(--white);
}

.faixas-pretas-text strong {
    color: var(--red);
    transition: color 0.4s var(--ease);
}

.faixas-pretas-link:hover .faixas-pretas-text strong {
    color: var(--white);
}

.faixas-pretas-arrow {
    font-size: 0.85rem;
    color: var(--gray);
    transition: transform 0.4s var(--ease), color 0.4s var(--ease);
}

.faixas-pretas-link:hover .faixas-pretas-arrow {
    transform: translateX(6px);
    color: var(--white);
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.carousel-dot.active {
    background: var(--red);
    border-color: var(--red);
    box-shadow: 0 0 12px var(--red-glow);
    transform: scale(1.3);
}

/* Responsivo professores */
@media (max-width: 900px) {
    .professor-card {
        grid-template-columns: 1fr;
    }

    .prof-photo-wrap {
        min-height: unset;
        aspect-ratio: 4 / 3;
    }

    .prof-photo-placeholder {
        font-size: 6rem;
    }

    .prof-info {
        padding: 32px 28px;
    }

    .prof-bio {
        max-width: 100%;
    }

    .loader-kanji{
        width: 200px;
    }
}



@media (max-width: 600px) {
    .carousel-wrapper {
        flex-direction: column;
        gap: 0;
    }

    .scroll-indicator span {
        display: none;
    }

    .logo-text {
        font-size: 0.9em;
    }

   

    .carousel-track-container {
        width: 100%;
        border-radius: 10px;
    }

    .carousel-btn {
        display: none;
    }

    .carousel-dots {
        margin-top: 20px;
        gap: 12px;
    }

    .carousel-dot {
        width: 12px;
        height: 12px;
    }

    .professor-card {
        border-radius: 10px;
    }

    .prof-photo-wrap {
        min-height: unset;
        aspect-ratio: 3 / 4;
    }

    .prof-photo-placeholder {
        font-size: 5rem;
    }

    .prof-info {
        padding: 24px 20px;
        gap: 12px;
    }

    .prof-info h3 {
        font-size: 1.3rem;
    }

    .prof-role {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .prof-bio {
        font-size: 0.9rem;
        line-height: 1.65;
        max-width: 100%;
    }

    .prof-tags {
        gap: 8px;
        margin-top: 4px;
    }

    .prof-tags span {
        font-size: 0.72rem;
        padding: 5px 10px;
    }
}

/* ===== MODAL CONTATO — REDESIGN ===== */
.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}

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

.contact-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(10px);
}

.contact-modal-box {
    position: relative;
    background: var(--black-card);
    border: 1px solid rgba(230, 57, 70, 0.18);
    border-radius: 24px;
    max-width: 600px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(230, 57, 70, 0.08);
    transform: scale(0.92) translateY(28px);
    transition: transform 0.45s var(--ease-bounce);
    scrollbar-width: thin;
    scrollbar-color: var(--red) var(--gray-dark);
}

.contact-modal.active .contact-modal-box {
    transform: scale(1) translateY(0);
}

.contact-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
}

.contact-modal-close:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
    transform: rotate(90deg);
}

/* Hero do modal */
.cmodal-hero {
    position: relative;
    padding: 44px 40px 32px;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.12) 0%, rgba(10, 10, 10, 0) 60%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.cmodal-hero-kanji {
    position: absolute;
    top: -20px;
    right: 20px;
    font-family: 'Yuji Mai', cursive;
    font-size: 9rem;
    color: rgba(230, 57, 70, 0.07);
    user-select: none;
    pointer-events: none;
    line-height: 1;
}

.cmodal-hero-text .eyebrow {
    margin-bottom: 6px;
}

.cmodal-hero-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.1rem);
    font-weight: 700;
    margin-bottom: 8px;
}

.cmodal-hero-text p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Grid de cards */
.contact-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 28px 28px 0;
}

.cmodal-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.35s var(--ease);
    color: var(--white);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
}

.cmodal-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.35s var(--ease);
    border-radius: 14px;
}

.cmodal-card:hover::before {
    opacity: 1;
}

.cmodal-card:hover {
    transform: translateY(-3px);
    border-color: transparent;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.cmodal-card:hover .cmodal-arrow {
    transform: translateX(4px);
    opacity: 1;
}

.cmodal-whatsapp::before {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.13), rgba(18, 140, 126, 0.13));
}

.cmodal-whatsapp:hover {
    border-color: rgba(37, 211, 102, 0.4);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.15);
}

.cmodal-whatsapp .cmodal-icon {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
    border-color: rgba(37, 211, 102, 0.25);
}

.cmodal-instagram::before {
    background: linear-gradient(135deg, rgba(225, 48, 108, 0.12), rgba(193, 53, 132, 0.1));
}

.cmodal-instagram:hover {
    border-color: rgba(225, 48, 108, 0.4);
    box-shadow: 0 12px 40px rgba(225, 48, 108, 0.15);
}

.cmodal-instagram .cmodal-icon {
    background: rgba(225, 48, 108, 0.1);
    color: #e1306c;
    border-color: rgba(225, 48, 108, 0.25);
}

.cmodal-email::before {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.12), rgba(183, 28, 44, 0.1));
}

.cmodal-email:hover {
    border-color: rgba(230, 57, 70, 0.4);
    box-shadow: 0 12px 40px rgba(230, 57, 70, 0.15);
}

.cmodal-email .cmodal-icon {
    background: rgba(230, 57, 70, 0.1);
    color: var(--red);
    border-color: rgba(230, 57, 70, 0.25);
}

.cmodal-location::before {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(245, 158, 11, 0.08));
}

.cmodal-location:hover {
    border-color: rgba(251, 191, 36, 0.35);
    box-shadow: 0 12px 40px rgba(251, 191, 36, 0.1);
}

.cmodal-location .cmodal-icon {
    background: rgba(251, 191, 36, 0.08);
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.2);
}

.cmodal-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 1px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: transform 0.3s var(--ease-bounce);
    position: relative;
    z-index: 1;
}

.cmodal-card:hover .cmodal-icon {
    transform: scale(1.12) rotate(-5deg);
}

.cmodal-info {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.cmodal-info h4 {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.cmodal-info p {
    font-size: 0.8rem;
    color: var(--gray);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.cmodal-info span {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.5px;
}

.cmodal-arrow {
    font-size: 0.75rem;
    color: var(--gray);
    opacity: 0;
    transition: all 0.3s var(--ease);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

/* Footer do modal */
.cmodal-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 24px 28px 28px;
    padding: 16px;
    border-radius: 10px;
    background: rgba(230, 57, 70, 0.05);
    border: 1px solid rgba(230, 57, 70, 0.12);
    font-size: 0.82rem;
    color: var(--gray);
}

.cmodal-footer i {
    color: var(--red);
    font-size: 1rem;
}

.cmodal-footer strong {
    color: var(--white);
}

@media (max-width: 600px) {
    .cmodal-hero {
        padding: 36px 22px 24px;
    }

    .cmodal-hero-kanji {
        font-size: 6rem;
    }

    .contact-modal-grid {
        grid-template-columns: 1fr;
        padding: 20px 18px 0;
        gap: 10px;
    }

    .cmodal-footer {
        margin: 20px 18px 22px;
    }
}

/* ===== FOOTER ===== */
.footer {
    background: var(--black-soft);
    border-top: 1px solid rgba(230, 57, 70, 0.2);
    position: relative;
    z-index: 1;
}

.footer-top {
    padding: 80px 0 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
    gap: 50px;
    align-items: start;
}

/* ===== FOOTER PARTNER LOGOS ===== */
.footer-brand-logos {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.footer-partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    padding: 6px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s var(--ease);
    opacity: 0.8;
    flex-shrink: 0;
}

.footer-partner-logo:hover {
    opacity: 1;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    background: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.footer-partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Remove margin-bottom antigo da img isolada */
.footer-brand .footer-brand-logos img:first-child {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .footer-brand-logos {
        gap: 10px;
    }

    .footer-partner-logo {
        width: 50px;
        height: 50px;
    }
}

.footer-brand img {
    margin-bottom: 16px;
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 260px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s var(--ease);
    color: var(--gray);
}

.footer-social a:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: var(--shadow-red);
}

.footer-col-title {
    font-family: var(--font-display);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(230, 57, 70, 0.2);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--gray);
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s var(--ease);
}

.footer-links a span {
    color: var(--red);
    font-size: 0.8rem;
    transition: transform 0.3s var(--ease);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-links a:hover span {
    transform: translateX(4px);
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact-list i {
    color: var(--red);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
}

.footer-contact-list a {
    color: var(--gray);
    transition: color 0.3s var(--ease);
}

.footer-contact-list a:hover {
    color: var(--red);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 22px 0;
    background: rgba(0, 0, 0, 0.3);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    color: var(--gray);
    font-size: 0.82rem;
}

.footer-kanji-strip {
    font-family: var(--font-display);
    color: rgba(230, 57, 70, 0.35);
    font-size: 1rem;
    letter-spacing: 8px;
    transition: color 0.3s var(--ease);
}

.footer-kanji-strip:hover {
    color: rgba(230, 57, 70, 0.7);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-kanji-strip {
        letter-spacing: 5px;
    }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE GERAL ===== */
@media (max-width: 900px) {

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-kanji {
        font-size: 22rem;
        right: -10%;
    }

    .section {
        padding: 90px 0;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 340px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: right 0.5s var(--ease);
        border-left: 1px solid rgba(230, 57, 70, 0.2);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.2rem;
        font-family: var(--font-display);
        letter-spacing: 3px;
    }

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

    .stat {
        text-align: center;
    }

    .lightbox-close {
        top: 20px;
        right: 20px;
    }

    .lightbox-prev {
        left: 12px;
    }

    .lightbox-next {
        right: 12px;
    }

    .lightbox-nav {
        width: 42px;
        height: 42px;
    }

    .hero-kanji {
        font-size: 16rem;
        opacity: 0.7;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        text-align: center;
    }
}

/* ===== MOBILE: ESPAÇAMENTO GERAL ===== */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
        /* era 120px */
    }

    .section-head {
        margin-bottom: 40px;
        /* era 70px */
    }

    .hero {
        min-height: 75vh;
        /* reduz a "área vermelha" no mobile */
        padding-top: 100px;
        /* limpa o header fixo (~70px) + folga */
        padding-bottom: 40px;
        align-items: center;
        /* volta a centralizar */
    }

    .hero-content {
        padding-top: 20px;
    }

    .scroll-indicator {
        bottom: 16px;
    }
}

/* ===== MOBILE: FOTO DO PROFESSOR ===== */
@media (max-width: 900px) {
    .prof-photo-wrap {
        min-height: unset;
        aspect-ratio: 1 / 1;
    }

    .prof-photo-placeholder img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        /* puxa para o rosto */
        position: absolute;
        inset: 0;
    }
}

@media (max-width: 600px) {
    .prof-photo-wrap {
        min-height: unset;
        aspect-ratio: 4 / 3;
        /* foto menor, mais paisagem */
    }

    .prof-photo-wrap img {
        object-position: center top;
    }

    .prof-info {
        padding: 20px 18px 24px;
        gap: 8px;
    }

    .prof-info h3 {
        font-size: 1.2rem;
    }

    .prof-bio {
        font-size: 0.85rem;
        line-height: 1.6;
    }
}

/* ===== NAV OVERLAY ===== */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease);
    z-index: 99;
}

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

.about-visual img {
    width: 100%;
    object-fit: cover;
    object-position: left center;
    /* era 20% center — troca por left */
    border-radius: 12px;
}

@media (max-width: 900px) {
    .professor-card:nth-child(5) .prof-photo-wrap img {
        object-position: center 20%;
    }
}

.professor-card:nth-child(1) .prof-photo-wrap img {
    object-fit: cover;
    object-position: center 30%;
    transform: scale(1.3);
    transform-origin: center top;
}