@charset "UTF-8";

/* ==========================================
   DESIGN SYSTEM - Nautile Montois
   ========================================== */
:root {
  --primary: #137fec;
  --primary-dark: #0f6ad0;
  --primary-light: rgba(19, 127, 236, 0.1);
  --bg: #fff;
  --bg-white: #ffffff;
  --text-dark: #101922;
  --text-body: #475569;
  --text-muted: #94a3b8;
  --border: #e5e7eb;
  --accent: #ef7b58;
  --radius: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --font: 'Plus Jakarta Sans', sans-serif;
}

.swal2-container { z-index: 99999999999;}

/* ==========================================
   GLOBAL
   ========================================== */
body { color: var(--text-dark); background: linear-gradient(135deg, #e5e9f8, #eae7f8); font-family: var(--font); -webkit-font-smoothing: antialiased; }
a, a:hover, a:focus { color: inherit; text-decoration: none; }
ul { list-style-type: none; }
img { max-width: 100%; }

h1 { font-size: 20pt; }
h2 { font-size: 18pt; }
h3 { font-size: 16pt; }
h4 { font-size: 14pt; }
h5 { font-size: 12pt; }

.cicle { font-family: 'cicle'; }
@font-face { font-family: 'cicle'; src: url('../fonts/New Cicle Fina.otf'); }

.dash-page { background:#e4e8f9 !important;}

/* ==========================================
   UTILITIES
   ========================================== */
.text-brand-gradient {
  background-image: linear-gradient(to right, #7c3aed, #6d28d9, #4f46e5);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}
.page-title-bar {
  background: #fff; width: 100%; padding: 20px 24px; margin-bottom: 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.page-title-bar h1 { margin: 0; font-size: 1.2rem;  }
.font-grey { color: #678098 !important; }
.font-white { color: white; }
.font-orange { color: var(--accent); }
.font-red-thunderbird { color: #D91E18; }
.text-start { text-align: left !important; }
.text-end { text-align: right !important; }

.margin-top-5 { margin-top: 5px !important; }
.margin-top-10 { margin-top: 10px !important; }
.margin-top-20 { margin-top: 20px !important; }
.margin-bottom-10 { margin-bottom: 10px !important; }
.margin-bottom-20 { margin-bottom: 20px !important; }
.margin-bottom-30 { margin-bottom: 30px !important; }
.margin-left-1 { margin-left: 1px !important; }
.margin-left-10 { margin-left: 10px !important; }
.margin-right-10 { margin-right: 10px !important; }
.padding-10 { padding: 10px !important; }
.padding-20 { padding: 20px !important; }
.padding-left-10 { padding-left: 10px !important; }
.padding-left-20 { padding-left: 20px !important; }
.nopadding { padding: 0 !important; margin: 0 !important; }
.nopadding-left { padding-left: 0 !important; }
.nopadding-right { padding-right: 0 !important; }

.btn { transition: all ease-in-out 0.15s; font-size: 12pt; }
.btn:hover { transition: all ease-in-out 0.2s; }
.btn-sm { border-radius: 10px !important; padding: 7px 10px; }
.btn-light { background: #fff; border: 1px solid var(--border); border-radius: 20px !important; box-shadow: var(--shadow-sm) !important; }
.btn-light:hover { background: #f8f9fa; box-shadow: var(--shadow-md); }
.btn-primary, .evt-btn-primary {
  background: linear-gradient(135deg, #7c3aed, #6d28d9) !important;
  border: none !important; color: #fff !important;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}
.btn-primary:hover, .evt-btn-primary:hover {
  background: linear-gradient(135deg, #6d28d9, #5b21b6) !important;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}


/* ==========================================
   CARDS (shared)
   ========================================== */
.card {
  background: var(--bg-white);
  padding: 10px;
  border-radius: var(--radius) !important;
  border: 0;
  box-shadow: var(--shadow-sm);
}
.card-title {
  font-size: 1.2rem;
  margin: 20px 20px 15px 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 15px;
}


/* ==========================================
   APP SIDEBAR (header.php)
   ========================================== */
.app-sidebar {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: 250px; z-index: 1001;
  background: #fff;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  overflow-y: auto;
  transition: transform 0.3s ease;
}
.app-sidebar-header {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 20px 16px; border-bottom: 1px solid var(--border);
}
.app-sidebar-title {
  flex: 1; font-size: 0.95rem; font-weight: 700; color: var(--text-dark);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sidebar-close {
  display: none; background: none; border: none; color: var(--text-muted);
  cursor: pointer; padding: 0; line-height: 1;
}
.sidebar-close:hover { color: var(--text-dark); }

.app-sidebar-nav {
  flex: 1; padding: 8px 12px; overflow-y: auto;
}
.app-sidebar-section-label {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-muted);
  padding: 16px 8px 6px;
}
.app-sidebar-link {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; color: var(--text-body) !important;
  font-size: 0.9rem; font-weight: 500; border-radius: 10px;
  transition: background 0.2s, color 0.2s;
  margin-bottom: 2px;
}
.app-sidebar-link:hover {
  background: #f1f5f9; color: var(--text-dark) !important;
}
.app-sidebar-link.active {
  background: linear-gradient(135deg, #7c3aed, #6d28d9); color: #fff !important;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}
.app-sidebar-link .material-symbols-outlined {
  font-size: 20px; width: 24px; text-align: center; color: var(--text-muted);
}
.app-sidebar-link:hover .material-symbols-outlined {
  color: var(--text-dark);
}
.app-sidebar-link.active .material-symbols-outlined {
  color: #fff;
}
.app-sidebar-badge {
  margin-left: auto;
  min-width: 20px; height: 20px;
  padding: 0 6px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #ef4444; color: #fff;
  font-size: 0.7rem; font-weight: 700;
  border-radius: 10px;
}
.app-sidebar-link.active .app-sidebar-badge {
  background: #fff; color: #6d28d9;
}
.app-sidebar-footer {
  border-top: 1px solid var(--border);
  padding: 8px 12px;
}

/* Main content pushed right */
.app-content {
  margin-left: 250px; min-height: 100vh;
  width: calc(100% - 250px);
  background: linear-gradient(135deg, #e5e9f8, #eae7f8);
}

/* Mobile top bar - hidden on desktop */
.mobile-topbar {
  display: none; position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 56px; background: #fff; border-bottom: 1px solid var(--border);
  align-items: center; gap: 12px; padding: 0 16px;
}
.mobile-burger {
  background: none; border: none; color: var(--text-dark); cursor: pointer;
  padding: 4px; line-height: 1;
}
.mobile-burger .material-symbols-outlined { font-size: 28px; }
.mobile-topbar-brand img { vertical-align: middle; }

/* Sidebar overlay (mobile) */
.sidebar-overlay {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.3);
}

/* Mobile responsive */
@media (max-width: 991px) {
  .app-sidebar {
    transform: translateX(-100%);
  }
  .app-sidebar.open {
    transform: translateX(0);
  }
  .sidebar-close { display: block; }

  .app-content {
    margin-left: 0; width: 100%;
    padding-top: 56px;
  }

  .mobile-topbar { display: flex; }
  .sidebar-overlay.active { display: block; }
}


/* ==========================================
   ALL PAGES
   ========================================== */
.dash-page { background: transparent; min-height: 100vh; padding: 20px 24px 40px; width: 100%; }

.dash-banner {
  display: flex; align-items: center; gap: 16px;
  background: var(--primary-light); border: 1px solid rgba(19,127,236,0.2);
  border-radius: var(--radius); padding: 16px 20px; margin-bottom: 20px;
}
.dash-banner > .material-symbols-outlined { font-size: 28px; color: var(--primary); }
.dash-banner strong { display: block; font-size: 0.95rem; color: var(--text-dark); }
.dash-banner span { font-size: 0.85rem; color: var(--text-body); }

.dash-grid { display: flex; gap: 24px; }
.dash-col-main { flex: 3; min-width: 0; }
.dash-col-side { flex: 2; min-width: 0; display: flex; flex-direction: column; gap: 20px; }

.dash-card {
  background: var(--bg-white); border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  overflow: hidden; margin-bottom: 20px;
}
.dash-card-warning { border-left: 3px solid #f59e0b; }
.dash-card-header {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 20px; border-bottom: 1px solid var(--border);
}
.dash-card-header .material-symbols-outlined { font-size: 22px; color: var(--primary); }
.dash-card-header h3 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin: 0; }
.dash-card-body { padding: 8px 0; }

.dash-event-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 14px 20px; transition: background 0.15s;
  border-bottom: 1px solid var(--border); color: var(--text-dark) !important;
}
.dash-event-item:last-child { border-bottom: 0; }
.dash-event-item:hover { background: var(--bg); }

.dash-event-date {
  width: 48px; min-width: 48px; height: 52px;
  background: var(--primary-light); color: var(--primary);
  border-radius: 10px; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800; line-height: 1;
}
.dash-event-date small { font-size: 0.65rem; font-weight: 600; text-transform: uppercase; opacity: 0.8; }
.dash-event-date-warning { background: #fef3c7; color: #d97706; }

.dash-event-info { flex: 1; min-width: 0; }
.dash-event-info h4 { font-size: 0.95rem; font-weight: 700; margin: 0 0 6px; line-height: 1.3; }
.dash-event-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.dash-event-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; margin: 0; }

#participations .dash-event-item { padding: 6px 14px; gap: 10px; align-items: center; }
#participations .dash-event-date { width: 36px; min-width: 36px; height: 36px; font-size: 0.85rem; border-radius: 8px; }
#participations .dash-event-date small { font-size: 0.55rem; }
#participations .dash-event-info h4 { margin: 0; font-size: 0.85rem; }

.dash-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600;
  background: var(--bg); color: var(--text-body); border: 1px solid var(--border);
}
.dash-badge .material-symbols-outlined { font-size: 14px; }
.dash-badge-success { background: #ecfdf5; color: #059669; border-color: #a7f3d0; }

.dash-dives-info { text-align: center; padding: 20px; }
.dash-dives-count { font-size: 3rem; font-weight: 800; color: var(--primary); line-height: 1; }
.dash-dives-label { font-size: 0.9rem; color: var(--text-muted); margin-top: 4px; }

.dash-debt-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 20px; border-bottom: 1px solid var(--border);
  color: var(--text-dark) !important; transition: background 0.15s;
}
.dash-debt-item:last-child { border-bottom: 0; }
.dash-debt-item:hover { background: var(--bg); }
.dash-debt-item h4 { font-size: 0.9rem; font-weight: 600; margin: 0 0 2px; }
.dash-debt-amount { font-size: 0.8rem; font-weight: 700; color: #d97706; }

.dash-empty {
  text-align: center; padding: 40px 20px; color: var(--text-muted);
}
.dash-empty .material-symbols-outlined { font-size: 40px; display: block; margin-bottom: 8px; color: var(--border); }
.dash-empty p { margin: 0; font-size: 0.9rem; }

@media (max-width: 991px) {
  .dash-grid { flex-direction: column; }
  .dash-page { padding: 16px; }
}

/* ==========================================
   EVENT PAGE (views/event.php)
   ========================================== */
.evt-info-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: 0.95rem; color: var(--text-body);
}
.evt-info-row:last-child { border-bottom: 0; }
.evt-info-row > .material-symbols-outlined { font-size: 20px; color: var(--primary); flex-shrink: 0; }

/* Event - Progress Ring Header */
.evt-hero {
  background: var(--bg-white); border-radius: var(--radius);
  border: none; box-shadow: var(--shadow-md);
  padding: 28px 32px; margin-bottom: 20px;
}
.evt-ring-wrapper {
  position: relative; width: 120px; height: 120px; flex-shrink: 0; margin: 0 auto;
}
.evt-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.evt-ring-bg {
  fill: none; stroke: var(--border); stroke-width: 8;
}
.evt-ring-fill {
  fill: none; stroke-width: 8; stroke-linecap: round;
  transition: stroke-dashoffset 1s ease-out;
}
.evt-ring-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.evt-ring-count { font-size: 1.8rem; font-weight: 800; color: var(--text-dark); line-height: 1; }
.evt-ring-label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }

.evt-hero-title { font-size: 1.4rem; font-weight: 800; color: var(--text-dark); margin: 0 0 6px; }
.evt-hero-date { font-size: 0.95rem; color: var(--text-body); margin: 0 0 10px; }
.evt-hero-badge {
  display: inline-block;
  padding: 4px 14px; border-radius: 20px; font-size: 0.8rem; font-weight: 700;
  background: var(--primary-light); color: var(--primary);
}
.evt-hero-badge-danger { background: #fef2f2; color: #dc2626; }

@media (max-width: 576px) {
  .evt-hero { padding: 24px 20px; }
  .evt-hero-title { font-size: 1.2rem; }
}

.evt-section-title {
  margin: 0; font-weight: 800; font-size: 1.1rem;
  color: var(--text-dark);
}
.evt-section-title .material-symbols-outlined { vertical-align: middle; margin-right: 4px; }

.evt-admin-actions {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--border);
}
.evt-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 8px; border: none; cursor: pointer;
  font-family: var(--font); font-size: 0.9rem; font-weight: 600;
  transition: all 0.2s; text-align: center; justify-content: center;
  text-decoration: none !important;
}
.evt-btn .material-symbols-outlined { font-size: 18px; }
.evt-btn-primary { background: var(--primary); color: #fff; }
.evt-btn-primary:hover { background: var(--primary-dark); color: #fff !important; }
.evt-btn-blue { background: var(--primary-light); color: var(--primary); }
.evt-btn-blue:hover { background: var(--primary); color: #fff; }
.evt-btn-danger { background: #fef2f2; color: #dc2626; }
.evt-btn-danger:hover { background: #dc2626; color: #fff; }
.evt-btn-sm { padding: 5px 12px; font-size: 0.8rem; }
.evt-btn-sm .material-symbols-outlined { font-size: 16px; }

.evt-description {
  font-size: 0.95rem; color: var(--text-body);
  line-height: 1.7; word-break: break-word;
}

.evt-registration-actions {
  display: flex; flex-wrap: wrap; gap: 8px;
}

.evt-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  border-radius: 8px; overflow: hidden;
  border: 1px solid var(--border); font-size: 0.9rem;
}
.evt-table thead tr { background: var(--bg); }
.evt-table th {
  padding: 12px 16px; font-weight: 700; color: var(--text-dark);
  text-align: left; border-bottom: 1px solid var(--border);
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em;
}
.evt-table td {
  padding: 10px 16px; border-bottom: 1px solid var(--border);
  vertical-align: middle; color: var(--text-body);
}
.evt-table tbody tr:hover { background: var(--bg); }

.dash-badge-danger { background: #fef2f2; color: #dc2626; border-color: #fecaca; }
.dash-badge-primary { background: #6ea7d9; color: #fff; border-color: #337ab7; }

.evt-table-separator td {
  background: #fffbeb; color: #92400e; font-weight: 600; font-size: 0.85rem;
}
.evt-table-footer td {
  background: var(--bg); color: var(--text-muted); font-weight: 600; font-size: 0.85rem;
}

/* Event - User Rows */
.evt-user-row {
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.evt-user-row:last-of-type { border-bottom: none; }
.evt-user-row:nth-child(even) { background: #f8f9fa; border-radius: 8px; }
.evt-user-row strong { color: var(--text-dark); font-weight: 600; font-size: 0.95rem; }
.evt-waitlist-separator {
  padding: 10px 0; color: #92400e; font-weight: 600; font-size: 0.85rem;
  border-bottom: 1px dashed #f59e0b;
}
.evt-waitlist-separator .material-symbols-outlined { vertical-align: middle; margin-right: 4px; }
.evt-user-footer {
  padding: 14px 0 0; font-size: 0.85rem; font-weight: 600;
  color: var(--text-muted);
}
.evt-registration-actions { }

/* Modal Prérogatives */
.btn-prerog { color:#e43a45; margin-right: 10px; font-size: 0.7rem;}
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.45);
  padding: 24px;
  overflow-y: auto;
}
.modal-prerog {
  background: var(--bg-white); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 520px; margin: 60px auto;
  padding: 28px 32px;
}
.prerog-check {
  display: block; padding: 8px 12px; border-radius: 8px;
  border: 1px solid var(--border); cursor: pointer;
  font-size: 0.9rem; font-weight: 600; color: var(--text-dark);
  transition: border-color 0.2s, background 0.2s;
}
.prerog-check:hover { border-color: var(--primary); background: var(--primary-light); }
.prerog-check input[type=checkbox] { margin-right: 8px; accent-color: var(--primary); }
.prerog-check input[type=checkbox]:checked + span { color: var(--primary); }

/* ==========================================
   FLOATING ACTION BUTTON (FAB)
   ========================================== */
.fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  display: flex; flex-direction: column-reverse; align-items: flex-end; gap: 12px;
}
.fab-trigger {
  width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--primary); color: #fff;
  box-shadow: 0 4px 20px rgba(19,127,236,0.4);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
}
.fab-trigger:hover { background: var(--primary-dark); box-shadow: 0 6px 28px rgba(19,127,236,0.5); }
.fab-trigger .material-symbols-outlined { font-size: 26px; transition: transform 0.3s, opacity 0.25s; }
.fab-icon-close { position: absolute; opacity: 0; transform: rotate(-90deg); }
.fab-open .fab-trigger { transform: rotate(0deg); }
.fab-open .fab-icon-open { opacity: 0; transform: rotate(90deg); }
.fab-open .fab-icon-close { opacity: 1; transform: rotate(0deg); }

.fab-actions {
  display: flex; flex-direction: column-reverse; align-items: flex-end; gap: 10px;
  pointer-events: none; opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s, transform 0.25s;
}
.fab-open .fab-actions { pointer-events: auto; opacity: 1; transform: translateY(0); }

.fab-action {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 10px; border: none; cursor: pointer;
  font-family: var(--font); font-size: 0.9rem; font-weight: 600;
  box-shadow: var(--shadow-md); transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none !important; white-space: nowrap;
}
.fab-action:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.fab-action .material-symbols-outlined { font-size: 20px; }

.fab-action-primary { background: var(--primary); color: #fff; }
.fab-action-blue { background: var(--bg-white); color: var(--primary); border: 1px solid var(--border); }
.fab-action-danger { background: var(--bg-white); color: #dc2626; border: 1px solid var(--border); }

.fab-label { font-size: 0.85rem; }


/* ==========================================
   TABLES
   ========================================== */
.table-hover>tbody>tr:hover { background: #eef4f7; }
.table td { vertical-align: middle !important; }


/* ==========================================
   ALERTS
   ========================================== */
.alert-danger { background: #e73d4a !important; color: white; border-color: #e73d4a !important; width: 100%; }
.alert { padding: 10px; }


/* ==========================================
   DROPZONE
   ========================================== */
.dropzone { min-height: 20px !important; border: 0 !important; background: none !important; padding: 0 !important; }
.dropzone .dz-message { text-align: left !important; }


/* ==========================================
   NOTIFICATIONS
   ========================================== */
.notificationLine { border-bottom: 1px solid #efefef; padding: 10px 0; }
.unread { border-left: 1px solid #ce471d; padding-left: 5px; }


/* ==========================================
   FOOTER (connected)
   ========================================== */
.footerContent { bottom: 0; }
.needHelp { background: #d04b18; color: white; text-align: center; padding: 10px; font-size: 13pt; width: 170px; float: right; }
.footerLinks { position: relative; top: -15px; }


/* ==========================================
   LANDING PAGE (index.php)
   ========================================== */
.lp * { box-sizing: border-box; margin: 0; padding: 0; }
.lp {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
.lp a { color: inherit; text-decoration: none; }
.lp img { max-width: 100%; }

/* LP - Navbar */
.lp-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: 64px; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.lp-nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.3rem; font-weight: 800; color: var(--text-dark) !important;
  letter-spacing: -0.02em;
}
.lp-nav-brand .material-symbols-outlined { color: var(--primary); font-size: 32px; }
.lp-nav-links {
  display: flex; align-items: center; gap: 6px;
  list-style: none;
}
.lp-nav-links a {
  color: var(--text-body) !important; font-size: 0.9rem; font-weight: 500;
  padding: 8px 16px; border-radius: 8px;
  transition: all 0.2s ease;
}
.lp-nav-links a:hover { color: var(--primary) !important; background: var(--primary-light); }
.lp-nav-links .btn-login {
  background: var(--primary) !important; color: #fff !important;
  font-weight: 700; padding: 9px 24px; border-radius: 50px !important;
  box-shadow: 0 2px 12px rgba(19,127,236,0.3);
  transition: all 0.25s ease;
}
.lp-nav-links .btn-login:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(19,127,236,0.4);
}

/* LP - Hero */
.lp-hero {
  position: relative; min-height: 85vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.lp-hero-bg {
  position: absolute; inset: 0;
  background: url('/assets/images/hero-plongee.png') center/cover no-repeat;
}
.lp-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(16,25,34,0.4) 0%,
    rgba(16,25,34,0.7) 80%,
    rgba(16,25,34,0.85) 100%
  );
}
.lp-hero-content {
  position: relative; z-index: 2;
  text-align: center; color: #fff;
  padding: 0 24px; max-width: 640px;
}
.lp-hero-content h1 {
  font-size: 3.5rem; font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.1; margin-bottom: 12px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}
.lp-hero-content h1 span { color: var(--primary); }
.lp-hero-content p {
  font-size: 1.15rem; font-weight: 400;
  line-height: 1.6; opacity: 0.85; margin-bottom: 32px;
}
.lp-hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary) !important; color: #fff !important;
  padding: 14px 32px; border-radius: 50px !important;
  font-size: 1rem; font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 24px rgba(19,127,236,0.4);
}
.lp-hero-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(19,127,236,0.5);
}
.lp-hero-scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,0.5); font-size: 28px;
  animation: lpBounce 2s infinite;
}
@keyframes lpBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* LP - Stats */
.lp-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; max-width: 900px; margin: -50px auto 0; padding: 0 24px;
  position: relative; z-index: 3;
}
.lp-stat {
  background: var(--bg-white); border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow-md);
  padding: 28px 20px; text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.lp-stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.lp-stat .material-symbols-outlined { font-size: 32px; color: var(--primary); margin-bottom: 8px; }
.lp-stat-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 4px; }
.lp-stat-value { font-size: 1.5rem; font-weight: 800; color: var(--text-dark); }

/* LP - Articles */
.lp-articles {
  padding: 80px 24px; max-width: 1100px; margin: 0 auto;
}
.lp-section-header {
  text-align: center; margin-bottom: 48px;
}
.lp-section-header h2 {
  font-size: 2rem; font-weight: 800; color: var(--text-dark);
  letter-spacing: -0.02em; margin-bottom: 8px;
}
.lp-section-header p {
  font-size: 1rem; color: var(--text-muted); max-width: 480px; margin: 0 auto 16px;
}
.lp-section-header .bar {
  width: 48px; height: 4px; background: var(--primary);
  margin: 0 auto; border-radius: 2px;
}
.lp-articles-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.lp-article-card {
  background: var(--bg-white); border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  overflow: hidden; transition: box-shadow 0.25s, transform 0.25s;
}
.lp-article-card:hover {
  box-shadow: var(--shadow-md); transform: translateY(-4px);
}
.lp-article-card-img { width: 100%; height: 200px; object-fit: cover; }
.lp-article-card-body { padding: 20px 24px 24px; }
.lp-article-card-body h3 {
  font-size: 1.15rem; font-weight: 700; color: var(--text-dark);
  margin-bottom: 10px; line-height: 1.4; letter-spacing: -0.01em;
}
.lp-article-card-body .excerpt {
  font-size: 0.9rem; color: var(--text-body);
  line-height: 1.7; margin-bottom: 16px;
}
.lp-article-card-footer {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.8rem; color: var(--text-muted);
  padding-top: 14px; border-top: 1px solid var(--border);
}
.lp-article-card-footer .material-symbols-outlined { font-size: 16px; color: var(--primary); vertical-align: middle; margin-right: 2px; }
.lp-article-card-footer a { margin-left: auto; color: var(--primary) !important; font-weight: 600; }
.lp-article-card-footer a:hover { text-decoration: underline !important; }
.lp-articles-empty {
  text-align: center; padding: 60px 20px; color: var(--text-muted);
  grid-column: 1 / -1;
}
.lp-articles-empty .material-symbols-outlined { font-size: 48px; display: block; margin-bottom: 12px; color: var(--border); }

/* LP - Contact */
.lp-contact {
  padding: 0 24px 80px; max-width: 700px; margin: 0 auto;
}
.lp-contact-card {
  background: var(--bg-white); border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  padding: 28px;
}
.lp-contact-row {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.lp-contact-row:last-child { border-bottom: 0; }
.lp-contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--primary-light);
}
.lp-contact-icon .material-symbols-outlined { color: var(--primary); font-size: 22px; }
.lp-contact-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 2px; }
.lp-contact-value { font-size: 1rem; font-weight: 500; color: var(--text-dark); }
.lp-contact-value a { color: var(--text-dark) !important; }
.lp-contact-value a:hover { color: var(--primary) !important; }

/* LP - Footer */
.lp-footer {
  background: var(--text-dark); color: rgba(255,255,255,0.5);
  text-align: center; padding: 28px 20px; font-size: 0.85rem;
}
.lp-footer a { color: var(--primary) !important; }
.lp-footer a:hover { text-decoration: underline !important; }

/* LP - Cookie Bar */
.lp-cookie {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: rgba(16,25,34,0.92); backdrop-filter: blur(12px);
  color: #fff; padding: 16px 32px; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
}
.lp-cookie a { color: var(--primary) !important; font-weight: 600; }
.lp-cookie button {
  background: var(--primary); color: #fff; border: none;
  padding: 8px 20px; border-radius: 8px; cursor: pointer;
  font-size: 0.9rem; font-weight: 600; font-family: inherit;
  transition: background 0.2s;
}
.lp-cookie button:hover { background: var(--primary-dark); }

/* LP - Forms */
.lp-form-group { margin-bottom: 16px; }
.lp-form-row { display: flex; gap: 16px; }
.lp-form-row .lp-form-group { flex: 1; }
.lp-input {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--border); border-radius: 8px;
  font-family: var(--font); font-size: 0.95rem; color: var(--text-dark);
  background: var(--bg); transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.lp-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.lp-input::placeholder { color: var(--text-muted); }
.lp-textarea { resize: vertical; min-height: 100px; }
.lp-btn-submit {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: #fff; border: none;
  padding: 12px 28px; border-radius: 8px; cursor: pointer;
  font-family: var(--font); font-size: 1rem; font-weight: 700;
  transition: background 0.2s, transform 0.2s;
}
.lp-btn-submit:hover { background: var(--primary-dark); transform: translateY(-1px); }
.lp-btn-submit .material-symbols-outlined { font-size: 20px; }

/* LP - Login */
.lp-login-wrapper {
  position: relative; z-index: 2;
  width: 100%; max-width: 420px; padding: 0 24px;
}
.lp-login-card {
  background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 40px 36px; border: 1px solid rgba(255,255,255,0.3);
}
.lp-login-header { text-align: center; margin-bottom: 32px; }
.lp-login-icon { font-size: 48px !important; color: var(--primary); display: block; margin-bottom: 12px; }
.lp-login-header h2 { font-size: 1.6rem; font-weight: 800; color: var(--text-dark); margin-bottom: 4px; }
.lp-login-header p { font-size: 0.9rem; color: var(--text-muted); }
.lp-input-icon-wrap {
  position: relative; display: flex; align-items: center;
}
.lp-input-icon-wrap > .material-symbols-outlined {
  position: absolute; left: 14px; font-size: 20px; color: var(--text-muted);
  pointer-events: none;
}
.lp-input-icon { padding-left: 44px !important; }
.lp-login-options {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; font-size: 0.85rem;
}
.lp-checkbox {
  display: flex; align-items: center; gap: 6px;
  color: var(--text-body); cursor: pointer; font-weight: 500;
}
.lp-checkbox input { accent-color: var(--primary); width: 16px; height: 16px; }
.lp-forgot-link { color: var(--primary) !important; font-weight: 600; }
.lp-forgot-link:hover { text-decoration: underline !important; }
.lp-btn-full { width: 100%; justify-content: center; }

/* LP - Responsive */
@media (max-width: 768px) {
  .lp-nav { padding: 0 16px; }
  .lp-nav-links a { padding: 6px 10px; font-size: 0.8rem; }
  .lp-hero-content h1 { font-size: 2.4rem; }
  .lp-hero-content p { font-size: 1rem; }
  .lp-stats { grid-template-columns: 1fr; margin-top: -30px; gap: 12px; }
  .lp-articles { padding: 50px 16px; }
  .lp-articles-grid { grid-template-columns: 1fr; }
  .lp-contact { padding: 0 16px 50px; }
}
@media (max-width: 480px) {
  .lp-nav-links li:not(:last-child) { display: none; }
  .lp-hero-content h1 { font-size: 2rem; } 
}