/* Configurações Globais e Variáveis */
:root {
    --background-color: #121212;
    --primary-color: #FFD700; /* Amarelo Dourado */
    --text-color: #F5F5F5;
    --card-color: #1E1E1E;
    --border-radius: 12px;
    --transition-speed: 0.3s;
}

/* Reset Básico e Estilo do Body */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Container Principal */
.container {
    max-width: 680px;
    width: 100%;
    text-align: center;
    padding: 20px;
    background-color: var(--card-color);
    border-radius: var(--border-radius);
    border: 2px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Cabeçalho */
header {
    margin-bottom: 30px;
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    object-fit: cover;
    margin-bottom: 15px;
    transition: transform var(--transition-speed) ease;
    animation: pulse 2s infinite;
}

.profile-pic:hover {
    transform: scale(1.05);
}

header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-color);
}

header .subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* Seção de Links */
.links-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.link-button {
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid var(--primary-color);
    padding: 15px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.link-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    transition: all var(--transition-speed) ease;
    z-index: -1;
}

.link-button:hover:before {
    left: 0;
}

.link-button:hover {
    color: var(--background-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.link-button.primary-button {
    background-color: var(--primary-color);
    color: var(--background-color);
    font-weight: 700;
}

.link-button i {
    font-size: 1.3rem;
}

/* Seção de Biografia */
.bio-section {
    margin-bottom: 30px;
    text-align: left;
    padding: 20px;
    background-color: rgba(0,0,0,0.2);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.bio-section h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.bio-section p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ccc;
}

/* Banner do Curso */
.course-banner {
    margin-bottom: 30px;
}

.banner-image {
    width: 100%;
    border-radius: var(--border-radius);
    border: 2px solid rgba(255, 215, 0, 0.5);
    margin-bottom: 15px;
}

.signature-image {
    max-width: 200px;
    height: auto;
}

/* Formulário de Contato */
.contact-form-section {
    padding: 20px;
    background-color: rgba(0,0,0,0.2);
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.contact-form-section h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-form-section form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form-section input,
.contact-form-section textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 2px solid #555;
    background-color: #333;
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color var(--transition-speed);
}

.contact-form-section input:focus,
.contact-form-section textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form-section button {
    cursor: pointer;
    padding: 15px;
    border-radius: 8px;
    border: none;
    background-color: var(--primary-color);
    color: var(--background-color);
    font-size: 1.1rem;
    font-weight: 700;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.contact-form-section button:hover {
    background-color: #ffeb3b; /* Amarelo mais claro */
    transform: scale(1.02);
}

/* Rodapé */
footer {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #888;
}

/* Animação de Pulso para a Foto */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

/* Responsividade */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .container {
        padding: 15px;
    }

    header h1 {
        font-size: 1.8rem;
    }

    .profile-pic {
        width: 100px;
        height: 100px;
    }
}

/* ===================================== */
/* ESTILOS PARA A PÁGINA DE OBRIGADO     */
/* ===================================== */

.thank-you-container {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px; /* Espaçamento entre os itens */
    min-height: 300px;
}

.thank-you-container .icon-success {
    font-size: 5rem;
    color: var(--primary-color);
    animation: pop-in 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* Animação com efeito "elástico" */
}

.thank-you-container h1 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-top: 10px;
    margin-bottom: 0;
}

.thank-you-container p {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.5;
}

.thank-you-container .redirect-info {
    font-size: 0.9rem;
    color: #888;
    margin-top: 20px;
}

/* Animação para o ícone de sucesso */
@keyframes pop-in {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
