/* Police personnalisée */
@font-face {
    font-family: "Amperzand";
    src: url("/police/Amperzand.ttf");
}

@font-face {
    font-family: "amanda";
    src: url("/police/amanda.ttf");
}

@font-face {
    font-family: "ecolier";
    src: url("/police/ecolier.ttf");
}

/* Style global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Style pour la page */
body {
    font-family: sans-serif;
    background: radial-gradient(circle at top, #111827, #030712);
    color: #e5e7eb;
}

/* Style pour l'en-tête (centrage de la page de connexion) */
header {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    background: rgba(3,7,18,0.6);
    z-index: 2;
}
nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}
nav a {
    color: #e5e7eb;
    text-decoration: none;
    font-weight: 500;
    opacity: 0.85;
}
nav a:hover { 
	opacity: 1; 
}

.section_1 {
    max-width: 900px;
}
.section_1 h1 {
    font-family: ecolier;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
    padding: 0px;
    background: linear-gradient(90deg, #a78bfa, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section_1 p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 35px;
}
.section_1 a {
    padding: 14px 34px;
    border-radius: 40px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 15px 40px rgba(99,102,241,0.4);
    transition: transform .3s ease, box-shadow .3s ease;
}
.section_1 a:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 60px rgba(99,102,241,0.6);
}

section {
    padding: 100px 60px;
    max-width: 1200px;
    margin: auto;
}

.section-livre {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 50px;
    text-align: center;
    color: #e0e7ff;
}

.section_recherche {
    padding: 60px 20px 0;
    display: flex;
    justify-content: center;
}
.division_recherche {
    display: flex;
    gap: 10px;
    background: rgba(255,255,255,0.05);
    padding: 12px;
    border-radius: 50px;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    width: 80%;
    max-width: 600px;
}
.division_recherche input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 1rem;
    padding: 10px 20px;
}
.division_recherche button {
    border: none;
    padding: 10px 26px;
    border-radius: 40px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    font-weight: 600;
    cursor: pointer;
}

.bouton_recherche {
    border: none;
    padding: 10px 26px;
    border-radius: 40px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    font-weight: 600;
    cursor: pointer;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.card {
    background: linear-gradient(145deg, #111827, #020617);
    border-radius: 24px;
    padding: 30px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), 0 30px 80px rgba(0,0,0,0.6);
    transition: transform .3s ease;
}
.card:hover { 
	cursor: pointer;
	transform: translateY(-6px); 
}

.card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #c7d2fe;
}

/* Style général pour le footer, si nécessaire */
footer {
    text-align: center;
    padding: 40px;
    opacity: 0.6;
}
