/* 루미에르 소개 사이트 — 앱과 같은 색: 잉크 바탕, 밝은 금, 크림 */
:root {
  --ink: #0b0a08;
  --ink-soft: #1a1712;
  --gold: #dfb94f;
  --gold-bright: #fde9a6;
  --cream: #fefdf8;
  --cream-soft: rgba(254, 253, 248, 0.72);
  --text: #1e1b16;
  --muted: #6b6456;
  --line: #e8e3d8;
  --bg: #fbfaf6;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 64px; }
body { font-family: var(--sans); color: var(--text); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* 머리 */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 20; transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease; }
/* 첫 화면을 지나면 반투명 검은 유리 띠로 */
.nav.solid { background: rgba(11, 10, 8, 0.72); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); box-shadow: 0 1px 0 rgba(223, 185, 79, 0.18); }
.nav.solid .wrap { height: 60px; }
.nav .wrap { transition: height 0.4s ease; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { font-family: var(--serif); font-size: 26px; letter-spacing: 4px; color: var(--gold); text-decoration: none; }
.brand .cap { font-size: 1.38em; }
.nav a.link { color: var(--cream-soft); text-decoration: none; font-size: 14px; margin-left: 20px; }
.nav a.link:hover, .nav a.link.active { color: var(--gold-bright); }
.nav a.link { position: relative; transition: color 0.3s ease; }
.nav a.link.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); }

/* 첫 화면 */
.hero { background: radial-gradient(120% 80% at 70% 20%, #1c1811 0%, var(--ink) 60%); color: var(--cream); padding: 140px 0 96px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.overline { font-size: 12px; letter-spacing: 4px; font-weight: 300; color: var(--gold-bright); margin: 0 0 20px; }
.lead { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; margin: 0 0 12px; color: #fff; }
.title { font-family: var(--sans); font-weight: 400; letter-spacing: -0.5px; font-size: clamp(40px, 5.4vw, 64px); line-height: 1.15; color: var(--gold-bright); margin: 0 0 28px; }
.body { color: var(--cream-soft); font-size: 17px; max-width: 30em; margin: 0 0 36px; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; border: 1px solid rgba(223, 185, 79, 0.5); color: var(--gold-bright); text-decoration: none; font-size: 15px; }
.store small { color: var(--cream-soft); font-size: 12px; }
.phone { width: min(300px, 100%); margin-left: auto; border-radius: 44px; padding: 10px; background: #000; box-shadow: 0 0 0 1px rgba(223, 185, 79, 0.35), 0 40px 80px rgba(0, 0, 0, 0.55); }
.phone img { border-radius: 36px; }

.title .latin { font-family: var(--serif); font-weight: 500; font-size: 1.12em; letter-spacing: 0; }

/* 세 갈래 */
section { padding: 96px 0; }
.eyebrow { font-size: 12px; letter-spacing: 4px; color: var(--gold); font-weight: 600; margin: 0 0 12px; }
h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.35; margin: 0 0 16px; }
.sub { color: var(--muted); margin: 0 0 48px; max-width: 36em; }
.lanes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
/*
  앱 소개 장의 폰 화면을 그대로 — 잘리지 않게 제 비율 그대로, 소개 장과 같은 검은 판 위에.
  한 갈래에 한 줄씩, 폰은 크게 한쪽에, 글은 다른 쪽에. 줄마다 좌우를 바꾼다.
*/
.lanes { display: flex; flex-direction: column; gap: 28px; }
.lane { background: var(--ink); border-radius: 28px; overflow: hidden; display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; }
.lane:nth-child(even) { grid-template-columns: 0.85fr 1.15fr; }
.lane:nth-child(even) .shot { order: 2; }
/* 폰 틀·카메라 섬·상태 표시줄 없이 앱 화면만 — 담긴 정보를 최대한 크게. */
.lane .shot { padding: 40px 32px; }
.lane img { width: 100%; max-width: 360px; margin: 0 auto; border-radius: 22px; box-shadow: 0 0 0 1px rgba(223, 185, 79, 0.25), 0 24px 60px rgba(0, 0, 0, 0.5); }
.lane .text { padding: 40px 48px 40px 16px; }
.lane:nth-child(even) .text { padding: 40px 16px 40px 48px; }
.lane h3 { margin: 0 0 8px; font-size: 30px; color: var(--gold-bright); font-weight: 600; }
.lane .lane-lead { color: var(--gold); font-weight: 700; font-size: 18px; margin: 0 0 12px; }
.lane p { margin: 0; color: var(--cream-soft); font-size: 16px; }

/* 검증 */
.verify { background: var(--ink-soft); color: var(--cream); }
.verify .sub { color: var(--cream-soft); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { border: 1px solid rgba(223, 185, 79, 0.28); border-radius: 18px; padding: 26px; }
.step::before { counter-increment: step; content: '0' counter(step); display: block; font-family: var(--serif); font-size: 30px; color: var(--gold); margin-bottom: 10px; }
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--cream-soft); font-size: 15px; }

/* 뱃지 — 앱의 BADGES OF LUMIERE 액자처럼 금 테 */
.badge-groups { display: grid; gap: 36px; }
.badge-group h3 { font-size: 14px; letter-spacing: 2px; color: var(--muted); margin: 0 0 14px; font-weight: 600; }
.badge-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.badge { background: #fff; border: 1px solid rgba(201, 162, 60, 0.45); border-radius: 18px; padding: 20px 22px; }
.badge-name { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.badge-name::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, #f6dfa0, #dfb84f 55%, #c29a34); }
.badge-tiers { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 10px; }
.badge-tiers span { font-size: 12px; color: #8a6d1f; background: rgba(223, 185, 79, 0.14); border-radius: 999px; padding: 2px 10px; }
.badge p { margin: 0; color: var(--muted); font-size: 14px; }

/* 그 밖의 기능 */
.more { background: #fff; }
.more-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.more-item { border-top: 2px solid var(--gold); padding-top: 18px; }
.more-item h3 { margin: 0 0 6px; font-size: 18px; }
.more-item p { margin: 0; color: var(--muted); font-size: 15px; }

/* 자주 묻는 질문 */
.faq-group { margin-top: 36px; }
.faq .faq-group > h2 { font-size: 14px; letter-spacing: 2px; color: var(--muted); margin: 0 0 4px; font-weight: 600; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-size: 17px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); margin: 12px 0 0; white-space: pre-line; }

/* 문의 */
.contact { text-align: center; }
.contact .mail { display: inline-block; margin-top: 8px; font-size: 18px; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }

/* 바닥 */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 13px; color: var(--muted); }
footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer nav a { margin-right: 18px; text-decoration: none; }
footer nav a:hover { color: var(--text); }
footer .biz { margin-top: 16px; line-height: 1.8; }

/* 문서 (개인정보처리방침·이용약관) */
.doc-head { background: var(--ink); color: var(--cream); padding: 120px 0 56px; }
.doc-head h1 { margin: 0 0 8px; font-size: 32px; }
.doc-head p { margin: 0; color: var(--cream-soft); }
.doc { max-width: 760px; padding: 56px 24px 96px; margin: 0 auto; }
.doc h2 { font-size: 20px; margin: 40px 0 10px; }
.doc p, .doc li { color: #3a352c; font-size: 16px; }
.doc ul { padding-left: 20px; }

@media (max-width: 860px) {
  .hero { padding: 112px 0 72px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .phone { margin: 16px auto 0; width: min(260px, 80%); }
  .steps, .more-grid { grid-template-columns: 1fr; }
  .lane, .lane:nth-child(even) { grid-template-columns: 1fr; }
  .lane:nth-child(even) .shot { order: 0; }
  .lane .text, .lane:nth-child(even) .text { padding: 8px 24px 32px; }
  .lane .shot { padding: 28px 24px 8px; }
  section { padding: 72px 0; }
  .nav a.link { display: none; }
}

/* ── 스크롤 효과 ── */
/* 들어올 때 아래에서 천천히 떠오른다. 스크립트가 켜진 때만 숨겨 둔다 — 꺼져 있으면 그대로 보인다. */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.js .reveal.in { opacity: 1; transform: none; }
/* 갈래 줄의 화면은 떠오르며 아주 조금 커진다 */
.js .lane.reveal img { transform: scale(0.96); transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.15s; }
.js .lane.reveal.in img { transform: none; }

/* 첫 화면 'Lumiere'에 금빛이 한 번 스치고 지나간다 */
.title .latin { background: linear-gradient(100deg, var(--gold-bright) 0%, var(--gold-bright) 40%, #fff7da 50%, var(--gold-bright) 60%, var(--gold-bright) 100%); background-size: 250% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 2.6s ease 0.9s 1 both; }
@keyframes shine { to { background-position: 0% 0; } }
.hero .phone { transition: transform 0.1s linear; will-change: transform; }

/* 맨 위의 금빛 진행 줄 */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, #c29a34, var(--gold), var(--gold-bright)); transform-origin: 0 50%; transform: scaleX(0); z-index: 30; pointer-events: none; }

/* 맨 위로 */
.to-top { position: fixed; right: 24px; bottom: 24px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(223, 185, 79, 0.5); background: rgba(11, 10, 8, 0.78); color: var(--gold-bright); display: grid; place-items: center; cursor: pointer; z-index: 25; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 0.35s ease, transform 0.35s ease, background 0.2s ease; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: rgba(11, 10, 8, 0.95); }

/* 카드에 손을 올리면 살짝 들린다 */
.badge, .step { transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease; }
.badge:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(30, 27, 22, 0.08); border-color: rgba(201, 162, 60, 0.8); }
.step:hover { transform: translateY(-3px); border-color: rgba(223, 185, 79, 0.6); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .lane.reveal img { opacity: 1; transform: none; transition: none; }
  .title .latin { animation: none; background-position: 0 0; }
  .progress, .to-top { transition: none; }
}
