/* Takbir — page d'accueil (le reste du site utilise seulement style.css). */

body.home { overflow-x: clip; }
body.home main { max-width: none; padding: 0; }
body.home::before { display: none; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- En-tête ---------- */

.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.topbar .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border); }
.topbar nav { display: flex; gap: 26px; margin-left: auto; }
.topbar nav a { color: var(--secondary); text-decoration: none; font-size: 15px; }
.topbar nav a:hover { color: var(--text); }
.btn-small {
  padding: 9px 16px; border-radius: 999px; background: var(--text); color: #000;
  text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap;
}
@media (max-width: 760px) {
  .topbar nav { display: none; }
  .topbar .btn-small { margin-left: auto; }
}

/* ---------- Commun ---------- */

section { position: relative; }
.eyebrow {
  display: inline-block; margin: 0 0 14px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold);
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2, .row h2, .cta h2 {
  margin: 0 0 14px; font-size: clamp(30px, 5vw, 46px); line-height: 1.08; letter-spacing: -0.02em;
}
.section-head p, .row p.lead { margin: 0; color: var(--secondary); font-size: 18px; }
.block { padding: 110px 0; }
@media (max-width: 760px) { .block { padding: 76px 0; } .section-head { margin-bottom: 40px; } }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Haut de page ---------- */

.hero-v2 { padding: 72px 0 0; text-align: center; overflow: hidden; }
.hero-v2::before {
  content: ""; position: absolute; left: 50%; top: -10%; width: 1300px; height: 900px; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(201, 168, 106, 0.2), transparent 62%);
  pointer-events: none; z-index: -1;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: rgba(17, 17, 17, 0.9); border: 1px solid #2a2a2a; font-size: 14px; color: #e9d6ae;
}
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.hero-v2 h1 {
  margin: 22px auto 18px; max-width: 860px;
  font-size: clamp(40px, 8vw, 78px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700;
}
.hero-v2 .lead { margin: 0 auto; max-width: 560px; color: var(--secondary); font-size: clamp(17px, 2.2vw, 20px); }
.hero-v2 .store-button { margin-top: 30px; padding: 13px 24px; }
.hero-v2 .note { margin: 14px 0 0; font-size: 14px; color: #6f6f6f; }

.hero-phones {
  display: flex; justify-content: center; align-items: flex-start;
  margin-top: 64px; height: 600px; position: relative;
}
.hero-phones .phone { flex: none; }
.hero-phones .side { zoom: 0.84; margin-top: 90px; opacity: 0.9; }
.hero-phones .left { margin-right: -40px; transform: rotate(-6deg); }
.hero-phones .right { margin-left: -40px; transform: rotate(6deg); }
.hero-phones .center { z-index: 2; position: relative; }
.hero-phones::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; z-index: 3;
  background: linear-gradient(to bottom, transparent, #000);
}
@media (max-width: 760px) {
  .hero-v2 { padding-top: 48px; }
  .hero-phones { margin-top: 48px; height: 470px; }
  .hero-phones .center { zoom: 0.82; }
  .hero-phones .side { zoom: 0.64; margin-top: 110px; }
  .hero-phones .left { margin-right: -120px; }
  .hero-phones .right { margin-left: -120px; }
}

/* ---------- Bandeau ---------- */

.strip { border-top: 1px solid #161616; border-bottom: 1px solid #161616; background: #050505; }
.strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; margin: 0; padding: 22px 0; }
.strip li { list-style: none; color: var(--secondary); font-size: 15px; display: flex; align-items: center; gap: 10px; }
.strip svg { width: 18px; height: 18px; color: var(--gold); }

/* ---------- Fonctionnement ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  background: linear-gradient(180deg, #111, #0a0a0a); border: 1px solid #1f1f1f; border-radius: 26px;
  padding: 28px 26px 0; overflow: hidden; display: flex; flex-direction: column;
}
.step .num {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(201, 168, 106, 0.12); color: var(--gold); font-weight: 700; font-size: 15px;
}
.step h3 { margin: 18px 0 8px; font-size: 21px; letter-spacing: -0.01em; }
.step p { margin: 0 0 26px; color: var(--secondary); font-size: 15.5px; }
.step .visual { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding-bottom: 26px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

.mini-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #151515; border: 1px solid #232323; border-radius: 14px; padding: 11px 14px; font-size: 14px;
}
.mini-row b { font-weight: 600; }
.mini-row span { color: var(--secondary); }
.mini-row.now { border-color: rgba(201, 168, 106, 0.5); background: rgba(201, 168, 106, 0.08); }
.mini-row.now span { color: var(--gold); }
.app-dot { width: 28px; height: 28px; border-radius: 8px; flex: none; }
.mini-app { display: flex; align-items: center; gap: 12px; }
.mini-app s { color: #7a7a7a; }
.lock { color: var(--gold); font-size: 13px; display: flex; align-items: center; gap: 5px; }
.lock svg { width: 13px; height: 13px; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice div {
  background: #151515; border: 1px solid #232323; border-radius: 14px; padding: 14px; text-align: center; font-size: 14px;
}
.choice .ar { font-family: "Amiri", serif; font-size: 22px; color: #e9d6ae; line-height: 1.4; display: block; }

/* ---------- Lignes avec téléphone ---------- */

.row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; padding: 40px 0; }
.row + .row { margin-top: 40px; }
.row.flip .row-text { order: 2; }
.row-phone { display: flex; justify-content: center; position: relative; }
.row-phone::before {
  content: ""; position: absolute; inset: 10% 0; z-index: -1;
  background: radial-gradient(circle, rgba(201, 168, 106, 0.16), transparent 65%);
}
.row-text { max-width: 470px; }
.row-text ul { margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.row-text li { list-style: none; display: flex; gap: 12px; color: #d6d6d6; font-size: 16px; }
.row-text li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: rgba(201, 168, 106, 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a86a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat;
}
@media (max-width: 860px) {
  .row { grid-template-columns: 1fr; gap: 36px; text-align: left; }
  .row.flip .row-text { order: 0; }
  .row-phone .phone { zoom: 0.86; }
}

/* ---------- Grille d'atouts ---------- */

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { background: #0c0c0c; border: 1px solid #1c1c1c; border-radius: 22px; padding: 26px; }
.tile .ico {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(201, 168, 106, 0.1); color: var(--gold); margin-bottom: 18px;
}
.tile .ico svg { width: 21px; height: 21px; }
.tile h3 { margin: 0 0 6px; font-size: 18px; }
.tile p { margin: 0; color: var(--secondary); font-size: 15px; }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

/* ---------- Verset ---------- */

.ayah { text-align: center; padding: 120px 0; border-top: 1px solid #141414; border-bottom: 1px solid #141414;
  background: radial-gradient(ellipse at center, rgba(201, 168, 106, 0.1), transparent 60%); }
.ayah .ar { font-family: "Amiri", serif; font-size: clamp(28px, 5vw, 46px); line-height: 1.7; margin: 0 0 18px; direction: rtl; }
.ayah blockquote { margin: 0 auto; max-width: 620px; font-size: clamp(18px, 2.4vw, 22px); color: #d6d6d6; }
.ayah cite { display: block; margin-top: 16px; font-style: normal; font-size: 13px; letter-spacing: 0.14em; color: var(--gold); }

/* ---------- Questions ---------- */

.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: #0c0c0c; border: 1px solid #1c1c1c; border-radius: 18px; padding: 0 22px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 30px 20px 0; font-weight: 600; font-size: 17px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 400; color: var(--gold); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--secondary); }

/* ---------- Appel final ---------- */

.cta { padding: 40px 0 110px; }
.cta-box {
  text-align: center; border-radius: 32px; padding: 70px 24px; border: 1px solid #2a2418;
  background: radial-gradient(ellipse at top, rgba(201, 168, 106, 0.22), transparent 70%), #0a0a0a;
}
.cta-box img { width: 84px; height: 84px; border-radius: 20px; border: 1px solid var(--border); margin-bottom: 24px; }
.cta-box p { margin: 0 auto; max-width: 460px; color: var(--secondary); font-size: 18px; }
.cta-box .store-button { margin-top: 28px; }

body.home footer { border-top: 1px solid #141414; padding-top: 32px; }

/* =========================================================
   Téléphones (écrans de l'app refaits en HTML)
   ========================================================= */

.phone {
  width: 300px; height: 640px; border-radius: 50px; padding: 10px;
  background: linear-gradient(145deg, #2c2c2c, #0e0e0e 40%, #1d1d1d);
  box-shadow: 0 0 0 1px #333, 0 40px 90px rgba(0, 0, 0, 0.7), 0 10px 60px rgba(201, 168, 106, 0.1);
  text-align: left; line-height: 1.3;
}
.screen {
  position: relative; height: 100%; border-radius: 41px; overflow: hidden; background: #000;
  padding: 50px 18px 0; display: flex; flex-direction: column; font-size: 13px; color: #fff;
}
.screen::before { /* Dynamic Island */
  content: ""; position: absolute; top: 11px; left: 50%; width: 92px; height: 26px; transform: translateX(-50%);
  background: #000; border-radius: 20px; box-shadow: 0 0 0 1px #111; z-index: 5;
}
.sbar {
  position: absolute; top: 15px; left: 30px; right: 26px; display: flex; justify-content: space-between;
  font-size: 13px; font-weight: 600;
}
.sbar .icons { display: flex; gap: 5px; align-items: center; }
.sbar .icons i { display: block; background: #fff; border-radius: 2px; }
.g { background: linear-gradient(180deg, #fff 0%, #c9a86a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gh { background: linear-gradient(90deg, #fff 0%, #e9d6ae 50%, #c9a86a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: #8a8a8a; }
.goldt { color: #c9a86a; }
.card-s { background: #111; border: 1px solid #1f1f1f; border-radius: 20px; padding: 14px; }
.arch { width: 46px; height: 58px; }

/* Accueil */
.s-hello { font-size: 11.5px; color: #8a8a8a; }
.s-title { display: flex; justify-content: space-between; align-items: center; margin: 2px 0 12px; }
.s-title b { font-size: 24px; letter-spacing: -0.02em; }
.chip-s { display: inline-flex; align-items: center; gap: 5px; background: #1a1712; border: 1px solid #2c2618; color: #e9d6ae;
  padding: 5px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.chip-s svg { width: 9px; height: 11px; }
.next { display: flex; justify-content: space-between; }
.next .big { font-size: 38px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.next .when { font-weight: 600; font-size: 13px; }
.next-foot { border-top: 1px solid #222; margin-top: 12px; padding-top: 10px; font-size: 11px; color: #bdbdbd; }
.sec-t { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 2px 8px; }
.sec-t b { font-size: 14px; }
.sec-t span { font-size: 11px; color: #c9a86a; font-weight: 600; }
.prayers { display: flex; justify-content: space-between; padding: 14px 10px; }
.pr { text-align: center; font-size: 10.5px; }
.pr .c { width: 34px; height: 34px; border-radius: 50%; margin: 0 auto 6px; display: grid; place-items: center;
  background: #1a1a1a; border: 1px solid #262626; color: #000; font-size: 13px; font-weight: 700; }
.pr .c.done { background: linear-gradient(180deg, #fff, #e9d6ae); border: none; }
.pr .c.next-c { background: transparent; border: 2px solid #c9a86a; }
.pr b { display: block; font-weight: 600; }
.pr span { color: #777; }
.goal { margin-top: 10px; }
.goal small { font-size: 10px; letter-spacing: 0.12em; font-weight: 700; color: #c9a86a; }
.bars5 { display: flex; gap: 5px; margin: 10px 0; }
.bars5 i { flex: 1; height: 5px; border-radius: 4px; background: #262626; }
.bars5 i.on { background: linear-gradient(90deg, #fff, #c9a86a); }
.goal p { margin: 0; font-weight: 600; font-size: 12.5px; }
.tabbar { margin-top: auto; margin-left: -18px; margin-right: -18px; display: flex; justify-content: space-around;
  border-top: 1px solid #161616; padding: 9px 0 22px; font-size: 9.5px; color: #666; background: #050505; }
.tabbar div { text-align: center; }
.tabbar svg { width: 18px; height: 18px; display: block; margin: 0 auto 3px; }
.tabbar .on { color: #fff; }

/* Écran de pause */
.notif { background: rgba(240, 236, 228, 0.96); color: #111; border-radius: 18px; padding: 10px 12px;
  display: flex; gap: 10px; font-size: 11.5px; margin-top: 6px; }
.notif img { width: 30px; height: 30px; border-radius: 8px; flex: none; }
.notif b { display: flex; justify-content: space-between; font-size: 12px; }
.notif b span { font-weight: 400; color: #666; font-size: 10.5px; }
.shield { margin-top: auto; margin-bottom: auto; text-align: center; padding-top: 20px; }
.shield .arch { width: 64px; height: 80px; }
.shield h4 { margin: 18px 0 8px; font-size: 19px; letter-spacing: -0.01em; }
.shield p { margin: 0 auto; max-width: 220px; color: #9a9a9a; font-size: 13px; }
.btn-s { display: block; text-align: center; background: #fff; color: #000; font-weight: 700; border-radius: 16px;
  padding: 14px; font-size: 14px; margin-bottom: 12px; }
.btn-ghost { display: block; text-align: center; color: #9a9a9a; font-size: 12.5px; margin-bottom: 26px; }

/* Verset */
.topnav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.round { width: 30px; height: 30px; border-radius: 50%; background: #161616; display: grid; place-items: center; color: #bbb; font-size: 15px; }
.share { background: #161616; border-radius: 999px; padding: 6px 11px; font-size: 11px; color: #ddd; }
.verse-ref { font-size: 10.5px; letter-spacing: 0.12em; font-weight: 700; color: #c9a86a; }
.verse-ar { font-family: "Amiri", serif; font-size: 23px; line-height: 1.85; direction: rtl; text-align: right; margin: 10px 0 12px; }
.verse-ph { font-style: italic; color: #777; font-size: 11px; margin-bottom: 14px; }
.verse-tr { font-weight: 600; font-size: 14.5px; line-height: 1.45; }
.verse-cr { color: #5f5f5f; font-size: 10px; margin-top: 10px; }

/* Tasbih */
.seg3 { display: flex; gap: 6px; margin: 4px 0 0; }
.seg3 i { flex: 1; height: 3px; border-radius: 3px; background: #2a2a2a; }
.seg3 i.on { background: #c9a86a; }
.tas { text-align: center; margin-top: 44px; }
.tas .ar { font-family: "Amiri", serif; font-size: 40px; line-height: 1.5; }
.tas b { display: block; font-size: 17px; margin-top: 2px; }
.ring { position: relative; width: 180px; height: 180px; margin: 34px auto 0; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring .val b { font-size: 46px; font-weight: 700; line-height: 1; }
.ring .val span { color: #888; font-size: 12px; margin-top: 4px; }
.ring circle { transition: stroke-dashoffset 0.25s ease; }
.tap-hint { text-align: center; color: #666; font-size: 11px; margin-top: 18px; }

/* Réveil Fajr */
.alarm { text-align: center; margin-top: 90px; }
.alarm .time { font-size: 64px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.alarm h4 { margin: 12px 0 4px; font-size: 19px; }
.alarm .pause { display: inline-block; margin-top: 22px; background: #161616; border-radius: 999px; padding: 9px 16px; font-size: 12px; }
.slide { margin-top: auto; position: relative; border-radius: 20px; background: #161616; height: 56px; overflow: hidden; }
.slide::before { content: ""; position: absolute; inset: 0; width: 72%;
  background: linear-gradient(90deg, #fff, #e9d6ae 55%, #c9a86a); border-radius: 20px; }
.slide span { position: relative; display: grid; place-items: center; height: 100%; color: #000; font-weight: 700; font-size: 14px; padding-right: 22%; }
.slide-note { text-align: center; color: #666; font-size: 10.5px; margin: 10px 0 28px; }

/* Statistiques */
.seg { display: flex; background: #161616; border-radius: 999px; padding: 3px; font-size: 10.5px; }
.seg span { padding: 4px 10px; border-radius: 999px; color: #888; }
.seg span.on { background: #fff; color: #000; font-weight: 600; }
.kpi { display: flex; justify-content: space-between; align-items: flex-start; }
.kpi b { font-size: 32px; letter-spacing: -0.02em; }
.up { background: #16140f; color: #e9d6ae; padding: 4px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 600; }
.chart { display: flex; gap: 8px; align-items: flex-end; height: 92px; margin-top: 10px; }
.chart div { flex: 1; text-align: center; font-size: 9px; color: #666; }
.chart i { display: block; border-radius: 6px; background: linear-gradient(180deg, #f3e6c8, #c9a86a); margin-bottom: 4px; }
.chart i.low { background: #3a3326; }
.per { margin-top: 10px; }
.per small { font-size: 10px; letter-spacing: 0.12em; font-weight: 700; color: #c9a86a; }
.per-row { display: flex; align-items: center; gap: 10px; font-size: 11.5px; margin-top: 9px; }
.per-row b { width: 52px; font-weight: 600; }
.per-row .bar { flex: 1; height: 5px; background: #222; border-radius: 4px; overflow: hidden; }
.per-row .bar i { display: block; height: 100%; background: linear-gradient(90deg, #fff, #c9a86a); }
.per-row span { width: 32px; text-align: right; color: #aaa; font-size: 10.5px; }
