/* ==========================================================================
   Greenflag — feuille de style partagée (appgreenflag.com)
   Charte alignée sur l'app mobile. Aucune dépendance externe (souveraineté).
   ========================================================================== */

/* --- Variables de marque -------------------------------------------------- */
:root {
  --vert:        #49D292;  /* vert « feu vert » (primaire) */
  --vert-fonce:  #3BB57C;
  --fond-sombre: #1A1A2E;  /* fond sombre (hero, footer) */
  --fond-noir:   #0B0B1A;  /* fond très sombre */
  --fond-clair:  #F8FFFE;  /* fond des pages de contenu */
  --texte:       #1A1A2E;
  --texte-2:     #6B7280;  /* texte secondaire */
  --rouge:       #F87171;  /* refus */
  --bord:        #E5E7EB;  /* aligné sur le thème de l'app */
  --largeur:     720px;    /* largeur de lecture confortable */

  /* Pile système proche d'Inter — zéro requête externe.
     Pour le rendu Inter exact, voir le README (auto-hébergement). */
  --police: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
            Helvetica, Arial, sans-serif;
}

/* --- Réinitialisation légère --------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--police);
  color: var(--texte);
  background: var(--fond-clair);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--vert-fonce); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.2; color: var(--texte); }

/* --- En-tête (barre de navigation) --------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 255, 254, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--bord);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 960px;
  margin: 0 auto;
  padding: 14px 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--texte);
}
.brand:hover { text-decoration: none; }
.brand img { height: 30px; width: auto; }
.brand span { font-size: 18px; letter-spacing: -0.02em; }
/* Le « f » de Greenflag teinté en vert (le f de flag) — même vert que le drapeau. */
.brand-f { color: var(--vert); }

.nav-legal a {
  color: var(--texte-2);
  font-size: 14px;
  margin-left: 18px;
}
.nav-legal a:hover { color: var(--vert-fonce); }
.nav-legal a[aria-current="page"] { color: var(--texte); font-weight: 600; }

/* --- Sections génériques -------------------------------------------------- */
.section { padding: 72px 20px; }
.section .wrap { max-width: 960px; margin: 0 auto; }

/* --- HERO (landing) ------------------------------------------------------- */
.hero {
  background:
    radial-gradient(1200px 600px at 70% -10%, rgba(73, 210, 146, 0.18), transparent 60%),
    var(--fond-sombre);
  color: #fff;
  text-align: center;
  padding: 96px 20px 88px;
}
.hero .wrap { max-width: 760px; margin: 0 auto; }
.hero .badge {
  display: inline-block;
  border: 1px solid rgba(73, 210, 146, 0.5);
  color: var(--vert);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(34px, 6vw, 56px);
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}
.hero h1 .accent { color: var(--vert); }

.hero .tagline {
  font-size: clamp(18px, 3vw, 22px);
  color: #C9CBD6;
  margin: 0 auto 34px;
  max-width: 600px;
}

/* --- Boutons -------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.08s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--vert);
  color: #0B0B1A;
  box-shadow: 0 8px 24px rgba(73, 210, 146, 0.35);
}
.btn-primary:hover { background: var(--vert-fonce); }
.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
}
.btn-ghost:hover { border-color: var(--vert); color: var(--vert); }

.store-buttons {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 14px;
  margin-top: 8px;
}
/* Sur mobile, les deux boutons passent l'un sous l'autre (toujours à largeur égale). */
@media (max-width: 560px) { .store-buttons { grid-auto-flow: row; } }
.store-soon {
  display: block;
  margin-top: 18px;
  font-size: 14px;
  color: #8C8FA3;
}

/* --- Grille de cartes (concept / souveraineté) --------------------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 40px;
}
.card {
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: 16px;
  padding: 26px;
}
.card .ico {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: rgba(73, 210, 146, 0.12);
  border-radius: 12px;
  margin-bottom: 16px;
}
.card h3 { font-size: 18px; margin: 0 0 8px; }
.card p { margin: 0; color: var(--texte-2); font-size: 15px; }

.section-title { text-align: center; }
.section-title h2 {
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.section-title p {
  color: var(--texte-2);
  max-width: 560px;
  margin: 0 auto;
  font-size: 17px;
}

/* Fond vert très pâle (section souveraineté) */
.section-soft { background: #F1FBF6; }
.section-title .accent { color: var(--vert-fonce); }

/* Fond sombre (« Ici, c'est toi qui décides » : contrôle/sécurité) */
.section-dark {
  background: var(--fond-noir);
  color: #fff;
}
.section-dark h2 { color: #fff; }
.section-dark .section-title .accent { color: var(--vert); }

/* Chute émotionnelle (avant le footer) : bandeau vert, le dernier mot au ressenti. */
.closing { background: var(--vert); text-align: center; padding: 64px 20px; }
.closing .wrap { max-width: 720px; margin: 0 auto; }
.closing h2 { color: #0B1F15; font-size: clamp(24px, 4vw, 34px); line-height: 1.2; letter-spacing: -0.02em; margin: 0; }
.closing .closing-soon { color: rgba(11, 31, 21, 0.66); font-size: 14px; font-weight: 600; margin: 18px 0 0; }
.section-dark .section-title p { color: #B6B9C8; }
.section-dark .card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}
.section-dark .card h3 { color: #fff; }
.section-dark .card p { color: #B6B9C8; }

/* --- « Comment ça marche » : liste verticale numérotée ------------------- */
/* Pleine largeur de la section (.wrap = 960px) pour que la description s'étale
   sur la largeur de page et ne forme pas un bloc compact. */
.steps { max-width: 560px; margin: 44px auto 0; }
.step { display: flex; align-items: flex-start; position: relative; margin-bottom: 14px; }
.step:last-child { margin-bottom: 0; }
/* Fil de vie : segment centré PILE sous chaque nœud (colonne de 46px → centre à 23px = trait à 22px). */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 22px; top: 46px; bottom: -14px;
  width: 2px; background: #CDEBDD; z-index: 0;
}
/* Nœud = colonne fixe de 46px : son centre (23px) et le trait (22px) partagent le même axe, par construction. */
.step .num {
  position: relative;
  z-index: 1;
  flex: 0 0 46px;
  margin-right: -24px;       /* fait glisser la carte SOUS le cercle (effet drapeau), sans bouger le centre du nœud */
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--vert);   /* vert du logo */
  color: #0B0B1A;            /* foncé du logo */
  font-weight: 800;
  font-size: 18px;
  border-radius: 999px;
  box-sizing: border-box;
}
/* Dernier nœud « creux » : le drapeau fantôme — à cette étape, tout s'efface. */
.step:last-child .num {
  background: var(--fond-clair);
  border: 2px solid #9BD9BF;
}
.step:last-child .num svg { width: 21px; height: 21px; }
.step-body {
  flex: 1;
  margin-top: 23px;               /* le haut de la carte s'aligne sur le milieu du cercle (rayon = 23px) */
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: 12px;
  padding: 15px 18px 15px 38px;   /* dégage le texte du cercle qui chevauche (un peu plus, la carte a glissé à gauche) */
}
.step h3 { margin: 0 0 4px; font-size: 18px; }
.step p  { margin: 0; color: var(--texte-2); }

/* Accessibilité : élément réservé aux lecteurs d'écran (invisible à l'œil) */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* --- Pages de contenu (légal) -------------------------------------------- */
.page {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 56px 20px 80px;
}
.page h1 {
  font-size: clamp(28px, 5vw, 40px);
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.page .maj {
  color: var(--texte-2);
  font-size: 14px;
  margin: 0 0 36px;
}
.page h2 {
  font-size: 22px;
  margin: 40px 0 12px;
  padding-top: 8px;
}
.page h3 { font-size: 18px; margin: 26px 0 8px; }
.page p, .page li { color: #2A2A3A; }
.page ul, .page ol { padding-left: 22px; }
.page li { margin: 6px 0; }

/* Encadré d'avertissement / note importante */
.callout {
  background: rgba(73, 210, 146, 0.08);
  border: 1px solid rgba(73, 210, 146, 0.35);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 15px;
}
.callout.warn {
  background: rgba(248, 113, 113, 0.08);
  border-color: rgba(248, 113, 113, 0.4);
}
.callout strong { color: var(--texte); }

/* Tableau récap des données (confidentialité) */
.table-wrap { overflow-x: auto; margin: 20px 0; }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
table.data th, table.data td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--bord);
  vertical-align: top;
}
table.data th {
  background: rgba(73, 210, 146, 0.08);
  font-weight: 600;
  color: var(--texte);
}

/* Bloc contact (mailto) */
.contact-box {
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: 16px;
  padding: 28px;
  margin-top: 24px;
}
.contact-box .mail {
  font-size: 20px;
  font-weight: 700;
  color: var(--texte);
}

/* --- Pied de page --------------------------------------------------------- */
.site-footer {
  background: var(--fond-sombre);
  color: #B6B9C8;
  padding: 48px 20px;
}
.site-footer .wrap {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}
.site-footer .brand span { color: #fff; }
.site-footer .brand span.brand-f { color: var(--vert); }   /* garde le « f » vert sur le fond sombre */
.site-footer .tag { margin: 12px 0 0; font-size: 14px; max-width: 280px; }
.site-footer nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer nav a { color: #B6B9C8; font-size: 14px; }
.site-footer nav a:hover { color: var(--vert); }
.site-footer .legal-bottom {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  margin-top: 8px;
  font-size: 13px;
  color: #8C8FA3;
}
.footer-cols {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.footer-cols h4 {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
}

/* --- Lien Instagram (sobre : glyphe SVG inline, monochrome, vert au survol) --- */
.ig-link { display: inline-flex; align-items: center; gap: 8px; color: inherit; transition: color 0.18s ease; }
.ig-link svg { width: 19px; height: 19px; display: block; flex: none; }
.nav-legal .ig-link { color: var(--texte-2); margin-left: 18px; vertical-align: middle; }
.nav-legal .ig-link:hover { color: var(--vert-fonce); }
.site-footer .ig-link { margin-top: 14px; color: #8C8FA3; }
.site-footer .ig-link span { font-size: 14px; }
.site-footer .ig-link:hover { color: var(--vert); }
/* greenflags / redflags colorés dans les étapes (renfort visuel de la métaphore) */
.step-body .gf { color: var(--vert-fonce); }
.step-body .rf { color: #DC2626; }
/* CTA Instagram sur la bande verte de fin — un cran plus visible, mais sobre */
.closing .closing-follow { color: rgba(11, 31, 21, 0.82); font-size: 15px; font-weight: 600; margin: 22px 0 12px; }
.closing .ig-cta { padding: 10px 16px; border-radius: 999px; background: #0B1F15; color: #fff; font-weight: 600; box-shadow: 0 6px 18px -8px rgba(11, 31, 21, 0.6); transition: opacity 0.18s ease, transform 0.18s ease; }
.closing .ig-cta span { font-size: 15px; }
.closing .ig-cta:hover { opacity: 0.92; transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .closing .ig-cta:hover { transform: none; } }

/* --- Lien retour (haut des pages légales) -------------------------------- */
.back-home {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--texte-2);
}

/* --- CONCEPT en split-screen + respiration (pure CSS) -------------------- */
/* Fond sombre légèrement distinct de la section souveraineté (#0B0B1A) qui
   suit, pour créer une marche tonale plutôt qu'un seul gros bloc noir. */
.concept-split {
  background: var(--fond-sombre);
  color: #fff;
  overflow: hidden;
}
/* Titre de la section, en blanc sur le fond sombre ; « nouveau monde » en vert */
.concept-split .section-title h2 { color: #fff; }
.concept-split .section-title .accent { color: var(--vert); }
/* Accroche « timide » : promesse émotionnelle du concept, centrée sous le fond sombre. */

.concept-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 22px;
  align-items: stretch;
  margin-top: 26px;
}

/* Chaque monde dans SON bloc : l'ancien (terne, bordure neutre) ;
   Greenflag (contour vert + halo). Label en haut, points en bas. */
.world {
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  padding: 22px 20px 24px;
}
.world--old {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.world--new {
  background: rgba(73, 210, 146, 0.05);
  border: 1.5px solid rgba(73, 210, 146, 0.45);
  box-shadow: 0 0 50px rgba(73, 210, 146, 0.12);
}
.world-label {
  text-align: center;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.world--old .world-label { color: #fff; }
.world--new .world-label { color: var(--vert); }
.world .deck { flex: 1; min-height: 360px; }

/* Les points : ✕ rouges (ancien monde) vs ✓ verts (Greenflag) */
.world-points {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.world-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
}
.world-points li::before { flex: 0 0 auto; font-weight: 800; font-size: 13px; }
.world--old .world-points li { color: rgba(255, 255, 255, 0.55); }
.world--old .world-points li::before { content: "✕"; color: #F87171; }
.world--new .world-points li { color: #fff; }
.world--new .world-points li::before { content: "✓"; color: var(--vert); }

/* ---- Chaque côté est un « deck » de 3 écrans d'app en éventail.
   Gauche = l'ancien monde (froid, encombré) ; droite = Greenflag (vivant). */
.deck {
  position: relative;
  min-height: 400px;
}
.screen {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150px;
  height: 272px;
  border-radius: 24px;
  padding: 13px 11px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  background: #14151F;
}
.screen-top {
  display: block;
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 11px;
}

/* Gauche : l'ancien monde — froid et désaturé */
.deck--old .screen { background: #181922; filter: saturate(0.6); }
.s-fake     { transform: translate(-50%, calc(-50% - 50px)) rotate(0deg);               z-index: 1; }
.s-profiles { transform: translate(calc(-50% - 88px), calc(-50% + 16px)) rotate(-6deg); z-index: 2; }
.s-chats    { transform: translate(calc(-50% + 88px), calc(-50% + 16px)) rotate(6deg);  z-index: 3; }

/* Droite : le nouveau monde — vert et vivant */
.deck--new .screen { background: #0E1A14; border-color: rgba(73, 210, 146, 0.18); }
.deck--new .screen-top { color: rgba(122, 240, 187, 0.72); }
/* Le scan passe en ARRIÈRE-PLAN : il dépasse derrière, par le haut, et les deux
   téléphones-photo passent au premier plan (miroir du deck de gauche). */
.s-vitrine { transform: translate(calc(-50% - 88px), calc(-50% + 16px)) rotate(-6deg); z-index: 2; }
.s-scan    { transform: translate(-50%, calc(-50% - 50px)) rotate(0deg);               z-index: 1; }
.s-mutual  { transform: translate(calc(-50% + 88px), calc(-50% + 16px)) rotate(6deg);  z-index: 3; }

/* ● La bascule centrale : une flèche qui pointe de l'ancien vers le nouveau */
.concept-axis {
  display: grid;
  place-items: center;
  color: var(--vert);
}
.axis-arrow svg {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 0 12px rgba(73, 210, 146, 0.55));
  animation: axis-nudge 2.4s ease-in-out infinite;
}
@keyframes axis-nudge {
  0%, 100% { transform: translateX(-3px); }
  50%      { transform: translateX(3px); }
}

/* Écran 1 : un flux de cartes profils qui défile sans fin */
.screen-window { position: relative; height: 214px; overflow: hidden; }
.phone-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: feed-scroll 9s linear infinite;
}
.pcard {
  flex: 0 0 96px;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.06);
}
/* 8 cartes = 2 séries de 4 ; on défile d'exactement une série pour boucler sans saut */
@keyframes feed-scroll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-424px); }
}

/* Écran 2 : des discussions datées de plusieurs jours (le ghosting) */
.chat-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.chat-list li { display: flex; align-items: center; gap: 9px; opacity: 0.72; }
.chat-list .av { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.chat-list .lines { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.chat-list .lines i { display: block; height: 7px; width: 65%; border-radius: 4px; background: rgba(255, 255, 255, 0.16); }
.chat-list .lines b { display: block; height: 6px; width: 88%; border-radius: 4px; background: rgba(255, 255, 255, 0.07); }
.chat-list time { flex: 0 0 auto; font-size: 10px; color: rgba(255, 255, 255, 0.35); }

/* Écran « caméra » = la prise de photo de l'app (reconstituée d'après CameraScreen.js) :
   « la photo d'abord », caméra uniquement → modèle MÉDAILLON : le VISAGE dans un cercle vert
   centré, la SCÈNE de la pièce en fond + badge « ● Capturée » + déclencheur.
   Miroir de la photo « ✨ Filtré » de gauche : même personne, mais ici c'est RÉEL. */
.s-vitrine { padding: 0; background: #1A1A2E; display: flex; flex-direction: column; }
.cam-head { display: flex; align-items: center; gap: 6px; padding: 9px 10px 6px; flex: 0 0 auto; }
.cam-logo { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 6px; background: var(--vert); display: grid; place-items: center; }
.cam-logo svg { width: 11px; height: 11px; }
.cam-title { color: #fff; font-size: 10px; font-weight: 700; }
.cam-view { position: relative; flex: 1; margin: 0 10px; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.08); background: #0B0B1A; }
/* Fond = la scène de la pièce (caméra arrière), floutée et assombrie pour faire ressortir le médaillon. */
.cam-scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Cercle central = ton visage (caméra avant), bordure verte, à 78 % de la largeur comme dans l'app. */
.cam-medallion {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 78%; aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden;
  border: 2px solid var(--vert); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}
.cam-medallion img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.cam-captured {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  background: var(--vert); color: #0B1F15;
  font-size: 8px; font-weight: 800;
  padding: 3px 7px; border-radius: 999px;
}
.cam-foot { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 10px 0 12px; flex: 0 0 auto; }
.cam-side { width: 17px; height: 17px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.cam-shutter {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--vert); border: 3px solid #fff; box-sizing: border-box;
  display: grid; place-items: center;
}
.cam-shutter::after { content: ""; width: 21px; height: 21px; border-radius: 50%; background: #fff; }

/* Barres génériques (nom / sous-texte) sous une photo */
.bar { display: block; border-radius: 5px; }
.bar--name { height: 9px; width: 56%; background: rgba(255, 255, 255, 0.30); margin: 13px 0 8px; }
.bar--sub  { height: 7px; width: 84%; background: rgba(255, 255, 255, 0.14); }
.deck--new .bar--name { background: rgba(122, 240, 187, 0.45); }

/* La photo « pimpée » : trop lisse, trop saturée, badge « Filtré » */
.glam {
  position: relative;
  height: 140px;
  border-radius: 10px;
  overflow: hidden;
  background: radial-gradient(58% 52% at 50% 40%, #ffe1cf, #f2a88c 55%, #b9655a 100%);
}
.glam img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.glam::after {                      /* brillance plastique, irréelle */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(40% 30% at 32% 26%, rgba(255, 255, 255, 0.55), transparent 60%);
}

/* Écran « scan temps réel » : fond vert ambiant + le cercle qui respire */
.deck--new .s-scan {
  background:
    radial-gradient(92% 70% at 50% 52%, rgba(73, 210, 146, 0.16), transparent 70%),
    #0E1A14;
}
.s-scan .orb-btn { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; }
.s-scan .green-orb { width: 64px; height: 64px; }
.s-scan .orb-flag  { width: 34px; height: 34px; margin-left: 3px; }
.s-scan .orb-halo  { width: 112px; height: 112px; }

/* Écran « photo mutuelle » = MutualPhotoScreen de l'app : « Immortalisez l'instant
   avec {nom} » + la photo encadrée en vert + le déclencheur. Aucun autre texte. */
/* Le 3e écran = le SOUVENIR SIGNÉ exporté : photo plein cadre, liseré vert,
   et la signature (drapeau + 2 pseudos) incrustée en bas à gauche sur un voile. */
.s-mutual { background: #1A1A2E; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 11px; gap: 9px; }
.shot {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid var(--vert);     /* le liseré vert Greenflag */
  box-sizing: border-box;
  background: linear-gradient(165deg, #3A4B2F, #20271B);   /* fallback si photo absente */
}
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot-scrim {
  position: absolute; left: 0; right: 0; bottom: 0; height: 42%;
  background: linear-gradient(to top, rgba(7, 9, 8, 0.9), rgba(7, 9, 8, 0.42) 50%, transparent);
}
.shot-sig {
  position: absolute; left: 9px; bottom: 9px;
  display: flex; align-items: center; gap: 6px;
}
.shot-sig svg { width: 12px; height: 19px; flex: 0 0 auto; }
.shot-sig b { color: #fff; font-size: 10px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
/* Bouton « Partager » vert, comme le PrimaryButton de l'app */
.share-btn {
  width: 100%;
  text-align: center;
  background: var(--vert);
  color: #0B1F15;
  font-size: 11px;
  font-weight: 700;
  padding: 8px 0;
  border-radius: 999px;
}

/* Un SEUL halo, qui croise le « plein » (dense près de l'orbe) et le
   « lumineux » (diffus en s'éloignant). Il respire sur place. */
.orb-halo {
  position: absolute;
  inset: 0;
  margin: auto;          /* centrage fiable d'un élément absolu, sans transform */
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(73, 210, 146, 0.55) 0%,
    rgba(73, 210, 146, 0.22) 36%,
    transparent 70%);
  animation: orb-breath 5s ease-in-out infinite;
}
@keyframes orb-breath {
  0%, 100% { transform: scale(0.8);  opacity: 0.55; }
  50%      { transform: scale(1.18); opacity: 1; }
}

/* Le bouton central : le cercle vert Greenflag, cliquable */
.orb-btn {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s ease;
}
.orb-btn:hover { transform: scale(1.06); }
.orb-btn:focus-visible { outline: 3px solid var(--vert); outline-offset: 6px; }

/* Le cercle vert fluo, avec le drapeau Greenflag. Aucun glow propre :
   c'est le halo unique qui l'éclaire. L'orbe ne fait que respirer. */
.green-orb {
  width: 96px; height: 96px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 38%, #7af0bb, var(--vert) 58%, var(--vert-fonce));
  animation: orb-pulse 5s ease-in-out infinite;
}
@keyframes orb-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}
.orb-flag {
  width: 52px; height: 52px;
  /* léger recentrage : le mât est à x=22, le drapeau s'étend vers la droite */
  margin-left: 4px;
}

/* Le Greenflag mutuel « s'allume » : un halo vert respire autour de la photo → le match est frais, vivant. */
.shot { animation: shot-glow 4.5s ease-in-out infinite; }
@keyframes shot-glow {
  0%, 100% { box-shadow: 0 0 12px 1px rgba(73, 210, 146, 0.30); }
  50%      { box-shadow: 0 0 26px 5px rgba(73, 210, 146, 0.62); }
}

/* Point « live » qui bat devant « Recherche en cours… » → sensation de temps réel. */
.s-scan .screen-top::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--vert);
  margin-right: 5px;
  vertical-align: middle;
  animation: live-blink 1.4s ease-in-out infinite;
}
@keyframes live-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }

/* Accessibilité : pas d'animation si l'utilisateur la refuse → radar figé, net */
@media (prefers-reduced-motion: reduce) {
  .orb-halo { animation: none; }
  .green-orb { animation: none; transform: none; }
  .phone-feed { animation: none; }
  .axis-arrow svg { animation: none; transform: none; }
  .shot { animation: none; }
  .s-scan .screen-top::before { animation: none; }
}

/* --- Responsive ----------------------------------------------------------- */
/* Concept : le triptyque a besoin de largeur → une seule colonne sous 960px
   (monde d'avant, puis message, puis Greenflag) */
@media (max-width: 960px) {
  .concept-grid { grid-template-columns: 1fr; gap: 14px; justify-items: center; }
  .world { width: 100%; max-width: 380px; }
  .deck { width: 100%; max-width: 340px; }
  .concept-axis { transform: rotate(90deg); margin: 4px 0; }   /* la flèche pointe vers le bas */
}
/* En-tête : sous 700px la nav à 5 liens n'a plus la place ; on bascule sur le pied de page. */
@media (max-width: 700px) {
  .nav-legal { display: none; }       /* on garde la nav via le footer sur mobile */
}
@media (max-width: 560px) {
  .section { padding: 56px 18px; }
  .footer-cols { gap: 32px; }
}
