@import url('https://fonts.googleapis.com/css2?family=Inter&display=swap');

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #100001;
    color: white;
    line-height: 1.5;
}

header {
    padding: 30px 0;
    font-size: 14px;
    color: #6b6b87;
    max-width: 530px;
    margin: 0 auto;
    padding: 20px 15px;
}



.divider {
    max-width: 530px;
    margin: 0 auto;
    border-bottom: 1px solid #2a2554;
}

.header-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0;
}

.profile-icons {
    display: flex;
    position: relative;
    width: 50px;
    height: 30px;
}

.icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: absolute;
    transition: transform 0.3s ease;
}

.icon:first-child {
    z-index: 2;
    left: 0;
}

.icon:last-child {
    z-index: 1;
    left: 30px;
}

.profile-icons:hover .icon:first-child {
    transform: translateX(5px);
}

.profile-icons:hover .icon:last-child {
    transform: translateX(-5px);
}

.top-links a {
    color: #6b6b87;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 400;
    font-size: 10px;
}

main {
    max-width: 530px;
    margin: 30px auto;
    padding: 0 15px;
    width: 100%;
}

.intro h1 {
    font-weight: 500;
    font-size: 28px;
    color: #c1272d;
    margin-bottom: 25px;
}

.intro p {
    font-size: 18px;
    margin-bottom: 32px;
    max-width: 550px;
    line-height: 1.7;
}

.emoji {
    font-size: 22px;
    margin-right: 10px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.btn-orcamento {
    display: inline-block;
    background-color: #c1272d;
    color: white;
    font-size: 14px;
    font-weight: 600;
    padding: 18px 32px;
    border-radius: 12px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    animation: pulse 1.4s infinite;
}

.btn-orcamento:hover {
    transform: scale(1.08);
    animation: pulse 1s infinite;
}

.courses-portfolio h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
}

.cards-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, #2c0f10 0%, #c1272d 100%);
    border-radius: 12px;
    padding: 20px;
    color: white;
    text-decoration: none;
    max-width: 530px;
    gap: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 auto;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-text {
    flex: 1;
    font-size: 17px;
    line-height: 1.7;
}

.card-text p {
    margin: 0 0 10px 0;
}

.card-text strong {
    color: #c1272d;
}

.card-text button {
    background-color: #c1272d;
    border: none;
    border-radius: 6px;
    padding: 12px 22px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
}

.card-text button:hover {
    background-color: #c1272d;
}

.card img {
    width: 180px;
    border-radius: 12px;
    object-fit: cover;
}

/* Garantindo que os side cards tenham fundo escuro */
.side-cards-container .card,
.side-cards-container .card:hover {
    background: #161616 !important;
}

/* Container para os cards lado a lado */
.side-cards-container {
    display: flex;
    gap: 15px;
    margin: 15px auto 0;
    max-width: 530px;
}

/* Estilo para o card de mentoria */
.cards-container .card.mentoria {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, #2c0f10 0%, #c1272d 100%);
    border-radius: 12px;
    padding: 20px;
    color: white;
    text-decoration: none;
    max-width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.cards-container .card.mentoria .card-text {
    flex: 1;
    z-index: 2;
}

.cards-container .card.mentoria img {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) scale(1.7);
    height: 120%;
    width: auto;
    max-width: 50%;
    object-fit: contain;
    margin: 0;
    padding: 0;
    filter: grayscale(100%) contrast(1.2) brightness(0.8);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.cards-container .card.mentoria .card-text p {
    margin: 0 0 15px 0;
    font-size: 18px;
    line-height: 1.5;
}

.cards-container .card.mentoria .card-text button {
    background-color: #c1272d;
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cards-container .card.mentoria:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cards-container .card.mentoria .card-text button:hover {
    background-color: #a81f24;
}

/* Estilo para os cards lado a lado */
.side-cards-container .side-card {
    flex: 1;
    min-width: 0;
    min-height: 220px;
    padding: 25px 25px 25px 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    background-color: #161616;
    border-radius: 35px;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

.side-card .card-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0 0 5px 0;
    align-self: flex-start;
}

.side-card .card-icon img {
    max-width: 100%;
    height: auto;
}

.side-card .card-text {
    margin: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    align-items: flex-start;
}

.side-card .card-text p {
    margin: 10px 0 20px 0;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-align: left;
    width: 100%;
    padding: 0 5px;
}

.side-card button {
    background-color: #2d2d2d;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 180px;
    white-space: nowrap;
    margin: 0;
    display: block;
    text-align: center;
}

.side-card:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.side-card:hover button {
    background-color: #3d3d3d;
}

/* Ajuste para telas menores */
@media (max-width: 650px) {
    header {
        padding: 20px 15px;
        margin: 0 auto;
        max-width: 100%;
    }

    .divider {
        margin: 0 auto;
        max-width: 100%;
    }

    main {
        margin: 20px auto;
        max-width: 100%;
        padding: 0 15px;
    }

    .intro {
        text-align: center;
    }

    .intro h1 {
        font-size: 24px;
        text-align: center;
    }

    .intro p {
        font-size: 16px;
        max-width: 100%;
        text-align: center;
    }

    .btn-orcamento {
        font-size: 12px;
        padding: 14px 24px;
        width: auto;
        max-width: 90%;
        text-align: center;
        display: inline-block;
        margin: 0 auto;
    }

    .courses-portfolio h2 {
        font-size: 20px;
        text-align: center;
    }

    .cards-container {
        margin: 0 auto;
        width: 100%;
    }

    .card {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
        max-width: 100%;
        margin: 0 auto;
    }

    .card-text {
        font-size: 15px;
        width: 100%;
    }

    .card-text button {
        width: auto;
        font-size: 12px;
        padding: 10px 18px;
        min-width: 150px;
    }

    .card img {
        width: 100%;
        max-width: none;
        margin-top: 10px;
    }

    .side-cards-container {
        flex-direction: column;
        gap: 12px;
        margin: 15px auto 0;
        width: 100%;
    }
    
    .side-card {
        width: 100%;
        min-height: 180px;
        padding: 20px;
        margin: 0 auto;
    }

    .side-card .card-icon {
        width: 60px;
        height: 60px;
    }

    .side-card .card-text p {
        font-size: 16px;
    }

    .side-card button {
        font-size: 11px;
        padding: 8px 16px;
        width: auto;
        max-width: 80%;
    }

    .cards-container .card.mentoria {
        padding: 20px;
        min-height: 100px;
    }

    .cards-container .card.mentoria img {
        transform: translateY(-30%) scale(1.2);
        max-width: 45%;
        opacity: 0.7;
    }

    footer {
        max-width: 100% !important;
        padding: 10px 5px !important;
    }

    footer > div {
        gap: 8px !important;
        padding: 0 10px !important;
        flex-wrap: nowrap !important;
    }

    footer div[style*="height: 16px"] {
        min-width: 1px !important;
        max-width: 1px !important;
        width: 1px !important;
        height: 16px !important;
        flex-shrink: 0 !important;
    }

    footer p {
        font-size: 8px !important;
        line-height: 1.2 !important;
    }

    footer img {
        height: 14px !important;
        flex-shrink: 0 !important;
    }
}
