* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: #000;
    min-height: 100vh;
    overflow-x: hidden;
    color: white;
}

/* ==========================================
   Logo Grupo CAEL (canto superior esquerdo)
   ========================================== */
.brand-logo {
    position: absolute;     /* fica fixa no TOPO da página (some ao rolar para baixo) */
    top: -3rem;
    left: 3%;
    z-index: 10%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: -9.0rem;
    pointer-events: none;
}
.brand-logo-img {
    width: 11rem;       /* tamanho padrão (telas médias) */
    height: 11rem;
    object-fit: contain;
    transform: scale(1.2);
    transform-origin: top left;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}
/* ==========================================
   Logo SATED (canto inferior esquerdo)
   ========================================== */

.brand-logosated {
    position: absolute;     /* fica fixa no TOPO da página (some ao rolar para baixo) */
    top: 40rem;
    left: 3%;
    z-index: -10%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9.0rem;
    pointer-events: none;
}
.brand-logosated-img {
    width: 11rem;       /* tamanho padrão (telas médias) */
    height: 11rem;
    object-fit: contain;
    transform: scale(1.9);
    transform-origin: top left;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

/* ==========================================
   Logo MEC (canto inferior direito)
   ========================================== */
.brand-logomec {
    position: absolute;     /* fica fixa no TOPO da página (some ao rolar para baixo) */
    top: 42rem;
    right: -640%;
    z-index: -10%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9.0rem;
    pointer-events: none;
}

.brand-logomec-img {
    width: 11rem;       /* tamanho padrão (telas médias) */
    height: 11rem;
    object-fit: contain;
    transform: scale(1.5);
    transform-origin: top left;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.brand-tagline {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.01em;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    margin-left: 0.4rem;
    white-space: nowrap;
}

.brand-grupo,
.brand-cael {
    display: inline-block;
    font-weight: 800;
    transform-origin: center;
    padding: 20;
}

.brand-grupo {
    color: #FF7A00;
    text-shadow: 0 0 14px rgba(255, 122, 0, 0.55);
    animation: brandFloatGrupo 6s ease-in-out infinite;
}

.brand-cael {
    color: #C28DFC;
    text-shadow: 0 0 14px rgba(157, 76, 221, 0.55);
    animation: brandFloatCael 7s ease-in-out infinite;
    animation-delay: 0.5s;
}

/* Animações iguais às dos ícones decorativos do fundo */
@keyframes brandFloatGrupo {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-4px) rotate(8deg); }
}

@keyframes brandFloatCael {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    50% { transform: translateY(-3px) rotate(-7deg) scale(1.1); }
}

/* ============== RESPONSIVO DA LOGO ============== */
@media (min-width: 1024px) {
    .brand-logo { top: 1.5rem; left: 1.5rem; }
    .brand-logo-img { width: 14rem; height: 14rem; transform: scale(1.25); }
    .brand-tagline { font-size: 1rem; margin-top: -1.5rem; }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .brand-logo-img { width: 10rem; height: 10rem; transform: scale(1.15); }
    .brand-tagline { font-size: 0.9rem; margin-top: 0.6rem; }
}

@media (min-width: 481px) and (max-width: 767px) {
    .brand-logo-img { width: 7rem; height: 7rem; transform: scale(1.1); }
    .brand-tagline { font-size: 0.75rem; margin-top: 0.4rem; }
}

@media (max-width: 480px) {
    .brand-logo { top: 0.5rem; left: 0.5rem; }
    .brand-logo-img { width: 5rem; height: 5rem; transform: scale(1.1); }
    .brand-tagline { font-size: 0.65rem; margin-top: 0.3rem; margin-left: 0.2rem; }
}



/* Manchas de Tinta no Fundo */
.ink-splashes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.splash {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
}

.splash-1 {
    top: -10%;
    left: -5%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(157, 76, 221, 0.7) 0%, transparent 70%);
    opacity: 0.5;
}

.splash-2 {
    top: 20%;
    right: -10%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, rgba(255, 94, 0, 0.7) 0%, transparent 70%);
    opacity: 0.5;
}

.splash-3 {
    bottom: -10%;
    left: 10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(255, 213, 0, 0.7) 0%, transparent 70%);
    opacity: 0.5;
}

.splash-4 {
    top: 50%;
    left: -5%;
    width: 35vw;
    height: 35vw;
    background: radial-gradient(circle, rgba(255, 94, 0, 0.6) 0%, transparent 70%);
    opacity: 0.4;
    filter: blur(120px);
}

.splash-5 {
    bottom: 20%;
    right: -5%;
    width: 38vw;
    height: 38vw;
    background: radial-gradient(circle, rgba(157, 76, 221, 0.6) 0%, transparent 70%);
    opacity: 0.45;
    filter: blur(140px);
}

.splash-6 {
    top: 10%;
    left: 30%;
    width: 30vw;
    height: 30vw;
    background: radial-gradient(circle, rgba(255, 213, 0, 0.5) 0%, transparent 70%);
    opacity: 0.35;
    filter: blur(100px);
}

.splash-7 {
    bottom: 40%;
    right: 20%;
    width: 32vw;
    height: 32vw;
    background: radial-gradient(circle, rgba(255, 94, 0, 0.5) 0%, transparent 70%);
    opacity: 0.35;
    filter: blur(110px);
}

/* Ícones Decorativos */
.decorative-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.icon-deco {
    position: absolute;
    opacity: 0.1;
    font-size: 64px;
}

.icon-1 {
    top: 15%;
    left: 5%;
    color: #FFA07A;
    animation: float1 6s ease-in-out infinite;
}

.icon-2 {
    top: 25%;
    left: 15%;
    color: #DA70D6;
    font-size: 48px;
    opacity: 0.08;
    animation: float2 8s ease-in-out infinite;
}

.icon-3 {
    top: 20%;
    right: 8%;
    color: #FFD700;
    font-size: 56px;
    animation: float3 7s ease-in-out infinite;
}

.icon-4 {
    top: 35%;
    right: 15%;
    color: #FFA07A;
    animation: float4 9s ease-in-out infinite;
}

.icon-5 {
    bottom: 25%;
    left: 8%;
    color: #DA70D6;
    font-size: 72px;
    animation: float5 10s ease-in-out infinite;
}

.icon-6 {
    bottom: 15%;
    left: 20%;
    color: #FFD700;
    font-size: 56px;
    opacity: 0.08;
    animation: float6 7s ease-in-out infinite;
}

.icon-7 {
    bottom: 30%;
    right: 10%;
    color: #FFA07A;
    animation: float7 8s ease-in-out infinite;
}

.icon-8 {
    bottom: 18%;
    right: 22%;
    color: #DA70D6;
    font-size: 48px;
    opacity: 0.08;
    animation: float8 9s ease-in-out infinite;
}

.icon-9 {
    top: 45%;
    left: 25%;
    color: #FFD700;
    font-size: 40px;
    opacity: 0.06;
    animation: float9 11s ease-in-out infinite;
}

.icon-10 {
    top: 55%;
    right: 28%;
    color: #FFA07A;
    font-size: 40px;
    opacity: 0.06;
    animation: float10 10s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(10deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    50% { transform: translateY(0) rotate(-15deg) scale(1.1); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
    50% { transform: translateY(0) translateX(10px) rotate(15deg); }
}

@keyframes float4 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(15px) rotate(-10deg); }
}

@keyframes float5 {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(20deg) scale(1.15); }
}

@keyframes float6 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(-12deg); }
}

@keyframes float7 {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    50% { transform: translateX(-8px) rotate(-18deg); }
}

@keyframes float8 {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(15deg) scale(1.12); }
}

@keyframes float9 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(8px) rotate(10deg); }
}

@keyframes float10 {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    50% { transform: translateX(6px) rotate(-8deg); }
}

/* Botão Ingressos */
.ingressos-button-wrapper {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 20;
}

.ingressos-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.ingressos-icons i {
    position: absolute;
}

.sparkle-1 {
    top: -8px;
    left: -8px;
    color: #FFD700;
    font-size: 20px;
    animation: sparkle1 3s linear infinite;
}

.star-1 {
    top: -8px;
    right: -8px;
    color: #FFA500;
    font-size: 16px;
    animation: sparkle2 2.5s linear infinite;
}

.bolt-1 {
    bottom: -8px;
    right: -8px;
    color: #FFD700;
    font-size: 20px;
    animation: pulse 1.5s ease-in-out infinite;
}

.sparkle-2 {
    bottom: -8px;
    left: -8px;
    color: #DA70D6;
    font-size: 16px;
    animation: sparkle3 4s linear infinite;
}

@keyframes sparkle1 {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
}

@keyframes sparkle2 {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(-180deg) scale(1.3); }
}

@keyframes sparkle3 {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.4); opacity: 1; }
}

.ingressos-button {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.9) 0%, rgba(139, 92, 246, 0.9) 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.75rem;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    animation: buttonPulse 2s ease-in-out infinite;
}

.ingressos-button:hover {
    transform: scale(1.05);
}

@keyframes buttonPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Container Principal */
.main-container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 10;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
    
    .ingressos-button-wrapper {
        top: 2rem;
        right: 2rem;
    }
    
    .ingressos-button {
        font-size: 1rem;
    }
}

/* Flip Cards */
.flip-card {
    height: 450px;
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.7s ease-in-out;
    transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 2rem;
    text-align: center;
}

.flip-card-front {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(48px);
    overflow: hidden;
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0.55) 100%);
    border-radius: inherit;
}

/* Mini-dica de toque (aparece só no mobile/touch para ajudar o usuário) */
.tap-hint {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: none;     /* default desktop: oculto */
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    z-index: 5;
    pointer-events: none;
    animation: tapHintBounce 1.8s ease-in-out infinite;
}

.tap-hint i { color: #FFD700; font-size: 0.95rem; }

@media (hover: none), (pointer: coarse) {
    .tap-hint { display: inline-flex; }
}

/* Esconde quando o card já está virado */
.flip-card.flipped .tap-hint { opacity: 0; transition: opacity 0.3s ease; }

@keyframes tapHintBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-4px); }
}

.card-content {
    position: relative;
    z-index: 10;
}

.card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .card-title {
        font-size: 1.875rem;
    }
}

.flip-card-back {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(48px);
    transform: rotateY(180deg);
    justify-content: center;
}

.flip-card-back h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .flip-card-back h3 {
        font-size: 1.5rem;
    }
}

.flip-card-back p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .flip-card-back p {
        font-size: 1rem;
    }
}

.flip-card-back .cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 0.75rem;
    padding: 0.85rem 1.4rem;
    background: linear-gradient(135deg, #FF7A00 0%, #FF5E00 60%, #FF3D00 100%);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 9999px;
    box-shadow: 0 10px 25px -5px rgba(255, 94, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    text-align: center;
    line-height: 1.2;
}

.flip-card-back .cta-button i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.flip-card-back .cta-button:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 14px 30px -5px rgba(255, 94, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    filter: brightness(1.08);
}

.flip-card-back .cta-button:hover i {
    transform: translateX(3px);
}

.flip-card-back .cta-button:active {
    transform: translateY(0) scale(0.98);
}

@media (min-width: 768px) {
    .flip-card-back .cta-button {
        font-size: 0.95rem;
        padding: 0.95rem 1.6rem;
    }
}

/* Frase Teatral */
.theatrical-phrase {
    position: relative;
    margin-top: 3rem;
    text-align: center;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .theatrical-phrase {
        margin-top: 4rem;
    }
}

.theatrical-phrase h1 {
    font-family: 'Satisfy', cursive;
    font-size: 2.25rem;
    font-weight: 400;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.02em;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .theatrical-phrase h1 {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .theatrical-phrase h1 {
        font-size: 4.5rem;
    }
}

/* ==========================================
   📱 RESPONSIVIDADE GLOBAL — index.html
   Garante que o site se adeque a TODOS os tamanhos
   ========================================== */

/* ====== Safe area para o conteúdo (evita sobreposição com logo/ingressos fixos) ====== */
.main-container {
    padding-top: 10rem;     /* espaço reservado para a logo no topo */
    padding-bottom: 9rem;
}
@media (max-width: 768px) {
    .brand-logosated {
        position: absolute;
        top: 83rem;
        left: 135%;
        transform: translateX(-50%);
        z-index: 20;
    }

    .brand-logomec {
        position: absolute;
        top: 93rem;
        left: 135%;
        right: auto;
        transform: translateX(-50%);
        z-index: 20;
    }

    .brand-logosated-img {
        width: 280px;
        height: auto;
        transform: none;
    }

    .brand-logomec-img {
        width: 200px;
        height: auto;
        transform: none;
    }

    .main-container {
        padding-bottom: 28rem;
    }
}

    

@media (min-width: 481px) and (max-width: 767px) {
    .main-container { padding-top: 8.5rem; padding-left: 1rem; padding-right: 1rem; }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .main-container { padding-top: 11rem; padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 1024px) {
    .main-container { padding-top: 13rem; }
}

@media (max-width: 480px) {
    .main-container { padding-top: 6.5rem; padding-left: 0.75rem; padding-right: 0.75rem; }
}

/* ====== Botão INGRESSOS AQUI — adapta em telas pequenas ====== */
@media (max-width: 767px) {
    .ingressos-button-wrapper {
        top: 0.6rem;
        right: 0.6rem;
    }
    .ingressos-button {
        padding: 0.55rem 0.95rem;
        font-size: 0.72rem;
        gap: 0.4rem;
    }
    .ingressos-button i { font-size: 0.95rem; }
}

@media (max-width: 380px) {
    .ingressos-button span { display: none; }   /* mantém só o ícone em telas muito pequenas */
    .ingressos-button { padding: 0.6rem 0.8rem; border-radius: 0.5rem; }
    .ingressos-button i { font-size: 1.1rem; }
}

/* ====== Cards Flip — altura adaptativa ====== */
@media (max-width: 767px) {
    .flip-card { height: 380px; }
    .flip-card-front,
    .flip-card-back { padding: 1.5rem; border-radius: 1.5rem; }
    .cards-grid { gap: 1.5rem; }
}

@media (max-width: 480px) {
    .flip-card { height: 340px; }
    .flip-card-front,
    .flip-card-back { padding: 1.25rem; }
    .flip-card-back .cta-button {
        padding: 0.7rem 1rem;
        font-size: 0.75rem;
        gap: 0.4rem;
    }
}

/* ====== Frase teatral — escala fluida ====== */
@media (max-width: 480px) {
    .theatrical-phrase { margin-top: 2rem; padding: 0 0.5rem; }
    .theatrical-phrase h1 { font-size: 1.8rem; }
}

/* ====== Ícones decorativos — reduz no mobile para não poluir ====== */
@media (max-width: 767px) {
    .icon-deco { font-size: 36px !important; opacity: 0.08 !important; }
    .icon-1, .icon-9, .icon-10 { display: none; }
}

@media (max-width: 480px) {
    .icon-deco { font-size: 28px !important; }
    .icon-4, .icon-5, .icon-6, .icon-7, .icon-8 { display: none; }
}

/* ====== Manchas de fundo — reduzir intensidade no mobile ====== */
@media (max-width: 767px) {
    .splash { opacity: 0.5; }
    .splash-4, .splash-5, .splash-6, .splash-7 { display: none; }
}

/* ====== Compensar tagline longa em telas muito estreitas ====== */
@media (max-width: 380px) {
    .brand-tagline {
        white-space: normal;
        max-width: 9rem;
        line-height: 1.3;
    }


}