/* ============================= */
/* RÉINITIALISATION DES STYLES */
/* ============================= */

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

/* ============================= */
/* CORPS DE LA PAGE */
/* ============================= */

html, body {
font-family:Arial, sans-serif;
color: #151515;
max-width: 100%;
overflow-x: hidden; /* Coupe tout ce qui dépasse horizontalement */
}

/* ============================= */
/* EN-TÊTE DU SITE */
/* ============================= */

.header{
background:#FFF4F1;
border-bottom:1px solid #ddd;
}

/* ============================= */
/* BARRE DE NAVIGATION */
/* ============================= */

.nav{
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 40px;
}

/* ============================= */
/* LOGO DU SITE */
/* ============================= */

.logo{
width:170px;
}

/* ============================= */
/* MENU PRINCIPAL */
/* ============================= */

.menu{
display:flex;
list-style:none;
gap:30px;
}

/* ============================= */
/* LIENS DU MENU */
/* ============================= */

/* Cette règle servira à afficher le menu quand on cliquera */
.menu.active {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 70px; /* Ajuste selon la hauteur de ton header */
    left: 0;
    width: 100%;
    background-color: #FFF4F1;
    z-index: 1000;
    padding: 20px;
    border-bottom: 1px solid #ddd;
}

.menu a{
text-decoration:none;
color:#333;
font-weight:bold;
padding:10px;
display:block;
}

/* ============================= */
/* EFFET AU SURVOL DES LIENS */
/* ============================= */

.menu a:hover{
color:#ff6b4a;
}

/* ============================= */
/* FLÈCHE DES MENUS DÉROULANTS */
/* ============================= */

.arrow{
font-size:12px;
margin-left:5px;
}

/* ============================= */
/* ÉLÉMENT CONTENANT UN MENU DÉROULANT */
/* ============================= */

.dropdown{
position:relative;
}

/* ============================= */
/* SOUS-MENU (MENU DÉROULANT) */
/* ============================= */

.submenu{
position:absolute;
top:40px;
left:0;
background:white;
list-style:none;
width:200px;
border:1px solid #ddd;
box-shadow:0 4px 10px rgba(0,0,0,0.1);

/* paramètres pour l'animation d'apparition */

opacity:0;
visibility:hidden;
transform:translateY(10px);

transition:all 0.3s ease;
}

/* ============================= */
/* LIENS À L'INTÉRIEUR DU SOUS-MENU */
/* ============================= */

.submenu li a{
padding:10px;
}

/* ============================= */
/* AFFICHER LE MENU DÉROULANT AU SURVOL */
/* ============================= */

.dropdown:hover .submenu{
opacity:1;
visibility:visible;
transform:translateY(0);
}

/* ============================= */
/* EFFET AU SURVOL D’UN ÉLÉMENT DU SOUS-MENU */
/* ============================= */

.submenu li:hover{
background:#f5f5f5;
}

/* ============================= */
/* BOUTON MENU MOBILE (MENU HAMBURGER) */
/* ============================= */

.menu-toggle{
display:none;
flex-direction: column;
font-size:28px;
cursor:pointer;
z-index: 1001;
color: #333; /* Pour que l'icône soit visible */
}

/* --- SECTION HERO --- */
.hero {
    background-color: #ffffff;
    padding: 80px 10%; /* Espace en haut/bas et sur les côtés */
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Texte à gauche */
.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.3rem;
    color: #151515;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 900;
}

.hero-content h1 span {
    color: #ff6233; /* Bleu pour le mot "innovation" */
    border-bottom: 4px solid rgba(157, 73, 0, 0.2); /* Petit soulignement discret */
}

.hero-content p {
    font-size: 1.5rem;
    color: #636e72;
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 500px;
}

/* Image à droite */
.hero-image {
    flex: 1;
    text-align: right;
    
}

.hero-image img {
    max-width: 80%;
    height: 80%;
    border-radius: 50px;
    box-shadow:5px 15px 15px rgba(255, 98, 51, 1);
    object-fit: cover;
}

/* --- SECTION LIVRES --- */
.books-section {
    padding: 60px 5%;
    background-color: #f9f9f9;
}

.books-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap; /* Pour que les cartes passent à la ligne sur mobile */
    max-width: 1200px;
    margin: 0 auto;
}

/* --- STYLE DES CARTES --- */
.book-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    width: 350px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.15);
}

/* Icônes */
.book-icon {
    font-size: 3rem;
    color: #ff6233; /* Le bleu de ton design */
    margin-bottom: 20px;
}

.book-card h3 {
    font-size: 1.5rem;
    color: #2d3436;
    margin-bottom: 15px;
}

.book-card p {
    font-size: 0.95rem;
    color: #636e72;
    line-height: 1.6;
    margin-bottom: 25px;
}
/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .book-card {
        width: 100%; /* Les cartes prennent toute la largeur sur petit écran */
    }
}


/* --- SECTION VISION / MISSION / VALEURS --- */
.philosophie-section {
    padding: 80px 10%;
    background-color: #ffffff; /* Fond blanc propre */
    text-align: center;
}

.philosophie-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.philo-card {
    flex: 1;
    padding: 20px;
    transition: transform 0.3s ease;
}

.philo-card:hover {
    transform: translateY(-5px);
}

/* Icônes de philosophie */
.philo-card i {
    font-size: 2.5rem;
    color: #ff6233; /* Un bleu légèrement plus profond */
    margin-bottom: 20px;
    background: rgba(52, 152, 219, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    display: inline-block;
}

.philo-card h3 {
    font-size: 1.6rem;
    color: #2d3436;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.philo-card p {
    font-size: 1rem;
    color: #636e72;
    line-height: 1.7;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .philosophie-container {
        flex-direction: column;
        gap: 50px;
    }
}

/* FOOTER */

.footer{
    background-color:rgba(217, 217, 217, 0.17);
    color:#151515;
    padding:40px 0;
}

.footer-container {
    display: flex;
    flex-direction:column; /* met les éléments en colonne */
    align-items:flex-start;
}
.footer-logo{
    width:200px;
    margin : 0px;
    margin-left: 45%;
}
.footer-columns-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%; /* Pour occuper toute la largeur sous le logo */
    gap: 30px;
    flex-wrap:wrap;
    margin-left: 7%;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}
.footer-column h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #000;
}
.footer-column p, 
.footer-column li {
    font-size: 0.95rem;
    line-height: 1.8; /* Donne de l'espace entre les lignes */
    margin-bottom: 8px;
}
.footer-column ul {
    list-style: none; /* Enlève les puces */
    padding: 0;
}
.footer-column a {
    text-decoration: none; /* Enlève le soulignement */
    color: #333;
    transition: 0.3s;
}

.footer-column a:hover {
    text-decoration: underline;
    color: #000;
}
/* La ligne horizontale */
.footer-line {
    border: 2px;
    border-top: 1px solid black; /* Ligne grise fine */
    margin:40px 0 20px 0;
    width: 85%;
    margin-left: 7%;
    
}

/* Le texte de copyright en bas */
.footer-copy {
    text-align: center;
    font-size: 0.9rem;
    color: #151515;
    margin-top: 40px;

}
