/* =================================================================== */
/* CSS COMPLETO, LIMPO E CORRIGIDO */
/* =================================================================== */

/* --- Estilos Gerais --- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    margin: 0;
    color: #333;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
}

/* --- Cabeçalho (Header) --- */
/* Suas customizações de cor foram mantidas */
header {
    background: linear-gradient(90deg, #ff9a9e 0%, #fecfef 100%);
    color: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

header .logo,
header nav ul li a {
    color: #333;
    transition: color 0.4s ease;
}

/* Estado Rolado (Scrolled) */
header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header.scrolled .logo,
header.scrolled nav ul li a {
    color: #333;
}

/* Layout do Header */
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-size: 1.5em;
    font-weight: bold;
    text-decoration: none;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li a {
    text-decoration: none;
    padding: 10px 15px;
    display: block;
}

/* --- Estilos Gerais das Seções --- */
section {
    padding: 60px 0;
}

section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.section-background-gradient {
    background: linear-gradient(90deg, #ff9a9e 0%, #fecfef 100%);
    color: white;
}

.section-background-light {
    background-color: #f8f8f8;
    color: #333;
}

.section-background-theme {
    background-color: #fbe9ec;
    color: #333;
}

/* --- Seção Hero (Inicial) - RECONSTRUÍDA E CENTRALIZADA --- */
.hero {
    background: linear-gradient(90deg, #ff9a9e 0%, #fecfef 100%);
    color: white;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.hero-container-split {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px; /* Espaçamento entre parágrafo, botão e tagline */
}

.hero-title-group {
    margin-bottom: 10px; /* Espaço entre o título e o parágrafo abaixo */
}

.hero-title-group h1 {
    margin-bottom: 5px;
    font-size: 2.8em;
    font-weight: bold;
}

.hero-title-group h2 {
    margin-top: 0;
    font-weight: 300;
    font-size: 1.5em;
}

.hero-image {
    margin-top: 40px; /* Espaço entre a tagline e a imagem */
}

.hero-image img {
    width: 100%;
    max-width: 220px; /* Tamanho da imagem */
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}


/* --- Botões e CTA --- */
.btn {
    background-color: white;
    color: #ff9a9e;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cta {
    background: linear-gradient(90deg, #ff9a9e 0%, #fecfef 100%);
    color: white;
    text-align: center;
}

/* --- Seção Sobre Mim --- */
.sobre-mim-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.sobre-mim-img {
    flex-basis: 250px;
    flex-shrink: 0;
}

.sobre-mim-img img {
    width: 100%;
    border-radius: 50%;
    border: 5px solid #fecfef;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.sobre-mim-texto {
    flex-basis: 500px;
}

.sobre-mim-texto h2 {
    text-align: left;
    margin-top: 0;
}

/* --- Carrossel de Benefícios (Versão Limpa e Final) --- */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 50px auto 0 auto;
    overflow: hidden;
}

.beneficios-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.beneficio-card {
    flex: 0 0 100%;
    box-sizing: border-box;
    position: relative;
    padding: 40px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.beneficio-card i {
    font-size: 36px;
    opacity: 0.5;
    margin-bottom: 20px;
}

.beneficio-card h3 {
    font-size: 1.5em;
    margin: 0;
    line-height: 1.3;
}

.beneficio-card p {
    font-size: 1em;
    margin: 15px 0 0 0;
    line-height: 1.6;
    max-width: 90%;
}

.beneficio-card.card-color-1 { background-color: #ffe0f0; color: #4a4a4a; }
.beneficio-card.card-color-2 { background-color: #d1efff; color: #4a4a4a; }
.beneficio-card.card-color-3 { background-color: #d0ffe0; color: #4a4a4a; }

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #eee;
    font-size: 20px;
    color: #aaa;
    cursor: pointer;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background-color: #ff9a9e;
    color: white;
    border-color: #ff9a9e;
}

.prev-btn { left: 15px; }
.next-btn { right: 15px; }

.carousel-dots {
    text-align: center;
    margin-top: 25px;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #ddd;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #ff9a9e;
}

/* --- Rodapé --- */
footer {
    background-color: #333;
    color: white;
    padding: 40px 0;
}

footer .container {
    display: flex;
    justify-content: space-around;
}

footer a {
    color: white;
    margin: 0 10px;
    font-size: 1.5em;
}

/* --- Ícone WhatsApp Flutuante --- */
.whatsapp-flutuante {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    line-height: 60px;
    z-index: 1000;
}

/* --- Navegação Padrão (Desktop) --- */
.main-nav {
    display: block;
}

.menu-toggle {
    display: none;
}

/* --- Estilos para o conteúdo da Seção TCC --- */
.tcc-content {
    max-width: 750px;
    margin: 0 auto;
    text-align: left;
    line-height: 1.7;
}

.tcc-content p {
    margin-bottom: 20px;
}


/* =================================================================== */
/* --- ESTILOS RESPONSIVOS PARA CELULAR E TABLET --- */
/* =================================================================== */

@media (max-width: 768px) {

    /* --- Ajustes Gerais --- */
    section {
        padding: 40px 0;
    }
    .container {
        padding: 0 20px;
    }
    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1.6em;
    }

    /* --- Header e Navegação Mobile --- */
    header {
        background: linear-gradient(90deg, #ff9a9e 0%, #fecfef 100%);
    }
    
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        color: #333; /* Sua cor customizada mantida */
        font-size: 24px;
        cursor: pointer;
        z-index: 1001;
        transition: color 0.4s ease;
    }

    .main-nav {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 70%;
        height: 100vh;
        background: rgba(51, 51, 51, 0.95);
        backdrop-filter: blur(5px);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        padding-top: 80px;
        align-items: center;
    }
    
    .main-nav ul li a {
        font-size: 1.2em;
        padding: 20px 0;
        color: white !important;
    }
    
    /* --- Hero Section Mobile --- */
    .hero-title-group h1 {
        font-size: 2.2em;
    }
    .hero-title-group h2 {
        font-size: 1.2em;
    }
    .hero-image {
        order: -1; /* Coloca a imagem acima do texto no mobile */
        margin-top: 0;
        margin-bottom: 30px;
    }
    .hero-image img {
        max-width: 180px;
    }


    /* --- Empilhar Seções com Colunas --- */
    .sobre-mim-container {
        flex-direction: column;
        text-align: center;
    }

    .sobre-mim-texto h2 {
        text-align: center;
    }

    footer .container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    /* --- Carrossel Mobile --- */
    .carousel-container {
        max-width: 100%;
        margin-top: 30px;
    }

    .beneficio-card {
        padding: 50px 25px;
        min-height: 250px;
    }
    
    .beneficio-card p {
        max-width: 100%;
    }

    .carousel-btn {
        display: none;
    }
}