* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    background: linear-gradient(180deg, #7B21DB 0%, #754EC4 6%, #7077B0 13%, #6C9C9E 21%, #68BA8F 29%, #65D383 38%, #62E779 47%, #61F473 59%, #60FC6F 73%, #60FF6E 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/background-geometrics.webp');
    background-size: 83%;
    background-repeat: no-repeat;
    background-position: left top;
    z-index: 1;
}

.header {
    position: relative;
    z-index: 1000;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 40px 40px 20px;
    padding-left: 165px;
}

@media (min-width: 1400px) {
    .header {
        padding-left: 200px;
    }
    
    .left-column {
        padding-left: 160px;
    }
    
    .curso-section h3 {
        padding-left: 200px;
    }
    
    .curso-content {
        margin-right: 200px;
        max-width: 35%;
    }
    
    .background-container {
        background-size: 75%;
    }
}

@media (min-width: 1600px) {
    .background-container {
        background-size: 80%;
    }
    
    .sobre-nos {
        max-width: 900px;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.nav-menu a {
    font-family: 'Nebulica', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #000000;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: #FF943E;
}

.main-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 20px 40px 40px;
    min-height: calc(100vh - 120px);
    align-items: start;
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .main-content {
        gap: 60px;
    }
    
    .left-column {
        padding-left: 100px;
    }
    
    .curso-section h3 {
        padding-left: 120px;
    }
    
    .curso-content {
        margin-right: 120px;
        max-width: 42%;
    }
}

.left-column {
    padding-top: 60px;
    padding-left: 125px;
}

.sobre-nos {
    margin-bottom: 40px;
    max-width: 800px;
}

.sobre-nos h2 {
    font-size: 4rem;
    color: #2C1810;
    margin-bottom: 30px;
    text-shadow: none;
    letter-spacing: -0.02em;
}

.sobre-nos p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #2C1810;
    text-shadow: none;
    text-align: justify;
    margin-bottom: 18px;
}

.curso-section {
    background: transparent;
    padding: 40px 0;
    width: 100%;
    max-width: none;
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.purple-line {
    position: absolute;
    top: 20px;
    right: 0;
    width: 400px;
    height: auto;
    z-index: 20;
}

.curso-section h3 {
    font-size: 4rem;
    color: #2C1810;
    margin-bottom: 0;
    text-shadow: none;
    line-height: 1.1;
    letter-spacing: -0.02em;
    padding-left: 165px;
    max-width: 80%;
}

.curso-content {
    display: flex;
    flex-direction: column;
    margin-left: auto;
    margin-right: 165px;
    max-width: 40%;
    margin-top: 60px;
}

.curso-section p {
    font-size: 1.06rem;
    line-height: 1.4;
    color: #2C1810;
    text-shadow: none;
    text-align: justify;
    margin-bottom: 15px;
}

.cta-button {
    background: linear-gradient(90deg, #FF6B35, #F7931E);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    width: 280px;
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-2px);
}

.cta-buttons {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cta-buttons .cta-button {
    background: #FF943E;
    color: #000000;
    padding: 20px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: block;
    text-align: center;
    transition: all 0.3s ease;
    width: 350px;
}

.cta-buttons .cta-button:hover {
    background: #e67e2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 148, 62, 0.3);
}

.right-column {
    /* Esta coluna fica vazia para mostrar o background geométrico */
}

/* Tablets e telas médias (até 1024px) */
@media (max-width: 1024px) {
    .header {
        padding: 30px 30px 15px;
        padding-left: 80px;
    }
    
    .left-column {
        padding-left: 60px;
        padding-top: 40px;
    }
    
    .sobre-nos h2 {
        font-size: 3.2rem;
    }
    
    .sobre-nos p {
        font-size: 1.1rem;
    }
    
    .curso-section h3 {
        font-size: 3.2rem;
        padding-left: 80px;
    }
    
    .curso-content {
        margin-right: 80px;
        max-width: 45%;
    }
    
    .purple-line {
        width: 320px;
    }
}

/* Tablets menores (até 900px) */
@media (max-width: 900px) {
    .main-content {
        grid-template-columns: 1fr;
        padding: 20px 30px;
        gap: 0;
    }
    
    .header {
        padding: 25px 30px 15px;
        padding-left: 60px;
    }
    
    .left-column {
        padding-left: 30px;
        padding-top: 30px;
        max-width: none;
    }
    
    .sobre-nos {
        max-width: 60%;
        margin-bottom: 60px;
    }
    
    .sobre-nos h2 {
        font-size: 2.8rem;
    }
    
    .curso-section {
        margin-top: 0;
        padding: 60px 0 40px;
    }
    
    .curso-section h3 {
        font-size: 2.8rem;
        padding-left: 60px;
        max-width: 90%;
    }
    
    .curso-content {
        margin-left: 60px;
        margin-right: 60px;
        max-width: none;
        margin-top: 40px;
    }
    
    .purple-line {
        width: 280px;
        top: 10px;
    }
    
    .right-column {
        display: none;
    }
    
    .background-container {
        background-size: 100%;
        background-position: right top;
    }
}

/* Tablets médios (até 768px) */
@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
        padding: 15px;
        gap: 0;
        min-height: auto;
    }
    
    .header {
        padding: 20px 15px 15px;
        padding-left: 15px;
        justify-content: space-between;
        align-items: center;
        flex-direction: row;
    }
    
    .left-column {
        padding-left: 0;
        padding-top: 30px;
        padding-right: 0;
    }
    
    .sobre-nos {
        max-width: 100%;
        margin-bottom: 50px;
    }
    
    .sobre-nos h2 {
        font-size: 2.8rem;
        margin-bottom: 25px;
        text-align: center;
        line-height: 1.1;
    }
    
    .sobre-nos p {
        font-size: 1.1rem;
        margin-bottom: 20px;
        line-height: 1.7;
        text-align: left;
    }
    
    .curso-section {
        padding: 50px 0 30px;
        margin-top: 20px;
    }
    
    .curso-section h3 {
        font-size: 2.4rem;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100%;
        line-height: 1.2;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .curso-content {
        margin-left: 15px;
        margin-right: 15px;
        margin-top: 40px;
        max-width: none;
    }
    
    .curso-section p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        margin: 15px auto;
        padding: 18px 25px;
        font-size: 1.1rem;
    }
    
    .purple-line {
        display: none;
    }
    
    .right-column {
        display: none;
    }
    
    .background-container {
        background-image: none;
    }
}

/* Smartphones (até 600px) */
@media (max-width: 600px) {
    .main-content {
        padding: 10px;
    }
    
    .header {
        padding: 15px 10px 10px;
        padding-left: 10px;
    }
    
    .left-column {
        padding-top: 20px;
    }
    
    .sobre-nos h2 {
        font-size: 2.4rem;
        margin-bottom: 20px;
    }
    
    .sobre-nos p {
        font-size: 1rem;
        margin-bottom: 18px;
    }
    
    .curso-section h3 {
        font-size: 2rem;
        padding-left: 10px;
        padding-right: 10px;
        line-height: 1.3;
    }
    
    .curso-content {
        margin-left: 10px;
        margin-right: 10px;
        margin-top: 30px;
    }
    
    .curso-section p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .purple-line {
        width: 150px;
        right: 10px;
    }
    
    .background-container {
        background-image: none;
    }
}

/* Smartphones pequenos (até 480px) */
@media (max-width: 480px) {
    .main-content {
        padding: 8px;
    }
    
    .header {
        padding: 12px 8px 8px;
        padding-left: 8px;
    }
    
    .left-column {
        padding-top: 15px;
    }
    
    .sobre-nos {
        margin-bottom: 40px;
    }
    
    .sobre-nos h2 {
        font-size: 2.2rem;
        margin-bottom: 18px;
        line-height: 1.1;
    }
    
    .sobre-nos p {
        font-size: 0.95rem;
        margin-bottom: 16px;
        line-height: 1.6;
    }
    
    .curso-section {
        padding: 40px 0 25px;
    }
    
    .curso-section h3 {
        font-size: 1.8rem;
        padding-left: 8px;
        padding-right: 8px;
        line-height: 1.3;
        margin-bottom: 25px;
    }
    
    .curso-content {
        margin-left: 8px;
        margin-right: 8px;
        margin-top: 25px;
    }
    
    .curso-section p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 18px;
    }
    
    .cta-button {
        padding: 16px 20px;
        font-size: 1rem;
        border-radius: 10px;
    }
    
    .purple-line {
        width: 120px;
        right: 8px;
        top: 8px;
    }
    
    .background-container {
        background-image: none;
    }
}

/* Smartphones muito pequenos (até 360px) */
@media (max-width: 360px) {
    .main-content {
        padding: 5px;
    }
    
    .header {
        padding: 10px 5px 5px;
        padding-left: 5px;
    }
    
    .mobile-menu {
        width: 180px;
    }
    
    .mobile-menu a {
        font-size: 0.85rem;
        padding: 6px 14px;
    }
    
    .sobre-nos h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .sobre-nos p {
        font-size: 0.9rem;
        margin-bottom: 14px;
    }
    
    .curso-section h3 {
        font-size: 1.6rem;
        padding-left: 5px;
        padding-right: 5px;
        margin-bottom: 20px;
    }
    
    .curso-content {
        margin-left: 5px;
        margin-right: 5px;
        margin-top: 20px;
    }
    
    .curso-section p {
        font-size: 0.85rem;
        margin-bottom: 16px;
    }
    
    .purple-line {
        width: 100px;
        right: 5px;
        top: 5px;
    }
    
    .background-container {
        background-image: none;
    }
}

/* Orientação Landscape em dispositivos móveis */
@media (max-height: 500px) and (orientation: landscape) {
    .header {
        padding: 10px 15px;
        padding-left: 15px;
    }
    
    .left-column {
        padding-top: 15px;
    }
    
    .sobre-nos {
        margin-bottom: 25px;
    }
    
    .sobre-nos h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .sobre-nos p {
        font-size: 0.9rem;
        margin-bottom: 12px;
        line-height: 1.4;
    }
    
    .curso-section {
        padding: 25px 0 20px;
    }
    
    .curso-section h3 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .curso-content {
        margin-top: 20px;
    }
    
    .curso-section p {
        font-size: 0.85rem;
        margin-bottom: 12px;
        line-height: 1.4;
    }
    
    .purple-line {
        width: 120px;
        top: 5px;
    }
}
