*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
--blue:       #1e3a8a;
--blue-dark:  #162d6e;
--blue-light: #eff6ff;
--amber:      #f59e0b;
--amber-dark: #d97706;
--text:       #111827;
--muted:      #6b7280;
--border:     #e5e7eb;
--bg:         #f8f9fc;
--white:      #ffffff;
}

html { scroll-behavior: smooth; }

body {
font-family: 'Plus Jakarta Sans', sans-serif;
color: var(--text);
background: var(--white);
line-height: 1.6;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.25; }

a { text-decoration: none; color: inherit; }

img { display: block; max-width: 100%; }

/* ─────────────────────────────────────────
NAVBAR
───────────────────────────────────────── */
.navbar {
position: sticky;
top: 0;
z-index: 100;
background: var(--white);
border-bottom: 1px solid var(--border);
height: 64px;
display: flex;
align-items: center;
padding: 0 2rem;
}

.nav-inner {
max-width: 1200px;
margin: 0 auto;
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
gap: 2rem;
}

.nav-brand {
display: flex;
align-items: center;
gap: 10px;
flex-shrink: 0;
}

.nav-logo {
width: 40px; height: 40px;
background: var(--amber);
border-radius: 9px;
display: flex; align-items: center; justify-content: center;
}

.nav-logo i { font-size: 20px; color: var(--white); }

.nav-brand-text strong {
display: block;
font-size: 14px;
font-weight: 700;
color: var(--blue);
line-height: 1.2;
}

.nav-brand-text span {
font-size: 10.5px;
color: var(--muted);
}

.nav-links {
display: flex;
align-items: center;
gap: 0.25rem;
list-style: none;
}

.nav-links a {
padding: 6px 14px;
border-radius: 8px;
font-size: 13.5px;
font-weight: 500;
color: var(--muted);
transition: color 0.15s, background 0.15s;
}

.nav-links a:hover { color: var(--blue); background: var(--blue-light); }
.nav-links a.active { color: var(--blue); font-weight: 600; }

.nav-actions {
display: flex;
align-items: center;
gap: 8px;
flex-shrink: 0;
}

.btn-outline {
padding: 7px 18px;
border: 1.5px solid var(--blue);
border-radius: 8px;
font-size: 13px;
font-weight: 600;
color: var(--blue);
background: transparent;
cursor: pointer;
transition: background 0.15s;
font-family: inherit;
}

.btn-outline:hover { background: var(--blue-light); }

.btn-primary {
padding: 7px 18px;
background: var(--blue);
border: none;
border-radius: 8px;
font-size: 13px;
font-weight: 600;
color: var(--white);
cursor: pointer;
transition: background 0.15s;
font-family: inherit;
}

.btn-primary:hover { background: var(--blue-dark); }

/* ─────────────────────────────────────────
HERO
───────────────────────────────────────── */
.hero {
background: linear-gradient(135deg, var(--blue) 0%, #1e40af 60%, #1d4ed8 100%);
color: var(--white);
padding: 5rem 2rem 4rem;
position: relative;
overflow: hidden;
}

.hero::before {
content: '';
position: absolute;
top: -80px; right: -80px;
width: 400px; height: 400px;
border-radius: 50%;
background: rgba(255,255,255,0.04);
}

.hero::after {
content: '';
position: absolute;
bottom: -60px; left: -60px;
width: 280px; height: 280px;
border-radius: 50%;
background: rgba(255,255,255,0.03);
}

.hero-inner {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: center;
position: relative;
z-index: 1;
}

.hero-badge {
display: inline-flex;
align-items: center;
gap: 6px;
background: rgba(245,158,11,0.2);
border: 1px solid rgba(245,158,11,0.4);
border-radius: 20px;
padding: 5px 14px;
margin-bottom: 1.25rem;
}

.hero-badge i { font-size: 14px; color: var(--amber); }
.hero-badge span { font-size: 12px; color: var(--amber); font-weight: 500; }

.hero h1 {
font-size: 2.6rem;
font-weight: 700;
line-height: 1.2;
margin-bottom: 1.25rem;
}

.hero h1 em {
font-style: normal;
color: var(--amber);
}

.hero p {
font-size: 15px;
color: rgba(255,255,255,0.75);
margin-bottom: 2rem;
line-height: 1.7;
}

.hero-ctas {
display: flex;
gap: 12px;
flex-wrap: wrap;
}

.btn-hero-primary {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 12px 24px;
background: var(--amber);
color: var(--white);
border-radius: 10px;
font-size: 14px;
font-weight: 600;
font-family: inherit;
border: none;
cursor: pointer;
transition: background 0.15s;
}

.btn-hero-primary:hover { background: var(--amber-dark); }

.btn-hero-secondary {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 12px 24px;
background: rgba(255,255,255,0.1);
color: var(--white);
border-radius: 10px;
font-size: 14px;
font-weight: 500;
font-family: inherit;
border: 1px solid rgba(255,255,255,0.2);
cursor: pointer;
transition: background 0.15s;
}

.btn-hero-secondary:hover { background: rgba(255,255,255,0.18); }

.hero-stats {
display: flex;
gap: 2rem;
margin-top: 2.5rem;
padding-top: 2rem;
border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-stat strong {
display: block;
font-size: 22px;
font-weight: 700;
color: var(--amber);
}

.hero-stat span {
font-size: 12px;
color: rgba(255,255,255,0.6);
}

.hero-right {
display: flex;
flex-direction: column;
gap: 14px;
}

.hero-card {
background: rgba(255,255,255,0.08);
border: 1px solid rgba(255,255,255,0.12);
border-radius: 12px;
padding: 18px 20px;
display: flex;
align-items: flex-start;
gap: 14px;
backdrop-filter: blur(4px);
}

.hero-card-icon {
width: 40px; height: 40px;
background: rgba(245,158,11,0.2);
border-radius: 8px;
display: flex; align-items: center; justify-content: center;
flex-shrink: 0;
}

.hero-card-icon i { font-size: 20px; color: var(--amber); }

.hero-card h3 {
font-family: 'Plus Jakarta Sans', sans-serif;
font-size: 14px;
font-weight: 600;
color: var(--white);
margin-bottom: 3px;
}

.hero-card p {
font-size: 12.5px;
color: rgba(255,255,255,0.6);
margin: 0;
line-height: 1.5;
}

/* ─────────────────────────────────────────
SECTION UTILITAIRES
───────────────────────────────────────── */
.section {
padding: 5rem 2rem;
}

.section-alt { background: var(--bg); }

.container {
max-width: 1200px;
margin: 0 auto;
}

.section-header {
text-align: center;
margin-bottom: 3rem;
}

.section-label {
display: inline-block;
font-size: 11.5px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--blue);
background: var(--blue-light);
padding: 4px 14px;
border-radius: 20px;
margin-bottom: 1rem;
}

.section-header h2 {
font-size: 2rem;
color: var(--text);
margin-bottom: 0.75rem;
}

.section-header p {
font-size: 15px;
color: var(--muted);
max-width: 560px;
margin: 0 auto;
}

/* ─────────────────────────────────────────
PRÉSENTATION & MISSION
───────────────────────────────────────── */
.mission-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
margin-bottom: 3rem;
}

.mission-card {
background: var(--white);
border: 1px solid var(--border);
border-radius: 14px;
padding: 2rem;
}

.mission-card-icon {
width: 46px; height: 46px;
background: var(--blue-light);
border-radius: 10px;
display: flex; align-items: center; justify-content: center;
margin-bottom: 1rem;
}

.mission-card-icon i { font-size: 22px; color: var(--blue); }

.mission-card h3 {
font-family: 'Plus Jakarta Sans', sans-serif;
font-size: 15px;
font-weight: 600;
color: var(--text);
margin-bottom: 8px;
}

.mission-card p {
font-size: 13.5px;
color: var(--muted);
line-height: 1.65;
}

.mission-card ul {
list-style: none;
display: flex;
flex-direction: column;
gap: 6px;
}

.mission-card ul li {
font-size: 13.5px;
color: var(--muted);
display: flex;
align-items: flex-start;
gap: 8px;
line-height: 1.5;
}

.mission-card ul li::before {
content: '';
width: 6px; height: 6px;
border-radius: 50%;
background: var(--amber);
flex-shrink: 0;
margin-top: 7px;
}

.parrainage-banner {
background: var(--blue);
border-radius: 14px;
padding: 2rem 2.5rem;
display: flex;
align-items: center;
justify-content: space-between;
gap: 2rem;
}

.parrainage-banner-text strong {
display: block;
font-size: 16px;
font-weight: 600;
color: var(--white);
margin-bottom: 4px;
}

.parrainage-banner-text span {
font-size: 13px;
color: rgba(255,255,255,0.65);
}

.parrainage-banner-badge {
display: flex;
align-items: center;
gap: 10px;
background: rgba(255,255,255,0.1);
border-radius: 10px;
padding: 12px 18px;
flex-shrink: 0;
}

.parrainage-banner-badge i { font-size: 24px; color: var(--amber); }

.parrainage-banner-badge span {
font-size: 12.5px;
color: var(--white);
line-height: 1.4;
}

/* ─────────────────────────────────────────
PROFESSION DE FOI
───────────────────────────────────────── */
.foi-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.5rem;
}

.foi-card {
background: var(--white);
border: 1px solid var(--border);
border-radius: 12px;
padding: 1.75rem;
position: relative;
}

.foi-card::before {
content: '';
position: absolute;
top: 0; left: 0;
width: 4px; height: 100%;
background: var(--blue);
border-radius: 12px 0 0 12px;
}

.foi-number {
font-size: 11px;
font-weight: 700;
color: var(--blue);
text-transform: uppercase;
letter-spacing: 0.08em;
margin-bottom: 10px;
}

.foi-card p {
font-size: 13.5px;
color: var(--text);
line-height: 1.65;
}

/* ─────────────────────────────────────────
COURS
───────────────────────────────────────── */
.cours-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.25rem;
}

.cours-card {
background: var(--white);
border: 1px solid var(--border);
border-radius: 12px;
padding: 1.5rem;
display: flex;
align-items: center;
gap: 14px;
transition: border-color 0.15s, box-shadow 0.15s;
}

.cours-card:hover {
border-color: var(--blue);
box-shadow: 0 4px 16px rgba(30,58,138,0.08);
}

.cours-icon {
width: 44px; height: 44px;
background: var(--blue-light);
border-radius: 10px;
display: flex; align-items: center; justify-content: center;
flex-shrink: 0;
}

.cours-icon i { font-size: 20px; color: var(--blue); }

.cours-card h3 {
font-family: 'Plus Jakarta Sans', sans-serif;
font-size: 14px;
font-weight: 600;
color: var(--text);
}

/* ─────────────────────────────────────────
DIPLÔMES
───────────────────────────────────────── */
.diplomes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.diplome-card {
background: var(--white);
border: 1px solid var(--border);
border-radius: 14px;
padding: 2rem;
text-align: center;
}

.diplome-icon {
width: 56px; height: 56px;
background: var(--blue-light);
border-radius: 14px;
display: flex; align-items: center; justify-content: center;
margin: 0 auto 1rem;
}

.diplome-icon i { font-size: 26px; color: var(--blue); }

.diplome-card h3 {
font-family: 'Plus Jakarta Sans', sans-serif;
font-size: 15px;
font-weight: 600;
color: var(--text);
margin-bottom: 8px;
}

.diplome-card p {
font-size: 13px;
color: var(--muted);
line-height: 1.6;
}

.diplome-tag {
display: inline-block;
margin-top: 12px;
padding: 3px 12px;
background: var(--blue-light);
color: var(--blue);
border-radius: 20px;
font-size: 11.5px;
font-weight: 600;
}

/* ─────────────────────────────────────────
ADMISSION
───────────────────────────────────────── */
.admission-wrap {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
}

.admission-card {
background: var(--white);
border: 1px solid var(--border);
border-radius: 14px;
padding: 2rem;
}

.admission-card h3 {
font-family: 'Plus Jakarta Sans', sans-serif;
font-size: 15px;
font-weight: 600;
color: var(--text);
margin-bottom: 1.25rem;
display: flex;
align-items: center;
gap: 8px;
}

.admission-card h3 i { font-size: 18px; color: var(--blue); }

.dossier-list {
list-style: none;
display: flex;
flex-direction: column;
gap: 8px;
}

.dossier-list li {
display: flex;
align-items: flex-start;
gap: 10px;
font-size: 13.5px;
color: var(--muted);
line-height: 1.5;
}

.dossier-list li i {
font-size: 16px;
color: var(--amber);
flex-shrink: 0;
margin-top: 1px;
}

.condition-box {
background: var(--blue-light);
border-radius: 10px;
padding: 1.25rem 1.5rem;
margin-bottom: 1.25rem;
display: flex;
align-items: center;
gap: 12px;
}

.condition-box i { font-size: 22px; color: var(--blue); flex-shrink: 0; }

.condition-box p {
font-size: 14px;
color: var(--blue);
font-weight: 500;
}

.ordination-box {
background: linear-gradient(135deg, var(--blue), #1e40af);
border-radius: 10px;
padding: 1.25rem 1.5rem;
display: flex;
align-items: flex-start;
gap: 12px;
margin-top: 1rem;
}

.ordination-box i { font-size: 22px; color: var(--amber); flex-shrink: 0; }

.ordination-box p {
font-size: 13px;
color: rgba(255,255,255,0.85);
line-height: 1.6;
}

.ordination-box strong { color: var(--white); }

/* ─────────────────────────────────────────
CTA FINAL
───────────────────────────────────────── */
.cta-section {
background: linear-gradient(135deg, var(--blue) 0%, #1e40af 100%);
padding: 5rem 2rem;
text-align: center;
color: var(--white);
}

.cta-section h2 {
font-size: 2rem;
margin-bottom: 1rem;
}

.cta-section p {
font-size: 15px;
color: rgba(255,255,255,0.7);
margin-bottom: 2rem;
max-width: 500px;
margin-left: auto;
margin-right: auto;
}

.cta-buttons {
display: flex;
justify-content: center;
gap: 12px;
flex-wrap: wrap;
}

/* ─────────────────────────────────────────
FOOTER
───────────────────────────────────────── */
footer {
background: #0f1f4e;
color: rgba(255,255,255,0.5);
text-align: center;
padding: 1.5rem 2rem;
font-size: 12.5px;
}

footer a { color: var(--amber); }

/* ─────────────────────────────────────────
RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 900px) {
.hero-inner       { grid-template-columns: 1fr; }
.hero-right       { display: none; }
.mission-grid,
.foi-grid,
.diplomes-grid,
.admission-wrap   { grid-template-columns: 1fr; }
.cours-grid       { grid-template-columns: 1fr 1fr; }
.nav-links        { display: none; }
}

@media (max-width: 560px) {
.cours-grid { grid-template-columns: 1fr; }
.hero h1    { font-size: 1.9rem; }
}

@media (max-width: 992px) {
    .diplomes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .diplomes-grid { grid-template-columns: 1fr; }
}