/* ========================================
   CSS Reset & Variables
======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --verde-escuro: #525542;
    --verde-cta: #3F933B;
    --verde-cta-hover: #358030;
    --rosa-claro: #FEFAFF;
    --cinza-claro: #E8E8E8;
    --branco: #FFFFFF;
    --texto: #242424;
    --texto-claro: #666666;

    --font-titulo: 'Bodoni Moda', sans-serif;
    --font-corpo: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-corpo);
    color: var(--texto);
    line-height: 1.6;
    background-color: var(--cinza-claro);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========================================
   Buttons
======================================== */
.btn-cta {
    display: inline-block;
    background-color: var(--verde-cta);
    color: var(--branco);
    padding: 16px 48px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    width: 100%;
    max-width: 400px;
}

.btn-cta:hover {
    background-color: var(--verde-cta-hover);
    transform: translateY(-2px);
}

.btn-whatsapp {
    display: inline-block;
    background-color: var(--branco);
    color: var(--texto);
    padding: 16px 48px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
}

.btn-whatsapp:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* ========================================
   Hero Section
======================================== */
.hero {
    position: relative;
    padding: 40px 5% 0;
    background-color: var(--cinza-claro);
    background-image: url('../images/hero-complete.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    min-height: 450px;
    text-align: center;
}

.hero .logo {
    width: 60px;
    margin: 0 auto 20px;
    opacity: 0.8;
}

.hero-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.hero-content {
    flex: 1;
    max-width: 450px;
    padding: 20px;
    text-align: left;
}

.hero h1 {
    font-family: var(--font-corpo);
    font-size: 2.95rem;
    font-weight: 700;
    color: var(--verde-escuro);
    line-height: 1.2;
}

.hero-image {
    flex: 1;
    max-width: 400px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   Cursos Cards Section
======================================== */
.cursos-cards {
    position: relative;
    padding: 60px 5%;
    background-color: var(--branco);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.cursos-cards::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('../images/bg-justica.png');
    background-size: cover;
    background-position: 75% 0%;
    background-repeat: no-repeat;
    opacity: 0.35;
    pointer-events: none;
}

.curso-card {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.curso-card h2 {
    font-family: var(--font-corpo);
    font-size: 1.675rem;
    font-weight: 700;
    color: var(--verde-escuro);
    margin-bottom: 15px;
}

/* ========================================
   Curso Detalhe Section
======================================== */
.curso-detalhe {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 80px 5%;
    gap: 40px;
}

.curso-detalhe.verde {
    background-color: var(--verde-escuro);
}

.curso-detalhe.claro {
    background-color: var(--cinza-claro);
}

.curso-detalhe-content {
    flex: 1;
    max-width: 500px;
    padding: 20px;
}

.curso-detalhe .label {
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.curso-detalhe.verde .label {
    color: rgba(255,255,255,0.7);
}

.curso-detalhe.claro .label {
    color: var(--texto-claro);
}

.curso-detalhe h2 {
    font-family: var(--font-titulo);
    font-size: 1.95rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.curso-detalhe.verde h2 {
    color: var(--branco);
}

.curso-detalhe.claro h2 {
    color: var(--verde-escuro);
}

.curso-detalhe p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: justify;
}

.curso-detalhe.verde p {
    color: rgba(255,255,255,0.9);
}

.curso-detalhe.claro p {
    color: var(--texto-claro);
}

.curso-detalhe-image {
    flex: 1;
    max-width: 400px;
}

.curso-detalhe-image img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* ========================================
   Professoras Section
======================================== */
.professoras {
    padding: 80px 5%;
    background-color: var(--cinza-claro);
    text-align: center;
}

.professoras > h2 {
    font-family: var(--font-corpo);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--verde-escuro);
    margin-bottom: 50px;
}

.professora-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background-color: var(--verde-escuro);
    border-radius: 12px;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto 30px;
}

.professora-image {
    flex: 1;
    min-width: 300px;
}

.professora-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.professora-info {
    flex: 2;
    padding: 40px;
    text-align: left;
    min-width: 300px;
}

.professora-info h3 {
    font-family: var(--font-corpo);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--branco);
    margin-bottom: 15px;
}

.professora-info p {
    color: var(--branco);
    font-size: 0.745rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* ========================================
   Contato Section
======================================== */
.contato {
    padding: 80px 5%;
    background-color: var(--verde-escuro);
    text-align: center;
}

.contato h2 {
    font-family: var(--font-corpo);
    font-size: 3.125rem;
    font-weight: 700;
    color: var(--branco);
    margin-bottom: 15px;
}

.contato p {
    color: var(--branco);
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* ========================================
   Logo Section
======================================== */
.logo-section {
    padding: 80px 5%;
    background-color: var(--cinza-claro);
    text-align: center;
}

.logo-grande {
    width: 200px;
    margin: 0 auto;
    opacity: 0.3;
}

/* ========================================
   Footer
======================================== */
.footer {
    padding: 30px 5%;
    background-color: #000000;
    text-align: center;
}

.footer p {
    color: var(--branco);
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer .dev {
    margin-top: 5px;
    font-size: 0.8rem;
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .professora-card {
        flex-direction: column;
    }

    .professora-info {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        background-size: cover;
    }

    .hero-inner {
        flex-direction: column;
    }

    .hero-content {
        text-align: center;
    }

    .hero-image {
        max-width: 300px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .curso-detalhe {
        flex-direction: column;
        text-align: center;
    }

    .curso-detalhe p {
        text-align: center;
    }

    .curso-card h2 {
        font-size: 1.4rem;
    }

    .curso-detalhe h2 {
        font-size: 1.8rem;
    }

    .professoras > h2,
    .contato h2 {
        font-size: 2rem;
    }

    .btn-cta,
    .btn-whatsapp {
        padding: 14px 36px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .professora-info {
        padding: 30px 20px;
    }
}
