body {
    background-color: black;
    margin: 12px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 12px;
}

.titulo-principal {
    background-color: rgba(255, 7, 160, 0.925);
    padding: 24px 20px;
    border-radius: 40px;
    font-size: 1.4rem;
    line-height: 2.2;
    color: white;
    text-shadow: 2px 2px 4px #000000;
    font-family: 'Nightingale', serif;
    text-align: center;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    margin-bottom: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.subtitulo {
    font-size: 1.6rem;
    opacity: 0.85;
    font-family: 'Parisienne', cursive;
    color: white;
    text-shadow: 2px 2px 4px #161616;
    margin: 8px 0 6px 0;
    text-align: center;
    width: 100%;
    padding-left: 6px;
    box-sizing: border-box;
}

.linha-tracejada {
    width: 100%;
    height: 3px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 0, 180, 0.75),
        transparent
    );
    border-radius: 40px;
    margin: 2px 0;
}

.conteudo {
    display: flex;
    flex-direction: column; 
    gap: 20px;
    align-items: center;
    max-width: 100%;
    width: 100%;
    font-size: 1.2rem;
   font-family: 'Poppins', sans-serif;
}

.texto-container {
    width: 100%;
    text-align: justify;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
    text-indent: 30px;
}

.texto-container p {
    /* Padrão para telas pequenas */
    margin-bottom: 25px; 
    line-height: 1.8;
    
}

.info-php {
    font-size: 1rem;
    color: #ff69b4;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    line-height: 1.4;
    margin-top: 10px;
    padding-left: 0;
    width: 100%;
}

.imagem {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-right: 0;
    margin-left: 0;
}

.imagem img {
    max-width: 250px;
    width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 8px 8px 20px #ff11c46c;
}

.btn-voltar {
    background-color: rgba(247, 97, 179, 0.945);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 0 25px 6px rgba(255, 0, 200, 0.9);
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    align-self: center;
    font-family: 'Poppins', sans-serif;
}

.btn-voltar:hover {
    background-color: #f840bb;
    box-shadow: 0 0 30px 8px rgba(255, 0, 200, 1);
}

/* ========================================================================= */
/* TELAS GRANDES - Texto e PHP na esquerda (coluna), Imagem na direita (lado) */
/* ========================================================================= */
@media (min-width: 769px) {
    body {
        padding-left: 12px;
        padding-right: 12px;
        align-items: flex-start;
    }


    .titulo-principal {
        font-size: 1.8rem;
    }
    
    .linha-tracejada {
        margin-bottom: 10px;
    }

    
    .conteudo {
        flex-direction: row;
        flex-wrap: wrap; 
        justify-content: flex-start;
        align-items: flex-start;
        gap: 0; 
        max-width: 1450px;
        width: 100%;
        margin-left: 0;
    }


    /* 1. Texto (Coluna Esquerda, Topo) */
    .texto-container {
        margin-right: 40px; 
        flex-basis: 65%; 
        max-width: 65%; 
        min-width: 300px;
        font-size: 1.5rem;
        padding-left: 0;
        margin-left: 0;
        text-align: justify;
        order: 1; 
    }

    /* 3. PHP Info (Coluna Esquerda, Abaixo do Texto) */
    .info-php { 
        flex-basis: 100%; 
        max-width: 65%; 
        text-align: left;
        margin-bottom: 25px; 
        order: 2; 
    }

    /* 2. Imagem (Coluna Direita, ao lado) */
    .imagem {
        flex-basis: 30%; 
        max-width: 30%;
        display: flex;
        justify-content: flex-end;
        margin-left: auto; 
        margin-right: 0;
        order: 1; 
        
    }

    .imagem img {
        max-width: 320px;
        max-height: 320px;
        border-radius: 50%;
        box-shadow: 8px 8px 20px #ff11c46c;
        width: 100%;
        height: auto;
    }
}


/* ========================================================================= */
/* TELAS PEQUENAS - Ordem: 1. Texto, 2. Imagem, 3. PHP Info (Funciona) */
/* ========================================================================= */
@media (max-width: 768px) {
    .conteudo {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    /* 1. Texto (Top) */
    .texto-container {
        order: 1;
        width: 100%;
    }
    
    /* Restaura margem inferior do parágrafo para ter espaço na tela pequena */
    .texto-container p {
        margin-bottom: 25px; 
    }
    
    /* Restaura margem superior do PHP info para ter espaço na tela pequena */
    .info-php {
        margin-top: 10px;
    }


    /* 2. Imagem (Middle) */
    .imagem {
        order: 2;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    /* 3. PHP Info (Bottom) */
    .info-php {
        order: 3;
        width: 100%;
        text-align: center;
        /* Usamos margin-top: 10px da regra global, mas garantimos que não haja overflow */
    }
}

#cursor {
display: inline-block;
color: white;
}

@keyframes piscarCursor {
0%, 100% { opacity: 1; }
50% { opacity: 0; }
}    

.fade-in-imagem {
opacity: 0;
transform: translateY(40px);
transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-imagem.aparecer {
opacity: 1;
transform: translateY(0);
}

/* ========================================================================= */
/* TELAS MUITO GRANDES — 1600x900+ (Full HD, 2K, Ultrawide) */
/* ========================================================================= */
@media (min-width: 1600px) and (min-height: 900px) {

    body {
        padding: 0 60px;
        align-items: center;
    }

    .titulo-principal {
        font-size: 2.4rem;
        max-width: 1600px;
        padding: 32px 40px;
        border-radius: 50px;
    }

    .subtitulo {
        font-size: 2rem;
        margin-bottom: 14px;
    }

    .linha-tracejada {
        max-width: 1600px;
        margin: 14px auto;
    }

    .conteudo {
        max-width: 1600px;
        gap: 60px;
        margin-top: 40px;
        font-size: 1.4rem;
    }

    /* Texto — mais confortável pra leitura */
    .texto-container {
        flex-basis: 60%;
        max-width: 60%;
        font-size: 1.55rem;
        line-height: 2;
    }

    .texto-container p {
        margin-bottom: 35px;
    }

    /* Info PHP */
    .info-php {
        font-size: 1.15rem;
        margin-top: 20px;
    }

    /* Imagem — maior, mas elegante */
    .imagem {
        flex-basis: 35%;
        max-width: 35%;
        justify-content: center;
    }

    .imagem img {
        max-width: 420px;
        max-height: 420px;
        box-shadow: 12px 12px 30px #ff11c46c;
    }

    /* Botão mais proporcional */
    .btn-voltar {
        font-size: 18px;
        padding: 16px 36px;
        margin-top: 80px;
    }


}