/* =========================================================
   style.css — vCard Landing — BF LIGHT “iOS App” Dark Neon 2026
   - 1 seul thème (dark neon)
   - actions en grille iOS (2 colonnes)
   - sections type iOS Settings (list)
   - socials avec vraies icônes (SVG dans index.php)
   ========================================================= */

:root{
  --font: ui-sans-serif, system-ui, -apple-system, "SF Pro Display", "SF Pro Text",
          Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

/* Reset léger */
*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* =========================================================
   THEME — Dark Neon (classe du body)
   ========================================================= */
body.theme-bflight-darkneon{
  /* Fond LED */
  --bg:
    radial-gradient(1200px 820px at 18% 10%, rgba(76,141,255,.42), transparent 60%),
    radial-gradient(900px 560px at 85% 22%, rgba(122,168,255,.26), transparent 62%),
    radial-gradient(1100px 620px at 50% 115%, rgba(0,255,255,.12), transparent 68%),
    linear-gradient(160deg, #040610, #08122E);

  /* Carte glass */
  --cardBg:
    radial-gradient(900px 360px at 50% -160px, rgba(76,141,255,.28), transparent 72%),
    linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.03));

  --glass: rgba(255,255,255,.07);
  --glass2: rgba(255,255,255,.04);

  --stroke: rgba(255,255,255,.10);
  --strokeSoft: rgba(255,255,255,.07);
  --strokeNeon: rgba(76,141,255,.24);

  --text: rgba(246,248,255,.94);
  --muted: rgba(246,248,255,.64);

  --accent1:#3F7CFF;
  --accent2:#6AA7FF;

  --shadow: 0 34px 120px rgba(0,0,0,.72);
  --shadowSoft: 0 14px 44px rgba(0,0,0,.30);

  --r1: 30px;
  --r2: 22px;
  --r3: 16px;
}

/* =========================================================
   Layout
   ========================================================= */
.screen{
  min-height:100%;
  display:grid;
  place-items:center;
  padding: 22px;
  background: var(--bg);
}

.sheet{
  width: min(760px, 100%);
  border-radius: var(--r1);
  border: 1px solid var(--stroke);
  background: var(--cardBg);
  box-shadow:
    var(--shadow),
    0 0 160px rgba(76,141,255,.10);
  overflow:hidden;
  backdrop-filter: blur(14px);
}

/* =========================================================
   Header
   ========================================================= */
.top{
  padding: 28px 26px 22px;
  text-align:center;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(980px 360px at 50% -160px, rgba(76,141,255,.36), transparent 72%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,0));
}

.avatar{
  width: 96px;
  height: 96px;
  margin: 0 auto 14px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  overflow:hidden;

  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow:
    0 18px 46px rgba(0,0,0,.42),
    0 0 0 12px rgba(76,141,255,.12),
    0 0 90px rgba(76,141,255,.24);
}

.avatar img{
  width:100%;
  height:100%;
  object-fit: contain;
  background: rgba(255,255,255,.96);
}

.mono{
  color: rgba(246,248,255,.92);
  font-weight: 760;
  letter-spacing: .04em;
}

.name{
  margin: 6px 0 0;
  color: var(--text);
  font-weight: 760;
  font-size: clamp(24px, 4.6vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.meta{
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 520;
  font-size: 13px;
  letter-spacing: .03em;
}

/* =========================================================
   Actions — grille iOS (2 colonnes) + glow fort
   ========================================================= */
/* =========================================================
   Actions — Dock iOS (rond) + responsive (jamais 2+1 moche)
   ========================================================= */
.actions{
  margin: 18px auto 0;
  display:flex;
  justify-content:center;
  gap: 12px;
  flex-wrap:wrap;
  max-width: 460px;
}

/* bouton compact : plus de gros rectangle */
.aBtn{
  width: 104px;                 /* base desktop/tablette */
  padding: 10px 10px 8px;
  border-radius: 20px;
  text-decoration:none;
  color: var(--text);

  border: 1px solid rgba(76,141,255,.18);
  background:
    radial-gradient(220px 110px at 50% 0%, rgba(76,141,255,.14), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));

  box-shadow:
    0 14px 34px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.10);

  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 8px;

  transition: transform .14s ease, filter .14s ease, border-color .14s ease;
}

.aBtn:hover{ transform: translateY(-1px); filter: brightness(1.02); border-color: rgba(76,141,255,.30); }
.aBtn:active{ transform: scale(.99); }

/* icône ronde style iOS */
.aIco{
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  color: rgba(246,248,255,.96);

  background:
    radial-gradient(circle at 30% 30%, rgba(76,141,255,.26), rgba(255,255,255,.04));
  border: 1px solid rgba(76,141,255,.26);

  box-shadow:
    0 12px 30px rgba(0,0,0,.34),
    0 0 0 12px rgba(76,141,255,.10),
    0 0 90px rgba(76,141,255,.22);
}

.aIco svg{ width: 22px; height: 22px; display:block; }

.aLbl{
  font-weight: 650;
  font-size: 12px;
  letter-spacing: .01em;
  color: rgba(246,248,255,.86);
}

/* === Mobile : 2 sur une ligne (harmonieux 2+2) === */
@media (max-width: 520px){
  .actions{
    gap: 10px;
    max-width: 340px;
  }

  .aBtn{
    width: calc((100% - 10px) / 2); /* 2 colonnes pour 2+2 */
    min-width: 140px;               /* garde une bonne taille */
    padding: 10px 8px 8px;
  }

  .aLbl{ font-size: 11px; }
}


/* =========================================================
   Content
   ========================================================= */
.content{
  padding: 18px 18px 22px;
}

/* Section cards */
.section{
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.11);
  background:
    radial-gradient(900px 260px at 20% 0%, rgba(76,141,255,.14), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(0,0,0,.18));
  box-shadow: var(--shadowSoft);

  padding: 14px 14px 14px;
  margin: 12px 0;
}

.sectionTitle{
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(246,248,255,.62);
  font-weight: 720;
}

/* =========================================================
   List — style iOS Settings
   ========================================================= */
.list{
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.item{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 14px;

  padding: 12px 12px;
  border-radius: 16px;

  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.07);
}

.k{
  color: rgba(246,248,255,.70);
  font-size: 12px;
  font-weight: 620;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .85;
}

.v{
  text-align:right;
  font-size: 14px;
  font-weight: 650;
  color: rgba(246,248,255,.92);
  overflow-wrap:anywhere;
}

.v a{
  color: rgba(246,248,255,.92);
  text-decoration: none;
  border-bottom: 1px solid rgba(76,141,255,.38);
}
.v a:hover{ border-bottom-color: rgba(76,141,255,.72); }

/* =========================================================
   Socials — boutons “app” + icônes réelles
   ========================================================= */
.socialGrid{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}

.socialBtn{
  display:flex;
  align-items:center;
  gap: 10px;

  padding: 10px 12px;
  border-radius: 999px;

  text-decoration:none;
  color: rgba(246,248,255,.92);

  border: 1px solid rgba(76,141,255,.18);
  background:
    radial-gradient(220px 100px at 20% 0%, rgba(76,141,255,.12), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));

  box-shadow: 0 14px 32px rgba(0,0,0,.22);
  transition: transform .14s ease, border-color .14s ease, filter .14s ease;
}

.socialBtn:hover{
  transform: translateY(-1px);
  border-color: rgba(76,141,255,.30);
  filter: brightness(1.02);
}
.socialBtn:active{ transform: scale(.99); }

.socialIco{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display:grid;
  place-items:center;

  background: rgba(0,0,0,.22);
  border: 1px solid rgba(76,141,255,.26);

  box-shadow:
    0 0 0 10px rgba(76,141,255,.08),
    0 0 60px rgba(76,141,255,.10);

  color: rgba(246,248,255,.96);
}

.socialIco svg{ width: 18px; height: 18px; display:block; }
.socialLbl{
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .01em;
}

/* =========================================================
   CTA — bouton néon + shine
   ========================================================= */
/* =========================================================
   CTA — BF LIGHT LED NEON 2026 (nuancé + premium)
   ========================================================= */
.cta{
  position: relative;
  display: block;
  text-align: center;
  padding: 16px 18px;
  border-radius: 18px;

  color: #fff;
  font-weight: 760;
  letter-spacing: .02em;
  text-decoration: none;

  /* Dégradé LED multi-couches */
  background:
    radial-gradient(
      120% 180% at 50% -60%,
      rgba(122,168,255,.85) 0%,
      rgba(76,141,255,.65) 35%,
      rgba(63,124,255,.45) 60%,
      rgba(44,92,210,.35) 100%
    ),
    linear-gradient(
      180deg,
      rgba(255,255,255,.18),
      rgba(255,255,255,.02)
    );

  border: 1px solid rgba(122,168,255,.45);

  box-shadow:
    0 20px 56px rgba(63,124,255,.35),
    0 0 90px rgba(76,141,255,.35),
    inset 0 1px 0 rgba(255,255,255,.35),
    inset 0 -6px 18px rgba(0,0,0,.25);

  overflow: hidden;
  transition: transform .12s ease, filter .12s ease;
}

.cta:hover{
  filter: brightness(1.05);
}

.cta:active{
  transform: scale(.985);
}

.cta::after{
  content:"";
  position:absolute;
  inset: -40% -20%;
  background:
    linear-gradient(
      115deg,
      transparent 40%,
      rgba(255,255,255,.35) 50%,
      transparent 60%
    );
  transform: translateX(-120%);
  animation: cta-shine 3.8s ease-in-out infinite;
}

@keyframes cta-shine{
  0%{ transform: translateX(-120%); opacity:0; }
  20%{ opacity:.35; }
  45%{ transform: translateX(120%); opacity:0; }
  100%{ transform: translateX(120%); opacity:0; }
}


.tip{
  margin: 10px 0 0;
  text-align:center;
  color: rgba(246,248,255,.62);
  font-size: 12px;
  font-weight: 520;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 520px){
  .top{ padding: 24px 18px 18px; }
  .content{ padding: 14px 14px 18px; }

  .actions{
    max-width: 320px;
  }

  .aIco{ width: 54px; height: 54px; }
  .sheet{ border-radius: 26px; }
}
