:root {
  --accent: #9E2F4E;
  --accent-bright: #d94672;
  --accent-deep: #6f2038;
  --panel: #21181B;
  --panel-2: #171215;
  --text: #f7f4f5;
  --muted: #c8bdc1;
  --border: rgba(255,255,255,.12);
  --shadow: 0 24px 80px rgba(0,0,0,.48);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: #0d0b0c;
}
a { color: inherit; }

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background: url('wallpaper.jpg') center center / cover no-repeat;
  transform: scale(1.02);
}
.page-overlay {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 32%, rgba(158,47,78,.16), transparent 42%),
    linear-gradient(180deg, rgba(13,11,12,.58), rgba(13,11,12,.88));
  backdrop-filter: blur(1.5px);
}

.brand-logo { display: block; height: auto; object-fit: contain; }
.brand-logo-large { width: min(620px, 92%); margin: 0 auto; }
.hero-logo { width: min(520px, 82vw); margin: 0 auto; }
.brand-kicker {
  margin-top: 6px;
  color: #e6ccd5;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .34em;
  text-align: center;
}

.glass-card {
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(33,24,27,.92), rgba(18,14,16,.84));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.notice-shell {
  min-height: 100vh;
  padding: 48px 20px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.notice-card {
  width: min(960px, 100%);
  margin: auto;
  padding: clamp(28px, 5vw, 54px);
  border-radius: 28px;
  text-align: center;
}
.divider {
  width: 110px;
  height: 3px;
  margin: 26px auto 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
  box-shadow: 0 0 22px rgba(217,70,114,.55);
}
.notice-card h1 {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 4vw, 2.75rem);
  letter-spacing: .08em;
}
.notice-emphasis {
  margin: 0 auto 28px;
  max-width: 780px;
  color: #f3dbe3;
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 700;
}
.notice-copy {
  max-width: 780px;
  margin: 0 auto;
  text-align: left;
  color: var(--muted);
  line-height: 1.72;
  font-size: 1rem;
}
.notice-copy a { color: #ff729d; font-weight: 700; text-decoration: none; }
.notice-copy a:hover { text-decoration: underline; }
.single-notice {
  margin: 30px 0 0;
  color: #fff;
  text-transform: uppercase;
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .1em;
}
.notice-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 13px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 750;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  box-shadow: 0 12px 32px rgba(158,47,78,.35);
}
.btn-primary:hover { box-shadow: 0 16px 38px rgba(158,47,78,.48); }
.btn-secondary { border-color: var(--border); background: rgba(255,255,255,.05); }
.btn-secondary:hover { background: rgba(255,255,255,.09); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  padding: 10px clamp(16px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(18,14,16,.76);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.topbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .16em;
  font-size: .76rem;
}
.topbar-brand img { width: 128px; max-height: 48px; object-fit: contain; }
.topnav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.topnav a {
  padding: 10px 12px;
  border-radius: 10px;
  color: #ddd2d6;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 650;
  transition: background .18s ease, color .18s ease;
}
.topnav a:hover { color: #fff; background: rgba(158,47,78,.22); }

.portal-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(44px, 8vw, 90px) 0 30px;
}
.hero { text-align: center; margin-bottom: 40px; }
.hero h1 {
  margin: 18px 0 10px;
  font-size: clamp(2rem, 5vw, 3.65rem);
  letter-spacing: -.03em;
}
.hero p {
  margin: 0 auto;
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.65;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}
.portal-card {
  min-height: 178px;
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(33,24,27,.86), rgba(19,15,17,.76));
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-decoration: none;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.portal-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent-deep));
  opacity: .85;
}
.portal-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217,70,114,.38);
  box-shadow: 0 24px 64px rgba(0,0,0,.4), 0 0 0 1px rgba(158,47,78,.12);
}
.portal-card-wide { grid-column: 1 / -1; min-height: 150px; }
.portal-card .icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  font-size: 1.7rem;
  background: linear-gradient(145deg, rgba(158,47,78,.62), rgba(93,28,50,.52));
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 10px 28px rgba(0,0,0,.25);
}
.portal-card h2 { margin: 0 0 7px; font-size: 1.32rem; }
.portal-card p { margin: 0; color: var(--muted); line-height: 1.55; }
.portal-card .arrow { color: #ff6b98; font-size: 1.8rem; padding-left: 8px; transition: transform .18s ease; }
.portal-card:hover .arrow { transform: translateX(5px); }
.security-note {
  width: fit-content;
  margin: 28px auto 0;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(13,11,12,.42);
  color: #cdbfc4;
  font-size: .85rem;
  text-align: center;
}
.site-footer {
  padding: 20px;
  color: rgba(255,255,255,.62);
  text-align: center;
  font-size: .82rem;
}

@media (max-width: 900px) {
  .topbar { align-items: flex-start; flex-direction: column; }
  .topnav { width: 100%; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
  .topnav a { white-space: nowrap; }
}
@media (max-width: 720px) {
  .notice-shell { padding: 22px 14px; }
  .notice-card { border-radius: 20px; padding: 24px 18px; }
  .portal-grid { grid-template-columns: 1fr; }
  .portal-card-wide { grid-column: auto; }
  .portal-card { grid-template-columns: 50px 1fr auto; padding: 22px 18px; min-height: 156px; }
  .portal-card .icon { width: 50px; height: 50px; border-radius: 14px; }
}
@media (max-width: 480px) {
  .topbar-brand img { width: 112px; }
  .portal-card { grid-template-columns: 1fr auto; }
  .portal-card .icon { display: none; }
  .hero h1 { font-size: 2.2rem; }
  .notice-actions .btn { width: 100%; }
}

/* ============================================================
   VGOO - PAGE D'INTÉGRATION / EMBED
   ============================================================ */
.embed-page {
  height: 100vh;
  overflow: hidden;
  background: #0d0b0c;
}
.embed-overlay {
  background:
    linear-gradient(180deg, rgba(13,11,12,.78), rgba(13,11,12,.93)),
    radial-gradient(circle at 50% 0%, rgba(158,47,78,.22), transparent 50%);
}
.embed-topbar {
  min-height: 68px;
}
.topnav a.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(158,47,78,.58), rgba(111,32,56,.46));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.embed-shell {
  height: calc(100vh - 68px);
  width: min(1680px, calc(100% - 28px));
  margin: 0 auto;
  padding: 14px 0;
  display: grid;
  grid-template-rows: auto minmax(0,1fr) auto;
  gap: 12px;
}
.embed-toolbar {
  border-radius: 18px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.embed-toolbar h1 {
  margin: 3px 0 4px;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
}
.embed-toolbar p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}
.embed-eyebrow {
  color: #e8bdcb;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .18em;
}
.embed-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.embed-actions .btn {
  min-height: 40px;
  padding: 0 15px;
  font-size: .85rem;
}
.embed-frame-card {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0,0,0,.46), 0 0 0 1px rgba(158,47,78,.08);
}
.service-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  background: #fff;
}
.embed-help {
  padding: 0 10px 2px;
  color: #af9fa5;
  font-size: .75rem;
  text-align: center;
}
.embed-error {
  padding: 30px;
  color: #21181B;
  background: #fff;
  text-align: center;
}

@media (max-width: 900px) {
  .embed-page { overflow: auto; }
  .embed-shell {
    height: auto;
    min-height: calc(100vh - 68px);
    grid-template-rows: auto minmax(650px, 1fr) auto;
  }
  .embed-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .embed-actions { justify-content: flex-start; }
  .topbar.embed-topbar {
    position: relative;
    align-items: flex-start;
    flex-direction: column;
  }
  .topnav { justify-content: flex-start; }
}

@media (max-width: 600px) {
  .embed-shell { width: min(100% - 16px, 1680px); padding-top: 8px; }
  .embed-toolbar { border-radius: 14px; padding: 14px; }
  .embed-frame-card { border-radius: 14px; }
  .embed-actions { width: 100%; }
  .embed-actions .btn { flex: 1 1 150px; }
}
