/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0f1623;
    color: #d1d5db;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

/* --------------------------------- HERO --------------------------------- */
.hero {
    display: flex;
    max-width: 1300px;
    margin: auto;
    padding: 50px 20px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 350px;
}

.hero h1 {
    font-size: 38px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.btn-primary {
    background: linear-gradient(90deg, #2d6cdf, #234aad);
    padding: 14px 30px;
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: opacity .2s;
}

.btn-primary:hover {
    opacity: 0.85;
}

.btn-paypal {
    background: #c0392b;
    padding: 14px 30px;
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: opacity .2s;
}

.btn-paypal:hover {
    background: #962d22;
}

.price {
    font-size: 40px;
    font-weight: bold;
    color: #27ae60;
}

.price-label {
    display: block;
    font-size: 14px;
    color: #9ca3af;
}

.hero-img img {
    width: 340px;
    border-radius: 14px;
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
}

/* --------------------------------- DESTAQUES --------------------------------- */

.highlights {
    max-width: 1300px;
    margin: auto;
    padding: 35px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.highlight {
    background: #151c2c;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #1e2638;
}

.highlight h3 {
    color: #fff;
    margin-bottom: 10px;
}

/* --------------------------------- DESCRIÇÃO DO CURSO --------------------------------- */

.course-desc {
    max-width: 900px;
    margin: auto;
    padding: 35px 20px;
    text-align: center;
}

.course-desc h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #fff;
}

.desc-list {
    margin-top: 25px;
    list-style: none;
}

.desc-list li {
    margin-bottom: 12px;
}

/* --------------------------------- INSTRUTOR --------------------------------- */

.instructor-sec {
    max-width: 1100px;
    margin: auto;
    padding: 35px 20px;
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
}

.instructor-photo img {
    width: 260px;
    border-radius: 14px;
    border: 2px solid #1e2638;
}

.instructor-text {
    flex: 1;
    min-width: 300px;
}

.instructor-text h2 {
    font-size: 26px;
    margin-bottom: 10px;
    color: #fff;
}

.instructor-text h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #fff;
}

@media (max-width: 830px) {
    .instructor-sec {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .instructor-text {
        text-align: center;
    }
}

/* --------------------------------- AULAS (SEM ACCORDION) --------------------------------- */

.lessons {
    max-width: 1100px;
    margin: auto;
    padding: 35px 20px;
}

.lessons h2 {
    text-align: center;
    color: #fff;
    margin-bottom: 35px;
    font-size: 30px;
}

.lessons-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lesson-item {
    width: 100%;
    padding: 16px 20px;
    background: #1a2333;
    border: 1px solid #273046;
    color: #d1d5db;
    font-size: 17px;
    border-radius: 8px;
    text-align: left;
    cursor: default;
    line-height: 1.5;
}

.lesson-item:hover {
    background: #273046;
}

/* --------------------------------- TECNOLOGIAS --------------------------------- */

.tech-section {
    max-width: 1100px;
    margin: auto;
    padding: 35px 20px;
    text-align: center;
}

.tech-section h2 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 20px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 25px;
}

.tech-item {
    padding: 10px 18px;
    background: #1a2333;
    border: 1px solid #273046;
    border-radius: 25px;
    color: #d1d5db;
    font-size: 14px;
    display: inline-block;
    transition: all .2s;
}

.tech-item:hover {
    background: #273046;
    border-color: #3b4a63;
}

/* --------------------------------- CHAMADA FINAL --------------------------------- */

.final-cta {
    background: #151c2c;
    padding: 35px 20px;
    margin-top: 20px;
}

.final-box {
    max-width: 600px;
    margin: auto;
    text-align: center;
    background: #161c2e;
    padding: 40px;
    border-radius: 18px;
    border: 1px solid #1e2638;
}

.final-price {
    font-size: 42px;
    font-weight: bold;
    color: #27ae60;
    margin: 25px 0;
}

.big {
    padding: 16px 40px;
    display: block;
    margin: 15px auto;
    max-width: 350px;
}

.final-info {
    margin-top: 15px;
    font-size: 14px;
    color: #9ca3af;
}

/* --------------------------------- FOOTER --------------------------------- */

.footer {
    text-align: center;
    padding: 25px;
    margin-top: 20px;
    color: #9ca3af;
}

/* --------------------------------- ESPAÇAMENTO GLOBAL AJUSTADO --------------------------------- */

section {
    margin-bottom: 18px;
}

@media (max-width: 768px) {

    .hero {
        padding: 35px 20px;
    }

    .highlights,
    .course-desc,
    .instructor-sec,
    .lessons,
    .tech-section,
    .final-cta {
        padding: 25px 20px !important;
    }

    section {
        margin-bottom: 16px;
    }
}

/* Correção do botão PayPal da seção final */
.btn-paypal.big {
    white-space: nowrap;
    font-size: 16px;
    width: 100%;
    max-width: 380px;
    text-align: center;
}
