/* Fidelina — page d'accueil. Polices hébergées ici (aucun service externe). */
@font-face { font-family: 'Readex Pro'; font-weight: 400; font-display: swap; src: url('assets/fonts/readex-pro-arabic-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Readex Pro'; font-weight: 500; font-display: swap; src: url('assets/fonts/readex-pro-arabic-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Readex Pro'; font-weight: 600; font-display: swap; src: url('assets/fonts/readex-pro-arabic-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Readex Pro'; font-weight: 700; font-display: swap; src: url('assets/fonts/readex-pro-arabic-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 400; font-display: swap; src: url('assets/fonts/poppins-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 500; font-display: swap; src: url('assets/fonts/poppins-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 600; font-display: swap; src: url('assets/fonts/poppins-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 700; font-display: swap; src: url('assets/fonts/poppins-latin-700-normal.woff2') format('woff2'); }

:root {
  --night: #06120c; --night-2: #0c2419; --forest: #1b6142; --leaf: #59c083; --mint: #a8efc6;
  --lantern: #e9a23b; --mist: #93a39a; --ink: #0b1f15; --text: #1e2922; --muted: #5d6a63;
  --canvas: #f7f5f0; --line: #e4e1d8; --white: #fff;
  --radius: 22px;
  /* Le sous-ensemble arabe de Readex Pro n'a pas l'espace ni la ponctuation latine : Poppins prend le relais */
  --font: 'Readex Pro', 'Poppins', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--text); background: var(--canvas); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.lat { font-family: 'Poppins', var(--font); direction: ltr; unicode-bidi: isolate; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { inset-inline-start: 8px; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 8px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 17px; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--leaf); color: var(--ink); box-shadow: 0 10px 34px rgba(89, 192, 131, .38); }
.btn-primary:hover { box-shadow: 0 14px 40px rgba(89, 192, 131, .5); }
.btn-outline { border: 2px solid rgba(168, 239, 198, .45); color: #fff; }
.btn-outline:hover { background: rgba(168, 239, 198, .1); }
.btn-ghost { min-height: 42px; padding: 0 18px; font-size: 14px; border: 1.5px solid rgba(255, 255, 255, .25); color: #fff; font-family: 'Poppins', var(--font); font-weight: 500; }
.btn b { font-weight: 700; color: var(--mint); letter-spacing: .04em; }

/* ---------- En-tête ---------- */
.top { position: sticky; top: 0; z-index: 30; background: rgba(6, 18, 12, .82); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(168, 239, 198, .12); }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; gap: 26px; margin-inline-start: auto; color: rgba(255, 255, 255, .78); font-size: 15px; }
.nav a:hover { color: #fff; }
.nav-login { display: none; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; padding: 80px 0 110px;
  background: radial-gradient(55% 60% at 25% 45%, rgba(27, 97, 66, .55), rgba(12, 36, 25, 0) 70%), linear-gradient(180deg, var(--night-2), var(--night) 70%); }
.hero::before { content: ''; position: absolute; inset: 0; opacity: .06; pointer-events: none;
  background-image: repeating-conic-gradient(from 45deg, var(--mint) 0 25%, transparent 0 50%); background-size: 56px 56px;
  -webkit-mask: radial-gradient(60% 50% at 80% 10%, #000, transparent 70%); mask: radial-gradient(60% 50% at 80% 10%, #000, transparent 70%); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.kick { display: inline-block; font: 500 14px/1 'Poppins', var(--font); color: var(--mint); padding: 10px 16px; border-radius: 999px; background: rgba(89, 192, 131, .12); border: 1.5px solid rgba(168, 239, 198, .3); }
.hero h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.25; font-weight: 700; margin-top: 22px; }
.hl { background: var(--leaf); color: var(--ink); border-radius: 18px; padding: 0 .18em .04em; box-shadow: 0 0 44px rgba(89, 192, 131, .45); }
.lead { font-size: clamp(18px, 2vw, 21px); color: rgba(255, 255, 255, .82); margin-top: 22px; max-width: 590px; }
.lead b { color: #fff; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.ctas.center { justify-content: center; }
.trust { margin-top: 26px; color: var(--mist); font-size: 15px; }

/* Téléphone */
.phone-wrap { position: relative; justify-self: center; }
.glow { position: absolute; inset: 10% -10%; background: radial-gradient(closest-side, rgba(89, 192, 131, .4), transparent); filter: blur(30px); }
.phone { position: relative; width: 300px; height: 610px; border-radius: 46px; background: #0b0f0d; padding: 12px; box-shadow: 0 0 0 2px #26332c, 0 40px 90px rgba(0, 0, 0, .6); direction: ltr; }
.notch { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 14px; background: #0b0f0d; z-index: 2; }
.screen { height: 100%; border-radius: 36px; background: var(--canvas); padding: 62px 18px 18px; color: var(--text); overflow: hidden; }
.shop { display: flex; align-items: center; gap: 10px; }
.shop-logo { width: 38px; height: 38px; border-radius: 11px; background: var(--forest); color: #fff; display: grid; place-items: center; font: 600 14px 'Poppins'; }
.shop b { display: block; font-size: 15px; }
.shop small { display: block; font: 400 12px 'Poppins'; color: var(--muted); }
.card { margin-top: 16px; border-radius: 20px; padding: 18px; color: #fff; background: linear-gradient(135deg, #4a2f22, #3a2419 55%, #2a1a12); box-shadow: 0 14px 30px rgba(74, 47, 34, .35); }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.card-biz { font: 500 12px 'Poppins'; opacity: .8; }
.card-title { font: 700 22px/1.15 'Poppins'; margin-top: 4px; }
.card-name { font: 500 13px 'Poppins'; margin-top: 8px; }
.qr { width: 78px; height: 78px; background: #fff; border-radius: 10px; padding: 6px; }
.stamps { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; margin-top: 16px; }
.stamps i { aspect-ratio: 1; border-radius: 50%; border: 1.5px solid rgba(226, 185, 127, .7); }
.stamps i.on { background: #e2b97f; border-color: #e2b97f; }
.stamps i.gift { background: rgba(226, 185, 127, .25); }
.card-foot { display: flex; justify-content: space-between; margin-top: 10px; font: 500 12px 'Poppins'; }
.mini { margin-top: 16px; background: #fff; border-radius: 16px; padding: 14px; border: 1px solid var(--line); direction: rtl; }
.mini-title { font-size: 13px; color: var(--muted); }
.mini-title b { color: var(--forest); }
.mini-row { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; }
.mini-row .dot { width: 26px; height: 26px; border-radius: 50%; background: #e7f5ed; }
.mini-row b { margin-inline-start: auto; color: var(--forest); }
.toast { position: absolute; bottom: 70px; inset-inline-end: -40px; background: #fff; color: var(--text); border-radius: 16px; padding: 12px 16px; font-size: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); display: flex; gap: 8px; align-items: center; white-space: nowrap; animation: pop 3.5s ease-in-out infinite; }
.toast .ok { width: 24px; height: 24px; border-radius: 50%; background: var(--leaf); color: var(--ink); display: grid; place-items: center; font-weight: 700; }
@keyframes pop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .toast { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Sections claires ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--white); }
.eyebrow { font: 600 13px 'Poppins', var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--forest); }
.section h2, .final h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.3; margin-top: 10px; color: var(--ink); }
.sub { color: var(--muted); margin-top: 14px; max-width: 720px; }
.note { margin-top: 28px; color: var(--muted); font-size: 15px; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
.num { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--forest); color: #fff; font-size: 22px; font-weight: 700; }
.steps h3, .feat h3, .act h3 { font-size: 20px; margin-top: 18px; color: var(--ink); line-height: 1.4; }
.steps p, .feat p { color: var(--muted); margin-top: 8px; font-size: 16px; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.feat { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; background: var(--canvas); }
.ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #e7f5ed; font-size: 22px; }

.acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.act { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 24px; }
.act-card { border-radius: 16px; padding: 16px; color: #fff; min-height: 112px; display: flex; flex-direction: column; justify-content: space-between; direction: ltr; font: 600 15px 'Poppins'; }
.act-cafe .act-card { background: linear-gradient(135deg, #4a2f22, #2a1a12); --acc: #e2b97f; }
.act-snack .act-card { background: linear-gradient(135deg, #6e1f1a, #3e110e); --acc: #f2c078; }
.act-barber .act-card { background: linear-gradient(135deg, #1f3350, #101c2e); --acc: #e0473f; }
.act-tattoo .act-card { background: linear-gradient(135deg, #16181b, #2b2f35); --acc: #b7f34a; }
.act-stamps { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; }
.act-stamps i { aspect-ratio: 1; border-radius: 50%; background: var(--acc); }
.act-stamps i.off { background: transparent; border: 1.5px solid var(--acc); opacity: .7; }
.act-pts { font-size: 30px; font-weight: 700; color: var(--acc); }
.act-pts small { font-size: 14px; color: rgba(255, 255, 255, .7); font-weight: 500; }
.act ul { list-style: none; margin-top: 8px; color: var(--muted); font-size: 15px; }
.act li { padding-block: 3px; }
.act li b { color: var(--ink); }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
details:first-of-type { margin-top: 30px; border-top: 1px solid var(--line); }
summary { cursor: pointer; font-size: 19px; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font: 400 26px/1 'Poppins'; color: var(--forest); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 12px; color: var(--muted); }

/* Appel final */
.final { padding: 96px 0; text-align: center; color: #fff; background: radial-gradient(60% 80% at 50% 0%, rgba(27, 97, 66, .6), transparent 70%), var(--night); }
.final h2 { color: #fff; }
.final p { color: rgba(255, 255, 255, .78); margin-top: 12px; font-size: 19px; }

.foot { background: #fff; border-top: 1px solid var(--line); padding: 34px 0; }
.foot-in { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; gap: 22px; font: 500 15px 'Poppins', var(--font); color: var(--muted); }
.foot nav a:hover { color: var(--forest); }
.small { width: 100%; color: var(--muted); font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .grid, .acts { grid-template-columns: repeat(2, 1fr); }
  .hero-in { grid-template-columns: 1fr; gap: 64px; }
  .hero { padding-top: 56px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .menu-toggle { display: flex; margin-inline-start: auto; }
  .hide-sm { display: none; }
  .nav { display: none; position: absolute; top: 72px; inset-inline: 0; flex-direction: column; gap: 0; background: var(--night); padding: 8px 20px 20px; border-bottom: 1px solid rgba(168, 239, 198, .15); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav-login { display: block; color: var(--mint); font-family: 'Poppins', var(--font); }
  .steps, .grid, .acts { grid-template-columns: 1fr; }
  .section, .final { padding: 72px 0; }
  .btn { width: 100%; }
  .phone { width: 270px; height: 560px; }
  .toast { inset-inline-end: -10px; }
}
