/* ==============================================================================
   ESTILIZAÇÃO PREMIUM - PALESTRA "O PODER DOS POSTULADOS" COM ROMANO RODRIGUEZ
   Paleta: Azul Marinho Náutico Nobre, Dourado Champagne & Branco Pérola
============================================================================== */

:root {
    --bg-main: #051326;
    --bg-secondary: #0a1d38;
    --bg-card: rgba(13, 34, 61, 0.75);
    --bg-card-hover: rgba(18, 44, 78, 0.85);
    --gold-primary: #c59b27;
    --gold-light: #e5c06e;
    --gold-gradient: linear-gradient(135deg, #c59b27 0%, #ecd089 50%, #c59b27 100%);
    --gold-glow: rgba(197, 155, 39, 0.35);
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --navy-border: rgba(197, 155, 39, 0.25);
    --navy-border-focus: rgba(229, 192, 110, 0.8);
    --navy-dark: #07162c;
    --success: #22c55e;
    --error: #ef4444;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Outfit', sans-serif;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(13, 39, 76, 0.6) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(197, 155, 39, 0.08) 0%, transparent 40%),
        linear-gradient(180deg, #051326 0%, #081b33 50%, #040e1c 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

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

/* Header de Marca */
.site-header {
    padding: 22px 0;
    border-bottom: 1px solid rgba(197, 155, 39, 0.18);
    background: rgba(5, 19, 38, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Seletor de Idiomas / Países */
.lang-selector-group {
    display: inline-flex;
    align-items: center;
    background: rgba(13, 34, 61, 0.9);
    border: 1px solid var(--navy-border);
    border-radius: 50px;
    padding: 3px;
    gap: 4px;
}

.lang-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.lang-pill:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.lang-pill.active {
    background: var(--gold-gradient);
    color: #07162c;
    box-shadow: 0 2px 8px rgba(197, 155, 39, 0.4);
}

@media (max-width: 600px) {
    .lang-pill .lang-label {
        display: none;
    }
    .lang-pill {
        padding: 6px 10px;
        font-size: 14px;
    }
}

.brand-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.brand-anchor {
    font-size: 26px;
    line-height: 1;
    color: var(--gold-light);
    filter: drop-shadow(0 0 8px var(--gold-glow));
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--gold-light);
    text-transform: uppercase;
}

.brand-sub {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.header-btn {
    font-size: 13px;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
}

/* HERO SECTION */
.hero-section {
    padding: 50px 0 70px 0;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
    align-items: start;
}

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

/* Hero Content (Esquerda) */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(197, 155, 39, 0.12);
    border: 1px solid var(--gold-primary);
    color: var(--gold-light);
    width: fit-content;
    box-shadow: 0 0 15px rgba(197, 155, 39, 0.15);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.hero-title .gold-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.speaker-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    background: rgba(13, 34, 61, 0.6);
    border-left: 3px solid var(--gold-primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.speaker-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2px;
}

.speaker-info p {
    font-size: 13px;
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Creative Banner Showcase */
.creative-preview-card {
    background: var(--bg-card);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-md);
    padding: 14px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.creative-img-wrapper {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    transition: var(--transition);
}

.creative-img-wrapper:hover {
    transform: scale(1.01);
    box-shadow: 0 12px 28px rgba(197, 155, 39, 0.25);
}

.creative-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.banner-footer-note {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Event Info Pillars */
.event-info-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 10px;
}

@media (max-width: 600px) {
    .event-info-strip {
        grid-template-columns: 1fr;
    }
}

.info-pillar {
    background: var(--bg-card);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
    transition: var(--transition);
}

.info-pillar:hover {
    border-color: var(--gold-primary);
    transform: translateY(-2px);
    background: var(--bg-card-hover);
}

.pillar-icon {
    font-size: 24px;
    margin-bottom: 6px;
}

.pillar-title {
    font-size: 11px;
    color: var(--gold-light);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}

.pillar-val {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

/* International Times Bar */
.timezone-bar {
    background: rgba(13, 34, 61, 0.8);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.time-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 6px;
    transition: var(--transition);
}

.time-item strong {
    color: var(--gold-light);
    font-size: 15px;
}

.time-item.time-highlighted {
    background: rgba(197, 155, 39, 0.15);
    border: 1px solid var(--gold-primary);
    box-shadow: 0 0 12px rgba(197, 155, 39, 0.2);
}

/* COUNTDOWN TIMER */
.countdown-box {
    background: linear-gradient(180deg, rgba(13, 34, 61, 0.9) 0%, rgba(7, 22, 44, 0.95) 100%);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.countdown-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.timer-unit {
    background: rgba(5, 19, 38, 0.8);
    border: 1px solid rgba(197, 155, 39, 0.2);
    border-radius: var(--radius-sm);
    padding: 12px 6px;
    display: flex;
    flex-direction: column;
}

.timer-num {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--font-heading);
    line-height: 1;
}

.timer-txt {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* FORMULÁRIO DE INSCRIÇÃO (Direita) */
.form-card-container {
    position: sticky;
    top: 90px;
}

.form-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(197, 155, 39, 0.1);
    position: relative;
    overflow: hidden;
}

.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold-gradient);
}

.form-header {
    text-align: center;
    margin-bottom: 24px;
}

.form-header-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold-light);
    margin-bottom: 6px;
    display: block;
}

.form-title {
    font-family: var(--font-heading);
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Estilos de Input */
.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.form-label .required {
    color: var(--gold-light);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: var(--gold-light);
    font-size: 16px;
    pointer-events: none;
    z-index: 1;
}

.form-control {
    width: 100%;
    padding: 13px 14px 13px 42px;
    font-family: var(--font-body);
    font-size: 14px;
    color: #ffffff;
    background: rgba(5, 19, 38, 0.7);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--gold-light);
    background: rgba(5, 19, 38, 0.95);
    box-shadow: 0 0 0 3px var(--gold-glow);
}

.form-control::placeholder {
    color: #64748b;
}

select.form-control {
    appearance: none;
    cursor: pointer;
    padding-right: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23e5c06e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

select.form-control option {
    background-color: var(--navy-dark);
    color: #ffffff;
    padding: 10px;
}

/* Honeypot invisível */
.hp-field {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Aviso de Confirmação Obrigatória */
.email-notice {
    background: rgba(31, 92, 168, 0.15);
    border-left: 3px solid #3b82f6;
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 12px;
    color: #bfdbfe;
    line-height: 1.4;
    margin-bottom: 20px;
}

/* Botão de Submissão */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 15px 28px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--gold-gradient);
    color: #07162c;
    box-shadow: 0 6px 20px rgba(197, 155, 39, 0.4);
    width: 100%;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(197, 155, 39, 0.6);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-secondary {
    background: rgba(13, 34, 61, 0.8);
    border: 1px solid var(--navy-border);
    color: #ffffff;
}

.btn-secondary:hover {
    border-color: var(--gold-light);
    color: var(--gold-light);
}

/* LGPD Security note */
.form-footer-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 14px;
}

/* SEÇÃO DE HIGHLIGHTS & BENEFÍCIOS */
.highlights-section {
    padding: 60px 0;
    border-top: 1px solid rgba(197, 155, 39, 0.15);
    background: rgba(4, 14, 28, 0.5);
}

.section-title-wrap {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px;
}

.section-subtitle {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold-light);
    margin-bottom: 8px;
    display: block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 28px;
    color: #ffffff;
}

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

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-md);
    padding: 30px 24px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-4px);
    background: var(--bg-card-hover);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.feature-card-icon {
    font-size: 32px;
    color: var(--gold-light);
    margin-bottom: 6px;
}

.feature-card-title {
    font-family: var(--font-heading);
    font-size: 18px;
    color: #ffffff;
    font-weight: 600;
}

.feature-card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* SEÇÃO DE PASSO A PASSO */
.steps-section {
    padding: 50px 0 70px 0;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 30px;
    position: relative;
}

@media (max-width: 768px) {
    .steps-container {
        grid-template-columns: 1fr;
    }
}

.step-card {
    background: rgba(13, 34, 61, 0.6);
    border: 1px solid rgba(197, 155, 39, 0.2);
    border-radius: var(--radius-md);
    padding: 26px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: #07162c;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 15px rgba(197, 155, 39, 0.3);
}

.step-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* FOOTER */
.site-footer {
    border-top: 1px solid rgba(197, 155, 39, 0.2);
    background: #030c18;
    padding: 35px 0;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-anchor {
    font-size: 24px;
    color: var(--gold-light);
}

/* MODAL / TOAST */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    max-width: 420px;
    width: 100%;
}

.toast {
    background: #0d223d;
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    color: #ffffff;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    animation: slideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast.toast-success {
    border-color: var(--gold-light);
}

.toast.toast-error {
    border-color: var(--error);
}

.toast-icon {
    font-size: 22px;
    line-height: 1;
}

.toast-body h4 {
    font-size: 15px;
    margin-bottom: 4px;
    color: #ffffff;
}

.toast-body p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Spinner no botão */
.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(7, 22, 44, 0.3);
    border-top-color: #07162c;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
