:root {
    --bleu-fonce: #215F7B;
    --bleu: #376e88;
    --bleu-clair: #259DBA; 
    --bleu-tres-clair: #8ad3e6;
    --bleu-estompe : #e4faff;
 
    --marron-fonce: #5c442f;
    --marron-clair: #b98a56;
    --beige: #e1b379;
    --beige-clair: #faead6;
    --beige-estompe: #fff9f2;

    --font-color-main: black; 
    --font-title : 'Anton', sans-serif;
    --font-section-title : 'Boldonse', system-ui;
    --font-main: 'Poppins', sans-serif;
    --font-signature: 'Dancing Script', cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); color: var(--font-color-main); background-color: var(--beige-estompe); line-height: 1.6; }

/* En-tête & Navigation */
header {
    background: var(--beige-estompe); 
    padding: 4px 5%; display: flex;
    justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 1000;
}
.logo img { height: 100px; object-fit: contain; }
nav ul { list-style: none; display: flex; gap: 20px; align-items: center; }
nav ul li a, nav a { color: var(--bleu-fonce); text-decoration: none; font-weight: 400; font-size: 1.1rem; transition: 0.5s; }
nav ul li a:hover, nav a:hover { color: var(--beige); }
.menu-btn  { border-radius: 25px; padding: 8px 16px; display: flex; align-items: center; gap: 8px; }
.btn-uber { background-color: #06C167; color: white !important;  }
.btn-uber:hover { transform: scale(1.05); }
.btn-cse { background-color: var(--bleu-fonce); color: white !important; }
.btn-cse:hover { transform: scale(1.05); }
.btn-ambassador { background-color: var(--marron-clair); color: white !important; }
.btn-ambassador:hover { transform: scale(1.05); }
.menu-toggle { display: none; color: var(--bleu-fonce); font-size: 1.8rem; cursor: pointer; }

/* Éléments globaux */
img.placeholder { width: 100%; height: auto; border-radius: 40%; box-shadow: 0 10px 20px rgba(0,0,0,0.1); object-fit: cover; }
img.placeholder-simple { width: 100%; height: auto; object-fit: cover; }
.btn { background-color: var(--bleu-fonce); color: white; padding: 12px 25px; text-decoration: none; border-radius: 30px; font-weight: bold; display: inline-block; transition: 0.5s; }
.btn:hover { background-color: var(--bleu-clair); color: white; transform: scale(1.05); }

section { padding: 30px 5%; }
.section-title { text-align: center; color: var(--marron-clair); font-family: var(--font-section-title); font-size: 2rem; margin-bottom: 50px; }
.section-title::after { content: ''; display: block; width: 80px; height: 4px; background-color: var(--beige); margin: 10px auto 0; border-radius: 2px; }
.section-leading-text { text-align: center; color: var(--bleu-fonce); font-size: 1.5rem; font-weight:600; margin-bottom: 20px; }

/* Styles de la Page d'Accueil */
.hero { background: linear-gradient(135deg, var(--bleu-fonce) 0%, var(--bleu) 100%); display: flex; align-items: center; gap: 40px; padding: 60px 5%; color:white;}
.hero-text { flex: 1; }
.hero-text h1 { font-family:var(--font-title); font-size: 2.5rem; margin-bottom: 20px; font-weight: 500; color: var(--bleu-tres-clair); line-height: 1.2; }
.hero-text h1 span { font-family: var(--font-signature); font-size: 2.5rem; color: var(--beige); display: block; margin-top: -10px; }
.hero-text p { font-size: 1.1rem; margin-bottom: 30px; font-weight: 600; }
.hero-text p strong { color: var(--beige); }
.hero-image { flex: 1; }
.hero .btn { background-color: var(--marron-clair); color: var(--beige-estompe); margin-right:1rem;}
.hero .btn:hover { background-color: var(--beige); transform: scale(1.05); }

.concept-row { display: flex; align-items: top; gap: 40px; margin-bottom: 60px; }
.concept-row.reverse { flex-direction: row-reverse; }
.concept-text { flex: 1; }
.concept-image { flex: 1; }
.concept-text p { font-size: 1.1rem; }
.concept-text .tailing { font-size: 1.6rem; font-family: var(--font-title); font-style: italic; color:var(--beige) }
.concept-text p.tailing { margin-top: 20px;}
.concept-text h1 { font-size: 2rem; }
.concept-text h2 { color: var(--bleu-fonce); font-size: 1.2rem; margin-top: 10px; margin-bottom: 2px; }
.concept-text h2.manuscrit { font-family : var(--font-signature); font-size: 1.2rem; }
.concept-text ul {margin-left : 2em;}
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 40px; }
.gallery-item { text-align: center; }
.gallery-item img { border-radius: 0%;  height: 200px; width:auto; margin-bottom: 15px; object-fit: cover; }
.gallery-item h3 { color: var(--bleu-fonce); font-size: 1.2rem; }
.gallery-img { cursor: pointer; transition: transform 0.3s ease, opacity 0.3s ease; }
.gallery-img:hover { transform: scale(1.02); opacity: 0.9; }

.cse-simple { background: linear-gradient(135deg, var(--bleu) 0%, var(--bleu-clair) 100%); text-align: center; border-radius: 20px; padding: 60px 5%; margin: 0 5%; }
.cse-simple h2 { color: var(--bleu-tres-clair); font-size: 2.5rem; margin-bottom: 20px; }
.cse-simple p { font-size: 1.2rem; max-width: 700px; margin: 0 auto 30px; color:white; }
.cse-simple .btn { color:white;}

/* Styles spécifiques pour la page Étudiants */
.student-container { padding: 60px 5%; max-width: 1200px; margin: auto; }
.student-container img {margin-top:-60px}

.student-header { background: linear-gradient(135deg, var(--bleu-fonce) 0%, var(--bleu) 100%); color: white; padding: 80px 5%; text-align: center; }
.student-header h1 { font-family: var(--font-signature); font-size: 4rem; margin-bottom: 20px; color: var(--beige); }
.student-header p { font-size: 1.3rem; max-width: 800px; margin: 0 auto; font-weight: 600; }

.student-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px;  }
.student-card { background: white; border-radius: 20px; padding: 40px 30px; box-shadow: 0 10px 20px rgba(0,0,0,0.05); border-top: 6px solid var(--bleu-clair); text-align: center; position: relative; overflow: hidden; }
.student-card.highlight { border-top-color: #06C167; background: linear-gradient(to bottom, #fafffc 0%, #ffffff 100%); }
.student-badge { background-color: var(--bleu-fonce); color: white; display: inline-block; padding: 8px 20px; border-radius: 20px; font-weight: bold; font-size: 1.2rem; margin-bottom: 60px; }
.student-card.highlight .student-badge { background-color: #06C167; }
.student-card h2 { color: var(--bleu-fonce); font-size: 1.8rem; margin-bottom: 15px; }
p.student-simple { font-size: 1.1rem; margin-bottom: 20px; text-align: center;}
.student-card p { font-size: 1.1rem; margin-bottom: 20px; }
.student-conditions { font-size: 0.9rem; color: gray; font-style:italic; margin-top: 20px; }

a.external-mention { color: gray; text-decoration: none; font-weight: 400; font-size: 0.8rem; transition: 0.5s; }
a.external-mention:hover { color: lightgray; }


/* Pied de page */
footer { background-color: var(--bleu-fonce); color: white; padding: 50px 5% 20px; margin-top: 60px;}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-contact h4, .footer-socials h4 { color: var(--beige-clair); margin-bottom: 20px; font-size: 1.5rem; }
.social-icons a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--bleu-clair); color: white; border-radius: 50%; margin-right: 10px; text-decoration: none; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); }

/* Responsive */
@media (max-width: 900px) {
    .hero, .concept-row, .concept-row.reverse { flex-direction: column; }
    .hero-text h1 span { font-size: 3rem; }
}
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    nav ul { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: var(--beige-estompe); padding: 20px; }
    nav ul.active { display: flex; }
}
@media (max-width: 600px) {
    .form-row { flex-direction: column; gap: 20px; }
    .contact-box { padding: 30px 20px; }
}

