/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Nunito', sans-serif;
    color: #1e2a3a;
    background: #fff;
    line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== VARIABLES ===== */
:root {
    --red: #c0392b;
    --red-light: #fdecea;
    --green: #4a9d6f;
    --green-light: #eaf4ee;
    --yellow: #e8a020;
    --yellow-light: #fef6e4;
    --purple: #6366f1;
    --purple-light: #eef2ff;
    --blue: #3b82f6;
    --blue-light: #eff6ff;
    --dark: #1e2a3a;
    --cream: #faf8f4;
    --gray: #6b7280;
    --gray-light: #f3f4f6;
    --border: #e5e7eb;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --radius: 16px;
    --radius-sm: 10px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; }
p { color: var(--gray); line-height: 1.7; }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-cream { background: var(--cream); }

/* ===== NAVBAR ===== */
.navbar {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 84px;
    max-width: 1200px;
    margin: 0 auto;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.brand-icon {
    width: 42px; height: 42px;
    background: var(--red);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-weight: 900;
    font-size: 18px;
    flex-shrink: 0;
}
.brand-logo {
    height: 64px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-weight: 800; font-size: 17px; color: var(--dark); line-height: 1.1; }
.brand-sub { font-size: 12px; color: var(--gray); font-weight: 500; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}
.nav-link {
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    color: var(--dark);
    transition: background 0.2s, color 0.2s;
}
.nav-link:hover { background: var(--gray-light); }
.nav-link.active { background: var(--red-light); color: var(--red); }

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-right-tools {
    display: flex;
    align-items: center;
    gap: 14px;
}
.social-links {
    display: flex;
    align-items: center;
    gap: 8px;
}
.social-link {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-light);
    color: var(--dark);
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.social-link:hover {
    background: var(--red-light);
    color: var(--red);
    transform: translateY(-1px);
}
.social-link svg {
    width: 17px;
    height: 17px;
}
.lang-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: none;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    background: var(--gray-light);
    color: var(--gray);
    transition: background 0.2s, color 0.2s;
}
.lang-btn.active { background: var(--red); color: #fff; }
.lang-btn:hover:not(.active) { background: var(--border); }

/* Color bar under nav */
.color-bar {
    height: 4px;
    background: linear-gradient(to right, var(--red) 33.33%, var(--yellow) 33.33% 66.66%, var(--green) 66.66%);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ===== HERO SECTIONS ===== */
.hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-home {
    min-height: 60vh;
    background: var(--dark);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.4;
}
.hero-content {
    position: relative;
    z-index: 1;
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
.hero-home .hero-content { color: #fff; max-width: 700px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}
.hero-badge::before {
    content: '';
    width: 8px; height: 8px;
    background: var(--green);
    border-radius: 50%;
}
.hero-home h1 {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 900;
    color: #fff;
    margin-bottom: 12px;
}
.hero-home .hero-subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--yellow);
    font-weight: 700;
    margin-bottom: 16px;
}
.hero-home p {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 36px;
    max-width: 520px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-primary { background: var(--red); color: #fff; }
.btn-secondary { background: rgba(255,255,255,0.15); color: #fff; border: 2px solid rgba(255,255,255,0.3); backdrop-filter: blur(10px); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-outline { background: transparent; color: var(--dark); border: 2px solid var(--border); }

/* Colored hero (page headers) */
.hero-red { background: var(--red); }
.hero-green { background: var(--green); }
.hero-purple { background: var(--purple); }
.hero-dark { background: var(--dark); }
.hero-colored h1 { color: #fff; font-size: clamp(32px, 5vw, 52px); text-align: center; }
.hero-colored p { color: rgba(255,255,255,0.85); text-align: center; font-size: 18px; margin-top: 12px; }
.hero-colored .hero-content { text-align: center; max-width: 700px; }

/* Hero full image (no text overlay) */
.hero-full-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-no-content {
    width: 100%;
}
.hero-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e2a3a 0%, #2d3e50 100%);
    color: rgba(255,255,255,0.4);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    padding: 24px;
}

/* ===== STATS ===== */
.stats-section { padding: 48px 0; background: #fff; border-bottom: 1px solid var(--border); }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.stat-item {
    text-align: center;
    padding: 16px;
    border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-value {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label { font-size: 14px; color: var(--gray); font-weight: 600; }
.stat-red .stat-value { color: var(--red); }
.stat-green .stat-value { color: var(--green); }
.stat-yellow .stat-value { color: var(--yellow); }
.stat-dark .stat-value { color: var(--dark); }

/* ===== SECTION TITLES ===== */
.section-header { margin-bottom: 48px; }
.section-header.centered { text-align: center; }
.section-divider {
    width: 48px; height: 4px;
    background: var(--red);
    border-radius: 2px;
    margin-bottom: 20px;
}
.section-header.centered .section-divider { margin: 0 auto 20px; }
.section-header h2 {
    font-size: clamp(26px, 4vw, 40px);
    color: var(--dark);
    margin-bottom: 12px;
}
.section-header p { font-size: 16px; max-width: 600px; }
.section-header.centered p { margin: 0 auto; }

/* ===== TWO-COLUMN LAYOUT ===== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* ===== IMAGE WITH BADGE ===== */
.img-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: visible;
}
.img-wrapper img {
    border-radius: var(--radius);
    width: 100%;
    height: 420px;
    object-fit: cover;
}
.img-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--green);
    color: #fff;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 20px;
    line-height: 1.2;
    box-shadow: var(--shadow);
}
.img-badge small { display: block; font-size: 12px; font-weight: 600; opacity: 0.85; }
.img-label {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(30,42,58,0.85);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    backdrop-filter: blur(6px);
}
.img-label small { display: block; font-size: 11px; opacity: 0.75; font-weight: 500; }

/* ===== TEXT CONTENT ===== */
.content-text h2 { font-size: clamp(24px, 3.5vw, 36px); color: var(--dark); margin-bottom: 16px; }
.content-text p { margin-bottom: 16px; }
.text-link {
    color: var(--red);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}
.text-link:hover { gap: 10px; }
.text-link-btn {
    border: none;
    background: transparent;
    font: inherit;
    padding: 0;
    cursor: pointer;
}
.text-link-muted {
    color: var(--gray);
}

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 220;
    display: none;
}
.video-modal.open {
    display: block;
}
.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
}
.video-modal-panel {
    position: relative;
    width: min(920px, calc(100% - 24px));
    margin: 40px auto;
    border-radius: var(--radius);
    background: #111827;
    overflow: hidden;
}
.video-modal-close {
    position: absolute;
    top: 8px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}
.video-modal-body iframe,
.video-modal-body video {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    display: block;
}

/* ===== FEATURE CARDS ===== */
.feature-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 60px 0;
}
.feature-card {
    padding: 36px;
    border-radius: var(--radius);
    color: #fff;
}
.feature-card-red { background: var(--red); }
.feature-card-green { background: var(--green); }
.feature-card h3 { font-size: 28px; margin-bottom: 12px; color: #fff; }
.feature-card p { color: rgba(255,255,255,0.9); font-size: 15px; }

/* ===== NEWS SECTION ===== */
.news-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}
.news-header h2 { font-size: clamp(24px, 3vw, 36px); }
.news-all-link {
    color: var(--red);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.news-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-card-img {
    height: 200px;
    background: var(--gray-light);
    overflow: hidden;
}
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-img-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--red-light), var(--green-light));
    font-size: 40px;
}
.news-card-body { padding: 24px; }
.news-date { font-size: 12px; color: var(--gray); font-weight: 600; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.news-card-body h3 { font-size: 18px; color: var(--dark); margin-bottom: 8px; line-height: 1.3; }
.news-card-body p { font-size: 14px; margin-bottom: 16px; }
.news-card-link { color: var(--red); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 4px; }
.news-empty { color: var(--gray); padding: 32px 0; }

/* ===== CTA SECTION ===== */
.cta-section { background: var(--dark); padding: 80px 0; text-align: center; }
.cta-section h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.75); font-size: 16px; margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ===== VALUES CARDS ===== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.value-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}
.value-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}
.icon-red { background: var(--red-light); }
.icon-green { background: var(--green-light); }
.icon-yellow { background: var(--yellow-light); }
.icon-purple { background: var(--purple-light); }
.icon-blue { background: var(--blue-light); }
.value-card h3 { font-size: 16px; color: var(--dark); margin-bottom: 8px; }
.value-card p { font-size: 14px; }

/* ===== MISSION BANNER ===== */
.mission-banner {
    background: var(--green);
    padding: 60px 24px;
    text-align: center;
}
.mission-banner h2 { color: #fff; font-size: clamp(24px, 3vw, 36px); margin-bottom: 16px; }
.mission-banner p { color: rgba(255,255,255,0.9); font-size: 17px; max-width: 700px; margin: 0 auto; }

/* ===== LEVELS CARDS ===== */
.levels-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.level-card {
    border-radius: var(--radius);
    padding: 32px;
    color: #fff;
}
.level-card-red { background: var(--red); }
.level-card-green { background: var(--green); }
.level-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}
.level-icon {
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.25);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
}
.level-card h3 { font-size: 22px; color: #fff; }
.level-list { list-style: none; }
.level-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    margin-bottom: 8px;
    font-size: 14px;
}
.level-item:last-child { margin-bottom: 0; }
.level-item span:first-child { font-weight: 600; }
.level-item span:last-child { opacity: 0.85; font-size: 13px; }

/* ===== HORAIRES ===== */
.horaires-section { background: var(--cream); padding: 60px 0; }
.horaires-table {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.horaire-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    border-bottom: 1px solid var(--border);
}
.horaire-row:last-child { border-bottom: none; }
.horaire-left { display: flex; align-items: center; gap: 14px; }
.horaire-icon {
    width: 38px; height: 38px;
    background: var(--yellow-light);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--yellow);
    font-size: 16px;
}
.horaire-label { font-weight: 600; color: var(--dark); font-size: 15px; }
.horaire-time { font-weight: 700; color: var(--dark); font-size: 15px; }

/* ===== CANTINE ===== */
.cantine-section { background: var(--cream); padding: 60px 0; text-align: center; }
.cantine-icon-wrap {
    width: 64px; height: 64px;
    background: var(--yellow-light);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    margin: 0 auto 16px;
}
.cantine-section h2 { font-size: 28px; margin-bottom: 12px; }
.cantine-section p { max-width: 500px; margin: 0 auto; font-size: 16px; }

/* ===== TEAM ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.team-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-avatar {
    width: 72px; height: 72px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
    font-size: 20px;
    color: #fff;
    margin: 0 auto 16px;
}
.avatar-red { background: var(--red); }
.avatar-green { background: var(--green); }
.avatar-blue { background: var(--blue); }
.avatar-purple { background: var(--purple); }
.avatar-yellow { background: var(--yellow); }
.team-photo {
    width: 72px; height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
}
.team-card h3 { font-size: 16px; color: var(--dark); margin-bottom: 6px; }
.team-card .team-role { font-size: 13px; color: var(--gray); margin-bottom: 12px; }
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
}
.badge-red { background: var(--red-light); color: var(--red); }
.badge-green { background: var(--green-light); color: var(--green); }
.badge-purple { background: var(--purple-light); color: var(--purple); }
.badge-blue { background: var(--blue-light); color: var(--blue); }
.badge-yellow { background: var(--yellow-light); color: var(--yellow); }

/* ===== CONTACT PAGE ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: #fff;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    box-shadow: var(--shadow);
}
.contact-icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.ci-red { background: var(--red-light); }
.ci-green { background: var(--green-light); }
.ci-blue { background: var(--blue-light); }
.ci-yellow { background: var(--yellow-light); }
.contact-info-card .ci-label { font-size: 10px; font-weight: 700; letter-spacing: 1px; color: var(--gray); text-transform: uppercase; margin-bottom: 4px; }
.contact-info-card .ci-value { font-size: 15px; font-weight: 600; color: var(--dark); }

.map-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 12px;
    height: 260px;
    box-shadow: var(--shadow);
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* ===== CONTACT FORM ===== */
.contact-form { background: #fff; }
.contact-form h2 { font-size: 26px; margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-weight: 700; font-size: 14px; color: var(--dark); margin-bottom: 8px; }
.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    color: var(--dark);
    background: #fff;
    transition: border-color 0.2s;
    outline: none;
}
.form-control:focus { border-color: var(--red); }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%236b7280' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 14px;
}
.alert-success { background: var(--green-light); color: var(--green); border: 1px solid #c6e9d5; }
.alert-error { background: var(--red-light); color: var(--red); border: 1px solid #f5c6c6; }

/* ===== NEWS DETAIL ===== */
.news-detail { max-width: 1100px; margin: 0 auto; }
.news-detail-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 28px;
    align-items: start;
}
.news-detail-img {
    width: 100%;
    height: 240px;
    border-radius: var(--radius);
    object-fit: cover;
    position: sticky;
    top: 110px;
}
.news-detail-img-placeholder {
    width: 100%;
    height: 240px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--red-light), var(--green-light));
    font-size: 48px;
    position: sticky;
    top: 110px;
}
.news-detail h1 { font-size: clamp(26px, 4vw, 40px); margin-bottom: 12px; }
.news-detail .news-date { margin-bottom: 24px; }
.news-detail-content p { margin-bottom: 16px; font-size: 16px; line-height: 1.8; color: #374151; }
.wysiwyg-output b, .wysiwyg-output strong { font-weight: 700; }
.wysiwyg-output i, .wysiwyg-output em { font-style: italic; }
.wysiwyg-output p { margin-bottom: 12px; }
.wysiwyg-output ul, .wysiwyg-output ol { padding-left: 24px; margin-bottom: 12px; }
.wysiwyg-output li { margin-bottom: 4px; }

/* ===== BREADCRUMB ===== */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--gray); margin-bottom: 32px; }
.breadcrumb a { color: var(--red); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); }
.footer-main {
    padding: 60px 0;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand-logo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.footer-desc { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.social-links-footer .social-link {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.85);
}
.social-links-footer .social-link:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-links a:hover { color: #fff; }

.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 14px; }
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 24px;
    text-align: center;
    font-size: 13px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== ACTUALITES LIST ===== */
.actu-list { display: flex; flex-direction: column; gap: 32px; }
.actu-item {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}
.actu-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.actu-img { height: 200px; object-fit: cover; width: 100%; }
.actu-img-placeholder {
    height: 200px;
    background: linear-gradient(135deg, var(--red-light), var(--green-light));
    display: flex; align-items: center; justify-content: center;
    font-size: 50px;
}
.actu-body { padding: 28px 28px 28px 0; display: flex; flex-direction: column; justify-content: center; }
.actu-body h3 { font-size: 22px; color: var(--dark); margin-bottom: 10px; }
.actu-body p { margin-bottom: 16px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
    .stat-item:nth-child(2n) { border-right: none; }
}

@media (max-width: 768px) {
    .nav-menu, .lang-switcher, .social-links { display: none; }
    .nav-menu.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 84px;
        left: 0; right: 0;
        background: #fff;
        border-bottom: 1px solid var(--border);
        padding: 12px;
        gap: 4px;
        z-index: 100;
        box-shadow: var(--shadow);
    }
    .nav-menu.open + .lang-switcher { display: flex; position: absolute; top: auto; /* handled in nav */ }
    .menu-toggle { display: flex; }
    .navbar { position: sticky; }
    .navbar-inner { position: relative; }
    .mobile-lang { display: flex; gap: 6px; padding: 8px 12px; }

    .two-col { grid-template-columns: 1fr; gap: 32px; }
    .two-col.reverse { direction: ltr; }
    .feature-cards { grid-template-columns: 1fr; }
    .levels-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .actu-item { grid-template-columns: 1fr; }
    .actu-body { padding: 24px; }
    .footer-main { grid-template-columns: 1fr; gap: 32px; }
    .hero-home { min-height: 80vh; }
    .section { padding: 48px 0; }
    .values-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .news-detail-layout { grid-template-columns: 1fr; }
    .news-detail-img, .news-detail-img-placeholder { position: static; height: 220px; }
}

@media (max-width: 480px) {
    .team-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}
