/*
 Theme Name:   Emescam Portal
 Description:  Tema filho do DDCreative focado para os portais que possuem apenas controle de envio de trabalhos.
 Author:       DDCreative
 Template:     ddcreative
 Version:      1.0.0
 Text Domain:  emescam-portal
*/

/* ==========================================================================
   Modo de Manutenção
   ========================================================================== */
body.page-manutencao {
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(rgba(0, 47, 0, 0.7), rgba(0, 47, 0, 0.7)),
        url('assets/images/bg-manutencao.png') no-repeat center center fixed;
    background-size: cover;
    color: #ffffff;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-manutencao .maintenance-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-manutencao h1 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-manutencao p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.page-manutencao .icon-gear {
    font-size: 60px;
    margin-bottom: 20px;
    display: inline-block;
    animation: spin-gear 4s linear infinite;
}

@keyframes spin-gear {
    100% {
        transform: rotate(360deg);
    }
}

.page-manutencao .signature {
    display: inline-block;
    margin-top: 40px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.page-manutencao .signature:hover {
    color: #ffffff;
}

/* ==========================================================================
   Variáveis Globais (Padrão DDCreative)
   ========================================================================== */
:root {
    --color-primary: #002F00;
    /* Verde escuro EMESCAM corrigido */
    --color-primary-hover: #001a00;
    --color-primary-dark: #002200;
    /* Verde escuro complementar */
    --color-accent: #78E580;
    --color-accent-hover: #5ad162;
    --color-surface-bg: #FFFFFF;
    --color-text-main: #333333;
    --color-text-dark: #111111;
    --color-text-light: #666666;
    --color-bg-light: #F7F9FA;
    --color-white: #ffffff;
    --color-border: #EAEAEA;

    --font-main: 'Anek Kannada', 'Inter', 'Segoe UI', sans-serif;
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-header: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-bottom: 0 -2px 10px rgba(0, 0, 0, 0.05);

    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--color-text-main);
    background-color: var(--color-bg-light);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    transition: all var(--transition-fast);
}

/* ==========================================================================
   Header Desktop
   ========================================================================== */
.site-header {
    background: var(--color-white);
    box-shadow: var(--shadow-header);
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
}

@media screen and (min-width: 783px) {
    body.admin-bar .site-header {
        top: 32px;
    }
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.site-logo .custom-logo-link strong,
.site-logo .text-logo strong {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.5px;
}

.site-logo img {
    max-height: 50px;
    width: auto;
}

/* Navegação Principal Desktop */
.desktop-nav {
    display: flex;
    align-items: center;
}

.desktop-nav .main-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.desktop-nav .main-menu li {
    position: relative;
}

.desktop-nav .main-menu a {
    color: var(--color-text-main);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 28px 0;
    display: inline-block;
    letter-spacing: 0.5px;
}

.desktop-nav .main-menu a:hover,
.desktop-nav .main-menu .current-menu-item>a {
    color: var(--color-primary);
}

/* Linha ativa sob o menu (como no print) */
.desktop-nav .main-menu .current-menu-item>a::after,
.desktop-nav .main-menu a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 3px 3px 0 0;
}

/* Right Side Desktop */
.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-light);
}

.language-switcher a {
    color: var(--color-text-light);
}

.language-switcher a:hover {
    color: var(--color-primary);
}

.language-switcher .sep {
    color: #ccc;
    font-weight: 300;
}

/* Botões */
.desktop-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-painel {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(0, 59, 35, 0.2);
}

.btn-painel:hover {
    background-color: var(--color-primary-hover);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 59, 35, 0.3);
}

.btn-login-logout {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-light);
    font-size: 14px;
    font-weight: 500;
}

.btn-login-logout .icon {
    font-size: 16px;
}

.btn-login-logout:hover {
    color: var(--color-primary);
}

.btn-login-logout[aria-label="Sair"]:hover {
    color: #d93025;
    /* Cor de atenção para sair */
}

/* Esconder elementos mobile por padrão */
.mobile-bottom-bar,
.mobile-sidebar,
.sidebar-overlay {
    display: none;
}

/* ==========================================================================
   Mobile Responsive (Max 1024px)
   ========================================================================== */
@media (max-width: 1024px) {

    /* Esconder elementos desktop */
    .desktop-nav,
    .desktop-buttons {
        display: none;
    }

    .site-header {
        position: sticky;
        top: 0;
        left: 0;
        z-index: 1000;
    }

    .header-container {
        height: 70px;
    }

    .site-content {
        padding-bottom: 70px;
        /* Espaço para a barra inferior no mobile */
    }

    /* Mostrar barra inferior */
    .mobile-bottom-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: var(--color-white);
        box-shadow: var(--shadow-bottom);
        z-index: 1000;
        height: 65px;
        justify-content: space-around;
        align-items: center;
    }

    .bottom-bar-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        color: var(--color-text-light);
        background: none;
        border: none;
        cursor: pointer;
        font-family: var(--font-main);
    }

    .bottom-bar-item.active {
        color: var(--color-primary);
    }

    .bottom-bar-item span[class^="icon-"] {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        height: 24px;
        /* Fixa uma altura pra garantir alinhamento do SVG */
        margin-bottom: 4px;
    }

    .bottom-bar-item span.label {
        font-size: 11px;
        font-weight: 600;
    }

    /* Mostrar Sidebar */
    .mobile-sidebar {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: -300px;
        width: 280px;
        height: 100vh;
        background: var(--color-white);
        z-index: 2000;
        transition: left var(--transition-medium);
        box-shadow: var(--shadow-medium);
    }

    .mobile-sidebar.active {
        left: 0;
    }

    .sidebar-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1999;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-medium);
        backdrop-filter: blur(3px);
    }

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

    .sidebar-header {
        padding: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid var(--color-border);
    }

    .sidebar-logo {
        font-size: 20px;
        color: var(--color-primary);
    }

    .close-sidebar {
        background: none;
        border: none;
        font-size: 24px;
        color: var(--color-text-main);
        cursor: pointer;
        padding: 5px;
    }

    .sidebar-nav {
        flex: 1;
        overflow-y: auto;
        padding: 20px;
    }

    .mobile-menu-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-menu-list li {
        margin-bottom: 15px;
    }

    .mobile-menu-list a {
        color: var(--color-primary);
        /* Como no print do mobile, menu verde */
        font-size: 16px;
        font-weight: 700;
        text-transform: uppercase;
        display: block;
        padding: 10px 0;
    }

    .sidebar-footer {
        padding: 20px;
        border-top: 1px solid var(--color-border);
        background: #fcfcfc;
    }

    .sidebar-footer .social-icons {
        display: flex;
        gap: 15px;
        margin-bottom: 15px;
    }

    .sidebar-footer .social-icons a {
        color: var(--color-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(0, 59, 35, 0.05);
        transition: all var(--transition-fast);
    }

    .sidebar-footer .social-icons a:hover {
        background: var(--color-primary);
        color: var(--color-white);
    }

    .sidebar-footer .credits {
        font-size: 12px;
        color: var(--color-text-light);
        margin: 0;
    }

    .sidebar-footer .credits strong {
        color: var(--color-primary);
    }
}



/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: #002300;
    color: var(--color-white);
    padding-top: 60px;
    font-size: 14px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-white);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-logo .emescam-shield {
    fill: var(--color-white);
    color: var(--color-white);
    stroke: none;
}

.brand-desc {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 300px;
}

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

.footer-social a {
    color: var(--color-white);
    transition: opacity var(--transition-fast);
}

.footer-social a:hover {
    opacity: 0.7;
}

.footer-title {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 15px;
}

.footer-menu a {
    color: var(--color-white);
    font-weight: 500;
}

.footer-menu a:hover {
    text-decoration: underline;
}

.footer-col-contact p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-col-contact a {
    color: var(--color-white);
    font-weight: 500;
}

.footer-col-contact .copyright {
    margin-top: 40px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.footer-bottom-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

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

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

@media screen and (max-width: 768px) {
    .site-footer {
        padding-top: 40px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom-container {
        text-align: center;
    }

    .footer-col-contact .copyright {
        margin-top: 20px;
    }
}

/* ==========================================================================
   Home: Hero Section
   ========================================================================== */
.hero-section {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 100px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--color-accent);
    color: var(--color-primary);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-primary);
    border-radius: 50%;
    margin-right: 8px;
}

.hero-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 24px;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 40px;
    }
}

.hero-dates {
    margin-bottom: 36px;
}

.hero-dates .dates-line {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 6px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .hero-dates .dates-line {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .hero-dates .dates-line .sep {
        display: none;
    }
}

.hero-dates .dates-line strong {
    color: var(--color-white);
    font-weight: 700;
}

.hero-dates .dates-line .sep {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.3);
}

.hero-dates .dates-sub {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all var(--transition-medium);
}

.hero-actions .btn-primary {
    background-color: var(--color-accent);
    color: var(--color-primary);
    border: 1px solid var(--color-accent);
}

.hero-actions .btn-primary:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
}

.hero-actions .btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-actions .btn-outline:hover {
    border-color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   Bloco 2: Sobre o Simpósio
   ========================================================================== */
.sobre-section {
    padding: 80px 24px;
    background-color: #FAFAFA;
}

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

.section-heading {
    margin-bottom: 50px;
}

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

.section-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-primary);
    margin: 0 0 15px 0;
}

.section-line {
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
    margin: 0 auto;
    border-radius: 3px;
}

.sobre-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.sobre-card {
    background-color: var(--color-white);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-border);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.sobre-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.sobre-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 25px auto;
    color: var(--color-accent);
    /* Verde neon dos ícones do print */
    display: flex;
    align-items: center;
    justify-content: center;
}

.sobre-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
    /* Deixando o traço mais clean */
}

.sobre-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 15px 0;
}

.sobre-text {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .sobre-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sobre-section {
        padding: 50px 24px;
    }

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

/* ==========================================================================
   Bloco 3: Programação do Congresso
   ========================================================================== */
.prog-home-section {
    padding: 80px 24px;
    background-color: var(--color-surface-bg);
}

.prog-home-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.prog-home-title-area {
    max-width: 600px;
}

.section-title.text-left {
    text-align: left;
}

.section-line.left {
    margin: 0;
}

.prog-home-subtitle {
    margin-top: 20px;
    color: var(--color-text-light);
    font-size: 16px;
}

.prog-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    background-color: var(--color-primary);
    color: var(--color-white);
    border: 1px solid var(--color-primary);
    transition: all var(--transition-medium);
}

.prog-btn:hover {
    background-color: var(--color-primary-hover);
    color: var(--color-white);
}

.prog-home-slider-wrapper {
    position: relative;
    width: 100%;
}

.prog-home-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 10px 0;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* Hide scrollbar for cleaner look */
.prog-home-grid::-webkit-scrollbar {
    display: none;
}

.prog-home-card {
    flex: 0 0 calc(25% - 15px);
    scroll-snap-align: start;
    min-width: 200px;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 40px 20px;
    text-align: center;
    text-decoration: none;
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-soft);
}

.prog-home-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-accent);
}

.prog-card-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-text-main);
    margin: 0 0 15px 0;
}

.prog-card-link {
    font-size: 14px;
    color: var(--color-text-light);
    margin: 0;
}

@media (max-width: 992px) {
    .prog-home-card {
        flex: 0 0 calc(33.333% - 14px);
    }
}

@media (max-width: 768px) {
    .prog-home-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .prog-home-card {
        flex: 0 0 80%;
        /* Mostrar um pedacinho do próximo card */
    }
}

/* ==========================================================================
   Bloco 4: Palestrante de Abertura
   ========================================================================== */
.abertura-section {
    padding: 100px 24px;
    background-color: var(--color-white);
}

.abertura-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.abertura-image {
    flex: 0 0 45%;
}

.abertura-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    display: block;
}

.abertura-content {
    flex: 1;
}

.abertura-badge {
    color: var(--color-accent);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 15px 0;
}

.abertura-title {
    color: var(--color-primary);
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.abertura-cargo {
    color: var(--color-text-main);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 30px 0;
}

.abertura-bio {
    color: var(--color-text-light);
    font-size: 15px;
    line-height: 1.7;
}

.abertura-bio p:last-child {
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .abertura-wrapper {
        gap: 40px;
    }

    .abertura-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .abertura-section {
        padding: 60px 24px;
    }

    .abertura-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .abertura-image {
        flex: 1;
        width: 100%;
        max-width: 400px;
    }
}

/* ==========================================================================
   Bloco 5: Palestrantes
   ========================================================================== */
.d-none {
    display: none !important;
}

.palestrantes-section {
    padding: 80px 24px;
    background-color: var(--color-surface-bg);
}

.palestrantes-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.palestrantes-arrows {
    display: flex;
    gap: 15px;
}

.slider-arrow {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    color: var(--color-primary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-soft);
}

.slider-arrow:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.palestrantes-slider-wrapper {
    position: relative;
    width: 100%;
}

.palestrantes-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 10px 0;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.palestrantes-grid::-webkit-scrollbar {
    display: none;
}

.palestrante-card {
    flex: 0 0 calc(25% - 15px);
    scroll-snap-align: start;
    min-width: 250px;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.palestrante-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.palestrante-card-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.palestrante-card-content {
    padding: 20px;
}

.palestrante-name {
    color: var(--color-primary);
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.palestrante-cargo-mini {
    color: var(--color-accent);
    font-size: 12px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.palestrante-excerpt {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.5;
}

@media (max-width: 992px) {
    .palestrante-card {
        flex: 0 0 calc(33.333% - 14px);
    }
}

@media (max-width: 768px) {
    .palestrantes-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .palestrantes-arrows {
        display: none;
        /* No celular arrasta */
    }

    .palestrante-card {
        flex: 0 0 80%;
    }
}

/* ==========================================================================
   Bloco 6: Patrocinadores
   ========================================================================== */
.patroc-section {
    padding: 80px 24px;
    background-color: var(--color-white);
}

.patroc-section-title {
    color: var(--color-primary);
    font-size: 20px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 50px;
}

.patroc-slider-wrapper {
    position: relative;
    width: 100%;
}

.patroc-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 10px 0;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.patroc-grid::-webkit-scrollbar {
    display: none;
}

.patroc-card {
    flex: 0 0 calc(25% - 15px);
    scroll-snap-align: start;
    min-width: 220px;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.patroc-logo-box {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: var(--color-white);
}

.patroc-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.patroc-card-footer {
    border-top: 1px solid var(--color-border);
    padding: 15px;
    text-align: center;
    background-color: #FAFAFA;
}

.patroc-name {
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 700;
    margin: 0;
}

@media (max-width: 992px) {
    .patroc-card {
        flex: 0 0 calc(33.333% - 14px);
    }
}

@media (max-width: 768px) {
    .patroc-card {
        flex: 0 0 70%;
    }
}

/* ==========================================================================
   Bloco 7: Dúvidas e Contato
   ========================================================================== */
.duvidas-section {
    padding: 100px 24px;
    background-color: var(--color-surface-bg);
}

.duvidas-title {
    color: var(--color-black);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
}

.duvidas-subtitle {
    color: var(--color-text-light);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.duvidas-contacts {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.duvidas-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-black);
    font-weight: 800;
    font-size: 16px;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.duvidas-link:hover {
    color: var(--color-primary);
}

.duvidas-link svg {
    transition: transform var(--transition-fast);
}

.duvidas-link:hover svg {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .duvidas-section {
        padding: 40px 24px;
    }

    .duvidas-title {
        font-size: 26px;
    }

    .duvidas-contacts {
        flex-direction: column;
        gap: 20px;
    }
}

/* ==========================================================================
   Page Hero (Notícias / Arquivo)
   ========================================================================== */
.page-hero-section {
    background-color: var(--color-primary);
    padding: 80px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.page-hero-badge {
    display: inline-block;
    color: #00FF33;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.page-hero-title {
    color: var(--color-white);
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
}

.page-hero-subtitle {
    color: var(--color-white);
    font-size: 16px;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.9;
}

/* ==========================================================================
   Listagem de Notícias (Grid, Filtros, Cards)
   ========================================================================== */
.news-list-section {
    padding: 60px 24px;
    background-color: var(--color-bg-light);
    /* #F7F9FA */
}

/* Barra de Filtro */
.news-filter-box {
    background-color: var(--color-white);
    border-left: 4px solid var(--color-primary);
    border-radius: 4px;
    padding: 15px 25px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 40px;
}

#news-filter-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.filter-inputs {
    display: flex;
    gap: 15px;
    flex-grow: 1;
}

#news-search,
#news-category {
    padding: 12px 15px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 14px;
    flex: 1;
    color: var(--color-text-main);
    background-color: var(--color-white);
    outline: none;
}

#news-search:focus,
#news-category:focus {
    border-color: var(--color-primary);
}

.btn-filter {
    padding: 12px 25px;
    white-space: nowrap;
}

/* Grid de Posts */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    transition: opacity 0.3s ease;
}

/* Cards */
.news-card {
    background-color: var(--color-white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.news-card:hover {
    border-color: var(--color-border);
    transform: translateY(-5px);
}

.news-tag {
    display: inline-block;
    align-self: flex-start;
    background-color: #E8F5E9;
    color: var(--color-primary);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.news-title {
    color: var(--color-text-main);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
}

.news-date {
    color: var(--color-text-light);
    font-size: 12px;
    margin-bottom: 25px;
    flex-grow: 1;
}

.news-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 14px;
    border-radius: 4px;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.news-btn:hover {
    background-color: var(--color-primary-hover);
    color: var(--color-white);
}

/* Paginação */
.news-pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.news-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.news-pagination .page-numbers:hover {
    background-color: var(--color-border);
}

.news-pagination .page-numbers.current {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

/* Responsividade */
@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    #news-filter-form {
        flex-direction: column;
    }

    .filter-inputs {
        flex-direction: column;
        width: 100%;
    }

    .btn-filter {
        width: 100%;
    }

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

/* ==========================================================================
   Modais (Programação e Palestrante)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: var(--color-white);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
}

.modal-header {
    padding: 24px 30px;
    border-bottom: 2px solid var(--color-accent);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 22px;
    color: var(--color-primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: var(--color-text-light);
    cursor: pointer;
    padding: 0;
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
}

.prog-items {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

/* Modal Palestrante Específico */
.modal-speaker {
    max-width: 800px;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-speaker-close {
    background-color: white;
    color: #333;
    z-index: 10;
    right: 15px;
    top: 15px;
    box-shadow: var(--shadow-soft);
}

.speaker-modal-layout {
    display: flex;
    max-height: 80vh;
    /* Permite scroll no bio */
}

.speaker-modal-left {
    flex: 0 0 45%;
}

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

.speaker-modal-right {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.speaker-modal-right h2 {
    color: var(--color-primary);
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 10px 0;
}

.speaker-bio-scroll {
    overflow-y: auto;
    padding-right: 15px;
    color: var(--color-text-light);
    line-height: 1.7;
    font-size: 15px;
}

.speaker-bio-scroll::-webkit-scrollbar {
    width: 6px;
}

.speaker-bio-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.speaker-bio-scroll::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .modal-content {
        max-height: 85vh;
    }

    .speaker-modal-layout {
        flex-direction: column;
        overflow-y: auto;
    }

    .speaker-modal-left {
        height: 300px;
        flex: none;
    }

    .speaker-modal-right {
        padding: 24px;
    }

    .speaker-bio-scroll {
        overflow-y: visible;
        /* Scroll vai para o layout inteiro no mobile */
        padding-right: 0;
    }
}

.prog-day-group {
    margin-bottom: 30px;
}

.prog-day-group:last-child {
    margin-bottom: 0;
}

.prog-day-title {
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 16px;
    font-weight: 700;
    padding: 12px 20px;
    margin: 0 0 16px 0;
    border-radius: 4px;
}

.prog-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prog-card {
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-accent);
    border-radius: 4px;
    padding: 16px;
    background: var(--color-white);
}

.prog-time {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-accent-hover);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.prog-title {
    font-size: 15px;
    color: var(--color-text-main);
    font-weight: 500;
}

/* ==========================================================================
   Página de Contato
   ========================================================================== */
.contact-page-section {
    padding: 60px 24px;
    background-color: var(--color-bg-light);
    /* #F7F9FA */
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: flex-start;
}

/* Coluna Esquerda: Informações */
.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-info-block {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 15px;
}

.contact-info-block:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-info-title {
    color: var(--color-primary);
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
}

.contact-info-text {
    color: var(--color-text-light);
    font-size: 15px;
    line-height: 1.6;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-info-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text-light);
    font-size: 15px;
}

.contact-info-list li svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

.contact-info-list li a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-list li a:hover {
    color: var(--color-primary);
}

.contact-info-hours {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-light);
    font-size: 15px;
}

.contact-social {
    display: flex;
    gap: 20px;
    margin-top: -10px;
}

.contact-social a {
    color: var(--color-primary);
    transition: transform 0.3s ease;
    display: inline-flex;
}

.contact-social a:hover {
    transform: translateY(-3px);
}

/* Coluna Direita: Formulário Card */
.contact-form-col {
    width: 100%;
}

.contact-form-card {
    background-color: var(--color-white);
    border-radius: 8px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
}

/* Estilização para o DD Form (Grid e Campos) */
.contact-form-card .dd-form-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
    row-gap: 25px;
    margin-bottom: 25px;
}

.contact-form-card .dd-field-group {
    display: flex;
    flex-direction: column;
}

/* O campo de textarea (Mensagem) ocupa 100% da largura (duas colunas) */
.contact-form-card .dd-field-group:has(textarea) {
    grid-column: 1 / -1;
}

/* Ocultar visualmente as labels (Screen Reader Only) para garantir acessibilidade */
.contact-form-card .dd-field-group label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.contact-form-card input[type="text"],
.contact-form-card input[type="email"],
.contact-form-card input[type="tel"],
.contact-form-card select,
.contact-form-card textarea {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid var(--color-border);
    background: transparent;
    font-size: 14px;
    color: var(--color-text-main);
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.3s ease;
    font-family: var(--font-main);
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
    border-bottom-color: var(--color-primary);
    box-shadow: none !important;
    outline: none !important;
}

.contact-form-card select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%22%3E%3Cpath%20fill%3D%22%23333%22%20d%3D%22M10.293%203.293L6%207.586%201.707%203.293A1%201%200%2000.293%204.707l5%205a1%201%200%20001.414%200l5-5a1%201%200%2010-1.414-1.414z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 10px;
}

/* Placeholder estilo material (simulado) */
.contact-form-card ::placeholder {
    color: #999;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.contact-form-card button[type="submit"] {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 4px;
    padding: 14px 28px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    align-self: flex-start;
    display: inline-flex;
    width: max-content !important;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.contact-form-card button[type="submit"]::after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='22' y1='2' x2='11' y2='13'%3E%3C/line%3E%3Cpolygon points='22 2 15 22 11 13 2 9 22 2'%3E%3C/polygon%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.contact-form-card button[type="submit"]:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
}

/* Feedback Errors Custom */
.contact-form-card .dd-form-response {
    margin-top: 20px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .contact-form-card .dd-form-fields {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        padding: 24px 20px;
    }
}

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

    .contact-info-block {
        padding-bottom: 25px;
    }
}

/* ==========================================================================
   Dashboard / Painel do Inscrito
   ========================================================================== */
.painel-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}

.painel-sidebar {
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 140px;
    padding: 30px 0 10px 0;
    overflow: hidden;
    z-index: 10;
}

.painel-user-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px 20px 20px;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 20px;
}

.painel-user-profile img {
    border-radius: 50%;
    margin-bottom: 15px;
    border: 2px solid var(--color-primary);
    padding: 2px;
}

.painel-user-profile h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--color-text-dark);
}

.painel-user-profile p {
    font-size: 12px;
    color: #999;
    margin-bottom: 15px;
}

.user-role-badge {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.painel-menu {
    display: flex;
    flex-direction: column;
}

.painel-menu a {
    padding: 15px 30px;
    font-size: 14px;
    color: var(--color-text-main);
    font-weight: 500;
    border-left: 4px solid transparent;
    transition: all 0.2s ease;
}

.painel-menu a:hover {
    background-color: #F8F9FA;
    color: var(--color-primary);
}

.painel-menu a.active {
    background-color: #F4F7F6;
    color: var(--color-primary);
    border-left-color: var(--color-primary);
    font-weight: 700;
}

.painel-menu a.logout-link {
    color: #E74C3C;
    border-top: 1px solid var(--color-border);
    margin-top: 10px;
}

.painel-menu a.logout-link:hover {
    background-color: #FDEDEC;
    border-left-color: #E74C3C;
}

.painel-content-area {
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    padding: 40px;
    min-height: 500px;
}

.painel-content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.painel-content-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary-dark);
}

@media (max-width: 992px) {
    .painel-grid {
        grid-template-columns: 1fr;
    }

    .painel-sidebar {
        position: relative;
        top: 0;
    }

    .painel-content-area {
        padding: 24px 15px;
    }

    .aba-submissao-grid,
    .minicursos-grid,
    .conta-pass-grid {
        grid-template-columns: 1fr !important;
    }

    .aba-form-area,
    .aba-sidebar-right,
    .aba-conta-form,
    .aba-suporte-form {
        padding: 20px !important;
    }

    .aba-gerais-top input {
        width: 100% !important;
    }
}

/* ==========================================================================
   Google Translate Fixes
   ========================================================================== */
body>.skiptranslate {
    display: none !important;
    height: 0 !important;
    visibility: hidden !important;
}

body>#wpadminbar {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
}

.goog-te-banner-frame,
iframe.skiptranslate,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf-ti6hGc,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    opacity: 0 !important;
    position: absolute !important;
    top: -9999px !important;
}

body {
    top: 0px !important;
    position: static !important;
}

html.translated-ltr,
html.translated-ltr body,
html.translated-rtl,
html.translated-rtl body {
    margin-top: 0 !important;
    padding-top: 0 !important;
    top: 0 !important;
    position: static !important;
}

.goog-text-highlight {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}