body {
    font-family: 'Public Sans', sans-serif;
    margin: 0;
    padding: 0;
    color: #272727;
    line-height: 1.6;
    background-color: #ffffff;
    overflow-x: hidden;
    width: 100%;
    padding-top: 60px;
}


/*





cabeçalho




*/

.navbar {
    position: fixed;
    top: 20px; /* Dá um pequeno espaço do topo para parecer flutuante */
    left: 50%;
    transform: translateX(-50%); /* Truque clássico para centralizar elemento fixo */
    
    /* Define a largura do bloco no computador */
    width: 90%; 
    max-width: 800px; /* Limita o tamanho para não esticar demais em telas grandes */
    z-index: 99999;

    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    
    background-color: #1a1a1a;
    padding: 15px 0;
    border-radius: 8px; /* Arredonda as bordas para o visual delimitado */
    box-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
}

.nav-links {
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: flex;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 5px;
    transition: font-weight 0.2s ease;
}

.nav-links a:hover {
    font-weight: 700;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2.5px; 
    background-color: #ffffff;
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
    bottom: -15px;
}

.nav-links a:hover::after {
    opacity: 1;
    transform: translateY(0);
}

/*





introdução




*/

h1 {
    text-align: center;
    font-weight: 500;
    font-size: 3rem;
    margin-top: 55px;
    margin-bottom: 35px;
    color: #1a1a1a;
    display: flex;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    justify-content: center;
    align-items: baseline; /* Alinha o texto e a imagem pela linha de base */
}

.title-icon {
    height: 0.8em; /* Ajuste para o tamanho da letra minúscula */
    width: auto;
    margin: em;
    position: relative;
    top: 7.5px; /* FAZ A IMAGEM DESCER para alinhar com o "Marc" */
    vertical-align: baseline;
    padding-right: 10px;
    padding-left: 0px;
}

.container {
    max-width: 800px;
    margin: 10px auto;
    padding: 0 30px;
}

.content-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.text-area {
    flex: 1;
    text-align: justify;
    font-size: 1.05rem;
    color: #272727;
    padding-right: 25px;
}

.line-divider {
    width: 3px;
    background-color: #000000;
    box-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);

    flex: 0 0 auto;
    align-self: stretch;
    margin: 0 29px;
    min-height: 250px;
    border-radius: 3px;
}

.image-area {
    flex: 1;
    display: flex;
    justify-content: center;
    padding-left: 38px;
    margin-top: 25px;
}

.featured-image {
    width: 108%;
    max-width: 500px;
    height: auto;
}

/* --- Botão de Tradução (Base Original Adaptada) --- */
.translate-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start; /* AJUSTE 1: Alinhado à esquerda com o texto */
    position: relative;
    padding-left: 0px; /* Alinhamento com a margem do texto */
}

.lang-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-color);
    border: 1.5px solid #000000; /* AJUSTE 2: Borda preta sólida */
    border-radius: 50px;
    padding: 4px 12px 4px 6px;
    cursor: pointer;
    margin-top: -1px; 
    transition: all 0.2s ease;
    outline: none;
}

.lang-button span {
    font-family: 'Segoe UI', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-color);
}

.globe-icon svg {
    width: 20px;
    height: 20px;
    display: block;
    color: var(--text-color);
}

.arrow-icon svg {
    width: 12px;
    height: 12px;
    display: block;
    color: var(--text-color);
    transform: rotate(90deg); /* Seta para baixo */
}

/* --- AJUSTE 3: Menu Dropdown TOTALMENTE OPACO --- */
/* 1. O CONTAINER: Mantém o botão onde ele já está */
.translate-container {
    position: relative;
    display: inline-block; /* Faz o container ter exatamente a largura do botão */
    vertical-align: middle; /* Alinha com textos ao redor, se houver */
}

/* 2. O MENU: Alinhado à direita do botão */
.lang-menu {
    position: absolute;
    top: calc(100% + 8px); /* Logo abaixo do botão */
    right: 0;             /* ALINHAMENTO: a borda direita do menu cola na direita do botão */
    
    background-color: #ffffff;
    z-index: 3;
    border-radius: 12px;
    display: none; 
    flex-direction: column;
    
    /* LARGURA: Se adapta ao texto, mas cresce para a esquerda por causa do right: 0 */
    width: auto; 
    min-width: 85%;      /* Garante que o menu não seja mais estreito que o botão */
    white-space: nowrap; 
    
    font-weight: 400;     /* Peso da fonte conforme solicitado */
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    overflow: hidden;
}

.lang-menu.active {
    display: flex;
}

/* 3. AS OPÇÕES: Texto centralizado */
.lang-option {
    padding: 10px 20px;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    color: #272727;
    background-color: #ffffff;
    text-align: center; /* Português, English e Español ficam centralizados */
    transition: background-color 0.2s;
}

.lang-option:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Mantém os parágrafos iniciais com a largura atual */
.intro-text-short {
    max-width: 450px; /* Ajuste este valor para alinhar com o que você já tinha */
    margin-bottom: 15px;
}

/* Novo parágrafo: ignora o limite e vai até a linha divisória */
.intro-text-full {
    max-width: 100%; 
    margin-top: 15px;
}

/* Controle de exibição */
.read-more-content {
    display: none;
}

.read-more-content.active {
    display: block;
}

/* Garante que o botão use as cores do container hero */
.hero .read-more-btn {
    color: #272727; /* Ou inherit se o hero já tiver cor definida */
    margin-top: 10px;
}

/*




rua




*/
/* ============================================================
   SEÇÃO PROJETOS (ATUALIZADO: EXPANSÃO E EFEITO SMOOTH)
   ============================================================ */

/* --- 1. Configurações Globais e Scroll --- */
html, body {
    scroll-behavior: smooth !important;
}

:root {
    --azul-adulto: #2196f3;
    --verde-adolescente: #4caf50;
    --amarelo-crianca: #ffeb3b;
    --vermelho-idoso: #f44336;
}

/* --- 2. Wrappers e Containers --- */
.projects-wrapper {
    width: 95%;
    max-width: 1000px;
    margin: 150px auto 100px auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.project-section {
    padding: 30px 15px; 
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    scroll-margin-top: 100px;
    overflow: hidden;
}

.project-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

/* --- 3. Textos e Alinhamento Superior --- */
.text-column {
/* --- 3. Textos e Alinhamento Superior --- */
    width: 100%;
    /* Aumentei de 10px para 20px nas laterais para criar o recuo que você marcou */
    padding: 0 15px; 
    box-sizing: border-box;
}

.project-title {
    font-size: 1.8rem;
    color: #333;
    margin-top: 0 !important; 
    margin-bottom: 20px;
    padding-top: 0 !important;
    padding-bottom: 15px;
    border-bottom: 2px solid #f4f4f4;
    line-height: 1.1;
}

.text-column p {
    margin-top: 10px;
    text-align: justify;
    line-height: 1.6;
}

/* --- 4. Slider e Molduras --- */
.image-column {
    width: 100%;
}

.instagram-slider {
    position: relative;
    width: 100%;
    height: 250px;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

.slides-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide { min-width: 100%; height: 100%; }
.slide img { width: 100%; height: 100%; object-fit: cover; }

/* --- 5. Controles (ALTERADO PARA FADE AO PAUSAR) --- */
.slider-controls {
    position: absolute;
    bottom: 15px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 10;
    /* Transição suave para opacidade e visibilidade */
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    opacity: 1;
    visibility: visible;
}

/* Efeito que esconde os controles quando a classe .paused é aplicada via JS */
.instagram-slider.paused .slider-controls { 
    opacity: 0; 
    visibility: hidden;
    pointer-events: none; 
}

.progress-bar { 
    width: 30px; 
    border-radius: 2px; 
    height: 3.5px; 
    background: rgba(255,255,255,0.3); 
}

.progress-fill { 
    border-radius: 2px; 
    height: 100%; 
    background: #fff; 
    width: 0%; 
}

.dots-container { display: flex; gap: 6px; }

.dot { 
    width: 6px; 
    height: 6px; 
    background: rgba(255,255,255,0.4); 
    border-radius: 50%; 
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.dot.active { 
    background: #fff; 
    transform: scale(1.3); 
}

/* Cores das Seções */
.color-adulto .color-offset-bg { background: var(--azul-adulto); }
.color-adolescente .color-offset-bg { background: var(--verde-adolescente); }
.color-crianca .color-offset-bg { background: var(--amarelo-crianca); }
.color-idoso .color-offset-bg { background: var(--vermelho-idoso); }

/* --- 6. "Ler Mais" --- */
.extra-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease-in-out, opacity 0.4s;
    opacity: 0;
}

.extra-content.active { 
    max-height: 2000px; 
    opacity: 1; 
    margin-top: 15px; 
}

.read-more-btn { 
    background: none; 
    border: none; 
    /* Remove a cor fixa e herda a cor do container pai */
    color: inherit; 
    /* Herda o tamanho da fonte do texto acima */
    font-size: inherit;
    font-weight: 550; 
    cursor: pointer; 
    padding: 2px 0; 
    text-decoration: none; 
    position: relative; 
    display: inline-block; 
}

.read-more-btn::after {
    content: "";
    position: absolute;
    width: 0; 
    height: 2.5px; 
    bottom: -2px;  
    left: 50%; 
    /* Herda a cor do texto para a linha */
    background-color: currentColor; 
    transition: all 0.2s ease-in-out;
    transform: translateX(-50%);
    backface-visibility: hidden; 
}

.read-more-btn:hover::after {
    width: 100%;
}
/* ============================================================
   RESPONSIVO E DESKTOP
   ============================================================ */

/* --- 7. Mobile (Responsivo Clean) --- */
.color-offset-bg { display: none; }

.slider-frame {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: none;
}

.instagram-slider {
    margin-left: -15px; 
    margin-right: -15px; 
    width: calc(100% + 30px); 
}

/* --- 8. Desktop (Computador) --- */
@media (min-width: 800px) {
    .project-section {
        padding: 50px 40px;
    }

    .project-container { 
        flex-direction: row; 
        align-items: flex-start;
        gap: 60px; 
    }

    .image-column { flex: 0 0 340px; }

    .color-offset-bg {
        display: block;
        position: absolute;
        top: 0;
        left: -2px;
        width: calc(100% + 10px); 
        height: calc(100% + 12px);
        z-index: 1;
        border-radius: 0;
    }

    .slider-frame {
        position: relative;
        z-index: 5; 
        top: -15px; 
        left: -18px; 
        border: 6px solid #000;
        box-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
        background: #000;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .instagram-slider {
        margin: 0;
        width: 100%;
        max-width: 450px;
    }
}

/*





contatos




*/

/* --- Espaçamento entre o conteúdo e o fim da página --- */
.footer-spacer {
    height: 200px; /* Ajuste essa altura para aumentar o espaço em branco */
    width: 100%;
    display: none;
}

.main-footer {
    width: 50%;
    min-height: 500px;
    position: relative;
    /* Adicione sua imagem aqui */
    background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), 
                      url('sua-imagem-horizontal.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efeito parallax opcional, fica bem moderno */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    margin-top: 60px !important; /* Força o espaço acima do rodapé */
    clear: both; /* Garante que o rodapé não suba para o lado de elementos flutuantes */
    display: block;
}

.footer-overlay-content {
    text-align: center;
    font-family: 'Public Sans', sans-serif;
    color: #1a1a1a;
    max-width: 600px;
}

.footer-title {
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.footer-info p {
    font-weight: 400;
    font-size: 1rem;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-info i {
    font-size: 1.1rem;
    color: #333;
}

/* --- Ícones Sociais --- */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.social-icons a {
    color: #1a1a1a;
    font-size: 1.8rem;
    transition: transform 0.2s ease, color 0.2s ease;
    text-decoration: none;
}

.social-icons a:hover {
    transform: translateY(-5px);
    color: #555; /* Cor leve ao passar o mouse */
}

/* Responsividade para o Recife (Mobile) */
@media (max-width: 600px) {
    .footer-title {
        font-size: 1.8rem;
    }
    .footer-info p {
        font-size: 0.9rem;
    }
}

.footer-spacer {
    height: 150px;
    width: 100%;
}

.main-footer {
    width: 100%;
    min-height: 90vh; /* Faz o footer ocupar a tela inteira se necessário */
    display: flex;
    justify-content: center; /* Centraliza horizontalmente */
    align-items: center;     /* Centraliza verticalmente */
    padding: 0;              /* Remove paddings que podem deslocar o card */
    background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.173)), 
                      url('imagens/imagem2.jpg');
    background-size: cover;
    background-position: center;
    box-sizing: border-box;
}

.contact-card {
    background: white;
    /* Ocupa 90% da tela, mas nunca mais que 900px */
    width: calc(100% - 40px); 
    max-width: 900px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.742);
    
    /* Centralização garantida */
    margin: 20px auto; 
    
    display: flex;
    flex-direction: row; /* Começa como linha */
    padding: 50px;
    border-radius: 12px;
    box-sizing: border-box;
}

/* Garante que os inputs preencham o card */
.contact-form, .input-group {
    width: 100%;
}

.input-group input, 
.input-group textarea {
    width: 100%;
    box-sizing: border-box; /* Fundamental para o input não vazar */
}

/* Ajuste específico para os campos de Nome e Email ficarem lado a lado até certo ponto */
.form-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.contact-info {
    flex: 1;
    padding-right: 40px;
}

.contact-info h2 {
    margin-top: 0; /* Remove o espaço extra no topo */
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #000;
    line-height: 1; /* Garante que a altura da linha não crie vácuo */
}

.info-group {
    margin-bottom: 20px;
}

.info-group label, .social-section label {
    display: block;
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 5px;
}

.info-group p {
    font-size: 0.95rem;
    color: #1a1a1a;
    margin: 0;
    font-weight: 400;
}

.social-circles {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.social-circles a {
    width: 35px;
    height: 35px;
    background: #1a1a1a;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.9rem;
    /* Transição apenas para a sombra e movimento */
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.social-circles a:hover {
    /* Mantém a cor preta original */
    background: #1a1a1a;
    opacity: 1; /* Garante que não fique transparente */
    /* Sombra circular suave */
    box-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
    /* Pequeno "pulo" para cima */
    transform: translateY(-2px);
}

/* Coluna Direita (Form) */
.contact-form {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.form-row {
    display: flex;
    gap: 20px;
}

.input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #1a1a1a;
}

.input-group input, .input-group textarea {
    background: #f4f4f4;
    border: none;
    border-radius: 10px;
    padding: 15px;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
}

.input-group textarea {
    height: 150px;
    resize: none;
}

.send-btn {
    background: #1a1a1a;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    /* Adiciona uma transição suave para a sombra */
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.send-btn:hover {
    /* Mantém a cor preta original */
    background: #1a1a1a;
    opacity: 1; /* Garante que não fique transparente */
    /* Sombra circular suave */
    box-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
    /* Pequeno "pulo" para cima */
    transform: translateY(-2px);
}

@media (max-width: 800px) {
    .navbar {
        width: 100%;       /* Ocupa toda a largura */
        max-width: none;   /* Remove o limite de 800px que colocamos antes */
        top: 0;            /* Cola no topo da tela */
        border-radius: 0;  /* Remove as bordas arredondadas */
        left: 0;           /* Reseta a posição */
        transform: none;   /* Remove o efeito de centralização do desktop */
        padding: 15px 0;
    }

    .nav-links {
        gap: 15px;         /* Reduz o espaço entre os links no celular */
        justify-content: center;
        width: 100%;
    }

    .nav-links a {
        font-size: 0.8rem; /* Ajuste leve para caber melhor no celular */
    }

    /* Se quiser esconder as linhas no celular como na imagem */
    .nav-links a::after {
        display: none;
    }

    .image-area {
        padding-left: 5px;
    }
    .projects-wrapper {
        margin: 60px auto;
    }
    .project-section {
        text-align: left;
    }

    .container {
        padding: 0 20px;
        margin: 0 auto;
    }
    
    .image-column img {
        box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.2); 

        width: 100%;
        display: block;
        margin: 20px 0;
    }

    h1 {
        font-size: 2rem;
        margin-top: 13px;
        margin-bottom: 25px;
    }

    .content-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .text-area {
        padding-right: 0px;
    }
    .title-icon {
        top: 5px;
    }

    .line-divider {
        width: 100%;
        height: 3px;
        min-height: auto;
        margin: 7px 0;
    }
    .project-title {
        font-size: 1.2rem;
    }
    .contact-card {
        flex-direction: column;
        padding: 30px;
    }
    .contact-info {
        padding-right: 0;
        margin-bottom: 40px;
    }
    .form-row {
        flex-direction: column;
    }
    .contact-info h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 330px) {

    h1 {

        font-size: 1.5rem;

    }

    .title-icon {

        top: 4px;

    }

    .nav-links a {
        font-size: 0.45rem;
    }

}

.back-to-top {
    position: fixed;
    bottom: 17px;
    right: 17px;
    width: 35px;
    height: 35px;
    background-color: #1a1a1a; /* Cor igual ao seu header */
    color: white;
    border: none;
    border-radius: 50%; /* Formato circular */
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    z-index: 1000;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0; /* Começa invisível */
    pointer-events: none; /* Não clicável enquanto invisível */
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    box-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
    /* Pequeno "pulo" para cima */
    transform: translateY(-3px);
}
