/* Josh-Services — feuille unique, sans dépendance.
 *
 * Aucune police distante, aucun script tiers : sur une connexion
 * congolaise, chaque requête vers un autre domaine coûte une seconde. La
 * page doit s'afficher entière au premier paquet.
 *
 * La pile de polices est celle du système — la même que celle retenue pour
 * Yambo Kelasi. Elle est déjà sur l'appareil : rien à télécharger, et le
 * texte s'affiche à l'instant. */

:root {
  --encre:        #0d1b2a;
  --encre-2:      #1b2d45;
  --sarcelle:     #00c9a7;
  --sarcelle-700: #009b82;
  --fond:         #ffffff;
  --fond-2:       #f6f8fa;
  --texte:        #1b2431;
  --texte-doux:   #56637a;
  --bordure:      #e3e8ef;

  --sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
          "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

/* Le mode sombre suit le réglage de l'appareil. La garde `:not([data-theme])`
 * n'est pas utile ici — la page n'a pas de bascule — mais les couleurs
 * restent des variables, pour qu'en ajouter une ne demande pas de tout
 * relire. */
@media (prefers-color-scheme: dark) {
  :root {
    --fond:       #0d1b2a;
    --fond-2:     #142238;
    --texte:      #e8eef7;
    --texte-doux: #9aa9c0;
    --bordure:    #223350;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--texte);
  background: var(--fond);
  -webkit-font-smoothing: antialiased;
}

.dedans { width: min(100% - 2rem, 62rem); margin-inline: auto; }
.etroit { width: min(100% - 2rem, 40rem); }

.saut {
  position: absolute; left: -999px;
  background: var(--sarcelle); color: #002a23;
  padding: .6rem 1rem; border-radius: 0 0 .5rem 0; z-index: 10;
}
.saut:focus { left: 0; }

/* ----------------------------------------------------------- bandeau */

.bandeau {
  border-bottom: 1px solid var(--bordure);
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--fond) 88%, transparent);
  backdrop-filter: blur(8px);
}
.bandeau-rangee {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .85rem 0; flex-wrap: wrap;
}
.marque {
  display: inline-flex; align-items: center; gap: .6rem;
  text-decoration: none; color: var(--texte); font-weight: 650;
}
.marque-sceau {
  display: grid; place-items: center;
  width: 2rem; height: 2rem; border-radius: .6rem;
  background: var(--encre); color: var(--sarcelle);
  font-weight: 700;
}
.bandeau nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.bandeau nav a {
  color: var(--texte-doux); text-decoration: none; font-size: .95rem;
}
.bandeau nav a:hover { color: var(--sarcelle-700); }

/* --------------------------------------------------------- ouverture */

.ouverture { padding: clamp(3rem, 9vw, 6rem) 0 clamp(2.5rem, 7vw, 4.5rem); }

.surtitre {
  margin: 0 0 1rem; font-size: .82rem; letter-spacing: .09em;
  text-transform: uppercase; color: var(--sarcelle-700); font-weight: 600;
}
h1 {
  margin: 0 0 1.2rem;
  font-size: clamp(2rem, 5.4vw, 3.1rem);
  line-height: 1.12; letter-spacing: -.02em; text-wrap: balance;
}
.chapeau {
  margin: 0 0 2rem; max-width: 42rem;
  font-size: clamp(1.02rem, 2vw, 1.18rem); color: var(--texte-doux);
}
.actions { display: flex; gap: .75rem; flex-wrap: wrap; margin: 0; }

.bouton {
  display: inline-block; padding: .68rem 1.3rem; border-radius: .6rem;
  background: var(--sarcelle); color: #00251f;
  text-decoration: none; font-weight: 600; font-size: .96rem;
  border: 1px solid transparent;
}
.bouton:hover { background: var(--sarcelle-700); color: #fff; }
.bouton-discret {
  background: transparent; color: var(--texte);
  border-color: var(--bordure);
}
.bouton-discret:hover { background: var(--fond-2); color: var(--texte); }

/* ------------------------------------------------------------ bandes */

.bande { padding: clamp(2.5rem, 7vw, 4.5rem) 0; }
.bande-claire { background: var(--fond-2); }

h2 {
  margin: 0 0 1.8rem; font-size: clamp(1.4rem, 3.2vw, 1.85rem);
  letter-spacing: -.015em;
}
h3 { margin: 0 0 .55rem; font-size: 1.1rem; }

.grille {
  display: grid; gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}
.grille p { margin: 0; color: var(--texte-doux); font-size: .97rem; }

/* ----------------------------------------------------------- produit */

.produit {
  border: 1px solid var(--bordure); border-radius: 1rem;
  padding: clamp(1.4rem, 4vw, 2.2rem); background: var(--fond);
}
.etiquette {
  margin: 0 0 .4rem; font-size: .78rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--sarcelle-700); font-weight: 600;
}
.produit h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); margin-bottom: .8rem; }
.produit p { color: var(--texte-doux); margin: 0 0 1.2rem; max-width: 46rem; }

.points { margin: 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.points li {
  position: relative; padding-left: 1.5rem;
  font-size: .95rem; color: var(--texte-doux);
}
.points li::before {
  content: ""; position: absolute; left: .25rem; top: .62em;
  width: .42rem; height: .42rem; border-radius: 50%;
  background: var(--sarcelle);
}

/* ------------------------------------------------------- coordonnées */

.coordonnees { display: grid; gap: 1.1rem; margin: 1.6rem 0 0; }
.coordonnees dt {
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--texte-doux); margin-bottom: .2rem;
}
.coordonnees dd { margin: 0; font-size: 1.02rem; }
.coordonnees a { color: var(--sarcelle-700); }

/* -------------------------------------------------------------- pied */

.pied {
  border-top: 1px solid var(--bordure);
  padding: 1.6rem 0; font-size: .9rem; color: var(--texte-doux);
}
.pied-rangee {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.pied p { margin: 0; }
.pied a { color: var(--texte-doux); }

/* Ceux qui ont demandé moins de mouvement en reçoivent moins. */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
