/* ============================================================
   HubY — Feuille de style principale
   ============================================================ */

:root {
  --bg: #0e1116;
  --bg-elevated: #141920;
  --bg-card: #1a2028;
  --bg-card-hover: #1f2630;
  --bg-sidebar: #141920;
  --border: #262e38;
  --border-hover: #34404d;
  --text: #e6e9ee;
  --text-muted: #8b95a3;
  --text-dim: #5f6975;
  --accent: #4f8cff;
  --accent-hover: #6a9eff;
  --accent-dim: rgba(79, 140, 255, 0.12);
  --success: #22c55e;
  --success-dim: rgba(34, 197, 94, 0.12);
  --warning: #f59e0b;
  --warning-dim: rgba(245, 158, 11, 0.12);

  --glass-bg: rgba(26, 32, 40, 0.68);
  --glass-bg-hover: rgba(31, 38, 48, 0.78);
  --glass-border: rgba(140, 150, 165, 0.1);
  --glass-border-hover: rgba(160, 172, 188, 0.18);
  --glass-blur: blur(14px);

  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.4);
  --content-width: 1600px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(79, 140, 255, 0.04), transparent 42%),
    radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.02), transparent 48%);
  background-attachment: fixed;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 5px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: var(--border-hover); }

#particles-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}
header, .hero, section, footer {
  position: relative;
  z-index: 1;
}

.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 max(40px, 4vw);
}

/* ============================================================
   Brevo — masque les panneaux de message par défaut
   ============================================================ */
.sib-form-message-panel { display: none; }
.input--hidden { display: none !important; }

/* ============================================================
   Accessibilité — réduction des animations
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .huby-logo-inner,
  .huby-logo-soft,
  .huby-logo-outline,
  .huby-logo-shine::before,
  .hero-title h2.hero-title-line::after,
  .hero-badge-dot,
  .btn-primary::before,
  .notify-btn::before {
    animation: none !important;
  }
}

/* ============================================================
   Header — 60% + blur
   ============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 17, 22, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffffff, #dbeafe);
  border: 1px solid rgba(79, 140, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4px;
}
.logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.logo-text {
  font-size: 21px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--text); }
.nav-cta {
  padding: 9px 18px;
  background: var(--accent);
  color: #fff !important;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 13.5px;
  transition: background 0.15s ease;
}
.nav-cta:hover { background: #3670d6; }
@media (max-width: 768px) { .nav a:not(.nav-cta) { display: none; } }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: clamp(56px, 7vw, 96px) 0 clamp(32px, 4vw, 56px);
  text-align: center;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.hero-title-line {
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0;
  position: relative;
}
.hero-title h2.hero-title-line::after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 14px rgba(79, 140, 255, 0.7);
  animation: pulse-line 3s ease-in-out infinite;
}
@keyframes pulse-line {
  0%, 100% { opacity: 0.5; width: 140px; }
  50%      { opacity: 1;   width: 200px; }
}

/* ============================================================
   Logo HubY (hero)
   ============================================================ */
.huby-logo-wrap {
  display: inline-block;
  position: relative;
  padding: 32px 56px;
}
.huby-logo-inner {
  position: relative;
  display: inline-block;
  isolation: isolate;
  animation: logo-float 10s ease-in-out infinite;
}
@keyframes logo-float {
  0%   { transform: translate(0, 0) rotate(0deg); }
  20%  { transform: translate(2px, -5px) rotate(-0.35deg); }
  45%  { transform: translate(-1px, -8px) rotate(0.2deg); }
  70%  { transform: translate(-3px, -4px) rotate(0.4deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
.huby-logo-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at 50% 45%,
              rgba(79, 140, 255, 0.22) 0%,
              rgba(79, 140, 255, 0.10) 30%,
              rgba(79, 140, 255, 0.03) 55%,
              transparent 75%);
  filter: blur(24px);
  animation: halo-breathe 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes halo-breathe {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.06); }
}
.huby-logo-soft {
  position: absolute;
  inset: -10px;
  z-index: 1;
  background: url('logo.png') center/contain no-repeat;
  filter: blur(12px) brightness(1.3) saturate(1.4);
  opacity: 0.5;
  pointer-events: none;
  animation: logo-soft-pulse 6s ease-in-out infinite;
}
@keyframes logo-soft-pulse {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50%      { opacity: 0.6;  transform: scale(1.03); }
}
.huby-logo-outline {
  position: absolute;
  inset: -2px;
  z-index: 2;
  background: url('logo.png') center/contain no-repeat;
  filter:
    brightness(0)
    invert(55%)
    sepia(100%)
    saturate(700%)
    hue-rotate(200deg)
    blur(5px);
  opacity: 0.4;
  pointer-events: none;
  animation: logo-outline-pulse 5s ease-in-out infinite;
}
@keyframes logo-outline-pulse {
  0%, 100% {
    opacity: 0.3;
    filter: brightness(0) invert(50%) sepia(100%) saturate(700%)
            hue-rotate(200deg) blur(5px);
  }
  50% {
    opacity: 0.6;
    filter: brightness(0) invert(58%) sepia(100%) saturate(850%)
            hue-rotate(200deg) blur(7px);
  }
}
.huby-logo-img {
  display: block;
  position: relative;
  z-index: 3;
  width: clamp(200px, 16vw, 280px);
  height: auto;
  opacity: 0.15;
  mix-blend-mode: screen;
  filter:
    drop-shadow(0 0 5px rgba(79, 140, 255, 0.4))
    drop-shadow(0 0 16px rgba(79, 140, 255, 0.25));
}
.huby-logo-shine {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: url('logo.png');
  -webkit-mask-size: 100% 100%;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-image: url('logo.png');
  mask-size: 100% 100%;
  mask-position: center;
  mask-repeat: no-repeat;
}
.huby-logo-shine::before {
  content: "";
  position: absolute;
  top: -25%;
  left: -150%;
  width: 80%;
  height: 150%;
  background: linear-gradient(105deg,
    transparent 0%,
    rgba(198, 224, 255, 0.4) 28%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(198, 224, 255, 0.4) 72%,
    transparent 100%);
  mix-blend-mode: screen;
  transform: rotate(12deg);
  animation: shine-loop 7s linear infinite;
  opacity: 0;
}
@keyframes shine-loop {
  0%   { left: -150%; opacity: 0; }
  5%   { opacity: 1; }
  32%  { left: 150%; opacity: 1; }
  38%  { left: 150%; opacity: 0; }
  100% { left: 150%; opacity: 0; }
}

/* ============================================================
   Badge date
   ============================================================ */
.hero-badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-dim);
  border: 1px solid rgba(79, 140, 255, 0.3);
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 8px;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero-badge-inline sup { font-size: 0.65em; vertical-align: super; }

/* ============================================================
   Hero — contenu
   ============================================================ */
.hero-subtitle {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--text-muted);
  max-width: 720px;
  margin: 36px auto 32px;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 36px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

/* ------------------------------------------------------------
   Aurora — effet partagé bouton primaire (bleu) + bouton notify (orange)
   ------------------------------------------------------------ */
.btn-primary::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: 1;
  background:
    radial-gradient(circle at 25% 35%, rgba(79, 140, 255, 0.9), transparent 42%),
    radial-gradient(circle at 72% 55%, rgba(168, 85, 247, 0.55), transparent 46%),
    radial-gradient(circle at 55% 82%, rgba(0, 210, 220, 0.45), transparent 46%),
    radial-gradient(circle at 15% 72%, rgba(90, 220, 170, 0.28), transparent 42%);
  filter: blur(14px);
  opacity: 0;
  transform: rotate(0deg) scale(1) translate(0, 0);
  transition: opacity 0.55s ease;
  animation: aurora-flow 9s ease-in-out infinite alternate;
  pointer-events: none;
  will-change: transform;
}
@keyframes aurora-flow {
  0%   { transform: rotate(0deg)   scale(1)    translate(0, 0); }
  50%  { transform: rotate(15deg)  scale(1.1)  translate(-4%, 3%); }
  100% { transform: rotate(-12deg) scale(1.15) translate(3%, -2%); }
}

.btn-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(79, 140, 255, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  transition:
    background 0.55s ease,
    box-shadow 0.5s ease,
    transform 0.3s ease,
    text-shadow 0.4s ease;
}
.btn-primary > span {
  position: relative;
  z-index: 2;
}
.btn-primary:hover {
  background: #060911;
  color: #fff;
  box-shadow:
    0 6px 22px rgba(79, 140, 255, 0.4),
    0 0 44px rgba(79, 140, 255, 0.22),
    inset 0 0 22px rgba(79, 140, 255, 0.1);
  text-shadow:
    0 1px 4px rgba(0, 0, 0, 0.6),
    0 0 14px rgba(120, 180, 255, 0.65);
  transform: translateY(-2px);
}
.btn-primary:hover::before { opacity: 1; }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--text);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  padding-top: 28px;
  margin: 0 auto 48px;
  max-width: 720px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stat-label {
  font-size: 11.5px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* ============================================================
   Mockup fenêtre HubY
   ============================================================ */
.hero-visual {
  max-width: 1320px;
  margin: 0 auto;
  perspective: 1600px;
}
.hero-visual-window {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55),
              0 0 0 1px rgba(79, 140, 255, 0.12);
  transform: rotateX(1.5deg);
  transition: transform 0.5s ease;
  text-align: left;
}
.hero-visual-window:hover { transform: rotateX(0deg) translateY(-4px); }
.hero-visual-titlebar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 18px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
.hero-visual-titlebar .dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }
.hero-visual-filename {
  margin-left: 14px;
  font-size: 12.5px;
  color: var(--text-dim);
}
.hero-visual-body { display: flex; }

.mock-sidebar {
  width: 200px;
  flex-shrink: 0;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  padding: 22px 14px;
}
.mock-sidebar-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.mock-logo {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, #ffffff, #dbeafe);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 3px;
}
.mock-logo img { width: 100%; height: 100%; object-fit: contain; }
.mock-title { font-size: 16px; font-weight: 700; color: var(--text); }
.mock-nav-item {
  padding: 10px 12px;
  font-size: 13px;
  color: var(--text-dim);
  border-radius: 7px;
  margin-bottom: 4px;
}
.mock-nav-item.active {
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 600;
}

.mock-content { flex: 1; padding: 28px 32px 32px; }
.mock-content-header { margin-bottom: 24px; }
.mock-content-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px;
}
.mock-content-subtitle {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0;
}

.mock-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 1200px) {
  .mock-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .mock-catalog-grid { grid-template-columns: 1fr; }
  .mock-sidebar { display: none; }
}

.module-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 18px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.module-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.module-card-header {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}
.module-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  background: transparent;
}
.module-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.module-info { flex: 1; min-width: 0; }
.module-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 3px;
  line-height: 1.25;
}
.module-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  font-size: 10.5px;
  color: var(--text-dim);
}
.module-meta .sep { opacity: 0.5; }
.module-description {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.module-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.module-price { display: flex; align-items: baseline; gap: 4px; }
.price-value { font-size: 13px; font-weight: 700; color: var(--text); }
.price-value.free { color: var(--success); font-size: 12.5px; }
.price-label { font-size: 10.5px; color: var(--text-dim); }
.module-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 500;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid transparent;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}
.module-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ============================================================
   Sections communes
   ============================================================ */
section { padding: clamp(56px, 7vw, 104px) 0; }
.section-label {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.15;
}
.section-subtitle {
  font-size: clamp(14.5px, 1.6vw, 16.5px);
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 56px;
  line-height: 1.6;
}
.section-center { text-align: center; }
.section-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   Piliers — glass gris neutre
   ============================================================ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 1300px) {
  .pillars-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .pillars-grid { grid-template-columns: 1fr; }
}
.pillar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 24px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
  text-align: left;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}
.pillar::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.pillar:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 14px 36px rgba(0, 0, 0, 0.4);
}
.pillar:hover::before { opacity: 1; }

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-dim);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pillar-icon svg { width: 24px; height: 24px; }

.pillar-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.3;
}
.pillar-description {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}
.pillar-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(140, 150, 165, 0.1);
  margin-top: auto;
  list-style: none;
}
.pillar-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.45;
}
.pillar-features li::before {
  content: "✓";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  background: var(--success-dim);
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}

/* ============================================================
   Offre
   ============================================================ */
.offer-box {
  background: linear-gradient(135deg, var(--accent-dim), rgba(168, 85, 247, 0.06));
  border: 1px solid rgba(79, 140, 255, 0.3);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 5vw, 64px);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 900px;
  margin: 0 auto;
}
.offer-part h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.offer-part p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.65;
}
.offer-part .highlight { color: var(--accent); font-weight: 700; }
.offer-part .highlight-warn { color: var(--warning); font-weight: 700; }
.offer-part .btn-download-wrap {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(140, 150, 165, 0.08);
}

.offer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 140, 255, 0.35), transparent);
  width: 80%;
  margin: 0 auto;
}

.btn-download {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: var(--radius-lg);
  font-size: 15px;
  font-weight: 600;
  background: var(--bg-card);
  color: var(--text-dim);
  border: 1px solid var(--border);
  cursor: not-allowed;
  transition: var(--transition);
}
.btn-download .badge-soon {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--warning);
  color: #1a1205;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 3px 8px;
  border-radius: 10px;
}
.btn-download-note {
  font-size: 12.5px;
  color: var(--text-dim);
  margin-top: 14px;
}
.btn-download-note strong { color: var(--warning); }
.btn-download-note sup { font-size: 0.7em; vertical-align: super; }

/* ============================================================
   Formulaire de réservation — intégration Brevo stylisée
   Accent orange (--warning) pour cohérence avec "Bientôt" / "1er octobre"
   ============================================================ */
.notify-wrap {
  max-width: 560px;
  margin: 32px auto 0;
  padding: 26px 26px 22px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.notify-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.notify-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 11px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--warning);
  display: flex;
  align-items: center;
  justify-content: center;
}
.notify-icon svg { width: 20px; height: 20px; }
.notify-head-text { flex: 1; min-width: 0; }
.notify-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
  line-height: 1.3;
}
.notify-subtitle {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Structure Brevo */
.notify-wrap .sib-form-container { width: 100%; }
.notify-wrap #sib-container {
  max-width: 100%;
  text-align: left;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

/* Classe utilitaire — masque un élément avec priorité absolue */
.huby-hidden { display: none !important; }

.notify-wrap form#sib-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notify-field-block,
.notify-wrap .sib-input,
.notify-wrap .form__entry,
.notify-wrap .form__label-row {
  display: block;
  width: 100%;
}

.notify-field-label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
  text-align: left;
}

.notify-wrap .entry__field { display: block; }

.notify-input,
.notify-wrap #sib-container input.input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(14, 17, 22, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.notify-input::placeholder { color: var(--text-dim); }
.notify-input:focus,
.notify-wrap #sib-container input.input:focus {
  outline: none;
  border-color: var(--warning);
  background: rgba(14, 17, 22, 0.75);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.notify-submit-block { margin-top: 2px; }

/* ------------------------------------------------------------
   Bouton "Recevoir l'email de lancement" — orange + aurora orange
   ------------------------------------------------------------ */
.notify-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: 100%;
  padding: 13px 22px;
  background: var(--warning);
  color: #1a1205;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
  transition:
    background 0.55s ease,
    color 0.4s ease,
    box-shadow 0.5s ease,
    transform 0.3s ease,
    text-shadow 0.4s ease;
}

.notify-btn-label {
  position: relative;
  z-index: 2;
}

/* Aurora orange — 4 gradients chauds */
.notify-btn::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: 1;
  background:
    radial-gradient(circle at 25% 35%, rgba(245, 158, 11, 0.95), transparent 42%),
    radial-gradient(circle at 72% 55%, rgba(251, 146, 60, 0.65), transparent 46%),
    radial-gradient(circle at 55% 82%, rgba(250, 204, 21, 0.5), transparent 46%),
    radial-gradient(circle at 15% 72%, rgba(239, 68, 68, 0.32), transparent 42%);
  filter: blur(14px);
  opacity: 0;
  transform: rotate(0deg) scale(1) translate(0, 0);
  transition: opacity 0.55s ease;
  animation: aurora-flow 9s ease-in-out infinite alternate;
  pointer-events: none;
  will-change: transform;
}

.notify-btn:hover {
  background: #100a02;
  color: #fff;
  box-shadow:
    0 6px 22px rgba(245, 158, 11, 0.45),
    0 0 44px rgba(245, 158, 11, 0.28),
    inset 0 0 22px rgba(245, 158, 11, 0.12);
  text-shadow:
    0 1px 4px rgba(0, 0, 0, 0.6),
    0 0 14px rgba(251, 191, 36, 0.75);
  transform: translateY(-1px);
}
.notify-btn:hover::before { opacity: 1; }

.notify-btn:disabled,
.notify-btn[aria-busy="true"] {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

/* Spinner Brevo — caché par défaut, révélé pendant la requête */
.notify-btn .sib-hide-loader-icon { display: none; }

.notify-btn svg.progress-indicator__icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  fill: currentColor;
  margin-right: 8px;
}

.notify-btn svg.progress-indicator__icon:not(.sib-hide-loader-icon) {
  display: inline-block;
  animation: notify-spin 0.85s linear infinite;
}

@keyframes notify-spin {
  to { transform: rotate(360deg); }
}

/* Panneaux de message Brevo stylisés */
.notify-panel {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 13.5px;
  line-height: 1.5;
  margin-bottom: 14px;
  font-family: inherit;
}
.notify-panel--error {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
}
.notify-panel--success {
  color: #86efac;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.35);
}
.notify-panel--pending {
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.notify-panel .sib-form-message-panel__text {
  display: flex;
  align-items: center;
  gap: 10px;
}
.notify-panel .sib-notification__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: currentColor;
}

.notify-panel .sib-form-message-panel__inner-text {
  display: block;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  text-align: left;
}

.notify-field-error {
  display: block;
  font-size: 12px;
  color: #fca5a5;
  margin-top: 6px;
  font-family: inherit;
  text-align: left;
}
.notify-field-error:empty { display: none; }

.notify-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.notify-legal {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(140, 150, 165, 0.1);
  font-size: 11.5px;
  color: var(--text-dim);
  line-height: 1.55;
  text-align: left;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.notify-legal li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}
.notify-legal li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--warning);
  flex-shrink: 0;
  margin-top: 7px;
  opacity: 0.75;
}

@media (max-width: 560px) {
  .notify-wrap { padding: 22px 18px 18px; }
}

/* ============================================================
   FAQ — verre neutre + icône plus→minus
   ============================================================ */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.faq-item::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent,
    var(--accent) 40%,
    var(--accent-hover) 60%,
    transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.faq-item.open::before { opacity: 1; }
.faq-item.open {
  background: var(--glass-bg-hover);
  border-color: rgba(150, 165, 185, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 8px 24px rgba(0, 0, 0, 0.3);
}
.faq-question {
  position: relative;
  width: 100%;
  text-align: left;
  padding: 18px 56px 18px 22px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s ease, background 0.2s ease;
}
.faq-question:hover {
  background: rgba(140, 150, 165, 0.05);
}
.faq-question:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -3px;
  border-radius: var(--radius);
}
.faq-question::before,
.faq-question::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--text-muted);
  border-radius: 1px;
  transform-origin: center;
  pointer-events: none;
  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.3s ease,
    box-shadow 0.3s ease;
}
.faq-question::before { transform: translateY(-50%); }
.faq-question::after  { transform: translateY(-50%) rotate(90deg); }
.faq-item.open .faq-question::before,
.faq-item.open .faq-question::after {
  background: var(--accent);
  box-shadow: 0 0 10px rgba(79, 140, 255, 0.55);
}
.faq-item.open .faq-question::after {
  transform: translateY(-50%) rotate(0deg);
}
.faq-question:hover::before,
.faq-question:hover::after { background: var(--text); }
.faq-item.open .faq-question:hover::before,
.faq-item.open .faq-question:hover::after {
  background: var(--accent-hover);
  box-shadow: 0 0 12px rgba(79, 140, 255, 0.7);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.25s ease,
              opacity 0.3s ease;
  padding: 0 22px;
  opacity: 0;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 22px 18px;
  opacity: 1;
}
.faq-answer p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(140, 150, 165, 0.1);
}

/* ============================================================
   Footer — 60% + blur
   ============================================================ */
footer {
  background: rgba(14, 17, 22, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  margin-top: 56px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.footer-brand { max-width: 340px; }
.footer-brand .logo-text { font-size: 19px; margin-bottom: 10px; }
.footer-brand p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.65;
}
.footer-links { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h5 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-dim);
}


/* ============================================================
   Animations d'entrée
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-in { opacity: 0; animation: fadeUp 0.6s ease forwards; }
.animate-in.delay-1 { animation-delay: 0.1s; }
.animate-in.delay-2 { animation-delay: 0.2s; }
.animate-in.delay-3 { animation-delay: 0.3s; }
.animate-in.delay-4 { animation-delay: 0.4s; }


/* ============================================================
   Bloc de confirmation unifié — 3 états
   ============================================================ */
.notify-already {
  padding: 18px 20px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.notify-already[hidden] { display: none !important; }

.notify-already-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.notify-already-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
  display: flex;
  align-items: center;
  justify-content: center;
}
.notify-already-icon svg { width: 16px; height: 16px; }

.notify-already-body { flex: 1; min-width: 0; }
/* Visibilité des états pilotée par data-mode sur le conteneur */
.notify-already-content { display: block; }

.notify-already-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #86efac;
  margin-bottom: 5px;
  line-height: 1.35;
}
.notify-already-sub {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.notify-already-sub sup { font-size: 0.7em; }
.notify-already-sub strong {
  color: var(--text);
  font-weight: 600;
}

/* L'email affiché dans le message — léger monospace discret */
.notify-already-email {
  color: #86efac;
  font-weight: 600;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.92em;
  word-break: break-all;
}

.notify-already-change {
  align-self: flex-start;
  background: transparent;
  border: 1px solid rgba(140, 150, 165, 0.2);
  color: var(--text-muted);
  padding: 7px 14px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.notify-already-change:hover {
  border-color: var(--accent);
  color: var(--text);
  background: var(--accent-dim);
}

/* ============================================================
   Section Contact — glass + accent bleu
   ============================================================ */
.contact-wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: 32px 30px 28px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
#contact-form[hidden] { display: none !important; }

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.contact-optional {
  font-size: 10.5px;
  font-weight: 400;
  color: var(--text-dim);
  text-transform: none;
  letter-spacing: 0;
}

.contact-input {
  width: 100%;
  padding: 12px 15px;
  background: rgba(14, 17, 22, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.contact-input::placeholder { color: var(--text-dim); }

.contact-input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(14, 17, 22, 0.75);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.contact-textarea {
  resize: vertical;
  min-height: 130px;
  max-height: 320px;
  line-height: 1.55;
  font-family: inherit;
}

.contact-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235f6975' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
  cursor: pointer;
}

.contact-select option {
  background: #1a2028;
  color: var(--text);
}

.contact-counter {
  font-size: 11px;
  color: var(--text-dim);
  text-align: right;
  margin-top: 2px;
}

.contact-legal {
  font-size: 11.5px;
  color: var(--text-dim);
  line-height: 1.55;
  padding-top: 6px;
  margin: 0;
}
.contact-legal a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(79, 140, 255, 0.35);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.2s ease;
}
.contact-legal a:hover {
  text-decoration-color: var(--accent);
}

.contact-submit {
  position: relative;
  width: 100%;
  padding: 14px 22px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(79, 140, 255, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  transition:
    background 0.25s ease,
    box-shadow 0.3s ease,
    transform 0.25s ease,
    opacity 0.2s ease;
}
.contact-submit:hover:not(:disabled) {
  background: var(--accent-hover);
  box-shadow: 0 6px 22px rgba(79, 140, 255, 0.5);
  transform: translateY(-1px);
}
.contact-submit:active:not(:disabled) { transform: translateY(0); }
.contact-submit:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.contact-error {
  padding: 11px 15px;
  border-radius: var(--radius);
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}
.contact-error[hidden] { display: none; }

.contact-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 12px 0;
}
.contact-success[hidden] { display: none; }

.contact-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-success-icon svg { width: 26px; height: 26px; }

.contact-success-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.01em;
}

.contact-success-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 380px;
}

.contact-success-change {
  background: transparent;
  border: 1px solid rgba(140, 150, 165, 0.2);
  color: var(--text-muted);
  padding: 9px 18px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.contact-success-change:hover {
  border-color: var(--accent);
  color: var(--text);
  background: var(--accent-dim);
}

.contact-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 560px) {
  .contact-wrap { padding: 24px 20px 22px; }
}