/* ── VARIABLES & RESET ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bleu:    #1a90c8;
  --bleu2:   #0d5f8a;
  --bleu3:   #0a4a6e;
  --noir:    #1a1a2e;
  --noir2:   #243447;
  --blanc:   #ffffff;
  --perle:   #f4f7fa;
  --or:      #C9A84C;
  --or-pale: #FDF8EC;
  --gris:    #6b7c8a;
  --bord:    #e2eaef;
  --texte:   #1e2d3a;
  --vert-ok:    #27ae60;
  --vert:       #27ae60;
  --vert-pale:  #eafaf1;
  --rouge:      #e74c3c;
  --rouge-pale: #fdedec;
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--texte); background: var(--blanc); font-size: 14px; line-height: 1.6; }

/* ── TOPBAR ── */
.topbar { background: var(--noir); border-bottom: 2px solid var(--or); padding: 0 56px; display: flex; justify-content: space-between; align-items: center; min-height: 36px; flex-wrap: wrap; }
.tl { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.ti { font-size: 11px; color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 5px; padding: 5px 0; }
.ti strong { color: rgba(255,255,255,0.9); }
.tr { display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 700; color: var(--or); letter-spacing: 1px; padding: 5px 0; }
.odot { width: 5px; height: 5px; border-radius: 50%; background: var(--or); }

/* ── ABOVE FOLD (plein écran) ── */
/* topbar 36px + header 78px = 114px hors du above-fold dans le layout Blade */
/* -96px pour laisser dépasser "Offre pédagogique" + "Un parcours complet," (scroll hint) */
.above-fold { height: calc(100vh - 210px); min-height: 360px; display: flex; flex-direction: column; }
.above-fold .hero { flex: 1; min-height: 0; }

/* ── HEADER ── */
header { background: var(--blanc); padding: 0 56px; display: flex; align-items: center; justify-content: space-between; min-height: 78px; position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 0 var(--bord),0 4px 20px rgba(0,0,0,0.05); border-bottom: 3px solid var(--bleu); flex-wrap: wrap; gap: 15px; }
.logo-area { display: flex; align-items: center; gap: 14px; }
.logo-img { height: 52px; width: auto; object-fit: contain; flex-shrink: 0; }
.logo-txt h1 { font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 700; color: var(--noir); line-height: 1.2; }
.logo-txt p { font-size: 10px; color: var(--gris); margin-top: 2px; letter-spacing: 0.3px; }
nav { display: flex; align-items: center; gap: 26px; }
nav a { text-decoration: none; color: var(--texte); font-size: 12px; font-weight: 500; position: relative; padding-bottom: 3px; transition: color .2s; }
nav a::after { content:''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--bleu); transition: width .25s; }
nav a:hover::after, nav a.act::after { width: 100%; }
nav a.act { color: var(--bleu); font-weight: 600; }
.nav-btns { display: flex; align-items: center; gap: 10px; }
.btn-ghost { font-size: 12px; font-weight: 600; color: var(--noir); padding: 8px 18px; border: 1.5px solid var(--bord); border-radius: 7px; text-decoration: none; transition: all .2s; }
.btn-ghost:hover { border-color: var(--bleu); color: var(--bleu); }
.btn-blue { font-size: 12px; font-weight: 700; color: white; background: var(--bleu); padding: 9px 20px; border-radius: 7px; text-decoration: none; display: flex; align-items: center; gap: 6px; box-shadow: 0 2px 10px rgba(26,144,200,0.3); transition: background .2s; }
.btn-blue:hover { background: var(--bleu2); }

/* ── HERO & PORTAIL ── */
.hero { background: linear-gradient(135deg, var(--noir) 0%, #1a3a5c 55%, var(--bleu2) 100%); padding: 64px 56px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; position: relative; overflow: hidden; }
.hero::before { content:'AA'; position: absolute; right: -20px; top: -50px; font-family: 'Playfair Display', serif; font-size: 220px; font-weight: 900; color: rgba(26,144,200,0.05); pointer-events: none; line-height: 1; }
.hero-text-block { }
.hero-ey { font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--or); margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.hero-ey::before { content:''; width: 24px; height: 2px; background: var(--or); display: inline-block; }
.hero-h { font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 900; color: white; line-height: 1.1; margin-bottom: 20px; }
.hero-h em { color: var(--bleu); font-style: italic; }
.hero-p { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.8; max-width: 460px; margin-bottom: 32px; font-weight: 300; }
.hero-actions { display: flex; gap: 14px; align-items: center; margin-bottom: 44px; flex-wrap: wrap; }
.btn-hero { background: var(--bleu); color: white; font-weight: 700; font-size: 14px; padding: 14px 28px; border-radius: 9px; text-decoration: none; box-shadow: 0 4px 20px rgba(26,144,200,0.4); transition: all .2s; }
.btn-hero:hover { background: var(--bleu2); transform: translateY(-1px); }
.btn-hero2 { color: rgba(255,255,255,0.7); font-size: 13px; font-weight: 500; text-decoration: none; display: flex; align-items: center; gap: 7px; transition: color .2s; }
.btn-hero2:hover { color: white; }
.hero-chips { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.1); }
.chip { font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.65); padding: 6px 13px; border: 1px solid rgba(255,255,255,0.15); border-radius: 6px; transition: all .2s; }
.chip:hover { border-color: var(--bleu); color: white; }

/* ── CARROUSEL ── */
.carousel-container {
  position: relative;
  width: 100%;
  height: 440px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  flex-shrink: 0;
}
.carousel-slider { width: 100%; height: 100%; }
.carousel-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.8s ease-in-out; }
.carousel-slide.active { opacity: 1; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.carousel-caption { position: absolute; bottom: 44px; left: 16px; right: 16px; background: rgba(10, 30, 60, 0.78); color: #fff; padding: 10px 16px; border-radius: 8px; font-size: 13px; font-weight: 500; backdrop-filter: blur(4px); }
.carousel-prev, .carousel-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.85); border: none; width: 38px; height: 38px; font-size: 16px; cursor: pointer; border-radius: 50%; transition: all 0.2s; z-index: 2; display: flex; align-items: center; justify-content: center; }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
.carousel-prev:hover, .carousel-next:hover { background: #fff; color: var(--bleu2); transform: translateY(-50%) scale(1.08); }
.carousel-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 7px; z-index: 3; }
.carousel-dots .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.45); cursor: pointer; transition: background 0.3s, transform 0.3s; border: none; padding: 0; }
.carousel-dots .dot.active { background: #fff; transform: scale(1.3); }

/* ── STATS ── */
.stats { background: var(--bleu); padding: 24px 56px; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 4px solid var(--or); }
.stat { text-align: center; padding: 4px 0; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,0.15); }
.sn { font-family: 'Playfair Display', serif; font-size: 34px; color: white; line-height: 1; margin-bottom: 4px; }
.sn sup { font-size: 18px; color: var(--or); }
.sl { font-size: 10px; color: rgba(255,255,255,0.75); font-weight: 500; letter-spacing: .3px; text-transform: uppercase; }

/* ── SECTIONS GENERIQUES ── */
.sec { padding: 48px 56px; }
.sec-alt { background: var(--perle); }
.ey { font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--bleu); margin-bottom: 10px; }
.st { font-family: 'Playfair Display', serif; font-size: 34px; color: var(--noir); line-height: 1.2; margin-bottom: 8px; font-weight: 700; }
.ssub { font-size: 13px; color: var(--gris); line-height: 1.8; max-width: 540px; margin-bottom: 44px; }

/* ── NIVEAUX ── */
.niveaux { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--bord); border-radius: 14px; overflow: hidden; border: 1px solid var(--bord); }
.niv { background: white; padding: 28px 22px; transition: background .2s; cursor: default; }
.niv:hover { background: #F0F8FF; }
.niv-num { font-family: 'Playfair Display', serif; font-size: 36px; color: var(--bleu); opacity: .25; line-height: 1; margin-bottom: 8px; }
.niv-ico { font-size: 28px; margin-bottom: 10px; display: block; }
.niv h4 { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; color: var(--noir); margin-bottom: 8px; }
.niv p { font-size: 12px; color: var(--gris); line-height: 1.7; margin-bottom: 12px; }
.niv-pills { display: flex; flex-wrap: wrap; gap: 5px; }
.pill { font-size: 10px; font-weight: 600; padding: 3px 9px; border-radius: 5px; background: var(--perle); color: var(--bleu); border: 1px solid var(--bord); }

/* ── PORTAIL FONCTIONS ── */
.fonc-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.fonc-menu { display: flex; flex-direction: column; gap: 4px; }
.fm { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 10px; border: 1.5px solid transparent; cursor: pointer; transition: all .2s; }
.fm:hover, .fm.on { background: #EBF5FB; border-color: rgba(26,144,200,0.25); }
.fm.on .fl { color: var(--bleu); font-weight: 600; }
.fi { font-size: 18px; flex-shrink: 0; }
.fl { font-size: 13px; font-weight: 500; color: var(--texte); }
.fr { font-size: 10px; color: var(--gris); margin-top: 1px; }
.fonc-detail { background: white; border: 1px solid var(--bord); border-radius: 14px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.fd-banner { height: 150px; background: linear-gradient(135deg, var(--noir) 0%, var(--bleu2) 100%); display: flex; align-items: center; justify-content: center; font-size: 54px; }
.fd-body { padding: 28px; }
.fd-role { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--bleu); margin-bottom: 8px; }
.fd-title { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--noir); margin-bottom: 10px; }
.fd-desc { font-size: 13px; color: var(--gris); line-height: 1.8; margin-bottom: 20px; }
.fd-feats { display: flex; flex-direction: column; gap: 8px; }
.fd-feat { display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; background: var(--perle); border-radius: 8px; font-size: 12px; color: var(--texte); }
.fd-feat::before { content: '✓'; color: var(--bleu); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ── PORTAIL CONNEXION ── */
.fd-cnx-layout { display: grid; grid-template-columns: 1fr 1fr; }
.fd-cnx-layout .fd-body { border-right: 1px solid var(--bord); }
.portail-cnx { display: flex; align-items: center; justify-content: center; padding: 28px; background: var(--perle); }
.portail { width: 100%; max-width: 380px; padding: 24px; border-radius: 14px; background: white; border: 1px solid var(--bord); box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
.port-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--bord); }
.ph-ico { width: 42px; height: 42px; border-radius: 10px; background: white; border: 1px solid var(--bord); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.ph-t { font-size: 16px; font-weight: 700; color: var(--noir); line-height: 1.2; }
.ph-s { font-size: 11px; color: var(--gris); margin-top: 3px; }
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 18px; }
.role { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 12px 6px; border-radius: 10px; border: 1.5px solid var(--bord); cursor: pointer; transition: all .2s; background: white; user-select: none; }
.role.on { border-color: var(--bleu); background: #EBF5FB; }
.role:hover { border-color: var(--bleu); background: #EBF5FB; }
.role.on .rl { color: var(--bleu); font-weight: 700; }
.ri { font-size: 22px; line-height: 1; }
.rl { font-size: 11px; font-weight: 500; color: var(--texte); }
.fld { margin-bottom: 13px; }
.fld label { display: block; font-size: 12px; font-weight: 600; color: var(--texte); margin-bottom: 5px; }
.fld input { width: 100%; padding: 11px 14px; border: 1.5px solid var(--bord); border-radius: 9px; font-size: 13px; font-family: 'Inter', sans-serif; color: var(--texte); background: white; outline: none; transition: border-color .2s; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.fld input:focus { border-color: var(--bleu); }
.fld input::placeholder { color: #b0bec5; }
.frow { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 12px; color: var(--gris); }
.frow a { color: var(--bleu); text-decoration: none; font-size: 12px; font-weight: 500; }
.frow a:hover { text-decoration: underline; }
.btn-cnx { width: 100%; padding: 13px; background: var(--noir); color: white; border: none; border-radius: 10px; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 14px; cursor: pointer; transition: background .2s; display: flex; align-items: center; justify-content: center; gap: 9px; margin-bottom: 12px; letter-spacing: .2px; }
.btn-cnx:hover { background: var(--noir2); }
.sec-badge { text-align: center; font-size: 11px; color: var(--gris); }

/* ── TEMOIGNAGES ── */
.temos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.temo { background: white; border: 1px solid var(--bord); border-radius: 14px; padding: 28px; position: relative; transition: box-shadow .2s; }
.temo:hover { box-shadow: 0 6px 28px rgba(0,0,0,0.07); }
.temo::before { content: '"'; position: absolute; top: 14px; right: 20px; font-family: 'Playfair Display', serif; font-size: 72px; color: #EBF5FB; line-height: 1; }
.temo-txt { font-size: 13px; color: var(--texte); line-height: 1.8; margin-bottom: 18px; font-style: italic; }
.temo-foot { display: flex; align-items: center; gap: 10px; }
.temo-av { width: 38px; height: 38px; border-radius: 50%; background: var(--bleu); display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.temo-name { font-size: 12px; font-weight: 700; color: var(--noir); }
.temo-role { font-size: 11px; color: var(--gris); }

/* ── ACTUALITES ── */
.actu-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 22px; }
.actu-main { background: white; border: 1px solid var(--bord); border-radius: 14px; overflow: hidden; transition: box-shadow .2s; }
.actu-main:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.08); }
.am-img { height: 160px; background: linear-gradient(135deg, var(--noir), var(--bleu2)); display: flex; align-items: center; justify-content: center; font-size: 56px; }
.am-body { padding: 24px; }
.atag { display: inline-block; font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--bleu); background: #EBF5FB; padding: 3px 10px; border-radius: 4px; margin-bottom: 10px; }
.am-title { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: var(--noir); margin-bottom: 8px; line-height: 1.3; }
.am-desc { font-size: 12px; color: var(--gris); line-height: 1.7; }
.am-date { font-size: 11px; color: var(--gris); margin-top: 14px; font-weight: 500; }
.actu-side { display: flex; flex-direction: column; gap: 14px; }
.actu-mini { background: white; border: 1px solid var(--bord); border-radius: 10px; padding: 16px; display: flex; gap: 12px; align-items: flex-start; flex: 1; transition: border-color .2s; }
.actu-mini:hover { border-color: var(--bleu); }
.mini-ico { width: 40px; height: 40px; border-radius: 8px; background: var(--perle); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.mini-tag { font-size: 9px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--bleu); margin-bottom: 3px; }
.mini-t { font-size: 12px; font-weight: 600; color: var(--noir); line-height: 1.4; margin-bottom: 2px; }
.mini-d { font-size: 10px; color: var(--gris); }

/* ── CONTACT ── */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.c-infos { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.c-info { display: flex; gap: 16px; align-items: flex-start; padding: 18px; background: white; border: 1px solid var(--bord); border-radius: 12px; transition: border-color .2s; }
.c-info:hover { border-color: var(--bleu); }
.c-ico { width: 44px; height: 44px; border-radius: 10px; background: var(--noir); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.c-lbl { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--bleu); margin-bottom: 3px; }
.c-val { font-size: 13px; color: var(--texte); font-weight: 500; line-height: 1.6; }
.c-form { background: var(--noir); border-radius: 18px; padding: 36px; }
.cf-t { font-family: 'Playfair Display', serif; font-size: 24px; color: white; margin-bottom: 4px; font-weight: 700; }
.cf-s { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 26px; }
.cf { margin-bottom: 13px; }
.cf label { display: block; font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.7); margin-bottom: 5px; }
.cf input, .cf select, .cf textarea { width: 100%; padding: 11px 14px; border: 1.5px solid rgba(255,255,255,0.12); border-radius: 8px; font-size: 13px; font-family: 'Inter', sans-serif; color: white; background: rgba(255,255,255,0.07); outline: none; transition: border-color .2s; }
.cf input:focus, .cf select:focus, .cf textarea:focus { border-color: var(--bleu); }
.cf input::placeholder, .cf textarea::placeholder { color: rgba(255,255,255,0.3); }
.cf select { color: rgba(255,255,255,0.65); }
.cf select option { background: var(--noir); color: white; }
.cf textarea { resize: vertical; min-height: 80px; }
.btn-send { width: 100%; padding: 13px; background: var(--bleu); color: white; border: none; border-radius: 9px; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 13px; cursor: pointer; transition: background .2s; margin-top: 4px; letter-spacing: .3px; }
.btn-send:hover { background: var(--bleu2); }

/* ── AGREMENTS ── */
.agrements { background: var(--noir); padding: 22px 56px; display: flex; align-items: center; justify-content: space-between; border-top: 3px solid var(--or); flex-wrap: wrap; gap: 20px; }
.ag-lbl { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 10px; }
.ag-list { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.ag { display: flex; align-items: center; gap: 8px; font-size: 11px; color: rgba(255,255,255,0.65); }
.ag-b { background: rgba(201,168,76,0.2); border: 1px solid rgba(201,168,76,0.4); color: var(--or); font-size: 9px; font-weight: 700; padding: 2px 8px; border-radius: 4px; letter-spacing: .5px; }
.ag-r { text-align: right; }
.ag-r .ag-lbl { margin-bottom: 6px; }
.ag-r p { font-size: 12px; color: rgba(255,255,255,0.45); }

/* ── FOOTER ── */
footer { background: #0f1924; padding: 52px 56px 28px; }
.ft { display: grid; grid-template-columns: 2.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.fb-name { font-family: 'Playfair Display', serif; font-size: 17px; color: white; margin-bottom: 8px; font-weight: 700; }
.fb-line { width: 36px; height: 2px; background: var(--or); margin: 12px 0; }
.fb-desc { font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.9; max-width: 260px; }
.fc h6 { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 14px; }
.fc a { display: block; font-size: 12px; color: rgba(255,255,255,0.5); text-decoration: none; margin-bottom: 8px; transition: color .2s; }
.fc a:hover { color: var(--bleu); }
.fc a.hl { color: var(--or); font-weight: 600; }
.fbot { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; flex-wrap: wrap; gap: 10px; }
.fbot p { font-size: 11px; color: rgba(255,255,255,0.25); }
.fbot span { color: var(--or); }

/* ── PAGE HERO (lecole.html) ── */
.page-hero { background: linear-gradient(135deg, var(--noir) 0%, #1a3a5c 55%, var(--bleu2) 100%); padding: 48px 56px; position: relative; overflow: hidden; }
.page-hero::before { content: 'CS2A'; position: absolute; right: -10px; top: -40px; font-family: 'Playfair Display', serif; font-size: 150px; font-weight: 900; color: rgba(26,144,200,0.06); pointer-events: none; line-height: 1; }
.breadcrumb { font-size: 11px; color: rgba(255,255,255,0.5); margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: rgba(255,255,255,0.85); }
.breadcrumb svg { opacity: .4; }
.page-title { font-family: 'Playfair Display', serif; font-size: 44px; font-weight: 900; color: white; line-height: 1.15; }
.page-title em { color: var(--bleu); font-style: italic; }
.page-sub { font-size: 13px; color: rgba(255,255,255,0.65); margin-top: 12px; max-width: 560px; font-weight: 300; line-height: 1.8; }

/* ── HISTOIRE ── */
.histoire { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.histoire-img { border-radius: 16px; overflow: hidden; height: 380px; position: relative; flex-shrink: 0; }
.histoire-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.histoire-badge { position: absolute; bottom: 20px; left: 20px; background: white; border-radius: 10px; padding: 12px 18px; box-shadow: 0 8px 24px rgba(0,0,0,0.18); display: flex; align-items: center; gap: 10px; z-index: 2; }
.hb-num { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 900; color: var(--bleu); }
.hb-lbl { font-size: 10px; color: var(--gris); font-weight: 600; line-height: 1.4; }
.histoire-txt p { font-size: 13px; color: var(--texte); line-height: 1.9; margin-bottom: 16px; }
.histoire-txt p:last-child { margin-bottom: 0; }
.histoire-txt strong { color: var(--noir); }

/* ── STATS 4 COLONNES ── */
.stats-4col { grid-template-columns: repeat(4, 1fr); }

/* ── MISSION VISION VALEURS ── */
.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mvv-card { background: white; border: 1px solid var(--bord); border-radius: 14px; padding: 30px 26px; transition: box-shadow .2s, transform .2s; }
.mvv-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.07); transform: translateY(-3px); }
.mvv-icon { width: 50px; height: 50px; border-radius: 13px; background: var(--noir); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px; }
.mvv-card h4 { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; color: var(--noir); margin-bottom: 10px; }
.mvv-card p { font-size: 12px; color: var(--gris); line-height: 1.8; }

/* ── VALEURS ── */
.valeurs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.valeur { background: white; border: 1px solid var(--bord); border-radius: 12px; padding: 26px 20px; text-align: center; transition: border-color .2s, box-shadow .2s; }
.valeur:hover { border-color: var(--bleu); box-shadow: 0 4px 16px rgba(26,144,200,0.08); }
.val-ico { font-size: 32px; margin-bottom: 12px; display: block; }
.valeur h5 { font-family: 'Playfair Display', serif; font-size: 14px; font-weight: 700; color: var(--noir); margin-bottom: 7px; }
.valeur p { font-size: 11px; color: var(--gris); line-height: 1.7; }

/* ── ÉQUIPE ── */
.equipe-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.membre { background: white; border: 1px solid var(--bord); border-radius: 14px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.membre:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.08); transform: translateY(-3px); }
.mem-photo { height: 140px; background: linear-gradient(135deg, var(--perle), #d6e8f5); display: flex; align-items: center; justify-content: center; font-size: 50px; }
.mem-body { padding: 18px; }
.mem-name { font-family: 'Playfair Display', serif; font-size: 14px; font-weight: 700; color: var(--noir); margin-bottom: 3px; }
.mem-role { font-size: 11px; color: var(--bleu); font-weight: 600; margin-bottom: 9px; }
.mem-desc { font-size: 11px; color: var(--gris); line-height: 1.65; }

/* ── INFRASTRUCTURES ── */
.infra-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.infra-card { background: white; border: 1px solid var(--bord); border-radius: 14px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.infra-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.07); transform: translateY(-2px); }
.infra-img { height: 130px; display: flex; align-items: center; justify-content: center; font-size: 42px; }
.ii-1 { background: linear-gradient(135deg, #e8f4fb, #b8dff5); }
.ii-2 { background: linear-gradient(135deg, #fff3e8, #ffd4a8); }
.ii-3 { background: linear-gradient(135deg, #e8fbed, #a8f0b8); }
.ii-4 { background: linear-gradient(135deg, #f3e8fb, #d4a8f5); }
.ii-5 { background: linear-gradient(135deg, #fbe8ec, #f5a8b8); }
.ii-6 { background: linear-gradient(135deg, #e8f0fb, #a8c4f5); }
.infra-body { padding: 16px; }
.infra-body h5 { font-family: 'Playfair Display', serif; font-size: 14px; font-weight: 700; color: var(--noir); margin-bottom: 6px; }
.infra-body p { font-size: 11px; color: var(--gris); line-height: 1.65; }

/* ── AGRÉMENTS DÉTAILLÉS ── */
.agr-det-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.agr-det-card { background: white; border: 1.5px solid var(--bord); border-radius: 14px; padding: 28px; position: relative; overflow: hidden; transition: box-shadow .2s; }
.agr-det-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.07); }
.agr-det-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--or), #e8c84a); }
.agr-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.agr-badge { width: 44px; height: 44px; border-radius: 10px; background: rgba(201,168,76,0.1); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; border: 1.5px solid rgba(201,168,76,0.35); }
.agr-min { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--or); }
.agr-num { font-family: 'Playfair Display', serif; font-size: 13px; font-weight: 700; color: var(--noir); margin-top: 2px; }
.agr-desc { font-size: 11.5px; color: var(--gris); line-height: 1.75; }

/* ── CTA FINAL ── */
.cta-final { background: linear-gradient(135deg, var(--noir) 0%, #0e2d4a 100%); padding: 64px 56px; text-align: center; position: relative; overflow: hidden; }
.cta-final::before { content: ''; position: absolute; left: -80px; bottom: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(26,144,200,0.12), transparent 70%); }
.cta-final::after { content: ''; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(201,168,76,0.07), transparent 70%); }
.cta-title { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 900; color: white; margin-bottom: 14px; position: relative; z-index: 1; }
.cta-title em { color: var(--or); font-style: italic; }
.cta-sub { font-size: 13px; color: rgba(255,255,255,0.6); max-width: 500px; margin: 0 auto 32px; position: relative; z-index: 1; line-height: 1.8; font-weight: 300; }
.cta-btns { display: flex; gap: 14px; justify-content: center; position: relative; z-index: 1; }
.btn-cta1 { background: var(--bleu); color: white; font-weight: 700; font-size: 13px; padding: 13px 30px; border-radius: 9px; text-decoration: none; box-shadow: 0 4px 20px rgba(26,144,200,0.4); transition: background .2s, transform .2s; display: inline-block; }
.btn-cta1:hover { background: var(--bleu2); transform: translateY(-1px); }
.btn-cta2 { border: 1.5px solid rgba(255,255,255,0.25); color: rgba(255,255,255,0.85); font-weight: 600; font-size: 13px; padding: 12px 28px; border-radius: 9px; text-decoration: none; transition: border-color .2s, color .2s; display: inline-block; }
.btn-cta2:hover { border-color: rgba(255,255,255,0.6); color: white; }

/* ── TAGS ACTUALITÉS (variantes couleur) ── */
.atag.tag-resultats { color: #27ae60; background: var(--vert-pale); }
.atag.tag-event { color: #e67e22; background: #fdf0e3; }
.atag.tag-sport { color: #9b59b6; background: #f5edfa; }

/* ── FILTRES CATÉGORIES ── */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn { padding: 9px 18px; border-radius: 8px; border: 1.5px solid var(--bord); background: white; font-size: 12px; font-weight: 600; color: var(--texte); cursor: pointer; transition: all .2s; font-family: 'Inter', sans-serif; display: flex; align-items: center; gap: 6px; text-decoration: none; }
.filter-btn:hover { border-color: var(--bleu); color: var(--bleu); }
.filter-btn.on { background: var(--noir); border-color: var(--noir); color: white; }

/* ── ARTICLE À LA UNE ── */
.une { display: grid; grid-template-columns: 1.3fr 1fr; background: white; border: 1px solid var(--bord); border-radius: 18px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.06); margin-bottom: 48px; }
.une-img { background: linear-gradient(135deg, var(--noir) 0%, var(--bleu2) 100%); display: flex; align-items: center; justify-content: center; font-size: 90px; min-height: 320px; position: relative; }
.une-badge { position: absolute; top: 20px; left: 20px; background: var(--or); color: var(--noir); font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 14px; border-radius: 6px; }
.une-body { padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; }
.une-tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--bleu); background: #EBF5FB; padding: 3px 11px; border-radius: 5px; margin-bottom: 14px; width: fit-content; }
.une-title { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; color: var(--noir); line-height: 1.35; margin-bottom: 14px; }
.une-desc { font-size: 13px; color: var(--gris); line-height: 1.8; margin-bottom: 20px; }
.une-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.une-date { font-size: 11px; color: var(--gris); display: flex; align-items: center; gap: 5px; }
.btn-lire { background: var(--noir); color: white; font-size: 12px; font-weight: 700; padding: 11px 24px; border-radius: 8px; text-decoration: none; width: fit-content; display: flex; align-items: center; gap: 8px; transition: background .2s; }
.btn-lire:hover { background: var(--noir2); }

/* ── GRILLE ARTICLES (page Actualités — 3 colonnes) ── */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.actu-card { background: white; border: 1px solid var(--bord); border-radius: 14px; overflow: hidden; transition: transform .2s, box-shadow .2s; cursor: pointer; }
.actu-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.09); }
.ac-img { height: 140px; display: flex; align-items: center; justify-content: center; font-size: 46px; }
.ai-1 { background: linear-gradient(135deg, #e8f4fb, #b8dff5); }
.ai-2 { background: linear-gradient(135deg, #fff3e8, #ffd4a8); }
.ai-3 { background: linear-gradient(135deg, #e8fbed, #a8f0b8); }
.ai-4 { background: linear-gradient(135deg, #f3e8fb, #d4a8f5); }
.ai-5 { background: linear-gradient(135deg, #fbe8ec, #f5a8b8); }
.ai-6 { background: linear-gradient(135deg, #e8f0fb, #a8c4f5); }
.ac-body { padding: 20px; }
.ac-body h5 { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; color: var(--noir); margin-bottom: 8px; line-height: 1.4; }
.ac-body p { font-size: 12px; color: var(--gris); line-height: 1.7; margin-bottom: 14px; }
.ac-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--bord); }
.ac-date { font-size: 10px; color: var(--gris); font-weight: 500; }
.ac-link { font-size: 11px; color: var(--bleu); font-weight: 600; text-decoration: none; }

/* ── PAGINATION ── */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.page-btn { width: 38px; height: 38px; border-radius: 8px; border: 1.5px solid var(--bord); background: white; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; color: var(--texte); cursor: pointer; transition: all .2s; text-decoration: none; }
.page-btn:hover { border-color: var(--bleu); color: var(--bleu); }
.page-btn.on { background: var(--noir); border-color: var(--noir); color: white; }
.page-btn.nav { width: auto; padding: 0 16px; }

/* ── NEWSLETTER ── */
.newsletter { background: linear-gradient(135deg, var(--noir) 0%, var(--bleu3) 100%); border-radius: 18px; padding: 44px 48px; display: flex; justify-content: space-between; align-items: center; position: relative; overflow: hidden; }
.newsletter::before { content: ''; position: absolute; right: -40px; top: -40px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(26,144,200,0.2), transparent 70%); }
.nl-txt { position: relative; z-index: 1; max-width: 380px; }
.nl-txt h4 { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: white; margin-bottom: 8px; }
.nl-txt p { font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.7; }
.nl-form { display: flex; gap: 10px; position: relative; z-index: 1; }
.nl-form input { padding: 12px 18px; border-radius: 9px; border: 1.5px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.08); color: white; font-size: 13px; width: 240px; outline: none; font-family: 'Inter', sans-serif; transition: border-color .2s; }
.nl-form input::placeholder { color: rgba(255,255,255,0.35); }
.nl-form input:focus { border-color: var(--or); }
.btn-nl { background: var(--or); color: var(--noir); font-weight: 700; font-size: 13px; padding: 12px 24px; border-radius: 9px; border: none; cursor: pointer; white-space: nowrap; font-family: 'Inter', sans-serif; transition: opacity .2s; }
.btn-nl:hover { opacity: 0.9; }

/* ── SECTIONS COMMUNES (pages secondaires) ── */
.sec-alt { background: var(--perle); }
.ey { font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--bleu); margin-bottom: 10px; }
.st { font-family: 'Playfair Display', serif; font-size: 30px; color: var(--noir); line-height: 1.2; margin-bottom: 8px; font-weight: 700; }
.ssub { font-size: 13px; color: var(--gris); line-height: 1.8; max-width: 580px; margin-bottom: 40px; }

/* ── FORMULAIRE DE CONTACT PANEL ── */
.cf-panel { background: var(--noir); border-radius: 18px; padding: 36px; }
.cf-t { font-family: 'Playfair Display', serif; font-size: 22px; color: white; margin-bottom: 4px; font-weight: 700; }
.cf-s { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 26px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cf-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 10px; color: rgba(255,255,255,0.4); margin-top: 14px; }
.cf-alert { border-radius: 10px; padding: 12px 16px; font-size: 12px; margin-bottom: 16px; line-height: 1.6; }
.cf-alert-success { background: var(--vert-pale); color: var(--vert-ok); border: 1px solid var(--vert-ok); }
.cf-alert-error { background: var(--rouge-pale); color: var(--rouge); border: 1px solid var(--rouge); }

/* ── PAGE ARTICLE ── */
.article-wrap { max-width: 780px; margin: 0 auto; }
.article-image { width: 100%; max-height: 420px; object-fit: cover; border-radius: 16px; margin-bottom: 32px; }
.article-body { font-size: 15px; line-height: 1.9; color: var(--texte); }

/* ── PAGE CONTACT ── */
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.quick-card { background: white; border: 1px solid var(--bord); border-radius: 14px; padding: 26px 22px; text-align: center; transition: box-shadow .2s, transform .2s; }
.quick-card:hover { box-shadow: 0 8px 26px rgba(0,0,0,0.08); transform: translateY(-3px); }
.qc-ico { width: 48px; height: 48px; border-radius: 13px; background: var(--noir); display: flex; align-items: center; justify-content: center; font-size: 20px; margin: 0 auto 14px; }
.quick-card h5 { font-family: 'Playfair Display', serif; font-size: 14px; font-weight: 700; color: var(--noir); margin-bottom: 6px; }
.quick-card p { font-size: 12px; color: var(--gris); line-height: 1.6; }
.quick-card a { color: var(--bleu); text-decoration: none; font-weight: 600; }
.contact-main { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.map-panel { display: flex; flex-direction: column; gap: 18px; }
.map-mock { border-radius: 18px; height: 280px; position: relative; overflow: hidden; border: 1px solid var(--bord); }
.map-label { position: absolute; bottom: 16px; left: 16px; background: white; border-radius: 10px; padding: 10px 16px; box-shadow: 0 6px 20px rgba(0,0,0,0.12); z-index: 2; }
.map-label strong { font-size: 12px; color: var(--noir); display: block; }
.map-label span { font-size: 10px; color: var(--gris); }
.btn-itineraire { position: absolute; top: 16px; right: 16px; background: white; border: 1px solid var(--bord); padding: 8px 14px; border-radius: 8px; font-size: 11px; font-weight: 600; color: var(--noir); text-decoration: none; display: flex; align-items: center; gap: 6px; box-shadow: 0 2px 10px rgba(0,0,0,0.08); transition: border-color .2s, color .2s; }
.btn-itineraire:hover { border-color: var(--bleu); color: var(--bleu); }
.coords-list { display: flex; flex-direction: column; gap: 12px; }
.coord-item { display: flex; gap: 14px; align-items: flex-start; background: white; border: 1px solid var(--bord); border-radius: 12px; padding: 16px 18px; transition: border-color .2s; }
.coord-item:hover { border-color: var(--bleu); }
.co-ico { width: 38px; height: 38px; border-radius: 9px; background: var(--noir); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.co-txt h6 { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--bleu); margin-bottom: 2px; }
.co-txt p { font-size: 13px; color: var(--texte); font-weight: 500; }
.horaires-table { background: white; border: 1px solid var(--bord); border-radius: 14px; overflow: hidden; max-width: 520px; }
.h-row { display: flex; justify-content: space-between; padding: 14px 22px; font-size: 12px; }
.h-row:not(:last-child) { border-bottom: 1px solid var(--bord); }
.h-row.closed { background: var(--perle); }
.h-day { font-weight: 600; color: var(--noir); }
.h-time { color: var(--gris); }
.h-time.off { color: #c0392b; font-weight: 600; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { background: white; border: 1px solid var(--bord); border-radius: 14px; padding: 26px; transition: box-shadow .2s; }
.service-card:hover { box-shadow: 0 8px 26px rgba(0,0,0,0.07); }
.sv-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--vert-pale); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px; }
.service-card h5 { font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 700; color: var(--noir); margin-bottom: 8px; }
.service-card p { font-size: 12px; color: var(--gris); line-height: 1.7; margin-bottom: 14px; }
.sv-contact { font-size: 11px; color: var(--bleu); font-weight: 600; }
.social-band { background: var(--perle); border-radius: 16px; padding: 32px 36px; display: flex; justify-content: space-between; align-items: center; }
.social-txt h4 { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--noir); margin-bottom: 4px; }
.social-txt p { font-size: 12px; color: var(--gris); }
.social-icons { display: flex; gap: 10px; }
.soc-btn { width: 42px; height: 42px; border-radius: 10px; background: white; border: 1px solid var(--bord); display: flex; align-items: center; justify-content: center; font-size: 18px; text-decoration: none; transition: background .2s, border-color .2s; }
.soc-btn:hover { background: var(--bleu); border-color: var(--bleu); }

/* ── PAGE SCOLARITÉ ── */
.notice { background: var(--or-pale); border: 1.5px dashed var(--or); border-radius: 10px; padding: 14px 20px; display: flex; align-items: center; gap: 12px; margin-bottom: 36px; }
.notice-ico { font-size: 20px; flex-shrink: 0; }
.notice p { font-size: 12px; color: #8a6a10; line-height: 1.6; }
.notice strong { color: #6b4f0a; }
.tarifs-table { background: white; border: 1px solid var(--bord); border-radius: 14px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
.tarifs-wrap { overflow-x: auto; }
.tt-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; align-items: center; scroll-margin-top: 96px; }
.tt-head { background: var(--noir); }
.tt-head .tt-cell { color: white; font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; padding: 16px 22px; }
.tt-row:not(.tt-head) { border-top: 1px solid var(--bord); transition: background .2s; }
.tt-row:not(.tt-head):hover { background: var(--perle); }
.tt-cell { padding: 18px 22px; font-size: 13px; }
.tt-niveau { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--noir); }
.tt-niveau .ico { font-size: 20px; }
.tt-montant { font-family: 'Playfair Display', serif; font-weight: 700; color: var(--bleu2); font-size: 15px; }
.tt-montant sup { font-size: 10px; color: var(--gris); font-weight: 400; font-family: 'Inter', sans-serif; }
.tt-note { font-size: 11px; color: var(--gris); }
.frais-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.fi-card { background: white; border: 1px solid var(--bord); border-radius: 12px; padding: 22px; }
.fi-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--vert-pale); display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 14px; }
.fi-card h5 { font-family: 'Playfair Display', serif; font-size: 14px; font-weight: 700; color: var(--noir); margin-bottom: 8px; }
.fi-card p { font-size: 12px; color: var(--gris); line-height: 1.7; }
.etapes { display: flex; flex-direction: column; }
.etape { display: grid; grid-template-columns: 60px 1fr; gap: 24px; padding-bottom: 36px; }
.etape:last-child { padding-bottom: 0; }
.etape-num-wrap { display: flex; flex-direction: column; align-items: center; }
.etape-num { width: 48px; height: 48px; border-radius: 50%; background: var(--noir); color: white; display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; flex-shrink: 0; border: 3px solid var(--or); z-index: 1; }
.etape-line { width: 2px; flex: 1; background: var(--bord); margin-top: 4px; min-height: 20px; }
.etape:last-child .etape-line { display: none; }
.etape-body { padding-top: 6px; }
.etape-body h5 { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; color: var(--noir); margin-bottom: 8px; }
.etape-body p { font-size: 12px; color: var(--gris); line-height: 1.8; max-width: 560px; }
.etape-tag { display: inline-block; font-size: 10px; font-weight: 700; color: var(--bleu); background: #EBF5FB; padding: 3px 10px; border-radius: 5px; margin-top: 10px; }
.docs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.doc-item { display: flex; align-items: center; gap: 14px; background: white; border: 1px solid var(--bord); border-radius: 10px; padding: 16px 18px; transition: border-color .2s; }
.doc-item:hover { border-color: var(--vert); }
.doc-check { width: 28px; height: 28px; border-radius: 50%; background: var(--vert-pale); color: var(--vert); display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; font-weight: 700; }
.doc-txt h6 { font-size: 12px; font-weight: 600; color: var(--texte); }
.doc-txt span { font-size: 10px; color: var(--gris); }
.calendrier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cal-card { background: white; border: 1px solid var(--bord); border-radius: 14px; padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.cal-date { background: var(--noir); color: white; border-radius: 10px; padding: 10px 14px; text-align: center; flex-shrink: 0; min-width: 60px; }
.cal-date .day { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; line-height: 1; }
.cal-date .month { font-size: 9px; color: var(--or); text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }
.cal-txt h5 { font-family: 'Playfair Display', serif; font-size: 14px; font-weight: 700; color: var(--noir); margin-bottom: 5px; }
.cal-txt p { font-size: 11px; color: var(--gris); line-height: 1.6; }
.paiement-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pay-card { background: white; border: 1px solid var(--bord); border-radius: 12px; padding: 22px; text-align: center; transition: box-shadow .2s; }
.pay-card:hover { box-shadow: 0 6px 22px rgba(0,0,0,0.06); }
.pay-ico { font-size: 30px; margin-bottom: 12px; display: block; }
.pay-card h5 { font-size: 12px; font-weight: 700; color: var(--noir); margin-bottom: 5px; }
.pay-card p { font-size: 11px; color: var(--gris); line-height: 1.6; }
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.faq-item { background: white; border: 1px solid var(--bord); border-radius: 10px; overflow: hidden; }
.faq-q { padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; user-select: none; }
.faq-q .txt { font-size: 13px; font-weight: 600; color: var(--noir); }
.faq-q .icon { font-size: 20px; color: var(--bleu); transition: transform .2s; flex-shrink: 0; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { padding: 0 22px; max-height: 0; overflow: hidden; transition: all .3s ease; }
.faq-item.open .faq-a { padding: 0 22px 18px; max-height: 200px; }
.faq-a p { font-size: 12px; color: var(--gris); line-height: 1.8; }

/* ── PAGE VIE SCOLAIRE ── */
.galerie { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 160px); gap: 10px; }
.gphoto { border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 38px; position: relative; cursor: pointer; transition: transform .2s; }
.gphoto:hover { transform: scale(0.98); }
.gphoto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.35)); opacity: 0; transition: opacity .2s; }
.gphoto:hover::after { opacity: 1; }
.g1 { grid-column: span 2; grid-row: span 2; background: linear-gradient(135deg, var(--noir), var(--bleu2)); }
.g2 { background: linear-gradient(135deg, #e8f4fb, #b8dff5); }
.g3 { background: linear-gradient(135deg, #fff3e8, #ffd4a8); }
.g4 { background: linear-gradient(135deg, #e8fbed, #a8f0b8); }
.g5 { background: linear-gradient(135deg, #f3e8fb, #d4a8f5); }
.g6 { background: linear-gradient(135deg, #fbe8ec, #f5a8b8); }
.g-label { position: absolute; bottom: 10px; left: 14px; color: white; font-size: 11px; font-weight: 600; z-index: 2; opacity: 0; transition: opacity .2s; }
.gphoto:hover .g-label { opacity: 1; }
.activites-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.act-card { background: white; border: 1px solid var(--bord); border-radius: 14px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.act-card:hover { box-shadow: 0 8px 26px rgba(0,0,0,0.08); transform: translateY(-3px); }
.act-img { height: 110px; display: flex; align-items: center; justify-content: center; font-size: 40px; }
.a1 { background: linear-gradient(135deg, #e8f4fb, #b8dff5); }
.a2 { background: linear-gradient(135deg, #fff3e8, #ffd4a8); }
.a3 { background: linear-gradient(135deg, #e8fbed, #a8f0b8); }
.a4 { background: linear-gradient(135deg, #f3e8fb, #d4a8f5); }
.a5 { background: linear-gradient(135deg, #fbe8ec, #f5a8b8); }
.a6 { background: linear-gradient(135deg, #e8f0fb, #a8c4f5); }
.act-tag { display: inline-block; font-size: 9px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--bleu); background: #EBF5FB; padding: 2px 9px; border-radius: 4px; margin-bottom: 8px; }
.act-body { padding: 18px; }
.act-body h5 { font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 700; color: var(--noir); margin-bottom: 6px; }
.act-body p { font-size: 12px; color: var(--gris); line-height: 1.7; }
.cantine-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cantine-img { border-radius: 16px; height: 300px; background: linear-gradient(135deg, #fff3e8, #ffd4a8); display: flex; align-items: center; justify-content: center; font-size: 80px; position: relative; }
.cantine-badge { position: absolute; bottom: 18px; left: 18px; background: white; border-radius: 10px; padding: 10px 16px; box-shadow: 0 6px 20px rgba(0,0,0,0.12); display: flex; align-items: center; gap: 8px; }
.cb-ico { font-size: 18px; }
.cb-txt { font-size: 11px; font-weight: 600; color: var(--noir); }
.cantine-list { display: flex; flex-direction: column; gap: 14px; }
.cl-item { display: flex; gap: 14px; align-items: flex-start; }
.cl-ico { width: 36px; height: 36px; border-radius: 9px; background: var(--vert-pale); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.cl-txt h6 { font-size: 13px; font-weight: 600; color: var(--noir); margin-bottom: 3px; }
.cl-txt p { font-size: 11px; color: var(--gris); line-height: 1.6; }
.sante-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sante-card { background: white; border: 1px solid var(--bord); border-radius: 12px; padding: 22px; text-align: center; }
.sante-ico { font-size: 30px; margin-bottom: 12px; display: block; }
.sante-card h5 { font-size: 12px; font-weight: 700; color: var(--noir); margin-bottom: 6px; }
.sante-card p { font-size: 11px; color: var(--gris); line-height: 1.6; }
.urgence-bar { margin-top: 24px; background: var(--rouge-pale); border: 1.5px solid rgba(231,76,60,0.3); border-radius: 12px; padding: 18px 24px; display: flex; align-items: center; gap: 16px; }
.ub-ico { font-size: 24px; flex-shrink: 0; }
.ub-txt p { font-size: 12px; color: #922b21; line-height: 1.6; }
.ub-txt strong { color: #7a2118; }
.reglement-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.regl-card { background: white; border: 1px solid var(--bord); border-radius: 12px; padding: 22px; display: flex; gap: 16px; align-items: flex-start; }
.regl-num { width: 36px; height: 36px; border-radius: 50%; background: var(--noir); color: var(--or); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.regl-txt h6 { font-size: 13px; font-weight: 700; color: var(--noir); margin-bottom: 5px; }
.regl-txt p { font-size: 11px; color: var(--gris); line-height: 1.7; }
.btn-telecharger { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; background: var(--noir); color: white; font-size: 12px; font-weight: 600; padding: 11px 22px; border-radius: 8px; text-decoration: none; transition: background .2s; }
.btn-telecharger:hover { background: var(--noir2); }
.ape-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.ape-card { background: white; border: 1px solid var(--bord); border-radius: 16px; padding: 32px; }
.ape-icon { width: 54px; height: 54px; border-radius: 14px; background: var(--noir); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px; }
.ape-card h4 { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: var(--noir); margin-bottom: 12px; }
.ape-card p { font-size: 12px; color: var(--gris); line-height: 1.8; margin-bottom: 18px; }
.ape-roles { display: flex; flex-direction: column; gap: 10px; }
.ape-role { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: var(--perle); border-radius: 8px; }
.ape-role-name { font-size: 11px; font-weight: 600; color: var(--texte); }
.ape-role-fn { font-size: 10px; color: var(--bleu); font-weight: 600; }
.ape-visual { border-radius: 16px; height: 280px; background: linear-gradient(135deg, var(--noir), var(--bleu2)); display: flex; align-items: center; justify-content: center; font-size: 70px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero { padding: 48px 24px; grid-template-columns: 1fr; gap: 32px; }
  .carousel-container { height: 320px; }
  .niveaux { grid-template-columns: repeat(2, 1fr); }
  .ft { grid-template-columns: 1fr 1fr; gap: 30px; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .stat + .stat { border-left: none; }
  .logo-img { height: 44px; }
  .page-hero { padding: 40px 24px; }
  .histoire { grid-template-columns: 1fr; gap: 32px; }
  .histoire-img { height: 280px; }
  .mvv-grid { grid-template-columns: 1fr; gap: 16px; }
  .valeurs-grid { grid-template-columns: repeat(2, 1fr); }
  .equipe-grid { grid-template-columns: repeat(2, 1fr); }
  .infra-grid { grid-template-columns: repeat(2, 1fr); }
  .agr-det-grid { grid-template-columns: 1fr; gap: 16px; }
  .stats-4col { grid-template-columns: repeat(2, 1fr); }
  .cta-final { padding: 48px 24px; }
  .une { grid-template-columns: 1fr; }
  .une-img { min-height: 200px; font-size: 60px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter { flex-direction: column; gap: 24px; text-align: center; padding: 36px 32px; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-main { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .activites-grid { grid-template-columns: repeat(2, 1fr); }
  .frais-info { grid-template-columns: repeat(2, 1fr); }
  .paiement-grid { grid-template-columns: repeat(2, 1fr); }
  .calendrier-grid { grid-template-columns: repeat(2, 1fr); }
  .cantine-layout { grid-template-columns: 1fr; }
  .ape-layout { grid-template-columns: 1fr; }
  .reglement-layout { grid-template-columns: 1fr; }
  .sante-grid { grid-template-columns: repeat(2, 1fr); }
  .galerie { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .g1 { grid-column: span 1; grid-row: span 1; }
}
@media (max-width: 768px) {
  .topbar, header, .sec, .stats, .agrements, footer, .page-hero, .cta-final { padding-left: 20px; padding-right: 20px; }
  .social-band { flex-direction: column; gap: 20px; text-align: center; }
  .docs-grid { grid-template-columns: 1fr; }
  .cf-row { grid-template-columns: 1fr; }
  .une-body { padding: 28px 24px; }
  .newsletter { padding: 28px 20px; }
  .nl-form { flex-direction: column; }
  .nl-form input { width: 100%; }
  .topbar { justify-content: center; text-align: center; }
  .tl { justify-content: center; gap: 10px; }
  .tr { width: 100%; justify-content: center; }
  header { flex-direction: column; padding: 16px 20px; text-align: center; }
  .logo-area { flex-direction: column; text-align: center; }
  .logo-img { height: 40px; }
  nav { flex-wrap: wrap; justify-content: center; gap: 15px; margin: 10px 0; }
  .hero { padding: 36px 20px; gap: 24px; }
  .hero-h { font-size: 34px; }
  .carousel-container { height: 250px; }
  .fonc-wrap { grid-template-columns: 1fr; }
  .temos { grid-template-columns: 1fr; }
  .actu-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 30px; }
  .ag-r { text-align: left; }
  .sec { padding: 36px 20px; }
}
@media (max-width: 480px) {
  .niveaux { grid-template-columns: 1fr; }
  .ft { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 12px; text-align: center; }
  .stats-4col { grid-template-columns: 1fr; }
  .carousel-container { height: 200px; }
  .hero-h { font-size: 28px; }
  .page-title { font-size: 32px; }
  .valeurs-grid { grid-template-columns: 1fr; }
  .equipe-grid { grid-template-columns: 1fr; }
  .infra-grid { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; align-items: center; }
  .quick-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .activites-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .calendrier-grid { grid-template-columns: 1fr; }
  .paiement-grid { grid-template-columns: repeat(2, 1fr); }
  .galerie { grid-template-columns: 1fr 1fr; }
  .frais-info { grid-template-columns: 1fr; }
  .sante-grid { grid-template-columns: 1fr 1fr; }
}