/* Vitrine DJOLIMA — nuit lagune, soleil d'or, clé bleue */
@font-face { font-family: Bricolage; src: url(fonts/BricolageGrotesque_700Bold.ttf) format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: Bricolage; src: url(fonts/BricolageGrotesque_800ExtraBold.ttf) format('truetype'); font-weight: 800; font-display: swap; }
@font-face { font-family: Manrope; src: url(fonts/Manrope_400Regular.ttf) format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Manrope; src: url(fonts/Manrope_600SemiBold.ttf) format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: Manrope; src: url(fonts/Manrope_700Bold.ttf) format('truetype'); font-weight: 700; font-display: swap; }

:root {
    --night: #0D1F3F; --night-2: #081428; --ink: #173464; --gold: #F6B518; --gold-deep: #C48A00; --key: #6EA3FF;
    --mist: #F2F5FA; --line: #DCE3EE; --text: #14213D; --muted: #5E6A84; --bissap: #C8235A; --ok: #138A5E;
    --display: Bricolage, 'Manrope', system-ui, sans-serif; --body: Manrope, system-ui, sans-serif;
    --wrap: 1180px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--text); background: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; margin: 0; }
h2 { font-size: clamp(30px, 4.2vw, 48px); }
h3 { font-size: 22px; letter-spacing: -.01em; line-height: 1.2; }
p { margin: 0; }
.lede { font-size: 19px; color: var(--muted); max-width: 60ch; }

/* En-tête */
.top { position: absolute; inset: 0 0 auto 0; z-index: 10; }
.top.solid { position: static; background: var(--night); }
.top nav { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.01em; }
.brand b { color: var(--gold); font-weight: 800; }
.brand .ym-mark { width: 38px; height: 38px; }
.top .links { display: flex; gap: 24px; margin-left: auto; }
.top .links a { color: rgba(255,255,255,.82); text-decoration: none; font-weight: 600; font-size: 15px; }
.top .links a:hover { color: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 14px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: #ffc531; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-ink { background: var(--night); color: #fff; }
.top .btn { min-height: 42px; padding: 0 16px; font-size: 15px; }
@media (max-width: 860px) { .top .links { display: none; } .top nav { justify-content: space-between; } }

/* Héros : l'heure du visiteur décide du ciel */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--night); min-height: min(860px, 100svh); display: flex; flex-direction: column; }
.hero .sky { position: absolute; inset: 0; transition: background 1.2s ease; background: linear-gradient(180deg, #081428 0%, #0D1F3F 55%, #173464 100%); }
html[data-time="day"] .hero .sky { background: linear-gradient(180deg, #2C6FD6 0%, #6EA3FF 45%, #FFD98A 100%); }
.hero .scene { position: absolute; inset: auto 0 0 0; height: 48%; pointer-events: none; }
.hero .scene svg { width: 100%; height: 100%; }
.hero .copy { position: relative; z-index: 2; width: 100%; padding-top: 130px; padding-bottom: 46vh; }
@media (max-width: 760px) { .hero .copy { padding-top: 104px; padding-bottom: 260px; } .hero .scene { height: 300px; } }
.hero h1 { font-size: clamp(44px, 7.4vw, 92px); max-width: 13ch; text-shadow: 0 2px 30px rgba(8,20,40,.25); }
.hero .lede { color: rgba(255,255,255,.88); margin-top: 18px; max-width: 46ch; }
html[data-time="day"] .hero h1, html[data-time="day"] .hero .lede { color: #0D1F3F; text-shadow: none; }
html[data-time="day"] .hero .btn-ghost { color: var(--night); border-color: rgba(13,31,63,.35); }
.modes { display: inline-flex; gap: 4px; padding: 5px; margin-top: 30px; border-radius: 16px; background: rgba(8,20,40,.45); backdrop-filter: blur(8px); }
html[data-time="day"] .modes { background: rgba(255,255,255,.55); }
.modes button { font: 700 15px var(--body); color: rgba(255,255,255,.85); background: transparent; border: 0; border-radius: 12px; padding: 11px 18px; cursor: pointer; }
html[data-time="day"] .modes button { color: var(--night); }
.modes button[aria-pressed="true"] { background: var(--gold); color: var(--night); }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero .when { margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.7); }
html[data-time="day"] .hero .when { color: rgba(13,31,63,.7); }
[data-mode-text] { transition: opacity .25s ease; }
.swapping [data-mode-text] { opacity: 0; }
/* soleil / lune */
.orb { transition: transform 1.4s cubic-bezier(.2,.7,.2,1), opacity .8s ease; transform-origin: center; }
.night-only { transition: opacity 1s ease; }
html[data-time="day"] .night-only { opacity: 0; }
html[data-time="night"] .day-only { opacity: 0; }
.day-only { transition: opacity 1s ease; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* Étapes */
.band { padding: 110px 0; }
.band.mist { background: var(--mist); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 56px; counter-reset: s; }
.steps li { list-style: none; position: relative; padding-top: 64px; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 0; font: 800 44px/1 var(--display); color: var(--gold-deep); }
.steps p { color: var(--muted); margin-top: 10px; }
.steps { padding: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 28px; } }

/* Établissements : mosaïque */
.head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 14px; margin-top: 44px; }
.place { position: relative; border-radius: 22px; overflow: hidden; background: var(--ink); color: #fff; text-decoration: none; }
.place:first-child { grid-column: span 2; grid-row: span 2; }
.place img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.place:hover img { transform: scale(1.04); }
.place .cap { position: absolute; inset: auto 0 0 0; padding: 18px; background: linear-gradient(transparent, rgba(8,20,40,.85)); }
.place .cap strong { display: block; font: 800 20px/1.15 var(--display); }
.place:first-child .cap strong { font-size: 28px; }
.place .cap span { font-size: 14px; opacity: .85; }
.place .price { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.92); color: var(--night); font-weight: 700; font-size: 13px; padding: 5px 10px; border-radius: 10px; }
@media (max-width: 900px) { .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; } }
@media (max-width: 520px) { .mosaic { grid-template-columns: 1fr; } .place:first-child { grid-column: auto; grid-row: span 1; } }

/* Fonction phare : demandes et offres */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.split.flip { grid-template-columns: .95fr 1.05fr; }
.split.flip .phones { order: -1; }
.points { margin: 30px 0 0; padding: 0; display: grid; gap: 18px; }
.points li { list-style: none; padding-left: 34px; position: relative; }
.points li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(246,181,24,.22); }
.points strong { display: block; font-weight: 700; }
.points span { color: var(--muted); }
.phones { position: relative; display: flex; justify-content: center; gap: 18px; }
.phone { width: min(280px, 44vw); border-radius: 34px; padding: 9px; background: #0B1730; box-shadow: 0 30px 60px -28px rgba(8,20,40,.55); }
.phone img { border-radius: 26px; width: 100%; aspect-ratio: 560 / 1214; object-fit: cover; background: #13264A; }
.phone.offset { transform: translateY(44px); }
@media (max-width: 900px) { .split, .split.flip { grid-template-columns: 1fr; gap: 44px; } .split.flip .phones { order: 0; } }

/* Paiement */
.pay { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pay span { padding: 10px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 15px; }

/* Voyageur Or */
.gold { background: linear-gradient(120deg, #F6B518, #FFD666 55%, #F6B518); color: var(--night); }
.gold .wrap { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.gold p { max-width: 56ch; margin-top: 14px; font-size: 18px; }
.gold .price { font: 800 44px/1 var(--display); text-align: right; }
.gold .price small { display: block; font: 600 15px var(--body); margin-top: 6px; }
@media (max-width: 760px) { .gold .wrap { grid-template-columns: 1fr; } .gold .price { text-align: left; } }

/* Établissements (pros) */
.pro { background: var(--night); color: #fff; }
.pro .lede { color: rgba(255,255,255,.75); }
.pro .points span { color: rgba(255,255,255,.7); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 64px; border-top: 1px solid rgba(255,255,255,.15); }
.plan { padding: 30px 26px 10px 0; border-right: 1px solid rgba(255,255,255,.12); padding-left: 26px; }
.plan:first-child { padding-left: 0; }
.plan:last-child { border-right: 0; }
.plan .amount { font: 800 34px/1.1 var(--display); margin-top: 10px; color: var(--gold); }
.plan .amount small { font: 600 15px var(--body); color: rgba(255,255,255,.65); }
.plan ul { margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.plan li { list-style: none; color: rgba(255,255,255,.82); font-size: 15.5px; }
.plan li::before { content: '✓'; color: var(--key); font-weight: 800; margin-right: 8px; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } .plan { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); padding: 24px 0; } }

/* FAQ */
.faq { margin-top: 40px; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-weight: 700; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font: 400 28px var(--body); color: var(--gold-deep); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 70ch; }

/* Téléchargement + pied */
.download { text-align: left; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.store { display: inline-flex; flex-direction: column; justify-content: center; min-height: 58px; padding: 0 22px; border-radius: 14px; background: var(--night); color: #fff; text-decoration: none; line-height: 1.15; }
.store small { font-size: 12px; opacity: .75; }
.store strong { font-size: 18px; font-family: var(--display); }
.foot { background: var(--night-2); color: rgba(255,255,255,.7); padding: 56px 0 40px; font-size: 15px; }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot h4 { margin: 0 0 12px; color: #fff; font-size: 15px; }
.foot a { display: block; color: rgba(255,255,255,.7); text-decoration: none; margin-bottom: 8px; }
.foot a:hover { color: #fff; }
.foot .legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; }
@media (max-width: 760px) { .foot .cols { grid-template-columns: 1fr 1fr; } }

/* Liste des établissements */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.filters select, .filters button { font: 600 15px var(--body); min-height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--text); }
.filters button { background: var(--night); color: #fff; border-color: var(--night); cursor: pointer; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px; margin-top: 36px; }
.tile { text-decoration: none; color: var(--text); }
.tile .img { aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--mist); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile .noimg { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, #12306E, #081536); }
.tile .noimg .ym-mark { width: 70px; height: 70px; opacity: .6; }
.tile h3 { margin-top: 12px; font-size: 19px; }
.tile p { color: var(--muted); font-size: 15px; }
.tile .from { color: var(--text); font-weight: 700; margin-top: 4px; }
.empty { margin-top: 40px; padding: 40px; border-radius: 20px; background: var(--mist); max-width: 640px; }
.pager { display: flex; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pager a, .pager span { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; }
.pager .on { background: var(--night); color: #fff; border-color: var(--night); }
.top .btn { white-space: nowrap; }
@media (max-width: 420px) { .top .btn { padding: 10px 14px; font-size: 14px; } .top .brand { font-size: 18px; } }
