/* === EXPERT OPPORTUNITIES PAGE === */
.page-expert-opps * { box-sizing: border-box; }
.page-expert-opps {
  min-height: 100vh;
  background: #FFFFFF;
  font-family: 'Geist', system-ui, sans-serif;
  color: #1a1a1a;
}
.page-expert-opps button { cursor: pointer; border: none; background: none; font-family: inherit; }
.page-expert-opps a { text-decoration: none; color: inherit; }

.eo-main { max-width: 1380px; margin: 0 auto; padding: 0 32px 60px; }

/* === HERO === */
.eo-hero { padding: 48px 0 40px; text-align: center; position: relative; }
.eo-hero h1 {
  font-family: 'Geist',system-ui,sans-serif;
  font-size: 36px; font-weight: 700; line-height: 1.15; color: #1a1a1a;
}
.eo-hero h1 i { font-style: italic; color: #B8975A; font-weight: 400; }
.eo-hero-sub {
  font-size: 13px; color: #888; margin-top: 8px;
  max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.6;
}

/* Marquee */
.eo-marquee-wrap {
  margin-top: 24px; overflow: hidden; position: relative; height: 36px;
}
.eo-marquee-wrap::before, .eo-marquee-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2;
}
.eo-marquee-wrap::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.eo-marquee-wrap::after { right: 0; background: linear-gradient(-90deg, #fff, transparent); }
.eo-marquee-track {
  display: flex; gap: 10px;
  animation: eo-marquee 30s linear infinite;
  width: max-content;
}
@keyframes eo-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.eo-chip {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 100px;
  background: #fff; border: 1px solid rgba(0,0,0,.06);
  white-space: nowrap; flex-shrink: 0; transition: all .2s;
}
.eo-chip:hover { border-color: #B8975A; transform: scale(1.04); }
.eo-chip-icon { font-size: 15px; }
.eo-chip-text { font-size: 11px; font-weight: 600; color: #555; }

/* === SEARCH === */
.eo-search-section { margin-top: 24px; margin-bottom: 36px; }
.eo-search-bar {
  max-width: 600px; margin: 0 auto; display: flex; align-items: center; gap: 0;
  border: 1.5px solid rgba(0,0,0,.08); border-radius: 12px;
  overflow: hidden; background: #fff; transition: all .2s;
}
.eo-search-bar:focus-within {
  border-color: rgba(184,151,90,.4);
  box-shadow: 0 0 0 3px rgba(184,151,90,.08);
}
.eo-search-icon { padding: 0 14px; font-size: 16px; color: #bbb; flex-shrink: 0; }
.eo-search-bar input {
  flex: 1; padding: 13px 0; border: none; outline: none;
  font-size: 13px; font-weight: 500; font-family: inherit;
  color: #1a1a1a; background: transparent;
}
.eo-search-bar input::placeholder { color: #bbb; }
.eo-search-btn {
  padding: 10px 20px; margin: 4px; border-radius: 8px;
  font-size: 11px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #C4A559 0%, #D4BC7A 40%, #E5D4A0 70%, #EFE2B8 100%);
  transition: all .2s; flex-shrink: 0;
}
.eo-search-btn:hover { background: linear-gradient(180deg, #000, #1a1a1a); color: #DAA520; }

/* === SECTIONS === */
.eo-section-title {
  font-family: 'Geist',system-ui,sans-serif;
  font-size: 20px; font-weight: 700; margin-bottom: 16px; color: #1a1a1a;
}
.eo-section-title i { font-style: italic; color: #B8975A; font-weight: 400; }

/* === DOMAIN CARDS === */
.eo-domains-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-bottom: 48px;
}
.eo-domain-card {
  border-radius: 16px; overflow: hidden; position: relative;
  cursor: pointer; aspect-ratio: 1.1; background: #f5f5f5;
  transition: all .3s; border: none; padding: 0;
  font-family: inherit; text-align: left;
}
.eo-domain-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.12); }
.eo-domain-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .5s;
}
.eo-domain-card:hover .eo-domain-bg { transform: scale(1.06); }
.eo-domain-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.1) 50%, rgba(0,0,0,.02) 100%);
  transition: all .3s;
}
.eo-domain-card:hover::after {
  background: linear-gradient(0deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.15) 50%, rgba(0,0,0,.05) 100%);
}
.eo-domain-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px; z-index: 2;
}
.eo-domain-icon { font-size: 24px; margin-bottom: 6px; }
.eo-domain-name {
  font-family: 'Geist',system-ui,sans-serif;
  font-size: 16px; font-weight: 700; color: #fff; line-height: 1.2;
}
.eo-domain-count {
  font-size: 9px; font-weight: 700; color: rgba(255,255,255,.6);
  margin-top: 3px; text-transform: uppercase; letter-spacing: .8px;
}
.eo-domain-roles { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.eo-domain-chip {
  font-size: 10px; font-weight: 600; padding: 3px 8px;
  border-radius: 10px; background: rgba(255,255,255,.2);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  color: #fff; border: 1px solid rgba(255,255,255,.25); line-height: 1.3;
}
.eo-domain-card.featured { grid-column: span 2; aspect-ratio: 2.2; }
.eo-domain-new {
  position: absolute; top: 12px; right: 12px;
  background: #B8860B; color: #fff; font-size: 10px; font-weight: 700;
  padding: 4px 10px; border-radius: 12px; letter-spacing: .5px;
  z-index: 3; box-shadow: 0 2px 8px rgba(184,134,11,.4);
}

/* === TODAY SELECTION === */
.eo-today-section {
  margin-bottom: 48px; padding: 32px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(184,151,90,.03), rgba(184,151,90,.07));
  border: 1px solid rgba(184,151,90,.1);
  position: relative; overflow: hidden;
}
.eo-today-section::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(184,151,90,.08), transparent 70%);
}
.eo-today-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; flex-wrap: wrap; gap: 10px;
}
.eo-today-title {
  font-family: 'Geist',system-ui,sans-serif;
  font-size: 18px; font-weight: 700;
}
.eo-today-title i { font-style: italic; color: #B8975A; font-weight: 400; }
.eo-shuffle-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: 8px;
  font-size: 11px; font-weight: 700; color: #8C6D34;
  background: rgba(184,151,90,.08); border: 1px solid rgba(184,151,90,.15);
  transition: all .2s;
}
.eo-shuffle-btn:hover { background: rgba(184,151,90,.15); border-color: rgba(184,151,90,.3); }
.eo-shuffle-icon { font-size: 16px; display: inline-block; transition: transform .3s; }
.eo-shuffle-btn:hover .eo-shuffle-icon { transform: rotate(180deg); }
.eo-today-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

/* Mini opportunity card (today) */
.eo-mini {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 12px;
  background: #fff; border: 1px solid rgba(0,0,0,.05);
  cursor: pointer; transition: all .25s; position: relative;
  overflow: hidden; text-align: left; width: 100%; font-family: inherit;
}
.eo-mini:hover {
  border-color: rgba(184,151,90,.2);
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  transform: translateY(-2px);
}
.eo-mini-logo {
  width: 48px; height: 48px; border-radius: 12px; overflow: hidden;
  flex-shrink: 0; background: linear-gradient(135deg, #1a1a1a, #3a3a3a);
  display: flex; align-items: center; justify-content: center;
  color: #DAA520; font-size: 14px; font-weight: 800;
}
.eo-mini-info { flex: 1; min-width: 0; }
.eo-mini-estab {
  font-family: 'Geist',system-ui,sans-serif;
  font-size: 13px; font-weight: 700; color: #1a1a1a;
  display: flex; align-items: center; gap: 5px;
}
.eo-mini-estab .v {
  width: 14px; height: 14px; border-radius: 50%; background: #2E7D32;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 7px; font-weight: 800; flex-shrink: 0;
}
.eo-mini-title {
  font-size: 10px; font-weight: 600; color: #B8975A;
  margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.eo-mini-meta {
  font-size: 9px; color: #999; margin-top: 3px;
  display: flex; align-items: center; gap: 6px;
}
.eo-mini-tag {
  font-size: 7px; font-weight: 700; padding: 2px 6px;
  border-radius: 100px; position: absolute; top: 8px; right: 8px;
}
.eo-mini-tag.match { background: linear-gradient(135deg, #D4BC7A, #E5D4A0); color: #6b5520; }
.eo-mini-tag.new { background: #1a1a1a; color: #DAA520; }
.eo-mini-arrow { color: #ccc; font-size: 14px; flex-shrink: 0; transition: all .2s; }
.eo-mini:hover .eo-mini-arrow { color: #B8975A; transform: translateX(3px); }

/* === BROWSE === */
.eo-browse-section { margin-bottom: 48px; }
.eo-tabs {
  display: flex; gap: 6px; margin-bottom: 18px;
  overflow-x: auto; padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}
.eo-tabs::-webkit-scrollbar { height: 2px; }
.eo-tab {
  padding: 7px 16px; border-radius: 100px;
  font-size: 11px; font-weight: 700; color: #777;
  background: #fff; border: 1.5px solid rgba(0,0,0,.06);
  cursor: pointer; transition: all .2s; white-space: nowrap;
  flex-shrink: 0; font-family: inherit;
}
.eo-tab:hover { border-color: rgba(184,151,90,.3); color: #B8975A; }
.eo-tab.active {
  color: #fff;
  background: linear-gradient(180deg, #DECE9F, #C9A96E 30%, #B8975A 65%, #A08548);
  border-color: #B8975A; text-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.eo-browse-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

/* Opportunity card */
.eo-opp {
  border-radius: 14px; overflow: hidden; background: #fff;
  border: 1px solid rgba(0,0,0,.09);
  box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 4px 14px rgba(16,24,40,.06);
  cursor: pointer; transition: all .3s; position: relative;
  text-align: left; font-family: inherit; display: block; width: 100%;
}
.eo-opp:hover {
  border-color: rgba(184,151,90,.35);
  box-shadow: 0 10px 32px rgba(16,24,40,.12);
  transform: translateY(-3px);
}
.eo-opp-photo {
  height: 140px; position: relative; overflow: hidden; background: #f5f5f5;
}
.eo-opp-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s; display: block;
}
.eo-opp:hover .eo-opp-photo img { transform: scale(1.05); }
.eo-opp-photo::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 50%; background: linear-gradient(0deg, rgba(0,0,0,.5), transparent);
}
.eo-opp-domain {
  position: absolute; top: 8px; left: 8px;
  font-size: 7px; font-weight: 800; padding: 3px 8px;
  border-radius: 100px; background: rgba(255,255,255,.9);
  backdrop-filter: blur(6px); color: #555; z-index: 2;
  text-transform: uppercase; letter-spacing: .5px;
}
.eo-opp-badge {
  position: absolute; top: 8px; right: 8px;
  font-size: 8px; font-weight: 800; padding: 3px 8px;
  border-radius: 100px; z-index: 2;
}
.eo-opp-badge.match { background: linear-gradient(135deg, #D4BC7A, #E5D4A0); color: #6b5520; }
.eo-opp-badge.new { background: #1a1a1a; color: #DAA520; }
.eo-opp-badge.urgent { background: #E74C3C; color: #fff; }
.eo-opp-estab-overlay {
  position: absolute; bottom: 8px; left: 10px; right: 10px; z-index: 2;
  color: #fff; font-size: 10px; font-weight: 700;
  text-shadow: 0 1px 3px rgba(0,0,0,.6);
  display: flex; align-items: center; gap: 5px;
}
.eo-opp-body { padding: 12px 14px 14px; }
.eo-opp-title {
  font-family: 'Geist',system-ui,sans-serif;
  font-size: 14px; font-weight: 700; line-height: 1.25; color: #1a1a1a;
}
.eo-opp-meta {
  font-size: 10px; color: #777; margin-top: 6px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.eo-opp-budget { font-size: 11px; font-weight: 800; color: #8C6D34; margin-top: 6px; }
.eo-opp-tags { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 8px; }
.eo-opp-tag {
  font-size: 8px; font-weight: 600; padding: 2px 7px;
  border-radius: 100px; background: #FAFAFA;
  border: 1px solid rgba(0,0,0,.05); color: #777;
}
.eo-opp-cta {
  display: flex; align-items: center; gap: 4px;
  margin-top: 10px; padding-top: 8px;
  border-top: 1px solid rgba(0,0,0,.04);
  font-size: 9px; font-weight: 600; color: #B8975A; transition: all .2s;
}
.eo-opp:hover .eo-opp-cta { color: #8C6D34; }
.eo-opp-cta-arrow { transition: transform .2s; display: inline-block; }
.eo-opp:hover .eo-opp-cta-arrow { transform: translateX(3px); }

.eo-footer { text-align: center; padding: 40px 32px 24px; font-size: 10px; color: #ccc; letter-spacing: 1px; }
.eo-footer b { color: #B8975A; }

@keyframes eo-fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.eo-anim { animation: eo-fadeUp .6s ease both; }

@media (max-width: 900px) {
  .eo-domains-grid { grid-template-columns: repeat(2, 1fr); }
  .eo-domain-card.featured { grid-column: span 2; }
  .eo-today-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .eo-domains-grid { grid-template-columns: 1fr; }
  .eo-domain-card.featured { grid-column: span 1; }
  .eo-today-grid { grid-template-columns: 1fr; }
  .eo-browse-grid { grid-template-columns: 1fr 1fr; }
  .eo-hero h1 { font-size: 26px; }
  .eo-main { padding: 0 16px 40px; }
}

/* ── Real-data additions (Brick 1, R11.3) — not in the mockup but coherent ── */
/* "Déjà répondu" badge on a card the expert already answered. */
.eo-opp-badge.applied { background: #2E7D32; color: #fff; }
.eo-mini-tag.applied { background: #2E7D32; color: #fff; }

/* Empty state when a filter returns nothing. */
.eo-empty {
  grid-column: 1 / -1; text-align: center; padding: 48px 24px;
  color: #999; font-size: 13px; font-weight: 500;
}
.eo-empty b { color: #1a1a1a; font-weight: 700; }
.eo-empty-clear {
  display: inline-block; margin-top: 12px; padding: 8px 18px;
  border-radius: 8px; font-size: 11px; font-weight: 800; color: #8C6D34;
  background: rgba(184,151,90,.1); border: 1px solid rgba(184,151,90,.2);
}

/* Future-brick: AI match score / domain ranking = Brique 3 — grayed. */
.eo-opp-badge.brick3, .eo-mini-tag.brick3 {
  background: repeating-linear-gradient(45deg,#e9e9e9,#e9e9e9 4px,#f3f3f3 4px,#f3f3f3 8px);
  color: #9a9a9a; cursor: not-allowed;
}
.eo-brick-note {
  font-size: 9px; font-weight: 700; color: #b9a06a;
  background: rgba(184,151,90,.08); border: 1px dashed rgba(184,151,90,.3);
  border-radius: 6px; padding: 2px 7px; letter-spacing: .3px;
}

/* Domain card link wrapper (mockup used a <button>; we navigate via <a>). */
a.eo-domain-card { display: block; }
