/* ===== Reset e base ===== */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    background: #fff;
    color: #303030;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

p {
    font-family: 'Inter', sans-serif;
    margin: 0;
}

/* ===== Cabeçalho ===== */
.cabecalho {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    flex-wrap: nowrap; /* mantém os botões do lado da logo */
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

/* reduz a logo em telas pequenas */
@media (max-width: 600px) {
    .logo img {
        height: 45px;
    }
}

.menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Botão hamburguer */
.hamburguer {
    width: 45px;
    height: 45px;
    background: #791dcf;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition:  transform 0.3s ease;
}

.hamburguer span {
    width: 30px;
    height: 5px;
    background: #fff;
    border-radius: 2px;
}

/* Efeito de girar */
.hamburguer:hover {
     transform: scale(1.1);
}

/* Overlay escuro */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    z-index: 1500;
}


/* Menu Flutuante */
.menu-flutuante {
    position: fixed;
    top: 80px;
    right: 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 25px;
    width: 200px;
    display: none;
    flex-direction: column;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
    align-items: center;
    justify-content: center;
}


@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.menu-flutuante ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 10px;
}

.menu-flutuante ul li {
    margin: 15px 0;
}

.menu-flutuante ul li a {
    text-decoration: none;
    font-weight: bold;
    font-size: 22px;
    color: #222;
    transition: color 0.3s;
}

.menu-flutuante ul li a:hover {
    color: #791dcf;
}

.redes-sociais {
    display: flex;
    gap: 35px;
    margin-top: 7px;
}

.redes-sociais a {
    font-size: 29px;
    color: #791dcf;
    transition: transform 0.3s, color 0.3s;
}

.redes-sociais a:hover {
    transform: scale(1.2);
}

.menu-flutuante .fechar {
    background: none;
    border: none;
    position: absolute;
    top: 15px;
    right: 23px;
    cursor: pointer;
    color: #303030;
    padding: 0;
}

.menu-flutuante .fechar .material-icons-round {
    font-size: 31px;
}

.menu-flutuante .fechar:hover {
    color: #791dcf;
    transform: scale(1.1);
}

.menu-flutuante.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}


/* Botão Entrar */
.botao-entrar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 15px;
    background-color: #ffffff;
    color: #313131;
    border: 2px solid #c8c8c8;
    border-bottom: 5px solid #c8c8c8;
    text-decoration: none;
    border-radius: 10px;
    font-size: 19px;
    font-weight: bold;
    transition:  transform 0.3s ease;
}

.botao-entrar:hover {
    transform: scale(1.1); 
}

.botao-entrar img {
    width: 14px;
    height: auto;
}

/* ===== Overlay e Menu Flutuante ===== */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    z-index: 1500;
}

.menu-flutuante {
    position: fixed;
    top: 80px;
    right: 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 25px;
    width: 90%;
    max-width: 250px;
    display: none;
    flex-direction: column;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
    align-items: center;
    justify-content: center;
    padding-bottom: 35px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.menu-flutuante ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 10px;
}

.menu-flutuante ul li {
    margin: 15px 0;
    
}

.menu-flutuante ul li a {
    text-decoration: none;
    font-weight: bold;
    font-size: 22px;
    color: #222;
    transition: color 0.3s;
}

.menu-flutuante ul li a:hover {
    color: #791dcf;
}

.redes-sociais {
    display: flex;
    gap: 35px;
    margin-top: 7px;
}

.redes-sociais a {
    font-size: 29px;
    color: #791dcf;
    transition: transform 0.3s, color 0.3s;
}

.redes-sociais a:hover {
    transform: scale(1.2);
}

.menu-flutuante .fechar {
    background: none;
    border: none;
    position: absolute;
    top: 20px;      /* distância do topo */
    right: 20px;  
    cursor: pointer;
    color: #303030;
    padding: 0;
}

.menu-flutuante .fechar .material-icons-round {
    font-size: 31px;
}

.menu-flutuante .fechar:hover {
    color: #791dcf;
    transform: scale(1.1);
}

/* ===== Seções ===== */
section {
    width: 100%;
    padding: 60px 20px;
    text-align: center;
    box-sizing: border-box;
}

/* INTRO */
.intro {
    background-color: #f8d9ef;
    padding: 80px 20px;
}

.intro h1 {
    font-size: 36px;
    color: #222;
    margin-bottom: 15px;
    font-weight: 700;
}

.intro p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 18px;
    color: #555;
    line-height: 1.6;
}

.trem {
    margin-top: 30px;
    width: 100%;
    max-width: 600px;
    height: auto;
}

/* MISSÃO VISÃO VALORES */
.missao-visao-valores {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.card {
    background-color: #f4f4f4;
    border-radius: 15px;
    width: 100%;
    max-width: 250px;
    padding: 25px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.card img {
    width: 75px;
    height: 75px;
}

.card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #222;
}

.card p {
    font-size: 17px;
    color: #555;
}

/* HISTÓRIA */

.historia {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 80px 20px;
}

.historia .texto {
    max-width: 500px;
    text-align: left;
    order: 2;
    padding-right: 70px;
}

.icone-ideia {
    position: absolute; /* Posição absoluta dentro do .titulo-historia *//* Ajuste a posição vertical */
    right: 130px; /* Alinha no canto superior direito do bloco de texto */
    max-width: 160px; /* Tamanho da lâmpada, ajuste conforme a imagem real */
    margin-top: -85px;
    max-height: auto;
}

.historia h2 {
    font-size: 28px;
    color: #222;
    margin-bottom: 20px;
}

.historia p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
}

.menina {
    width: 100%;
    max-width: 370px;
    height: auto;
    order: 1;
}

/* EQUIPE */
.equipe {
    padding-bottom: 180px; /* ajusta o espaço conforme o tamanho do rodapé */
    position: relative;
    z-index: 1;
}

.equipe h2 {
    font-size: 28px;
    color: #222;
    margin-bottom: 40px;
}

.membros {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.membro {
    text-align: center;
}

.membro img {
    width: 100%;
    max-width: 180px;
    height: auto;
    border-radius: 50%;
    border: 3px solid #ccc;
    object-fit: cover;
    margin-bottom: 10px;
}

.membro h4 {
    font-size: 18px;
    color: #222;
    margin: 5px 0;
}

.membro p {
    font-size: 0.9rem;
    color: #555;
}

/* ===== Rodapé ===== */
.rodape {
    background: linear-gradient(90deg, #6C2BD9, #9414b8);
    color: #fff;
    padding: 30px 20px;
    display: flex;
    justify-content: space-around;
    font-size: 18px;
    flex-wrap: wrap; /* Permite que fique responsivo */
}

.rodape a {
    color: #fff;
    display: block;
    margin: 5px 0;
    text-decoration: none;
}

.logo-rodape {
    display: flex;
    align-items: center;
}

.logo-rodape img {
    height: 200px; /* aumenta o tamanho do QR/logo */
    width: auto;
    margin-right: 10px;
}

.rodape a {
    line-height: 2.2;
    font-weight: bold;
}

.links-rodape a {
    color: #fff;
    display: block;
    margin: 8px 0;
    text-decoration: none;
    font-weight: bold;
}

.redes-rodape {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* alinha à esquerda */
    font-weight: bold;
}

.redes-rodape a {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 5px 0;
}

.redes-rodape img {
    width: 20px;
    height: auto;
}

/* Esconde redes do rodapé em telas pequenas */
@media (max-width: 768px) {
    
    .rodape {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
    }

    .redes-rodape {
        text-align: center;
    }

    .logo-rodape img {
        height: 150px;
    }

        .redes-rodape {
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .redes-rodape a {
        justify-content: center;
    }
}

/* ===== Cabeçalho responsivo ===== */
@media (max-width: 600px) {
    .logo img {
        height: 45px; /* logo menor */
    }

    .botao-entrar {
        padding: 6px 10px;  /* diminui o tamanho do botão */
        font-size: 16px;    /* diminui o texto */
    }

    .hamburguer {
        width: 35px;  /* menor */
        height: 35px;
    }

    .hamburguer span {
        width: 25px;
        height: 4px;
    }

    .icone-ideia{
        max-width: 105px;
        right: 10px;
    }
}

/* Media Query para telas maiores (desktop) - Para o alinhamento lado a lado e ajustes finos */
@media (min-width: 850px) {
    .historia {
        justify-content: center; /* Centraliza o bloco inteiro na página */
        gap: 50px; /* Mais espaço entre os elementos */
    }
    
    .historia .texto {
        /* Remove a ordem para que o posicionamento padrão (imagem à esquerda, texto à direita) funcione */
        order: unset; 
    }
    
    .menina {
        /* Remove a ordem para que o posicionamento padrão funcione */
        order: unset; 
    }

}

/* Media Query para telas menores (mobile) - Ajustes */
@media (max-width: 600px) {
    .historia .titulo-historia {
        font-size: 24px;
        padding-right: 50px; /* Reduz o padding no mobile */
    }
    
}
