/* Foka — page d'accueil de fokapp.app (maquette « Site Foka - Accueil », Claude Design, 27.09.2026).
   HTML + CSS purs : aucun JavaScript (la politique de confidentialité le promet, §12).
   Les autres pages gardent styles.css. */

/* Baloo 2, hébergée sur fokapp.app : aucune requête à un tiers. Fichier variable,
   sous-ensemble latin, axe de graisse 500 à 800, le même que servait Google Fonts.
   Le texte courant, en 400, se rend en 500 comme avant.
   Nom versionné (-v1) : vercel.json le met en cache un an ; un fichier modifié
   prend un nouveau nom. Licence : fonts/OFL.txt. */
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('fonts/baloo2-latin-v1.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;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #0d1411;
  font-family: 'Baloo 2', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #c9d4cf;
}
img { max-width: 100%; }
a { color: #7dd3db; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(125, 211, 219, .45); }
a:hover { color: #b8f5ec; text-decoration-color: #b8f5ec; }
a:focus-visible { outline: 2px solid #7dd3db; outline-offset: 3px; border-radius: 6px; }

.saut-contenu { position: absolute; left: -9999px; top: 8px; z-index: 10; background: #151d18; color: #fff; padding: 8px 14px; border-radius: 10px; }
.saut-contenu:focus { left: 16px; }

.page { min-height: 100vh; background: #0d1411; overflow: hidden; position: relative; }
.lueur {
  position: absolute; left: 50%; top: -340px; transform: translateX(-50%);
  width: 1400px; height: 1100px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(78, 205, 196, .16), rgba(78, 205, 196, .05) 55%, transparent);
}
.enveloppe { max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }

/* En-tête */
.haut { position: relative; z-index: 2; padding-top: 22px; padding-bottom: 22px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.marque { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: 22px; font-weight: 800; }
.marque:hover { color: #fff; }
.marque img { border-radius: 10px; }
.liens { margin-left: auto; display: flex; gap: 10px 22px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.liens a { color: #8892b0; text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; }
.liens a:hover { color: #c9d4cf; }
.liens .pastille-beta {
  background: #151d18; border: 1px solid #2aa79b; color: #7dd3db; font-weight: 800;
  border-radius: 999px; padding: 7px 16px;
}
.liens .pastille-beta:hover { color: #b8f5ec; border-color: #7dd3db; }

main { position: relative; z-index: 1; }

/* Héros */
.hero {
  padding-top: 40px; padding-bottom: 30px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 40px; align-items: center;
}
.hero-texte { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.etiquette-beta {
  display: inline-flex; align-items: center; gap: 8px; background: #2b230e; border: 1px solid #5c430b;
  color: #feca57; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; border-radius: 999px;
  padding: 6px 14px; white-space: nowrap; margin: 0;
}
.etiquette-beta .point { width: 7px; height: 7px; border-radius: 50%; background: #feca57; box-shadow: 0 0 10px #feca57; }
.hero h1 { margin: 0; color: #fff; font-size: clamp(64px, 10vw, 124px); font-weight: 800; line-height: .9; letter-spacing: -.02em; }
.sous-titre { margin: 0 0 4px; font-size: clamp(24px, 3vw, 34px); font-weight: 700; line-height: 1.22; color: #fff; }
.degrade {
  background: linear-gradient(100deg, #7dd3db, #4ecdc4 45%, #43e97b);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.accroche { margin: 0; max-width: 500px; font-size: 18px; line-height: 1.6; color: #8fa1a0; font-weight: 500; text-wrap: pretty; }
.actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(180deg, #5fd8d0, #44aba9);
  box-shadow: 0 5px 0 #1f6b64, 0 18px 40px rgba(78, 205, 196, .28);
  color: #08312d; text-decoration: none; font-size: 18px; font-weight: 800;
  border-radius: 18px; padding: 16px 30px; white-space: nowrap;
  transition: transform .12s ease, box-shadow .12s ease;
}
.cta:hover { color: #08312d; transform: translateY(-2px); box-shadow: 0 7px 0 #1f6b64, 0 22px 48px rgba(78, 205, 196, .36); }
.cta:active { transform: translateY(3px); box-shadow: 0 2px 0 #1f6b64; }
.cta .fleche { font-size: 20px; }
.note-cta { margin: 0; max-width: 470px; font-size: 13.5px; line-height: 1.6; color: #64748b; }

.hero-visuel { position: relative; height: 540px; min-width: 0; }
.hero-visuel .halo {
  position: absolute; left: 50%; top: 50%; width: 470px; height: 470px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(42, 250, 223, .32), rgba(78, 205, 196, .1) 60%, transparent);
  animation: halo 4s ease-in-out infinite;
}
.hero-visuel .anneau-tirets {
  position: absolute; left: 50%; top: 50%; width: 420px; height: 420px; border-radius: 50%;
  border: 1.5px dashed rgba(125, 211, 219, .22); transform: translate(-50%, -50%);
  animation: tourne 60s linear infinite;
}
.hero-visuel .anneau {
  position: absolute; left: 50%; top: 50%; width: 300px; height: 300px; border-radius: 50%;
  border: 1px solid rgba(125, 211, 219, .14); transform: translate(-50%, -50%);
}
.hero-visuel .foka {
  position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; max-width: none;
  margin: -270px 0 0 -260px; object-fit: contain;
  animation: flotte 4s ease-in-out infinite;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45));
}
.hero-visuel .deco { position: absolute; filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .5)); }
.deco.serie-30 { left: 4%; top: 12%; width: 96px; height: 96px; animation: flotte-g 5s ease-in-out infinite; }
.deco.heures-100 { right: 3%; top: 20%; width: 84px; height: 84px; animation: flotte-d 5.6s ease-in-out infinite; animation-delay: .8s; }
.deco.joker { left: 10%; bottom: 10%; width: 78px; height: 78px; animation: flotte-d 6s ease-in-out infinite; animation-delay: 1.4s; }
.carte-serie {
  position: absolute; right: 2%; bottom: 12%;
  background: rgba(21, 29, 24, .88); border: 1px solid #24382d; border-radius: 20px;
  padding: 12px 16px; display: flex; align-items: center; gap: 12px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
  animation: flotte-g 5.2s ease-in-out infinite; animation-delay: .4s;
}
.goutte-cadre { position: relative; width: 34px; height: 34px; display: grid; place-items: center; }
.goutte {
  width: 22px; height: 22px; border-radius: 0 50% 50% 50%;
  background: linear-gradient(200deg, #7dd3db, #4ecdc4 50%, #1f8f83);
  transform: rotate(45deg); box-shadow: 0 0 16px rgba(78, 205, 196, .6);
  animation: vacille 1.1s linear infinite;
}
.serie-texte { display: flex; flex-direction: column; line-height: 1.15; }
.serie-texte .jours { color: #fff; font-size: 18px; font-weight: 800; }
.serie-texte .valide { color: #43e97b; font-size: 12px; font-weight: 800; }

/* Évolution */
.evolution { padding-top: 10px; padding-bottom: 70px; }
.bande {
  background: linear-gradient(150deg, #12291f, #0f1c16); border: 1px solid #1e3a2d; border-radius: 28px;
  padding: 26px 28px 18px; display: flex; flex-direction: column; gap: 6px;
}
.bande-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.bande-tete h2 { margin: 0; color: #fff; font-size: 20px; font-weight: 800; }
.bande-tete span { color: #64748b; font-size: 13px; font-weight: 700; }
.paliers { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: end; gap: 6px; margin: 0; padding: 0; list-style: none; }
.paliers li { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.paliers img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; transform-origin: 50% 90%; }
.paliers .p01 img { max-width: 120px; transform: scale(.62); }
.paliers .p05 img { max-width: 130px; transform: scale(.74); }
.paliers .p10 img { max-width: 140px; transform: scale(.84); }
.paliers .p15 img { max-width: 150px; transform: scale(.92); }
.paliers .p20 img { max-width: 160px; }
.paliers .p25 img { max-width: 170px; transform: scale(1.08); }
.paliers span { color: #4a6a5c; font-size: 12px; font-weight: 800; }
.paliers .p15 span { color: #feca57; }
.paliers .p20 span { color: #2afadf; }
.paliers .p25 span { color: #cbb6ff; }
.jauge { height: 6px; border-radius: 999px; background: linear-gradient(90deg, #7dd3db, #4ecdc4 30%, #feca57 55%, #2afadf 75%, #cbb6ff); opacity: .55; }

/* Trois atouts */
.atouts {
  padding-bottom: 80px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  gap: 18px; margin: 0 auto; list-style: none;
}
.atout { background: #151d18; border: 1px solid #1e2a22; border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.atout h2 { margin: 0; color: #fff; font-size: 24px; font-weight: 800; line-height: 1.1; }
.atout p { margin: 0; font-size: 15.5px; line-height: 1.6; color: #8fa1a0; text-wrap: pretty; }
.vignette { height: 200px; border-radius: 20px; background: radial-gradient(circle at 50% 45%, #12241f, #0d1411 72%); position: relative; overflow: hidden; box-sizing: border-box; }

.vignette.minuteur { display: grid; place-items: center; }
.cadran { position: relative; width: 160px; height: 160px; }
.cadran .arc {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(#4ecdc4 0 68%, #1a241f 68% 100%);
  -webkit-mask: radial-gradient(circle, transparent 62%, #000 63%);
  mask: radial-gradient(circle, transparent 62%, #000 63%);
}
.cadran .temps { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.cadran .temps strong { color: #fff; font-size: 38px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.cadran .temps span { color: #64748b; font-size: 12px; font-weight: 700; }
.pastille-ecran {
  position: absolute; right: 16px; top: 14px; background: #1a241f; border: 1px solid #294036;
  color: #8892b0; font-size: 11px; font-weight: 800; border-radius: 999px; padding: 4px 10px;
}

.vignette.alters { padding: 16px; display: flex; flex-direction: column; justify-content: center; gap: 9px; }
.ligne-alter { display: flex; align-items: center; gap: 10px; background: #101813; border: 1px solid #1a241f; border-radius: 14px; padding: 8px 12px; }
.ligne-alter .puce { width: 10px; height: 10px; border-radius: 50%; }
.puce.dev { background: #2980b9; }
.puce.piano { background: #8e44ad; }
.puce.sport { background: #27ae60; }
.puce.admin { background: #34495e; box-shadow: 0 0 0 1.5px #7f97ad; }
.ligne-alter .nom { color: #fff; font-size: 14px; font-weight: 800; flex: 1; }
.ligne-alter .barre { flex: 1.3; height: 7px; border-radius: 999px; background: #0b120f; overflow: hidden; }
.ligne-alter .barre span { display: block; width: var(--avance); height: 100%; background: linear-gradient(180deg, #7dd3db, #44aba9); }
.ligne-alter .niveau { color: #feca57; font-size: 12px; font-weight: 800; }

.carte-flamme {
  position: absolute; left: 16px; top: 18px; right: 16px; background: #101813; border: 1px solid #24382d;
  border-radius: 18px; padding: 12px 14px; display: flex; align-items: center; gap: 12px;
}
.goutte-or-cadre { width: 40px; height: 40px; display: grid; place-items: center; }
.goutte-or {
  width: 26px; height: 26px; border-radius: 0 50% 50% 50%;
  background: linear-gradient(200deg, #fff2c4, #feca57 52%, #caa53d);
  transform: rotate(45deg); box-shadow: 0 0 18px rgba(254, 202, 87, .5);
}
.carte-flamme .jours { color: #fff; font-size: 19px; font-weight: 800; }
.carte-flamme .or { color: #feca57; font-size: 12px; font-weight: 800; }
.rang-badges { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; align-items: flex-end; gap: 6px; }
.rang-badges img { width: 64px; height: 64px; }
.rang-badges .grand { width: 74px; height: 74px; }
.rang-badges .joker { width: 62px; height: 62px; margin-left: 6px; }

/* Bêta */
.beta { padding-bottom: 80px; }
.encart-beta {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #12291f, #0f1c16 60%, #101a17); border: 1.5px solid #1e3a2d; border-radius: 32px;
  padding: clamp(28px, 5vw, 52px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 36px; align-items: center;
}
.encart-beta .halo-coin {
  position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(78, 205, 196, .18), transparent);
}
.beta-gauche { position: relative; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.beta-gauche img { width: 120px; height: 120px; }
.beta-gauche h2 { margin: 0; color: #fff; font-size: clamp(30px, 4vw, 42px); font-weight: 800; line-height: 1.05; }
.beta-gauche .cta { font-size: 17px; padding: 14px 26px; box-shadow: 0 5px 0 #1f6b64; }
.beta-gauche .cta .fleche { font-size: 19px; }
.beta-gauche .invitation { color: #64748b; font-size: 13px; line-height: 1.5; }
.beta-droite { position: relative; display: flex; flex-direction: column; gap: 14px; }
.beta-droite p { margin: 0; font-size: 15.5px; line-height: 1.7; color: #c9d4cf; text-wrap: pretty; }
.beta-droite .legal { font-size: 14.5px; line-height: 1.6; color: #8892b0; }
.engagements { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.engagements li { background: #123a24; border: 1px solid #1d5a35; color: #43e97b; font-size: 12.5px; font-weight: 800; border-radius: 999px; padding: 5px 12px; }

/* Pied de page */
.pied-accueil { border-top: 1px solid #1e2a22; position: relative; z-index: 1; }
.pied-accueil .enveloppe { padding-top: 30px; padding-bottom: 40px; display: flex; gap: 18px 30px; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; }
.pied-marque { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 17px; font-weight: 800; }
.pied-marque img { border-radius: 8px; }
.pied-accueil nav { display: flex; gap: 18px; flex-wrap: wrap; }
.pied-accueil nav a { font-size: 14px; }
.mentions { display: flex; flex-direction: column; gap: 2px; color: #64748b; font-size: 13px; line-height: 1.5; margin: 0; }

/* Animations */
@keyframes flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes flotte-g { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-9px) rotate(-2deg); } }
@keyframes flotte-d { 0%, 100% { transform: translateY(0) rotate(7deg); } 50% { transform: translateY(-11px) rotate(3deg); } }
@keyframes halo { 0%, 100% { opacity: .7; transform: translate(-50%, -50%) scale(1); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); } }
@keyframes tourne { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes vacille {
  0%, 100% { transform: rotate(45deg) scale(1); }
  25% { transform: rotate(41deg) scale(.93, 1.04); }
  55% { transform: rotate(48deg) scale(1.03, .95); }
  80% { transform: rotate(43deg) scale(.95, 1.02); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-visuel *, .goutte, .cta { animation: none !important; transition: none !important; }
}

/* Téléphone : le visuel du héros tient dans l'écran */
@media (max-width: 560px) {
  .hero { padding-top: 16px; gap: 24px; }
  .hero-visuel { height: 380px; }
  .hero-visuel .halo { width: 330px; height: 330px; }
  .hero-visuel .anneau-tirets { width: 300px; height: 300px; }
  .hero-visuel .anneau { width: 214px; height: 214px; }
  .hero-visuel .foka { width: 360px; height: 360px; margin: -190px 0 0 -180px; }
  .deco.serie-30 { width: 68px; height: 68px; left: 2%; top: 6%; }
  .deco.heures-100 { width: 60px; height: 60px; right: 2%; top: 12%; }
  .deco.joker { width: 56px; height: 56px; left: 4%; bottom: 6%; }
  .carte-serie { right: 0; bottom: 4%; padding: 10px 12px; }
  .bande { padding: 20px 16px 14px; }
  .atout { padding: 22px; }
}
