/* Accueil raheel.fr — aucune ressource externe, aucun cookie. */
:root {
  --paper: #f6f4ee;
  --paper-2: #edeae1;
  --card: #ffffff;
  --ink: #11141d;
  --mute: #596070;
  --line: #dedacf;
  --btn: #11141d;
  --btn-ink: #ffffff;
  --ok: #047857;
  --err: #b91c1c;
  --mint: #2fd79b;
  --orange: #ff7a1a;
  --blue: #1f6feb;
  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 30px 60px -28px rgba(10, 16, 34, .45), 0 12px 24px -16px rgba(10, 16, 34, .3);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #090c14;
    --paper-2: #0f131d;
    --card: #141926;
    --ink: #eef0f5;
    --mute: #9ba4b6;
    --line: #232a3b;
    --btn: #eef0f5;
    --btn-ink: #090c14;
    --ok: #34d399;
    --err: #f87171;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { letter-spacing: -.035em; line-height: 1.04; font-weight: 750; text-wrap: balance; }
em { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.02em; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--mute);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: inherit; font-size: 16px; font-weight: 620; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible, a:focus-visible, .field input:focus-visible, .field textarea:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--blue) 70%, transparent); outline-offset: 3px;
}
.btn-dark { background: var(--btn); color: var(--btn-ink); }
.btn-dark:disabled { opacity: .6; cursor: progress; }
.btn-line { border-color: var(--line); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn .arr { transition: transform .18s ease; }
.btn:hover .arr { transform: translate(2px, -2px); }

/* Barre */
.bar {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(170%) blur(14px);
  -webkit-backdrop-filter: saturate(170%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.bar-in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 680; text-decoration: none; letter-spacing: -.01em; }
.mark {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--ink); color: var(--paper); font-weight: 750; font-size: 17px;
}
.nav { display: flex; align-items: center; gap: 26px; font-size: 15.5px; }
.nav a:not(.btn) { text-decoration: none; color: var(--mute); transition: color .15s; }
.nav a:not(.btn):hover { color: var(--ink); }
.nav .btn { min-height: 40px; padding: 0 18px; font-size: 15px; }

/* Héros */
.hero { position: relative; padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 110px); }
.hero::before {
  content: ""; position: absolute; inset: -140px 0 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 46% at 82% 26%, color-mix(in srgb, var(--mint) 30%, transparent), transparent 70%),
    radial-gradient(34% 44% at 66% 78%, color-mix(in srgb, var(--orange) 24%, transparent), transparent 70%),
    radial-gradient(40% 50% at 100% 70%, color-mix(in srgb, var(--blue) 22%, transparent), transparent 70%);
  filter: blur(20px);
}
.hero-in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--card) 75%, transparent); border: 1px solid var(--line);
  font-size: 14px; font-weight: 560;
}
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px color-mix(in srgb, var(--mint) 25%, transparent); }
.hero h1 { font-size: clamp(40px, 5.6vw, 74px); margin: 26px 0 24px; }
.hero h1 em { display: inline-block; padding-right: .06em; }
.lead { font-size: clamp(17.5px, 1.6vw, 20.5px); color: var(--mute); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 44px 0 0; padding: 22px 0 0; list-style: none;
  border-top: 1px solid var(--line); font-size: 14.5px; color: var(--mute);
}
.hero-facts b { color: var(--ink); font-weight: 650; }

/* Téléphones */
.phone {
  position: relative; flex: none; width: var(--pw, 230px); padding: 7px; border-radius: calc(var(--pw, 230px) * .17);
  background: #07080c; box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.phone img { width: 100%; border-radius: calc(var(--pw, 230px) * .17 - 7px); background: #10131c; }

.duo { position: relative; display: flex; justify-content: center; align-items: center; --pw: clamp(170px, 20vw, 250px); min-height: calc(var(--pw) * 2.35); }
.duo .phone:nth-child(1) { transform: rotate(-7deg) translate(8%, 5%); z-index: 1; }
.duo .phone:nth-child(2) { transform: rotate(6deg) translate(-8%, -4%); z-index: 2; }
.chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 11px; padding: 9px 16px 9px 9px;
  border-radius: 18px; background: color-mix(in srgb, var(--card) 88%, transparent); border: 1px solid var(--line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow);
  font-size: 14.5px; font-weight: 650; line-height: 1.2; text-decoration: none;
}
.chip img { width: 42px; height: 42px; border-radius: 11px; }
.chip small { display: block; font-weight: 500; font-size: 12.5px; color: var(--mute); }
.chip-a { left: 0; top: 9%; animation: flotte 7s ease-in-out infinite; }
.chip-b { right: 0; bottom: 10%; animation: flotte 8s ease-in-out -3s infinite; }
@keyframes flotte { 50% { transform: translateY(-10px); } }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-apps { padding-top: 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 24px 60px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(36px, 5.2vw, 64px); margin-top: 18px; }
.section-head p { color: var(--mute); font-size: 18px; max-width: 30em; }

/* Scènes d'application */
.app {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(28px, 5vw, 68px); border-radius: clamp(26px, 3.4vw, 44px);
  color: #fff; background: var(--stage); box-shadow: var(--shadow);
}
.app + .app { margin-top: 28px; }
.app::before {
  content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; right: -18%; top: -30%;
  background: radial-gradient(closest-side, var(--glow), transparent); opacity: .55;
}
.app::after {
  content: ""; position: absolute; z-index: -1; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .11) 1px, transparent 1px); background-size: 22px 22px;
  mask-image: linear-gradient(120deg, transparent 35%, #000); -webkit-mask-image: linear-gradient(120deg, transparent 35%, #000);
}
/* Thèmes de scène (choisis dans l'espace de gestion ; la CSP interdit style="…"). */
.theme-bleu { --stage: linear-gradient(150deg, #0b4bb0 0%, #06307a 55%, #041f55 100%); --glow: #ff7a1a; --hl: #ffb37a; }
.theme-nuit { --stage: linear-gradient(150deg, #101a31 0%, #0b1223 60%, #070b17 100%); --glow: #2fd79b; --hl: #5ff0bb; }
.theme-violet { --stage: linear-gradient(150deg, #4b2a9e 0%, #2e1769 55%, #1b0d45 100%); --glow: #ff5fa2; --hl: #ffb3d4; }
.theme-vert { --stage: linear-gradient(150deg, #0f5c43 0%, #0a3f2e 55%, #062a1f 100%); --glow: #d4ff4f; --hl: #e3ff9a; }
.theme-corail { --stage: linear-gradient(150deg, #c2412d 0%, #8f2a1d 55%, #5e1a12 100%); --glow: #ffd166; --hl: #ffe3a3; }
.theme-ardoise { --stage: linear-gradient(150deg, #2b3340 0%, #1c222c 55%, #12161d 100%); --glow: #f2b84b; --hl: #f7d58e; }
.theme-bordeaux { --stage: linear-gradient(150deg, #7a1838 0%, #520f25 55%, #340917 100%); --glow: #ff8f6b; --hl: #ffc2ad; }
.app.inverse .fan { order: -1; }

.state {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 13px 6px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); font-size: 13.5px; font-weight: 600;
}
.state i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; }
.state.test i { background: #fbbf24; }
.state.bientot i { background: #93c5fd; }
.app-id { display: flex; align-items: center; gap: 18px; margin: 26px 0 18px; }
.app-id img { width: 76px; height: 76px; border-radius: 19px; box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .18); }
.app-id h3 { font-size: clamp(36px, 4.4vw, 56px); }
.app-id span { display: block; margin-top: 6px; font-size: 14.5px; color: rgba(255, 255, 255, .72); letter-spacing: 0; font-weight: 500; }
.tagline { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 29px); line-height: 1.25; color: var(--hl); }
.app-copy > p:not(.tagline) { margin-top: 16px; color: rgba(255, 255, 255, .82); max-width: 32em; }
.points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; font-size: 15.5px; }
.points li { display: flex; gap: 10px; align-items: baseline; }
.points li::before { content: "✓"; color: var(--hl); font-weight: 700; }
.app .actions { margin-top: 30px; }
.btn-light { background: #fff; color: #0b1020; }
.btn-glass { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-glass:hover { background: rgba(255, 255, 255, .18); }
/* Badges App Store / Google Play */
.store {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px 0 13px; border-radius: 12px;
  background: #000; color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, .38);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.store:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .7); box-shadow: 0 12px 24px -14px rgba(0, 0, 0, .8); }
.store:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 70%, transparent); outline-offset: 3px; }
.store svg { width: 28px; height: 28px; flex: none; }
.store-play svg { width: 25px; height: 25px; }
.store span { display: grid; font-size: 19px; font-weight: 600; line-height: 1.05; letter-spacing: -.01em; white-space: nowrap; }
.store small { font-size: 11px; font-weight: 500; letter-spacing: .01em; opacity: .9; }
.store-play small { text-transform: uppercase; font-size: 10px; letter-spacing: .06em; }
.note { margin-top: 16px; font-size: 13px; color: rgba(255, 255, 255, .6); }

.app-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 14.5px; }
.app-links a { color: rgba(255, 255, 255, .82); text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .35); }
.app-links a:hover { color: #fff; text-decoration-color: currentColor; }

.fan { display: flex; justify-content: center; align-items: center; --pw: clamp(150px, 17vw, 218px); padding: 12px 0; }
.fan .phone { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.fan .phone:nth-child(1) { transform: rotate(-8deg) scale(.86); margin-right: calc(var(--pw) * -.36); }
.fan .phone:nth-child(2) { z-index: 2; }
.fan .phone:nth-child(3) { transform: rotate(8deg) scale(.86); margin-left: calc(var(--pw) * -.36); }
.fan-2 .phone:nth-child(1) { margin-right: calc(var(--pw) * -.2); }
.fan-2 .phone:nth-child(2) { transform: rotate(6deg); }
.fan-1 .phone:nth-child(1) { transform: rotate(-4deg); margin: 0; }
.fan-icone img { width: min(60%, 240px); border-radius: 22%; box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, .18); }
@media (hover: hover) {
  .app:hover .fan-1 .phone:nth-child(1) { transform: rotate(-2deg) translateY(-8px); }
  .app:hover .fan-2 .phone:nth-child(2) { transform: rotate(8deg) translateX(6%); }
  .app:hover .fan .phone:nth-child(1) { transform: rotate(-11deg) scale(.88) translateX(-9%); }
  .app:hover .fan .phone:nth-child(3) { transform: rotate(11deg) scale(.88) translateX(9%); }
  .app:hover .fan .phone:nth-child(2) { transform: translateY(-8px); }
}

/* Applications en préparation */
.soon-bloc { margin-top: clamp(40px, 6vw, 72px); }
.soon-titre { font-size: clamp(26px, 3vw, 36px); margin-bottom: 20px; }
.soon-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.soon {
  position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 12px; align-content: start;
  padding: 26px; border-radius: 26px; background: var(--card); border: 1px solid var(--line);
}
.soon::before {
  content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: 6px; background: var(--stage);
}
.soon-id { display: flex; align-items: center; gap: 14px; }
.soon-id img, .soon-lettre { width: 56px; height: 56px; border-radius: 15px; flex: none; }
.soon-lettre { display: grid; place-items: center; background: var(--stage); color: #fff; font-weight: 750; font-size: 24px; }
.soon h4 { margin: 0; font-size: 22px; letter-spacing: -.02em; line-height: 1.1; }
.soon-id div span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--mute); }
.soon-accroche { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.3; }
.soon p:not(.soon-accroche):not(.soon-etat) { color: var(--mute); font-size: 15.5px; }
.soon-etat { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 4px; font-size: 14px; font-weight: 600; }
.soon-etat i { width: 8px; height: 8px; border-radius: 50%; background: #60a5fa; }
.soon-etat a { font-weight: 500; color: var(--mute); text-underline-offset: 3px; }

/* Prochain projet */
.next {
  margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px;
  padding: clamp(24px, 3.4vw, 40px); border-radius: clamp(22px, 3vw, 36px); border: 1.5px dashed var(--line);
}
.next h3 { font-size: clamp(24px, 2.6vw, 32px); }
.next p { color: var(--mute); margin-top: 8px; max-width: 38em; }

/* Démarche */
.alt { background: var(--paper-2); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { padding: 30px 28px 32px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); }
.card .num { font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--mute); line-height: 1; }
.card h3 { font-size: 24px; margin: 26px 0 10px; }
.card p { color: var(--mute); font-size: 16px; }
.facts { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.facts li { padding: 20px 28px; border-radius: 22px; border: 1px solid var(--line); }
.facts strong { display: block; font-size: 17px; }
.facts span { color: var(--mute); font-size: 15px; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact h2 { font-size: clamp(40px, 6vw, 76px); margin: 18px 0 20px; }
.contact .lead { font-size: 18px; }
.form { padding: clamp(22px, 3vw, 36px); border-radius: 30px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; font-size: 14.5px; font-weight: 600; }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); font: inherit; font-weight: 400; resize: vertical;
}
.cf-turnstile { min-height: 65px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.legal-note { font-size: 13.5px; color: var(--mute); }
.form .btn { justify-self: start; }
.status { font-size: 15px; min-height: 1.5em; }
.status.ok { color: var(--ok); }
.status.err { color: var(--err); }

/* Pied */
.foot { border-top: 1px solid var(--line); padding: 44px 0 36px; font-size: 14.5px; color: var(--mute); }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; margin-bottom: 36px; }
.foot-cols nav { display: grid; gap: 9px; align-content: start; justify-items: start; }
.foot-cols strong { color: var(--ink); font-size: 15px; margin-bottom: 4px; }
.foot-cols a { text-decoration: none; }
.foot-cols a:hover { color: var(--ink); text-decoration: underline; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }

/* Apparition au défilement (seulement si JavaScript est actif) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero-in, .section-head, .app, .contact { grid-template-columns: minmax(0, 1fr); }
  .app.inverse .fan { order: 0; }
  .duo { --pw: min(40vw, 210px); margin-top: 12px; }
  .fan { --pw: min(34vw, 200px); }
  .cards, .facts { grid-template-columns: minmax(0, 1fr); }
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .points, .row, .foot-cols { grid-template-columns: minmax(0, 1fr); }
  .app { padding: 26px 20px 30px; }
  .app-id img { width: 62px; height: 62px; border-radius: 16px; }
  .chip { font-size: 13px; padding: 7px 12px 7px 7px; }
  .chip img { width: 34px; height: 34px; border-radius: 9px; }
  .actions .btn { flex: 1 1 auto; }
  .app .actions .store { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
