/* Reset Básico */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Montserrat', sans-serif; }

body {
    background-color: #fff;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- Fundo --- */
.bg-shape {
    position: absolute;
    bottom: -45vh; 
    left: 25%;
    width: 95vw;   
    height: auto;
    z-index: 0;
    pointer-events: none;
}

/* --- Layout Principal --- */
.container {
    width: 90%;
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
    padding: 0 40px;
    height: 80vh;
}

/* --- Texto --- */
.content-left {
    flex: 0.9;
}

h1 {
    font-size: 3.8rem;
    color: #000;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: -1.5px;
}

.highlight { color: #2563EB; }

.description {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.5;
    margin-bottom: 45px;
    font-weight: 400;
}

/* --- Botões --- */
.actions {
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

.btn-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn-rayphone {
    background-color: #2563EB;
    color: white;
    border: none;
    padding: 14px 45px;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

.sub-caption {
    font-size: 0.85rem;
    color: #222;
    margin-top: 10px;
    font-weight: 600;
}

.btn-projetos {
    background-color: transparent;
    color: #222;
    border: 2px solid #aaa;
    padding: 14px 45px;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-projetos:hover { border-color: #000; }

/* --- Área das Imagens e Slide --- */
.content-right {
    flex: 1.1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}

.composition-area {
    position: relative;
    width: 650px;
    height: 650px;
}

/* Estado Padrão (Fica esperando na DIREITA) */
.character-img {
    height: 115%;
    width: auto;
    
    position: absolute;
    left: 30px;
    bottom: -20px;
    z-index: 2;

    /* Configuração inicial: Invisível e deslocada para a direita */
    opacity: 0;
    transform: translateX(100px); 
    
    /* Animação suave para tudo (opacidade e movimento) */
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

/* Classe para remover a animação (usada no teletransporte) */
.character-img.no-transition {
    transition: none !important;
}

/* Estado Ativo (No Centro) */
.character-img.active {
    opacity: 1;
    transform: translateX(0); /* Volta ao centro */
    z-index: 10;
    pointer-events: auto;
}

/* Estado de Saída (Vai para a ESQUERDA) */
.character-img.exit {
    opacity: 0;
    transform: translateX(-100px); /* Vai para a esquerda */
}

/* Ajuste específico para a imagem do segundo personagem */
img#ea {
    top: -20px;
}

/* --- Seta Lateral --- */
.arrow-right {
    position: absolute;
    right: -90px;
    top: 50%;
    transform: translateY(-50%);
    color: #000;
    opacity: 1;
    cursor: pointer; /* Cursor de mãozinha */
    z-index: 50;
    transition: transform 0.1s;
}

.arrow-right:active {
    transform: translateY(-50%) scale(0.9); /* Efeito visual de clique */
}

.arrow-right svg {
    width: 50px;
    height: 110px;
}

/* --- Dock Social --- */
.social-dock {
    position: absolute;
    bottom: 35px;
    left: 56%; 
    transform: translateX(-50%);
    background-color: #fff;
    padding: 10px 20px;
    border-radius: 15px;
    display: flex;
    gap: 25px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    z-index: 20;
}

.social-dock img {
    height: 26px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.social-dock img:hover { opacity: 1; }