/* Just Drop Love — le site, aux couleurs de l'app (la palette de nuit du lot 37). */
:root {
  --night: #1A1016;
  --night-2: #241722;
  --card: #2F2030;
  --line: rgba(255, 246, 236, .12);
  --paper: #FFF6EC;
  --muted: rgba(255, 246, 236, .68);
  --plum: #D095C6;
  --pink: #E8738A;
  --peach: #FFA98C;
  --sunset: #FFD9A8;
  --gold: #F2B138;
  --bolt: #FF5C8A;
  --grad: linear-gradient(100deg, #F6A07F 0%, #E8738A 52%, #D095C6 100%);
  --serif: "New York", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, ui-serif, serif;
  --sans: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --header-bg: rgba(26, 16, 22, .82);
  --placeholder: rgba(255, 246, 236, .45);
  --ok: #9BE0B0;
  --err: #FFB4C2;
  --on-grad: #2A1626;
  color-scheme: dark;
}
/* Le mode clair : la palette de jour de l'app (lot 37). Les variables gardent
   leur nom : --night est le fond, --paper le texte. */
:root[data-theme="light"] {
  --night: #FFF6EC;
  --night-2: #FFEEDD;
  --card: #FFFFFF;
  --line: rgba(64, 42, 61, .14);
  --paper: #402A3D;
  --muted: rgba(64, 42, 61, .7);
  --plum: #6B4064;
  --sunset: #6B4064;
  --header-bg: rgba(255, 246, 236, .86);
  --placeholder: rgba(64, 42, 61, .45);
  --ok: #2F7A4A;
  --err: #B3264A;
  color-scheme: light;
}
/* Flash Fusion garde sa nuit dans les deux modes, comme dans l'app. */
:root[data-theme="light"] .flash {
  --night: #1A1016; --card: #2F2030; --line: rgba(255, 246, 236, .12);
  --paper: #FFF6EC; --muted: rgba(255, 246, 236, .68); color: var(--paper);
}
.theme-toggle { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--card);
  color: var(--paper); cursor: pointer; display: grid; place-items: center; padding: 0; }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.theme-toggle .sun { display: none; }
:root[data-theme="light"] .theme-toggle .sun { display: block; }
:root[data-theme="light"] .theme-toggle .moon { display: none; }
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--night); color: var(--paper); font: 400 16px/1.55 var(--sans); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; margin: 0; letter-spacing: -.01em; }
:focus-visible { outline: 3px solid var(--sunset); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); color: var(--night); padding: 8px 14px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 8px; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px var(--gutter); background: var(--header-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; font-size: 18px; text-decoration: none; }
.brand svg { width: 34px; height: 34px; }
.top nav { display: flex; gap: 14px; align-items: center; font-size: 14px; }
.top nav > a { text-decoration: none; color: var(--muted); }
.top nav > a:hover { color: var(--paper); }
.top nav .nav-cta { color: var(--on-grad); background: var(--grad); padding: 8px 16px; border-radius: 999px; font-weight: 700; }
@media (max-width: 720px) { .top nav > a:not(.nav-cta) { display: none; } }

.btn { display: inline-block; border: 0; cursor: pointer; background: var(--grad); color: var(--on-grad); font: 700 16px/1 var(--sans);
  padding: 16px 28px; border-radius: 999px; text-decoration: none; box-shadow: 0 10px 30px rgba(232, 115, 138, .35); }
.btn:hover { filter: brightness(1.05); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Le haut de page */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; max-width: 1180px; margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) var(--gutter) clamp(56px, 8vw, 110px); }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); line-height: 1.02; }
.hero .lead { font-size: clamp(17px, 1.7vw, 20px); color: var(--muted); max-width: 34em; margin: 22px 0 30px; }
.hero .lead strong { color: var(--paper); }
.age { font-size: 13px; color: var(--muted); margin-top: 16px; }
.hero-phones { position: relative; height: clamp(420px, 52vw, 620px); }
.ph { position: absolute; width: 44%; border-radius: 28px; border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0, 0, 0, .55); }
.ph-a { left: 0; top: 10%; transform: rotate(-6deg); }
.ph-b { left: 28%; top: 0; z-index: 2; box-shadow: 0 30px 80px rgba(255, 92, 138, .35); }
.ph-c { right: 0; top: 14%; transform: rotate(6deg); }
@media (max-width: 860px) {
  .ph { width: 40%; } .ph-a { left: 3%; } .ph-c { right: 3%; }
  .hero { grid-template-columns: 1fr; text-align: left; }
  .hero-phones { height: 118vw; max-height: 560px; }
}

/* Les sections */
.band, .couple { padding: clamp(56px, 8vw, 100px) 0; border-top: 1px solid var(--line); }
.band.alt { background: var(--night-2); }
.intro { max-width: 760px; padding: 0 var(--gutter); margin: 0 auto 34px; text-align: center; }
.intro h2, .flash-head h2, .signup h2 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.08; }
.intro p { color: var(--muted); font-size: 17px; margin: 16px auto 0; max-width: 40em; }

/* Les rangées de captures */
.rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px var(--gutter) 22px;
  scrollbar-width: thin; scrollbar-color: var(--card) transparent; scroll-padding-inline: var(--gutter); }
.rail::-webkit-scrollbar { height: 6px; } .rail::-webkit-scrollbar-thumb { background: var(--card); border-radius: 6px; }
@media (min-width: 1240px) { .rail { padding-left: calc((100vw - 1180px) / 2); padding-right: calc((100vw - 1180px) / 2); scroll-padding-inline: calc((100vw - 1180px) / 2); } }
.shot { flex: 0 0 clamp(190px, 21vw, 248px); margin: 0; scroll-snap-align: start; }
.zoom { padding: 0; border: 1px solid var(--line); background: var(--card); border-radius: 26px; overflow: hidden; cursor: zoom-in; display: block; width: 100%;
  aspect-ratio: 9 / 19; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); transition: transform .2s ease; }
.zoom:hover { transform: translateY(-4px); }
.zoom img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot figcaption { font-size: 14px; color: var(--muted); margin-top: 12px; line-height: 1.4; }

/* Flash Fusion : la section mise en avant */
.flash { position: relative; padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--line);
  background: radial-gradient(120% 60% at 50% 0%, rgba(255, 92, 138, .22), transparent 60%), #120B11; }
.flash-head { max-width: 820px; margin: 0 auto 30px; padding: 0 var(--gutter); text-align: center; }
.flash-kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--bolt); margin: 0 0 14px; font-size: 16px; }
.flash-kicker svg { width: 20px; height: 20px; fill: var(--bolt); }
.flash-head p:last-child { color: var(--muted); font-size: 17px; margin-top: 16px; }
.chapter { padding-top: 34px; }
.chap-text { max-width: 1180px; margin: 0 auto 14px; padding: 0 var(--gutter); display: grid; grid-template-columns: auto 1fr; column-gap: 16px; }
.chap-n { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800;
  background: rgba(255, 92, 138, .14); color: var(--bolt); border: 1px solid rgba(255, 92, 138, .4); }
.chap-text h3 { font-size: clamp(22px, 2.6vw, 30px); align-self: center; }
.chap-text p { color: var(--muted); margin: 6px 0 0; max-width: 46em; }
.couple .chap-text { grid-template-columns: 1fr; }
.couple .chap-text h3 { color: var(--sunset); }

/* La confiance */
.trust { list-style: none; padding: 0 var(--gutter); margin: 0 auto; max-width: 1080px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.trust li { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; color: var(--muted); }
.trust strong { display: block; color: var(--paper); font-family: var(--serif); font-size: 19px; margin-bottom: 6px; }

/* L'inscription */
.signup { text-align: center; padding: clamp(64px, 9vw, 110px) var(--gutter); border-top: 1px solid var(--line);
  background: radial-gradient(90% 70% at 50% 100%, rgba(232, 115, 138, .25), transparent 70%), var(--night); }
.signup > p { color: var(--muted); max-width: 34em; margin: 16px auto 28px; }
.waitlist { max-width: 520px; margin: 0 auto; }
.wl-row { display: flex; gap: 10px; flex-wrap: wrap; }
.wl-row input { flex: 1 1 240px; min-width: 0; border: 1px solid var(--line); background: var(--card); color: var(--paper);
  border-radius: 999px; padding: 15px 20px; font: 16px var(--sans); }
.wl-row input::placeholder { color: var(--placeholder); }
.wl-row input[aria-invalid="true"] { border-color: var(--pink); }
.wl-row .btn { flex: 0 0 auto; }
.consent { display: flex; gap: 10px; align-items: flex-start; text-align: left; font-size: 14px; color: var(--muted); margin-top: 16px; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--pink); flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.wl-msg { min-height: 24px; margin: 16px 0 0; font-weight: 600; }
.wl-msg.ok { color: var(--ok); } .wl-msg.err { color: var(--err); }
@media (max-width: 480px) { .wl-row .btn { width: 100%; } }

footer { padding: 40px var(--gutter) 52px; text-align: center; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 14px 0 22px; }
.foot-links a { color: var(--paper); text-underline-offset: 3px; }
.legal { max-width: 720px; margin: 0 auto; font-size: 12px; line-height: 1.6; }
.legal p { margin: 0 0 10px; }
.legal strong { color: var(--paper); font-weight: 600; }
.legal .copy { margin-top: 16px; color: var(--paper); }

/* La capture agrandie */
.viewer { border: 0; padding: 0; background: transparent; max-width: min(92vw, 460px); max-height: 94vh; overflow: visible; }
.viewer::backdrop { background: rgba(10, 6, 9, .88); }
.viewer img { max-height: 90vh; width: auto; border-radius: 28px; margin: 0 auto; }
.viewer .close { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: var(--paper); color: var(--night); font-size: 24px; line-height: 1; cursor: pointer; }

/* Le choix de la langue */
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--paper); font-size: 13px; font-weight: 700; }
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; min-width: 190px; z-index: 60;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.lang li a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--paper); text-decoration: none; font-size: 14px; }
.lang li a:hover, .lang li a:focus-visible { background: rgba(232, 115, 138, .16); }
.lang li a[aria-current="true"] { background: rgba(232, 115, 138, .24); font-weight: 700; }
@media (max-width: 480px) {
  .top { gap: 8px; } .top nav { gap: 8px; }
  .top nav .nav-cta { padding: 8px 12px; font-size: 13px; }
  .brand { font-size: 0; gap: 0; } .brand svg { width: 34px; height: 34px; }
}
