/* FONTS */ 

/* Sansation */
@font-face {
  font-family: 'Sansation';
  src: url('../fonts/Sansation_Regular.ttf') format('truetype');
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  background: #fdf4f5;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.7rem 1rem;
  border-radius: 6px;
  color: #fff;
  background: var(--brand, #95182b);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid rgba(149, 24, 43, 0.34);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

main,
.page-content,
.section {
  width: 100%;
}

.page-content {
  flex: 1 0 auto;
  background: #fff;
}

.site-footer,
footer {
  flex-shrink: 0;
} 

/* NAV */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 1.5rem 3rem;
  background: #fdf4f5;
  border-bottom: 0.5px solid #e8c8cc;
}

.nav-logo {
  font-size: 14px;
  color: #8b1a2a;
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-toggle,
.nav-toggle-label {
  display: none;
}

.nav-toggle-label {
  width: 38px;
  height: 38px;
  border: 0.5px solid #d4909a;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle-label span {
  width: 16px;
  height: 1.5px;
  background: #8b1a2a;
  border-radius: 99px;
}

.nav-links a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  color: #a07080;
  line-height: 1;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links .nav-intime-link {
  justify-content: center;
  padding: 0.32rem 0.8rem;
  border-radius: 8px;
  background: #95182b;
  color: #fff7f8;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(149, 24, 43, 0.14);
}

.nav-badge {
  display: inline-flex;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #8b1a2a;
  color: #fdf4f5;
  font-size: 10px;
  margin-left: 4px;
}

.nav-links a:hover {
  color: #8b1a2a;
}

.nav-links .nav-intime-link:hover {
  color: #fff;
  background: #7e1023;
}

/* HERO */
.hero-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  padding: 3rem;
  text-align: center;
  background: #fdf4f5;
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-size: 42px;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #1a0810;
}

.hero-sub {
  font-size: 16px;
  color: #7a5060;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.cta-btn {
  display: inline-block;
  padding: 14px 32px;
  background: #8b1a2a;
  border-radius: 8px;
  color: #fdf4f5;
  text-decoration: none;
  font-size: 14px;
  border: none;
  transition: background 0.2s;
  cursor: pointer;
}

.cta-btn:hover {
  background: #6e1220;
}

/* AUTH */
.auth-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5rem 1.5rem;
  background: #fdf4f5;
  min-height: calc(100vh - 57px);
}

.auth-card {
  background: #fff8f8;
  border: 0.5px solid #e8c8cc;
  border-radius: 12px;
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
}

.auth-title {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 2rem;
  color: #1a0810;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 12px;
  color: #8b1a2a;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  background: #fdf4f5;
  border: 0.5px solid #d4909a;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  color: #1a0810;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #8b1a2a;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #c4a0a8;
}

.submit-btn {
  width: 100%;
  padding: 13px;
  background: #8b1a2a;
  border: none;
  border-radius: 8px;
  color: #fdf4f5;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.5rem;
  font-family: inherit;
}

.submit-btn:hover {
  background: #6e1220;
}

.form-hint {
  display: block;
  margin-top: 0.45rem;
  color: var(--text-muted, #7f5963);
  font-size: 12px;
  line-height: 1.45;
}

.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.submit-btn:disabled,
button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.auth-link {
  font-size: 13px;
  color: #7a5060;
  text-align: center;
  margin-top: 1.5rem;
}

.auth-link a {
  color: #8b1a2a;
  text-decoration: none;
}

.alert {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 1.25rem;
}

.alert-error {
  background: #fff0f0;
  border: 0.5px solid #e8a0a8;
  color: #8b1a2a;
}

.alert-success {
  background: #f0fff4;
  border: 0.5px solid #90d4a8;
  color: #1a6a38;
}

.auth-link-secondary {
  margin-top: 0.85rem;
}

.auth-eyebrow {
  margin: 0 0 0.65rem;
  color: var(--brand, #95182b);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.auth-intro,
.auth-security-note {
  color: var(--text-muted, #7f5963);
  font-size: 14px;
  line-height: 1.65;
}

.auth-intro {
  margin: 0 0 1.25rem;
}

.auth-security-note {
  margin: 1rem 0 0;
}

.auth-main-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 1rem;
  text-decoration: none;
  box-sizing: border-box;
}

.standalone-error-body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(149, 24, 43, 0.09), transparent 28rem),
    var(--bg-app, #fbf7f7);
}

.standalone-error-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 1.25rem;
  box-sizing: border-box;
}

.standalone-error-card {
  width: min(620px, 100%);
  padding: clamp(1.5rem, 5vw, 3rem);
  box-sizing: border-box;
}

.incident-reference {
  margin: 1.25rem 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border, #ead2d8);
  border-radius: var(--radius-control, 8px);
  color: var(--text-muted, #7f5963);
  background: var(--surface-soft, #fff7f8);
  overflow-wrap: anywhere;
}

.incident-reference strong {
  color: var(--brand, #95182b);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.alert-warning {
  background: #fff8e8;
  border: 0.5px solid #e7c16a;
  color: #7a4d00;
}

.flash-popup {
  position: fixed;
  right: 1.5rem;
  top: 5.5rem;
  z-index: 120;
  width: min(360px, calc(100vw - 2rem));
  padding: 1rem;
  border: 1px solid #90d4a8;
  border-radius: 12px;
  background: #f6fff8;
  color: #1a6a38;
  box-shadow: 0 18px 48px rgba(26, 106, 56, 0.16);
  animation: flashSlideIn 0.28s ease-out both;
}

.flash-popup strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #14552d;
  font-size: 15px;
}

.flash-popup p {
  line-height: 1.45;
  font-size: 13px;
}

.flash-popup a {
  display: inline-flex;
  margin-top: 0.65rem;
  color: #14552d;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

@keyframes flashSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FOOTER */
.footer {
  padding: clamp(0.9rem, 1.8vw, 1.6rem);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.12), transparent 24rem),
    #8b1a2a;
  border-top: 0;
}

.footer-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.4fr);
  column-gap: 2rem;
  row-gap: 3rem;
  align-items: start;
  width: 100%;
  margin: 0 auto;
  padding: 2.6rem clamp(1.5rem, 4vw, 3.2rem);
  background:
    radial-gradient(circle at 10% 0%, rgba(149, 24, 43, 0.08), transparent 24rem),
    #fdf4f5;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(45, 4, 13, 0.22);
}

.footer-inner::before {
  content: "";
  position: absolute;
  top: 1.8rem;
  bottom: 1.8rem;
  left: calc(39.13% + 1rem);
  width: 1px;
  background: #e8c8cc;
}

.footer-brand {
  display: grid;
  gap: 0.85rem;
  max-width: 390px;
}

.footer-logo {
  width: fit-content;
  color: #8b1a2a;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

.footer-brand p {
  color: #6f3440;
  line-height: 1.7;
  font-size: 14px;
}

.footer-brand span {
  color: #a07080;
  font-size: 12px;
}

.footer-links {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding-left: 2rem;
}

.footer-column {
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.footer-column strong {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #8b1a2a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-column strong::after {
  content: "";
  display: block;
  flex: 1;
  height: 1px;
  min-width: 42px;
  background: #e8c8cc;
}

.footer-column a,
.footer-text {
  width: fit-content;
  color: #a07080;
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-column a:hover,
.footer-text:hover {
  color: #8b1a2a;
}

.footer-contact {
  font-size: 13px;
  color: #8b1a2a;
  text-decoration: none;
  font-weight: 500;
}

/* SECTION */
.section {
  padding: 4rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 28px;
  font-weight: 300;
  color: #1a0810;
}

.discovery-tabs {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  width: fit-content;
  margin: -0.5rem 0 1.5rem;
}

.discovery-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: -0.5rem 0 1.5rem;
}

.discovery-row .discovery-tabs {
  margin: 0;
}

.discovery-tabs a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 14px;
  border: 0.5px solid #e8c8cc;
  border-radius: 999px;
  background: #fff8f8;
  color: #8b1a2a;
  text-decoration: none;
  font-size: 13px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.discovery-tabs a:hover,
.discovery-tabs a.is-active {
  background: #8b1a2a;
  border-color: #8b1a2a;
  color: #fff8f8;
}

/* FILTRES */
.filtres {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: stretch;
}

.filtres .filter-search {
  grid-column: span 2;
}

.filtres input,
.filtres select {
  background: #fff8f8;
  border: 0.5px solid #d4909a;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  color: #1a0810;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
  width: 100%;
  min-height: 42px;
}

.filtres input:focus,
.filtres select:focus {
  border-color: #8b1a2a;
}

.filtres input::placeholder {
  color: #c4a0a8;
}

.filtres-actions {
  display: flex;
  gap: 0.5rem;
}

.filter-check {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  grid-column: span 2;
  padding: 10px 12px;
  border: 0.5px solid #e8c8cc;
  border-radius: 8px;
  background: #fff8f8;
  color: #8b1a2a;
  font-size: 12px;
}

.filter-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #8b1a2a;
}

.discovery-availability {
  flex-shrink: 0;
  white-space: nowrap;
}

.intime-promo-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 1rem;
  align-items: center;
  margin: 0 0 1.5rem;
  padding: 1.2rem;
  border: 1px solid rgba(217, 107, 134, 0.34);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(35, 13, 25, 0.96), rgba(76, 20, 48, 0.94)),
    #230d19;
  color: #fff7fb;
  box-shadow: 0 18px 48px rgba(74, 16, 28, 0.08);
}

.intime-promo-content {
  display: grid;
  gap: 0.45rem;
}

.intime-promo-kicker {
  color: #f2a7bc;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.intime-promo-band h2 {
  font-size: 22px;
  line-height: 1.2;
  margin: 0;
}

.intime-promo-band p {
  max-width: 620px;
  color: #f3c9d5;
  line-height: 1.6;
  font-size: 14px;
}

.intime-promo-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.intime-promo-points span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #ffe6ee;
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.intime-promo-band .cta-btn {
  white-space: nowrap;
  background: #d96b86;
  border-color: #d96b86;
  color: #170812;
}

.ad-slot {
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.5rem auto;
  padding: 1rem 1.15rem;
  border: 1px dashed var(--border-strong, #d998a4);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text-muted, #7f5963);
}

.ad-slot span {
  display: inline-block;
  margin-bottom: 0.25rem;
  color: var(--brand, #95182b);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ad-slot strong {
  display: block;
  color: var(--text-main, #221116);
}

.ad-slot p {
  margin-top: 0.25rem;
  line-height: 1.5;
  font-size: 13px;
}

.ad-slot a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--brand, #95182b);
  border-radius: 8px;
  color: var(--brand, #95182b);
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

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

.premium-status-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
  gap: 1.25rem;
  align-items: stretch;
  margin: 1.4rem 0;
  padding: 1.35rem;
  border: 1px solid var(--border, #ead2d8);
  border-radius: 16px;
  background:
    radial-gradient(circle at 90% 20%, rgba(149, 24, 43, 0.1), transparent 34%),
    #fff;
  box-shadow: var(--shadow-soft, 0 18px 48px rgba(74, 16, 28, 0.07));
}

.premium-status-panel.is-active {
  border-color: rgba(36, 151, 86, 0.34);
  background:
    radial-gradient(circle at 92% 18%, rgba(36, 151, 86, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(246, 255, 250, 0.96), rgba(255, 248, 250, 0.96));
}

.premium-status-panel h2 {
  margin: 0.35rem 0 0.45rem;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.05;
}

.premium-status-panel p {
  max-width: 680px;
  margin: 0;
  color: var(--text-muted, #7f5963);
  line-height: 1.7;
}

.premium-status-kicker {
  color: var(--brand, #95182b);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.premium-status-panel.is-active .premium-status-kicker {
  color: #087a3f;
}

.premium-status-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.premium-status-meta div {
  display: grid;
  align-content: center;
  gap: 0.35rem;
  min-height: 96px;
  padding: 1rem;
  border: 1px solid rgba(149, 24, 43, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.premium-status-meta span {
  color: var(--text-muted, #7f5963);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.premium-status-meta strong {
  color: var(--brand-dark, #6f1020);
  font-size: 18px;
}

.premium-card {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  border: 1px solid var(--border, #ead2d8);
  border-radius: 14px;
  background: var(--surface, #fff);
  box-shadow: var(--shadow-soft, 0 18px 48px rgba(74, 16, 28, 0.07));
}

.premium-card.is-premium {
  background:
    linear-gradient(135deg, rgba(35, 13, 25, 0.96), rgba(76, 20, 48, 0.94)),
    #230d19;
  color: #fff7fb;
}

.premium-card span {
  color: var(--brand, #95182b);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.premium-card.is-premium span {
  color: #f2a7bc;
}

.premium-card.is-premium .premium-trial-badge {
  display: inline-flex;
  width: fit-content;
  margin: 0.2rem 0 0.8rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff4f6;
  font-size: 0.84rem;
  font-weight: 700;
}

.premium-card h2 {
  font-size: 22px;
}

.premium-card ul {
  display: grid;
  gap: 0.55rem;
  padding-left: 1.2rem;
  color: var(--text-muted, #7f5963);
}

.premium-card.is-premium ul,
.premium-card.is-premium .premium-note {
  color: #f3c9d5;
}

.premium-note {
  padding: 0.8rem;
  border: 1px solid rgba(217, 107, 134, 0.28);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
}

.premium-active-box {
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
  border: 1px solid rgba(106, 218, 154, 0.26);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.premium-active-box strong {
  color: #fff;
  font-size: 18px;
}

.premium-active-box p {
  margin: 0;
  color: #f3c9d5;
}

.premium-active-box span {
  width: fit-content;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(106, 218, 154, 0.14);
  color: #b9f6d0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.premium-manage-btn {
  width: fit-content;
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff7fb;
}

.premium-manage-btn:hover {
  background: #fff7fb;
  border-color: #fff7fb;
  color: var(--brand-dark, #6f1020);
}

.sorties-header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.filtres-bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.filtres-actions .submit-btn,
.filtres-actions .cta-btn-outline {
  width: 96px;
  min-height: 42px;
  padding: 10px 14px;
  white-space: nowrap;
}

.quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
}

.quick-filters a,
.quick-filters span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 0.5px solid #e8c8cc;
  color: #8b1a2a;
  text-decoration: none;
  font-size: 12px;
  background: #fff8f8;
}

.quick-filters a.is-active {
  background: #8b1a2a;
  border-color: #8b1a2a;
  color: #fff8f8;
}

.recommendation-panel {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin: 1rem 0 1.5rem;
  padding: 1rem;
  border: 0.5px solid #e8c8cc;
  border-radius: 8px;
  background: #fdf4f5;
}

.recommendation-panel strong {
  color: #8b1a2a;
}

.recommendation-panel p {
  margin-top: 0.25rem;
  color: #a07080;
  font-size: 13px;
}

.result-count {
  margin: 0 0 1.25rem;
  color: #a07080;
  font-size: 14px;
}

/* SORTIES */
.sorties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.sortie-card {
  background: #fff8f8;
  border: 0.5px solid #e8c8cc;
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.2s;
}

.sortie-card:hover {
  border-color: #d4909a;
}

.sortie-reco-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.9rem 0 0.85rem;
}

.sortie-reco-badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: #eef8f1;
  border: 0.5px solid #9ed3ad;
  color: #216b36;
  font-size: 11px;
}

.sortie-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.sortie-activite {
  font-size: 11px;
  color: #8b1a2a;
  border: 0.5px solid #d4909a;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #fff0f2;
}

.sortie-places {
  font-size: 12px;
  color: #a07080;
}

.sortie-status {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 3px 9px;
  border: 0.5px solid #e8c8cc;
  border-radius: 999px;
  background: #fff8f8;
  color: #a07080;
  font-size: 11px;
}

.sortie-status-open {
  background: #eef8f1;
  border-color: #9ed3ad;
  color: #216b36;
}

.sortie-status-full {
  background: #fff7e8;
  border-color: #e5bd72;
  color: #8a5b00;
}

.sortie-status-cancelled {
  background: #fff0f2;
  border-color: #d4909a;
  color: #8b1a2a;
}

.sortie-status-finished {
  background: #f1eef0;
  border-color: #d6c7ce;
  color: #6f4b56;
}

.sortie-titre {
  font-size: 17px;
  font-weight: 500;
  color: #1a0810;
  margin-bottom: 0.5rem;
}

.sortie-meta {
  font-size: 13px;
  color: #a07080;
  margin-bottom: 0.75rem;
}

.sortie-desc {
  font-size: 13px;
  color: #7a5060;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.sortie-experience-tags,
.sortie-info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.sortie-experience-tags {
  margin: 0.85rem 0 0.75rem;
}

.sortie-experience-tags.is-detail {
  margin-top: 1.25rem;
}

.sortie-experience-tags span,
.sortie-info-row span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border-radius: 999px;
  font-size: 11px;
}

.sortie-experience-tags span {
  padding: 4px 10px;
  border: 0.5px solid #ead2df;
  background: #fff;
  color: #7b3150;
}

.sortie-info-row {
  margin: 0.35rem 0 1rem;
}

.sortie-info-row span {
  padding: 4px 9px;
  border: 0.5px solid #e8c8cc;
  background: #fff0f2;
  color: #8b1a2a;
}

.sortie-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.6rem;
}

.sortie-option-chip {
  display: block;
}

.sortie-option-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.sortie-option-chip span {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.8rem;
  border: 0.5px solid #e8c8cc;
  border-radius: 8px;
  background: #fff8f8;
  color: #7a5060;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.sortie-option-chip input:checked + span {
  border-color: #8b1a2a;
  background: #8b1a2a;
  color: #fff8f8;
}

.sortie-option-chip span:hover {
  transform: translateY(-1px);
}

.sortie-lieu-public {
  align-self: end;
  min-height: 48px;
}

.sortie-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 0.5px solid #e8c8cc;
}

.sortie-author-block {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.sortie-auteur {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.35;
  font-size: 12px;
  color: #a07080;
}

.sortie-author-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #8b1a2a;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s;
}

.sortie-author-link span {
  border-bottom: 1px solid rgba(139, 26, 42, 0.28);
  transition: border-color 0.2s;
}

.sortie-author-link::after {
  content: "Voir profil";
  color: #c4a0a8;
  font-size: 10px;
  font-weight: 400;
  border-bottom: 1px solid transparent;
  opacity: 0;
  transform: translateX(-3px);
  transition: opacity 0.2s, transform 0.2s, border-color 0.2s;
}

.sortie-author-link:hover {
  color: #6e1220;
}

.sortie-author-link:hover span,
.sortie-author-link:hover::after {
  border-color: #8b1a2a;
}

.sortie-author-link:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.sortie-author-link-inline {
  margin: 0 0.25rem;
  vertical-align: middle;
}

.cta-btn-small {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #8b1a2a;
  border: 0.5px solid #8b1a2a;
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.cta-btn-small:hover {
  background: #8b1a2a;
  color: #fdf4f5;
}

.sortie-card-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.7rem;
}

.sortie-note {
  font-size: 12px;
  color: #c4a0a8;
  text-align: right;
}

.report-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.report-links a {
  font-size: 11px;
  color: #c4a0a8;
  text-decoration: none;
}

.report-links a:hover {
  color: #8b1a2a;
}

.empty-state {
  text-align: center;
  padding: 4rem;
  color: #a07080;
  font-size: 15px;
  background: #fff8f8;
  border: 0.5px solid #e8c8cc;
  border-radius: 12px;
}

.sortie-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.sortie-actions-join {
  display: grid;
  grid-template-columns: repeat(2, minmax(76px, 1fr));
  justify-content: end;
  justify-items: stretch;
  width: 100%;
}

.sortie-actions-join .cta-btn-small:nth-of-type(1) {
  grid-column: 1;
  grid-row: 1;
}

.sortie-actions-join .cta-btn-small:nth-of-type(2) {
  grid-column: 2;
  grid-row: 1;
}

.sortie-actions-join .cta-btn-small:nth-of-type(3) {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: center;
  width: calc(50% - 0.25rem);
}

.sortie-footer-join {
  position: relative;
  min-height: 106px;
}

.sortie-footer-join .sortie-author-block {
  flex: 1 1 90px;
  min-width: 84px;
}

.sortie-footer-join .sortie-card-actions {
  flex: 0 1 178px;
  min-width: 160px;
}

.sortie-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2rem;
  align-items: start;
}

.sortie-detail-main,
.sortie-detail-side {
  background: #fff8f8;
  border: 0.5px solid #e8c8cc;
  border-radius: 12px;
  padding: 2rem;
}

.sortie-detail-main {
  min-width: 0;
}

.event-hero-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, auto);
  gap: 1.25rem;
  align-items: start;
}

.event-location {
  margin-top: 0.35rem;
  color: #1a0810;
  font-size: 18px;
}

.event-quick-stats,
.owner-dashboard,
.notifications-summary {
  display: grid;
  gap: 0.65rem;
}

.event-quick-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.event-quick-stats span,
.owner-dashboard div,
.notifications-summary span {
  padding: 0.85rem;
  background: #fdf4f5;
  border: 0.5px solid #e8c8cc;
  border-radius: 8px;
  color: #a07080;
  font-size: 12px;
}

.event-quick-stats strong,
.owner-dashboard strong,
.notifications-summary strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #8b1a2a;
  font-size: 20px;
}

.event-progress {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 8px;
  border: 0.5px solid #e8c8cc;
  background: #fdf4f5;
}

.event-progress-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
  color: #a07080;
  font-size: 12px;
}

.event-progress-head strong {
  color: #8b1a2a;
}

.event-progress-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #f1dce0;
}

.event-progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #8b1a2a;
}

.organizer-card {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 0.5px solid #e8c8cc;
}

.organizer-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.organizer-link img,
.organizer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
}

.organizer-link img {
  object-fit: cover;
  border: 0.5px solid #e8c8cc;
}

.organizer-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffe0e4;
  color: #8b1a2a;
  font-weight: 600;
}

.organizer-link strong,
.organizer-link small {
  display: block;
}

.organizer-link strong {
  color: #1a0810;
  font-size: 14px;
}

.organizer-link small {
  margin-top: 0.2rem;
  color: #a07080;
  font-size: 12px;
}

.organizer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.organizer-badges span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 4px 9px;
  border: 0.5px solid #e8c8cc;
  border-radius: 999px;
  color: #a07080;
  font-size: 11px;
}

.organizer-badges span.is-success {
  background: #eef8f1;
  border-color: #9ed3ad;
  color: #216b36;
}

.organizer-card p {
  margin-top: 0.85rem;
  color: #7a5060;
  font-size: 13px;
  line-height: 1.6;
}

.safety-share-card {
  margin-top: 1.5rem;
  padding: 1rem;
  border: 0.5px solid #ead2df;
  border-radius: 8px;
  background: #fff0f6;
}

.safety-share-card strong {
  display: block;
  color: #1a0810;
  font-size: 14px;
}

.safety-share-card p {
  margin: 0.35rem 0 0.85rem;
  color: #7a5060;
  font-size: 12px;
  line-height: 1.5;
}

.detail-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.reviews-list {
  display: grid;
  gap: 0.75rem;
}

.review-card {
  padding: 1rem;
  border: 0.5px solid #e8c8cc;
  border-radius: 8px;
  background: #fdf4f5;
}

.review-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  color: #1a0810;
  font-size: 14px;
}

.review-head span {
  color: #8b1a2a;
  font-weight: 600;
  white-space: nowrap;
}

.review-card p {
  margin: 0.75rem 0 0;
  color: #6f3440;
  line-height: 1.5;
  font-size: 14px;
}

.review-card small {
  display: block;
  margin-top: 0.65rem;
  color: #a07080;
  font-size: 11px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 0.5px solid #f0d6da;
  font-size: 14px;
}

.detail-row span:first-child {
  color: #a07080;
}

.detail-row span:last-child {
  color: #1a0810;
  text-align: right;
}

.participant-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.participant-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0.85rem;
  background: #fdf4f5;
  border: 0.5px solid #e8c8cc;
  border-radius: 8px;
  font-size: 13px;
  color: #7a5060;
}

.participant-pill small {
  display: block;
  margin-top: 0.2rem;
  color: #a07080;
  font-size: 11px;
}

.owner-events {
  display: grid;
  gap: 1.5rem;
}

.owner-dashboard {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 2rem;
}

.owner-section-title {
  margin: 2rem 0 1rem;
  color: #8b1a2a;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.owner-event {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.5rem;
  padding: 1.5rem;
  background: #fff8f8;
  border: 0.5px solid #e8c8cc;
  border-radius: 12px;
}

.owner-event-main,
.owner-event-side {
  min-width: 0;
}

.owner-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.owner-stats div {
  padding: 0.9rem;
  background: #fdf4f5;
  border: 0.5px solid #e8c8cc;
  border-radius: 8px;
}

.owner-stats strong {
  display: block;
  color: #8b1a2a;
  font-size: 20px;
  margin-bottom: 0.2rem;
}

.owner-stats span {
  color: #a07080;
  font-size: 12px;
}

.joined-events {
  display: grid;
  gap: 0.75rem;
}

.joined-event-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: #fff8f8;
  border: 0.5px solid #e8c8cc;
  border-radius: 10px;
}

.joined-event-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

/* MESSAGES */
.conversations-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 640px;
}

.messages-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 1rem;
  align-items: end;
  max-width: 900px;
  margin-bottom: 1.5rem;
}

.messages-summary {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.messages-summary span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 12px;
  border: 0.5px solid #e8c8cc;
  border-radius: 999px;
  background: #fff8f8;
  color: #a07080;
  font-size: 12px;
}

.messages-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px auto auto;
  gap: 0.5rem;
}

.messages-filters input,
.messages-filters select {
  width: 100%;
  min-height: 36px;
  padding: 8px 12px;
  border: 0.5px solid #d4909a;
  border-radius: 8px;
  background: #fff8f8;
  color: #1a0810;
  font-family: inherit;
}

.conversation-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #fff8f8;
  border: 0.5px solid #e8c8cc;
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.2s;
}

.conversation-item:hover {
  border-color: #d4909a;
}

.conversation-item.non-lu {
  border-color: #d4909a;
  background: #fff0f2;
}

.conv-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffe0e4;
  color: #8b1a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  flex-shrink: 0;
}

.conv-info {
  flex: 1;
  min-width: 0;
}

.conv-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}

.conv-nom {
  font-size: 14px;
  font-weight: 500;
  color: #1a0810;
}

.conv-date {
  font-size: 11px;
  color: #a07080;
}

.conv-sortie {
  font-size: 12px;
  color: #a07080;
}

.conv-preview {
  margin-top: 0.2rem;
  color: #6f3440;
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.conv-badge {
  background: #8b1a2a;
  color: #fdf4f5;
  font-size: 11px;
  font-weight: 500;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ADMIN */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.admin-stat-card {
  padding: 1rem;
  background: #fff8f8;
  border: 0.5px solid #e8c8cc;
  border-radius: 8px;
}

.admin-stat-card strong {
  display: block;
  color: #8b1a2a;
  font-size: 24px;
  margin-bottom: 0.25rem;
}

.admin-stat-card span {
  color: #a07080;
  font-size: 12px;
}

.admin-report-list {
  display: grid;
  gap: 0.75rem;
}

.admin-report-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: -1rem 0 1.5rem;
}

.admin-filter-link {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 0.45rem;
  padding: 7px 12px;
  border: 0.5px solid #e8c8cc;
  border-radius: 8px;
  color: #8b1a2a;
  font-size: 12px;
  text-decoration: none;
}

.admin-filter-link span {
  display: inline-flex;
  min-width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border-radius: 999px;
  background: #fff0f2;
  font-size: 11px;
}

.admin-filter-link.is-active {
  background: #8b1a2a;
  border-color: #8b1a2a;
  color: #fdf4f5;
}

.admin-filter-link.is-active span {
  background: #fdf4f5;
  color: #8b1a2a;
}

.admin-report-count {
  margin: -0.75rem 0 1rem;
  color: #a07080;
  font-size: 12px;
}

.admin-report-card {
  padding: 0.95rem 1.1rem;
  background: #fff8f8;
  border: 0.5px solid #e8c8cc;
  border-radius: 8px;
}

.admin-report-main,
.admin-report-grid,
.admin-user-status-form {
  display: grid;
  gap: 1rem;
}

.admin-report-main {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  margin-bottom: 0.7rem;
}

.admin-report-grid,
.admin-user-status-form {
  grid-template-columns: minmax(0, 1fr) minmax(210px, 336px);
  align-items: end;
}

.admin-report-card .form-group {
  margin-bottom: 0.65rem;
  gap: 0.35rem;
}

.admin-report-card select {
  width: 100%;
  min-height: 34px;
  padding: 6px 10px;
  background: #fdf4f5;
  border: 0.5px solid #d4909a;
  border-radius: 8px;
  color: #1a0810;
  font-family: inherit;
  font-size: 13px;
}

.admin-report-card .submit-btn {
  padding: 10px 14px;
  font-size: 13px;
}

.admin-report-kicker,
.admin-report-meta,
.admin-report-reviewed {
  color: #a07080;
  font-size: 12px;
}

.admin-report-title {
  margin: 0.25rem 0;
  color: #1a0810;
  font-size: 16px;
  line-height: 1.25;
}

.admin-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 10px;
  border: 1px solid #e4c9ce;
  border-radius: 999px;
  background: #faf3f4;
  color: #8b1a2a;
  font-size: 12px;
}

.admin-status-pill.is-success {
  background: #eef8f1;
  border-color: #9ed3ad;
  color: #216b36;
}

.admin-status-pill.is-warning {
  background: #fff7e8;
  border-color: #e5bd72;
  color: #8a5b00;
}

.admin-report-details {
  margin-top: 0.75rem;
  padding: 0.7rem 0.8rem;
  background: #fff7f8;
  border: 1px solid #f0d6da;
  border-radius: 8px;
  color: #6f4b56;
  line-height: 1.6;
}

.admin-report-details summary {
  color: #8b1a2a;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
}

.admin-report-details p {
  margin-top: 0.4rem;
}

.admin-context-list {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.5rem;
  padding-left: 1rem;
}

.admin-context-list li {
  color: #6f4b56;
  font-size: 13px;
}

.admin-user-status-form {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 0.5px solid #e8c8cc;
}

.admin-pagination {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.admin-pagination a {
  padding: 9px 16px;
  border: 0.5px solid #8b1a2a;
  border-radius: 8px;
  color: #8b1a2a;
  font-size: 13px;
  text-decoration: none;
}

.admin-pagination a:hover {
  background: #8b1a2a;
  color: #fdf4f5;
}

.admin-profile-actions {
  display: grid;
  gap: 0.75rem;
  width: 100%;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 0.5px solid #e8c8cc;
}

.admin-profile-actions .form-group {
  margin-bottom: 0.5rem;
}

.admin-profile-actions select {
  width: 100%;
  min-height: 34px;
  padding: 6px 10px;
  background: #fdf4f5;
  border: 0.5px solid #d4909a;
  border-radius: 8px;
  color: #1a0810;
  font-family: inherit;
  font-size: 13px;
}

.danger-link {
  border-color: #8b1a2a;
  color: #8b1a2a;
}

.admin-users-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(150px, 180px)) auto;
  gap: 0.75rem;
  margin: -0.75rem 0 1.5rem;
  align-items: end;
}

.admin-users-filters input,
.admin-users-filters select,
.admin-user-actions select {
  min-height: 38px;
  padding: 8px 10px;
  background: #fdf4f5;
  border: 0.5px solid #d4909a;
  border-radius: 8px;
  color: #1a0810;
  font-family: inherit;
  font-size: 13px;
}

.admin-users-filters .submit-btn {
  min-height: 38px;
  padding: 8px 16px;
  font-size: 13px;
}

.admin-users-list {
  display: grid;
  gap: 0.65rem;
}

.admin-user-row {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto minmax(330px, auto);
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 1rem;
  background: #fff8f8;
  border: 0.5px solid #e8c8cc;
  border-radius: 8px;
}

.admin-user-main {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.admin-user-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
  color: #1a0810;
  font-size: 16px;
}

.admin-user-badges {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-user-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.admin-user-actions form {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.admin-user-actions select {
  min-width: 118px;
}

.blocked-users-list {
  display: grid;
  gap: 0.75rem;
}

.blocked-user-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #fff8f8;
  border: 0.5px solid #e8c8cc;
  border-radius: 8px;
}

.blocked-user-photo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 0.5px solid #e8c8cc;
  flex-shrink: 0;
}

/* NOTIFICATIONS */
.notifications-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.notifications-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.activity-wrap {
  max-width: 960px;
}

.activity-header {
  align-items: flex-end;
  gap: 1rem;
}

.activity-settings-link {
  min-width: 140px;
  justify-content: center;
  text-align: center;
}

.notifications-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1.5rem;
}

.activity-summary {
  margin-bottom: 1rem;
}

.activity-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.25rem;
}

.activity-filters a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.65rem 0.95rem;
  border: 0.5px solid #e8c8cc;
  border-radius: 999px;
  background: rgba(255, 248, 248, 0.86);
  color: #7a3f50;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.activity-filters a:hover,
.activity-filters a.is-active {
  background: #9b1028;
  border-color: #9b1028;
  color: #fff;
  transform: translateY(-1px);
}

.activity-filters span {
  display: inline-flex;
  min-width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: rgba(155, 16, 40, 0.1);
  color: inherit;
  font-size: 11px;
}

.activity-filters a.is-active span,
.activity-filters a:hover span {
  background: rgba(255, 255, 255, 0.18);
}

.activity-empty {
  display: grid;
  gap: 0.35rem;
  min-height: 170px;
  place-items: center;
  text-align: center;
}

.activity-empty p {
  max-width: 520px;
  color: #8a5d68;
}

.notification-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #fff8f8;
  border: 0.5px solid #e8c8cc;
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.notification-item:hover,
.notification-item.is-unread {
  border-color: #d4909a;
  background: #fff0f2;
}

.notification-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e8c8cc;
  flex-shrink: 0;
}

.notification-item.is-unread .notification-dot {
  background: #8b1a2a;
}

.notification-sortie_approche .notification-dot {
  background: #216b36;
}

.notification-participation .notification-dot,
.notification-participation_quittee .notification-dot {
  background: #8a5b00;
}

.notification-sortie_modifiee .notification-dot {
  background: #216b36;
}

.notification-sortie_annulee .notification-dot {
  background: #8b1a2a;
}

.notification-message .notification-dot {
  background: #8b1a2a;
}

.notification-premium_active .notification-dot {
  background: #6d2bb8;
}

.notification-premium_payment_failed .notification-dot,
.notification-premium_cancelled .notification-dot {
  background: #b85a20;
}

.notification-age_verification_verified .notification-dot {
  background: #216b36;
}

.notification-age_verification_failed .notification-dot,
.notification-report .notification-dot {
  background: #8b1a2a;
}

.notification-content {
  flex: 1;
}

.notification-message {
  color: #1a0810;
  font-size: 14px;
}

.notification-type {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  margin-bottom: 0.35rem;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fdf4f5;
  border: 0.5px solid #e8c8cc;
  color: #8b1a2a;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.notification-date {
  margin-top: 0.25rem;
  color: #a07080;
  font-size: 11px;
}

/* SETTINGS */
.settings-section {
  max-width: 1180px;
  margin: 0 auto;
}

.settings-section .section-title {
  margin-bottom: 0;
}

.settings-dashboard {
  display: grid;
  gap: 1.2rem;
}

.settings-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 1rem;
  align-items: stretch;
  padding: clamp(1.35rem, 4vw, 2.8rem);
  border: 1px solid var(--border, #ead2d8);
  border-radius: var(--radius-card, 18px);
  background:
    radial-gradient(circle at 88% 16%, rgba(101, 58, 131, 0.16), transparent 22rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), var(--surface-soft, #fff7f8));
  box-shadow: var(--shadow-soft, 0 18px 48px rgba(74, 16, 28, 0.07));
}

.settings-hero .section-title {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.95;
}

.settings-hero .section-subtitle {
  max-width: 680px;
  margin-top: 1rem;
  font-size: 17px;
}

.settings-account-card {
  display: grid;
  align-content: center;
  gap: 0.45rem;
  padding: 1.15rem;
  border: 1px solid rgba(149, 24, 43, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
}

.settings-account-card span,
.settings-status-grid span,
.settings-side-card span {
  color: var(--brand, #95182b);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.settings-account-card strong {
  color: var(--text-main, #221116);
  font-size: 28px;
  line-height: 1.05;
}

.settings-account-card small {
  color: var(--text-muted, #7f5963);
  overflow-wrap: anywhere;
}

.settings-status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.settings-status-grid article {
  display: grid;
  gap: 0.45rem;
  min-height: 104px;
  padding: 1rem;
  border: 1px solid var(--border, #ead2d8);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-subtle, 0 12px 28px rgba(74, 16, 28, 0.06));
}

.settings-status-grid strong {
  align-self: end;
  color: var(--text-main, #221116);
  font-size: 22px;
  line-height: 1;
}

.settings-status-grid .is-ok {
  border-color: rgba(47, 125, 76, 0.28);
  background: #f4fbf6;
}

.settings-status-grid .is-warning {
  border-color: rgba(208, 145, 42, 0.34);
  background: #fff9eb;
}

.settings-status-grid .is-premium {
  border-color: rgba(101, 58, 131, 0.32);
  background: #f8f2ff;
}

.settings-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 1.2rem;
  align-items: start;
}

.settings-groups {
  display: grid;
  gap: 1rem;
}

.settings-group-card,
.settings-side-card,
.settings-danger {
  border: 1px solid var(--border, #ead2d8);
  border-radius: var(--radius-card, 16px);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-subtle, 0 12px 28px rgba(74, 16, 28, 0.06));
}

.settings-group-card {
  padding: 1rem;
}

.settings-group-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border, #ead2d8);
}

.settings-group-head h2,
.settings-side-card h2 {
  margin: 0;
  color: var(--text-main, #221116);
  font-size: 20px;
  line-height: 1.15;
}

.settings-group-head p,
.settings-side-card p {
  margin-top: 0.35rem;
  color: var(--text-muted, #7f5963);
  line-height: 1.55;
  font-size: 13px;
}

.settings-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.settings-side {
  position: sticky;
  top: 1rem;
  display: grid;
  gap: 1rem;
}

.settings-side-card {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
}

.settings-side-card.is-security {
  background:
    radial-gradient(circle at 100% 0%, rgba(149, 24, 43, 0.12), transparent 16rem),
    #fff7f8;
}

.settings-danger {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  border-color: rgba(149, 24, 43, 0.28);
  background: rgba(255, 243, 245, 0.82);
}

.privacy-page {
  max-width: 980px;
  margin-inline: auto;
}

.privacy-card {
  max-width: 880px;
}

.privacy-group {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border, #ead2d8);
}

.privacy-group h2 {
  margin: 0;
  color: var(--text-main, #221116);
  font-size: 20px;
}

.privacy-help {
  color: var(--text-muted, #7f5963);
  line-height: 1.65;
  font-size: 14px;
}

.privacy-options-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.privacy-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem;
  border: 1px solid var(--border, #ead2d8);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
}

.privacy-option input {
  width: 18px;
  height: 18px;
  margin-top: 0.1rem;
  accent-color: var(--brand, #95182b);
}

.privacy-option strong,
.privacy-option small {
  display: block;
}

.privacy-option strong {
  color: var(--text-main, #221116);
  font-size: 14px;
}

.privacy-option small {
  margin-top: 0.3rem;
  color: var(--text-muted, #7f5963);
  line-height: 1.45;
  font-size: 12px;
}

.privacy-option.is-disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.account-security-page {
  max-width: 1120px;
  margin-inline: auto;
}

.account-security-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.4rem 0;
}

.account-security-card {
  display: grid;
  gap: 0.45rem;
  min-height: 140px;
  padding: 1.15rem;
  border: 1px solid var(--border, #ead2d8);
  border-radius: var(--radius-card, 14px);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-subtle, 0 12px 28px rgba(74, 16, 28, 0.06));
}

.account-security-card span {
  color: var(--text-muted, #7f5963);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-security-card strong {
  color: var(--brand, #95182b);
  font-size: 42px;
  line-height: 1;
}

.account-security-card small {
  align-self: end;
  color: var(--text-muted, #7f5963);
  line-height: 1.45;
}

.account-security-card.is-warning {
  border-color: rgba(208, 145, 42, 0.36);
  background: #fff9eb;
}

.account-security-card.is-danger {
  border-color: rgba(149, 24, 43, 0.34);
  background: #fff3f5;
}

.account-security-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
}

.account-security-panel {
  min-width: 0;
}

.account-security-list {
  display: grid;
  gap: 0.7rem;
}

.account-security-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.85rem;
  border: 1px solid var(--border, #ead2d8);
  border-radius: 12px;
  background: var(--surface-soft, #fff7f8);
}

.account-security-row p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--text-muted, #7f5963);
  line-height: 1.45;
  font-size: 13px;
}

.account-security-row strong {
  color: var(--text-main, #221116);
  font-size: 13px;
}

.account-security-row small {
  color: var(--text-muted, #7f5963);
  font-size: 12px;
}

.account-security-row.is-ok {
  border-color: rgba(47, 125, 76, 0.24);
  background: #f5fbf6;
}

.account-security-row.is-warning {
  border-color: rgba(208, 145, 42, 0.34);
  background: #fff9eb;
}

.security-event-pill {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(149, 24, 43, 0.09);
  color: var(--brand, #95182b);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.account-security-empty {
  min-height: 120px;
}

.account-security-help {
  margin-top: 1rem;
}

.account-security-help p {
  color: var(--text-muted, #7f5963);
  line-height: 1.65;
}

.two-factor-card .auth-helper {
  margin: -0.8rem 0 1.4rem;
  color: var(--text-muted, #7f5963);
  font-size: 14px;
  line-height: 1.6;
}

.two-factor-code-input {
  text-align: center;
  font-size: 28px !important;
  font-weight: 900;
  letter-spacing: 0.3em;
}

.two-factor-resend-form {
  margin-top: 1rem;
  text-align: center;
}

.link-button {
  border: 0;
  background: transparent;
  color: var(--brand, #95182b);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.two-factor-settings-card {
  max-width: 680px;
}

.two-factor-page {
  max-width: 760px;
}

.two-factor-page .section-header {
  justify-content: center;
  text-align: center;
}

.two-factor-page .section-header > div {
  width: 100%;
}

.two-factor-page .back-link {
  display: inline-flex;
  margin-bottom: 0.35rem;
}

.two-factor-page .section-subtitle {
  margin-inline: auto;
}

.two-factor-page .two-factor-settings-card {
  margin-inline: auto;
}

.two-factor-status {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1.4rem;
  padding: 1rem;
  border: 1px solid var(--border, #ead2d8);
  border-radius: 14px;
  background: var(--surface-soft, #fff7f8);
}

.two-factor-status span {
  width: fit-content;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.two-factor-status strong {
  color: var(--text-main, #221116);
  line-height: 1.45;
}

.two-factor-status.is-enabled {
  border-color: rgba(47, 125, 76, 0.28);
  background: #f3fbf5;
}

.two-factor-status.is-enabled span {
  background: #e1f7e8;
  color: #1a6a38;
}

.two-factor-status.is-disabled span {
  background: rgba(149, 24, 43, 0.1);
  color: var(--brand, #95182b);
}

.settings-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.settings-link {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  min-height: 112px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(253, 244, 245, 0.9));
  border: 1px solid var(--border, #ead2d8);
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s, background 0.2s;
  overflow: hidden;
}

.settings-link::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: transparent;
  transition: background 0.2s;
}

.settings-link:hover {
  transform: translateY(-2px);
  border-color: rgba(149, 24, 43, 0.28);
  box-shadow: 0 16px 34px rgba(74, 16, 28, 0.08);
}

.settings-link:hover::before,
.settings-link.is-featured::before {
  background: var(--brand, #95182b);
}

.settings-link.is-featured {
  background:
    radial-gradient(circle at 100% 0%, rgba(149, 24, 43, 0.12), transparent 12rem),
    #fff7f8;
}

.settings-link-content {
  min-width: 0;
}

.settings-link-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.settings-link strong {
  display: block;
  color: var(--text-main, #221116);
  font-size: 16px;
  line-height: 1.2;
}

.settings-link em {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(149, 24, 43, 0.08);
  color: var(--brand, #95182b);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.settings-link small {
  display: block;
  color: var(--text-muted, #7f5963);
  font-size: 13px;
  line-height: 1.5;
}

.settings-link-arrow {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border, #ead2d8);
  border-radius: 50%;
  color: var(--brand, #95182b);
  font-size: 13px;
  font-weight: 900;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}

.settings-link:hover .settings-link-arrow {
  transform: translateX(3px);
  background: var(--brand, #95182b);
  color: #fff;
}

.danger-section {
  border-color: #e8c0c0;
}

.danger-section .profil-section-title,
.danger-text {
  color: #8b1a2a;
}

.danger-text {
  margin-bottom: 1rem;
  font-size: 14px;
  line-height: 1.7;
}

.danger-details {
  margin-top: 1rem;
}

.danger-details summary {
  padding: 0.75rem 1rem;
  background: #fff0f2;
  border: 0.5px solid #d4909a;
  border-radius: 8px;
  color: #8b1a2a;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  list-style: none;
}

.danger-form {
  margin-top: 1rem;
  padding: 1rem;
  background: #fdf4f5;
  border: 0.5px solid #e8c8cc;
  border-radius: 8px;
}

.danger-btn {
  width: 100%;
  margin-top: 0.5rem;
  padding: 13px;
  background: #8b1a2a;
  border: none;
  border-radius: 8px;
  color: #fdf4f5;
  cursor: pointer;
  font-size: 14px;
}

/* CONVERSATION */
.conv-topbar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 0.5px solid #e8c8cc;
}

.conv-topbar-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.conversation-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  margin-top: 0.35rem;
}

.conversation-links a,
.conversation-links form {
  display: inline-flex;
}

.conversation-links a {
  color: #c4a0a8;
  font-size: 11px;
  text-decoration: none;
}

.conversation-links a:hover {
  color: #8b1a2a;
}

.back-link {
  font-size: 13px;
  color: #a07080;
  text-decoration: none;
  transition: color 0.2s;
}

.back-link:hover {
  color: #8b1a2a;
}

.link-button-inline {
  padding: 0;
  background: transparent;
  border: 0;
  color: #c4a0a8;
  cursor: pointer;
  font-family: inherit;
  font-size: 11px;
  text-decoration: none;
}

.link-button-inline:hover {
  color: #8b1a2a;
}

.block-user-form {
  margin-top: 0.75rem;
}

.chat-box {
  max-width: 640px;
  height: 400px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #fff8f8;
  border: 0.5px solid #e8c8cc;
  border-radius: 12px;
}

.chat-empty {
  text-align: center;
  color: #c4a0a8;
  font-size: 14px;
  margin: auto;
}

.chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 75%;
}

.chat-msg.moi {
  align-self: flex-end;
  align-items: flex-end;
}

.chat-msg.lui {
  align-self: flex-start;
  align-items: flex-start;
}

.chat-bubble {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.chat-msg.moi .chat-bubble {
  background: #8b1a2a;
  color: #fdf4f5;
  border-bottom-right-radius: 4px;
}

.chat-msg.lui .chat-bubble {
  background: #fff0f2;
  color: #1a0810;
  border: 0.5px solid #e8c8cc;
  border-bottom-left-radius: 4px;
}

.chat-time {
  font-size: 11px;
  color: #c4a0a8;
  margin-top: 4px;
}

.chat-form {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  max-width: 640px;
}

.chat-form textarea {
  flex: 1;
  background: #fff8f8;
  border: 0.5px solid #d4909a;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  color: #1a0810;
  outline: none;
  resize: none;
  transition: border-color 0.2s;
  font-family: inherit;
}

.chat-form textarea:focus {
  border-color: #8b1a2a;
}

.chat-error {
  max-width: 640px;
  margin-top: 0.75rem;
  color: #8b1a2a;
  font-size: 13px;
}

/* PROFIL */
.profil-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

.profil-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background: #fff8f8;
  border: 0.5px solid #e8c8cc;
  border-radius: 12px;
  height: fit-content;
  overflow: hidden;
}

.profil-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #ffe0e4;
  color: #8b1a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.profil-nom {
  font-size: 20px;
  font-weight: 400;
  color: #1a0810;
  margin-bottom: 0.25rem;
}

.profil-ville {
  font-size: 13px;
  color: #a07080;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: center;
}

.profil-bio {
  font-size: 13px;
  color: #7a5060;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-align: center;
}

.profil-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 0.5px solid #e8c8cc;
  width: 100%;
  justify-content: center;
}

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

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.stat-nombre {
  font-size: 22px;
  font-weight: 500;
  color: #8b1a2a;
}

.stat-label {
  font-size: 11px;
  color: #a07080;
  text-align: center;
}

.profil-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.public-profile {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.trust-badge,
.profile-check {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border: 0.5px solid #e8c8cc;
  border-radius: 999px;
  background: #fdf4f5;
  color: #a07080;
  font-size: 12px;
}

.trust-badge.is-success,
.profile-check.is-done {
  background: #eef8f1;
  border-color: #9ed3ad;
  color: #216b36;
}

.trust-badge.is-warning {
  background: #fff7e8;
  border-color: #e5bd72;
  color: #8a5b00;
}

.trust-badge.is-muted {
  background: #fff8f8;
}

.profile-completion-card {
  width: 100%;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 0.5px solid #e8c8cc;
}

.profile-completion-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 12px;
  color: #a07080;
}

.profile-completion-head strong {
  color: #1a0810;
  font-size: 13px;
}

.profile-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #f1dce0;
}

.profile-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #8b1a2a;
}

.profile-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.interest-picker,
.interest-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.interest-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.interest-chip span,
.interest-cloud span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 0.5px solid #e8c8cc;
  background: #fff8f8;
  color: #8b1a2a;
  font-size: 12px;
  cursor: pointer;
}

.interest-chip input:checked + span {
  background: #8b1a2a;
  border-color: #8b1a2a;
  color: #fff8f8;
}

.onboarding-card {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  border: 0.5px solid #e8c8cc;
  background: #fff8f8;
  text-align: left;
}

.onboarding-card strong,
.onboarding-card span {
  display: block;
}

.onboarding-card strong {
  color: #8b1a2a;
  margin-bottom: 0.5rem;
}

.onboarding-card a {
  display: block;
  margin-top: 0.25rem;
  color: #8b1a2a;
  font-size: 12px;
  text-decoration: none;
}

.onboarding-card a:hover {
  text-decoration: underline;
}

.onboarding-card span {
  color: #a07080;
  font-size: 12px;
  margin-top: 0.25rem;
}

.profil-section {
  background: #fff8f8;
  border: 0.5px solid #e8c8cc;
  border-radius: 12px;
  padding: 2rem;
}

.profil-section-title {
  font-size: 14px;
  font-weight: 500;
  color: #8b1a2a;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.profil-sorties {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.profil-sortie-card {
  padding: 1rem;
  background: #fdf4f5;
  border: 0.5px solid #e8c8cc;
  border-radius: 8px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  border: 0.5px solid #e8c8cc;
}

.photo-status {
  position: absolute;
  left: 8px;
  top: 8px;
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--border, #e8c8cc);
  background: #fff8f8;
  color: #a07080;
  font-size: 11px;
  font-weight: 700;
}

.photo-status-approved {
  background: #eef8f1;
  border-color: #9ed3ad;
  color: #216b36;
}

.photo-status-pending {
  background: #fff7e8;
  border-color: #e5bd72;
  color: #8a5b00;
}

.photo-status-rejected {
  background: #fff0f2;
  border-color: #d4909a;
  color: #8b1a2a;
}

.photo-upload-locked {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border: 1px dashed #d4909a;
  border-radius: 12px;
  color: #8b1a2a;
  background: #fff8f8;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.identity-readonly-card {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  border: 1px solid var(--border, #e8c8cc);
  border-radius: 12px;
  background: var(--surface-soft, #fff7f8);
}

.identity-readonly-card span {
  color: var(--brand, #8b1a2a);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.identity-readonly-card strong {
  color: var(--text-main, #1a0810);
}

.identity-readonly-card small {
  color: var(--text-muted, #a07080);
  line-height: 1.45;
}

.form-help {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-muted, #a07080);
  font-size: 12px;
  line-height: 1.45;
}

.admin-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.admin-photo-card {
  overflow: hidden;
  background: #fff8f8;
  border: 0.5px solid #e8c8cc;
  border-radius: 12px;
}

.admin-photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.admin-photo-body {
  position: relative;
  padding: 1rem;
}

.admin-photo-body .photo-status {
  position: static;
  margin-bottom: 0.75rem;
}

.admin-photo-actions {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}

.admin-photo-actions form {
  display: grid;
  gap: 0.5rem;
}

.admin-photo-actions input[type="text"] {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--border, #e8c8cc);
  border-radius: 8px;
  background: #fff;
  color: #1a0810;
  font-family: inherit;
}

.prompt-list {
  display: grid;
  gap: 0.75rem;
}

.prompt-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem;
  background: #fdf4f5;
  border: 0.5px solid #e8c8cc;
  border-radius: 8px;
}

.prompt-item strong {
  font-size: 12px;
  color: #8b1a2a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.prompt-item span {
  font-size: 14px;
  color: #1a0810;
  line-height: 1.5;
}

/* CONTACT */
.contact-form {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* MENTIONS LÉGALES */
.legal-block {
  margin-bottom: 2.5rem;
}

.legal-title {
  font-size: 13px;
  font-weight: 500;
  color: #8b1a2a;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.legal-text {
  font-size: 14px;
  color: #7a5060;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

/* INDEX */
.index-page {
  position: relative;
  overflow: hidden;
  background: #fdf4f5;
}

.index-page > section,
.index-page > .divider-light,
.index-page > .ad-slot {
  position: relative;
}

.index-page > section > *,
.index-page > .ad-slot > * {
  position: relative;
  z-index: 3;
}

.hero-left,
.index-modes-head,
.index-live-head,
.story-step,
.index-activites-inner,
.index-cta-title,
.index-cta-sub {
  isolation: isolate;
}

.hero-left::before,
.index-modes-head::before,
.index-live-head::before,
.story-step::before,
.index-activites-inner::before {
  content: "";
  position: absolute;
  inset: -0.95rem;
  z-index: -1;
  border-radius: 18px;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(253, 244, 245, 0.94), rgba(253, 244, 245, 0.42) 58%, transparent 76%);
}

.index-modes-head::before,
.index-live-head::before {
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.5) 58%, transparent 76%);
}

.story-step::before {
  inset: -1.25rem -1rem;
  background: radial-gradient(ellipse at center, rgba(26, 8, 16, 0.98), rgba(26, 8, 16, 0.82) 58%, rgba(26, 8, 16, 0.2) 78%, transparent 88%);
}

.index-hero {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 3rem;
  background: #fdf4f5;
  gap: 0;
  overflow: hidden;
  min-height: 0;
}

.destiny-thread {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 100%;
  pointer-events: none;
  opacity: 0.78;
}

.destiny-thread-line,
.destiny-thread-shadow {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.destiny-thread-line {
  stroke: #cf1028;
  stroke-width: 3.4;
  filter: drop-shadow(0 8px 12px rgba(211, 19, 42, 0.14));
}

.destiny-thread-shadow {
  stroke: rgba(74, 16, 28, 0.18);
  stroke-width: 7;
  opacity: 0.26;
}

.destiny-thread-cross {
  stroke-width: 2.8;
  opacity: 0.72;
}

.destiny-thread-cross-shadow {
  stroke-width: 6;
  opacity: 0.18;
}

.destiny-thread-heart {
  stroke-width: 3.1;
  fill: rgba(207, 16, 40, 0.035);
}

.destiny-thread-heart-shadow {
  stroke-width: 7;
  fill: none;
  opacity: 0.18;
}

.index-hero.is-public {
  min-height: calc(100vh - 76px);
  padding: clamp(4rem, 7vw, 6rem) clamp(2rem, 5vw, 4rem);
  gap: clamp(3rem, 7vw, 7rem);
  background:
    radial-gradient(circle at 74% 22%, rgba(101, 58, 131, 0.14), transparent 26rem),
    radial-gradient(circle at 20% 18%, rgba(149, 24, 43, 0.09), transparent 24rem),
    #fdf4f5;
}

.index-page.is-connected .destiny-thread {
  opacity: 0.36;
}

.hero-left {
  position: relative;
  z-index: 1;
  max-width: 380px;
  flex-shrink: 0;
}

.index-hero.is-public .hero-left {
  max-width: 560px;
}

.hero-map-wrap {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
  max-width: 560px;
  max-height: 420px;
  overflow: hidden;
  margin-right: 0;
  transform: translate(-160px, -60px);

}

.index-hero.is-public .hero-map-wrap {
  display: flex;
  align-items: center;
  min-height: 430px;
  max-width: 660px;
  max-height: none;
  overflow: visible;
  transform: none;
}

.hero-map-wrap svg {
  width: 100%;
  height: 420px;
  display: block;
}

.index-hero.is-public .hero-map-wrap svg {
  filter: drop-shadow(0 28px 50px rgba(74, 16, 28, 0.1));
}

.index-tag {
  font-size: 11px;
  color: #8b1a2a;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.index-title {
  font-size: 46px;
  font-weight: 300;
  line-height: 1.15;
  color: #1a0810;
  margin-bottom: 2rem;
}

.index-hero.is-public .index-title {
  max-width: 640px;
  font-size: clamp(54px, 5.3vw, 82px);
  margin-bottom: 1.45rem;
}

.index-accent {
  color: #8b1a2a;
}

.index-sub {
  font-size: 16px;
  color: #7a5060;
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 3rem;
}

.index-hero.is-public .index-sub {
  max-width: 590px;
  margin-bottom: 1.3rem;
  font-size: 18px;
}

.index-hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.index-hero-notes span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(149, 24, 43, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #7a5060;
  font-size: 13px;
  font-weight: 700;
}

.index-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.index-hero.is-public .index-btns {
  flex-wrap: nowrap;
}

.index-hero.is-public .index-btns a {
  padding-inline: 24px;
  white-space: nowrap;
}

.hero-floating-pill {
  display: none;
  position: absolute;
  z-index: 2;
  min-width: 158px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(149, 24, 43, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 48px rgba(74, 16, 28, 0.12);
  color: #7a5060;
}

.index-hero.is-public .hero-floating-pill {
  display: grid;
  gap: 0.2rem;
}

.hero-floating-pill strong {
  color: #8b1a2a;
  font-size: 15px;
}

.hero-floating-pill span {
  font-size: 12px;
}

.hero-floating-pill-one {
  top: 4rem;
  left: 1.5rem;
}

.hero-floating-pill-two {
  top: 2rem;
  right: 1rem;
  border-color: rgba(101, 58, 131, 0.28);
}

.hero-floating-pill-two strong {
  color: #5f2e78;
}

.hero-floating-pill-three {
  bottom: 3rem;
  right: 3.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-stats span {
  padding: 0.85rem;
  border-radius: 8px;
  background: #fff8f8;
  border: 0.5px solid #e8c8cc;
  color: #a07080;
  font-size: 12px;
}

.hero-stats strong {
  display: block;
  color: #8b1a2a;
  font-size: 22px;
}

.cta-btn-outline {
  display: inline-block;
  padding: 14px 32px;
  border: 0.5px solid #8b1a2a;
  border-radius: 8px;
  color: #8b1a2a;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.cta-btn-outline:hover {
  background: #8b1a2a;
  color: #fdf4f5;
}

.cta-btn-intime {
  color: #5f2e78;
  border-color: #7b4a9a;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 34px rgba(101, 58, 131, 0.12);
}

.cta-btn-intime:hover {
  background: #5f2e78;
  border-color: #5f2e78;
  color: #fff7fb;
}

.divider-light {
  height: 0.5px;
  background: #e8c8cc;
  margin: 0 3rem;
}

.index-story {
  position: relative;
  background: #1a0810;
  padding: 6rem 3rem;
}

.index-story::before,
.index-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.index-story::before {
  background:
    linear-gradient(90deg, rgba(26, 8, 16, 0.78) 0%, rgba(26, 8, 16, 0.66) 62%, rgba(26, 8, 16, 0.4) 100%);
}

.index-live {
  padding: 4rem 3rem;
  background: #fff;
}

.index-live-head,
.index-live-grid {
  max-width: 1000px;
  margin: 0 auto;
}

.index-live-head {
  margin-bottom: 1.5rem;
}

.index-live-head h2 {
  font-size: 30px;
  font-weight: 300;
  margin-top: 0.5rem;
}

.index-live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.index-live-card {
  display: grid;
  gap: 0.55rem;
  min-height: 150px;
  padding: 1.25rem;
  border-radius: 8px;
  border: 0.5px solid #e8c8cc;
  background: #fff8f8;
  color: inherit;
  text-decoration: none;
}

.index-live-card span,
.index-live-card em {
  color: #8b1a2a;
  font-size: 12px;
  font-style: normal;
}

.index-live-card strong {
  font-size: 20px;
}

.index-live-card small {
  color: #a07080;
}

.index-modes {
  padding: 5rem 3rem;
  background: #fff;
}

.index-modes + .divider-light + .ad-slot {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.index-modes-head,
.index-mode-grid {
  max-width: 1000px;
  margin: 0 auto;
}

.index-modes-head {
  max-width: 760px;
  margin-bottom: 2rem;
}

.index-modes-head h2 {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.15;
  color: #1a0810;
  margin: 0.5rem 0 1rem;
}

.index-modes-head p {
  color: #7a5060;
  line-height: 1.75;
}

.index-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.index-mode-card {
  display: grid;
  gap: 0.8rem;
  min-height: 230px;
  padding: 1.5rem;
  border: 1px solid #e8c8cc;
  border-radius: 14px;
  background: #fff8f8;
  box-shadow: 0 18px 48px rgba(74, 16, 28, 0.06);
}

.index-mode-card.is-intime {
  background:
    linear-gradient(135deg, rgba(35, 13, 25, 0.94), rgba(78, 20, 48, 0.94)),
    #230d19;
  border-color: rgba(217, 107, 134, 0.35);
  color: #fff7fb;
}

.index-mode-card span {
  color: #8b1a2a;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.index-mode-card.is-intime span {
  color: #f2a7bc;
}

.index-mode-card h3 {
  font-size: 22px;
  line-height: 1.2;
}

.index-mode-card p {
  color: #7a5060;
  line-height: 1.65;
}

.index-mode-card.is-intime p {
  color: #f3c9d5;
}

.index-mode-card a {
  width: fit-content;
  align-self: end;
  color: #8b1a2a;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.index-mode-card.is-intime a {
  color: #fff7fb;
}

.index-story-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.story-step {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  opacity: 1;
}

.story-num {
  font-size: 11px;
  color: #8b1a2a;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 1;
}

.story-title {
  font-size: 18px;
  font-weight: 400;
  color: #f5d8dc;
  line-height: 1.3;
  opacity: 1;
}

.story-desc {
  font-size: 13px;
  color: #7a5060;
  line-height: 1.7;
  opacity: 1;
}

.index-activites {
  padding: 6rem 3rem;
  background: #fdf4f5;
}

.index-activites-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.act-label {
  font-size: 11px;
  color: #8b1a2a;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.act-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.act-card {
  padding: 2rem 1.5rem;
  background: #fff0f2;
  border: 0.5px solid #d4909a;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  color: #8b1a2a;
  text-align: center;
  transition: background 0.2s, border-color 0.2s;
}

.act-card:hover {
  background: #ffe0e4;
  border-color: #8b1a2a;
}

.act-more {
  font-size: 13px;
  color: #a07080;
  text-align: center;
}
.index-cta {
  position: relative;
  padding: 6rem 3rem;
  background: #8b1a2a;
  text-align: center;
}

.index-cta::before {
  background: rgba(139, 26, 42, 0.5);
}

.index-cta-title {
  font-size: 32px;
  font-weight: 300;
  color: #fdf4f5;
  margin-bottom: 1rem;
}

.index-cta-sub {
  font-size: 15px;
  color: #e8b0b8;
  margin-bottom: 2.5rem;
}

.index-cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn-light {
  padding: 14px 32px;
  border-radius: 8px;
  color: #8b1a2a;
  font-size: 14px;
  background: #fdf4f5;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

.cta-btn-light:hover {
  opacity: 0.9;
}

.cta-btn-outline-light {
  padding: 14px 32px;
  border: 0.5px solid #fdf4f5;
  border-radius: 8px;
  color: #fdf4f5;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s;
}

.cta-btn-outline-light:hover {
  background: rgba(253, 244, 245, 0.1);
}



@media (max-width: 768px) {
  body {
    min-width: 0;
  }

  .index-title {
    font-size: 32px;
  }

  .index-title-connected {
    max-width: 100%;
    font-size: clamp(34px, 10vw, 48px);
    line-height: 1.08;
  }

  .index-hero:has(.index-title-connected) {
    gap: 2rem;
  }

  .index-hero:has(.index-title-connected) .hero-left {
    max-width: 100%;
    flex-basis: auto;
  }

  .index-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    padding: 3rem 1.5rem;
  }

  .index-hero.is-public {
    min-height: auto;
    padding: 3rem 1.25rem;
  }

  .destiny-thread {
    top: 0;
    right: auto;
    bottom: 0;
    left: -18rem;
    width: 820px;
    height: 100%;
    opacity: 0.28;
    transform: none;
  }

  .destiny-thread-line {
    stroke-width: 3.1;
  }

  .destiny-thread-shadow {
    stroke-width: 6;
  }

  .index-hero.is-public .index-title {
    font-size: clamp(42px, 12vw, 58px);
  }

  .index-hero.is-public .index-btns {
    flex-wrap: wrap;
  }

  .hero-left,
  .hero-map-wrap {
    width: 100%;
  }

  .hero-map-wrap {
    max-width: none;
    max-height: none;
    transform: none;
  }

  .hero-map-wrap svg {
    height: auto;
    max-height: 320px;
  }

  .index-hero.is-public .hero-map-wrap {
    min-height: auto;
  }

  .hero-floating-pill {
    display: none !important;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .index-live {
    padding: 3rem 1.5rem;
  }

  .index-modes {
    padding: 3rem 1.5rem;
  }

  .index-modes-head h2 {
    font-size: 28px;
  }

  .index-mode-grid {
    grid-template-columns: 1fr;
  }

  .index-story-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .index-story {
    padding: 4rem 1.5rem;
  }

  .index-activites {
    padding: 4rem 1.5rem;
  }

  .act-cards {
    grid-template-columns: 1fr;
  }

  .index-cta {
    padding: 4rem 1.5rem;
  }

  .divider-light {
    margin: 0 1.5rem;
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav {
    padding: 1rem 1.5rem;
    position: sticky;
    top: 0;
    align-items: center;
    z-index: 50;
  }

  .nav-toggle-label {
    display: flex;
  }

  .nav-toggle {
    display: block;
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .nav-toggle:focus-visible + .nav-toggle-label {
    outline: 3px solid rgba(149, 24, 43, 0.34);
    outline-offset: 3px;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0.75rem 1.5rem 1rem;
    background: #fdf4f5;
    border-bottom: 0.5px solid #e8c8cc;
    box-shadow: 0 18px 48px rgba(26, 8, 16, 0.08);
    z-index: 60;
  }

  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }

  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0.85rem 0;
    border-top: 0.5px solid #f0d6da;
  }

  .section {
    padding: 1.75rem 1rem 2.25rem;
  }

  .section-title {
    font-size: 26px;
  }

  .section-header {
    margin-bottom: 1.25rem;
  }

  .discovery-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: -1rem;
    padding: 0.35rem 1rem;
    scrollbar-width: none;
  }

  .discovery-row {
    align-items: stretch;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0 0 1rem;
  }

  .intime-promo-band {
    grid-template-columns: 1fr;
    align-items: stretch;
    padding: 1rem;
  }

  .intime-promo-points {
    justify-content: flex-start;
  }

  .intime-promo-band .cta-btn {
    width: 100%;
  }

  .ad-slot {
    flex-direction: column;
    align-items: stretch;
    margin: 1rem 0;
  }

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

  .premium-status-panel {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .premium-status-meta {
    grid-template-columns: 1fr;
  }

  .discovery-row .discovery-tabs {
    margin-inline: -1rem;
  }

  .discovery-availability {
    align-self: flex-start;
  }

  .discovery-tabs::-webkit-scrollbar {
    display: none;
  }

  .discovery-tabs a {
    white-space: nowrap;
  }

  .auth-section {
    padding: 2rem 1rem;
  }

  .auth-card {
    width: 100%;
    padding: 1.5rem;
  }

  .auth-card[style] {
    max-width: 100% !important;
  }

  .auth-title {
    font-size: 26px;
  }

  .auth-link {
    line-height: 1.6;
  }

  .filtres {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .filtres .filter-search {
    grid-column: auto;
  }

  .filtres input,
  .filtres select,
  .filter-check,
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
    min-height: 46px;
  }

  .filter-check {
    grid-column: auto;
    justify-content: flex-start;
  }

  .sorties-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .sortie-card {
    padding: 1.15rem;
    border-radius: 10px;
  }

  .sortie-reco-row {
    margin-top: 0.65rem;
  }

  .sortie-header {
    margin-bottom: 0.8rem;
    gap: 0.75rem;
    align-items: flex-start;
  }

  .sortie-titre {
    font-size: 18px;
  }

  .sortie-desc {
    min-height: auto;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  .sortie-footer {
    margin-top: 1rem;
    padding-top: 1rem;
  }

  .profil-wrap {
    grid-template-columns: 1fr;
  }

  .public-profile {
    grid-template-columns: 1fr;
  }

  .sortie-footer,
  .section-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .recommendation-panel {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 0.75rem;
  }

  .quick-filters {
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    margin-inline: -1rem;
    padding: 0 1rem 0.25rem;
    scrollbar-width: none;
  }

  .quick-filters::-webkit-scrollbar {
    display: none;
  }

  .activity-filters {
    flex-wrap: nowrap;
    margin-inline: -1rem;
    padding: 0 1rem 0.35rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .activity-filters::-webkit-scrollbar {
    display: none;
  }

  .activity-settings-link {
    width: 100%;
  }

  .privacy-options-grid {
    grid-template-columns: 1fr;
  }

  .account-security-grid,
  .account-security-columns {
    grid-template-columns: 1fr;
  }

  .account-security-row {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .filtres-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .filtres-actions {
    width: 100%;
  }

  .filtres-actions .submit-btn,
  .filtres-actions .cta-btn-outline {
    flex: 1;
  }

  .sorties-header-actions {
    align-items: flex-start;
    width: 100%;
  }

  .sortie-actions {
    justify-content: flex-start;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sortie-card-actions {
    align-items: flex-start;
    width: 100%;
  }

  .sortie-actions .cta-btn-small {
    width: 100%;
    min-height: 42px;
    justify-content: center;
  }

  .sortie-actions-join .cta-btn-small:nth-of-type(1),
  .sortie-actions-join .cta-btn-small:nth-of-type(2),
  .sortie-actions-join .cta-btn-small:nth-of-type(3) {
    position: static;
    grid-column: auto;
    grid-row: auto;
    justify-self: stretch;
  }

  .sortie-actions-join .cta-btn-small:nth-of-type(3) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 0.25rem);
  }

  .report-links {
    width: 100%;
    justify-content: flex-start;
  }

  .sortie-detail-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .event-hero-summary,
  .joined-event-card {
    grid-template-columns: 1fr;
  }

  .event-quick-stats,
  .owner-dashboard,
  .notifications-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sortie-detail-main,
  .sortie-detail-side {
    padding: 1.25rem;
    border-radius: 10px;
  }

  .sortie-detail-main .sortie-desc,
  .auth-card .sortie-desc {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
  }

  .detail-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .detail-row span:last-child {
    text-align: left;
  }

  .participant-pill,
  .review-head,
  .settings-link,
  .notification-item {
    align-items: flex-start;
  }

  .participant-pill,
  .review-head {
    flex-direction: column;
  }

  .notification-item {
    padding: 0.9rem;
  }

  .settings-link {
    padding: 0.95rem;
  }

  .settings-section .section-title {
    margin-bottom: 1.5rem;
  }

  .owner-event {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.15rem;
  }

  .joined-event-actions {
    justify-content: flex-start;
  }

  .joined-event-actions .cta-btn-small {
    flex: 1;
  }

  .owner-stats {
    grid-template-columns: 1fr;
  }

  .admin-report-main,
  .admin-report-grid,
  .admin-user-status-form {
    grid-template-columns: 1fr;
  }

  .admin-users-filters,
  .admin-user-row {
    grid-template-columns: 1fr;
  }

  .admin-report-card,
  .admin-user-row {
    padding: 1rem;
  }

  .admin-report-toolbar {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    margin-inline: -1rem;
    padding-inline: 1rem;
    scrollbar-width: none;
  }

  .admin-report-toolbar::-webkit-scrollbar {
    display: none;
  }

  .admin-user-badges,
  .admin-user-actions {
    justify-content: flex-start;
  }

  .admin-user-actions,
  .admin-user-actions form {
    width: 100%;
  }

  .admin-user-actions form,
  .admin-profile-actions form {
    flex-wrap: wrap;
  }

  .admin-user-actions select,
  .admin-user-actions .cta-btn-small,
  .admin-user-actions .submit-btn,
  .admin-profile-actions .submit-btn {
    width: 100%;
  }

  .admin-pagination {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.25rem;
  }

  .messages-toolbar,
  .messages-filters {
    grid-template-columns: 1fr;
  }

  .messages-toolbar {
    gap: 0.75rem;
  }

  .messages-filters {
    display: grid;
  }

  .conversation-item {
    align-items: flex-start;
    padding: 0.9rem;
  }

  .conv-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .conv-date {
    font-size: 11px;
  }

  .conversations-list,
  .chat-box,
  .chat-form {
    max-width: none;
  }

  .conv-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
  }

  .chat-box {
    height: min(56vh, 460px);
    padding: 0.85rem;
  }

  .chat-form {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .chat-form .submit-btn {
    width: 100% !important;
    min-height: 46px;
  }

  .auth-card form[style*="display: flex"],
  .auth-card div[style*="display: flex"],
  .section form[style*="display: flex"] {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  .auth-card form[style*="display: flex"] .cta-btn-small,
  .auth-card form[style*="display: flex"] .submit-btn,
  .auth-card div[style*="display: flex"] .cta-btn-small,
  .auth-card div[style*="display: flex"] .submit-btn {
    width: 100%;
  }

  .profil-sidebar,
  .profil-section {
    padding: 1.25rem;
  }

  .profil-content {
    gap: 1rem;
  }

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

  .profil-sorties {
    grid-template-columns: 1fr;
  }

  .interest-picker,
  .interest-cloud,
  .profile-checklist,
  .trust-badges {
    gap: 0.4rem;
  }

  .interest-chip span,
  .interest-cloud span,
  .profile-check,
  .trust-badge,
  .organizer-badges span {
    min-height: 34px;
    font-size: 12px;
  }

  .blocked-user-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .blocked-user-card .admin-user-main,
  .admin-user-main {
    align-items: flex-start;
  }

  .contact-form {
    max-width: none;
  }

  .legal-block {
    margin-bottom: 1.5rem;
  }

  .cookie-modal {
    padding: 1.25rem;
  }

  .footer {
    padding: 1rem;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: flex-start;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    border-radius: 14px;
  }

  .footer-inner::before {
    display: none;
  }

  .footer-links {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding-left: 0;
    padding-top: 1.25rem;
  }

  .footer-links {
    border-top: 1px solid #e8c8cc;
  }
}

/* Mode Intime */
.intime-shell {
  --intime-bg: #120910;
  --intime-panel: rgba(42, 22, 34, 0.88);
  --intime-border: rgba(255, 210, 220, 0.18);
  --intime-text: #fff7f8;
  --intime-muted: #d8b8c2;
  --intime-accent: #d96b86;
  min-height: calc(100vh - 80px);
  padding: clamp(2rem, 5vw, 5rem);
  background:
    radial-gradient(circle at top left, rgba(217, 107, 134, 0.22), transparent 32rem),
    linear-gradient(135deg, #170812, #24121c 54%, #10070e);
  color: var(--intime-text);
}

.intime-shell > .intime-hero,
.intime-shell > .intime-card,
.intime-shell > .intime-panel,
.intime-shell > .intime-grid,
.intime-shell > .intime-filter,
.intime-shell > .section-header,
.intime-shell > .intime-proposal-grid,
.intime-shell > .intime-people-grid {
  width: min(100%, 1180px);
  margin-inline: auto;
}

.intime-shell > .intime-hero,
.intime-landing-page > .intime-hero {
  width: min(100%, 980px);
}

.intime-hero,
.intime-card,
.intime-panel,
.intime-proposal-card {
  border: 1px solid var(--intime-border);
  background: var(--intime-panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.intime-hero {
  max-width: 980px;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 28px;
}

.intime-hero h1 {
  max-width: 760px;
  color: var(--intime-text);
  font-family: var(--font-sans, Arial, sans-serif);
  font-size: clamp(2.4rem, 4.2vw, 4.6rem);
  letter-spacing: 0;
  line-height: 1.08;
  margin: 1rem 0 0.75rem;
}

.intime-card h1,
.intime-header h1 {
  max-width: 760px;
  color: var(--intime-text);
  font-family: var(--font-sans, Arial, sans-serif);
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0.75rem 0 0.75rem;
}

.intime-hero p,
.intime-card p,
.intime-panel p,
.intime-note {
  color: var(--intime-muted);
  line-height: 1.65;
}

.intime-hero > p,
.intime-card > p {
  max-width: 760px;
}

.mode-pill,
.verified-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.35rem;
  min-height: 30px;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--intime-border);
  border-radius: 999px;
  color: #ffe5ea;
  background: rgba(255, 255, 255, 0.07);
  font-size: 12px;
  font-weight: 800;
}

.intime-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.intime-btn,
.intime-btn-secondary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.25rem;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
}

.intime-btn {
  border: 1px solid var(--intime-accent);
  background: var(--intime-accent);
  color: #170812;
}

.intime-btn:disabled,
.intime-btn[aria-disabled="true"] {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 247, 248, 0.48);
  cursor: not-allowed;
  box-shadow: none;
}

.intime-card form:has(.identity-consent-row input:not(:checked)) .identity-submit-btn {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 247, 248, 0.48);
  cursor: not-allowed;
}

.intime-btn-secondary {
  border: 1px solid var(--intime-border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--intime-text);
}

.intime-grid,
.intime-proposal-grid,
.intime-people-grid {
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.intime-card,
.intime-panel,
.intime-proposal-card,
.intime-person-card {
  max-width: 900px;
  padding: 1.5rem;
  border-radius: 22px;
}

.intime-form {
  display: grid;
  gap: 1rem;
}

.intime-form input,
.intime-form select,
.intime-form textarea,
.intime-card input,
.intime-card select,
.intime-card textarea {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--intime-border);
  color: var(--intime-text);
}

.intime-form input:not([type="checkbox"]),
.intime-form select,
.intime-form textarea,
.intime-card input:not([type="checkbox"]),
.intime-card select,
.intime-card textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.85rem 1rem;
  border-radius: 12px;
}

.intime-form option,
.intime-card option {
  color: #170812;
}

.consent-row {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.85rem;
  border: 1px solid rgba(149, 24, 43, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.identity-consent-row {
  margin: 1rem 0;
  color: var(--intime-muted);
  line-height: 1.55;
}

.identity-consent-row input {
  flex: 0 0 auto;
  margin-top: 0.25rem;
}

.identity-consent-row a {
  color: var(--intime-accent);
  font-weight: 800;
  text-underline-offset: 3px;
}

.intime-checklist {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
  list-style: none;
}

.intime-checklist li {
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--intime-border);
  border-radius: 12px;
  color: var(--intime-muted);
}

.intime-checklist li.is-ok {
  color: #d7f5df;
  border-color: rgba(120, 210, 148, 0.5);
}

.safety-banner {
  padding: 0.9rem 1rem;
  border: 1px solid var(--intime-border);
  border-radius: 12px;
  margin: 1rem 0;
  background: rgba(255, 255, 255, 0.06);
  color: var(--intime-muted);
}

.safety-inline-banner {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border, #e8c8cc);
  border-radius: 12px;
  background: var(--surface-soft, #fff7f8);
  color: var(--text-muted, #a07080);
  font-size: 13px;
  line-height: 1.45;
}

.intime-proposal-card h2 {
  color: var(--intime-text);
  margin: 1rem 0 0.5rem;
}

.intime-person-card h2 {
  color: var(--intime-text);
  margin: 1rem 0 0.35rem;
  font-size: 1.55rem;
}

.intime-proposal-card dl,
.intime-details {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0;
}

.intime-proposal-card dt {
  color: var(--intime-muted);
  font-size: 12px;
  text-transform: uppercase;
}

.intime-proposal-card dd,
.intime-details strong {
  color: var(--intime-text);
}

.intime-filter {
  max-width: 760px;
  display: flex;
  gap: 0.75rem;
  margin: 1.5rem 0 1rem;
}

.intime-filter input {
  flex: 1;
  min-height: 48px;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--intime-border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--intime-text);
}

.intime-state-pill {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  border: 1px solid rgba(120, 210, 148, 0.45);
  border-radius: 12px;
  color: #d7f5df;
  background: rgba(120, 210, 148, 0.08);
  font-weight: 800;
}

.compat-score {
  display: grid;
  gap: 0.15rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--intime-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.compat-score strong {
  color: var(--intime-accent);
  font-size: 1.4rem;
}

.compat-score span {
  color: var(--intime-muted);
  font-size: 13px;
  line-height: 1.4;
}

.compat-score-large {
  margin: 1rem 0;
}

.intime-badges,
.intime-chip-row,
.conversation-starters,
.intime-safety-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.9rem 0;
}

.intime-chip-row span,
.conversation-starters span,
.conversation-starters a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--intime-border);
  border-radius: 999px;
  color: var(--intime-text);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  font-size: 13px;
}

.conversation-starters {
  padding: 1rem;
  border: 1px solid var(--intime-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.conversation-starters strong {
  width: 100%;
  color: var(--intime-text);
}

.quick-exit-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  border: 1px solid rgba(255, 215, 110, 0.45);
  border-radius: 12px;
  color: #ffe5aa;
  background: rgba(255, 215, 110, 0.08);
  font-weight: 800;
  text-decoration: none;
}

.intime-profile-topbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.intime-safety-actions form {
  margin: 0;
}

.intime-message-list {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0;
}

.intime-message {
  max-width: 82%;
  justify-self: start;
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--intime-border);
  border-radius: 16px 16px 16px 4px;
  color: var(--intime-text);
  background: rgba(255, 255, 255, 0.06);
  line-height: 1.45;
}

.intime-message.is-mine {
  justify-self: end;
  border-radius: 16px 16px 4px 16px;
  background: rgba(217, 107, 134, 0.22);
}

.intime-message small {
  color: var(--intime-muted);
  font-size: 11px;
}

.intime-chat-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.legal-section {
  max-width: 900px;
}

.legal-section .section-title {
  margin-bottom: 1.35rem;
}

.legal-card {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-card, 18px);
  background: var(--surface, #fff8f8);
}

.legal-card h2 + p,
.legal-card p + p {
  margin-top: 0.2rem;
}

.legal-page {
  max-width: 1040px;
}

.legal-hero {
  margin-bottom: 1.75rem;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid var(--border, #ead2d8);
  border-radius: var(--radius-card, 8px);
  background:
    radial-gradient(circle at 88% 18%, rgba(101, 58, 131, 0.12), transparent 20rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), var(--surface-soft, #fff7f8));
  box-shadow: var(--shadow-soft, 0 18px 48px rgba(74, 16, 28, 0.07));
}

.legal-hero .section-title {
  margin-bottom: 0.75rem;
}

.legal-hero p {
  max-width: 680px;
  color: var(--text-muted, #7f5963);
  line-height: 1.7;
}

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

.legal-card a {
  color: var(--brand, #95182b);
  font-weight: 700;
}

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

@media (max-width: 768px) {
  .intime-shell {
    padding: 1.25rem;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .nav {
    padding: 0.85rem 1rem;
  }

  .nav-logo {
    font-size: 13px;
  }

  .section {
    padding: 1.35rem 0.85rem 2rem;
  }

  .section-title {
    font-size: 24px;
  }

  .auth-section {
    padding: 1.35rem 0.85rem 2rem;
  }

  .auth-card {
    padding: 1.15rem;
    border-radius: 10px;
  }

  .auth-title {
    font-size: 23px;
  }

  .empty-state {
    padding: 2rem 1rem;
  }

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

  .sortie-actions,
  .sortie-actions.sortie-actions-join {
    grid-template-columns: 1fr;
  }

  .sortie-actions-join .cta-btn-small:nth-of-type(3) {
    grid-column: auto;
    width: 100%;
  }

  .sortie-footer {
    gap: 0.85rem;
  }

  .sortie-author-link::after {
    display: none;
  }

  .profil-stats,
  .admin-stats-grid,
  .owner-stats,
  .event-quick-stats,
  .owner-dashboard,
  .notifications-summary {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .joined-event-actions {
    flex-direction: column;
  }

  .joined-event-actions .cta-btn-small {
    width: 100%;
  }

  .profile-completion-head,
  .settings-link {
    align-items: flex-start;
    flex-direction: column;
  }

  .settings-link-arrow {
    display: none;
  }

  .index-btns,
  .index-cta-btns {
    width: 100%;
    flex-direction: column;
  }

  .index-btns a,
  .index-cta-btns a,
  .cta-btn,
  .cta-btn-outline,
  .cta-btn-light,
  .cta-btn-outline-light {
    text-align: center;
  }

  .conversation-item {
    gap: 0.75rem;
  }

  .conv-avatar {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .chat-bubble {
    max-width: 100%;
  }

  .chat-msg {
    max-width: 88%;
  }

  .admin-report-title,
  .admin-user-name,
  .profil-nom {
    overflow-wrap: anywhere;
  }

  .admin-filter-link {
    white-space: nowrap;
  }

  .cookie-modal {
    border-radius: 10px;
    padding: 1rem;
  }

  .cookie-modal h2 {
    font-size: 18px;
  }

  .cookie-btn {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .nav {
    padding-inline: 0.75rem;
  }

  .section,
  .auth-section {
    padding-inline: 0.65rem;
  }

  .sortie-card,
  .profil-sidebar,
  .profil-section,
  .sortie-detail-main,
  .sortie-detail-side,
  .admin-report-card,
  .admin-user-row {
    padding: 0.95rem;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(204, 0, 0, 0.5); }
  50% { box-shadow: 0 0 0 5px rgba(204, 0, 0, 0); }
}

/* COOKIE BANNER */
#cookieBanner {
  display: none;
  position: fixed;
  inset: 0;
  place-items: center;
  padding: 1.5rem;
  background: rgba(26, 8, 16, 0.58);
  z-index: 999;
}

.cookie-modal {
  width: min(560px, 100%);
  background: #1a0810;
  border: 0.5px solid #8b1a2a;
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 24px 80px rgba(26, 8, 16, 0.28);
}

.cookie-modal h2 {
  margin: 0 0 0.75rem;
  color: #fdf4f5;
  font-size: 20px;
  font-weight: 400;
}

.cookie-text {
  font-size: 13px;
  color: #e8b0b8;
  line-height: 1.6;
  margin: 0;
  max-width: 700px;
}

.cookie-btn {
  margin-top: 1.25rem;
  padding: 10px 24px;
  background: #8b1a2a;
  border: none;
  border-radius: 8px;
  color: #fdf4f5;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}

.cookie-btn:hover {
  background: #6e1220;
}

@media (max-width: 480px) {
  #cookieBanner {
    padding: 0.85rem;
  }

  .cookie-modal {
    border-radius: 10px;
    padding: 1rem;
  }

  .cookie-modal h2 {
    font-size: 18px;
  }

  .cookie-btn {
    width: 100%;
  }
}

/* MODERNISATION VISUELLE */
:root {
  --bg-app: #fbf7f7;
  --surface: #ffffff;
  --surface-soft: #fff7f8;
  --surface-strong: #fff0f2;
  --text-main: #221116;
  --text-muted: #7f5963;
  --text-soft: #a8848c;
  --brand: #95182b;
  --brand-dark: #741020;
  --brand-soft: #f7dce1;
  --border: #ead2d8;
  --border-strong: #d998a4;
  --shadow-soft: 0 18px 48px rgba(74, 16, 28, 0.07);
  --shadow-hover: 0 24px 64px rgba(74, 16, 28, 0.12);
  --radius-card: 8px;
  --radius-control: 8px;
  --font-sans: "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --font-display: "Sansation", "Segoe UI", Inter, ui-sans-serif, system-ui, sans-serif;
}

html,
body {
  background: var(--bg-app);
}

body {
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 15px;
  letter-spacing: 0;
}

.page-content {
  background:
    radial-gradient(circle at top left, rgba(149, 24, 43, 0.055), transparent 32rem),
    var(--bg-app);
}

body:has(.intime-shell) .page-content {
  background:
    radial-gradient(circle at top left, rgba(217, 107, 134, 0.22), transparent 32rem),
    linear-gradient(135deg, #170812, #24121c 54%, #10070e);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 1rem 3rem;
  background: rgba(251, 247, 247, 0.92);
  border-bottom: 1px solid rgba(234, 210, 216, 0.9);
  backdrop-filter: blur(18px);
}

.nav-logo {
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.nav-links {
  gap: 1.35rem;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
}

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

.section {
  max-width: 1200px;
  padding-top: 4.75rem;
}

.section-title,
.hero-title,
.auth-title,
.index-title,
.index-live-head h2,
.index-cta-title,
.profil-nom,
.sortie-titre,
.admin-report-title,
.admin-user-name {
  color: var(--text-main);
  font-family: var(--font-display);
  letter-spacing: 0;
}

.section-title {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
}

.auth-title {
  font-size: 24px;
  font-weight: 800;
}

.index-title,
.hero-title {
  font-weight: 800;
  line-height: 1.06;
}

.index-title-connected {
  max-width: 820px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.08;
}

.index-tag-hero {
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.index-hero:has(.index-title-connected) {
  gap: 3rem;
}

.index-hero:has(.index-title-connected) .hero-left {
  max-width: min(58vw, 860px);
  flex-basis: min(58vw, 860px);
}

.index-hero:has(.index-title-connected) .hero-map-wrap {
  transform: none;
  max-width: 520px;
}

.cta-btn,
.submit-btn,
.cookie-btn {
  background: var(--brand);
  border-radius: var(--radius-control);
  box-shadow: 0 10px 24px rgba(149, 24, 43, 0.16);
  font-weight: 700;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.cta-btn:hover,
.submit-btn:hover,
.cookie-btn:hover {
  background: var(--brand-dark);
  box-shadow: 0 14px 32px rgba(149, 24, 43, 0.22);
  transform: translateY(-1px);
}

.cta-btn-outline,
.cta-btn-small,
.danger-btn {
  border: 1px solid var(--brand);
  border-radius: var(--radius-control);
  color: var(--brand);
  font-weight: 700;
}

.cta-btn-outline:hover,
.cta-btn-small:hover {
  background: var(--brand);
  color: #fff;
}

.cta-btn-intime {
  border-color: #7b4a9a;
  color: #5f2e78;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 34px rgba(101, 58, 131, 0.12);
}

.cta-btn-intime:hover {
  background: #5f2e78;
  border-color: #5f2e78;
  color: #fff7fb;
}

.auth-card,
.sortie-card,
.sortie-detail-main,
.sortie-detail-side,
.profil-sidebar,
.profil-section,
.owner-event,
.joined-event-card,
.admin-report-card,
.admin-user-row,
.admin-stat-card,
.notification-item,
.settings-link,
.blocked-user-card,
.empty-state,
.recommendation-panel,
.conversation-item,
.chat-box,
.review-card,
.photo-grid img {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

.sortie-card,
.conversation-item,
.settings-link,
.joined-event-card,
.notification-item {
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.sortie-card:hover,
.conversation-item:hover,
.settings-link:hover,
.joined-event-card:hover,
.notification-item:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.filtres {
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.filtres input,
.filtres select,
.form-group input,
.form-group select,
.form-group textarea,
.chat-form textarea,
.admin-users-filters input,
.admin-users-filters select,
.people-filters input,
.people-filters select,
.admin-user-actions select,
.admin-report-card select,
.filter-check {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
  color: var(--text-main);
  box-shadow: 0 1px 0 rgba(74, 16, 28, 0.03);
}

.filtres input,
.form-group input,
.form-group textarea,
.chat-form textarea,
.admin-users-filters input,
.people-filters input {
  padding-left: 1rem;
}

.filtres input:focus,
.filtres select:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.chat-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(149, 24, 43, 0.11);
}

.filtres input::placeholder,
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-soft);
}

.discovery-tabs {
  gap: 0.4rem;
  padding: 0.35rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 28px rgba(74, 16, 28, 0.05);
}

.discovery-tabs a {
  min-height: 36px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-weight: 700;
}

.discovery-tabs a:hover,
.discovery-tabs a.is-active {
  background: var(--brand);
  color: #fff;
}

.discovery-availability {
  min-height: 36px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.74);
  color: var(--text-muted);
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(74, 16, 28, 0.05);
}

.filtres-actions .submit-btn,
.filtres-actions .cta-btn-outline {
  width: 118px;
  height: 50px;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-top: 0;
  line-height: 1;
  box-sizing: border-box;
}

.quick-filters a,
.quick-filters span,
.sortie-activite,
.sortie-status,
.sortie-reco-badge,
.trust-badge,
.profile-check,
.interest-chip span,
.interest-cloud span,
.admin-status-pill,
.notification-type,
.organizer-badges span {
  border-width: 1px;
  font-family: var(--font-sans);
  font-weight: 700;
}

.quick-filters a,
.quick-filters span {
  background: var(--surface);
  border-color: var(--border);
}

.index-story {
  background:
    radial-gradient(circle at 18% 0%, rgba(149, 24, 43, 0.22), transparent 30rem),
    #1a0810;
}

.story-step {
  padding: 0.2rem 0;
  opacity: 1;
  filter: none;
}

.story-num {
  color: #e05f78;
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: 0.16em;
  opacity: 1;
}

.story-title {
  max-width: 340px;
  color: #fff7f8;
  font-family: var(--font-display);
  font-size: clamp(21px, 1.8vw, 28px);
  font-weight: 800;
  line-height: 1.22;
  opacity: 1;
}

.story-desc {
  max-width: 360px;
  color: #d6a6b1;
  font-size: 15px;
  line-height: 1.75;
  opacity: 1;
}

.sortie-activite {
  background: var(--surface-strong);
  border-color: var(--brand-soft);
  color: var(--brand);
}

.sortie-titre {
  font-size: 19px;
  font-weight: 750;
}

.sortie-meta,
.sortie-places,
.sortie-auteur,
.result-count,
.footer-text,
.notification-date,
.conv-preview,
.legal-text {
  color: var(--text-muted);
}

.sortie-desc,
.profil-bio,
.danger-text,
.review-card p {
  color: #6a404b;
}

.sortie-footer {
  border-top: 1px solid var(--border);
}

.sortie-author-link {
  color: var(--brand);
  border-color: rgba(149, 24, 43, 0.28);
  font-weight: 800;
}

.recommendation-panel {
  align-items: center;
  padding: 1.15rem 1.25rem;
  background: linear-gradient(135deg, #fff, var(--surface-soft));
}

.recommendation-panel strong {
  color: var(--brand);
  font-size: 16px;
}

.event-quick-stats span,
.owner-dashboard div,
.notifications-summary span,
.owner-stats div,
.hero-stats span,
.event-progress,
.onboarding-card,
.danger-form {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.event-quick-stats strong,
.owner-dashboard strong,
.notifications-summary strong,
.owner-stats strong,
.stat-nombre {
  color: var(--brand);
  font-weight: 800;
}

.chat-msg.moi .chat-bubble {
  background: var(--brand);
}

.chat-msg.lui .chat-bubble {
  background: var(--surface);
  border: 1px solid var(--border);
}

.production-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.production-check {
  display: grid;
  gap: 0.35rem;
  padding: 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface-soft);
}

.production-check strong {
  color: var(--text-main);
}

.production-check span {
  width: fit-content;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.production-check p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.production-check.is-ok span {
  background: #eef8f1;
  color: #216b36;
}

.production-check.is-warning span {
  background: #fff7e8;
  color: #8a5b00;
}

.public-profile {
  max-width: 1180px;
  grid-template-columns: 310px minmax(0, 1fr);
}

.public-trust-card {
  width: 100%;
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background:
    radial-gradient(circle at 100% 0%, rgba(101, 58, 131, 0.12), transparent 12rem),
    rgba(255, 255, 255, 0.72);
  text-align: left;
}

.public-trust-score {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.public-trust-score strong {
  color: var(--brand);
  font-size: 34px;
  line-height: 1;
}

.public-trust-score span {
  color: var(--text-main);
  font-size: 13px;
  font-weight: 800;
}

.public-trust-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.55;
}

.public-profile-photo {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 14px 34px rgba(74, 16, 28, 0.16);
}

.public-profile-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 20%, rgba(101, 58, 131, 0.14), transparent 22rem),
    linear-gradient(135deg, #fff, var(--surface-soft));
}

.public-profile-kicker {
  display: inline-flex;
  margin-bottom: 0.85rem;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.public-profile-hero h2 {
  max-width: 680px;
  margin: 0;
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: clamp(30px, 3.3vw, 48px);
  line-height: 1.05;
}

.public-profile-hero p {
  max-width: 620px;
  margin-top: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.public-profile-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.public-profile-highlights span {
  padding: 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-muted);
  font-size: 13px;
}

.public-profile-highlights strong {
  display: block;
  color: var(--brand);
  font-size: 22px;
}

.public-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.public-assurance-panel {
  display: grid;
  gap: 1.25rem;
}

.public-assurance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.public-assurance-grid article {
  display: grid;
  gap: 0.3rem;
  min-height: 112px;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface-soft);
}

.public-assurance-grid strong {
  color: var(--text-main);
}

.public-assurance-grid span {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.45;
}

.trust-signal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.trust-signal {
  display: grid;
  gap: 0.35rem;
  padding: 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface-soft);
}

.trust-signal span {
  width: fit-content;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: #fff7e8;
  color: #8a5b00;
  font-size: 11px;
  font-weight: 800;
}

.trust-signal strong {
  color: var(--text-main);
}

.trust-signal small {
  color: var(--text-muted);
  line-height: 1.45;
}

.trust-signal.is-ok {
  background: #f4fbf6;
  border-color: #b9dec3;
}

.trust-signal.is-ok span {
  background: #e7f6eb;
  color: #216b36;
}

.intime-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0 0.5rem;
}

.intime-trust-row span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--intime-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--intime-text);
  font-size: 13px;
  font-weight: 800;
}

.onboarding-page,
.people-page {
  max-width: 1180px;
}

.people-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch;
  padding: clamp(1.35rem, 4vw, 2.8rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background:
    radial-gradient(circle at 84% 18%, rgba(101, 58, 131, 0.16), transparent 22rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), var(--surface-soft));
  box-shadow: var(--shadow-soft);
}

.people-hero-copy {
  display: grid;
  align-content: center;
}

.people-hero .section-title {
  margin-bottom: 0.65rem;
}

.people-quick-links,
.person-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.people-quick-links {
  margin-top: 1.25rem;
}

.people-quick-links a,
.person-proof-row span,
.person-card-topline span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.people-quick-links a:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.people-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.people-hero-stats article {
  display: grid;
  align-content: center;
  gap: 0.25rem;
  min-height: 118px;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.78);
}

.people-hero-stats strong {
  color: var(--brand);
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.people-hero-stats span {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.35;
}

.section-subtitle {
  margin-top: 0.45rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.onboarding-hero,
.error-card {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background:
    radial-gradient(circle at 86% 18%, rgba(101, 58, 131, 0.12), transparent 22rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), var(--surface-soft));
  box-shadow: var(--shadow-soft);
}

.onboarding-hero h1,
.error-card h1 {
  max-width: 760px;
  margin: 0;
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
}

.onboarding-hero p,
.error-card p {
  max-width: 680px;
  margin: 1rem 0;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
}

.onboarding-progress {
  max-width: 520px;
  margin: 1.5rem 0 0.55rem;
}

.onboarding-grid,
.people-grid,
.admin-overview-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.onboarding-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.onboarding-step,
.person-card,
.admin-overview-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-subtle, 0 12px 28px rgba(74, 16, 28, 0.06));
}

.onboarding-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem;
}

.onboarding-step-number {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--brand);
  font-weight: 900;
}

.onboarding-step h2,
.admin-overview-panel h2 {
  margin: 0;
  color: var(--text-main);
  font-size: 18px;
}

.onboarding-step p {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
}

.onboarding-step.is-done {
  border-color: rgba(47, 125, 76, 0.35);
  background: rgba(241, 250, 244, 0.82);
}

.onboarding-actions,
.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.people-filters {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto auto;
  gap: 0.75rem;
  align-items: stretch;
  margin-top: 1.25rem;
}

.people-filters .submit-btn,
.people-filters .cta-btn-outline {
  min-height: 50px;
}

.people-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.person-card {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.person-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: transparent;
}

.person-card.is-recommended::before {
  background: linear-gradient(180deg, var(--brand), #653a83);
}

.person-card-topline {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.person-card-topline span {
  min-height: 28px;
  background: var(--surface-soft);
}

.person-card-topline .is-verified {
  border-color: #9ed3ad;
  background: #eef8f1;
  color: #216b36;
}

.person-card-main {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
  text-decoration: none;
}

.person-card-main img,
.person-avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 10px 22px rgba(74, 16, 28, 0.12);
}

.person-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
}

.person-card h2 {
  margin: 0;
  color: var(--text-main);
  font-size: 20px;
}

.person-card p {
  margin: 0.2rem 0 0;
  color: var(--text-muted);
}

.compatibility-meter {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #f0dce1;
}

.compatibility-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), #653a83);
}

.person-score {
  color: var(--brand);
  font-size: 14px;
}

.person-bio {
  min-height: 48px;
  line-height: 1.55;
}

.person-proof-row span {
  min-height: 28px;
  padding: 0.25rem 0.6rem;
  border-color: rgba(101, 58, 131, 0.24);
  background: rgba(101, 58, 131, 0.08);
  color: #4a2268;
}

.interest-cloud.compact {
  gap: 0.4rem;
}

.interest-cloud.compact span {
  font-size: 12px;
  padding: 0.3rem 0.55rem;
}

.interest-cloud .is-shared {
  border-color: rgba(101, 58, 131, 0.35);
  background: rgba(101, 58, 131, 0.09);
  color: #4a2268;
}

.person-card-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 12px;
}

.compatibility-card {
  display: grid;
  gap: 0.85rem;
}

.admin-overview-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2rem;
}

.admin-dashboard-page {
  max-width: 1240px;
}

.admin-dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.35rem, 3vw, 2.5rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background:
    radial-gradient(circle at 86% 16%, rgba(101, 58, 131, 0.14), transparent 20rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), var(--surface-soft));
  box-shadow: var(--shadow-soft);
}

.admin-dashboard-hero .section-title {
  margin-bottom: 0.65rem;
}

.admin-dashboard-hero p {
  max-width: 720px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.65;
}

.admin-todo-score {
  min-width: 170px;
  min-height: 130px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.35rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.76);
}

.admin-todo-score strong {
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 1;
}

.admin-todo-score span {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-todo-score.has-work {
  border-color: rgba(149, 24, 43, 0.28);
  box-shadow: 0 18px 42px rgba(149, 24, 43, 0.12);
}

.admin-todo-score.is-clear {
  border-color: rgba(47, 125, 76, 0.22);
  background: rgba(241, 250, 244, 0.84);
}

.admin-priority-grid,
.admin-command-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.admin-priority-card,
.admin-command-card {
  color: inherit;
  text-decoration: none;
}

.admin-priority-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-subtle, 0 12px 28px rgba(74, 16, 28, 0.06));
}

.admin-priority-label {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.admin-priority-value {
  flex: 0 0 auto;
  min-width: 66px;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  background: rgba(149, 24, 43, 0.09);
  color: var(--brand);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.admin-priority-card.is-danger {
  border-color: rgba(149, 24, 43, 0.36);
  background: #fff4f5;
}

.admin-priority-card.is-warning {
  border-color: rgba(208, 145, 42, 0.36);
  background: #fff8e8;
}

.admin-priority-card.is-ok {
  border-color: rgba(47, 125, 76, 0.26);
  background: #f3fbf5;
}

.admin-priority-card.is-ok .admin-priority-value {
  background: rgba(47, 125, 76, 0.12);
  color: #216b36;
}

.admin-kpi-grid {
  margin-top: 1rem;
}

.admin-kpi-grid .admin-stat-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-kpi-grid .admin-stat-card strong {
  order: 2;
  min-width: 52px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--brand);
  font-size: 22px;
}

.admin-kpi-grid .admin-stat-card span {
  display: block;
  color: var(--text-main);
  font-weight: 800;
}

.admin-stat-card small {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 12px;
}

.admin-command-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-subtle, 0 12px 28px rgba(74, 16, 28, 0.06));
}

.admin-command-card strong {
  display: block;
  color: var(--text-main);
  font-size: 16px;
}

.admin-command-card small {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.admin-overview-panel {
  padding: 1rem;
}

.admin-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.admin-panel-head a {
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.admin-mini-list {
  display: grid;
  gap: 0.55rem;
}

.admin-mini-list a {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
  background: var(--surface-soft);
}

.admin-mini-list span,
.admin-mini-list em {
  color: var(--text-muted);
  font-size: 12px;
  font-style: normal;
}

.admin-photo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.admin-photo-strip img {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.admin-health-panel {
  background:
    radial-gradient(circle at 100% 0%, rgba(149, 24, 43, 0.09), transparent 18rem),
    rgba(255, 255, 255, 0.78);
}

.admin-health-list {
  display: grid;
  gap: 0.65rem;
}

.admin-health-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-soft);
}

.admin-health-list span {
  color: var(--text-muted);
  font-size: 13px;
}

.admin-health-list strong {
  color: var(--brand);
  font-size: 18px;
}

.admin-production-page {
  max-width: 1240px;
}

.admin-production-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch;
  padding: clamp(1.35rem, 4vw, 2.7rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background:
    radial-gradient(circle at 82% 10%, rgba(101, 58, 131, 0.16), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), var(--surface-soft));
  box-shadow: var(--shadow-soft);
}

.admin-production-hero .section-title {
  margin-bottom: 0.75rem;
}

.admin-production-hero p {
  max-width: 760px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

.production-score {
  display: grid;
  align-content: center;
  gap: 0.7rem;
  padding: 1.25rem;
  border: 1px solid rgba(149, 24, 43, 0.18);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.78);
}

.production-score strong {
  color: var(--brand);
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 64px);
  line-height: 1;
}

.production-score span {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 900;
}

.production-score-bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(149, 24, 43, 0.12);
}

.production-score-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), #d85a76);
}

.production-focus-grid,
.production-log-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.production-focus-card {
  display: grid;
  gap: 0.35rem;
  min-height: 134px;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  color: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-subtle, 0 12px 28px rgba(74, 16, 28, 0.06));
}

.production-focus-card span,
.production-focus-card small {
  color: var(--text-muted);
}

.production-focus-card span {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.production-focus-card strong {
  color: var(--brand);
  font-size: 30px;
  line-height: 1.05;
}

.production-focus-card small {
  align-self: end;
  line-height: 1.45;
}

.production-focus-card.is-ok {
  border-color: rgba(47, 125, 76, 0.24);
  background: #f5fbf6;
}

.production-focus-card.is-warning {
  border-color: rgba(208, 145, 42, 0.34);
  background: #fff9eb;
}

.production-focus-card.is-danger {
  border-color: rgba(149, 24, 43, 0.32);
  background: #fff3f5;
}

.production-overview-grid {
  margin-top: 1rem;
}

.production-panel {
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-subtle, 0 12px 28px rgba(74, 16, 28, 0.06));
}

.production-panel-wide {
  grid-column: span 2;
}

.production-check-list,
.production-file-list,
.production-provider-list,
.production-subscription-table,
.production-log-lines {
  display: grid;
  gap: 0.65rem;
}

.production-check-row,
.production-file-list article,
.production-provider-list article,
.production-subscription-table a {
  display: grid;
  gap: 0.5rem;
  padding: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  background: var(--surface-soft);
}

.production-check-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.production-check-row strong,
.production-file-list strong,
.production-provider-list strong,
.production-subscription-table strong {
  color: var(--text-main);
}

.production-check-row p,
.production-file-list p,
.production-provider-list p,
.production-subscription-table small,
.production-subscription-table span,
.production-log-date {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.production-check-row > span,
.production-file-list article > span,
.production-provider-list article > span {
  display: inline-flex;
  justify-content: center;
  width: fit-content;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.production-check-row.is-ok > span,
.production-file-list article.is-ok > span,
.production-provider-list article.is-ok > span {
  background: rgba(47, 125, 76, 0.12);
  color: #216b36;
}

.production-check-row.is-warning > span,
.production-file-list article.is-warning > span,
.production-provider-list article.is-warning > span {
  background: rgba(208, 145, 42, 0.13);
  color: #8a5311;
}

.production-provider-list article.is-danger > span {
  background: rgba(149, 24, 43, 0.12);
  color: var(--brand);
}

.production-file-list code,
.production-panel code,
.production-log-lines code {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  padding: 0.22rem 0.45rem;
  border-radius: 8px;
  color: var(--brand);
  background: rgba(149, 24, 43, 0.08);
  overflow-wrap: anywhere;
}

.production-file-list article.is-muted > span {
  background: rgba(82, 54, 65, 0.08);
  color: var(--text-muted);
}

.production-subscription-table a {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.8fr) minmax(0, 1fr);
  align-items: center;
}

.production-next-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.production-log-card {
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-subtle, 0 12px 28px rgba(74, 16, 28, 0.06));
}

.production-log-card .admin-panel-head {
  align-items: flex-start;
}

.production-log-card h2 {
  margin-bottom: 0.25rem;
}

.production-log-card .admin-panel-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}

.production-log-lines {
  margin-top: 0.75rem;
}

.production-log-lines code {
  width: 100%;
  font-size: 12px;
}

.admin-age-page {
  max-width: 1240px;
}

.admin-age-page .admin-kpi-grid {
  margin-bottom: 1.25rem;
}

.admin-age-page .admin-report-toolbar {
  position: relative;
  z-index: 1;
  margin: 1.15rem 0 1.25rem;
}

.kyc-admin-note {
  display: grid;
  gap: 0.45rem;
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid rgba(101, 58, 131, 0.18);
  border-radius: var(--radius-card);
  background:
    radial-gradient(circle at 96% 0%, rgba(101, 58, 131, 0.12), transparent 18rem),
    rgba(255, 255, 255, 0.82);
}

.kyc-admin-note strong {
  color: var(--text-main);
}

.kyc-admin-note span {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.kyc-admin-note code,
.kyc-admin-card code {
  width: fit-content;
  max-width: 100%;
  padding: 0.2rem 0.45rem;
  border-radius: 8px;
  color: var(--brand);
  background: rgba(149, 24, 43, 0.08);
  overflow-wrap: anywhere;
}

.kyc-admin-card .admin-report-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
}

.kyc-admin-status-stack,
.kyc-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.kyc-admin-status-stack {
  justify-content: flex-end;
}

.kyc-admin-status-stack small {
  width: 100%;
  color: var(--text-muted);
  font-size: 12px;
  text-align: right;
}

.kyc-admin-actions {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
}

.intime-verification-next {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid rgba(224, 103, 143, 0.42);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.08);
}

.intime-verification-next strong {
  color: var(--intime-text);
}

.intime-verification-next p {
  margin: 0;
}

.admin-command-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.12), transparent 24rem),
    var(--brand);
  border-top: 0;
}

.footer-logo,
.footer-column strong {
  color: var(--brand);
}

.footer-brand p {
  color: #6a404b;
}

.index-cta .index-cta-title {
  color: #fdf4f5;
}

.index-cta .index-cta-sub {
  color: #f2c5cc;
}

@media (max-width: 640px) {
  .sortie-option-grid {
    grid-template-columns: 1fr;
  }

  .sortie-experience-tags,
  .sortie-info-row {
    gap: 0.35rem;
  }

  .sortie-lieu-public {
    align-self: stretch;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 0.9rem 1rem;
  }

  .nav-links {
    background: rgba(251, 247, 247, 0.98);
  }

  .flash-popup {
    left: 1rem;
    right: 1rem;
    top: 5rem;
    width: auto;
  }

  .section {
    padding-top: 1.75rem;
  }

  .public-profile {
    grid-template-columns: 1fr;
  }

  .public-profile-highlights {
    grid-template-columns: 1fr;
  }

  .public-assurance-grid {
    grid-template-columns: 1fr;
  }

  .public-profile-actions,
  .public-profile-actions a {
    width: 100%;
  }

  .onboarding-grid,
  .settings-hero,
  .settings-status-grid,
  .settings-layout,
  .settings-link-grid,
  .settings-danger,
  .people-hero,
  .people-hero-stats,
  .people-filters,
  .legal-grid,
  .admin-overview-grid,
  .admin-priority-grid,
  .admin-command-grid,
  .admin-dashboard-hero,
  .admin-production-hero,
  .production-focus-grid,
  .production-log-grid {
    grid-template-columns: 1fr;
  }

  .settings-side {
    position: static;
  }

  .settings-hero {
    padding: 1.35rem;
  }

  .settings-hero .section-title {
    font-size: clamp(38px, 14vw, 58px);
  }

  .settings-status-grid {
    gap: 0.65rem;
  }

  .settings-link {
    min-height: auto;
  }

  .settings-link-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .production-panel-wide {
    grid-column: auto;
  }

  .production-subscription-table a,
  .production-check-row,
  .kyc-admin-card .admin-report-main {
    grid-template-columns: 1fr;
  }

  .kyc-admin-status-stack {
    justify-content: flex-start;
  }

  .kyc-admin-status-stack small {
    text-align: left;
  }

  .admin-todo-score {
    min-width: 0;
    min-height: 110px;
  }

  .onboarding-step,
  .admin-mini-list a {
    grid-template-columns: 1fr;
  }

  .discovery-tabs {
    width: auto;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    box-shadow: none;
  }
}
