/* Reset básico e fontes */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
}

/* Cores de Fundo */
.bg-black {
    background-color: #000000;
    color: #ffffff;
}

.bg-blue {
    background-color: #3b82f6;
    color: #000000;
}

.bg-gray {
    background-color: #cccccc;
    color: #000000;
}

.bg-white {
    background-color: #FFFFFF;
    color: #000000;
}

/* Seção padrão */
section {
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Linha separadora entre seções */
.section-divider {
    border: none;
    border-top: 1px solid #ffffff;
    margin: 40px auto;
    width: 80%;
}

/* Efeito de revelação ao scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Menu de Navegação */
nav {
    background-color: #000000;
    padding: 20px 40px;
    text-align: center;
    border-bottom: 1px solid #333333;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    position: absolute;
    left: 20px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

.nav-links {
    display: flex;
    gap: 20px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 20px;
    font-size: 16px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3b82f6;
    transition: width 0.3s ease;
}

nav a:hover {
    color: #3b82f6;
}

nav a:hover::after {
    width: 100%;
}

/* Tipografia */
h1,
h2 {
    font-size: 40px;
    margin-bottom: 20px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    color: white;
}

.bg-white h2 {
    color: black;
}

.bg-gray h2 {
    color: black
}

p {
    font-size: 20px;
    max-width: 900px;
    margin: 0 auto 20px auto;
    font-weight: 600;
}

/* Botões */
.btn {
    background-color: #1e3a8a;
    /* Azul escuro do botão */
    color: #ffffff;
    padding: 15px 40px;
    text-decoration: none;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    display: inline-block;
    margin-top: 20px;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #172e6b;
}

.btn-blue {
    background-color: #0000ff;
}

.btn-blue:hover {
    background-color: #0000cc;
}

.btn-highlight {
    background-color: #0000ff;
    padding: 18px 45px;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(0, 0, 255, 0.6);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 15px rgba(0, 0, 255, 0.6); }
    50% { transform: scale(1.05); box-shadow: 0 0 30px rgba(0, 0, 255, 0.9); }
    100% { transform: scale(1); box-shadow: 0 0 15px rgba(0, 0, 255, 0.6); }
}

/* Container principal para alinhar textos à esquerda quando necessário */
.container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

/* Seção Sobre Mim */
.about-me-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 40px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.section-header h2 {
    margin-bottom: 0;
}

.subsection {
    margin-top: 40px;
}

.subsection-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.subsection-header h2 {
    margin-bottom: 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.value-item {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    font-weight: 600;
}

.value-item strong {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
}

.about-me-text {
    flex: 1;
}

.about-me-img {
    flex: 0.8;
    text-align: center;
}

.about-me-img img {
    width: 100%;
    max-width: 350px;
    border-radius: 50%;
    border: 5px solid #ffffff;
    /* Borda branca da foto redonda */
}

/* Seção Materiais Gratuitos */
.section-title-line {
    border-bottom: 5px solid #0000ff;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 100%;
    gap: 15px;
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
    max-width: 1100px;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
}

.carousel-btn {
    background-color: #0000ff;
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    z-index: 10;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background-color: #0000cc;
}

.card {
    width: calc((100% - 40px) / 3);
    flex-shrink: 0;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    min-height: 400px;
}

.card h3 {
    font-size: 30px;
    margin-bottom: 20px;
    white-space: normal;
    font-weight: 700;
}

.card p {
    font-size: 18px;
    flex-grow: 1;
    font-weight: 600;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.card-blue {
    background-color: #3b82f6;
    color: #ffffff;
}

.card-black {
    background-color: #000000;
    color: #ffffff;
}

/* Seção Contato */
.contact-grid {
    display: flex;
    justify-content: space-between;
    text-align: left;
    gap: 70px;
    margin-top: 40px;
}

.contact-info {
    flex: 1.3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-item h4 {
    color: #0000ff;
    font-size: 20px;
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
    white-space: nowrap;
}

.contact-item p {
    font-size: 16px;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    white-space: nowrap;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 15px;
    align-items: center;
    margin: 0;
}

.social-links a {
    text-decoration: none;
    display: inline-flex;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.8;
}

.contact-form {
    flex: 0.7;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.input-group label {
    color: #0000ff;
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
}

.input-group input,
.input-group textarea {
    background: transparent;
    border: 2px solid #0000ff;
    /* Bordas azuis conforme o slide */
    padding: 10px;
    color: #000000;
    font-size: 16px;
}

.input-group textarea {
    height: 120px;
    resize: none;
}

.areas-de-atuacao {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.areas-de-atuacao-img {
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    height: auto;
    width: 100%;
    max-width: 600px;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.areas-de-atuacao-img:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Responsividade */
@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
        justify-content: center;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #000000;
        flex-direction: column;
        padding: 20px;
        border-top: 1px solid #333333;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        margin: 10px 0;
        font-size: 16px;
    }

    nav a {
        margin: 0 10px;
        font-size: 14px;
    }

    nav a {
        margin: 0 10px;
        font-size: 14px;
    }

    section {
        padding: 50px 15px;
    }

    h1,
    h2 {
        font-size: 28px;
    }

    p {
        font-size: 16px;
    }

    .about-me-container {
        flex-direction: column;
        text-align: center;
    }

    .about-me-img {
        order: 1;
        margin-top: 30px;
    }

    .about-me-img img {
        max-width: 250px;
    }

    .carousel-container {
        gap: 5px;
    }

    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .card {
        width: 100%;
        max-width: 350px;
        min-height: auto;
    }

    .contact-grid {
        flex-direction: column;
        gap: 40px;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .form-row {
        flex-direction: column;
        gap: 20px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .contact-item h4 {
        white-space: normal;
    }

    .contact-item p {
        white-space: normal;
    }

    .subsection h3,
    .subsection h4,
    .subsection h5 {
        text-align: center;
    }
}

@media (max-width: 480px) {
    nav a {
        margin: 0 5px;
        font-size: 12px;
    }

    h1,
    h2 {
        font-size: 24px;
    }

    .card h3 {
        font-size: 24px;
        white-space: normal;
    }

    .section-title-line {
        font-size: 20px;
    }
}