/* FOLHA DE ESTILO DO SOLUTION CENTER */

:root {
    /* Tons de azul mais claros e profissionais */
    --bg-color: #f0f4f8;      /* Fundo da página (Cinza azulado bem leve) */
    --card-bg: #4a76a8;       /* Azul médio suave para o banner */
    --accent: #bae6fd;        /* Azul celeste claro para aspas/autor */
    --job: #1d5da6;           /* Azul forte para o cargo */
    --text: #ffffff;
}

/* Reset & base */
/**{box-sizing:border-box}*/
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html,body{
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column; /* Organiza os elementos verticalmente */
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body{
    font-family: sans-serif; 
    margin:0;
    background-color: #c2f6f0;
}

body::-webkit-scrollbar {
    display: none;
    overflow: hidden;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Início da Folha de Estilos do Solution Center * /
/* Título */
.center-titulo h1 {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    padding: 2rem;
}

/* Separador */
.separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.separator span {
    width: 90px;
    height: 2px;
    background: #ccc;
}

.separator i {
    color: #555;
    font-size: 20px;
}

/* CONTÊINER DO LIVRO */
:root { 
    --card-width: 200px; 
    --card-height: 280px; 
}

/* Grid Responsivo: 4 colunas em desktop, 2 em tablet, 1 em mobile */
.books-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(var(--card-width), 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    margin-bottom: 20px;
}

/* Estrutura do Livro */
.book {
    width: var(--card-width);
    height: var(--card-height);
    position: relative;
    perspective: 1000px;
    cursor: pointer;
    margin: auto;
}

/* Capa Traseira (Fixa) */
.back-fixed {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 0 5px 5px 0;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
}

/* A "Folha" que vira (Capa e Verso da Capa) */
.page-flip {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-origin: left;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.book:hover .page-flip, .book:active .page-flip {
    transform: rotateY(-160deg); /* Abre como um livro */
}

.front-cover, .inside-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
    border-radius: 0 5px 5px 0;
}

.front-cover img {
    width: 50px;
    height: 50px;
}

/* Capa Externa */
.front-cover { background: #007BFF; color: white; }

/* Verso da Capa */
.inside-cover {
    background: #e0e0e0;
    color: #333;
    transform: rotateY(180deg);
    border-right: 2px solid #ccc;
}

/* Estilização dos textos e ícones */
i { font-size: 2rem; margin-bottom: 10px; }
h3 { font-size: 1.2rem; }
p { font-size: 0.9rem; opacity: 0.8; }
