:root {
    --gold: #c5a059;
    --dark: #121212;
    --dark-grey: #1e1e1e;
    --white: #ffffff;
    --text-muted: #b3b3b3;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark);
    color: var(--white);
    line-height: 1.6;
}

.container { width: 90%; max-width: 1100px; margin: 0 auto; }

/* Section Titles */
.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--gold);
}

/* Hero */
.hero {
    padding: 60px 0 100px 0;
    text-align: center;
    /* O gradiente começa escuro no topo (para ler o texto), fica transparente no meio, e termina na cor exata da próxima seção (#1e1e1e) na base */
    background: linear-gradient(
        to bottom, 
        rgba(18, 18, 18, 0.8) 0%, 
        rgba(18, 18, 18, 0.4) 50%, 
        #1e1e1e 100%
    ), url("../img/fundo-pc.4868a2c836bb.jpg"); /* Imagem para PC */
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}
a{
    color:#c5a059,
}

/* Media Query para Celulares (Telas menores que 768px) */
@media (max-width: 768px) {
    .hero {
        /* Troca para a imagem redimensionada para celular */
        background: linear-gradient(
            to bottom, 
            rgba(18, 18, 18, 0.8) 0%, 
            rgba(18, 18, 18, 0.4) 50%, 
            #1e1e1e 100%
        ), url("../img/fundo-mobile.2e5827e5f9e6.jpg"); /* Imagem para Celular */
        
        /* Ajusta o padding para telas menores */
        padding: 40px 0 80px 0;
    }
    
    h1 {
        font-size: 2.5rem; /* Diminui o título no celular */
    }
}

.logo-container {
    margin-bottom: 30px;
}

.hero-logo {
    max-width: 150px;
    height: auto;
    filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.5));
}

.badge { 
    color: var(--gold); 
    font-weight: bold; 
    letter-spacing: 2px; 
    font-size: 0.9rem;
}

h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 4rem;
    margin: 20px 0;
}

h1 span { color: var(--gold); }

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 20px 0;
}

.btn-primary {
    display: inline-block;
    background: var(--gold);
    color: var(--dark);
    padding: 15px 40px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.4);
}

/* Features */
.features { 
    padding: 80px 0; 
    background: var(--dark-grey); 
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    padding: 30px;
    border: 1px solid #333;
    transition: 0.3s;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
}

.feature-card:hover { 
    border-color: var(--gold); 
    transform: translateY(-5px);
}

.feature-card h3 { 
    color: var(--gold); 
    margin-bottom: 15px; 
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: var(--dark);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    padding: 30px;
    background: var(--dark-grey);
    border-left: 4px solid var(--gold);
    border-radius: 8px;
}

.testimonial-card blockquote {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.7;
}

.testimonial-card footer {
    color: var(--gold);
    font-weight: bold;
}

.testimonial-card footer small {
    display: block;
    color: var(--text-muted);
    margin-top: 5px;
}

/* Instructors Section */
.instructors {
    padding: 80px 0;
    background: var(--dark-grey);
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.instructor-card {
    text-align: center;
    background: var(--dark);
    padding: 40px 20px;
    border-radius: 10px;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.instructor-card:hover {
    transform: translateY(-10px);
}

.instructor-img-wrapper {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(45deg, var(--gold), transparent);
}

.instructor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--dark);
}

.instructor-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 5px;
}

.instructor-role {
    display: block;
    color: var(--gold);
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.instructor-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--dark);
}

.cta-box {
    max-width: 600px;
    margin: 0 auto;
    background: #222;
    padding: 50px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.cta-box h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.cta-box > p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.cta-box small {
    display: block;
    margin-top: 15px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Form Styles */
form input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    background: #333;
    border: 1px solid #444;
    color: white;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

form input:focus {
    outline: none;
    border-color: var(--gold);
}

form input::placeholder {
    color: #888;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--gold);
    border: none;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1.1rem;
    color: var(--dark);
    transition: background-color 0.3s, transform 0.3s;
}

.btn-submit:hover {
    background: #d4b066;
    transform: translateY(-2px);
}

/* Dúvidas button: styled like inputs, smaller and centered */
.btn-doubt {
    display: block;
    width: 60%;
    max-width: 360px;
    margin: 20px auto 0 auto;
    padding: 12px;
    background: #333;
    border: 1px solid #444;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.95rem;
}

.btn-doubt:hover {
    border-color: var(--gold);
    color: var(--white);
}

@media (max-width: 480px) {
    .btn-doubt { width: 100%; max-width: none; }
}

/* Footer */
footer {
    background: var(--dark-grey);
    text-align: center;
    padding: 30px 0;
    color: var(--text-muted);
    border-top: 1px solid #333;
}

footer p {
    margin: 0;
}

/* Alert Messages */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-weight: 600;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .features-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-box {
        padding: 30px 20px;
    }
    
    .cta-box h2 {
        font-size: 2rem;
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--dark-grey);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--gold);
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
}

.modal-content h2 {
    color: var(--gold);
    font-family: 'Oswald', sans-serif;
    margin-bottom: 15px;
    font-size: 2rem;
}

.modal-content p {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 1rem;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    color: var(--text-muted);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.close-modal:hover {
    color: var(--gold);
}

@media (max-width: 480px) {
    .modal-content {
        padding: 30px 20px;
        width: 95%;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
    }
}