

/* merged: guide.css */

:root {
  --misc-white: #fff;
  --misc-white-full: #ffffff;
  --misc-page-warm: #fffaf2;
  --misc-text-warm: #3b2f1f;
  --misc-text: #1f2937;
  --misc-text-strong: #2c3e50;
  --misc-text-muted: #6b7280;
  --misc-text-soft: #4b5563;
  --misc-primary: #385e6b;
  --misc-primary-soft: #6f8d99;
  --misc-accent: #f2deb9;
  --misc-accent-hover: #e5d4a8;
  --misc-border: #e2e8f0;
  --misc-border-soft: #eee;
  --misc-surface-legacy: #f8f9fa;
  --misc-card-shadow: rgba(44, 62, 80, 0.06);
}

.guide-page {
  background: var(--misc-page-warm);
  color: var(--misc-text-warm);
}

.guide-hero {
  background: linear-gradient(135deg, var(--misc-primary), var(--misc-primary-soft));
  color: var(--misc-white-full);
  padding: 56px 20px;
}

.guide-hero-inner {
  max-width: 1040px;
  margin: 0 auto;
}

.guide-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  color: var(--misc-accent);
}

.guide-lead {
  margin: 0;
  font-size: 1.05rem;
  opacity: 0.95;
  max-width: 760px;
}

.guide-section {
  max-width: 1040px;
  margin: 28px auto 40px;
  padding: 0 20px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.guide-card {
  display: block;
  background: var(--misc-white-full);
  border: 1px solid #ebdcc0;
  border-radius: 14px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 20px rgba(87, 65, 31, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.guide-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(87, 65, 31, 0.16);
  border-color: #d9c293;
}

.guide-card h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.guide-card p {
  margin: 0 0 14px;
  color: #5f4a2a;
  line-height: 1.5;
}

.guide-chip {
  display: inline-block;
  font-size: 0.84rem;
  color: #5a4523;
  background: var(--misc-accent);
  border-radius: 999px;
  padding: 4px 10px;
}

.guide-content {
  max-width: 980px;
  margin: 28px auto 40px;
  padding: 0 20px;
}

.guide-content article {
  background: var(--misc-white-full);
  border: 1px solid #ebdcc0;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 8px 20px rgba(87, 65, 31, 0.07);
}

.guide-content h1 {
  margin-top: 0;
}

.guide-content h2 {
  margin-top: 26px;
}

.guide-content ul {
  padding-left: 20px;
}

.guide-content li {
  margin-bottom: 8px;
}

.guide-back {
  display: inline-block;
  margin-bottom: 16px;
  text-decoration: none;
  color: #7b5a27;
  font-weight: 600;
}

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


/* merged: evenements.css */

/* =============================================================================
   PAGE ÉVÉNEMENTS — STYLES SPÉCIFIQUES
   Hero / sections / titres / containers sont fournis par `css/page-shell.css`.
   On ne conserve ici que ce qui est unique à la page : section actus +
   composants `news-card`.
   ========================================================================== */

/* ----- Section Actualités (Card UI) ----- */
.evenements-news-section {
  border-bottom: 1px solid rgba(44, 62, 80, 0.08);
}

.evenements-news-intro {
  margin: 0 0 1rem;
  color: var(--misc-text-muted);
  font-size: 0.9375rem;
}

.evenements-sources-billet {
  margin: 0 0 1.5rem;
  padding: 0.875rem 1rem;
  background: rgba(56, 94, 107, 0.06);
  border-left: 3px solid var(--primary, var(--misc-primary));
  border-radius: 0 6px 6px 0;
  font-size: 0.875rem;
  color: var(--misc-text-soft);
  line-height: 1.5;
}
.evenements-sources-billet p { margin: 0; }

.evenements-news-cache-notice {
  font-size: 0.875rem;
  color: #0d9488;
  margin: 0 0 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(13, 148, 136, 0.08);
  border-radius: 8px;
}

.evenements-news-empty-wrap {
  text-align: center;
  padding: 2rem 1rem;
  max-width: 480px;
  margin: 0 auto;
}

.evenements-news-empty {
  color: var(--misc-text-muted);
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.news-refresh-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--misc-white);
  background: var(--primary, var(--misc-primary));
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.news-refresh-btn:hover { background: var(--primary-dark, var(--misc-text-strong)); }
.news-refresh-btn:disabled { opacity: 0.7; cursor: not-allowed; }

.evenements-news-empty-hint {
  margin: 1.25rem 0 0;
  font-size: 0.8125rem;
  color: #9ca3af;
}
.evenements-news-empty-hint a { color: var(--primary, var(--misc-primary)); }

/* ----- News Cards Grid ----- */
.news-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.news-card {
  background: var(--misc-white);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(44, 62, 80, 0.1);
  box-shadow: 0 4px 16px var(--misc-card-shadow);
  transition: box-shadow 0.25s ease, transform 0.2s ease, border-color 0.2s ease;
}
.news-card:hover {
  border-color: var(--primary, var(--misc-primary));
  box-shadow: 0 8px 24px rgba(56, 94, 107, 0.15);
  transform: translateY(-2px);
}

.news-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--light-gray, var(--misc-surface-legacy));
}
.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-card-body { padding: 1rem 1.25rem; }

.news-card-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  line-height: 1.35;
  color: var(--primary-dark, var(--misc-text-strong));
}

.news-card-meta {
  font-size: 0.8125rem;
  color: var(--misc-text-muted);
  margin: 0 0 0.5rem;
}

.news-card-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-right: 0.25rem;
}
.news-card-badge--daima { background: rgba(194, 65, 12, 0.15); color: #c2410c; }
.news-card-badge--kuji  { background: rgba(99, 102, 241, 0.15); color: #4f46e5; }

.news-card-summary {
  font-size: 0.875rem;
  color: var(--misc-text-soft);
  margin: 0 0 1rem;
  line-height: 1.45;
}

.news-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 0.75rem;
}

.news-card-cta {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary, var(--misc-primary));
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.news-card-cta:hover {
  color: var(--primary-dark, var(--misc-text-strong));
  border-bottom-color: var(--primary, var(--misc-primary));
}
.news-card-cta--annonces { color: #1d4ed8; font-size: 0.8125rem; }
.news-card-cta--annonces:hover {
  color: #1e40af;
  border-bottom-color: #1d4ed8;
}

@media (max-width: 640px) {
  .news-cards {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    width: 100%;
  }
  .news-card {
    border-radius: 16px;
    width: 100%;
    max-width: 100%;
  }
  .news-card-body { padding: 0.875rem 1rem; }
  .news-card-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .news-card-cta,
  .news-card-cta--annonces { display: block; }
  .news-card-title { font-size: 0.9375rem; }
}


/* merged: contact.css */

/* ===== PAGE CONTACT – Style LOGUETOWN ===== */

.contact-page {
  min-height: 100%;
}

/* ----- Hero ----- */
.contact-page .contact-hero {
  position: relative;
  background: linear-gradient(160deg, rgba(44, 62, 80, 0.96) 0%, rgba(56, 94, 107, 0.92) 100%);
  padding: 4rem 1.5rem 3.5rem;
  color: var(--misc-white);
  text-align: center;
}

.contact-page .contact-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.contact-page .contact-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 0.75rem;
  color: var(--misc-white);
}

.contact-page .contact-hero .contact-lead {
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
}

/* ----- Contenu principal ----- */
.contact-page .contact-content {
  max-width: 560px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.contact-page .contact-intro {
  background: var(--misc-white);
  border-radius: 16px;
  padding: 2rem 2rem 2.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--misc-border);
  box-shadow: 0 4px 16px var(--misc-card-shadow);
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
}

.contact-page .contact-intro p {
  margin: 0;
}

/* ----- Formulaire ----- */
.contact-page .contact-form-card {
  background: var(--misc-white);
  border-radius: 16px;
  padding: 2rem 2rem 2.25rem;
  border: 1px solid var(--misc-border);
  box-shadow: 0 4px 16px var(--misc-card-shadow);
}

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

.contact-page .contact-form .form-group:last-of-type {
  margin-bottom: 1.5rem;
}

.contact-page .contact-form label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.contact-page .contact-form input,
.contact-page .contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--misc-border);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-page .contact-form input:focus,
.contact-page .contact-form textarea:focus {
  outline: none;
  border-color: var(--misc-primary);
  box-shadow: 0 0 0 3px rgba(56, 94, 107, 0.12);
}

.contact-page .contact-form input::placeholder,
.contact-page .contact-form textarea::placeholder {
  color: #94a3b8;
}

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

.contact-page .contact-form .btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: var(--misc-accent);
  color: var(--misc-text-strong);
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.contact-page .contact-form .btn-submit:hover {
  background: var(--misc-accent-hover);
  transform: translateY(-1px);
}

.contact-page .contact-form .btn-submit:active {
  transform: translateY(0);
}

/* ----- Retour accueil ----- */
.contact-page .contact-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-page .contact-back:hover {
  color: var(--misc-primary);
}

/* Responsive */
@media (max-width: 640px) {
  .contact-page .contact-hero {
    padding: 3rem 1rem 2.5rem;
  }

  .contact-page .contact-content {
    padding: 1.5rem 1rem 3rem;
  }

  .contact-page .contact-intro,
  .contact-page .contact-form-card {
    padding: 1.5rem 1.25rem;
  }

  .contact-page .contact-form .btn-submit {
    width: 100%;
  }
}


/* merged: mon-espace-dashboard.css */

/* Mon espace – Dashboard style leboncoin, couleurs Loguetown */

.dashboard-lbc {
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px 20px 48px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--misc-surface-legacy);
}

/* Bloc profil + portefeuille côte à côte */
.dashboard-profile-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.dashboard-profile-card,
.dashboard-wallet-card {
    background: var(--misc-white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--misc-border-soft);
}

.dashboard-profile-card {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dashboard-profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--misc-accent), var(--misc-accent-hover));
    color: var(--misc-text-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 28px;
    flex-shrink: 0;
}

.dashboard-profile-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.dashboard-profile-body {
    flex: 1;
    min-width: 0;
}

.dashboard-profile-name {
    margin: 0 0 6px 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--misc-text);
}

.dashboard-profile-rating {
    font-size: 14px;
    color: var(--misc-text-muted);
}

.dashboard-profile-rating i {
    color: var(--misc-accent);
}

.dashboard-profile-edit {
    margin-top: 8px;
    font-size: 14px;
    color: var(--misc-primary);
    text-decoration: none;
    font-weight: 600;
}

.dashboard-profile-edit:hover {
    color: var(--misc-accent);
}

/* Portefeuille */
.dashboard-wallet-card {
    position: relative;
    overflow: hidden;
}

.dashboard-wallet-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 100%;
    background: linear-gradient(135deg, rgba(242, 222, 185, 0.15), rgba(229, 212, 168, 0.08));
    border-radius: 0 16px 16px 0;
}

.dashboard-wallet-title {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--misc-text-muted);
}

.dashboard-wallet-amount {
    font-size: 28px;
    font-weight: 800;
    color: var(--misc-text);
    margin-bottom: 4px;
}

.dashboard-wallet-status {
    font-size: 13px;
    color: #10b981;
}

/* Bandeau CTA */
.dashboard-cta-banner {
    background: linear-gradient(135deg, var(--misc-accent) 0%, var(--misc-accent-hover) 50%, #f5e5c8 100%);
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    border: 1px solid rgba(229, 212, 168, 0.5);
}

.dashboard-cta-content {
    flex: 1;
    min-width: 200px;
}

.dashboard-cta-title {
    margin: 0 0 6px 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--misc-text-strong);
}

.dashboard-cta-subtitle {
    margin: 0;
    font-size: 15px;
    color: var(--misc-primary);
    opacity: 0.95;
}

.dashboard-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--misc-white);
    color: var(--misc-text-strong);
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.dashboard-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.dashboard-cta-btn i {
    font-size: 18px;
}

/* Grille de cartes fonctionnelles */
.dashboard-cards-title {
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--misc-text);
}

.dashboard-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.dashboard-func-card {
    background: var(--misc-white);
    border-radius: 16px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    display: block;
    border: 1px solid var(--misc-border-soft);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.dashboard-func-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: var(--misc-accent);
}

.dashboard-func-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(242, 222, 185, 0.3), rgba(229, 212, 168, 0.2));
    color: var(--misc-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.dashboard-func-card h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--misc-text);
}

.dashboard-func-card p {
    margin: 0;
    font-size: 14px;
    color: var(--misc-text-muted);
    line-height: 1.45;
}

.dashboard-func-card.has-badge {
    position: relative;
}

.dashboard-func-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: var(--misc-accent);
    color: var(--misc-text-strong);
    border-radius: 11px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Bouton déconnexion */
.dashboard-logout-wrap {
    margin-top: 16px;
}

.dashboard-logout-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: var(--misc-white);
    border: 1px solid #d1d5db;
    border-radius: 12px;
    color: var(--misc-text-muted);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.dashboard-logout-btn:hover {
    background: #f9fafb;
    color: var(--misc-text);
    border-color: #9ca3af;
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-profile-row {
        grid-template-columns: 1fr;
    }

    .dashboard-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .dashboard-cta-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (min-width: 769px) and (max-width: 900px) {
    .dashboard-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 404 */
.page-404 { padding: var(--space-2xl) var(--space-md); text-align: center; }
.page-404-inner { max-width: 480px; margin: 0 auto; }
.page-404-icon { font-size: 4rem; margin-bottom: var(--space-md); opacity: 0.9; }
.page-404-title { font-family: var(--font-heading); font-size: 1.75rem; color: var(--primary-dark); margin-bottom: var(--space-sm); }
.page-404-text { color: var(--gray); margin-bottom: var(--space-lg); line-height: 1.6; }
.page-404-actions { display: flex; flex-wrap: wrap; gap: var(--space-md); justify-content: center; }
.page-404-actions .btn { min-width: 140px; }
