@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700&family=Barlow:wght@400;500;600&display=swap");

/* ============================================================
   CSS VARIABLES & RESET
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red: #c41e1e;
  --red-dark: #8b1414;
  --red-soft: #1a0000;
  --gold: #d4a017;
  --gold-soft: #2a1a00;
  --bg: #0a0a0a;
  --surface: #141414;
  --surface2: #1e1e1e;
  --surface3: #262626;
  --border: #2a2a2a;
  --border2: #333;
  --text: #f0ede8;
  --text2: #c8c4be;
  --muted: #9e9e9e;
  --muted2: #666;
  --step-done: #2e7d32;
  --blue: #7b9ff0;
  --teal: #4dbdbd;
  --green: #5dbd5d;

  /* Session type colors */
  --type-conference: #c41e1e;
  --type-panel: #7b9ff0;
  --type-masterclass: #d4a017;
  --type-networking: #4dbdbd;
  --type-b2b: #9b59b6;
  --type-ceremonie: #e67e22;
  --type-accueil: #5dbd5d;
  --type-pause: #555;
}

body {
  font-family: "Barlow", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  font-size: 16px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(196, 30, 30, 0.12) 0,
      rgba(10, 10, 10, 0) 360px
    ),
    linear-gradient(90deg, rgba(212, 160, 23, 0.05), rgba(77, 189, 189, 0.04));
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--surface);
}
::-webkit-scrollbar-thumb {
  background: var(--border2);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--muted2);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  height: 58px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-logo {
  width: 46px;
  height: 46px;
  background: transparent;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  overflow: hidden;
  /* Fallback text style if image fails */
  font-family: "Barlow Condensed", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.nav-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.nav-title {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.nav-event {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.5px;
}
.nav-date {
  font-size: 12px;
  color: var(--muted);
}
.nav-links {
  margin-left: auto;
  display: flex;
  gap: 4px;
}
.nav-link {
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: all 0.2s;
}
.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  margin-left: auto;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 20px;
  border-top: 1px solid var(--border);
}
.nav-mobile.open {
  display: flex;
}
.nav-mobile .nav-link {
  padding: 10px 14px;
  width: 100%;
}

/* ============================================================
   MAIN APP CONTAINER
   ============================================================ */
#app {
  max-width: 860px;
  margin: 0 auto;
  padding: 28px 20px 80px;
}
.page-wide {
  max-width: 1100px !important;
  padding-left: 20px;
  padding-right: 20px;
}
.registration-app {
  max-width: 1100px !important;
}

/* ============================================================
   REGISTRATION INTRO
   ============================================================ */
.registration-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(200px, 340px);
  align-items: stretch;
  gap: 22px;
  margin: 8px 0 18px;
}
.registration-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 270px;
  padding: 32px 0;
}
.registration-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}
.registration-copy h1 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 72px;
  line-height: 0.95;
  color: #fff;
  letter-spacing: 0;
}
.registration-copy p {
  max-width: 560px;
  margin-top: 14px;
  color: var(--text2);
  font-size: 18px;
  line-height: 1.45;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.hero-stats span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text2);
  font-size: 16px;
}
.hero-stats strong {
  color: #fff;
  font-size: 19px;
}
.registration-visual {
  min-height: 270px;
  max-height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}
.registration-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 36%;
}
.expo-strip {
  display: grid;
  grid-template-columns: minmax(250px, 0.85fr) 1.15fr;
  gap: 18px;
  margin: 0 0 24px;
  padding: 18px 0 22px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.expo-intro h2 {
  max-width: 430px;
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 25px;
  line-height: 1.08;
  letter-spacing: 0;
}
.expo-intro p {
  max-width: 470px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
}
.pavilion-list {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 9px;
}
.pavilion-list span,
.objective-list span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text2);
  font-size: 16px;
}
.objective-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}
.objective-list span {
  min-height: 48px;
  border-color: rgba(212, 160, 23, 0.28);
  background: rgba(212, 160, 23, 0.06);
  color: var(--text);
}

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-hdr {
  margin-bottom: 32px;
}
.page-hdr h1 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.page-hdr p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

/* ============================================================
   STEPS INDICATOR
   ============================================================ */
.steps {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
}
.step {
  display: flex;
  align-items: center;
  flex: 1;
}
.step-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  flex-shrink: 0;
  transition: all 0.3s;
  background: var(--surface);
}
.step.active .step-dot {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-soft);
}
.step.done .step-dot {
  border-color: var(--step-done);
  background: var(--step-done);
  color: #fff;
}
.step-label {
  font-size: 11px;
  color: var(--muted);
  margin-left: 8px;
  white-space: nowrap;
  display: none;
}
.step.active .step-label {
  color: var(--text);
  display: block;
}
.step-line {
  flex: 1;
  height: 1px;
  background: var(--border);
  margin: 0 8px;
}
.step.done .step-line {
  background: var(--step-done);
}

.registration-app .steps {
  max-width: 1100px;
  margin: 0 auto 22px;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(20, 20, 20, 0.78);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.registration-app .step {
  min-width: 0;
  justify-content: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 7px;
}
.registration-app .step.active {
  background: rgba(196, 30, 30, 0.16);
}
.registration-app .step.done {
  background: rgba(46, 125, 50, 0.14);
}
.registration-app .step-dot {
  width: 28px;
  height: 28px;
  border-width: 1px;
  background: var(--surface2);
}
.registration-app .step-label {
  display: block;
  margin-left: 0;
  white-space: normal;
  font-size: 12px;
  line-height: 1.2;
}
.registration-app .step-line {
  display: none;
}

/* ============================================================
   FORM CARD
   ============================================================ */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 20px;
}
.registration-app .step-panel,
.registration-app #msg-area {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.registration-app .form-card {
  position: relative;
  overflow: hidden;
  padding: 28px 22px;
  border-color: rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    var(--surface);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.26);
}
.registration-app .form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--red), var(--gold));
}
.section-title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.section-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}
.registration-app .section-title {
  font-size: 26px;
  letter-spacing: 0;
}
.registration-app .section-sub {
  max-width: 680px;
  margin-bottom: 22px;
  color: rgba(240, 237, 232, 0.82);
}

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}
.field label .req {
  color: var(--red);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="date"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 10px 14px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-family: "Barlow", sans-serif;
  font-size: 15px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  -webkit-appearance: none;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(196, 30, 30, 0.1);
}
input::placeholder,
textarea::placeholder {
  color: var(--muted2);
}
input.error,
select.error,
textarea.error {
  border-color: var(--red) !important;
  background: var(--red-soft);
}
.registration-app input.error,
.registration-app select.error,
.registration-app textarea.error {
  animation: fieldShake 0.35s ease;
}
@keyframes fieldShake {
  0%,
  100% {
    transform: translateX(0);
  }
  20%,
  60% {
    transform: translateX(-4px);
  }
  40%,
  80% {
    transform: translateX(4px);
  }
}
.field-error-msg {
  display: block;
  font-size: 12px;
  color: var(--red);
  margin-top: 5px;
  padding-left: 2px;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
select option {
  background: #1e1e1e;
}
.registration-app select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23d4a017' stroke-width='1.5'/%3E%3C/svg%3E");
}
textarea {
  resize: vertical;
  min-height: 80px;
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.grid2c {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.grid3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.registration-app .field {
  margin-bottom: 20px;
}
.registration-app .field label {
  color: var(--text2);
  letter-spacing: 0;
  font-size: 13px;
  font-weight: 500;
  text-transform: none;
}
.registration-app input[type="text"],
.registration-app input[type="email"],
.registration-app input[type="tel"],
.registration-app input[type="password"],
.registration-app input[type="number"],
.registration-app input[type="date"],
.registration-app select,
.registration-app textarea {
  min-height: 46px;
  padding: 12px 14px;
  border-radius: 7px;
  border-color: rgba(255, 255, 255, 0.11);
  background-color: rgba(255, 255, 255, 0.055);
}
.registration-app textarea {
  min-height: 96px;
}
.registration-app input:focus,
.registration-app select:focus,
.registration-app textarea:focus {
  border-color: rgba(212, 160, 23, 0.75);
  box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.12);
}
.registration-app input::placeholder,
.registration-app textarea::placeholder {
  color: rgba(200, 196, 190, 0.48);
}
/* Icon focus highlight */
.input-icon-wrap:has(input:focus) .input-icon {
  color: var(--gold);
  opacity: 1;
}
/* Date picker — dark theme fix */
.registration-app input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
  opacity: 0.55;
}
.registration-app input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}
/* Section label spacing */
.registration-app .form-group-label {
  margin-top: 28px;
}
.registration-app .step-card-header + .form-group-label {
  margin-top: 8px;
}
/* Valid field — subtle green border when filled */
.registration-app input[type="text"]:not(:placeholder-shown):not(.error),
.registration-app input[type="email"]:not(:placeholder-shown):not(.error),
.registration-app input[type="tel"]:not(:placeholder-shown):not(.error) {
  border-color: rgba(93, 189, 93, 0.35);
}
/* Input focus brightens background slightly */
.registration-app input:focus,
.registration-app select:focus,
.registration-app textarea:focus {
  background-color: rgba(255, 255, 255, 0.085);
}

/* ============================================================
   CHECK / RADIO ITEMS
   ============================================================ */
.check-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: all 0.2s;
}
.check-item:hover {
  border-color: var(--red);
}
.check-item.selected {
  border-color: var(--red);
  background: var(--red-soft);
}
/* CGU / standalone checkbox: visual feedback without JS */
.check-item:has(input[type="checkbox"]:checked) {
  border-color: var(--red);
  background: var(--red-soft);
}

.check-item input[type="radio"],
.check-item input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 2px solid var(--border);
  border-radius: 3px;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  background: transparent;
  padding: 0;
  margin-top: 2px;
}
.check-item input[type="radio"] {
  border-radius: 50%;
}
.check-item input:checked {
  background: var(--red);
  border-color: var(--red);
}
.check-item input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  top: -1px;
  left: 2px;
  font-size: 12px;
  color: #fff;
  font-weight: 700;
}
.check-item input[type="radio"]:checked::after {
  content: "";
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
}
.check-label {
  font-size: 14px;
  color: var(--text);
  line-height: 1.3;
  padding-top: 1px;
}
.check-price {
  margin-left: auto;
  font-size: 16px;
  font-weight: 600;
  color: var(--gold);
}
.registration-app .check-group {
  gap: 12px;
}
.registration-app .check-item {
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 8px;
  border-color: rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.035);
  align-items: flex-start;
}
.registration-app .check-item:hover {
  border-color: rgba(212, 160, 23, 0.65);
  background: rgba(212, 160, 23, 0.055);
}
.registration-app .check-item.selected,
.registration-app .check-item:has(input:checked) {
  border-color: rgba(212, 160, 23, 0.95);
  background: rgba(212, 160, 23, 0.11);
  box-shadow:
    inset 0 0 0 1px rgba(212, 160, 23, 0.25),
    0 14px 34px rgba(0, 0, 0, 0.18);
}
.registration-app .check-item input:checked {
  background: var(--gold);
  border-color: var(--gold);
}
.registration-app .check-item input[type="radio"]:checked::after {
  width: 8px;
  height: 8px;
  top: 3px;
  left: 3px;
  background: #111;
}
.registration-app .check-label {
  line-height: 1.25;
  color: var(--text);
  font-weight: 700;
}

/* ============================================================
   TARIF TABLE
   ============================================================ */
.tarif-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 4px;
}
.tarif-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.tarif-table td {
  padding: 10px 12px;
  font-size: 16px;
  border-bottom: 1px solid #1a1a1a;
}
.tarif-table tr:hover td {
  background: var(--surface2);
}
.price-highlight {
  color: var(--gold);
  font-weight: 600;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-row {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 8px;
}
.btn {
  padding: 11px 28px;
  font-family: "Barlow", sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}
.btn-secondary {
  background: var(--surface2);
  color: var(--gold);
  border: 1px solid var(--gold-soft);
}
.btn-secondary:hover {
  background: var(--gold-soft);
  border-color: var(--gold);
}
.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--red);
  color: var(--red);
}
.btn-gold {
  background: var(--gold);
  color: #000;
}
.btn-gold:hover {
  opacity: 0.85;
}
.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
}
.registration-app .btn-row {
  max-width: 1100px;
  margin: 4px auto 0;
}
.registration-app .btn {
  min-height: 44px;
  border-radius: 7px;
}
.registration-app .btn-primary {
  box-shadow: 0 14px 30px rgba(196, 30, 30, 0.22);
}
.registration-app .btn-ghost {
  background: rgba(255, 255, 255, 0.03);
}
.registration-app .btn-sm {
  border-radius: 7px;
}
.btn-sm {
  padding: 7px 16px;
  font-size: 12px;
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--muted);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  line-height: 1;
  white-space: nowrap;
}
.btn-sm:hover {
  border-color: var(--red);
  color: var(--red);
}
.btn-sm.danger {
  border-color: #5a0000;
  color: #f06060;
}
.btn-sm.danger:hover {
  background: var(--red-soft);
}
.btn-sm.success {
  border-color: #1a5a1a;
  color: #60f060;
}

/* Status badges */
.status-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.status-pending {
  background: #1a1400;
  color: #d4a017;
  border: 1px solid #3a3000;
}
.status-confirmed {
  background: #001a00;
  color: #60d060;
  border: 1px solid #1a3a1a;
}
.status-cancelled {
  background: #1a0000;
  color: #f06060;
  border: 1px solid #5a0000;
}

/* Status select in admin table */
.status-select {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 11px;
  font-family: "Barlow", sans-serif;
  border-radius: 3px;
  padding: 3px 6px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.status-select:hover,
.status-select:focus {
  border-color: var(--gold);
  outline: none;
}

/* ============================================================
   MESSAGES
   ============================================================ */
.msg {
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 16px;
  margin-bottom: 16px;
  animation: fadeIn 0.3s ease;
}
.msg.err {
  background: var(--red-soft);
  border: 1px solid #5a0000;
  color: #f08080;
}
.msg.ok {
  background: #001a00;
  border: 1px solid #003a00;
  color: #80f080;
}
.msg.info {
  background: #001230;
  border: 1px solid #002a70;
  color: #80a0f0;
}

/* ============================================================
   SUCCESS BOX
   ============================================================ */
.success-box {
  text-align: center;
  padding: 42px 20px;
}
.success-box .ref-label {
  margin: 8px 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text2);
}
.success-icon {
  width: 70px;
  height: 70px;
  background: #1a3a1a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 32px;
  animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.success-box h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}
.success-box p {
  color: var(--text2);
  font-size: 14px;
  max-width: 480px;
  margin: 0 auto 18px;
}
.ref-badge {
  display: inline-block;
  min-width: 240px;
  background: linear-gradient(180deg, rgba(212, 160, 23, 0.12), rgba(212, 160, 23, 0.04));
  border: 1px solid rgba(212, 160, 23, 0.55);
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2.8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}
.ref-badge:empty {
  display: none;
}

/* ============================================================
   QR CODE
   ============================================================ */
.qr-wrap {
  margin: 18px auto 14px;
  width: 220px;
  height: 220px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(212, 160, 23, 0.28);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 18px 44px rgba(0, 0, 0, 0.22);
}
.qr-wrap #qr-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.qr-wrap #qr-container.qr-placeholder {
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(248, 244, 236, 0.96));
}
.qr-wrap #qr-container.qr-placeholder span {
  max-width: 150px;
  color: #585147;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
.qr-wrap canvas,
.qr-wrap img {
  display: block;
  width: 198px;
  height: 198px;
  image-rendering: pixelated;
}
.qr-fallback {
  display: grid;
  place-items: center;
  width: 198px;
  height: 198px;
  color: #111;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}
.qr-url {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: min(100%, 520px);
  margin: 0 auto 12px;
  padding: 10px 14px;
  border: 1px solid rgba(212, 160, 23, 0.24);
  border-radius: 8px;
  background: rgba(212, 160, 23, 0.08);
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-decoration: none;
}
.qr-url[href="#"],
.qr-url:not([href]) {
  display: none;
}
.qr-url:hover {
  color: var(--text);
  text-decoration: underline;
}
.qr-help {
  font-size: 12px;
  color: var(--text2);
  margin-bottom: 20px;
}
.success-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  width: min(100%, 680px);
  margin: 0 auto;
}
.success-actions .btn {
  justify-content: center;
  min-width: 0;
  width: 100%;
  min-height: 48px;
  padding-left: 14px;
  padding-right: 14px;
  text-align: center;
  white-space: normal;
  line-height: 1.3;
}

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.badge-exp {
  background: var(--gold-soft);
  color: var(--gold);
  border: 1px solid #3a3000;
}
.badge-spo {
  background: #0a0a2a;
  color: var(--blue);
  border: 1px solid #1a2050;
}
.badge-int {
  background: #001a1a;
  color: var(--teal);
  border: 1px solid #003333;
}
.badge-vis {
  background: #0a1a0a;
  color: var(--green);
  border: 1px solid #1a3a1a;
}
.badge-pending {
  background: var(--gold-soft);
  color: var(--gold);
  border: 1px solid #3a3000;
}
.badge-approved {
  background: #001a00;
  color: var(--green);
  border: 1px solid #1a3a1a;
}

/* ============================================================
   SESSION TYPE BADGES (Programme)
   ============================================================ */
.type-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.type-conference {
  background: rgba(196, 30, 30, 0.15);
  color: #e05050;
  border: 1px solid rgba(196, 30, 30, 0.3);
}
.type-panel {
  background: rgba(123, 159, 240, 0.15);
  color: #8bb0ff;
  border: 1px solid rgba(123, 159, 240, 0.3);
}
.type-masterclass {
  background: rgba(212, 160, 23, 0.15);
  color: #e6b530;
  border: 1px solid rgba(212, 160, 23, 0.3);
}
.type-networking {
  background: rgba(77, 189, 189, 0.15);
  color: #5dcfcf;
  border: 1px solid rgba(77, 189, 189, 0.3);
}
.type-b2b {
  background: rgba(155, 89, 182, 0.15);
  color: #b07ad0;
  border: 1px solid rgba(155, 89, 182, 0.3);
}
.type-ceremonie {
  background: rgba(230, 126, 34, 0.15);
  color: #f09040;
  border: 1px solid rgba(230, 126, 34, 0.3);
}
.type-accueil {
  background: rgba(93, 189, 93, 0.15);
  color: #7dd07d;
  border: 1px solid rgba(93, 189, 93, 0.3);
}
.type-pause {
  background: rgba(85, 85, 85, 0.15);
  color: #888;
  border: 1px solid rgba(85, 85, 85, 0.3);
}

/* ============================================================
   ADMIN
   ============================================================ */
.admin-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.admin-bar h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 22px;
  font-weight: 700;
  flex: 1;
  min-width: 120px;
}
.stat-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pill {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 12px;
}
.pill span {
  color: var(--red);
  font-weight: 600;
}

/* Filter bar */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.filter-btn {
  padding: 5px 14px;
  font-size: 12px;
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  border-radius: 20px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--muted);
  transition: all 0.2s;
}
.filter-btn:hover {
  border-color: var(--red);
  color: var(--text);
}
.filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* Pagination */
#pagination .active-page {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat-card .sc-icon {
  font-size: 18px;
  margin-bottom: 2px;
}
.stat-card .sc-val {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.stat-card .sc-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}
.stat-card .sc-accent {
  color: var(--red);
}
.stat-card .sc-gold {
  color: var(--gold);
}
.stat-card .sc-blue {
  color: var(--blue);
}
.stat-card .sc-green {
  color: var(--green);
}

.search-inp {
  flex: 1;
  max-width: 280px;
  padding: 7px 12px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-size: 13px;
  font-family: "Barlow", sans-serif;
  height: 34px;
  line-height: 1;
}
.search-inp:focus {
  outline: none;
  border-color: var(--red);
}

.admin-table-wrap {
  overflow-x: auto;
}
table.reg {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
table.reg th {
  background: var(--surface2);
  padding: 10px 12px;
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}
table.reg th:hover {
  color: var(--text);
}
table.reg td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
table.reg tr:hover td {
  background: var(--surface2);
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}
.empty-state p {
  font-size: 14px;
}

/* ============================================================
   PROGRAMME PAGE
   ============================================================ */
.day-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.day-tab {
  padding: 8px 20px;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  background: var(--surface);
  color: var(--muted);
  transition: all 0.2s;
  font-family: "Barlow", sans-serif;
}
.day-tab:hover {
  border-color: var(--red);
  color: var(--text);
}
.day-tab.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.filter-btn {
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  transition: all 0.2s;
  font-family: "Barlow", sans-serif;
}
.filter-btn:hover {
  border-color: var(--text);
  color: var(--text);
}
.filter-btn.active {
  background: var(--surface2);
  border-color: var(--border2);
  color: var(--text);
}

.timeline {
  position: relative;
  padding-left: 24px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.session-card {
  position: relative;
  margin-bottom: 16px;
  animation: fadeInUp 0.4s ease both;
}
.session-card::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg);
}
.session-card.type-conference::before {
  border-color: var(--type-conference);
  background: var(--type-conference);
}
.session-card.type-panel::before {
  border-color: var(--type-panel);
  background: var(--type-panel);
}
.session-card.type-masterclass::before {
  border-color: var(--type-masterclass);
  background: var(--type-masterclass);
}
.session-card.type-networking::before {
  border-color: var(--type-networking);
  background: var(--type-networking);
}
.session-card.type-b2b::before {
  border-color: var(--type-b2b);
  background: var(--type-b2b);
}
.session-card.type-ceremonie::before {
  border-color: var(--type-ceremonie);
  background: var(--type-ceremonie);
}
.session-card.type-accueil::before {
  border-color: var(--type-accueil);
  background: var(--type-accueil);
}
.session-card.type-pause::before {
  border-color: var(--type-pause);
  background: var(--type-pause);
}

.session-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  cursor: pointer;
  transition: all 0.2s;
}
.session-inner:hover {
  border-color: var(--border2);
  background: var(--surface2);
}
.session-inner.expanded {
  border-color: var(--border2);
}

.session-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.session-time {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  min-width: 100px;
  line-height: 1.3;
  flex-shrink: 0;
}
.session-time .end-time {
  font-weight: 400;
  color: var(--muted2);
  font-size: 12px;
}
.session-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  flex: 1;
}
.session-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.session-location {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.session-expand-btn {
  margin-left: auto;
  font-size: 18px;
  color: var(--muted);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.session-inner.expanded .session-expand-btn {
  transform: rotate(180deg);
}

.session-details {
  display: none;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-top: 14px;
}
.session-inner.expanded .session-details {
  display: block;
}
.session-desc {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 12px;
}
.speakers-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.speaker-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.speaker-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--red);
  flex-shrink: 0;
}
.speaker-info {
  line-height: 1.3;
}
.speaker-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.speaker-role {
  font-size: 12px;
  color: var(--muted);
}

/* Day header */
.day-header {
  margin-bottom: 24px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.day-header h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 24px;
  font-weight: 700;
}
.day-theme {
  font-size: 16px;
  color: var(--gold);
  font-style: italic;
}

/* ============================================================
   NETWORKING SECTION
   ============================================================ */
.participant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.participant-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.2s;
}
.participant-card:hover {
  border-color: var(--border2);
}
.p-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--red);
  flex-shrink: 0;
}
.p-info {
  overflow: hidden;
}
.p-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.p-org {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.fade-in {
  animation: fadeIn 0.3s ease;
}
.fade-in-up {
  animation: fadeInUp 0.4s ease;
}

.step-panel {
  display: none;
}
.step-panel.active {
  display: block;
  animation: fadeInUp 0.35s ease;
}
.hidden {
  display: none !important;
}
.view {
  display: none;
}
.view.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* Loading spinner */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
}

/* ============================================================
   ADMIN TOAST
   ============================================================ */
#admin-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: var(--surface3, #262626);
  border: 1px solid var(--border, #2a2a2a);
  color: var(--text, #f0ede8);
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-family: 'Barlow', sans-serif;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  pointer-events: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s, transform 0.25s;
  max-width: 320px;
}
#admin-toast.admin-toast-show {
  opacity: 1;
  transform: translateY(0);
}
#admin-toast.admin-toast-ok   { border-left: 3px solid #4caf50; }
#admin-toast.admin-toast-warn { border-left: 3px solid var(--gold, #d4a017); }
#admin-toast.admin-toast-err  { border-left: 3px solid var(--red, #c41e1e); }

/* ============================================================
   ADMIN TABLE — EDITING ROW HIGHLIGHT
   ============================================================ */
tr.editing > td {
  background: var(--gold-soft, #2a1a00);
  border-top: 1px solid var(--gold, #d4a017);
  border-bottom: 1px solid var(--gold, #d4a017);
}

/* ============================================================
   CONFIRM MODAL DANGER BUTTON
   ============================================================ */
.btn.btn-danger {
  background: var(--red, #c41e1e);
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}
.btn.btn-danger:hover { background: #a31919; }

/* ============================================================
   STATUS DOT in filter buttons
   ============================================================ */
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
}
.status-dot.pending   { background: #d4a017; }
.status-dot.confirmed { background: #60d060; }
.status-dot.cancelled { background: #f06060; }

/* ============================================================
   STATUS-SELECT colored variant
   ============================================================ */
.status-select-confirmed { border-color: #2a5a2a !important; color: #60d060 !important; }
.status-select-cancelled { border-color: #5a1a1a !important; color: #f06060 !important; }
.status-select-pending   { border-color: #3a3000 !important; color: #d4a017 !important; }


/* ============================================================
   CONTACT FOOTER BOX
   ============================================================ */
.contact-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.contact-box strong {
  color: var(--text);
  display: block;
  margin-bottom: 6px;
}

/* ============================================================
   RECAP BOX
   ============================================================ */
.recap-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.recap-box {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 18px;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.9;
}
.recap-row {
  display: flex;
  gap: 12px;
  padding: 4px 0;
  border-bottom: 1px solid #1a1a1a;
}
.recap-key {
  color: var(--muted);
  min-width: 180px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  flex-shrink: 0;
}
.recap-val {
  color: var(--text);
}

/* ============================================================
   REDESIGNED FORM UX ELEMENTS
   ============================================================ */

/* Step card header */
.step-card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.step-num-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(196, 30, 30, 0.35);
}
.step-num-badge.step-final {
  background: linear-gradient(135deg, var(--red), var(--gold));
  font-size: 16px;
}
.pay-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 1px solid rgba(212, 160, 23, 0.3);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.step-card-header > div:not(.step-num-badge):not(.pay-icon-badge) {
  flex: 1;
  min-width: 0;
}
.step-card-header .section-title {
  margin-bottom: 2px;
}
.step-card-header .section-sub {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}
.demo-btn {
  margin-left: auto;
  align-self: center;
  flex-shrink: 0;
}

/* Section group labels */
.form-group-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 12px;
  padding: 0 0 6px;
  border-bottom: 1px solid var(--border);
}

/* Input with icon */
.input-icon-wrap {
  position: relative;
}
.input-icon-wrap .input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  pointer-events: none;
  opacity: 0.7;
  z-index: 1;
}
.input-icon-wrap input {
  padding-left: 36px !important;
}

/* Hint label */
.hint-label {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted2);
  text-transform: none;
  letter-spacing: 0;
  margin-left: 4px;
}

/* Next button enhancement */
.btn-next .btn-arrow {
  display: inline-block;
  transition: transform 0.2s;
}
.btn-next:hover .btn-arrow {
  transform: translateX(4px);
}

/* Submit button */
.btn-submit {
  background: linear-gradient(135deg, var(--red), #9b1111) !important;
  padding: 13px 32px !important;
  font-size: 15px !important;
  letter-spacing: 0.3px;
  box-shadow: 0 16px 36px rgba(196, 30, 30, 0.35) !important;
}
.btn-submit .submit-icon {
  width: 22px;
  height: 22px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

/* Tarif accordion */
.tarif-accordion {
  margin-top: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface2);
}
.tarif-accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--text2);
  list-style: none;
  user-select: none;
  transition: background 0.15s;
}
.tarif-accordion-trigger:hover {
  background: var(--surface3);
}
.tarif-accordion-trigger::-webkit-details-marker {
  display: none;
}
.accordion-chevron {
  font-size: 20px;
  color: var(--muted);
  transition: transform 0.2s;
  line-height: 1;
}
details[open] .accordion-chevron {
  transform: rotate(90deg);
}
.tarif-accordion-body {
  padding: 16px;
  border-top: 1px solid var(--border);
}
.tarif-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
  text-align: center;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* Tarif badges */
.tarif-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.tarif-exposant {
  background: rgba(212, 160, 23, 0.15);
  color: var(--gold);
  border: 1px solid rgba(212, 160, 23, 0.25);
}
.tarif-silver {
  background: rgba(200, 200, 200, 0.12);
  color: #c0c0c0;
  border: 1px solid rgba(200, 200, 200, 0.2);
}
.tarif-gold {
  background: rgba(212, 160, 23, 0.18);
  color: var(--gold);
  border: 1px solid rgba(212, 160, 23, 0.3);
}
.tarif-platinum {
  background: rgba(196, 30, 30, 0.15);
  color: #e05050;
  border: 1px solid rgba(196, 30, 30, 0.25);
}
.tarif-platinum-row td {
  background: rgba(196, 30, 30, 0.04);
}

/* Stand items (richer layout) */
.stand-item {
  align-items: flex-start !important;
  padding: 14px 16px !important;
}
.stand-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}
.stand-detail {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.3;
}
.registration-app .check-item.stand-item .check-label {
  font-size: 14px;
  font-weight: 600;
}

/* Sponsor grid & items */
.sponsor-grid {
  gap: 10px !important;
}
.sponsor-item {
  align-items: flex-start !important;
  padding: 14px 16px !important;
  gap: 12px !important;
}
.sponsor-badge-wrap {
  flex-shrink: 0;
}
.sponsor-medal {
  font-size: 22px;
  line-height: 1;
}
.sponsor-item.platinum.selected {
  border-color: rgba(196, 30, 30, 0.9) !important;
  background: rgba(196, 30, 30, 0.15) !important;
}
.sponsor-item.gold.selected {
  border-color: rgba(212, 160, 23, 0.85) !important;
  background: rgba(212, 160, 23, 0.1) !important;
}
.sponsor-item.silver.selected {
  border-color: rgba(200, 200, 200, 0.6) !important;
  background: rgba(200, 200, 200, 0.06) !important;
}

/* Sponsor options tiles */
.options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.option-tile {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.2s;
  min-height: 48px;
}
.option-tile input[type="checkbox"] {
  display: none;
}
.option-tile:hover {
  border-color: rgba(212, 160, 23, 0.65);
  background: rgba(212, 160, 23, 0.06);
}
.option-tile:has(input:checked) {
  border-color: var(--gold) !important;
  background: rgba(212, 160, 23, 0.12) !important;
  box-shadow: inset 0 0 0 1px rgba(212, 160, 23, 0.25);
}
.option-tile:has(input:checked)::after {
  content: "\2713";
  position: absolute;
  top: 10px;
  right: 12px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--gold);
  color: #111;
  font-size: 12px;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
}
.option-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  font-size: 19px;
  line-height: 1;
  color: var(--text2);
}
.option-name {
  min-width: 0;
  padding-right: 22px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(240, 237, 232, 0.9);
  line-height: 1.3;
}

/* Intervention type radios */
.interv-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  width: 28px;
  text-align: center;
}

/* B2B toggle */
.b2b-toggle {
  display: flex;
  gap: 10px;
}
.b2b-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--text2);
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.2s;
  text-align: center;
  gap: 8px;
}
.b2b-btn input[type="radio"] {
  display: none;
}
.b2b-btn:hover {
  border-color: rgba(212, 160, 23, 0.65);
}
.b2b-btn.selected {
  border-color: rgba(196, 30, 30, 0.85);
  background: rgba(196, 30, 30, 0.15);
  color: var(--text);
}

.cgu-item {
  align-items: center !important;
  min-height: auto !important;
  padding: 14px 16px !important;
  gap: 12px !important;
}
.cgu-item .check-label {
  color: var(--text2) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}
.cgu-item:has(input:checked) .check-label {
  color: var(--text) !important;
}

/* Pay items */
.pay-group {
  gap: 10px !important;
}
.pay-item {
  align-items: flex-start !important;
  padding: 14px 16px !important;
}
.pay-icon-wrap {
  font-size: 22px;
  flex-shrink: 0;
}

#stand-group,
#interv-type-group,
.sponsor-grid,
.pay-group {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px !important;
}

.registration-app .check-item.stand-item,
.registration-app .check-item.sponsor-item,
.registration-app .check-item.pay-item,
#interv-type-group .check-item {
  position: relative;
  align-items: center !important;
  min-height: 82px;
  padding: 13px 16px !important;
  gap: 14px !important;
}

.registration-app .check-item.stand-item input[type="radio"],
.registration-app .check-item.sponsor-item input[type="radio"],
.registration-app .check-item.pay-item input[type="radio"],
#interv-type-group .check-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.registration-app .check-item.stand-item::before,
.registration-app .check-item.sponsor-item::before,
.registration-app .check-item.pay-item::before,
#interv-type-group .check-item::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(240, 237, 232, 0.42);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 3px rgba(10, 10, 10, 0.42);
}

.registration-app .check-item.stand-item.selected::after,
.registration-app .check-item.sponsor-item.selected::after,
.registration-app .check-item.pay-item.selected::after,
.registration-app .check-item.stand-item:has(input:checked)::after,
.registration-app .check-item.sponsor-item:has(input:checked)::after,
.registration-app .check-item.pay-item:has(input:checked)::after,
#interv-type-group .check-item.selected::after,
#interv-type-group .check-item:has(input:checked)::after {
  content: "\2713";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--gold);
  color: #111;
  font-size: 13px;
  font-weight: 800;
  line-height: 22px;
  text-align: center;
}

.registration-app .check-item.stand-item.selected::before,
.registration-app .check-item.sponsor-item.selected::before,
.registration-app .check-item.pay-item.selected::before,
.registration-app .check-item.stand-item:has(input:checked)::before,
.registration-app .check-item.sponsor-item:has(input:checked)::before,
.registration-app .check-item.pay-item:has(input:checked)::before,
#interv-type-group .check-item.selected::before,
#interv-type-group .check-item:has(input:checked)::before {
  opacity: 0;
}

.stand-detail {
  color: rgba(240, 237, 232, 0.74);
}

.check-price {
  align-self: center;
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(212, 160, 23, 0.1);
  border: 1px solid rgba(212, 160, 23, 0.2);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.sponsor-badge-wrap,
.pay-icon-wrap,
.interv-icon {
  width: 30px;
  color: var(--text2);
  text-align: center;
}
.registration-app .sponsor-item.platinum.selected,
.registration-app .sponsor-item.gold.selected,
.registration-app .sponsor-item.silver.selected {
  border-color: rgba(212, 160, 23, 0.95) !important;
  background: rgba(212, 160, 23, 0.11) !important;
}

/* Contact box grid */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 6px;
  font-size: 16px;
}
.contact-grid span {
  color: var(--text2);
}

/* Type card footer */
.type-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.registration-app .type-card-top .type-icon {
  margin-bottom: 0;
}
.type-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  width: 100%;
  gap: 8px;
}
.type-card.selected .type-card-footer {
  border-color: rgba(196, 30, 30, 0.3);
}
.type-select-btn {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface3);
  padding: 3px 10px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s;
}
.type-card.selected .type-select-btn {
  background: var(--red);
  color: #fff;
}
.registration-app .type-card {
  flex-direction: column;
  justify-content: space-between;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .grid2,
  .grid3 {
    grid-template-columns: 1fr;
  }
  .grid2c {
    grid-template-columns: 1fr 1fr;
  }
  .stat-cards {
    grid-template-columns: 1fr 1fr;
  }
  .form-card {
    padding: 18px 14px;
  }
  .btn-row {
    flex-wrap: wrap;
  }
  .session-time {
    min-width: 80px;
    font-size: 12px;
  }
  .admin-bar {
    gap: 8px;
  }
  .search-inp {
    max-width: 100%;
    width: 100%;
  }
  .day-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .options-grid {
    grid-template-columns: 1fr 1fr;
  }
  .b2b-toggle {
    flex-direction: row;
  }
  #stand-group,
  #interv-type-group,
  .sponsor-grid,
  .pay-group,
  .success-actions {
    grid-template-columns: 1fr;
  }
  .success-box {
    padding: 30px 10px;
  }
}
@media (max-width: 480px) {
  #app {
    padding: 16px 12px 60px;
  }
  .stat-cards {
    grid-template-columns: 1fr;
  }
  .grid2c {
    grid-template-columns: 1fr;
  }
  .session-top {
    flex-wrap: wrap;
  }
  .options-grid {
    grid-template-columns: 1fr;
  }
  .step-card-header {
    flex-wrap: wrap;
  }
  .qr-wrap {
    width: min(100%, 194px);
    height: 194px;
  }
  .qr-wrap canvas,
  .qr-wrap img,
  .qr-fallback {
    width: 172px;
    height: 172px;
  }
  .registration-app .check-item.stand-item,
  .registration-app .check-item.sponsor-item,
  .registration-app .check-item.pay-item,
  #interv-type-group .check-item {
    min-height: 76px;
  }
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 42px;
  height: 42px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.3s,
    transform 0.3s;
  pointer-events: none;
  z-index: 900;
  box-shadow: 0 4px 16px rgba(196, 30, 30, 0.35);
}
#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#back-to-top:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

/* ============================================================
   PRINT — Programme page
   ============================================================ */
@media print {
  /* Reset to light theme for printing */
  body {
    background: #fff !important;
    color: #111 !important;
  }

  /* Hide navigation, filters, back-to-top */
  .main-nav,
  .nav-mobile,
  .day-tabs,
  .filter-bar,
  .prog-search,
  #back-to-top,
  .plan-section,
  .btn,
  .btn-sm,
  .btn-row {
    display: none !important;
  }

  /* Programme header */
  .prog-header {
    background: #fff !important;
    border-bottom: 2px solid #c41e1e !important;
    color: #111 !important;
  }
  .prog-header h1 {
    color: #111 !important;
  }
  .prog-header .section-sub {
    color: #555 !important;
  }

  /* Day container */
  .day-container {
    page-break-before: always;
  }
  .day-container:first-child {
    page-break-before: avoid;
  }

  /* Session cards */
  .session-card {
    background: #fff !important;
    border: 1px solid #ccc !important;
    box-shadow: none !important;
    page-break-inside: avoid;
    margin-bottom: 8px !important;
  }
  .session-card:hover {
    transform: none !important;
  }

  /* Timeline */
  .timeline-line {
    background: #ccc !important;
  }
  .timeline-dot {
    background: #c41e1e !important;
  }

  /* Time */
  .session-time {
    color: #555 !important;
  }

  /* Badges */
  .type-badge {
    border: 1px solid #ccc !important;
    color: #333 !important;
    background: #f5f5f5 !important;
  }

  /* Speaker */
  .speaker-tag {
    background: #f5f5f5 !important;
    color: #333 !important;
    border: 1px solid #ddd !important;
  }

  /* Empty state */
  .empty-state {
    display: none;
  }

  /* Links */
  a {
    color: #111 !important;
    text-decoration: none !important;
  }

  /* Print header */
  @page {
    margin: 15mm 10mm;
    size: A4;
  }
}

/* ============================================================
   TYPE SELECTION CARDS — Step 2
   ============================================================ */
.type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 4px;
}
.type-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 18px 16px 14px;
  border: 2px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  background: var(--surface);
}
.type-card input[type="radio"] {
  display: none;
}
.type-card:hover {
  border-color: var(--red);
  background: var(--surface2);
}
.type-card.selected {
  border-color: var(--red);
  background: var(--red-soft);
}
.type-card.selected::after {
  content: "✓";
  position: absolute;
  top: 10px;
  right: 14px;
  width: 22px;
  height: 22px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.type-icon {
  font-size: 26px;
  line-height: 1;
  margin-bottom: 2px;
}
.type-name {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.3px;
}
.type-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.type-price {
  margin-top: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
}
.registration-app .type-grid {
  gap: 16px;
}
.registration-app .type-card {
  min-height: 132px;
  padding: 16px 16px 14px;
  border-radius: 8px;
  border-width: 1px;
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    var(--surface);
}
.registration-app .type-card:hover {
  border-color: rgba(212, 160, 23, 0.7);
  background: var(--surface2);
}
.registration-app .type-card.selected {
  border-color: rgba(212, 160, 23, 0.92);
  background: linear-gradient(180deg, rgba(212, 160, 23, 0.18), rgba(196, 30, 30, 0.1));
  box-shadow:
    inset 0 0 0 1px rgba(212, 160, 23, 0.2),
    0 18px 40px rgba(0, 0, 0, 0.2);
}
.registration-app .type-icon {
  font-size: 24px;
}
.registration-app .type-name {
  letter-spacing: 0;
}
.registration-app .type-desc {
  color: rgba(240, 237, 232, 0.76);
}
.registration-app .type-price {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(212, 160, 23, 0.08);
  border: 1px solid rgba(212, 160, 23, 0.2);
}

/* ============================================================
   TAG CHIPS — Secteurs d'intérêt
   ============================================================ */
.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  cursor: pointer;
  font-size: 16px;
  font-family: "Barlow", sans-serif;
  color: var(--muted);
  background: var(--surface2);
  user-select: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.tag-chip input[type="checkbox"] {
  display: none;
}
.tag-chip:hover {
  border-color: var(--red);
  color: var(--text);
  background: var(--surface);
}
.tag-chip.selected {
  border-color: var(--red);
  background: var(--red-soft);
  color: var(--text);
  font-weight: 600;
}
.registration-app .tag-chip {
  min-height: 36px;
  border-radius: 8px;
  color: var(--text2);
}
.registration-app .tag-chip:hover {
  border-color: rgba(212, 160, 23, 0.65);
}

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

@media (max-width: 760px) {
  .registration-hero,
  .expo-strip {
    grid-template-columns: 1fr;
  }
  .registration-copy {
    min-height: auto;
    padding: 14px 0 0;
  }
  .registration-copy h1 {
    font-size: 50px;
  }
  .registration-copy p {
    font-size: 16px;
  }
  .registration-visual {
    min-height: 210px;
  }
  .objective-list {
    grid-template-columns: 1fr 1fr;
  }
  .registration-app .steps {
    overflow-x: auto;
    justify-content: flex-start;
  }
  .registration-app .step {
    flex: 0 0 132px;
  }
  .registration-app .form-card {
    padding: 24px 20px;
  }
}

@media (max-width: 520px) {
  .hero-stats span,
  .pavilion-list span,
  .objective-list span {
    width: 100%;
  }
  .objective-list {
    grid-template-columns: 1fr;
  }
  .registration-copy h1 {
    font-size: 44px;
  }
  .registration-app .steps {
    padding: 6px;
  }
  .registration-app .step {
    flex-basis: 116px;
    padding: 8px;
  }
  .registration-app .step-label {
    font-size: 11px;
  }
  .registration-app .btn-row {
    justify-content: stretch;
  }
  .registration-app .btn-row .btn {
    justify-content: center;
    flex: 1 1 100%;
  }
}

/* ============================================================
   SITE FOOTER — all pages
   ============================================================ */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 36px 20px 24px;
  margin-top: 60px;
}
.site-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px 24px;
  align-items: start;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-brand img {
  height: 50px;
  width: 150px;
  filter: brightness(0.9);
}
.footer-brand-name {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
}
.footer-brand-date {
  font-size: 12px;
  color: var(--muted);
}
.footer-section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted2);
  margin-bottom: 12px;
}
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}
.footer-contact-list li {
  font-size: 13px;
  color: var(--text2);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact-list li i {
  width: 16px;
  color: var(--gold);
  flex-shrink: 0;
  font-size: 12px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}
.footer-links li a {
  font-size: 13px;
  color: var(--text2);
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links li a:hover {
  color: var(--gold);
}
.footer-links li a i {
  width: 14px;
  color: var(--muted2);
  font-size: 11px;
}
.footer-bottom {
  max-width: 1100px;
  margin: 24px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: var(--muted2);
}
.footer-bottom a {
  color: var(--muted);
  text-decoration: none;
}
.footer-bottom a:hover {
  color: var(--gold);
}
@media (max-width: 768px) {
  .site-footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 480px) {
  .site-footer-inner {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   LANDING PAGE — index.html
   ============================================================ */

/* ── HERO ──────────────────────────────────────────────────── */
.landing-hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: 5rem 1.5rem 4rem;
}

.landing-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.landing-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.landing-title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--text);
}

.landing-sub {
  font-size: 1.1rem;
  color: var(--text2);
  max-width: 48ch;
  line-height: 1.7;
}

.landing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.landing-meta i {
  color: var(--gold);
  margin-right: 0.35rem;
}

.landing-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.btn-large {
  padding: 0.85rem 2rem;
  font-size: 1.05rem;
}

.landing-visual {
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface2);
  border: 1px solid var(--border);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── STATS BAR ─────────────────────────────────────────────── */
.landing-stats {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
}

.landing-stats-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.stat-number {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── CONTENT SECTIONS ──────────────────────────────────────── */
.landing-section {
  padding: 5rem 1.5rem;
}

.landing-section-dark {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.landing-section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.landing-section-head {
  text-align: center;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.landing-section-head h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
}

.landing-section-head p {
  color: var(--text2);
  max-width: 62ch;
  line-height: 1.7;
}

/* ── PAVILION GRID ─────────────────────────────────────────── */
.pavilion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.pavilion-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  transition:
    border-color 0.2s,
    transform 0.2s;
}

.pavilion-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.pavilion-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-soft);
  border-radius: 50%;
  font-size: 1.4rem;
  color: var(--gold);
}

.pavilion-name {
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.4;
}

/* ── FORMAT GRID ───────────────────────────────────────────── */
.format-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.format-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition:
    border-color 0.2s,
    transform 0.2s;
}

.format-card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
}

.format-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red-soft);
  border-radius: 50%;
  font-size: 1.3rem;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.format-card h3 {
  font-size: 1rem;
  font-weight: 600;
}

.format-card p {
  font-size: 0.88rem;
  color: var(--text2);
  line-height: 1.5;
  flex: 1;
}

.format-price {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
  margin-top: auto;
}

/* ── OBJECTIVES GRID ───────────────────────────────────────── */
.objectives-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.objective-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: center;
  align-items: center;
  transition:
    border-color 0.2s,
    transform 0.2s;
}

.objective-card:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
}

.objective-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(77, 189, 189, 0.12);
  border-radius: 50%;
  font-size: 1.4rem;
  color: var(--teal);
}

.objective-card p {
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.5;
}

/* ── CTA FINAL ─────────────────────────────────────────────── */
.landing-cta-section {
  padding: 6rem 1.5rem;
  background: linear-gradient(
    135deg,
    var(--red-soft) 0%,
    var(--gold-soft) 100%
  );
  border-top: 1px solid var(--border);
}

.landing-cta-inner {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
}

.landing-cta-inner h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  text-transform: uppercase;
}

.landing-cta-inner p {
  color: var(--text2);
  font-size: 1rem;
}

.landing-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2rem;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 1rem;
}

.landing-contact i {
  color: var(--gold);
  margin-right: 0.4rem;
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .format-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .objectives-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pavilion-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .landing-hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .landing-visual {
    display: none;
  }
  .landing-stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .format-grid {
    grid-template-columns: 1fr;
  }
  .objectives-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pavilion-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .landing-stats-inner {
    grid-template-columns: 1fr 1fr;
  }
  .objectives-grid {
    grid-template-columns: 1fr;
  }
  .pavilion-grid {
    grid-template-columns: 1fr;
  }
}
