/* Vandilion Connect – habillage or et aqua, limité à la page #connect (les pages parfum ne changent pas) */
.connect {
  --cx-aqua: #22d3ee;
  --cx-aqua-2: #67e8f9;
  --cx-glass: rgba(14, 40, 64, .38);
  --cx-line: rgba(125, 211, 252, .22);
  --cx-ease: cubic-bezier(.2, .8, .2, 1);
  position: relative;
  isolation: isolate;
  padding: 8px 0 24px;
}
/* aurore aqua derrière le contenu */
.connect::before {
  content: "";
  position: absolute;
  inset: -40px 0 auto;
  height: 520px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(40% 60% at 20% 20%, rgba(34, 211, 238, .22), transparent 70%),
    radial-gradient(35% 55% at 85% 10%, rgba(201, 164, 92, .20), transparent 70%);
  animation: cx-drift 22s ease-in-out infinite alternate;
}
@keyframes cx-drift { to { transform: translate(3%, 4%) scale(1.06); } }

.cx-ad {
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--cx-line);
  border-radius: 12px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, .03);
}
.cx-ad strong { color: var(--gold-2); letter-spacing: .3px; }
.cx-ad-de { display: block; margin-top: 4px; font-size: 12px; opacity: .8; }

.cx-hero { text-align: center; padding: 36px 0 18px; }
.cx-eyebrow { letter-spacing: 6px; font-size: 12px; color: var(--gold-2); margin: 0; }
.cx-hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 7vw, 64px);
  margin: 4px 0 8px;
  background: linear-gradient(100deg, var(--gold-2) 10%, #fff 40%, var(--cx-aqua-2) 70%, var(--gold) 95%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: cx-shine 8s linear infinite;
}
@keyframes cx-shine { from { background-position: 100% 0; } to { background-position: -100% 0; } }

.cx-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .015)), var(--cx-glass);
  border: 1px solid var(--cx-line);
  border-radius: 20px;
  padding: 20px;
  margin: 16px 0;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .08);
  transition: border-color .35s var(--cx-ease), transform .35s var(--cx-ease);
  animation: cx-rise .5s var(--cx-ease) both;
}
.cx-card:hover { border-color: rgba(34, 211, 238, .45); }
.cx-card h2 { margin-top: 0; color: #e8f9ff; }
@keyframes cx-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.cx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.cx-grid .cx-card { margin: 0; }

.cx-dests { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 12px; }
.cx-dest {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--cx-line);
  background: rgba(2, 12, 22, .35);
  transition: transform .25s var(--cx-ease), border-color .25s var(--cx-ease), box-shadow .25s var(--cx-ease);
}
.cx-dest:hover { transform: translateY(-3px); border-color: rgba(201, 164, 92, .6); box-shadow: 0 10px 30px rgba(34, 211, 238, .12); }
.cx-flag { font-size: 30px; line-height: 1; }

.cx-btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 12px;
  color: #0b0708;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 45%, var(--cx-aqua) 120%);
  box-shadow: 0 6px 20px rgba(34, 211, 238, .25), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .18s var(--cx-ease), box-shadow .25s var(--cx-ease);
}
.cx-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(34, 211, 238, .4), inset 0 1px 0 rgba(255, 255, 255, .4); }
.cx-btn:active { transform: scale(.97); }
.cx-btn:focus-visible { outline: 2px solid var(--cx-aqua-2); outline-offset: 3px; }
.cx-soon { font-size: 13px; color: var(--muted); border: 1px dashed var(--cx-line); border-radius: 10px; padding: 6px 10px; }
.cx-partner { font-size: 13px; color: var(--muted); }
.cx-embed { width: 100%; min-height: 640px; border: 1px solid var(--cx-line); border-radius: 16px; background: #fff; }
.cx-steps { margin: 0; padding-left: 20px; }
.cx-steps li { margin: 6px 0; }
[dir="rtl"] .cx-steps { padding-left: 0; padding-right: 20px; }
.cx-legal p { font-size: 13px; color: var(--muted); }

.main-nav .connect-link {
  background: linear-gradient(90deg, var(--gold-2), var(--cx-aqua-2, #67e8f9));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .connect::before, .cx-hero h1, .cx-card { animation: none; }
  .cx-dest, .cx-btn, .cx-card { transition: none; }
}

/* titres des petites cartes : plus compacts, coupure des mots longs selon la langue */
.cx-grid .cx-card h2 { font-size: 21px; line-height: 1.25; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }

/* ---------- catégories et partenaires : icônes au trait, tuiles en verre ---------- */
.cx-ico { width: 26px; height: 26px; display: block; }
.cx-ico-wrap {
  flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  color: #a5f3fc; border: 1px solid rgba(125, 211, 252, .35);
  background: radial-gradient(circle at 30% 25%, rgba(34, 211, 238, .22), rgba(201, 164, 92, .10) 70%);
  box-shadow: 0 0 18px rgba(34, 211, 238, .18), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.cx-ico-wrap .cx-ico { filter: drop-shadow(0 0 4px rgba(34, 211, 238, .55)); }
.cx-cat-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
.cx-cat-head h2 { margin: 2px 0 6px; }
.cx-cat-head p { margin: 0; color: var(--muted); }
.cx-plist { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.cx-p {
  position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 12px;
  border-radius: 14px; text-decoration: none; color: var(--text);
  border: 1px solid rgba(125, 211, 252, .2); background: rgba(2, 12, 22, .4); overflow: hidden;
  transition: transform .25s var(--cx-ease), border-color .25s var(--cx-ease), box-shadow .25s var(--cx-ease);
}
.cx-p::before {  /* fin liseré or → aqua en haut de la tuile */
  content: ""; position: absolute; inset: 0 0 auto; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--cx-aqua)); opacity: .55;
}
.cx-p b { font-size: 1.02rem; letter-spacing: .02em; }
.cx-p span { font-size: .82rem; color: var(--muted); }
.cx-p em { font-style: normal; font-size: .85rem; font-weight: 700; color: var(--gold-2); margin-top: 6px; }
.cx-p:hover { transform: translateY(-2px); border-color: rgba(201, 164, 92, .6); box-shadow: 0 10px 28px rgba(34, 211, 238, .14); }
.cx-p:hover em { color: var(--cx-aqua-2); }
.cx-p:focus-visible { outline: 2px solid var(--cx-aqua-2); outline-offset: 2px; }
.cx-teaser { display: flex; gap: 16px; align-items: center; text-decoration: none; color: var(--text); }
.cx-teaser h2 { margin: 0 0 4px; }
.cx-teaser p { margin: 0; color: var(--muted); }
.cx-teaser em { margin-inline-start: auto; font-style: normal; font-weight: 700; color: var(--gold-2); white-space: nowrap; }
.dv-tip h3 { display: flex; align-items: center; gap: 8px; }
.dv-tip-ico { color: #a5f3fc; display: inline-grid; }
.dv-tip-ico .cx-ico { width: 20px; height: 20px; }
@media (max-width: 560px) {
  .cx-teaser { flex-wrap: wrap; }
  .cx-teaser em { margin-inline-start: 0; }
  .cx-plist { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .cx-p { transition: none; } }

/* guide bien-être (Connect) */
.cx-guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.cx-guide-item { padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(125, 211, 252, .22); background: rgba(2, 12, 22, .35); }
.cx-guide-item h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 1rem; color: var(--gold-2); }
.cx-guide-item p { margin: 0; font-size: .92rem; color: var(--muted); }
.cx-calc { border-color: rgba(201, 164, 92, .55); background: linear-gradient(120deg, rgba(201, 164, 92, .12), rgba(34, 211, 238, .08)), var(--cx-glass); }
