/* ========================================
   JCM - Jeunes Chrétiens Modèles
   Style CSS Complet
   ======================================== */

/* ===== Variables CSS ===== */
:root {
    --primary: #0b4f66;
    --primary-dark: #063748;
    --primary-50: rgba(11, 79, 102, 0.1);
    --accent: #c9a227;
    --accent-light: #e8c547;
    --gold: #d4af37;
    --emerald: #059669;
    --crimson: #e63950;
    --night: #102f3a;

    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --black: #000000;

    --text-main: var(--gray-800);
    --text-muted: var(--gray-500);
    --text-light: var(--gray-400);

    --bg-body: var(--white);
    --bg-light: var(--gray-50);
    --bg-gray: var(--gray-100);

    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 2px 8px rgba(28, 40, 112, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(28, 40, 112, 0.12), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 30px rgba(28, 40, 112, 0.15), 0 4px 6px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 50px rgba(28, 40, 112, 0.20), 0 10px 10px rgba(0, 0, 0, 0.04);

    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-body);
    background-image:
        radial-gradient(900px 600px at 10% 0%, rgba(28, 40, 112, 0.10), transparent 60%),
        radial-gradient(800px 500px at 90% 10%, rgba(62, 42, 245, 0.07), transparent 55%),
        radial-gradient(500px 400px at 50% 95%, rgba(201, 162, 39, 0.06), transparent 60%),
        linear-gradient(180deg, rgba(249, 250, 251, 1), rgba(255, 255, 255, 1));
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    max-width: 100vw;
}

html, body {
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-main);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ===== Utilities ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-white { color: var(--white) !important; }
.text-gray-500 { color: var(--gray-500); }
.text-gray-600 { color: var(--gray-600); }
.text-gray-700 { color: var(--gray-700); }
.text-primary { color: var(--primary) !important; }
.text-accent { color: var(--accent); }
.text-gold { color: var(--gold); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }

.opacity-80 { opacity: 0.8; }
.opacity-90 { opacity: 0.9; }

.bg-light { background-color: var(--bg-light); }
.bg-gray { background-color: var(--bg-gray); }
.bg-dark { background-color: var(--gray-900); }
.bg-primary { background-color: var(--primary); }

.hidden { display: none !important; }
.w-full { width: 100%; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mt-4 { margin-top: 1rem; }
.mr-2 { margin-right: 0.5rem; }
.ml-2 { margin-left: 0.5rem; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }

/* Flex utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* Grid utilities */
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }

/* ===== Buttons ===== */
.btn-success {
    background-color: var(--emerald);
    color: var(--white);
    border-color: var(--emerald);
}

.btn-success:hover {
    background-color: #047857;
    border-color: #047857;
    color: var(--white);
}

.btn-danger {
    background-color: #ef4444;
    color: var(--white);
    border-color: #ef4444;
}

.btn-danger:hover {
    background-color: #dc2626;
    border-color: #dc2626;
    color: var(--white);
}

.btn-warning {
    background-color: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.btn-warning:hover {
    background-color: #b8860b;
    border-color: #b8860b;
    color: var(--white);
}

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.col-span-full {
    grid-column: 1 / -1;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.bg-blue-50 {
    background-color: rgba(59, 130, 246, 0.1);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(26, 95, 74, 0.20);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-color: var(--primary-dark);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--gray-100);
    color: var(--gray-700);
    border-color: var(--gray-200);
}

.btn-secondary:hover {
    background-color: var(--gray-200);
    color: var(--gray-800);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-white:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-gold {
    background-color: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.btn-gold:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(28, 40, 112, 0.06);
    box-shadow: 0 1px 20px rgba(28, 40, 112, 0.06);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.92);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 70px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.navbar-brand img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.navbar-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition-fast);
}

.navbar-link:hover,
.navbar-link.active {
    color: var(--primary);
}

.admin-shortcut {
    opacity: 0.6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius);
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: rgba(255, 255, 255, 0.5);
}

.admin-shortcut:hover {
    opacity: 1;
    background: rgba(26, 95, 74, 0.08);
    border-color: rgba(26, 95, 74, 0.18);
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.navbar-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--gray-700);
    transition: var(--transition-fast);
}

/* Hamburger -> X */
@media (max-width: 768px) {
    .navbar-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .navbar-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* ===== Page Header ===== */
.page-header {
    background: linear-gradient(135deg, #0b4f66 0%, #14748b 60%, #063748 100%);
    padding: 120px 0 60px;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 400px at 80% 50%, rgba(201, 162, 39, 0.15), transparent 60%),
        radial-gradient(400px 300px at 10% 30%, rgba(255, 255, 255, 0.05), transparent 60%);
    pointer-events: none;
}

.page-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
}

/* ===== Hero Section ===== */
.hero {
    padding: 120px 0 80px;
    background:
        radial-gradient(900px 600px at 20% 0%, rgba(28, 40, 112, 0.13), transparent 60%),
        radial-gradient(700px 500px at 85% 25%, rgba(201, 162, 39, 0.12), transparent 55%),
        radial-gradient(600px 400px at 50% 90%, rgba(62, 42, 245, 0.07), transparent 55%),
        linear-gradient(180deg, rgba(249, 250, 251, 1) 0%, rgba(255, 255, 255, 1) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-kicker {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary-50);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

/* Backward compat: index.html utilise parfois "hero-badge" */
.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(26, 95, 74, 0.12), rgba(201, 162, 39, 0.10));
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-values {
    display: flex;
    gap: 2rem;
}

.hero-value {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.hero-value i {
    font-size: 1.25rem;
    color: var(--primary);
    margin-top: 0.25rem;
}

.hero-value strong {
    display: block;
    font-weight: 600;
    color: var(--gray-900);
}

.hero-value span {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-photo-card {
    width: 100%;
    max-width: 400px;
    height: min(520px, 62vh);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.hero-photo-card-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(450px 320px at 20% 10%, rgba(62, 42, 245, 0.55), transparent 60%),
        radial-gradient(380px 260px at 90% 25%, rgba(201, 162, 39, 0.42), transparent 55%),
        linear-gradient(135deg, #0b4f66 0%, #063748 100%);
    transform: scale(1.02);
}

.hero-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(28, 40, 112, 0.15);
}

.hero-floating-card-top {
    top: 20px;
    right: -20px;
    max-width: 220px;
}

.hero-floating-card-bottom {
    bottom: 30px;
    left: -30px;
    max-width: 200px;
}

.hero-floating-label {
    display: block;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.hero-floating-card p {
    font-size: 0.875rem;
    color: var(--gray-700);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.hero-floating-card strong {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.hero-mini-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.hero-mini-list i {
    color: var(--primary);
}

/* ===== Sections ===== */
.section {
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-light {
    background-color: var(--gray-50);
    background-image: radial-gradient(800px 500px at 10% 50%, rgba(28, 40, 112, 0.04), transparent 60%);
}

.section-dark {
    background: linear-gradient(135deg, #0b4f66 0%, #063748 60%, #032833 100%);
    position: relative;
    overflow: hidden;
}

.section-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 400px at 15% 50%, rgba(62, 42, 245, 0.25), transparent 60%),
        radial-gradient(400px 300px at 85% 20%, rgba(201, 162, 39, 0.10), transparent 60%);
    pointer-events: none;
}

.section-dark .container {
    position: relative;
    z-index: 1;
}

.section-gray {
    background-color: var(--gray-100);
    background-image: radial-gradient(700px 400px at 80% 20%, rgba(28, 40, 112, 0.04), transparent 60%);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header-left {
    text-align: left;
    margin-left: 0;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(26, 95, 74, 0.12), rgba(201, 162, 39, 0.10));
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.badge-inverse {
    background-color: var(--primary);
    color: var(--white);
}

.section-title {
    font-size: clamp(1.6rem, 2.4vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===== Editorial Grid ===== */
.editorial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.vision-panel {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    position: relative;
}

.vision-panel-mark {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
}

.vision-panel-text {
    font-size: 1.125rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.vision-panel-reference {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
}

/* ===== Pillar Grid ===== */
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pillar-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pillar-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

/* ===== Mission Section ===== */
.mission-shell {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.mission-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mission-card {
    background: var(--gray-800);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

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

.card-body {
    text-align: center;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.card-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.card-icon.accent { background: var(--accent); }
.card-icon.emerald { background: var(--emerald); }

.card-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-400);
    margin-bottom: 0.5rem;
}

/* ===== Activities Layout ===== */
.activities-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.activity-feature {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.activity-feature img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.activity-feature-copy {
    padding: 2rem;
}

.activity-feature-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.activity-feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.activity-feature p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.activity-feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.activity-feature-tags span {
    padding: 0.25rem 0.75rem;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--gray-600);
}

.activity-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.activity-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.activity-card:hover {
    transform: translateX(5px);
}

.activity-meta {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-400);
    margin-bottom: 0.5rem;
}

/* ===== Stats ===== */
.stats-shell {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ===== Quote ===== */
.quote {
    padding: 1.5rem;
    background: rgba(28, 40, 112, 0.05);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: var(--radius);
    border-left: 4px solid var(--accent);
}

.quote-soft {
    border-left-color: var(--primary);
    background: rgba(28, 40, 112, 0.04);
}

/* ===== Registration ===== */
.registration-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.membership-panel {
    max-width: 500px;
}

.checklist {
    margin: 2rem 0;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--gray-300);
}

.checklist i {
    color: var(--accent);
    font-size: 1rem;
}


.quote-text {
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.quote-author {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
}

/* ===== Form ===== */
.form-panel {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.form-panel-header {
    margin-bottom: 2rem;
}

.form-note {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.form-grid-tight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--gray-800);
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-50);
}

.form-control::placeholder {
    color: var(--gray-400);
}

/* ===== Contact ===== */
.contact-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 1.25rem;
    color: var(--white);
}

.contact-icon.whatsapp { background: #25d366; }
.contact-icon.gold { background: var(--accent); }

.social-pills {
    display: flex;
    gap: 0.75rem;
}

/* ===== Card ===== */
.card {
    background: rgba(255, 255, 255, 0.80);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.65);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.92);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.card-text {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

/* ===== Alert ===== */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
}

/* ===== Text Sizes ===== */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }

/* ===== Resume Card ===== */
.resume-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    overflow: hidden;
}

.resume-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-100);
}

.resume-header .card-title {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}

.resume-content {
    padding: 1.5rem;
}

.resume-passage {
    background: var(--gray-50);
    border-left: 4px solid var(--primary);
    padding: 1rem 1.25rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin-bottom: 1.25rem;
}

.resume-passage .verse {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-style: italic;
    color: var(--gray-800);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.resume-passage .reference {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
}

.presence-list {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--gray-100);
}

.presence-list h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.presence-list h4 i {
    color: var(--primary);
}

.presence-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.presence-item {
    background: var(--gray-100);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--gray-700);
}

/* ===== Events & Gallery ===== */
.event-section {
    margin-bottom: 4rem;
}

.event-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius);
    margin-top: 1.5rem;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===== Events Grid ===== */
.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.event-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.event-hero {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.event-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.event-card:hover .event-hero img {
    transform: scale(1.05);
}

.event-date-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius);
    text-align: center;
}

.event-date-badge .day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.event-date-badge .month {
    font-size: 0.75rem;
    text-transform: uppercase;
}

.event-body {
    padding: 1.5rem;
}

.event-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.event-meta i {
    margin-right: 0.25rem;
}

.event-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.event-excerpt {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* ===== Admin Page ===== */
.admin-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 1.5rem 3rem;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.admin-title {
    font-size: 2rem;
}

.admin-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--gray-200);
    padding-bottom: 0;
}

.admin-tab {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-500);
    cursor: pointer;
    transition: var(--transition-fast);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.admin-tab:hover {
    color: var(--gray-700);
}

.admin-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.admin-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-bottom: 2rem;
}

.admin-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-100);
}

.admin-section-title {
    font-size: 1.25rem;
    font-weight: 600;
}

/* ===== Footer ===== */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.footer-text {
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: var(--gray-800);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-title {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--gray-400);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(10px);
}

.fade-in.visible {
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* ===== Lightbox ===== */
.lightbox-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

#lightbox-nav {
    position: fixed;
    top: 50%;
    width: 100%;
    height: 60px;
    display: flex;
    pointer-events: none;
}

#lightbox-prev, #lightbox-next {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    backdrop-filter: blur(10px);
    transition: all 0.2s;
}

#lightbox-prev { margin-left: auto; margin-right: 20px; }
#lightbox-next { margin-left: 20px; margin-right: auto; }

#lightbox-prev:hover, #lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lightbox-close {
    position: fixed;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10001;
    backdrop-filter: blur(10px);
}

/* ===== File Input ===== */
.file-input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.file-input-label {
    display: block;
    padding: 0.75rem 1rem;
    background: var(--gray-100);
    border: 2px dashed var(--gray-300);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.file-input-label:hover {
    border-color: var(--primary);
    background: var(--primary-50);
    color: var(--primary);
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.upload-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    max-height: 200px;
    overflow-y: auto;
}

.preview-item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.preview-item img, .preview-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    font-size: 10px;
}

.members-select {
    height: 120px;
}

/* ===== Admin Sidebar ===== */
.admin-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 260px;
    background: linear-gradient(160deg, #0b4f66 0%, #063748 100%);
    color: var(--white);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    z-index: 1001;
}

.admin-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-logo img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    object-fit: cover;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--gray-400);
    border-radius: var(--radius);
    transition: var(--transition-fast);
    text-decoration: none;
}

.admin-nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

.admin-nav-item.active {
    background: var(--primary);
    color: var(--white);
}

.admin-nav-item i {
    width: 20px;
}

/* ===== Admin Main ===== */
.admin-main {
    margin-left: 260px;
    padding: 2rem;
    min-height: 100vh;
    background:
        radial-gradient(900px 600px at 90% 5%, rgba(28, 40, 112, 0.06), transparent 60%),
        radial-gradient(700px 500px at 10% 80%, rgba(62, 42, 245, 0.04), transparent 55%),
        var(--gray-50);
}

.admin-topbar {
    display: none;
    position: sticky;
    top: 0;
    z-index: 20;
    margin: -2rem -2rem 1.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.admin-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.admin-sidebar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius);
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: rgba(255, 255, 255, 0.6);
    color: var(--gray-800);
    cursor: pointer;
}

.admin-sidebar-toggle:hover {
    background: rgba(26, 95, 74, 0.08);
    border-color: rgba(26, 95, 74, 0.18);
    color: var(--primary-dark);
}

.admin-drawer-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1000;
}

.admin-drawer-backdrop.active {
    display: block;
}

@media (max-width: 1024px) {
    .admin-topbar {
        display: block;
    }

    .admin-sidebar {
        transform: translateX(-105%);
        transition: transform 0.25s ease;
        z-index: 1001;
    }

    .admin-sidebar.active {
        transform: translateX(0);
    }

    .admin-main {
        margin-left: 0;
        padding: 1.25rem;
    }
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.admin-stat-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.admin-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.92);
}

.admin-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.admin-stat-icon.primary { background: var(--primary-50); color: var(--primary); }
.admin-stat-icon.success { background: #d1fae5; color: var(--emerald); }
.admin-stat-icon.warning { background: #fef3c7; color: var(--accent); }
.admin-stat-icon.cyan { background: #cffafe; color: #0891b2; }
.admin-stat-icon.danger { background: #fee2e2; color: #ef4444; }

.admin-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
}

.admin-stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.admin-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.admin-card-header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-100);
}

.admin-card-header h3 {
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===== Badge ===== */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.badge-primary { background: var(--primary-50); color: var(--primary); }
.badge-success { background: #d1fae5; color: #065f46; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-danger { background: #fee2e2; color: #991b1b; }

/* ===== Table ===== */
.table-container {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-100);
}

.table th {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
    background: var(--gray-50);
}

.table tr:hover {
    background: var(--gray-50);
}

.table .text-center { text-align: center; }
.table .text-right { text-align: right; }

/* ===== Modal ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: var(--transition);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-100);
}

.modal-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-500);
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: var(--gray-700);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--gray-100);
}

/* ===== Toast ===== */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    background: var(--gray-900);
    color: var(--white);
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideIn 0.3s ease;
}

.toast.success { border-left: 4px solid var(--emerald); }
.toast.error { border-left: 4px solid #ef4444; }
.toast.warning { border-left: 4px solid var(--accent); }

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== Grid ===== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* ===== Text Colors ===== */
.text-success { color: var(--emerald) !important; }
.text-danger { color: #ef4444 !important; }
.text-warning { color: var(--accent) !important; }

/* ===== Responsive ===== */

@media (max-width: 1024px) {
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-visual {
        display: flex;
        justify-content: center;
    }

    .hero-photo-card {
        width: 100%;
        max-width: 320px;
        height: 320px;
    }

    .hero-floating-card-top {
        top: 10px;
        right: -10px;
        max-width: 180px;
    }

    .hero-floating-card-bottom {
        bottom: 10px;
        left: -10px;
        max-width: 160px;
    }
    
    .editorial-grid {
        grid-template-columns: 1fr;
    }
    
    .pillar-grid,
    .mission-grid {
        grid-template-columns: 1fr;
    }
    
    .activities-layout {
        grid-template-columns: 1fr;
    }
    
    .stats-shell {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .registration-shell,
    .contact-shell {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }

    .container {
        padding: 0 1rem;
    }

    .card {
        padding: 1.25rem;
    }

    .hero {
        padding: 90px 0 50px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-values {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-photo-card {
        max-width: 280px;
        height: 280px;
    }

    .hero-floating-card {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }

    .hero-floating-card p,
    .hero-floating-card strong {
        font-size: 0.75rem;
    }

    /* Stats : 2 colonnes sur mobile */
    .stats-grid-mobile {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .navbar-menu {
        display: none;
    }

    .navbar-menu.active {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        position: absolute;
        left: 0;
        right: 0;
        top: 70px;
        padding: 1rem 1.5rem 1.25rem;
        background: var(--white);
        border-bottom: 1px solid var(--gray-100);
        animation: menuDrop 0.25s ease both;
    }
    
    .navbar-toggle {
        display: flex;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .stats {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid-tight {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .admin-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .admin-tabs {
        overflow-x: auto;
        width: 100%;
    }
}

@keyframes menuDrop {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Respect "reduced motion" */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .fade-in {
        opacity: 1;
        transform: none;
        filter: none;
    }

    .fade-in.visible {
        animation: none;
    }

    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* ===== Dark section overrides ===== */
.section-dark .quote {
    background: rgba(255, 255, 255, 0.06);
    border-left-color: var(--accent);
}

.section-dark .quote .quote-text {
    color: rgba(255, 255, 255, 0.9);
}

.section-dark .quote .quote-author {
    color: var(--accent-light);
}

/* ===== Dark section cards ===== */
.section-dark .card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.section-dark .card:hover {
    background: rgba(255, 255, 255, 0.11);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.30);
}

/* Styles de la page d'accueil */
.index-style-01 { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.index-style-02 { z-index: 10; }
.index-style-03 { gap: 2rem; align-items: stretch; }
.index-style-04 { margin: 0; }
.index-style-05 { display: inline-block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); margin-bottom: 0.75rem; }
.index-style-06 { background: rgba(255,255,255,0.1); color: #fff; }
.index-style-07 { padding: 2rem; }
.index-style-08 { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.index-style-09 { color: rgba(255,255,255,0.7); }
.index-style-10 { animation-delay: 0.2s; }
.index-style-11 { background: linear-gradient(135deg, var(--accent), #e8934a); }
.index-style-12 { animation-delay: 0.1s; }
.index-style-13 { background: linear-gradient(135deg, var(--crimson), #b0203a); }
.index-style-14 { padding: 1.5rem 0; }
.index-style-15 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.index-style-16 { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.25rem; }
.index-style-17 { width: 36px; height: 36px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.index-style-18 { color: white; font-size: 0.875rem; }
.index-style-19 { font-size: 1.5rem; display: block; line-height: 1.1; }
.index-style-20 { font-size: 0.75rem; }
.index-style-21 { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.25rem; animation-delay: 0.1s; }
.index-style-22 { width: 36px; height: 36px; background: linear-gradient(135deg, var(--accent), #e8934a); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.index-style-23 { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.25rem; animation-delay: 0.2s; }
.index-style-24 { width: 36px; height: 36px; background: linear-gradient(135deg, var(--crimson), #b0203a); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.index-style-25 { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.25rem; animation-delay: 0.3s; }
.index-style-26 { width: 36px; height: 36px; background: linear-gradient(135deg, #28a745, #1e7e34); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.index-style-27 { text-align: center; max-width: 700px; }
.index-style-28 { margin-top: 1rem; }
.index-style-29 { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-bottom: 2rem; line-height: 1.7; }
.index-style-30 { color: var(--accent-light); }
.index-style-31 { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.index-style-32 { display: flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.index-style-33 { padding: 1rem 2.5rem; font-size: 1.1rem; border-radius: var(--radius-full); box-shadow: 0 8px 30px rgba(201,162,39,0.4); }
.index-style-34 { margin-top: 2.5rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.index-style-35 { max-width: 560px; position: relative; }
.index-style-36 { position: absolute; top: 1rem; right: 1rem; background: var(--gray-100); border: none; width: 32px; height: 32px; border-radius: 50%; font-size: 1.1rem; cursor: pointer; color: var(--gray-600); display: flex; align-items: center; justify-content: center; z-index: 1; }
.index-style-37 { padding-top: 2.5rem; }
.index-style-38 { gap: 1rem; }
.index-style-39 { width: 100%; }
.index-style-40 { display: flex; flex-direction: column; gap: 1rem; }
.index-style-41 { display: flex; align-items: center; gap: 1rem; padding: 1rem; text-decoration: none; }
.index-style-42 { width: 50px; height: 50px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.index-style-43 { color: white; font-size: 1.25rem; }
.index-style-44 { display: flex; align-items: center; gap: 1rem; padding: 1rem; }
.index-style-45 { width: 50px; height: 50px; background: rgba(11, 79, 102, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.index-style-46 { color: var(--primary); font-size: 1.25rem; }
.index-style-47 { display: flex; gap: 1rem; margin-top: 2rem; }
.index-style-48 { color: var(--primary); }

/* Ajustements responsives de la page d'accueil */
@media (max-width: 1024px) {
    .index-style-15 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .index-style-27 {
        max-width: 620px;
    }
}

@media (max-width: 640px) {
    .index-style-03 {
        gap: 1rem;
    }

    .index-style-15 {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .index-style-16,
    .index-style-21,
    .index-style-23,
    .index-style-25 {
        padding: 0.85rem 1rem;
    }

    .index-style-29 {
        font-size: 1rem;
    }

    .index-style-31 {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.8rem;
    }

    .index-style-33 {
        width: 100%;
        padding: 0.9rem 1.2rem;
        font-size: 1rem;
    }

    .index-style-34 {
        margin-top: 1.5rem;
    }

    .index-style-35 {
        width: calc(100% - 1rem);
        max-height: calc(100dvh - 1rem);
        overflow-y: auto;
    }

    .index-style-37 {
        padding: 2.5rem 1rem 1rem;
    }

    .index-style-38 {
        gap: 0;
    }

    .index-style-41,
    .index-style-44 {
        padding: 0.85rem;
    }

    .index-style-47 {
        flex-wrap: wrap;
        margin-top: 1.25rem;
    }
}
