/*

TemplateMo 618 The Catalyst

https://templatemo.com/tm-618-the-catalyst

Silver & Acid Light-Mode SaaS Landing Page

*/


*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Silver & Acid Palette */
    --bg:           #FAFAFA;
    --surface:      #F0F0F0;
    --text:         #001434;
    --text-muted:   #3D4E63;
    --text-dim:     #6B7A8F;
    --accent:       #FFED00;
    --accent-hover: #E6D600;
    --border:       #E5E5E5;
    --border-light: #EEEEEE;
    --white:        #FFFFFF;

    /* Spacing */
    --section-pad: clamp(80px, 10vw, 140px);
    --container:   1200px;
    --gap:         24px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    letter-spacing: -0.02em;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gap);
}

/* ===== Machined Silver Card System ===== */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: inset 0 1px 0 var(--white);
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ===== Acid Button System ===== */
.btn-acid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--accent);
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.2s cubic-bezier(0.22, 1, 0.36, 1);
    user-select: none;
}

.btn-acid:hover {
    transform: translateY(-2px);
    box-shadow: 4px 4px 0px var(--text);
}

.btn-acid:active {
    transform: translateY(0);
    box-shadow: 1px 1px 0px var(--text);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.2s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.2s ease;
}

.btn-ghost:hover {
    transform: translateY(-2px);
    box-shadow: 4px 4px 0px var(--text);
    border-color: var(--text);
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 250, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gap);
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.04em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo-mark {
    width: 28px;
    height: 28px;
    background: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo-mark svg {
    width: 16px;
    height: 16px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-links a.active {
    color: var(--text);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-cta .btn-acid {
    padding: 10px 22px;
    font-size: 14px;
}

.nav-cta .btn-ghost {
    padding: 10px 22px;
    font-size: 14px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    position: relative;
    transition: background 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text);
    transition: transform 0.3s ease;
}

.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top: 7px; }

.nav-toggle.active span { background: transparent; }
.nav-toggle.active span::before { transform: rotate(45deg); top: 0; }
.nav-toggle.active span::after  { transform: rotate(-45deg); top: 0; }

/* ===== SECTION 1: HERO ===== */
.hero {
    padding-top: 160px;
    padding-bottom: 0;
    text-align: center;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 32px;
    box-shadow: inset 0 1px 0 var(--white);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: #22C55E;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero h1 {
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.045em;
    max-width: 820px;
    margin: 0 auto 24px;
}

.hero h1 .accent-word {
    color: var(--text);
    background: var(--accent);
    padding: 0 10px;
    border-radius: 8px;
    display: inline-block;
}

.hero-sub {
    font-size: clamp(16px, 1.8vw, 19px);
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.6;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 72px;
}

/* Dashboard Mockup */
.hero-dashboard {
    position: relative;
    max-width: 1060px;
    margin: 0 auto;
}

.hero-dashboard::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

.dashboard-frame {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px 16px 0 0;
    box-shadow: inset 0 1px 0 var(--white),
                0 0 0 1px rgba(0,0,0,0.02),
                0 20px 60px -10px rgba(0,0,0,0.08);
    overflow: hidden;
}

.dashboard-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
}

.dashboard-dots {
    display: flex;
    gap: 7px;
}

.dashboard-dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--border);
}

.dashboard-toolbar-tabs {
    display: flex;
    gap: 2px;
}

.dashboard-toolbar-tabs span {
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-dim);
    border-radius: 6px;
    cursor: default;
}

.dashboard-toolbar-tabs span.active {
    background: var(--white);
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.dashboard-body {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.dash-stat-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 20px;
    box-shadow: inset 0 1px 0 var(--white);
}

.dash-stat-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.dash-stat-value {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}

.dash-stat-change {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #22C55E;
}

.dash-stat-change.down { color: #EF4444; }

/* Data Table inside dashboard */
.dashboard-table-area {
    grid-column: 1 / -1;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
}

.dash-table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
}

.dash-table-header span {
    font-size: 14px;
    font-weight: 600;
}

.dash-table-header .dash-filter {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-dim);
    padding: 4px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
}

.dash-table {
    width: 100%;
}

.dash-table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 100px;
    padding: 12px 20px;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
    font-size: 13px;
}

.dash-table-row.head {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(0,0,0,0.015);
}

.dash-table-row:last-child {
    border-bottom: none;
}

.dash-cell {
    font-variant-numeric: tabular-nums;
}

.dash-cell-name {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dash-cell-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.dash-status {
    display: inline-flex;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
}

.dash-status.active {
    background: #DCFCE7;
    color: #166534;
}

.dash-status.pending {
    background: #FEF3C7;
    color: #92400E;
}

.dash-status.draft {
    background: var(--surface);
    color: var(--text-muted);
}

/* ===== SECTION 2: SPEED METRICS ===== */
.metrics {
    padding: var(--section-pad) 0;
}

.metrics-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dim);
    text-align: center;
    margin-bottom: 56px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.metric-item {
    text-align: center;
    padding: 48px 24px;
}

.metric-number {
    font-size: clamp(56px, 8vw, 88px);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    margin-bottom: 12px;
}

.metric-number .metric-unit {
    font-size: 0.45em;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: -0.02em;
}

.metric-number .metric-highlight {
    color: var(--text);
    background: var(--accent);
    padding: 0 6px;
    border-radius: 6px;
}

.metric-desc {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 500;
    max-width: 240px;
    margin: 0 auto;
}

.metric-divider {
    width: 1px;
    background: var(--border);
    margin: 24px 0;
    justify-self: center;
}

/* ===== SECTION 3: THE ENGINE — BENTO GRID ===== */
.engine {
    padding: 0 0 clamp(48px, 6vw, 80px);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dim);
    margin-bottom: 16px;
}

.section-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    max-width: 600px;
    margin: 0 auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bento-card {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
}

.bento-card-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: inset 0 1px 0 var(--white);
}

.bento-card-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--text);
}

.bento-card h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
}

.bento-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
}

.bento-card-visual {
    margin-top: 28px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 16px;
    min-height: 120px;
}

/* Mini chart bars in bento card */
.mini-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 80px;
}

.mini-bar {
    flex: 1;
    background: var(--border);
    border-radius: 4px 4px 0 0;
    transition: height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.mini-bar.highlight { background: var(--accent); }

/* Mini pipeline in bento card */
.mini-pipeline {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mini-pipeline-node {
    flex: 1;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
}

.mini-pipeline-node:nth-child(1) { background: var(--accent); color: var(--text); }
.mini-pipeline-node:nth-child(2) { background: #e8e8e8; }
.mini-pipeline-node:nth-child(3) { background: #e0e0e0; }

.mini-pipeline-arrow {
    font-size: 12px;
    color: var(--text-dim);
    flex-shrink: 0;
}

/* Mini code block in bento card */
.mini-code {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 12px;
    line-height: 1.7;
    color: var(--text-muted);
}

.mini-code .keyword { color: var(--text); font-weight: 600; }
.mini-code .string { color: #16A34A; }
.mini-code .comment { color: var(--text-dim); }

/* ===== SECTION 4: PRICING ===== */
.pricing {
    padding: clamp(48px, 6vw, 80px) 0;
}

.toggle-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
}

.toggle-container {
    display: flex;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 4px;
    box-shadow: inset 0 1px 0 var(--white);
}

.toggle-btn {
    padding: 10px 28px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.02em;
    border: none;
    border-radius: 9px;
    cursor: pointer;
    background: transparent;
    color: var(--text-muted);
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}

.toggle-btn.active {
    background: var(--accent);
    color: var(--text);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.toggle-save {
    font-size: 12px;
    font-weight: 600;
    color: #16A34A;
    margin-left: 12px;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}

.toggle-save.visible {
    opacity: 1;
    transform: translateX(0);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.pricing-card {
    padding: 32px 28px;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--accent);
    border-width: 2px;
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: var(--accent);
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.01em;
    border-radius: 100px;
    white-space: nowrap;
}

.pricing-plan-name {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.pricing-plan-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 6px;
}

.pricing-currency {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.pricing-value {
    font-size: 56px;
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.pricing-period {
    font-size: 14px;
    color: var(--text-dim);
    font-weight: 500;
}

.pricing-billed {
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 28px;
    transition: all 0.25s ease;
}

.pricing-billed.yearly-active {
    color: var(--text);
    font-weight: 600;
    background: var(--accent);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
}

.pricing-card .btn-acid,
.pricing-card .btn-ghost {
    width: 100%;
    margin-bottom: 28px;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-features li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: #22C55E;
}

/* ===== SECTION 7: FOOTER ===== */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 280px;
    margin-top: 16px;
}

.footer-col-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-dim);
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.footer-copy {
    font-size: 13px;
    color: var(--text-dim);
}

.footer-copy a {
    color: var(--text-muted);
}

.footer-copy a:hover {
    color: var(--text);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-bottom-links a {
    font-size: 13px;
    color: var(--text-dim);
    font-weight: 500;
    transition: color 0.2s ease;
}

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

/* ===== SECTION 5: FAQ ===== */
.faq {
    padding: var(--section-pad) 0;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-controls {
    max-width: 720px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.faq-ctrl-btn {
    padding: 7px 16px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-muted);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    box-shadow: inset 0 1px 0 var(--white);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.faq-ctrl-btn:hover {
    color: var(--text);
    border-color: #CCC;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: inset 0 1px 0 var(--white);
    overflow: hidden;
    transition: border-color 0.25s ease;
}

.faq-item.open {
    border-color: #CCCCCC;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 22px 24px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text);
    cursor: pointer;
    text-align: left;
    line-height: 1.4;
}

.faq-question:hover {
    color: var(--text);
}

.faq-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.2s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: var(--accent);
    border-color: var(--accent);
}

.faq-icon svg {
    width: 14px;
    height: 14px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-answer-inner {
    padding: 0 24px 22px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== SECTION 6: CTA BANNER ===== */
.cta-banner {
    padding: var(--section-pad) 0;
}

.cta-banner-inner {
    background: var(--text);
    border-radius: 24px;
    padding: clamp(56px, 8vw, 96px) clamp(32px, 5vw, 72px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner-inner::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 360px;
    height: 360px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.08;
    filter: blur(80px);
    pointer-events: none;
}

.cta-banner-inner::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 260px;
    height: 260px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.06;
    filter: blur(60px);
    pointer-events: none;
}

.cta-banner-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.cta-banner-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 2px;
}

.cta-banner h2 {
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--white);
    max-width: 580px;
    margin: 0 auto 16px;
    position: relative;
    z-index: 1;
}

.cta-banner p {
    font-size: 16px;
    color: rgba(255,255,255,0.5);
    max-width: 420px;
    margin: 0 auto 40px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.cta-banner-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.cta-banner .btn-acid {
    padding: 16px 40px;
    font-size: 16px;
}

.btn-dark-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 40px;
    background: transparent;
    color: rgba(255,255,255,0.7);
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.02em;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
                color 0.2s ease,
                border-color 0.2s ease;
}

.btn-dark-ghost:hover {
    transform: translateY(-2px);
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-cta   { display: none; }
    .nav-toggle { display: flex; }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        height: calc(100dvh - 64px);
        background: var(--bg);
        padding: 80px 24px;
        gap: 24px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 999;
        border-top: 1px solid var(--border);
    }

    .nav-links.open a {
        font-size: 20px;
        font-weight: 600;
        color: var(--text);
    }

    .hero {
        padding-top: 120px;
    }

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

    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .metric-divider {
        width: 60px;
        height: 1px;
        margin: 0 auto;
    }

    .metric-item {
        padding: 32px 24px;
    }

    .dashboard-body {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .dash-table-row {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .dash-table-row .dash-cell:nth-child(4),
    .dash-table-row .dash-cell:nth-child(5) {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .cta-banner-actions {
        flex-direction: column;
    }

    .cta-banner .btn-acid,
    .btn-dark-ghost {
        width: 100%;
        max-width: 300px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* =====================================================
   ARIS BDE — EXTENSIONS
   Nouveaux composants ajoutés au design system existant
   (mêmes tokens : couleurs, radius, ombres, transitions)
   ===================================================== */

/* ===== Page hero (pages intérieures) ===== */
.page-hero {
    padding-top: 160px;
    padding-bottom: clamp(48px, 6vw, 80px);
    text-align: center;
}

.page-hero .section-tag { justify-content: center; display: inline-flex; }

.page-hero h1 {
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    max-width: 760px;
    margin: 0 auto 20px;
}

.page-hero p {
    font-size: clamp(15px, 1.6vw, 18px);
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-dim);
    font-weight: 500;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span.sep { color: var(--border); }

/* ===== Generic section ===== */
.section { padding: var(--section-pad) 0; }
.section-tight { padding: clamp(48px,6vw,80px) 0; }
.section-title-left { text-align: left; margin: 0 0 40px; }
.section-title-left .section-title { margin: 0; max-width: 620px; }
.section-title-left .section-tag { justify-content: flex-start; }

.section-alt { background: var(--surface); }

/* ===== Badges (catégories) ===== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: var(--accent);
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.01em;
    border-radius: 100px;
}

.badge-outline {
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--text-muted);
}

.badge-muted {
    background: var(--surface);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

/* ===== Event cards ===== */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.event-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}

.event-card-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.event-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
}

.event-card-date-flag {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--white);
    border-radius: 8px;
    text-align: center;
    padding: 6px 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    line-height: 1.1;
}

.event-card-date-flag .day { display: block; font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.event-card-date-flag .month { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; color: var(--text-dim); }

.event-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.event-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--text-dim);
    font-weight: 500;
    margin-bottom: 12px;
}

.event-card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.event-card-meta svg { width: 14px; height: 14px; stroke: var(--text-dim); flex-shrink: 0; }

.event-card h3 {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.event-card p.event-card-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.event-card .btn-ghost, .event-card .btn-acid {
    align-self: flex-start;
    padding: 10px 22px;
    font-size: 14px;
}

.event-card.is-past { opacity: 0.92; }
.event-card.is-past .event-card-image::after {
    content: 'Terminé';
    position: absolute;
    inset: 0;
    background: rgba(17,17,17,0.55);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ===== Filter tabs ===== */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 48px;
}

.filter-tab {
    padding: 10px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.filter-tab:hover { border-color: var(--text-dim); color: var(--text); }

.filter-tab.active {
    background: var(--text);
    border-color: var(--text);
    color: var(--white);
}

.events-subheading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}

.events-subheading h2 {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.events-subheading p { color: var(--text-dim); font-size: 14px; font-weight: 500; }

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-dim);
    font-weight: 500;
}

/* ===== Event detail ===== */
.event-detail-hero {
    padding-top: 140px;
}

.event-detail-image {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 21 / 9;
    margin-bottom: 40px;
    box-shadow: inset 0 1px 0 var(--white), 0 20px 60px -20px rgba(0,0,0,0.12);
}

.event-detail-image img { width: 100%; height: 100%; object-fit: cover; }

.event-detail-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 48px;
    align-items: start;
}

.event-detail-title {
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 16px;
}

.event-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 32px;
}

.event-detail-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.event-detail-meta-item svg { width: 16px; height: 16px; stroke: var(--text-dim); flex-shrink: 0; }

.event-detail-body h2 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 40px 0 16px;
}

.event-detail-body h2:first-child { margin-top: 0; }

.event-detail-body p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 16px;
}

.program-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.program-list li {
    display: flex;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

.program-list li:last-child { border-bottom: none; }

.program-time {
    flex-shrink: 0;
    width: 70px;
    font-weight: 700;
    font-size: 14px;
    color: var(--text);
}

.program-title { font-size: 14px; color: var(--text-muted); font-weight: 500; }

.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.info-list svg { width: 16px; height: 16px; stroke: #22C55E; flex-shrink: 0; margin-top: 2px; }

/* Sticky booking card */
.booking-card {
    position: sticky;
    top: 90px;
    padding: 28px;
}

.booking-card-price {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 4px;
}

.booking-card-price-label { font-size: 13px; color: var(--text-dim); margin-bottom: 24px; font-weight: 500; }

.booking-card .btn-acid { width: 100%; margin-bottom: 12px; }
.booking-card .btn-ghost { width: 100%; }

.booking-card-note {
    font-size: 12px;
    color: var(--text-dim);
    text-align: center;
    margin-top: 16px;
    line-height: 1.5;
}

.booking-card-share {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.booking-card-share a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.booking-card-share a:hover { border-color: var(--text); color: var(--text); }
.booking-card-share svg { width: 16px; height: 16px; }

/* ===== Presentation / split sections ===== */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.split-section.reverse .split-media { order: 2; }
.split-section.reverse .split-text { order: 1; }

.split-media {
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: inset 0 1px 0 var(--white);
}

.split-media img { width: 100%; height: 100%; object-fit: cover; }

.split-text .section-tag { justify-content: flex-start; }
.split-text h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.15;
    margin-bottom: 20px;
}

.split-text p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 16px;
}

.split-text .btn-acid { margin-top: 8px; }

/* ===== Stat strip (reuse metrics style, smaller) ===== */
.stat-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
    margin-top: 56px;
}

.stat-strip-item .metric-number { font-size: clamp(28px, 3vw, 40px); font-weight: 900; letter-spacing: -0.03em; }
.stat-strip-item .metric-highlight { color: inherit; }
.stat-strip-item p { font-size: 13px; color: var(--text-dim); font-weight: 500; margin-top: 6px; }

/* ===== Activities / experience bento ===== */
.activity-card {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.activity-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-card-icon svg { width: 22px; height: 22px; stroke: var(--text); }

.activity-card h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.activity-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ===== Team ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.team-card {
    padding: 0;
    overflow: hidden;
}

.team-photo {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

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

.team-card-body { padding: 20px; }

.team-card h3 { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 2px; }
.team-role {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    background: var(--accent);
    padding: 3px 10px;
    border-radius: 100px;
    margin-bottom: 12px;
}

.team-card p.team-bio { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }

.team-socials { display: flex; gap: 8px; }
.team-socials a {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.team-socials a:hover { border-color: var(--text); color: var(--text); }
.team-socials svg { width: 14px; height: 14px; }

/* ===== Values grid (about page) ===== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.value-card {
    padding: 32px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.value-card-number {
    font-size: 28px;
    font-weight: 900;
    color: var(--text-dim);
    letter-spacing: -0.03em;
    flex-shrink: 0;
}

.value-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.02em; }
.value-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ===== Gallery ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    cursor: pointer;
}

.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17,17,17,0.75) 0%, transparent 55%);
    display: flex;
    align-items: flex-end;
    padding: 14px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-overlay span {
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(17,17,17,0.92);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox.open { display: flex; }

.lightbox img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 12px;
    object-fit: contain;
}

.lightbox-caption {
    position: absolute;
    bottom: 32px;
    left: 0;
    right: 0;
    text-align: center;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    font-weight: 500;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.2); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-close svg, .lightbox-prev svg, .lightbox-next svg { width: 18px; height: 18px; }

/* ===== Partners ===== */
.partner-tier-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dim);
    margin: 48px 0 20px;
}

.partner-tier-title:first-child { margin-top: 0; }

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.partner-card {
    padding: 28px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.partner-logo {
    width: 100%;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img { max-height: 48px; max-width: 100%; object-fit: contain; }

.partner-card h3 { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }
.partner-card p { font-size: 13px; color: var(--text-dim); line-height: 1.5; }
.partner-card a.partner-link { font-size: 13px; font-weight: 600; color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.partners-cta {
    margin-top: 64px;
    padding: 40px;
    text-align: center;
}

/* ===== Contact ===== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-form-card { padding: 36px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--text);
    box-shadow: 0 0 0 3px rgba(212,255,0,0.35);
}

.form-group textarea { resize: vertical; min-height: 140px; }

.form-submit { width: 100%; border: none; }

.form-note {
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 14px;
    text-align: center;
}

.form-success {
    display: none;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.form-success.visible { display: flex; }
.form-success svg { width: 18px; height: 18px; stroke: #22C55E; flex-shrink: 0; }

.contact-info-list { display: flex; flex-direction: column; gap: 20px; margin-top: 24px; }

.contact-info-item {
    display: flex;
    gap: 16px;
    padding: 20px;
}

.contact-info-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg { width: 20px; height: 20px; stroke: var(--text); }

.contact-info-item h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { font-size: 14px; color: var(--text-muted); }
.contact-info-item a:hover { color: var(--text); }

.contact-socials { display: flex; gap: 10px; margin-top: 8px; }
.contact-socials a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.2s ease;
}
.contact-socials a:hover { border-color: var(--text); color: var(--text); transform: translateY(-2px); }
.contact-socials svg { width: 18px; height: 18px; }

/* ===== Similar events ===== */
.similar-events { padding: var(--section-pad) 0; border-top: 1px solid var(--border); }

/* ===== Placeholder image tiles (SVG-free fallback tint) ===== */
.ph-tile {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--surface) 0%, #E8E8E8 100%);
    color: var(--text-dim);
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    letter-spacing: -0.01em;
}

/* =====================================================
   RESPONSIVE — ARIS BDE EXTENSIONS
   ===================================================== */
@media (max-width: 1024px) {
    .events-grid, .activities-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid, .partners-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .event-detail-layout { grid-template-columns: 1fr; }
    .booking-card { position: static; }
    .split-section { grid-template-columns: 1fr; gap: 32px; }
    .split-section.reverse .split-media { order: 1; }
    .split-section.reverse .split-text { order: 2; }
    .stat-strip { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .values-grid { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .events-grid, .activities-grid, .team-grid, .partners-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
    .gallery-item.wide { grid-column: span 2; }
    .gallery-item.tall { grid-row: span 1; }
    .form-row { grid-template-columns: 1fr; }
    .page-hero { padding-top: 120px; }
    .event-detail-hero { padding-top: 110px; }
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
    .lightbox-prev, .lightbox-next { width: 36px; height: 36px; }
}

@media (max-width: 560px) {
    .events-grid, .activities-grid, .team-grid, .partners-grid, .gallery-grid { grid-template-columns: minmax(0, 1fr); }
    .value-card { flex-direction: column; }
}

/* ===== Poste à pourvoir (équipe) ===== */
.team-card-pending {
    background: var(--surface);
    border-style: dashed;
}

.team-card-pending .team-photo { opacity: 0.7; }

.team-role-pending {
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--text-dim);
}

/* ===== Sous-équipes ===== */
.subteams-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 760px;
    margin: 0 auto;
}

.subteam-card {
    padding: 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.subteam-badge {
    width: 96px;
    height: 96px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 4px;
}

.subteam-badge img { width: 100%; height: 100%; object-fit: cover; }

.subteam-card h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }

.subteam-pending {
    font-size: 13px;
    color: var(--text-dim);
    font-style: italic;
}

.subteam-members {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .subteams-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   ARIS BDE — PLATEFORME (auth, espaces, panneaux)
   ===================================================== */

/* ----- Alertes / messages flash ----- */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}
.alert svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.alert-success { background: #DCFCE7; color: #166534; }
.alert-error { background: #FEE2E2; color: #991B1B; }

/* ----- Nav : zone auth ----- */
.nav-auth-area { display: flex; align-items: center; gap: 10px; }
.nav-icon-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    flex-shrink: 0;
}
.nav-icon-btn svg { width: 18px; height: 18px; }
.nav-badge-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #EF4444;
    border: 2px solid var(--white);
}
.nav-account-link { display: flex; align-items: center; gap: 8px; padding: 8px 16px 8px 8px !important; }
.nav-avatar-mini {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    overflow: hidden;
    flex-shrink: 0;
}
.nav-avatar-mini img { width: 100%; height: 100%; object-fit: cover; }

/* ----- Formulaires auth (login/register) ----- */
.auth-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 20px 80px;
}
.auth-card {
    width: 100%;
    max-width: 460px;
    padding: 40px;
}
.auth-card h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 8px; }
.auth-card .auth-sub { color: var(--text-muted); font-size: 14px; margin-bottom: 28px; }
.auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 24px 0;
    color: var(--text-dim);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.btn-discord {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 20px;
    background: #5865F2;
    color: #fff;
    border-radius: 100px;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: filter 0.2s ease;
}
.btn-discord:hover { filter: brightness(1.08); }
.btn-discord svg { width: 20px; height: 20px; }
.auth-footer-link { text-align: center; font-size: 14px; color: var(--text-muted); margin-top: 20px; }
.auth-footer-link a { color: var(--text); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.field-hint { font-size: 12px; color: var(--text-dim); margin-top: 6px; }
.label-with-tip { display: flex; align-items: center; gap: 6px; }
.info-tip {
    position: relative;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: help;
}
.info-tip .info-tip-bubble {
    display: none;
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    background: var(--text);
    color: var(--white);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    padding: 10px 12px;
    border-radius: 10px;
    z-index: 10;
    text-align: left;
}
.info-tip:hover .info-tip-bubble,
.info-tip:focus .info-tip-bubble { display: block; }

/* ----- Layout des espaces (étudiant / employé / admin) ----- */
.app-shell {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: calc(100vh - 400px);
    padding-top: 84px;
}
.app-sidebar {
    border-right: 1px solid var(--border);
    padding: 32px 20px;
    background: var(--surface);
}
.app-sidebar-title {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dim);
    margin: 0 0 14px 8px;
}
.app-sidebar nav { display: flex; flex-direction: column; gap: 4px; }
.app-sidebar a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}
.app-sidebar a svg { width: 17px; height: 17px; flex-shrink: 0; }
.app-sidebar a:hover { background: var(--white); color: var(--text); }
.app-sidebar a.active { background: var(--text); color: var(--white); }
.app-main { padding: 40px clamp(20px, 4vw, 56px); min-width: 0; }
.app-header { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.app-header h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.app-header p { color: var(--text-dim); font-size: 14px; }

.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.stat-card-mini { padding: 22px; }
.stat-card-mini .num { font-size: 28px; font-weight: 900; letter-spacing: -0.03em; }
.stat-card-mini .label { font-size: 12px; color: var(--text-dim); font-weight: 600; margin-top: 4px; }

/* ----- Tableaux admin ----- */
.data-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; }
table.data-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
table.data-table th {
    text-align: left;
    padding: 12px 16px;
    background: var(--surface);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dim);
    font-weight: 700;
    white-space: nowrap;
}
table.data-table td { padding: 12px 16px; border-top: 1px solid var(--border-light); vertical-align: middle; }
table.data-table tr:hover td { background: #FAFAFA; }
.table-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.table-actions form { display: inline; }

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.status-pill.pending { background: #FEF3C7; color: #92400E; }
.status-pill.approved, .status-pill.confirmed, .status-pill.active { background: #DCFCE7; color: #166534; }
.status-pill.rejected, .status-pill.inactive { background: #FEE2E2; color: #991B1B; }
.status-pill.admin { background: #E0E7FF; color: #3730A3; }
.status-pill.employee { background: #FFF7D6; color: #7A5B00; }
.status-pill.student { background: var(--surface); color: var(--text-muted); }

.btn-tiny {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 100px;
    font-weight: 700;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text);
    cursor: pointer;
}
.btn-tiny.acid { background: var(--accent); border-color: var(--accent); }
.btn-tiny.danger { background: #FEE2E2; border-color: #FEE2E2; color: #991B1B; }
.btn-tiny:hover { filter: brightness(0.97); }

/* ----- Cartes de modération (avis / images) ----- */
.moderation-card { padding: 24px; margin-bottom: 16px; }
.moderation-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.moderation-card-author { font-weight: 700; font-size: 14px; }
.moderation-card-meta { font-size: 12px; color: var(--text-dim); }
.moderation-stars { color: var(--accent-hover); font-size: 16px; letter-spacing: 2px; }
.moderation-images { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.moderation-image-item { width: 120px; }
.moderation-image-item img { width: 120px; height: 120px; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); }
.moderation-image-actions { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }

/* ----- Notation par étoiles (formulaire d'avis) ----- */
.star-rating { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-rating input { display: none; }
.star-rating label {
    font-size: 28px;
    color: var(--border);
    cursor: pointer;
    transition: color 0.15s ease;
}
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label { color: var(--accent-hover); }

/* ----- Avatar upload ----- */
.avatar-upload-row { display: flex; align-items: center; gap: 20px; margin-bottom: 32px; }
.avatar-preview {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 28px;
    color: var(--text-dim);
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border);
}
.avatar-preview img { width: 100%; height: 100%; object-fit: cover; }

/* ----- Notifications list ----- */
.notification-item {
    display: flex;
    gap: 14px;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    margin-bottom: 10px;
}
.notification-item.unread { background: #FFFDE7; border-color: #FFED0055; }
.notification-icon {
    width: 36px; height: 36px; border-radius: 10px; background: var(--accent);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.notification-icon svg { width: 17px; height: 17px; }
.notification-item .msg { font-size: 14px; font-weight: 600; }
.notification-item .time { font-size: 12px; color: var(--text-dim); margin-top: 2px; }

/* ----- Empty state réutilisable ----- */
.panel-empty { text-align: center; padding: 48px 20px; color: var(--text-dim); }

@media (max-width: 900px) {
    .app-shell { grid-template-columns: minmax(0, 1fr); }
    .app-sidebar { border-right: none; border-bottom: 1px solid var(--border); }
    .app-sidebar nav { flex-direction: row; overflow-x: auto; }
    .stat-cards { grid-template-columns: repeat(2, 1fr); }
    .avatar-upload-row { flex-direction: column; align-items: flex-start; }
}
