/* ==========================================================================
   Le-Tchat.fr — feuille de style unique (v2026)
   Aucune police externe : pile système = chargement instantané (Core Web Vitals)
   ========================================================================== */

:root {
  --navy: #1b1f3b;
  --ink: #232846;
  --muted: #5b6182;
  --line: #e4e7f5;
  --bg: #f5f6fd;
  --card: #ffffff;
  --violet: #6c5cff;
  --violet-d: #5444e6;
  --pink: #ff4f8b;
  --pink-d: #e63b78;
  --green: #17b26a;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(27, 31, 59, .08);
  --shadow-lg: 0 24px 60px rgba(27, 31, 59, .22);
  --grad: linear-gradient(135deg, var(--violet), var(--pink));
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--violet-d); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--pink-d); }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(1140px, 100% - 2rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; line-height: 0; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; padding: .5rem .85rem; border-radius: 10px; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { background: var(--bg); color: var(--violet-d); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 12px; width: 46px; height: 46px; cursor: pointer; color: var(--ink); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; margin: auto; position: relative; transition: .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  padding: .8rem 1.4rem; border-radius: 14px; border: 0; color: #fff;
  background: var(--grad); box-shadow: 0 8px 22px rgba(255, 79, 139, .35);
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.btn:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 12px 28px rgba(255, 79, 139, .45); }
.btn:disabled { opacity: .65; cursor: wait; transform: none; }
.btn-sm { padding: .55rem 1.05rem; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-ghost { background: rgba(255, 255, 255, .12); box-shadow: none; border: 1px solid rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .22); box-shadow: none; }
.btn-discord { background: #5865f2; box-shadow: 0 8px 22px rgba(88, 101, 242, .35); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(255, 79, 139, .55), transparent 60%),
    radial-gradient(700px 400px at 0% 110%, rgba(108, 92, 255, .6), transparent 60%),
    var(--navy);
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .4rem .9rem; border-radius: 99px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(23, 178, 106, .3); }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.1; margin: 1rem 0 1rem; letter-spacing: -.02em; font-weight: 800; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #ffd1e2, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.15rem; color: #dfe2ff; max-width: 60ch; margin: 0 0 1.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); padding: .4rem .85rem; border-radius: 99px; font-size: .92rem; font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-small { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(5rem, 9vw, 7rem); }
.hero-small .hero-grid { grid-template-columns: 1fr; }
.hero-small h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }

/* ---------- Fil d'Ariane ---------- */
.crumbs { font-size: .9rem; margin-bottom: 1rem; color: #cfd3ff; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "›"; margin-right: .4rem; opacity: .7; }
.crumbs a { color: #fff; text-decoration: none; opacity: .9; }
.crumbs a:hover { text-decoration: underline; color: #fff; }
.crumbs-light { color: var(--muted); }
.crumbs-light a { color: var(--violet-d); }

/* ---------- Carte formulaire ---------- */
.chat-card {
  background: var(--card); color: var(--ink); border-radius: 24px; padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .6);
}
.chat-card h2, .chat-card .card-title { margin: 0 0 .25rem; font-size: 1.4rem; line-height: 1.25; letter-spacing: -.01em; }
.chat-card .sub { margin: 0 0 1.1rem; color: var(--muted); font-size: .95rem; }
.field { margin-bottom: .9rem; }
.field label, .legend { display: block; font-size: .85rem; font-weight: 700; margin-bottom: .3rem; color: var(--ink); }
.row { display: grid; grid-template-columns: 1fr 110px; gap: .75rem; }
.field input[type=text], .field input[type=number] {
  width: 100%; font: inherit; padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fafbff; color: var(--ink);
}
.field input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(108, 92, 255, .15); background: #fff; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; border: 0; padding: 0; margin: 0 0 1rem; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: block; text-align: center; font-weight: 700; padding: .75rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fafbff; transition: .15s; }
.seg input:checked + span { border-color: var(--violet); background: rgba(108, 92, 255, .1); color: var(--violet-d); }
.seg input:focus-visible + span { outline: 3px solid var(--pink); outline-offset: 2px; }
.legal-note { font-size: .8rem; color: var(--muted); margin: .8rem 0 0; line-height: 1.5; }
.status { min-height: 1.3em; margin: .6rem 0 0; font-size: .9rem; font-weight: 600; color: var(--pink-d); }

/* ---------- Sections ---------- */
main section { scroll-margin-top: 90px; }
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section-white { background: #fff; }
.section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .75rem; color: var(--navy); }
.section h3 { font-size: 1.3rem; line-height: 1.3; margin: 2rem 0 .5rem; color: var(--navy); }
.section-head { max-width: 760px; margin-bottom: 2rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.prose { max-width: 760px; }
.prose p { margin: 0 0 1.1rem; }
.prose strong { color: var(--navy); }

/* Pull-up : carte formulaire sur pages secondaires */
.pull-up { margin-top: -4rem; position: relative; z-index: 5; }
.pull-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: stretch; }

/* Cartes avantages */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.feature .ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--grad); font-size: 1.4rem; margin-bottom: .9rem; }
.feature h3 { margin: 0 0 .4rem; font-size: 1.12rem; }
.feature p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.6; }

/* Bandeau communauté */
.community {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center;
  background: linear-gradient(135deg, #25295a, #3b2f8f 55%, #a2327a); color: #fff;
  border-radius: 28px; padding: clamp(1.5rem, 4vw, 3rem); box-shadow: var(--shadow-lg);
}
.community h2 { color: #fff; }
.community p { color: #e6e8ff; }
.community ul { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: .5rem; }
.community li::before { content: "✓"; color: #7dffbd; font-weight: 800; margin-right: .6rem; }
.community a:not(.btn) { color: #fff; }
.community .box { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); border-radius: 20px; padding: 1.5rem; text-align: center; }
.community .box .big { font-size: 2.4rem; font-weight: 800; line-height: 1; }
.community .box p { margin: .4rem 0 1rem; }

/* Grille régions */
.regions { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.region a {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem; height: 100%;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.1rem;
  text-decoration: none; color: var(--ink); box-shadow: 0 2px 8px rgba(27, 31, 59, .04); transition: .15s;
}
.region a:hover { transform: translateY(-3px); border-color: var(--violet); box-shadow: var(--shadow); color: var(--ink); }
.region strong { display: block; font-size: 1.02rem; color: var(--navy); line-height: 1.3; }
.region small { color: var(--muted); font-size: .85rem; }
.region .arrow { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; color: var(--violet-d); font-weight: 800; }

/* Blocs de texte par zone */
.zones { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.zone { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.zone h3 { margin: 0 0 .6rem; font-size: 1.15rem; }
.zone p { margin: 0 0 .8rem; color: var(--ink); font-size: 1rem; }
.zone .more { margin-top: auto; font-weight: 700; text-decoration: none; }

/* Image + texte */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.split img { border-radius: 24px; box-shadow: var(--shadow-lg); width: 100%; }

/* FAQ */
.faq { max-width: 820px; margin-top: 1.5rem; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin-bottom: .75rem; padding: 0 1.25rem; }
.faq summary { cursor: pointer; font-weight: 700; padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--pink); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1rem; color: var(--muted); }

/* Autres régions (pages secondaires) */
.related { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.related a { display: inline-block; padding: .5rem 1rem; border-radius: 99px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .95rem; }
.related a:hover { border-color: var(--violet); }

/* CTA final */
.cta-band { text-align: center; background: var(--grad); color: #fff; border-radius: 28px; padding: clamp(2rem, 5vw, 3.5rem) 1.5rem; }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { margin: 0 auto 1.25rem; max-width: 56ch; opacity: .95; }
.cta-band .btn { background: #fff; color: var(--pink-d); box-shadow: 0 10px 26px rgba(0, 0, 0, .2); }

/* Pages légales */
.legal { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.legal h1 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); color: var(--navy); margin-top: 0; line-height: 1.2; }
.legal h2 { font-size: 1.4rem; color: var(--navy); margin-top: 2rem; }
.legal h3 { font-size: 1.1rem; color: var(--navy); margin-top: 1.5rem; }
.legal ol { padding-left: 1.2rem; }
.legal li { margin-bottom: .7rem; }
.page-top { padding: 2rem 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c9cdee; margin-top: 0; padding: 3rem 0 1.5rem; font-size: .96rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { color: #fff; font-size: 1rem; margin: 0 0 .8rem; text-transform: uppercase; letter-spacing: .06em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.site-footer a { color: #c9cdee; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-brand img { height: 38px; width: auto; margin-bottom: .8rem; }
.foot-brand p { margin: 0; max-width: 34ch; line-height: 1.6; }
.copyright { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2rem; padding-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: .88rem; }

/* ---------- Erreur 404 ---------- */
.err { text-align: center; padding: 5rem 0; }
.err .code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Animations (désactivées si l'utilisateur le demande) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .7s ease both; }
  .rise.d1 { animation-delay: .12s; }
  @keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .community, .split, .pull-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .split img { order: -1; max-width: 560px; margin-inline: auto; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: .75rem 1rem 1.25rem; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: .8rem 1rem; }
  .nav .btn { margin-top: .5rem; }
  .no-js .nav { display: flex; position: static; flex-direction: row; flex-wrap: wrap; box-shadow: none; border: 0; padding: 0; }
  .no-js .nav-toggle { display: none; }
}
@media (max-width: 520px) {
  body { font-size: 1rem; }
  .row { grid-template-columns: 1fr 96px; }
  .foot-grid { grid-template-columns: 1fr; }
  .zones { grid-template-columns: 1fr; }
}

/* ---------- Pages secondaires : contenu + colonne latérale ---------- */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 2.5rem; align-items: start; }
.aside { position: sticky; top: 88px; display: grid; gap: 1.25rem; }
.aside .feature { padding: 1.25rem; }
.aside-title { font-size: 1.1rem; margin: 0 0 .7rem; color: var(--navy); }
.aside p { margin: 0 0 .9rem; color: var(--muted); font-size: .96rem; line-height: 1.6; }
.aside-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.aside-links a { display: block; padding: .4rem 0; text-decoration: none; font-weight: 600; font-size: .96rem; border-bottom: 1px solid var(--line); }
.aside-links li:last-child a { border-bottom: 0; }
.pull-grid .chat-card p { margin: 0 0 .9rem; font-size: .98rem; line-height: 1.65; }
.pull-grid .chat-card p:last-child { margin-bottom: 0; }
.prose h2 { margin-top: 2rem; }
.prose h2:first-child { margin-top: 0; }
.zones { grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); }
@media (max-width: 960px) { .with-aside { grid-template-columns: 1fr; } .aside { position: static; } }
.aside .aside-title { font-size: 1.1rem; margin: 0 0 .7rem; }
.seg legend, .seg .legend { padding: 0; }

/* ==========================================================================
   FORMULAIRE « Rejoindre la communauté » (.join)
   ========================================================================== */
.join { position: relative; border-radius: 28px; padding: 3px; background: linear-gradient(120deg, #6c5cff, #ff4f8b, #ffb86b, #6c5cff); background-size: 300% 300%; box-shadow: var(--shadow-lg), 0 0 60px rgba(255, 79, 139, .25); color: var(--ink); }
@media (prefers-reduced-motion: no-preference) { .join { animation: joinGlow 8s ease infinite; } @keyframes joinGlow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } } }
.join-inner { background: #fff; border-radius: 25px; padding: clamp(1.25rem, 3vw, 1.9rem); }
.join-head { text-align: center; margin-bottom: 1.2rem; }
.join-live { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #0b7a47; background: #e4f8ee; padding: .3rem .8rem; border-radius: 99px; }
.join-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(23, 178, 106, .6); }
@media (prefers-reduced-motion: no-preference) { .join-live i { animation: ping 1.8s infinite; } @keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(23, 178, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(23, 178, 106, 0); } } }
.join-head h2 { margin: .7rem 0 .3rem; font-size: clamp(1.35rem, 2.4vw, 1.65rem); line-height: 1.2; letter-spacing: -.02em; color: var(--navy); }
.join-head p { margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.5; }
.join-row { display: grid; grid-template-columns: 1fr 112px; gap: .75rem; }
.jf { margin-bottom: .9rem; }
.jf label { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
.jf-box { position: relative; }
.jf-ico { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); font-size: 1.05rem; pointer-events: none; }
.jf-box input { width: 100%; font: inherit; font-weight: 600; padding: .9rem 1rem .9rem 2.6rem; border: 2px solid var(--line); border-radius: 14px; background: #f8f9ff; color: var(--ink); transition: border-color .15s, box-shadow .15s, background .15s; }
.jf-box input::placeholder { color: #9aa0c0; font-weight: 500; }
.jf-box input:focus { outline: none; border-color: var(--violet); background: #fff; box-shadow: 0 0 0 5px rgba(108, 92, 255, .14); }
.jf-age input { padding-left: 2.6rem; }
.pick { border: 0; padding: 0; margin: 0 0 1.1rem; min-width: 0; }
.pick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.pick legend { padding: 0; font-size: .78rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
.pick label { position: relative; cursor: pointer; display: block; }
.pick input { position: absolute; opacity: 0; inset: 0; }
.pick span { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem; border-radius: 14px; border: 2px solid var(--line); background: #f8f9ff; font-weight: 800; transition: .15s; }
.pick span b { font-size: 1.4rem; line-height: 1; }
.pick label:hover span { border-color: #c9ceff; transform: translateY(-1px); }
.pick input:checked + span { border-color: transparent; color: #fff; background: var(--grad); box-shadow: 0 8px 20px rgba(255, 79, 139, .35); }
.pick input:focus-visible + span { outline: 3px solid var(--pink); outline-offset: 3px; }
.join-btn { position: relative; overflow: hidden; width: 100%; display: flex; align-items: center; justify-content: center; gap: .6rem; font: inherit; font-size: 1.1rem; font-weight: 800; color: #fff; border: 0; cursor: pointer; padding: 1.05rem 1.25rem; border-radius: 16px; background: linear-gradient(120deg, #6c5cff, #ff4f8b); box-shadow: 0 14px 30px rgba(255, 79, 139, .4); transition: transform .15s, box-shadow .15s; }
.join-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(255, 79, 139, .5); }
.join-btn:active { transform: translateY(0); }
.join-btn:disabled { opacity: .7; cursor: wait; transform: none; }
.join-btn svg { transition: transform .2s; }
.join-btn:hover svg { transform: translateX(4px); }
@media (prefers-reduced-motion: no-preference) {
  .join-btn::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); animation: shine 3.5s ease-in-out infinite; }
  @keyframes shine { 0% { left: -60%; } 60%, 100% { left: 130%; } }
}
.join .status { text-align: center; }
.join-trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem .9rem; margin: .9rem 0 0; padding: 0; font-size: .86rem; font-weight: 700; color: var(--ink); }
.join-net { margin-top: 1rem; padding: .8rem; border-radius: 14px; background: linear-gradient(135deg, #f3f1ff, #fff0f6); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .45rem; font-size: .85rem; color: var(--muted); font-weight: 600; text-align: center; }
.join-net a { text-decoration: none; font-weight: 800; color: var(--violet-d); background: #fff; border: 1px solid var(--line); padding: .25rem .7rem; border-radius: 99px; }
.join-net a:hover { border-color: var(--violet); }
.join .legal-note { text-align: center; }
@media (max-width: 480px) { .join-row { grid-template-columns: 1fr 96px; } }

/* ==========================================================================
   Nouvelles sections de contenu
   ========================================================================== */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.steps li { counter-increment: s; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.4rem 1.3rem; box-shadow: var(--shadow); }
.steps li::before { content: counter(s); position: absolute; top: -16px; left: 1.2rem; width: 36px; height: 36px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 800; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(255, 79, 139, .35); }
.steps h3 { margin: .3rem 0 .4rem; font-size: 1.1rem; }
.steps p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.6; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.two-col img { width: 100%; border-radius: 24px; box-shadow: var(--shadow-lg); }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.5rem 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; font-size: .98rem; }
.cmp th, .cmp td { padding: .9rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp thead th { background: var(--navy); color: #fff; }
.cmp tbody tr:last-child td, .cmp tbody tr:last-child th { border-bottom: 0; }
.cmp tbody th { color: var(--navy); background: #f8f9ff; width: 28%; }
.table-wrap { overflow-x: auto; }
.guides { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.guide a { display: block; height: 100%; text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); transition: .15s; }
.guide a:hover { transform: translateY(-4px); border-color: var(--violet); color: var(--ink); }
.guide strong { display: block; font-size: 1.1rem; color: var(--navy); margin-bottom: .4rem; line-height: 1.3; }
.guide span { color: var(--muted); font-size: .96rem; line-height: 1.55; display: block; }
.guide em { display: inline-block; margin-top: .8rem; font-style: normal; font-weight: 800; color: var(--violet-d); }
.net-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 1.5rem; }
.net-chips a, .net-chips span { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); color: #fff; padding: .45rem 1rem; border-radius: 99px; font-weight: 800; text-decoration: none; }
.callout { background: linear-gradient(135deg, #f3f1ff, #fff0f6); border: 1px solid #e3dcff; border-radius: 16px; padding: 1.2rem 1.4rem; margin: 1.5rem 0; }
.callout p:last-child { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose h3 { margin: 1.6rem 0 .5rem; }
.wide { max-width: none; }
.wide p { max-width: 78ch; }
@media (max-width: 960px) { .two-col { grid-template-columns: 1fr; } .two-col img { max-width: 560px; margin-inline: auto; } }
.foot-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Fiches partenaires ---------- */
.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 1.5rem; margin-top: 2rem; }
.partner { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 1.6rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .2rem; scroll-margin-top: 90px; }
.p-head { display: flex; align-items: center; gap: 1rem; margin-bottom: .6rem; }
.p-logo { flex: none; width: 56px; height: 56px; border-radius: 16px; background: var(--grad); color: #fff; font-weight: 800; font-size: 1.4rem; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(255, 79, 139, .3); }
.p-tag { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--violet-d); background: #efedff; padding: .2rem .6rem; border-radius: 99px; }
.partner h3 { margin: .25rem 0 0; font-size: 1.35rem; color: var(--navy); }
.p-tagline { font-weight: 700; color: var(--navy); margin: 0 0 .4rem; }
.partner p { margin: 0 0 .8rem; }
.partner ul { margin: 0 0 1rem; padding-left: 1.1rem; color: var(--muted); }
.partner li { margin-bottom: .25rem; }
.p-note { font-size: .92rem; color: var(--muted); background: #f8f9ff; border-left: 4px solid var(--pink); padding: .6rem .9rem; border-radius: 8px; }
.partner .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Aide IRC : code et commandes ---------- */
.prose code, .cmp code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size: .88em; background: #eef0ff; color: #3a2fb8; padding: .12em .4em; border-radius: 6px; word-break: break-word; }
pre.code { background: #14172e; color: #e9ebff; border-radius: 14px; padding: 1rem 1.2rem; margin: 1rem 0 1.3rem; overflow-x: auto; font-size: .95rem; line-height: 1.6; border: 1px solid #2a2f57; }
pre.code code { background: none; color: inherit; padding: 0; font-size: inherit; white-space: pre; word-break: normal; }
.cmp td code { white-space: normal; }
.with-aside > *, .pull-grid > *, .two-col > * { min-width: 0; }
@media (max-width: 960px) { .with-aside, .pull-grid { grid-template-columns: minmax(0, 1fr); } }

.p-logo.has-img { background: #fff; border: 1px solid var(--line); box-shadow: none; padding: 6px; }
.p-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.age-gate { margin-top: auto; border: 1px solid var(--line); border-radius: 14px; padding: .6rem .9rem; background: #fff8fb; }
.age-gate summary { cursor: pointer; font-weight: 700; color: var(--pink-d); }
.age-gate p { margin: .6rem 0; font-size: .92rem; }
