/* style.css — Landing Sub'n'Hub (V2 épurée, ALIGNÉE sur la sidebar)
   - Palette réelle de la sidebar (dégradé violet->rose pastel)
   - Typo plus légère (moins gros/gras)
   - Fonds/ombres doux
   - Fix texte dégradé (.grad) (plus de “bloc”)
*/

:root{
  --ink: #111827;
  --muted: #6b7280;

  /* ✅ Couleurs relevées dans ta sidebar */
  --violet: #9d70ff;   /* rgb(157,112,255) */
  --pink:   #ff78c6;   /* rgb(255,120,198) */

  --bg: #ffffff;
  --bg-soft: #f7f8fc;

  --border: rgba(17,24,39,.10);
  --shadow: 0 14px 30px rgba(17,24,39,.10);

  --r-lg: 18px;
  --r-md: 14px;
  --r-sm: 12px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  font-size: 15px;
  line-height: 1.55;

  /* ✅ base uniforme */
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
  position: relative;
}

/* ✅ “fond pastel” stable, sans bande */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1100px 700px at 18% 0%, rgba(255,120,198,.10), transparent 62%),
    radial-gradient(1100px 700px at 86% 10%, rgba(157,112,255,.10), transparent 64%);
}

a{ color:inherit; text-decoration:none; }
a:hover{ opacity:.98; }

.container{
  width:min(1120px, calc(100% - 40px));
  margin-inline:auto;
}

/* =========================
   TOPBAR
========================= */
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(17,24,39,.10);
  backdrop-filter: blur(8px);
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand{ display:flex; align-items:center; }
.brand__img{
  height: 55px;
  width:auto;
  display:block;
}

.nav{
  display:flex;
  align-items:center;
  gap: 14px;
  font-size: 13px;
  font-weight: 650;
  color: rgba(17,24,39,.72);
}
.nav a{
  padding: 8px 10px;
  border-radius: 12px;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.nav a:hover{
  background: rgba(255,255,255,.85);
  color: rgba(17,24,39,.92);
  box-shadow: 0 10px 18px rgba(17,24,39,.06);
}

.lang select{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(17,24,39,.12);
  border-radius: 12px;
  padding: 9px 12px;
  outline:none;
  color: rgba(17,24,39,.80);
  font-weight: 650;
}

/* =========================
   BUTTONS (MATCH SIDEBAR)
========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;

  padding: 11px 13px;
  border-radius: 14px;
  border: 1px solid rgba(17,24,39,.12);
  background: rgba(255,255,255,.88);

  color: rgba(17,24,39,.90);
  font-weight: 750;
  letter-spacing: .1px;
  cursor:pointer;

  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  box-shadow: 0 10px 20px rgba(17,24,39,.10);
}
.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.94);
  box-shadow: 0 14px 26px rgba(17,24,39,.14);
}
.btn--lg{ padding: 12px 14px; border-radius: 16px; }

.btn--twitch{
  /* ✅ EXACT vibe sidebar (pastel) */
  border: 1px solid rgba(255,255,255,.26);
  color: rgba(255,255,255,.96);
  background: linear-gradient(90deg, rgba(157,112,255,.92), rgba(255,120,198,.88));
  box-shadow: 0 12px 22px rgba(157,112,255,.16);
}
.btn--twitch:hover{ box-shadow: 0 16px 30px rgba(157,112,255,.20); }

.btn--primary{
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(17,24,39,.92);
  background: linear-gradient(90deg, rgba(157,112,255,.18), rgba(255,120,198,.10));
  box-shadow: 0 10px 22px rgba(17,24,39,.10);
}

.btn--ghost{
  background: transparent;
  border: 1px solid rgba(17,24,39,.14);
  box-shadow: none;
}

/* =========================
   HERO
========================= */
.hero{ padding: 44px 0 18px; }
.hero__grid{
  display:grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 22px;
  align-items: center;
}
.hero{
  /* garde tes padding mais donne une vraie zone hero */
  min-height: calc(100vh - 86px); /* 86px ≈ hauteur topbar */
  display: grid;
  align-items: center;
}

.hero__grid{
  align-items: center; /* au lieu de start */
}

.pill{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,.12);
  background: rgba(255,255,255,.92);
  color: rgba(17,24,39,.70);
  font-weight: 700;
  font-size: 12px;
}

h1{
  margin: 12px 0 10px;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.4px;
  font-weight: 850;
}

/* ✅ Fix: texte dégradé (pas un bloc) */
.grad{
  background: linear-gradient(90deg, var(--violet), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.lead{
  color: rgba(17,24,39,.72);
  font-size: 15.5px;
  font-weight: 520;
  max-width: 62ch;
  margin: 12px 0 16px;
}

.bullets{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: rgba(17,24,39,.70);
  font-weight: 600;
}
.bullets li{ display:flex; align-items:flex-start; gap: 10px; font-size: 14.5px; }
.dot{
  width: 8px; height: 8px;
  border-radius: 999px;
  margin-top: 7px;
  background: var(--pink);
  box-shadow: 0 0 0 3px rgba(255,255,255,.95);
}

.hero__actions{
  margin-top: 18px;
  display:flex;
  flex-wrap: wrap;
  gap: 12px;
}

.subtext{
  margin-top: 14px;
  color: rgba(17,24,39,.66);
  font-weight: 700;
  display:flex;
  align-items:center;
  gap: 10px;
}
.spark{
  width: 10px; height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,120,198,.95), rgba(157,112,255,.95));
  box-shadow: 0 0 10px rgba(157,112,255,.18);
}

/* Right mini card */
.hero__card{
  border-radius: var(--r-lg);
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
  overflow:hidden;
  backdrop-filter: blur(8px);
}
.mini{ padding: 18px; }
.mini__head{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom: 10px; }
.mini__badge{
  font-size: 11px;
  font-weight: 800;
  padding: 7px 9px;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.90);
  color: rgba(17,24,39,.72);
}
.mini__badge--alt{
  background: rgba(157,112,255,.12);
  border-color: rgba(157,112,255,.18);
}
.mini__title{
  font-size: 16px;
  font-weight: 850;
  margin: 6px 0 14px;
  color: rgba(17,24,39,.92);
}
.mini__steps{ display:grid; gap: 12px; margin-bottom: 16px; }
.mini__step{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.96);
}
.mini__num{
  width: 28px; height: 28px;
  border-radius: 10px;
  display:grid; place-items:center;
  font-weight: 900;
  color: rgba(255,255,255,.98);
  background: linear-gradient(90deg, rgba(157,112,255,.92), rgba(255,120,198,.88));
}
.mini__lbl{ font-size: 14px; font-weight: 800; color: rgba(17,24,39,.92); }
.mini__txt{ color: rgba(17,24,39,.68); font-size: 13px; font-weight: 520; margin-top: 2px; }
.mini__cta{ display:flex; gap: 10px; flex-wrap:wrap; }

/* =========================
   SECTIONS / CARDS
========================= */
.section{ padding: 44px 0; }
.section__head{ margin-bottom: 18px; }
.section__head h2{
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -0.2px;
}
.section__head p{ margin:0; color: rgba(17,24,39,.66); font-size: 14.5px; font-weight: 520; }

.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card{
  border-radius: var(--r-lg);
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.88);
  padding: 18px;
  box-shadow: 0 10px 22px rgba(17,24,39,.08);
}
.card__icon{
  width: 42px; height: 42px;
  border-radius: 14px;
  display:grid; place-items:center;
  background: linear-gradient(90deg, rgba(157,112,255,.18), rgba(255,120,198,.12));
  border: 1px solid rgba(17,24,39,.08);
  margin-bottom: 10px;
  font-size: 18px;
}
.card h3{ margin:0 0 6px; font-size: 16px; font-weight: 850; }
.card p{ margin:0; color: rgba(17,24,39,.70); line-height: 1.55; font-weight: 520; font-size: 14px; }

/* Callout */
.callout{
  margin-top: 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 16px 16px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.90);
  box-shadow: 0 14px 26px rgba(17,24,39,.10);
}
.callout h3{ margin:0 0 4px; font-weight: 850; }
.callout p{ margin:0; color: rgba(17,24,39,.70); font-weight: 520; font-size: 14px; }

/* =========================
   PRICING
========================= */
.pricing3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.price{
  border-radius: var(--r-lg);
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.88);
  padding: 18px;
  box-shadow: 0 10px 22px rgba(17,24,39,.08);
}
.price__top{ display:flex; align-items:baseline; justify-content:space-between; gap:10px; }
.price__tag{
  font-size: 11px;
  font-weight: 800;
  padding: 6px 9px;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.92);
  color: rgba(17,24,39,.72);
}
.price__tag--hot{
  border: 1px solid rgba(255,255,255,.26);
  color: rgba(255,255,255,.96);
  background: linear-gradient(90deg, rgba(157,112,255,.92), rgba(255,120,198,.88));
  box-shadow: 0 10px 22px rgba(157,112,255,.14);
}
.price__amount{
  font-size: 30px;
  font-weight: 900;
  margin: 12px 0 10px;
}
.price__list{
  margin:0 0 14px;
  padding:0;
  list-style:none;
  display:grid;
  gap: 10px;
  color: rgba(17,24,39,.72);
  font-weight: 600;
  font-size: 14px;
}
.price__list li{
  padding-left: 18px;
  position: relative;
}
.price__list li::before{
  content:"";
  width: 8px; height: 8px;
  border-radius: 999px;
  position:absolute;
  left:0; top: 7px;
  background: var(--pink);
  box-shadow: 0 0 0 3px rgba(255,255,255,.95);
}

/* =========================
   FAQ / FOOTER
========================= */
.faq{ display:grid; gap: 10px; }
.faq__item{
  border-radius: var(--r-lg);
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.88);
  padding: 12px 14px;
  box-shadow: 0 10px 22px rgba(17,24,39,.06);
}
.faq__item summary{
  cursor:pointer;
  font-size: 14.5px;
  font-weight: 850;
  color: rgba(17,24,39,.92);
}
.faq__item p{
  margin: 10px 0 0;
  color: rgba(17,24,39,.72);
  font-weight: 520;
  line-height: 1.55;
  font-size: 14px;
}

.footer{
  padding: 18px 0 26px;
  color: rgba(17,24,39,.62);
  font-size: 13px;
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  border-top: 1px solid rgba(17,24,39,.08);
  padding-top: 16px;
}
.toTop{ font-weight: 800; color: rgba(17,24,39,.70); }

/* Responsive */
@media (max-width: 980px){
  .nav{ display:none; }
  .hero__grid{ grid-template-columns: 1fr; }
  .grid3{ grid-template-columns: 1fr; }
  .pricing3{ grid-template-columns: 1fr; }
  .callout{ flex-direction: column; align-items: flex-start; }
  .footer__inner{ flex-direction: column; align-items: flex-start; }
}
/* =========================
   LANG DROPDOWN (FLAGS)
========================= */
.langDD{
  position: relative;
  display: inline-block;
}

.langDD > summary{
  list-style: none;
}
.langDD > summary::-webkit-details-marker{ display:none; }

.langDD__btn{
  display:inline-flex;
  align-items:center;
  gap: 8px;

  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,.12);
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 18px rgba(17,24,39,.06);
  cursor: pointer;

  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.langDD__btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.96);
  box-shadow: 0 14px 22px rgba(17,24,39,.10);
}

.langDD__flag{
  width: 22px;
  height: 16px;
  border-radius: 6px;
  overflow:hidden;
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.92);
  display:inline-grid;
  place-items:center;
}

.langDD__flag img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.langDD__chev{
  font-size: 12px;
  font-weight: 900;
  color: rgba(17,24,39,.68);
  transform: translateY(-1px);
}

.langDD[open] .langDD__chev{
  transform: translateY(-1px) rotate(180deg);
}

.langDD__menu{
  position:absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 170px;

  border-radius: 16px;
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 40px rgba(17,24,39,.12);
  backdrop-filter: blur(10px);

  padding: 6px;
  z-index: 60;
}

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

  padding: 9px 10px;
  border-radius: 12px;
  color: rgba(17,24,39,.82);
  font-weight: 750;
  font-size: 13px;

  transition: background .12s ease, box-shadow .12s ease;
}

.langDD__item:hover{
  background: rgba(157,112,255,.10);
  box-shadow: 0 10px 18px rgba(17,24,39,.06);
}

.langDD__item.is-active{
  background: linear-gradient(90deg, rgba(157,112,255,.14), rgba(255,120,198,.10));
  border: 1px solid rgba(157,112,255,.16);
}

.langDD__label{
  line-height: 1;
}

.mini--new{ padding: 18px; }

.miniTop{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(17,24,39,.10);
  background: linear-gradient(180deg, rgba(157,112,255,.10), rgba(255,120,198,.06));
  margin-bottom: 14px;
}

.miniTop__badges{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom: 8px; }
.miniTop__title{
  font-size: 16px;
  font-weight: 700;
  color: rgba(17,24,39,.92);
  margin-bottom: 4px;
}
.miniTop__desc{
  color: rgba(17,24,39,.70);
  font-size: 13.5px;
  font-weight: 420;
  line-height: 1.45;
}

.miniTop__icon{
  width: 40px; height: 40px;
  border-radius: 14px;
  display:grid; place-items:center;
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.85);
  box-shadow: 0 10px 18px rgba(17,24,39,.08);
  flex: 0 0 auto;
}

.miniGrid{
  display:grid;
  gap: 10px;
  margin-bottom: 14px;
}

.miniTile{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.96);
}

.miniTile__icon{
  width: 34px; height: 34px;
  border-radius: 12px;
  display:grid; place-items:center;
  background: linear-gradient(90deg, rgba(157,112,255,.18), rgba(255,120,198,.12));
  border: 1px solid rgba(17,24,39,.08);
}

.miniTile__lbl{ font-size: 14px; font-weight: 600; color: rgba(17,24,39,.92); }
.miniTile__sub{ font-size: 13px; font-weight: 420; color: rgba(17,24,39,.68); margin-top: 1px; }
.price__amount .per{
  font-size: 13px;
  font-weight: 600;
  color: rgba(17,24,39,.62);
  margin-left: 6px;
}
.contactCard{
  margin-top: 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 16px 16px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(17,24,39,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(157,112,255,.06));
  box-shadow: 0 14px 26px rgba(17,24,39,.08);
}

.contactCard__title{
  font-size: 14px;
  font-weight: 950;
  color: rgba(17,24,39,.92);
  margin-bottom: 4px;
}

.contactCard__desc{
  color: rgba(17,24,39,.68);
  font-size: 13.5px;
  font-weight: 520;
}

@media (max-width: 980px){
  .contactCard{ flex-direction: column; align-items:flex-start; }
}

main{ flex: 1 0 auto; }
.footer{ margin-top: auto; }

/* =========================
   FOOTER LINKS (Sub'n'Hub)
========================= */
.footer__left{
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.footer__copy{
  margin: 0;
}

.footer__links{
  display:flex;
  flex-wrap:wrap;
  gap: 10px 14px;
  align-items:center;
  font-weight: 750;
  font-size: 12.5px;
  color: rgba(17,24,39,.62);
}

.footer__links a{
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.70);
  box-shadow: 0 10px 18px rgba(17,24,39,.06);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.footer__links a:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.90);
  box-shadow: 0 14px 22px rgba(17,24,39,.10);
}

/* Mobile: footer déjà en colonne via ton media query,
   on garde les liens propres */
@media (max-width: 980px){
  .footer__links{
    gap: 8px 10px;
  }
}

/* Fix: ne jamais laisser le bouton Twitch devenir blanc (override d'autres CSS) */
.topbar .btn.btn--twitch,
.btn.btn--twitch,
.btn.btn--twitch:visited,
.btn.btn--twitch:active,
.btn.btn--twitch:focus,
.btn.btn--twitch:focus-visible{
  background: linear-gradient(90deg, rgba(157,112,255,.92), rgba(255,120,198,.88)) !important;
  color: rgba(255,255,255,.96) !important;
  border-color: rgba(255,255,255,.26) !important;
}
