/* Fajry — feuille de style du site fajryapp.com
   Couleurs reprises de l'app (voir FAJRY_direction_visuelle.md).
   Police Inter hébergée sur le site : aucune requête vers un service externe. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --fond-haut: hsl(140 7% 7%);
  --fond: hsl(150 8% 4%);
  --fond-bas: hsl(120 9% 2%);
  --surface: hsl(150 7% 9%);
  --surface-2: hsl(150 6% 13%);
  --texte: hsl(150 5% 90%);
  --texte-2: hsl(150 4% 67%);
  --discret: hsl(150 4% 56%);
  --tres-discret: hsl(150 4% 50%);
  --accent: hsl(143 38% 62%);
  --sur-accent: hsl(150 13% 6%);
  --valide: hsl(152 74% 60%);
  --serie: hsl(28 84% 58%);
  --halo: hsl(143 38% 62% / 0.10);
  --trait: hsl(0 0% 100% / 0.06);
  --rayon: 20px;
  --largeur: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--fond-haut) 0%, var(--fond) 40%, var(--fond-bas) 100%);
  background-color: var(--fond);
  color: var(--texte);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.saut {
  position: absolute; left: 16px; top: -100px; z-index: 10;
  padding: 12px 16px; border-radius: 12px;
  background: var(--accent); color: var(--sur-accent); font-weight: 700; text-decoration: none;
}
.saut:focus { top: 16px; }

.conteneur { max-width: var(--largeur); margin: 0 auto; padding: 0 20px; }

/* En-tête */
.entete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; text-decoration: none; }
.logo img { width: 34px; height: 34px; border-radius: 9px; }
.menu { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.lien-menu { padding: 12px 14px; font-size: 15px; font-weight: 500; color: var(--discret); text-decoration: none; }
.lien-menu:hover { color: var(--texte); }
.lien-retour { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 600px) {
  .lien-ancre { display: none; }
  .entete { flex-wrap: nowrap; }
}

/* Boutons */
.bouton {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 32px; border-radius: 999px;
  font-size: 17px; font-weight: 700; text-decoration: none;
}
.bouton-petit { min-height: 44px; padding: 0 20px; font-size: 15px; margin-left: 8px; }
.bouton-plein { background: var(--accent); color: var(--sur-accent); }
.bouton-plein:hover { filter: brightness(1.06); }
.bouton-doux { background: var(--surface-2); color: var(--texte); }
.bouton-doux:hover { background: hsl(150 6% 16%); }

/* Titres et textes */
.surtitre { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--discret); }
.titre-section { margin: 12px 0 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; }
.accent { color: var(--accent); }
.texte { margin: 0; font-size: 16px; line-height: 1.55; color: var(--texte-2); }
.petit { margin: 0; font-size: 14px; color: var(--discret); }

/* Hero */
.hero { padding: 56px 0 112px; background: radial-gradient(55% 60% at 72% 45%, var(--halo) 0%, transparent 70%); }
.hero-grille { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.hero-texte { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pastille { align-self: flex-start; margin: 0; padding: 8px 14px; border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 600; color: var(--texte-2); }
.hero h1 { margin: 0; font-size: clamp(48px, 7vw, 88px); line-height: 1.02; font-weight: 800; letter-spacing: -0.04em; }
.chapo { margin: 0; max-width: 520px; font-size: 19px; line-height: 1.55; color: var(--texte-2); }
.chapo strong { color: var(--texte); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-top: 8px; }
.hero-visuel { flex: 1 1 320px; display: flex; justify-content: center; }

/* Maquette de l'écran d'alarme */
.telephone { width: 300px; height: 620px; padding: 10px; border-radius: 50px; background: var(--surface-2); box-shadow: 0 40px 120px hsl(0 0% 0% / 0.55), 0 0 0 1px var(--trait); }
.ecran { height: 100%; border-radius: 40px; padding: 64px 22px 26px; display: flex; flex-direction: column; align-items: center; background: radial-gradient(70% 45% at 50% 28%, var(--halo) 0%, transparent 70%), hsl(150 12% 3%); }
.ecran-priere { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--discret); }
.ecran-heure { margin-top: 6px; font-size: 64px; line-height: 1; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ecran-texte { margin-top: 14px; font-size: 15px; line-height: 1.45; color: var(--texte-2); text-align: center; }
.viseur { position: relative; margin-top: 40px; width: 176px; height: 148px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-size: 12px; color: var(--discret); }
.coin { position: absolute; width: 26px; height: 26px; border: 0 solid hsl(150 5% 90% / 0.55); }
.coin-hg { top: 0; left: 0; border-top-width: 3px; border-left-width: 3px; border-top-left-radius: 14px; }
.coin-hd { top: 0; right: 0; border-top-width: 3px; border-right-width: 3px; border-top-right-radius: 14px; }
.coin-bg { bottom: 0; left: 0; border-bottom-width: 3px; border-left-width: 3px; border-bottom-left-radius: 14px; }
.coin-bd { bottom: 0; right: 0; border-bottom-width: 3px; border-right-width: 3px; border-bottom-right-radius: 14px; }
.ecran-espace { flex-grow: 1; }
.ecran-bouton { width: 100%; height: 54px; border-radius: 999px; background: var(--accent); color: var(--sur-accent); font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* Sections et cartes */
.bloc { padding: 96px 0; }
.bloc-serre { padding-top: 32px; }
.grille { margin: 48px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 300px)), 1fr)); }
.grille-large { --min: 440px; }
.carte { background: var(--surface); border-radius: var(--rayon); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.carte h3 { margin: 0; font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
.carte-tete { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.numero { font-size: 13px; font-weight: 700; color: var(--discret); font-variant-numeric: tabular-nums; }
.icone { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.puces { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }
.puce { padding: 10px 16px; border-radius: 999px; background: var(--surface-2); font-size: 14px; font-weight: 600; }
.puce-barree { color: var(--tres-discret); text-decoration: line-through; }

.lignes { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; font-variant-numeric: tabular-nums; }
.ligne { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--surface-2); font-size: 15px; }
.ligne .heure { color: var(--texte-2); }
.ligne-validee { background: hsl(152 74% 60% / 0.10); }
.valide { display: inline-flex; align-items: center; gap: 8px; color: var(--valide); font-weight: 600; }
.valide svg { width: 16px; height: 16px; fill: none; stroke: var(--valide); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.serie { margin-top: 12px; display: flex; align-items: center; gap: 10px; color: var(--serie); font-size: 17px; font-weight: 700; }
.serie svg { width: 22px; height: 22px; fill: none; stroke: var(--serie); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.semaine { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; max-width: 360px; }
.jour { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: var(--discret); }
.rond { width: 36px; height: 36px; border-radius: 999px; background: var(--surface-2); }
.rond-prie { background: var(--valide); }
.rond-aujourdhui { background: transparent; border: 2px solid hsl(143 38% 62% / 0.45); }
.jour-aujourdhui { color: var(--texte); font-weight: 600; }

.horaire { display: flex; justify-content: space-between; align-items: center; padding: 16px; border-radius: 14px; background: var(--surface-2); }
.horaire span:first-child { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; }
.horaire .icone { width: 18px; height: 18px; }
.horaire strong { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Tarifs */
.tarifs { max-width: 880px; margin: 0 auto; text-align: center; }
.tarifs .grille { text-align: left; --min: 320px; }
.carte-mise-en-avant { box-shadow: inset 0 0 0 1.5px hsl(143 38% 62% / 0.45); }
.carte-titre { display: flex; justify-content: space-between; align-items: center; font-size: 17px; font-weight: 700; }
.badge { padding: 6px 12px; border-radius: 999px; background: hsl(143 38% 62% / 0.14); color: var(--accent); font-size: 13px; font-weight: 700; }
.prix { display: flex; align-items: baseline; gap: 6px; }
.prix strong { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.prix span { font-size: 16px; color: var(--discret); }
.coches { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.coches li { display: flex; gap: 10px; align-items: center; }
.coches svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.note-tarifs { margin: 24px auto 0; max-width: 560px; font-size: 14px; line-height: 1.55; color: var(--discret); }

/* FAQ */
.question { padding: 28px 32px; gap: 10px; }
.question h3 { font-size: 18px; line-height: 1.3; letter-spacing: 0; }

/* Appel final */
.final { padding: 96px 0 120px; background: radial-gradient(50% 60% at 50% 40%, var(--halo) 0%, transparent 70%); }
.final-contenu { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.final-contenu img { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 0 0 1px hsl(0 0% 100% / 0.08), 0 20px 60px hsl(0 0% 0% / 0.5); }
.final h2 { margin: 0; font-size: clamp(36px, 5vw, 60px); line-height: 1.04; font-weight: 800; letter-spacing: -0.035em; }
.final .texte { font-size: 18px; }

/* Pied de page */
.pied { border-top: 1px solid var(--trait); }
.pied-haut { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 24px; padding-top: 40px; padding-bottom: 24px; }
.pied-marque { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--discret); }
.pied-marque strong { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; color: var(--texte); }
.pied-marque a { color: var(--texte-2); text-decoration: none; padding: 6px 0; }
.pied-marque a:hover { color: var(--texte); }
.pied-liens { display: flex; flex-wrap: wrap; gap: 4px; }
.pied-liens a { padding: 12px 14px; font-size: 15px; color: var(--texte-2); text-decoration: none; }
.pied-liens a:hover, .pied-liens a[aria-current="page"] { color: var(--texte); }
.pied-liens a[aria-current="page"] { font-weight: 600; }
.pied-bas { padding-bottom: 40px; font-size: 13px; color: var(--tres-discret); }

/* Pages légales et support */
.page { max-width: 720px; margin: 0 auto; padding: 56px 20px 96px; }
.page-large { max-width: 880px; }
.page h1 { margin: 12px 0 0; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.04; font-weight: 800; letter-spacing: -0.035em; }
.page .maj { margin: 16px 0 0; font-size: 15px; color: var(--discret); }
.page section { margin-top: 40px; display: flex; flex-direction: column; gap: 12px; }
.page h2 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.page section p, .page section li { margin: 0; font-size: 16px; line-height: 1.65; color: var(--texte-2); }
.page section ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.page section li strong { color: var(--texte); font-weight: 600; }
.lien-texte { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.resume { margin-top: 40px; background: var(--surface); border-radius: var(--rayon); padding: 28px 32px; display: flex; flex-direction: column; gap: 14px; }
.resume h2 { font-size: 20px; }
.resume ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.5; }
.resume li { display: flex; gap: 12px; align-items: flex-start; }
.resume svg { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.formules { display: grid; gap: 12px; margin: 8px 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.formule { background: var(--surface); border-radius: 16px; padding: 20px 24px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-variant-numeric: tabular-nums; }
.formule span { font-weight: 600; }
.formule strong { font-size: 18px; }

.contact { margin-top: 40px; background: var(--surface); border-radius: var(--rayon); padding: 28px 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.contact-icone { width: 52px; height: 52px; border-radius: 16px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icone svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-texte { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.contact-texte strong { font-size: 18px; overflow-wrap: anywhere; }
.contact-texte span { font-size: 15px; color: var(--texte-2); }
.contact .bouton { min-height: 48px; padding: 0 24px; font-size: 16px; }
.sous-titre-page { margin: 64px 0 0; font-size: clamp(26px, 3vw, 34px); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
.page .grille { margin-top: 24px; --min: 380px; }
.introduction { margin: 16px 0 0; max-width: 560px; font-size: 18px; line-height: 1.55; color: var(--texte-2); }
