/* Hagaag — site vitrine. Charte : identite/hagaag-charte.html (Lagon, Menthe, Nuit, Soleil, Écume ; Sora + Noto Sans). */
:root {
  --lagon: #0B6E8E; --lagon-d: #095a74; --menthe: #1FAA59; --nuit: #0F2430; --soleil: #F2B33D; --ecume: #F2F7F8;
  --bg: #ffffff; --soft: #F2F7F8; --fg: #0F2430; --mute: #55707d; --line: #dbe6ea; --card: #ffffff;
  --disp: "Sora", system-ui, sans-serif; --body: "Noto Sans", system-ui, sans-serif;
  --r: 20px; --wrap: 1120px;
}
* { box-sizing: border-box }
[hidden] { display: none !important }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100% }
html, body { overflow-x: clip }
body { margin: 0; font-family: var(--body); color: var(--fg); background: var(--bg); line-height: 1.6; font-size: 17px }
img { max-width: 100%; height: auto; display: block }
h1, h2, h3 { font-family: var(--disp); letter-spacing: -.02em; line-height: 1.12; margin: 0; text-wrap: balance }
p { margin: 0 }
a { color: var(--lagon) }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)) }
.narrow { max-width: 820px }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 99 }
.skip:focus { left: 12px; top: 12px }
.eyebrow { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lagon); margin-bottom: 10px }

/* boutons */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--menthe); color: #fff; text-decoration: none; font-weight: 600; font-family: var(--disp);
  padding: 14px 22px; border-radius: 14px; border: 0; transition: transform .15s, background .15s; font-size: 1rem }
.btn:hover { background: #1a9a50; transform: translateY(-1px) }
.btn-sm { padding: 10px 16px; font-size: .92rem }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px #ffffff55 }
.btn-ghost:hover { background: #ffffff14 }
.btn-ghost-d { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px #ffffff55 }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2 }

/* en-tête */
.top { position: sticky; top: 0; z-index: 50; background: rgba(15, 36, 48, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); padding-top: env(safe-area-inset-top) }
.top-in { display: flex; align-items: center; gap: 28px; height: 68px }
.brand img { height: 34px; width: auto }
.nav { display: flex; gap: 26px; margin-left: auto }
.nav a { color: #c9dbe2; text-decoration: none; font-size: .95rem }
.nav a:hover { color: #fff }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer }
.burger span { display: block; height: 2px; background: #fff; margin: 6px 0; border-radius: 2px; transition: transform .2s }

/* héros */
.hero { background: radial-gradient(1200px 600px at 80% 20%, #14425a 0%, var(--nuit) 60%); color: #fff; overflow: hidden }
.hero-in > *, .lang-in > *, .contact-in > * { min-width: 0 }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; padding-block: 72px 80px }
.hero .eyebrow { color: #7fd3a5 }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 700 }
.hero .lead { color: #c4d6dd; font-size: 1.12rem; max-width: 52ch; margin-top: 20px }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px }
.sens { margin-top: 30px; color: #9fb7c1; font-size: .95rem }
.sens b { color: #fff; font-weight: 600 }
.hero-vis { position: relative; display: grid; place-items: center; min-height: 460px }
.halo { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #1FAA5933, transparent 65%) }
.hero-img { position: relative; width: 440px; max-width: 100%; border-radius: 28px; box-shadow: 0 40px 80px #0008 }
.toast { position: absolute; left: 0; bottom: 14%; display: flex; gap: 12px; align-items: center; background: #fff; color: var(--nuit); border-radius: 16px; padding: 12px 18px 12px 12px;
  box-shadow: 0 20px 40px #0006; animation: flottant 5s ease-in-out infinite }
.toast-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--menthe); display: grid; place-items: center }
.toast-ic svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round }
.toast b { font-family: var(--disp); font-size: 1.15rem; display: block; line-height: 1.1 }
.toast small { color: var(--mute); font-size: .8rem }
.toast.pop { animation: pop .5s ease, flottant 5s ease-in-out infinite .5s }
.waves { position: absolute; right: 2%; top: 22%; width: 70px; fill: none; stroke: var(--menthe); stroke-width: 8; stroke-linecap: round }
.waves path:nth-child(1) { animation: onde 2.4s ease-out infinite }
.waves path:nth-child(2) { animation: onde 2.4s ease-out infinite .35s }
@keyframes onde { 0% { opacity: 0 } 20% { opacity: 1 } 70%, 100% { opacity: 0 } }
@keyframes flottant { 50% { transform: translateY(-8px) } }
@keyframes pop { 0% { transform: scale(.9); opacity: .4 } 60% { transform: scale(1.04) } 100% { transform: scale(1); opacity: 1 } }

.band-compat { background: var(--lagon); color: #e6f3f7; padding-block: 22px }
.compat-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 34px }
.compat-in p { font-family: var(--disp); font-weight: 600; font-size: 1rem }
.wallets { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px }
.wallets li { display: flex; align-items: center; gap: 10px; background: #fff; color: var(--nuit); border-radius: 999px; padding: 6px 16px 6px 6px; font-weight: 600; font-size: .95rem }
.wallets img { width: 36px; height: 36px; border-radius: 10px }
.badge-txt { width: 36px; height: 36px; border-radius: 10px; background: #8a1538; color: #fff; display: grid; place-items: center; font-style: normal; font-family: var(--disp); font-size: .72rem; font-weight: 700 }

/* faux paiements */
.sec-alerte { background: linear-gradient(180deg, #fff7e6, #fff); }
.alerte-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center }
.alerte-in > * { min-width: 0 }
.sec-alerte .eyebrow { color: #b7791f }
.lead-a { color: var(--fg); font-size: 1.08rem; max-width: 56ch; margin-top: -18px }
.src-a { margin-top: 14px; font-size: .88rem; color: var(--mute) }
.vs { display: grid; gap: 14px }
.vs-col { border-radius: var(--r); padding: 20px 22px; border: 1px solid var(--line); background: #fff }
.vs-col.ko { border-left: 5px solid #d64545 }
.vs-col.ok { border-left: 5px solid var(--menthe) }
.vs-t { font-family: var(--disp); font-weight: 700; display: block; margin-bottom: 6px }
.vs-col.ko .vs-t { color: #c03a3a }
.vs-col.ok .vs-t { color: #168a48 }
.vs-col p { color: var(--mute) }

/* sections */
.sec { padding-block: 88px }
.sec-soft { background: var(--soft) }
.sec-dark { background: var(--nuit); color: #fff }
.sec-dark .eyebrow { color: #7fd3a5 }
.sec h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 36px; max-width: 22ch }
.lead-s { color: var(--mute); margin: -20px 0 30px; max-width: 60ch }
.lead-d { color: #c4d6dd; margin-top: -18px; max-width: 46ch }
.cards { display: grid; gap: 18px }
.c3 { grid-template-columns: repeat(3, 1fr) }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; min-width: 0 }
.card h3 { font-size: 1.18rem; margin: 16px 0 8px }
.card p { color: var(--mute) }
.ic { width: 50px; height: 50px; border-radius: 14px; background: #e3f1f5; display: grid; place-items: center }
.ic svg { width: 26px; height: 26px; fill: none; stroke: var(--lagon); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round }
.note { margin-top: 26px; background: #e3f1f5; border-radius: 16px; padding: 16px 20px; max-width: 820px }
.sec-soft .note { background: #fff; border: 1px solid var(--line) }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; position: relative; min-width: 0 }
.step .n { width: 42px; height: 42px; border-radius: 50%; background: var(--lagon); color: #fff; font-family: var(--disp); font-weight: 700; display: grid; place-items: center }
.step h3 { font-size: 1.18rem; margin: 16px 0 8px }
.step p { color: var(--mute) }
.notif { margin-top: 16px; background: var(--nuit); color: #fff; border-radius: 14px; padding: 12px 14px; display: flex; gap: 10px; align-items: center; font-size: .92rem }
.notif i { width: 30px; height: 30px; border-radius: 9px; background: #55707d; flex: none }
.notif small { display: block; color: #93aab4; font-size: .78rem }

.prods { display: grid; grid-template-columns: 1fr 1fr; gap: 22px }
.prod { border: 1px solid var(--line); border-radius: 26px; overflow: hidden; background: #fff; display: flex; flex-direction: column; min-width: 0 }
.prod-img { background: #e9edf0; aspect-ratio: 4 / 3.3; overflow: hidden }
.prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s }
.prod:hover .prod-img img { transform: scale(1.03) }
.prod-b { padding: 26px }
.prod h3 { font-size: 1.6rem }
.tag { color: var(--menthe); font-weight: 600; margin: 4px 0 12px }
.prod-b > p:not(.tag) { color: var(--mute) }
.specs { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: .95rem }
.prod-cta { margin-top: 20px }
.specs li { padding-left: 22px; position: relative }
.specs li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px; border-left: 2.5px solid var(--menthe); border-bottom: 2.5px solid var(--menthe); transform: rotate(-45deg) }

.lang-in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center }
.langs { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px }
.langs li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; background: #ffffff0d; border: 1px solid #ffffff1a; border-radius: 14px; padding: 14px 18px }
.langs b { font-family: var(--disp); font-weight: 600 }
.langs span { color: #9fd9b8 }

.strip { display: flex; gap: 16px; overflow-x: auto; padding: 4px 2px 18px; scroll-snap-type: x mandatory }
.strip img { flex: none; width: min(230px, 56vw); border-radius: 18px; box-shadow: 0 14px 34px #0f243030; scroll-snap-align: start }

.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px }
.chips li { background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px }

details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; margin-bottom: 10px }
summary { cursor: pointer; font-family: var(--disp); font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px }
summary::after { content: "+"; color: var(--lagon); font-size: 1.4rem; line-height: 1 }
details[open] summary::after { content: "–" }
details p { color: var(--mute); padding-bottom: 16px }

.contact-in { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center }
.contact-card { background: #ffffff0d; border: 1px solid #ffffff1a; border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 12px }
.btn-wa { justify-content: center }
.soon { color: #c4d6dd }

.foot { background: #0a1a23; color: #93aab4; padding-block: 44px; font-size: .92rem }
.foot-in { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center }
.foot-in p { max-width: 60ch }
.foot .small { margin-left: auto }

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease }
.js .reveal.vu { opacity: 1; transform: none }

@media (max-width: 900px) {
  .nav { position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0; background: var(--nuit); padding: 8px 20px 20px; display: none }
  .nav.ouvert { display: flex }
  .nav a { padding: 14px 0; border-bottom: 1px solid #ffffff14 }
  .top .btn-sm { margin-left: auto }
  .burger { display: block }
  .hero-in, .lang-in, .contact-in, .alerte-in { grid-template-columns: 1fr }
  .hero-in { padding-block: 48px 56px }
  .hero-vis { min-height: 380px }
  .c3, .steps, .prods { grid-template-columns: 1fr }
  .sec { padding-block: 64px }
}
@media (max-width: 480px) {
  .top .btn-sm { display: none }
  .specs { grid-template-columns: 1fr }
  .toast { bottom: 6% }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important }
  .js .reveal { opacity: 1; transform: none }
}
