/* Styles partagés des pages occasions (liste de Noël, anniversaire, naissance, mariage). */
:root {
  --bg: #141313;
  --bg-2: #1b1919;
  --card: #222020;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #fbf8f1;
  --muted: #a8a199;
  --yellow: #f9d03f;
  --orange: #ff8a3d;
  --pink: #edb6c8;
  --purple: #8b6cf6;
  --accent: var(--yellow);
  --radius: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
body[data-occ="christmas"] { --accent: #e5484d; }
body[data-occ="birthday"] { --accent: var(--orange); }
body[data-occ="birth"] { --accent: #8ec8e8; }
body[data-occ="wedding"] { --accent: var(--pink); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

.grad {
  background: linear-gradient(100deg, var(--yellow) 0%, #ffb347 35%, var(--orange) 55%, var(--yellow) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* Navigation */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; background: linear-gradient(90deg, var(--yellow), var(--orange)); transform-origin: left; transform: scaleX(0); }
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 68px; display: flex; align-items: center; transition: background 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(20, 19, 19, 0.72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.05); color: var(--text); font-size: 13px; font-weight: 600; text-decoration: none; transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease); }
.lang svg { width: 15px; height: 15px; color: var(--yellow); }
.lang:hover { transform: translateY(-2px); background: rgba(249, 208, 63, 0.12); border-color: rgba(249, 208, 63, 0.5); }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; font: 600 15px/1 "Poppins", sans-serif; text-decoration: none; border: 0; cursor: pointer; transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.btn-primary { background: var(--yellow); color: #1a1500; box-shadow: 0 8px 30px -8px rgba(249, 208, 63, 0.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -8px rgba(249, 208, 63, 0.7); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

.stores { display: flex; flex-wrap: wrap; gap: 14px; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px 12px 18px; border-radius: 18px; text-decoration: none; background: var(--yellow); color: #1a1500; box-shadow: 0 8px 30px -8px rgba(249, 208, 63, 0.55); transition: transform 0.3s var(--ease), background 0.3s, box-shadow 0.3s; }
.store:hover { transform: translateY(-3px); background: #ffdb5c; box-shadow: 0 14px 36px -8px rgba(249, 208, 63, 0.7); }
.store svg { width: 22px; height: 22px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.2; }
.store small { font-size: 11px; font-weight: 400; opacity: 0.7; }
.store strong { font-size: 16px; font-weight: 600; }

/* Hero */
.hero { position: relative; padding: 140px 0 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.blob.b1 { width: 520px; height: 520px; background: color-mix(in srgb, var(--accent) 35%, transparent); top: -160px; right: -80px; animation: drift1 16s ease-in-out infinite alternate; }
.blob.b2 { width: 440px; height: 440px; background: rgba(139, 108, 246, 0.26); bottom: -160px; left: -140px; animation: drift2 19s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-60px, 70px) scale(1.12); } }
@keyframes drift2 { to { transform: translate(80px, -50px) scale(1.1); } }
.grid-fade { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000, transparent 75%); opacity: 0.5; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-grid > * { min-width: 0; }
.crumbs { margin: 0 0 22px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); animation: fadeUp 0.9s var(--ease) both; }
.crumbs li + li::before { content: "›"; margin-right: 8px; opacity: 0.6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--yellow); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); color: var(--accent); font-size: 13px; font-weight: 500; margin-bottom: 22px; animation: fadeUp 0.9s var(--ease) both; }
h1 { margin: 0 0 22px; font-size: clamp(38px, 5vw, 64px); line-height: 1.06; font-weight: 800; letter-spacing: -0.035em; animation: fadeUp 0.9s 0.1s var(--ease) both; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 560px; margin: 0 0 34px; animation: fadeUp 1s 0.3s var(--ease) both; }
.hero .stores { animation: fadeUp 1s 0.45s var(--ease) both; }

/* Téléphones */
.phone { --w: 260px; width: var(--w); position: relative; padding: calc(var(--w) * 0.028); border-radius: calc(var(--w) * 0.16); background: linear-gradient(145deg, #413d3d, #0d0c0c 40%, #2b2828); box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.1) inset, 0 0 60px -10px color-mix(in srgb, var(--accent) 28%, transparent); }
.phone img { display: block; width: 100%; height: auto; border-radius: calc(var(--w) * 0.135); background: #000; }
.shot { display: block; overflow: hidden; border-radius: calc(var(--w) * 0.135); background: #000; }
.shot img { border-radius: 0; margin-top: -11.1%; }
.shot.list img { margin-top: -6.13%; }
.pair { --pw: clamp(190px, 21vw, 250px); display: flex; justify-content: center; align-items: center; position: relative; animation: fadeUp 1.2s 0.2s var(--ease) both; }
.pair .phone { --w: calc(var(--pw) * 0.86); }
.pair .phone:first-child { transform: rotate(-5deg) translateX(8%); z-index: 1; filter: brightness(0.85); }
.pair .phone:last-child { transform: rotate(4deg) translate(-6%, 5%); z-index: 2; margin-left: -10%; }
.pair.single .phone { --w: var(--pw); transform: none; margin: 0; filter: none; }

/* Sections */
.section { padding: 100px 0; position: relative; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
h2 { margin: 0 0 18px; font-size: clamp(30px, 4vw, 48px); line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; }
.sub { color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); max-width: 620px; margin: 0; }
.head { margin-bottom: 56px; }
.head.center { text-align: center; }
.head.center .sub { margin-inline: auto; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 34px 30px 36px; border-radius: var(--radius); background: linear-gradient(180deg, var(--card), var(--bg-2)); border: 1px solid var(--line); overflow: hidden; transition: transform 0.4s var(--ease), border-color 0.4s; }
.step:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.step::after { counter-increment: step; content: counter(step); position: absolute; top: 14px; right: 24px; font-size: 96px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.09); }
.step .ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, transparent); font-size: 26px; margin-bottom: 26px; }
.step h3 { margin: 0 0 10px; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split > * { min-width: 0; }
.ticks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 16px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; color: #d9d4cb; }
.ticks li b { color: var(--text); font-weight: 600; }
.ticks svg { flex: none; width: 22px; height: 22px; margin-top: 2px; padding: 4px; border-radius: 50%; background: var(--accent); color: #1a1500; }

/* Article / conseils */
.prose { width: min(760px, 100% - 40px); margin-inline: auto; }
.prose h2 { text-align: center; }
.prose h3 { margin: 40px 0 10px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.prose p, .prose li { color: #d9d4cb; font-size: 16.5px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--yellow); }

/* FAQ */
.faq-wrap { width: min(760px, 100% - 40px); margin-inline: auto; }
.faq { border-radius: 22px; background: linear-gradient(180deg, var(--card), var(--bg-2)); border: 1px solid var(--line); margin-bottom: 12px; transition: border-color 0.3s; }
.faq:hover { border-color: var(--line-2); }
.faq[open] { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; border-radius: 22px; }
.faq summary::-webkit-details-marker { display: none; }
.faq h3 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.4; }
.faq .chev { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.06); color: var(--yellow); transition: transform 0.4s var(--ease); }
.faq .chev svg { width: 16px; height: 16px; }
.faq[open] .chev { transform: rotate(180deg); }
.faq .ans { padding: 0 24px 22px; }
.faq .ans p { margin: 0; color: #d9d4cb; font-size: 15.5px; }

/* Autres occasions */
.others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.other { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-radius: 22px; text-decoration: none; background: linear-gradient(180deg, var(--card), var(--bg-2)); border: 1px solid var(--line); transition: transform 0.35s var(--ease), border-color 0.35s; }
.other:hover { transform: translateY(-4px); border-color: rgba(249, 208, 63, 0.45); }
.other .e { font-size: 30px; }
.other strong { display: block; font-size: 16px; font-weight: 600; }
.other small { color: var(--muted); font-size: 13px; }

/* CTA */
.cta-card { position: relative; text-align: center; padding: clamp(56px, 8vw, 96px) 24px; border-radius: 44px; overflow: hidden; background: radial-gradient(ellipse 70% 90% at 50% 0%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 65%), linear-gradient(180deg, #211e1a, #171616); border: 1px solid rgba(249, 208, 63, 0.22); }
.cta-card img { width: 104px; height: 104px; border-radius: 28px; margin-bottom: 26px; box-shadow: 0 30px 80px -20px rgba(249, 208, 63, 0.45); }
.cta-card h2 { max-width: 760px; margin-inline: auto; }
.cta-card .sub { margin: 0 auto 34px; }
.cta-card .stores { justify-content: center; }

footer { padding: 56px 0 44px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; align-items: center; padding-top: 32px; border-top: 1px solid var(--line); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.foot nav a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.foot nav a:hover, .foot nav a[aria-current] { color: var(--yellow); }
.foot small { color: var(--muted); font-size: 13px; }

@media (max-width: 980px) {
  .hero { padding-top: 112px; }
  .hero-grid, .split { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { text-align: center; }
  .crumbs, .hero .stores { justify-content: center; }
  .lead { margin-inline: auto; }
  .pair { margin-top: 20px; }
  .steps, .others { grid-template-columns: 1fr; }
  .section { padding: 76px 0; }
  .split .pair { order: 2; }
}
@media (max-width: 760px) {
  .nav .btn { display: none; }
  .pair { --pw: min(46vw, 210px); }
  .pair.single { --pw: min(62vw, 240px); }
  .head { margin-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
