/* AfroMode — page d'accueil du site (/ et /en).
   Servie depuis la même origine (CSP « style-src 'self' »), sans JavaScript, sans style en ligne.
   Mêmes tokens que la page d'annonce (design system v0.1, piste A Pop urbain).
   Mise en page : une colonne sur mobile ; au-dessus de 860 px, chaque bloc passe en deux colonnes (texte / capture), en alternance. */

@font-face { font-family: "Unbounded"; font-weight: 800; font-display: swap; src: url("fonts/unbounded_extrabold.ttf") format("truetype"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 400; font-display: swap; src: url("fonts/plusjakartasans_regular.ttf") format("truetype"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-display: swap; src: url("fonts/plusjakartasans_bold.ttf") format("truetype"); }

:root {
  --bg: #FFF8EE; --surface: #FFFFFF; --sunken: #FFE7CF; --ink: #16110D; --muted: #6B5E53;
  --primary: #FF5A1F; --primary-press: #FF7A47; --border: #16110D; --subtle: #E9DFD3; --focus: #2340FF;
  --mangue: #FFC21A; --lagune: #00A39A; --hibiscus: #E8177F; --wa: #3DDC84;
  --band: #16110D; --band-ink: #FFF8EE; --band-muted: #C2B4A6; --band-line: #4A3E35;
  --f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #16110D; --surface: #231C17; --sunken: #2E251F; --ink: #FFF8EE; --muted: #C2B4A6; --border: #E9DCCD; --subtle: #4A3E35; --focus: #8FA0FF; --hibiscus: #FF4FA3; --lagune: #2CC7BD; --band: #2E251F; --band-line: #5A4C41; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #16110D; --surface: #231C17; --sunken: #2E251F; --ink: #FFF8EE; --muted: #C2B4A6; --border: #E9DCCD; --subtle: #4A3E35; --focus: #8FA0FF; --hibiscus: #FF4FA3; --lagune: #2CC7BD; --band: #2E251F; --band-line: #5A4C41; color-scheme: dark; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

/* En-tête */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 16px; }
.top .logo img { height: 30px; width: auto; display: block; }
.top nav { display: flex; align-items: center; gap: 18px; font: 700 14px/1 var(--f-body); }
.top nav a { text-underline-offset: 3px; padding-block: 14px; }
.top .lang { text-decoration: none; border: 2px solid var(--border); border-radius: 999px; padding: 8px 12px; }

/* Boutons */
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 14px 24px; border: 2px solid var(--border); border-radius: 999px; background: var(--primary); color: #16110D; font: 700 17px/1.2 var(--f-body); text-align: center; text-decoration: none; box-shadow: 4px 4px 0 var(--border); }
.cta:active { background: var(--primary-press); box-shadow: none; transform: translate(4px, 4px); }
.cta svg { width: 22px; height: 22px; flex: none; }
.cta.alt { background: var(--surface); color: var(--ink); }

/* Ouverture */
.hero { display: grid; gap: 32px; padding-block: 16px 48px; }
.hero > *, .feature > *, .sellers .wrap > * { min-width: 0; }
.chip { display: inline-block; font: 700 13px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; padding: 8px 12px; border: 2px solid var(--border); border-radius: 999px; background: var(--mangue); color: #16110D; }
h1 { font: 800 clamp(34px, 8.6vw, 64px)/1.04 var(--f-display); letter-spacing: -0.03em; margin: 18px 0 16px; text-wrap: balance; }
h1 em { font-style: normal; color: var(--primary); }
.lead { font-size: clamp(17px, 2.2vw, 20px); margin: 0 0 26px; max-width: 34ch; }
.small { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.phones { position: relative; display: flex; justify-content: center; padding: 8px 0 12px; }
.phone { margin: 0; width: min(64vw, 270px); aspect-ratio: 9 / 20; border: 2px solid var(--border); border-radius: 30px; overflow: hidden; background: var(--sunken); box-shadow: 8px 8px 0 var(--border); flex: none; }
.phone img { width: 100%; height: 100%; object-fit: cover; display: block; }
.phones .phone:first-of-type { width: min(54vw, 270px); }
.phones .phone + .phone { width: min(40vw, 210px); margin-left: -12vw; margin-top: 16%; transform: rotate(4deg); }
.shape { position: absolute; width: 0; height: 0; border-left: 22px solid transparent; border-right: 22px solid transparent; border-bottom: 38px solid var(--mangue); }
.shape.s1 { top: 0; left: 6%; transform: rotate(-12deg); }
.shape.s2 { bottom: 8%; right: 4%; border-bottom-color: var(--hibiscus); transform: rotate(18deg); }

/* Occasions */
.occasions { border-block: 2px solid var(--border); background: var(--sunken); }
.occasions .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding-block: 18px; }
.occasions p { margin: 0 8px 0 0; font: 800 15px/1.2 var(--f-display); }
.occasions ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.occasions li { border: 2px solid var(--border); border-radius: 999px; padding: 6px 12px; background: var(--surface); font-weight: 700; font-size: 14px; }

/* Blocs */
.feature { display: grid; gap: 28px; align-items: center; padding-block: 56px; }
.feature + .feature { border-top: 1px solid var(--subtle); }
.feature h2 { font: 800 clamp(26px, 5.4vw, 40px)/1.12 var(--f-display); letter-spacing: -0.02em; margin: 12px 0 14px; text-wrap: balance; }
.feature p { margin: 0 0 14px; max-width: 46ch; }
.tag { display: inline-flex; align-items: center; gap: 8px; font: 700 14px/1 var(--f-body); color: var(--muted); }
.tag i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: var(--primary); }
.tag.t2 i { background: var(--lagune); }
.tag.t3 i { background: var(--wa); }
.feature .phone { margin-inline: auto; width: min(58vw, 280px); }
.list { margin: 4px 0 14px; padding: 0; list-style: none; display: grid; gap: 8px; }
.list li { padding-left: 26px; position: relative; }
.list li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 10px; border: 2px solid var(--border); border-radius: 50%; background: var(--primary); }
.safe { border: 2px dashed var(--muted); border-radius: 14px; padding: 12px 14px; font-size: 14px; color: var(--muted); max-width: 46ch; }

/* Bande vendeurs */
.sellers { background: var(--band); color: var(--band-ink); }
.sellers .wrap { display: grid; gap: 32px; align-items: center; padding-block: 64px; }
.sellers h2 { font: 800 clamp(28px, 6vw, 44px)/1.1 var(--f-display); letter-spacing: -0.02em; margin: 12px 0 14px; text-wrap: balance; }
.sellers h2 em { font-style: normal; color: var(--mangue); }
.sellers .tag { color: var(--band-muted); }
.sellers .tag i { background: var(--mangue); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 8px 0 28px; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #16110D; font: 800 17px/1 var(--f-display); border: 2px solid var(--band-ink); }
.steps b { display: block; font-size: 17px; }
.steps span { color: var(--band-muted); }
.sellers .phone { width: min(58vw, 280px); border-color: var(--band-ink); box-shadow: 8px 8px 0 var(--primary); margin-inline: auto; }
.sellers .cta { border-color: var(--band-ink); box-shadow: 4px 4px 0 var(--band-ink); }

/* Fin */
.end { text-align: center; padding-block: 64px 48px; }
.end h2 { font: 800 clamp(28px, 6vw, 46px)/1.08 var(--f-display); letter-spacing: -0.025em; margin: 0 auto 22px; max-width: 18ch; text-wrap: balance; }
.social { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 26px; font-weight: 700; }
.social a { text-underline-offset: 3px; padding-block: 10px; }

.foot { border-top: 1px solid var(--subtle); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-block: 20px 32px; font-size: 13px; color: var(--muted); }
.foot a { text-underline-offset: 3px; }
.foot .mail { overflow-wrap: anywhere; }

@media (min-width: 860px) {
  .top { padding-block: 24px; }
  .hero { grid-template-columns: 1.1fr .9fr; align-items: center; padding-block: 32px 72px; }
  .phone { width: 280px; }
  .phones .phone:first-of-type { width: 280px; }
  .phones .phone + .phone { width: 220px; margin-left: -60px; }
  .feature { grid-template-columns: 1fr 1fr; gap: 56px; padding-block: 80px; }
  .feature.flip .text { order: 2; }
  .sellers .wrap { grid-template-columns: 1.15fr .85fr; gap: 56px; padding-block: 88px; }
}
@media (prefers-reduced-motion: reduce) { .cta:active { transform: none; } }

/* Integration A5: text enlargement must reflow without hiding content. */
h1, h2 { overflow-wrap: anywhere; hyphens: auto; }
.top { flex-wrap: wrap; }
.top nav { flex-wrap: wrap; min-width: 0; }
.cta { max-width: 100%; }
a { cursor: pointer; }
.cta:hover { background: var(--primary-press); }
.cta.alt:hover { background: var(--sunken); }
a:not(.cta):hover { text-decoration-thickness: 2px; }
:root { scrollbar-color: var(--muted) var(--bg); scrollbar-width: auto; scrollbar-gutter: stable; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--muted); border: 3px solid var(--bg); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover, ::-webkit-scrollbar-thumb:active { background: var(--ink); }
@media (forced-colors: active) { :root { scrollbar-color: auto; } }

/* Correctif du 12/11/2026 (Claude) : cadre des téléphones. Le cadre est dessiné par le fond et une marge intérieure,
   l'écran est arrondi dans le cadre : plus de bord manquant ni d'écran rogné, même incliné. */
.phone { border: 0; padding: 6px; background: var(--border); overflow: visible; aspect-ratio: auto; align-self: flex-start; height: auto; }
.phone img { height: auto; aspect-ratio: 9 / 20; border-radius: 24px; }
.phones .phone + .phone { position: relative; z-index: 1; }
.sellers .phone { background: var(--band-ink); }
