/* ==========================================================================
   1. CONFIGURAÇÕES GERAIS E VARIÁVEIS
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

@font-face {
    font-family: 'TT Modernoir';
    src: url('../fonts/TTModernoir-DmBd.woff2') format('woff2'),
         url('../fonts/TTModernoir-DmBd.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #0099FF;
    --secondary-color: #FF00C3;
}

body {
    font-family: "Inter", sans-serif;
    background-color: #111111;
    color: #fff;
    overflow-x: hidden;
}

/* ==========================================================================
   2. UTILITÁRIOS (TIPOGRAFIA, CORES E AUXILIARES)
   ========================================================================== */
.fw-semibold { font-weight: 600 !important; }
.ls-sm { letter-spacing: 0.025em; }
.ls-md { letter-spacing: 0.05em; }
.ls-lg { letter-spacing: 0.1em; }
.cursor-pointer { cursor: pointer; }

/* Tipografia Base */
.font-12 { font-size: 12px; } .font-14 { font-size: 14px; } .font-15 { font-size: 15px; } .font-16 { font-size: 16px; }
.font-18 { font-size: 18px; } .font-20 { font-size: 20px; } .font-22 { font-size: 22px; }
.font-24 { font-size: 24px; } .font-28 { font-size: 28px; } .font-30 { font-size: 30px; }
.font-32 { font-size: 32px; } .font-38 { font-size: 38px; } .font-40 { font-size: 40px; }
.font-46 { font-size: 46px; } .font-48 { font-size: 48px; } .font-60 { font-size: 60px; }

/* Cores e Backgrounds */
.text-bg-secondary { background-color: var(--secondary-color) !important; }
.text-bg-primary { background-color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: #363636 !important; }
.bg-black { z-index: 0; }
.border-light-subtle { border-color: #333 !important; }
.img-banner-responsive {
    height: 100vh;
    object-fit: cover;
    object-position: center top;
    display: block;}

/* ==========================================================================
   3. COMPONENTES E SEÇÕES
   ========================================================================== */

/* Botões */
.btn-primary {
    --bs-btn-bg: var(--primary-color);
    --bs-btn-border-color: var(--primary-color);
    border-radius: 0;
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: #fff;
    background: transparent;
    font-style: italic;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* Navegação */
.navbar-toggler { border: none !important; }
.navbar-toggler-icon { background-image: url(../img/icon-navbar.svg) !important; }
.navbar-nav .nav-link:hover { color: var(--primary-color) !important; transition: color 0.3s ease; }

/* Carrossel OWL Geral */
.owl-theme .owl-dots .owl-dot span {
    width: 14px; height: 14px;
    background: transparent !important;
    border: 2px solid #fff !important;
    margin: 5px 8px;
    transition: all .2s ease;
    border-radius: 50%;
}

.owl-theme .owl-dots .owl-dot.active span, 
.owl-theme .owl-dots .owl-dot:hover span {
    background: #fff !important;
}

/* Carrossel Eventos */
.carrossel-eventos .item { transition: transform 0.5s ease; transform: scale(0.95); }
.carrossel-eventos .item img { height: 550px; object-fit: cover; width: 100%; }

/* Cards Ingressos */
.card-ingressos-custom {
    background-color: #1a1a1a;
    border-radius: 20px;
    padding: 40px 30px;
    height: 100%;
    transition: transform 0.3s ease;
    border: 1px solid #333;
}
.card-ingressos-custom:hover { transform: translateY(-10px); background-color: #0022ff !important; }
.italic-text { font-style: italic; font-weight: 300; }

/* Modal Palestrantes */
.palestrante-modal .modal-dialog { max-width: 960px; }
.palestrante-modal-img { height: 480px; object-fit: cover; }
.palestrante-modal-info { padding: 64px 56px; }
.palestrante-modal-title { font-size: 56px; line-height: .9; }
.palestrante-modal-bio { max-width: 320px; line-height: 1.15; }
.palestrante-modal-bio p:last-child { margin-bottom: 0; }


.bg-footer-curve {
    background-image: url("https://tssummit.com.br/wp-content/uploads/2026/04/detalhe-footer1.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-color: #000;
    position: relative;
    overflow: hidden;
}

#footer {
    /* Garante que nada nessa seção quebre o layout */
    margin-bottom: 0 !important; 
    padding-bottom: 50px; /* Dá espaço para a onda respirar na base */
}

/* Garante que o texto fique por cima do background */
#footer .container {
    position: relative;
    z-index: 10; 
}
.footer-bottom { background-color: #2d2d2d !important; padding: 40px 0; }

/* Vídeo Pulse */
.pulse { animation: pulse-anim 2s infinite; }
@keyframes pulse-anim {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.7; }
}

/* ==========================================================================
   4. MEDIA QUERIES (RESPONSIVIDADE)
   ========================================================================== */

/* MOBILE: Até 480px */
@media (max-width: 480px) {
     .img-banner-responsive {
        content: url("https://tssummit.com.br/wp-content/uploads/2026/05/capa-mobile-nova.png") !important;
    }
    .navbar .rounded-4, #inicio .rounded-4 { border-radius: 0 !important; }
    
    /* Espaçamentos e Grid */
    .py-5 { padding-top: 25px !important; padding-bottom: 20px !important; }
    .pt-5 { padding-top: 20px !important; }
    .pb-5, .mb-5 { padding-bottom: 20px !important; }
    .container { --bs-gutter-x: 2.5rem !important; }

    /* Fontes Mobile */
    .font-16 { font-size: 12px; }
    .font-18 { font-size: 16px; }
    .font-20 { font-size: 16px !important; }
    .font-22 { font-size: 18px; }
    .font-30, .font-32 { font-size: 20px; }
    .font-40 { font-size: 28px; }
    .font-48 { font-size: 24px; }
    .font-60 { font-size: 36px; }
    .font-100 { font-size: 56px; }
    
    #sobre .font-46 { font-size: 28px !important; }
    #sobre .font-38, #patrocinadores .font-38 { font-size: 22px !important; }
    #patrocinadores .font-38 { font-size: 26px !important; }

    /* Backgrounds e Elementos */
    .bg-header {
        background-image: url(https://tssummit.com.br/wp-content/uploads/2026/04/thisone_bannermobile.gif) !important;
        padding-top: 20px;
    }
    .bg-palestrantes { background-image: url(../img/bg-palestrantes-mobile.png); background-size: contain; padding-top: 0; }
    .carrossel-eventos .item img { height: 250px !important; }
    .footer-bottom { text-align: center !important; }
    .imagem { width: 250px !important; }
    .play-icon { width: 80px !important; }
    #footer .img-fluid { max-width: 300px !important; }
    .detalhe-footer {
        width: 180%; /* Aumenta a escala no mobile para cobrir melhor o fundo */
        top: -10%; /* Ajuste fino se necessário para a curvatura não tampar o texto */
    }
    .w-35 { width: 100% !important;}
        /* Forçar Owl Carousel */
    .owl-carousel { display: block !important; opacity: 1 !important; }
    .owl-carousel .owl-item img { width: auto !important; display: inline-block; }
    .bg-footer-curve {
        /* Ajustamos a largura para 100% e a altura automática */
        /* Se a curva ainda estiver muito alta, troque 100% por 110% ou 120% */
        background-size: 100% auto; 
        
        /* Adicionamos um padding maior para empurrar o conteúdo para baixo da curva */
        padding-top: 150px !important; 
        padding-bottom: 80px;
    }
}

@media (max-width: 767px) {
    .palestrante-modal-img { height: 320px; }
    .palestrante-modal-info { padding: 40px 28px; }
    .palestrante-modal-title { font-size: 38px; }
    .palestrante-modal-bio { max-width: none; }
}

/* DESKTOP: A partir de 992px */
@media (min-width: 992px) {
     .img-banner-responsive {
        content: url("https://tssummit.com.br/wp-content/uploads/2026/05/capa-nova.png") !important;
    }
    .bg-header { background-image: url(../img/bg-header.png); margin-top: 40px; background-size: cover; }
    .bg-palestrantes { background-image: url(../img/bg-palestrantes.png); background-size: contain; background-position: center; background-repeat: no-repeat; }
    
    .bg-footer-curve {
        /* Ajustamos a largura para 100% e a altura automática */
        /* Se a curva ainda estiver muito alta, troque 100% por 110% ou 120% */
        background-size: 100% auto; 
        
        /* Adicionamos um padding maior para empurrar o conteúdo para baixo da curva */
        padding-top: 150px !important; 
        padding-bottom: 80px;
    }

    #footer .container {
        /* Garante que o texto desça para a parte preta após a onda azul */
        margin-top: 50px; 
    }
}

/* TABLET ESPECÍFICO: Entre 768px e 991px */
@media (min-width: 768px) and (max-width: 991px) {
    .img-banner-responsive {
        content: url("https://tssummit.com.br/wp-content/uploads/2026/05/capa-ipad-nova.png") !important;
    }
    #ingressos .col-xl-9 {
        max-width: 720px;
    }

    /* Cards com mais respiro interno */
    .card-ingressos-custom {
        padding: 25px 15px !important;
    }

    /* Título menor e mais proporcional */
    .card-ingressos-custom h3 {
        font-size: 22px !important;
        line-height: 1.2;
    }

    /* Imagem menor (evita esmagamento) */
    .card-ingressos-custom img {
        max-width: 140px !important;
        margin-bottom: 10px !important;
    }

    /* Descrição mais compacta */
    .card-ingressos-custom .font-18 {
        font-size: 13px !important;
        line-height: 1.3;
    }

    /* Preços mais equilibrados */
    .card-ingressos-custom .font-24 {
        font-size: 18px !important;
    }

    .card-ingressos-custom .font-14 {
        font-size: 11px !important;
    }

    /* Espaçamento das divisões */
    .card-ingressos-custom .border-bottom {
        padding-bottom: 10px !important;
        margin-bottom: 10px;
    }

    /* Botão mais proporcional */
    .card-ingressos-custom .btn {
        font-size: 12px;
        padding: 6px 18px !important;
    }

    /* Espaço entre os cards */
    #ingressos .row.g-4 {
        gap: 10px;
    }
    
    .bg-footer-curve {
        background-size: cover;}
    .w-35 { width: 60% !important; }
    .card-ingressos-custom { padding: 25px !important; }
}

/* TABLET E LAPTOPS PEQUENOS: A partir de 481px */
@media (min-width: 480px) {
    .card-ingressos-custom .font-18 { font-size: 14px !important; }
    .card-ingressos-custom .font-14 { font-size: 12px !important; }
    .card-ingressos-custom .font-20 { font-size: 16px !important; }
    .card-ingressos-custom .btn { padding: 0.5rem 20px !important; font-size: 14px; }
    
    #ingressos .px-3 { padding: 0 !important; }
    #ingressos .font-28 { font-size: 22px !important; }
    #ingressos .font-24 { font-size: 16px !important; }
    #ingressos .font-20, #ingressos .font-14 { font-size: 12px !important; }
    #ingressos .font-18 { font-size: 14px !important; }
    #video .font-24 {font-size: 40px;}
    .py-5 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
    #inicio .font-16 { font-size: 14px !important; }
    .w-35 { width: 60% !important;}
}
