/* ============================================================
   WONDERGATE VR — Home-specific layout
   À charger APRÈS site.css. Couvre les sections propres à la
   page d'accueil (hero plein écran, proof bar, moods, marquee,
   réassurance, rain, visit, faq). Le reste vient de site.css.
   ============================================================ */

/* ---------- HERO ---------- */
header {
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden; padding: 140px 0 80px;
}
.veil { position: absolute; inset: 0; pointer-events: none; }
.veil i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; display: block; will-change: transform; }
.veil i:nth-child(1) { width: 60vw; height: 60vw; background: radial-gradient(circle, rgba(0,240,255,.14), transparent 65%); top: -22vw; left: -14vw; animation: drift1 26s ease-in-out infinite alternate; }
.veil i:nth-child(2) { width: 52vw; height: 52vw; background: radial-gradient(circle, rgba(70,255,166,.10), transparent 65%); bottom: -18vw; right: -12vw; animation: drift2 32s ease-in-out infinite alternate; }
.veil i:nth-child(3) { width: 38vw; height: 38vw; background: radial-gradient(circle, rgba(124,92,255,.12), transparent 65%); top: 28%; right: 18%; animation: drift1 38s ease-in-out infinite alternate-reverse; }
.ridge { position: absolute; bottom: -2px; left: 0; right: 0; pointer-events: none; opacity: .9; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.22em;
  color: var(--aurora); border: 1px solid rgba(70, 255, 166, 0.25);
  padding: 9px 18px; border-radius: 999px; margin-bottom: 34px; background: rgba(70, 255, 166, 0.05);
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--aurora); box-shadow: 0 0 12px var(--aurora); animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1 } 50% { opacity: 0.35 } }
header h1 { font-size: clamp(34px, 6.2vw, 68px); letter-spacing: 0.04em; color: #F2FAFF; max-width: 880px; }
header h1 em { font-style: normal; color: var(--cyan); text-shadow: 0 0 34px rgba(0, 240, 255, 0.45); }
.hero-sub { font-size: clamp(17px, 2vw, 21px); color: var(--muted); max-width: 560px; margin: 28px 0 44px; }
.hero-sub b { color: var(--ice); font-weight: 500; }
.hero-ctas { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.hero-meta { margin-top: 60px; display: flex; gap: 34px; flex-wrap: wrap; }
.hero-meta div { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.16em; color: #5F7A94; }
.hero-meta b { color: var(--ice); font-weight: 400; }

/* ---------- PROOF BAR ---------- */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 0; background: rgba(7, 16, 28, 0.5); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid > div { padding: 38px 20px; text-align: center; border-left: 1px solid var(--line); transition: background 400ms var(--ease); }
.proof-grid > div:first-child { border-left: 0; }
.proof-grid > div:hover { background: rgba(0, 240, 255, 0.03); }
.proof-num { font-family: 'Bruno Ace SC', sans-serif; font-size: 34px; }
.proof-grid small { display: block; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.2em; color: #5F7A94; margin-top: 8px; text-transform: uppercase; }
@media (max-width: 760px) { .proof-grid { grid-template-columns: 1fr 1fr; } .proof-grid > div:nth-child(3) { border-left: 0; } .proof-grid > div { border-top: 1px solid var(--line); } .proof-grid > div:nth-child(-n+2) { border-top: 0; } }

/* ---------- MOODS ---------- */
.moods-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
@media (max-width: 860px) { .moods-grid { grid-template-columns: 1fr; } }
.mood { position: relative; border-radius: 20px; padding: 42px 34px; background: var(--night-2); border: 1px solid var(--line); transition: transform 500ms var(--ease), border-color 500ms var(--ease), box-shadow 500ms var(--ease); overflow: hidden; }
.mood::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--mood-c); opacity: 0.5; transition: opacity 500ms var(--ease); }
.mood::after { content: ""; position: absolute; top: -40%; left: 50%; width: 130%; height: 80%; transform: translateX(-50%); background: radial-gradient(ellipse at top, var(--mood-glow), transparent 70%); opacity: 0; transition: opacity 600ms var(--ease); pointer-events: none; }
.mood:hover { transform: translateY(-6px); border-color: rgba(191, 239, 255, 0.22); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
.mood:hover::before, .mood:hover::after { opacity: 1; }
.mood.wonder { --mood-c: var(--aurora); --mood-glow: rgba(70, 255, 166, 0.09); }
.mood.mystery { --mood-c: var(--violet); --mood-glow: rgba(124, 92, 255, 0.11); }
.mood.action { --mood-c: var(--cyan); --mood-glow: rgba(0, 240, 255, 0.09); }
.mood .tag { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.3em; color: var(--mood-c); text-transform: uppercase; }
.mood h3 { font-size: 22px; margin: 16px 0 14px; color: #EAF6FF; letter-spacing: 0.05em; }
.mood p { font-size: 15.5px; color: var(--muted); }
.mood .img-slot { margin: -42px -34px 28px; height: 170px; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, var(--night-3), var(--night-2)); border-bottom: 1px solid var(--line); font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.2em; color: #2E4258; }

/* ---------- LANGUAGES ---------- */
.langs { background: var(--night-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.marquee { display: flex; gap: 14px; width: max-content; animation: scroll 46s linear infinite; margin-top: 52px; }
.marquee:hover { animation-play-state: paused; }
@keyframes scroll { from { transform: translateX(0) } to { transform: translateX(-50%) } }
.chip { font-family: 'JetBrains Mono', monospace; font-size: 13px; letter-spacing: 0.1em; color: var(--ice); background: rgba(191, 239, 255, 0.04); border: 1px solid var(--line); padding: 12px 24px; border-radius: 999px; white-space: nowrap; transition: border-color 300ms var(--ease), color 300ms var(--ease), background 300ms var(--ease); }
.chip:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(0, 240, 255, 0.06); }

/* ---------- REASSURANCE ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; gap: 40px; } }
.gate-visual { border-radius: 24px; border: 1px solid var(--line); background: var(--night-2); min-height: 380px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.gate-visual .slot-note { position: absolute; bottom: 14px; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.2em; color: #2E4258; }

/* ---------- RAIN STRIP ---------- */
.rain { text-align: center; background: linear-gradient(180deg, var(--night), var(--night-3) 50%, var(--night)); }
.rain h2 { max-width: 700px; margin: 0 auto 18px; }
.rain .lead { margin: 0 auto 40px; }

/* ---------- VISIT ---------- */
.visit-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 22px; margin-top: 56px; }
@media (max-width: 860px) { .visit-grid { grid-template-columns: 1fr; } }
.visit-card { border: 1px solid var(--line); border-radius: 20px; padding: 40px 36px; background: var(--night-2); }
.visit-card h3 { font-size: 17px; letter-spacing: 0.08em; color: var(--ice); margin-bottom: 22px; }
.visit-row { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.visit-row:last-child { border-bottom: 0; }
.visit-row span:first-child { color: #5F7A94; font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; padding-top: 3px; }
.visit-row span:last-child { color: var(--text); text-align: right; }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 50px; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 26px 6px; font-size: 17px; font-weight: 500; color: var(--ice); transition: color 300ms var(--ease); }
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--cyan); }
summary .pl { font-family: 'JetBrains Mono', monospace; color: var(--violet); font-size: 18px; transition: transform 400ms var(--ease); flex-shrink: 0; margin-left: 20px; }
details[open] .pl { transform: rotate(45deg); color: var(--cyan); }
details p { padding: 0 6px 28px; color: var(--muted); max-width: 720px; font-size: 15.5px; }

/* ---------- LANGUAGE SWITCHER (nav) ---------- */
.lang-switch { display: inline-flex; gap: 2px; align-items: center; font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.1em; margin-left: 6px; }
.lang-switch a { color: #5F7A94; padding: 4px 7px; border-radius: 6px; transition: color 250ms var(--ease), background 250ms var(--ease); }
.lang-switch a:hover { color: var(--ice); }
.lang-switch a.on { color: var(--night); background: var(--cyan); }
@media (max-width: 760px) { .lang-switch { display: none; } }

/* ---------- IMAGE SLOTS — vraies photos Gemini ---------- */
.mood .img-slot { font-size: 0 !important; color: transparent; position: relative; }
.mood.wonder .img-slot { background: linear-gradient(180deg, rgba(5,5,9,.05), rgba(5,5,9,.55)), url(img/wg-09.webp) center/cover; }
.mood.mystery .img-slot { background: linear-gradient(180deg, rgba(5,5,9,.05), rgba(5,5,9,.55)), url(img/wg-31.webp) center/cover; }
.mood.action .img-slot { background: linear-gradient(180deg, rgba(5,5,9,.05), rgba(5,5,9,.55)), url(img/wg-63.webp) center/cover; }
.gate-visual { background: linear-gradient(180deg, rgba(5,5,9,.20), rgba(5,5,9,.55)), url(img/wg-13.webp) center/cover, var(--night-2); }
.gate-visual svg, .gate-visual .slot-note { display: none; }
