/* HERO EXCLUSIVO DA PÁGINA PALESTRAS */
.palestras-hero {
    min-height: 320px;
    background-size: cover;
}

.palestras-hero .row {
    min-height: 480px;
}

.palestras-hero .page-header-box {
    padding-top: 100px;
    padding-bottom: 20px;
}
/* ---------- Page Header ---------- */

.page-header h1 {
    font-size: 48px !important;
    line-height: 1.15 !important;
    text-align: left !important;
}

.page-header .text-anime-style-3,
.page-header .text-anime-style-3 *,
.page-header .text-anime-style-3 span {
    text-align: left !important;
}

/* ---------- Fotos ---------- */
.foto-placeholder {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.foto-placeholder img,
.foto-placeholder .foto-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border: none;
}

.foto-placeholder:has(img) {
    border: none;
}

#galeria .foto-placeholder {
    padding-bottom: 0 !important;
    height: 380px !important;
}

/* ---------- Vídeo ---------- */

.no-transform {
    text-transform: none !important;
}

.video-placeholder {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: rgba(0,0,0,0.35);
    border: 2px dashed rgba(179, 139, 89, 0.5);
    cursor: pointer;
    transition: border-color 0.3s;
}

.video-placeholder:hover {
    border-color: var(--accent-color);
}

.video-placeholder:has(iframe),
.video-placeholder:has(video) {
    border: none;
}

.video-placeholder-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 20px;
}

.video-play-btn {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background 0.3s;
}

.video-placeholder:hover .video-play-btn {
    transform: scale(1.1);
    background: #c99d6b;
}

.video-play-btn svg {
    width: 26px;
    height: 26px;
    fill: #fff;
    margin-left: 4px;
}

.video-placeholder-label {
    font-family: var(--default-font);
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    text-align: center;
}

.video-placeholder-title {
    font-family: var(--accent-font);
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    max-width: 320px;
}

/* ---------- Hero Stats ---------- */
.palestras-hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.slide-download-btn {
    background: none;   
    border: none;        
    padding: 0;          
    font: inherit;       
    cursor: pointer;     
    outline: none;      
   
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.palestras-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.palestras-stat-number {
    font-family: var(--accent-font);
    font-size: 42px;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
}

.palestras-stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.72);
    font-family: var(--default-font);
    letter-spacing: 0.04em;
}

/* ---------- Temas ---------- */
#temas {
    padding: 90px 0 70px;
    background-color: #fff;
}

.tema-card {
    background: #fff;
    border: 1px solid rgba(179, 139, 89, 0.18);
    padding: 36px 30px 30px;
    position: relative;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tema-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 8px 32px rgba(179, 139, 89, 0.12);
    transform: translateY(-4px);
}

.tema-card-number {
    font-family: var(--accent-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 16px;
    opacity: 0.8;
}

.tema-card-icon {
    width: 52px;
    height: 52px;
    background: rgba(179, 139, 89, 0.08);
    border: 1px solid rgba(179, 139, 89, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.tema-card-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-color);
    fill: none;
    stroke-width: 1.5;
}

.tema-card h3 {
    font-family: var(--accent-font);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.25;
    margin-bottom: 12px;
}

.tema-card p {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

.tema-card-audience {
    margin-top: 18px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.tema-badge {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 3px 10px;
    border: 1px solid rgba(30, 58, 95, 0.2);
    color: var(--accent-secondary-color);
    font-family: var(--default-font);
    background: rgba(30, 58, 95, 0.04);
}

.tema-badge.gold {
    border-color: rgba(179, 139, 89, 0.3);
    color: var(--accent-color);
    background: rgba(179, 139, 89, 0.05);
}

/* ---------- Galeria ---------- */
#galeria {
    padding: 90px 0 70px;
    background-color: var(--primary-color);
}

/* ---------- Slides ---------- */
#slides {
    padding: 90px 0 70px;
    background-color: #fff;
}

.slide-card {
    background: #fff;
    border: 1px solid rgba(179, 139, 89, 0.15);
    transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.slide-card:hover {
    box-shadow: 0 8px 32px rgba(179, 139, 89, 0.1);
    transform: translateY(-4px);
    border-color: var(--accent-color);
}

.slide-cover-placeholder {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: linear-gradient(135deg, #e8ecf0 0%, #d8dfe8 100%);
    border-bottom: 1px solid rgba(179, 139, 89, 0.15);
    overflow: hidden;
}

.slide-cover-placeholder img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-cover-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
}

.slide-cover-icon {
    opacity: 0.3;
}

.slide-cover-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--primary-color);
    fill: none;
    stroke-width: 1.5;
}

.slide-cover-label {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--primary-color);
    opacity: 0.45;
    text-align: center;
    font-family: var(--default-font);
}

.slide-card-body {
    padding: 22px 22px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.slide-card-tag {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-color);
    font-family: var(--default-font);
    margin-bottom: 8px;
    font-weight: 600;
}

.slide-card h3 {
    font-family: var(--accent-font);
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: 10px;
}

.slide-card p {
    font-size: 13px;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0 0 16px;
    flex: 1;
}

.slide-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-family: var(--default-font);
    font-weight: 600;
    color: var(--accent-color);
    text-decoration: none;
    border-top: 1px solid rgba(179, 139, 89, 0.15);
    padding-top: 16px;
    margin-top: auto;
    transition: color 0.3s, gap 0.3s;
}

.slide-download-btn:hover {
    color: var(--primary-color);
    gap: 12px;
}

.slide-download-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* ---------- O que você vai levar ---------- */
#o-que-vai-levar {
    padding: 90px 0 70px;
    background-color: var(--bg-color);
}

.entregar-item {
    background: #fff;
    border: 1px solid rgba(179, 139, 89, 0.15);
    border-top: 3px solid var(--accent-color);
    padding: 32px 28px;
    height: 100%;
    transition: box-shadow 0.3s, transform 0.3s;
}

.entregar-item:hover {
    box-shadow: 0 8px 32px rgba(179, 139, 89, 0.1);
    transform: translateY(-4px);
}

.entregar-icon {
    width: 48px;
    height: 48px;
    background: rgba(179, 139, 89, 0.07);
    border: 1px solid rgba(179, 139, 89, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.entregar-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent-color);
    fill: none;
    stroke-width: 1.5;
}

.entregar-item h3 {
    font-family: var(--accent-font);
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: 10px;
}

.entregar-item p {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.65;
    margin: 0;
}

/* ---------- Modal de Download ---------- */
.download-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 30, 50, 0.75);
    backdrop-filter: blur(5px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.download-modal-overlay.show-modal {
    display: flex;
}

.download-modal-box {
    background-color: #fff;
    width: 90%;
    max-width: 460px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideModalIn 0.3s ease-out;
    border-top: 4px solid var(--accent-color);
}

@keyframes slideModalIn {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.download-modal-header {
    background-color: var(--primary-color);
    padding: 28px 30px 24px;
}

.download-modal-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.download-modal-logo span {
    font-family: var(--accent-font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-color);
}

.download-modal-header h3 {
    font-family: var(--accent-font);
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
    line-height: 1.25;
}

.download-modal-header p {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    margin: 0;
    line-height: 1.5;
}

.download-modal-body {
    padding: 28px 30px 30px;
}

.download-modal-talk {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(179, 139, 89, 0.06);
    border: 1px solid rgba(179, 139, 89, 0.2);
    border-left: 3px solid var(--accent-color);
    padding: 12px 14px;
    margin-bottom: 22px;
}

.download-modal-talk span {
    font-size: 13px;
    color: var(--primary-color);
    font-family: var(--default-font);
    font-weight: 500;
}

.download-modal-body label {
    display: block;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-family: var(--default-font);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

#leadEmail {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid rgba(30, 58, 95, 0.2);
    font-size: 15px;
    font-family: var(--default-font);
    color: var(--primary-color);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    border-radius: 0;
    margin-bottom: 16px;
}

#leadEmail:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(179, 139, 89, 0.1);
}

.submit-modal-btn {
    width: 100%;
    padding: 14px;
    background-color: var(--accent-color);
    color: #fff;
    border: none;
    font-family: var(--accent-font);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    border-radius: 0;
}

.submit-modal-btn:hover {
    background-color: #c99d6b;
    transform: translateY(-1px);
}

.download-modal-privacy {
    font-size: 11px;
    color: rgba(74, 74, 74, 0.6);
    text-align: center;
    margin-top: 14px;
    font-family: var(--default-font);
}

.close-modal-x {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 26px;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.close-modal-x:hover {
    color: #fff;
}

.slide-download-btn {
    cursor: pointer;
    border: none;
    width: 100%;
    background: none;
    text-align: left;
}

/* ---------- CTA ---------- */
#solicitar-palestra {
    background-color: var(--primary-color);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

#solicitar-palestra::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../images/dark-section-bg-image.png');
    background-size: cover;
    opacity: 0.15;
}

.cta-palestra-box {
    position: relative;
    z-index: 2;
}

.cta-palestra-box .section-sub-title {
    color: var(--accent-color);
}

.cta-palestra-box h2 {
    color: #fff;
}

.cta-palestra-box p {
    color: rgba(255,255,255,0.72);
    max-width: 560px;
}

.cta-palestra-cards {
    position: relative;
    z-index: 2;
}

.cta-option-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 32px 28px;
    transition: background 0.3s, border-color 0.3s;
    height: 100%;
}

.cta-option-card:hover {
    background: rgba(179, 139, 89, 0.08);
    border-color: rgba(179, 139, 89, 0.4);
}

.cta-option-card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
}

.cta-option-card-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--accent-color);
    fill: none;
    stroke-width: 1.5;
}

.cta-option-card h3 {
    font-family: var(--accent-font);
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.cta-option-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin-bottom: 22px;
}

.cta-option-card .btn-default {
    display: inline-block;
    width: 100%;
    text-align: center;
}

/* ---------- Depoimentos ---------- */
#depoimentos {
    padding: 90px 0 70px;
    background: var(--bg-color);
}

.depoimento-card {
    background: #fff;
    border: 1px solid rgba(179, 139, 89, 0.15);
    padding: 32px 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: box-shadow 0.3s;
}

.depoimento-card:hover {
    box-shadow: 0 6px 24px rgba(179, 139, 89, 0.1);
}

.depoimento-quote {
    font-size: 36px;
    color: var(--accent-color);
    line-height: 1;
    font-family: var(--accent-font);
    opacity: 0.6;
}

.depoimento-text {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-color);
    font-style: italic;
    flex: 1;
    margin: 0;
}

.depoimento-author {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid rgba(179, 139, 89, 0.15);
    padding-top: 16px;
    margin-top: auto;
}

.depoimento-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(179, 139, 89, 0.1);
    border: 2px solid rgba(179, 139, 89, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.depoimento-avatar svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent-color);
    fill: none;
    stroke-width: 1.5;
}

.depoimento-author-info h4 {
    font-family: var(--accent-font);
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 2px;
}

.depoimento-author-info span {
    font-size: 12px;
    color: var(--accent-color);
    letter-spacing: 0.05em;
}

#leadPhone {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid rgba(30, 58, 95, 0.2);
    font-size: 15px;
    font-family: var(--default-font);
    color: var(--primary-color);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    margin-bottom: 16px;
}

#leadPhone:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(179, 139, 89, 0.1);
}

/* ---------- Formato ---------- */
#formato {
    padding: 90px 0 70px;
    background: var(--bg-color);
}

.formato-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 28px 0;
    border-bottom: 1px solid rgba(179, 139, 89, 0.12);
}

.formato-item:last-child {
    border-bottom: none;
}

.formato-icon {
    width: 52px;
    height: 52px;
    background: rgba(179, 139, 89, 0.07);
    border: 1px solid rgba(179, 139, 89, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.formato-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-color);
    fill: none;
    stroke-width: 1.5;
}

.formato-content h3 {
    font-family: var(--accent-font);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
}

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

/* ---------- Rodapé ---------- */
.main-footer-royal {
    background-color: var(--accent-color) !important;
}

.main-footer-royal p,
.main-footer-royal a,
.main-footer-royal li,
.main-footer-royal h3,
.main-footer-royal span {
    color: #fff !important;
}

.main-footer-royal a:hover,
.main-footer-royal .footer-social-links-royal ul li a:hover,
.main-footer-royal .footer-links-royal ul li a:hover,
.main-footer-royal .footer-contact-list-royal ul li a:hover {
    color: var(--accent-secondary-color) !important;
}

.main-footer-royal .footer-social-links-royal ul li a svg {
    fill: #fff;
    transition: fill 0.3s;
}

.main-footer-royal .footer-social-links-royal ul li a:hover svg {
    fill: var(--accent-secondary-color);
}

.main-footer-royal .footer-copyright-text-royal {
    border-color: rgba(255,255,255,0.2);
}

/* ---------- Responsivo ---------- */
@media (max-width: 768px) {
    .palestras-stat-number { font-size: 30px; }
    .palestras-hero-stats { gap: 24px; }
    #temas, #galeria, #slides, #depoimentos, #formato { padding: 60px 0 40px; }
    #solicitar-palestra { padding: 60px 0; }
}


.main-footer-royal {
    background-color: var(--accent-color) !important; /* dourado */
}

/* Textos e links brancos por padrão */
.main-footer-royal p,
.main-footer-royal a,
.main-footer-royal li,
.main-footer-royal h3,
.main-footer-royal span {
    color: #fff !important;
}

/* Hover azul */
.main-footer-royal a:hover,
.main-footer-royal .footer-social-links-royal ul li a:hover,
.main-footer-royal .footer-links-royal ul li a:hover,
.main-footer-royal .footer-contact-list-royal ul li a:hover {
    color: var(--accent-secondary-color) !important; /* azul */
}

/* Ícones sociais */
.main-footer-royal .footer-social-links-royal ul li a svg {
    fill: #fff;
    transition: fill 0.3s;
}
.main-footer-royal .footer-social-links-royal ul li a:hover svg {
    fill: var(--accent-secondary-color);
}

/* Linha de copyright */
.main-footer-royal .footer-copyright-text-royal {
    border-color: rgba(255,255,255,0.2);
}

/* MODAL*/

#leadName,
#leadEmail,
#leadPhone {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid rgba(30, 58, 95, 0.2);
    font-size: 15px;
    font-family: var(--default-font);
    color: var(--primary-color);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    border-radius: 0;
    margin-bottom: 0px; /* IMPORTANTE: Zerado para o erro não ficar longe */
}


#leadName:focus,
#leadEmail:focus,
#leadPhone:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(179, 139, 89, 0.1);
}

.modal-input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px; /* Espaço uniforme entre os blocos de formulário */
    text-align: left;
}

/* Labels com margem controlada */
.download-modal-body label {
    display: block;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-family: var(--default-font);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

/* 4. Mensagem "Obrigatório*" perfeitamente ajustada e colada ao input */
.erro-mensagem {
    display: none; /* Controlado dinamicamente pelo JS */
    color: #e63946; 
    font-size: 11px;
    font-weight: 500;
    margin-top: 5px; /* Distância sutil logo abaixo da borda do input */
    line-height: 1;
}

/* Toast */
.toast-aviso {
    position: fixed;
    top: -100px; /* Começa escondido acima da tela */
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color, #0f1e32);
    color: #fff;
    padding: 16px 28px;
    font-family: var(--accent-font, sans-serif);
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    border-bottom: 3px solid var(--accent-color, #b38b59);
    z-index: 20000; /* Garante que fica acima de tudo, inclusive do modal */
    transition: top 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s;
    opacity: 0;
    pointer-events: none; /* Não atrapalha cliques se estiver invisível */
    text-align: center;
    white-space: nowrap;
}

/* Classe que o JavaScript vai injetar para mostrar o aviso */
.toast-aviso.mostrar {
    top: 24px; /* Desce para o topo da tela */
    opacity: 1;
}