/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
}

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(30, 58, 138, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 40px;
    width: auto;
    background: transparent;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a8a;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #1e3a8a;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1e3a8a;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
    overflow: hidden;
    padding-top: 80px; /* Espaço para o header fixo */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-top: 6rem;
}

.hero-text {
    color: white;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.highlight {
    background: linear-gradient(45deg, #00ff88, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.event-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.event-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.event-icon {
    font-size: 1.5rem;
}

.event-text {
    font-size: 0.875rem;
    line-height: 1.4;
}

.countdown-container {
    margin-bottom: 2rem;
}

.countdown-title {
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.countdown {
    display: flex;
    gap: 1rem;
}

.countdown-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 80px;
}

.countdown-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.countdown-label {
    font-size: 0.75rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
}

.hero-img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
    object-fit: cover;
}

.hero-img:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: linear-gradient(45deg, #00ff88, #60a5fa);
    color: #1f2937;
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.3);
}

.cta-button.full-width {
    width: 100%;
    justify-content: center;
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    text-align: center;
    margin-bottom: 3rem;
}

.section-header {
    margin-bottom: 4rem;
}

/* Temas Section */
.temas {
    padding: 6rem 0;
    background: #f8fafc;
}

.temas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tema-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 58, 138, 0.1);
}

.tema-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(30, 58, 138, 0.15);
}

.tema-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #1e3a8a, #3b82f6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.tema-icon img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

.tema-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.tema-description {
    color: #6b7280;
    line-height: 1.6;
}

.exclusivo-badge {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(45deg, #1e3a8a, #3b82f6);
    border-radius: 16px;
    color: white;
}

.exclusivo-text {
    font-size: 1.125rem;
    font-weight: 600;
}

/* Público-Alvo Section */
.publico-alvo {
    padding: 6rem 0;
    background: white;
}

.publico-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.publico-text .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.publico-intro {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.publico-list {
    list-style: none;
}

.publico-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(45deg, #00ff88, #60a5fa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1f2937;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.publico-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(30, 58, 138, 0.15);
}

/* Formulário Section */
.inscricao {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.inscricao-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(30, 58, 138, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.inscricao-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-input {
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-group.horizontal {
    flex-direction: row;
    gap: 2rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: #3b82f6;
    background: #3b82f6;
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

/* Bônus Section */
.bonus {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
}

.bonus-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.bonus-header {
    margin-bottom: 2rem;
}

.bonus-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.bonus-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.bonus-offer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #00ff88;
}

.bonus-description {
    font-size: 1.125rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.bonus-note {
    font-size: 1rem;
    opacity: 0.8;
}

/* CTA Section nos blocos */
.cta-section {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
}

/* Footer */
.footer {
    background: white;
    color: #1f2937;
    padding: 2rem 0;
    border-top: 1px solid #e5e7eb;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo-img {
    height: 32px;
    width: auto;
    background: transparent;
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

.footer-text {
    text-align: right;
    opacity: 0.8;
    color: #6b7280;
}

.footer-text p {
    margin-bottom: 0.25rem;
}

/* Estilos para alertas e validação */
.alert {
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    border-radius: 8px;
    font-weight: 500;
    animation: slideIn 0.3s ease-out;
}

.alert-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: 1px solid #059669;
}

.alert-error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: 1px solid #dc2626;
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-icon {
    font-size: 1.25rem;
}

.alert-message {
    flex: 1;
}

/* Validação de campos */
.form-group input.error,
.form-group select.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group input.success,
.form-group select.success {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.field-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

/* Loading spinner */
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-right: 0.5rem;
}

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

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

/* Estados do botão de envio */
.cta-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.cta-button:disabled:hover {
    transform: none;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

/* R/* Palestrante Section */
.palestrante {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.palestrante-content {
    max-width: 900px;
    margin: 0 auto;
}

.palestrante-header {
    text-align: center;
    margin-bottom: 3rem;
}

.palestrante-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(30, 58, 138, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.palestrante-info {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.palestrante-avatar {
    flex-shrink: 0;
}

.avatar-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.3);
}

.avatar-initials {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.palestrante-details {
    flex: 1;
}

.palestrante-nome {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 0.5rem;
}

.palestrante-cargo {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.palestrante-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.palestrante-bio {
    margin-bottom: 2rem;
}

.bio-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 1rem;
}

.bio-text strong {
    color: #1e3a8a;
}

.palestrante-cases {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.cases-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.cases-list {
    display: grid;
    gap: 0.75rem;
}

.case-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.case-company {
    font-weight: 700;
    color: #1e3a8a;
    min-width: 120px;
}

.case-description {
    color: #64748b;
    font-size: 0.95rem;
}

.palestrante-linkedin {
    text-align: center;
    margin-top: 2rem;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 119, 181, 0.3);
}

.linkedin-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 119, 181, 0.4);
}

.linkedin-link svg {
    width: 20px;
    height: 20px;
}

/* Responsivo */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .palestrante-card {
        padding: 1.5rem;
    }
    
    .palestrante-info {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .palestrante-badges {
        justify-content: center;
    }
    
    .case-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .case-company {
        min-width: auto;
    }
    
    .header {
        padding: 0.5rem 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
        padding: 0.75rem 0;
    }
    
    .nav {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .hero {
        padding-top: 120px; /* Mais espaço no mobile para header com 2 linhas */
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding-top: 2rem; /* Reduz padding interno */
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .event-info {
        grid-template-columns: 1fr;
    }
    
    .countdown {
        justify-content: center;
    }
    
    .countdown-item {
        min-width: 60px;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .temas-grid {
        grid-template-columns: 1fr;
    }
    
    .publico-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .publico-text .section-title {
        text-align: center;
    }
    
    .inscricao-content {
        padding: 2rem;
        margin: 0 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .radio-group.horizontal {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-text {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .inscricao-content {
        padding: 1.5rem;
    }
}

/* Erro em radio buttons */
.radio-group.radio-error {
    animation: shake 0.5s;
    border: 2px solid #ef4444;
    padding: 10px;
    border-radius: 8px;
    background-color: rgba(239, 68, 68, 0.05);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
    20%, 40%, 60%, 80% { transform: translateX(2px); }
}

