/* =========================================================
   Mushtarik — Premium subscriptions website
   Design system · Light/Dark themes · Glass "reflets" · RTL
   ========================================================= */

@import url('https://fonts.googleapis.com/earlyaccess/droidarabickufi.css');

/* ---------- Brand tokens (shared) ---------- */
:root {
  --brand: #7c3aed;        /* violet (Charte B) */
  --brand-2: #9333ea;      /* purple */
  --brand-3: #a855f7;      /* light violet */
  --accent: #f59e0b;       /* orange / amber accent */
  --accent-2: #34d399;     /* emerald (savings/check) */
  --wa: #25d366;           /* whatsapp */

  --neon: #7c3aed;         /* violet glow */
  --neon-2: #f59e0b;       /* orange glow */

  /* Signature violet→orange gradient (Charte B) */
  --grad: linear-gradient(110deg, #7c3aed 0%, #a855f7 23%, #e0529c 53%, #f97316 85%, #f59e0b 100%);
  --grad-2: linear-gradient(120deg, #7c3aed, #f59e0b);

  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --container: 1400px;
  --container-head: 1600px;   /* top bar is a bit wider than the content */
  --gutter: clamp(16px, 3vw, 40px);
  --ease: cubic-bezier(.16,.84,.44,1);

  /* Sheen used for "reflets" */
  --sheen: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.0) 35%, rgba(255,255,255,.55) 50%, rgba(255,255,255,0) 65%, transparent 100%);

  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Light theme ---------- */
:root,
[data-theme="light"] {
  --bg: #ffffff;
  --bg-alt: #f5f6fc;
  --hero-bg: radial-gradient(120% 120% at 82% -10%, #efeafe 0%, #ffffff 46%);
  --surface: #ffffff;
  --surface-2: #ffffff;
  --glass: rgba(255,255,255,.7);
  --glass-strong: rgba(255,255,255,.82);
  --glass-brd: rgba(255,255,255,.7);

  --text: #1e2433;
  --text-strong: #0f172a;
  --text-soft: #5b6478;
  --muted: #8b94a9;

  --border: #e7eaf3;
  --border-2: #eef1f8;
  --chip: #f1f3fa;
  --chip-soft: #f3f0ff;

  --ink: #0b1020;          /* dark blocks even in light mode */
  --on-ink: #ffffff;
  --on-ink-soft: #c7d0ec;

  --shadow-sm: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.08);
  --shadow-md: 0 18px 40px -18px rgba(16,24,40,.22);
  --shadow-lg: 0 34px 70px -24px rgba(124,58,237,.32);
  --hi: inset 0 1px 0 rgba(255,255,255,.65);   /* top reflection highlight */
  --top-glow-1: rgba(168,85,247,.13);
  --top-glow-2: rgba(245,158,11,.10);
  --frame: rgba(15,23,42,.12);
  --head-glass: rgba(255,255,255,.28);
  --wire: rgba(15,23,42,.22);
  --dot: rgba(15,23,42,.07);
  --gloss: rgba(168,85,247,.06);
  --sheen-c: rgba(124,58,237,.07);
}

/* ---------- Dark theme ---------- */
[data-theme="dark"] {
  --bg: #05060e;
  --bg-alt: #080a16;
  --hero-bg:
    radial-gradient(60% 80% at 88% 12%, rgba(168,85,247,.38) 0%, rgba(5,6,14,0) 55%),
    radial-gradient(70% 90% at 10% 90%, rgba(245,158,11,.16) 0%, rgba(5,6,14,0) 55%),
    linear-gradient(180deg, #080a18, #05060e);
  --surface: #0d1124;
  --surface-2: #111634;
  --glass: rgba(255,255,255,.045);
  --glass-strong: rgba(16,21,40,.72);
  --glass-brd: rgba(255,255,255,.10);

  --text: #d9e0f2;
  --text-strong: #f3f6ff;
  --text-soft: #9aa6c4;
  --muted: #6f7a98;

  --border: rgba(255,255,255,.09);
  --border-2: rgba(255,255,255,.06);
  --chip: rgba(255,255,255,.06);
  --chip-soft: rgba(124,58,237,.16);

  --ink: #0c1224;
  --on-ink: #ffffff;
  --on-ink-soft: #c7d0ec;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 22px 46px -20px rgba(0,0,0,.7);
  --shadow-lg: 0 34px 80px -26px rgba(124,58,237,.5);
  --hi: inset 0 1px 0 rgba(255,255,255,.10);
  --sheen: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0) 35%, rgba(255,255,255,.22) 50%, rgba(255,255,255,0) 65%, transparent 100%);
  --top-glow-1: rgba(168,85,247,.32);
  --top-glow-2: rgba(245,158,11,.16);
  --frame: rgba(255,255,255,.14);
  --head-glass: rgba(20,24,45,.22);
  --wire: rgba(255,255,255,.22);
  --dot: rgba(255,255,255,.06);
  --gloss: rgba(255,255,255,.09);
  --sheen-c: rgba(255,255,255,.16);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background .4s var(--ease), color .3s var(--ease);
}

/* Subtle animated colour aurora behind everything (site-wide, gentle) */
.bgfx { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bgfx__blob { position: absolute; border-radius: 50%; filter: blur(100px); will-change: transform; }
.bgfx__blob--v { width: 560px; height: 560px; top: -12%; left: 58%; background: radial-gradient(circle, rgba(168,85,247,.42), transparent 70%); animation: bgfxA 30s ease-in-out infinite; }
.bgfx__blob--b { width: 540px; height: 540px; top: 68%; left: -12%; background: radial-gradient(circle, rgba(245,158,11,.36), transparent 70%); animation: bgfxB 37s ease-in-out infinite; }
.bgfx__blob--p { width: 480px; height: 480px; top: 58%; left: 66%; background: radial-gradient(circle, rgba(224,82,156,.32), transparent 70%); animation: bgfxC 33s ease-in-out infinite; }
.bgfx__blob--i { width: 520px; height: 520px; top: 2%; left: -14%; background: radial-gradient(circle, rgba(99,102,241,.32), transparent 70%); animation: bgfxD 41s ease-in-out infinite; }
@keyframes bgfxA { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-60px,55px) scale(1.12); } }
@keyframes bgfxB { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(75px,-45px) scale(1.1); } }
@keyframes bgfxC { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-55px,-55px) scale(1.14); } }
@keyframes bgfxD { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(60px,50px) scale(1.08); } }
[data-theme="dark"] .bgfx__blob { opacity: .52; }
[data-theme="light"] .bgfx__blob { opacity: .4; }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .bgfx__blob { animation: none !important; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: "Sora", "Inter", sans-serif; line-height: 1.12; letter-spacing: -.02em; color: var(--text-strong); }
.sprite { position: absolute; width: 0; height: 0; }
.ic { width: 1.15em; height: 1.15em; fill: none; flex: none; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 800px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.section { padding: clamp(38px, 4vw, 58px) 0; }
.section--alt { background: var(--bg-alt); }
#popular { padding-bottom: clamp(14px, 1.8vw, 24px); }
.section__head { max-width: 680px; margin: 0 auto clamp(26px, 3.2vw, 42px); text-align: center; }
.section__title { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 700; }
.section__title--grad { font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.section__lead { margin-top: 14px; color: var(--text-soft); font-size: 1.06rem; }
.auto-word { font-weight: 800; background: var(--grad); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; white-space: nowrap; animation: autoWordFlow 3.2s ease-in-out infinite alternate; }
@keyframes autoWordFlow { from { background-position: 0% center; } to { background-position: 100% center; } }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .auto-word { animation: none; } }
#how .section__head { max-width: none; }
#how .section__lead { white-space: nowrap; }
@media (max-width: 820px) { #how .section__lead { white-space: normal; } }
.share__herocta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: clamp(20px, 3vw, 30px); }
body[data-page="partage"] #share { padding-top: clamp(44px, 6vw, 92px); }
body[data-page="partage"] #share .section__head { max-width: 760px; }
/* Annotated co-subscription title (partage hero) */
.cotitle { position: relative; display: inline-block; max-width: 13em; margin: 0 auto; font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1.9rem, 4.9vw, 3.35rem); line-height: 1.18; letter-spacing: -.02em; }
.cotitle__num { color: #10c47f; }
.cotitle__w { color: var(--text-strong); }
.cotitle__blue { color: #2f6bf6; }
.cotitle__circ { position: relative; display: inline-block; color: var(--text-strong); white-space: nowrap; }
.cotitle__ring { position: absolute; left: 50%; top: 52%; width: 132%; height: 158%; transform: translate(-50%,-50%) rotate(-2.5deg); overflow: visible; pointer-events: none; }
.cotitle__ring path { stroke: #2f6bf6; stroke-width: 3.4; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: coRing 1s .35s cubic-bezier(.6,.1,.2,1) forwards; }
@keyframes coRing { to { stroke-dashoffset: 0; } }
.cotitle__doodle { position: absolute; pointer-events: none; height: auto; }
.cotitle__doodle--lines { width: clamp(20px,2.3vw,30px); top: -.35em; left: -.7em; color: var(--text-soft); opacity: .85; }
.cotitle__doodle--spark { width: clamp(17px,2.1vw,27px); top: -.5em; right: 1.3em; color: var(--text-strong); }
.cotitle__doodle--pie { width: clamp(22px,2.5vw,32px); bottom: 0; right: -.9em; color: var(--text-strong); }
[dir="rtl"] .cotitle__doodle--lines { left: auto; right: -.7em; transform: scaleX(-1); }
[dir="rtl"] .cotitle__doodle--spark { right: auto; left: 1.3em; }
[dir="rtl"] .cotitle__doodle--pie { right: auto; left: -.9em; }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .cotitle__ring path { animation: none; stroke-dashoffset: 0; } }
body[data-page="partage"] #reviews { padding-top: clamp(38px, 4vw, 58px); }
body[data-page="partage"] #reviews .rev-switch { margin-top: clamp(20px, 2.4vw, 30px); }
body[data-page="etudiants"] #reviews { padding-top: clamp(38px, 4vw, 58px); }
body[data-page="partage"] .hero__pitch .hero__newbadge { display: flex; width: fit-content; margin: 0 auto clamp(12px, 1.6vw, 18px); }
/* Partage : hero compact, contenu proche du header (espacement type sharesub) */
body[data-page="partage"] .hero { padding-top: clamp(8px, 1.4vw, 16px); padding-bottom: clamp(12px, 1.8vw, 24px); }
body[data-page="home"] .hero { padding-bottom: clamp(16px, 2.6vw, 36px); }
body[data-page="partage"] .cats-sec { padding-top: clamp(2px, 0.6vw, 6px); }
body[data-page="partage"] .hero__pitch { margin-top: clamp(10px, 1.8vw, 24px); }
body[data-page="partage"] .hero__pitch .hero__search { margin-top: clamp(24px, 2.8vw, 34px); }
/* Partage : cartes en charte cyan/turquoise (propose = teal, join = cyan) */
body[data-page="partage"] .ocard--propose { background: radial-gradient(115% 120% at 0% 0%, rgba(45,232,176,.6), transparent 58%), linear-gradient(155deg, #1ad79a 0%, #10bb7c 46%, #0a8a5b 100%); }
body[data-page="partage"] .ocard--join { background: radial-gradient(115% 120% at 100% 0%, rgba(110,170,255,.62), transparent 58%), linear-gradient(155deg, #4f97ff 0%, #2f6bf2 46%, #1740b8 100%); }
body[data-page="partage"] .ocard--propose .ocard__btn { color: #0c9d68; } body[data-page="partage"] .ocard--join .ocard__btn { color: #1d4ed8; }
body[data-page="partage"] .rev__avatar { background: linear-gradient(135deg, #10c47f, #2563eb); }
body[data-page="partage"] .share__card { background: radial-gradient(130% 110% at 0% 0%, rgba(16,196,127,.5), transparent 55%), radial-gradient(130% 120% at 100% 100%, rgba(37,99,235,.55), transparent 58%), linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%); }
body[data-page="partage"] .sscene__bg { filter: saturate(.9) hue-rotate(-45deg); }
/* Partage : cadres des avis en cyan */
body[data-page="partage"] .rev::before { background: linear-gradient(135deg, rgba(37,99,235,.95), rgba(16,196,127,.6) 52%, rgba(37,99,235,.95)); }
body[data-page="partage"] .rev::after { background: linear-gradient(115deg, transparent 36%, rgba(37,99,235,.22) 50%, rgba(16,196,127,.16) 57%, transparent 66%); }
body[data-page="partage"] .rev:hover { box-shadow: 0 0 0 1px rgba(37,99,235,.45), 0 16px 38px -10px rgba(37,99,235,.5), 0 0 42px -6px rgba(16,196,127,.45), inset 0 0 22px rgba(37,99,235,.15); }
/* Titre annoté des avis (« Plus de 6 500 utilisateurs nous font confiance ») */
.revtitle { position: relative; display: inline-block; font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1.55rem, 3.6vw, 2.55rem); line-height: 1.2; letter-spacing: -.02em; color: var(--text-strong); }
.revtitle__num { color: #10c47f; }
.revtitle__u { position: relative; display: inline-block; white-space: nowrap; }
.revtitle__line { position: absolute; left: -1%; right: -1%; bottom: -.22em; width: 102%; height: .34em; overflow: visible; }
.revtitle__line path { fill: none; stroke: #10c47f; stroke-width: 3.6; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: revtLine 1.05s .3s ease forwards; }
@keyframes revtLine { to { stroke-dashoffset: 0; } }
.revtitle__heart { position: absolute; top: -.55em; right: -1.1em; width: clamp(24px, 2.8vw, 38px); height: auto; color: var(--text-soft); }
[dir="rtl"] .revtitle__heart { right: auto; left: -1.1em; transform: scaleX(-1); }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .revtitle__line path { animation: none; stroke-dashoffset: 0; } }

.kicker {
  display: inline-block; font-family: "Sora", sans-serif; font-weight: 600;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); background: var(--chip-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.kicker--live { display: inline-flex; align-items: center; gap: 8px; }
.livedot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; flex: none; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: livePulse 1.8s ease-out infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.65); } 70%, 100% { box-shadow: 0 0 0 9px rgba(34,197,94,0); } }
.kicker--coral { color: #e0875f; background: rgba(217,119,87,.15); }
.partners__row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 12px; align-items: center; }
.partners__row .pslot:nth-child(n+6) { display: none; }
.pslot { position: relative; overflow: hidden; height: 96px; }
.pslot span { position: absolute; inset: 0; display: grid; place-items: center; padding: 4px 2px; font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; color: var(--text-soft); opacity: 1; transition: transform .65s cubic-bezier(.34,1.04,.4,1), opacity .55s ease; }
.pslot img { width: 100%; height: 100%; object-fit: contain; display: block; }
@media (max-width: 760px) { .partners__row { grid-template-columns: repeat(4, 1fr); } .pslot:nth-child(n+5) { display: none; } .pslot span { font-size: 1.08rem; } }
@media (max-width: 460px) { .partners__row { grid-template-columns: repeat(3, 1fr); } .pslot:nth-child(n+4) { display: none; } }
.packsx__box { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: clamp(20px, 2.6vw, 30px); padding: clamp(24px, 3.2vw, 44px); border-radius: 26px; background: radial-gradient(640px 340px at 85% -15%, rgba(168,85,247,.4), transparent 62%), radial-gradient(560px 320px at 2% 115%, rgba(245,158,11,.32), transparent 62%), linear-gradient(125deg, #0a0f24 0%, #0c1638 100%); box-shadow: var(--shadow-lg); }
.packsx__box::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1.6px; background: conic-gradient(from var(--pang), rgba(255,255,255,.07) 0deg, rgba(255,255,255,.07) 58deg, var(--brand) 118deg, var(--brand-3) 176deg, rgba(255,255,255,.07) 232deg, rgba(255,255,255,.07) 360deg); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: pangrot 6.5s linear infinite; pointer-events: none; }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .packsx__box::after { animation: none; } }
/* Light mode: clean white / off-white / grey panel with violet (charte) accents */
[data-theme="light"] .packsx__box { background: radial-gradient(680px 360px at 85% -12%, rgba(124,58,237,.12), transparent 60%), radial-gradient(560px 320px at 0% 115%, rgba(168,85,247,.10), transparent 60%), linear-gradient(135deg, #f4f1fb 0%, #ebe5f7 60%, #e6dff5 100%); box-shadow: 0 34px 80px -40px rgba(76,29,149,.30), inset 0 1px 0 rgba(255,255,255,.9); }
[data-theme="light"] .packsx__box::after { background: conic-gradient(from var(--pang), rgba(124,58,237,.14) 0deg, rgba(124,58,237,.14) 58deg, var(--brand) 118deg, var(--brand-3) 176deg, rgba(124,58,237,.14) 232deg, rgba(124,58,237,.14) 360deg); }
[data-theme="light"] .packsx__title { color: #1b1340; }
[data-theme="light"] .packsx__tabs { background: #ffffff; box-shadow: inset 0 0 0 1px #e7e0f5; }
[data-theme="light"] .ptab { color: #6c5f93; }
[data-theme="light"] .ptab:hover { color: #4c1d95; }
[data-theme="light"] .ptab.is-active { background: var(--brand); color: #fff; box-shadow: 0 8px 18px -7px rgba(124,58,237,.55); }
[data-theme="light"] .ppanel__info { color: #1e2433; background: linear-gradient(180deg, #ffffff 0%, #fbfaff 100%); box-shadow: 0 22px 50px -26px rgba(76,29,149,.26), inset 0 1px 0 #ffffff; }
[data-theme="light"] .ppanel__name { color: #1b1340; }
[data-theme="light"] .ppanel__list li { color: #4b5563; }
[data-theme="light"] .ppanel__row { color: #6b7280; }
[data-theme="light"] .ppanel__row s { color: #dc2626; }
[data-theme="light"] .ppanel__row b { color: #16a34a; }
[data-theme="light"] .ppanel__save { background: rgba(124,58,237,.12); color: #6d28d9; }
[data-theme="light"] .ppanel__cta { background: var(--brand); color: #fff; box-shadow: 0 14px 28px -12px rgba(124,58,237,.45); }
.packsx__left, .packsx__right { position: relative; z-index: 1; min-width: 0; }
.packsx__left { width: 100%; max-width: 920px; order: 3; }
.packsx__products { width: 100%; order: 2; }
.pprods { display: none; }
.pprods.is-active { display: grid; grid-template-columns: repeat(3, minmax(0, 289px)); justify-content: center; gap: 16px; animation: ppanelIn .35s var(--ease); }
@media (max-width: 980px) { .pprods.is-active { grid-template-columns: repeat(2, minmax(0, 289px)); } }
@media (max-width: 520px) { .pprods.is-active { grid-template-columns: minmax(0, 340px); } }
.packsx__tabs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.08); order: 1; }
.ptab { padding: 10px 20px; border: 0; border-radius: 999px; background: transparent; color: rgba(255,255,255,.78); font-family: "Sora",sans-serif; font-weight: 700; font-size: .92rem; cursor: pointer; transition: background .25s, color .25s; }
.ptab:hover { color: #fff; }
.ptab.is-active { background: #fff; color: #0b1020; box-shadow: 0 8px 20px -8px rgba(0,0,0,.5); }
.ppanel { display: none; }
.ppanel.is-active { display: grid; grid-template-columns: clamp(240px, 34%, 360px) 1fr; gap: clamp(20px, 3vw, 36px); align-items: center; animation: ppanelIn .35s var(--ease); }
@keyframes ppanelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@property --pang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes pangrot { to { --pang: 360deg; } }
.ppanel__info { position: relative; display: none; color: #fff; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)); border-radius: 18px; padding: clamp(20px, 2.3vw, 28px); box-shadow: 0 18px 40px -22px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06); overflow: hidden; }
.ppanel__info::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--pang), rgba(255,255,255,.1) 0deg, rgba(255,255,255,.1) 65deg, var(--brand) 120deg, var(--brand-3) 168deg, rgba(255,255,255,.1) 220deg, rgba(255,255,255,.1) 360deg); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: pangrot 5.5s linear infinite; pointer-events: none; }
.ppanel__info::after { content: ""; position: absolute; top: -40%; left: -30%; width: 60%; height: 180%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.12), transparent); transform: skewX(-18deg); opacity: 0; animation: ppanelSheen 6s var(--ease) infinite; pointer-events: none; }
@keyframes ppanelSheen { 0%,72% { transform: translateX(-60%) skewX(-18deg); opacity: 0; } 80% { opacity: 1; } 92%,100% { transform: translateX(360%) skewX(-18deg); opacity: 0; } }
.ppanel__info.is-active { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; animation: ppanelIn .35s var(--ease); }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .ppanel__info::before, .ppanel__info::after { animation: none; } .ppanel__info::after { display: none; } }
.ppanel__name { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.5rem; color: #fff; }
.ppanel__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 9px 20px; }
.ppanel__list li { position: relative; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.92); font-size: .96rem; }
.pverif { flex: 0 0 auto; width: 19px; height: 19px; filter: drop-shadow(0 2px 5px rgba(24,119,242,.45)); }
.ppanel__head { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.ppanel__buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 22px; }
.ppanel__pricing { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 0; }
.ppanel__row { display: inline-flex; align-items: baseline; gap: 8px; font-size: .9rem; color: rgba(255,255,255,.72); }
.ppanel__row s { color: #f87171; font-weight: 700; }
.ppanel__row b { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.7rem; color: #34d399; }
.ppanel__save { padding: 5px 12px; border-radius: 999px; background: rgba(52,211,153,.2); color: #6ee7b7; font-family: "Sora",sans-serif; font-weight: 800; font-size: .86rem; }
.ppanel__cta { display: inline-flex; margin-top: 0; padding: 13px 26px; border-radius: 999px; background: #fff; color: #0b1020; font-family: "Sora",sans-serif; font-weight: 700; font-size: .92rem; text-decoration: none; transition: transform .2s var(--ease); }
.ppanel__cta:hover { transform: translateY(-2px); }
/* Recap panel: dark glass that blends with the dark frame (white text, animated gradient border) */
.ppanel__prods { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.pprod { position: relative; overflow: hidden; width: 196px; min-height: 256px; flex: 0 0 auto; background: color-mix(in srgb, var(--pc), transparent 72%); background: linear-gradient(158deg, color-mix(in srgb, var(--pc), transparent 56%) 0%, color-mix(in srgb, var(--pc), transparent 82%) 52%, color-mix(in srgb, var(--pc), transparent 66%) 100%); -webkit-backdrop-filter: blur(13px) saturate(1.4); backdrop-filter: blur(13px) saturate(1.4); border: 1px solid color-mix(in srgb, var(--pc), transparent 48%); border-radius: 22px; padding: 22px 14px 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; box-shadow: 0 16px 40px -20px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.3), inset 0 -28px 52px -36px var(--pc); transition: transform .35s var(--ease), box-shadow .35s, filter .35s, border-radius .45s var(--ease), background .35s, border-color .35s; }
.pprod::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(125% 90% at 0% 0%, rgba(255,255,255,.45) 0%, rgba(255,255,255,0) 44%), radial-gradient(125% 90% at 100% 100%, rgba(255,255,255,.3) 0%, rgba(255,255,255,0) 46%), linear-gradient(135deg, rgba(255,255,255,.2) 0%, rgba(255,255,255,0) 30%, rgba(255,255,255,0) 64%, rgba(255,255,255,.12) 100%); opacity: .55; transition: opacity .4s var(--ease); pointer-events: none; }
.pprod__badge { position: absolute; top: 10px; right: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px 3px 7px; border-radius: 999px; background: #16a34a; color: #fff; font-family: "Sora",sans-serif; font-weight: 700; font-size: .6rem; letter-spacing: .02em; box-shadow: 0 4px 10px -3px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.4), 0 0 0 1px rgba(255,255,255,.22); pointer-events: none; }
.pprod__badge svg { width: .74rem; height: .74rem; fill: #fff; }
.pprod:hover, .pprod:focus-within, .pprod.is-lit { transform: translateY(-7px) scale(1.03); border-radius: 30px 9px 30px 9px; background: linear-gradient(158deg, color-mix(in srgb, var(--pc), transparent 38%) 0%, color-mix(in srgb, var(--pc), transparent 66%) 52%, color-mix(in srgb, var(--pc), transparent 48%) 100%); border-color: color-mix(in srgb, var(--pc), #fff 22%); box-shadow: 0 28px 56px -16px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.5), 0 0 0 2px color-mix(in srgb, var(--pc), #fff 28%), 0 0 30px -2px color-mix(in srgb, var(--pc), transparent 30%); filter: saturate(1.15) brightness(1.06); }
.pprod:hover::after, .pprod:focus-within::after, .pprod.is-lit::after { opacity: 1; }
.pprod__lg { position: relative; z-index: 1; width: 50px; height: 50px; border-radius: 13px; overflow: hidden; background: #fff; box-shadow: 0 5px 14px -5px rgba(0,0,0,.5); }
.pprod__lg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pprod__n { position: relative; z-index: 1; margin-top: 13px; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.1rem; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.16); }
.pprod__price { position: relative; z-index: 1; margin-top: 14px; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.5rem; line-height: 1; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.18); }
.pprod__price i { font-style: normal; font-size: .82rem; font-weight: 700; opacity: .85; }
.pprod__price::before { content: ""; display: block; width: 62%; height: 1px; margin: 0 auto 14px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); }
.pprod__d { position: relative; z-index: 1; margin-top: 6px; font-size: .76rem; font-weight: 600; color: rgba(255,255,255,.82); }
.packsx__custom { order: 4; position: relative; display: inline-flex; align-self: center; align-items: center; gap: 10px; margin-top: 4px; padding: 16px 34px; border-radius: 999px; border: 0; background: var(--grad); color: #fff; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.04rem; letter-spacing: .01em; cursor: pointer; box-shadow: 0 16px 36px -12px color-mix(in srgb, var(--brand), transparent 32%); transition: transform .2s var(--ease), box-shadow .3s, filter .25s; animation: packCustomPulse 2.6s var(--ease) infinite; }
.packsx__custom:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 24px 50px -12px color-mix(in srgb, var(--brand), transparent 22%); filter: brightness(1.06); animation-play-state: paused; }
.packsx__custom .ic { width: 1.1rem; height: 1.1rem; }
@keyframes packCustomPulse { 0%, 100% { box-shadow: 0 16px 34px -14px color-mix(in srgb, var(--brand), transparent 38%); } 50% { box-shadow: 0 18px 48px -10px color-mix(in srgb, var(--brand), transparent 4%); } }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .packsx__custom { animation: none; } }
@media (max-width: 760px) { .ppanel.is-active { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .ppanel__prods { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .ppanel__buy { width: 100%; } }
.packsx__title { grid-column: 1 / -1; position: relative; z-index: 1; font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1.6rem, 2.7vw, 2.3rem); line-height: 1.14; color: #fff; text-align: center; max-width: 760px; margin: 0 auto clamp(12px, 2vw, 22px); }
.packsx__lead { margin-top: 12px; max-width: 320px; color: rgba(255,255,255,.88); font-size: 1rem; line-height: 1.5; }
.packsx__cta { margin-top: 22px; display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border-radius: 999px; background: #fff; color: #0b1020; font-family: "Sora",sans-serif; font-weight: 700; font-size: .95rem; text-decoration: none; box-shadow: 0 14px 30px -12px rgba(0,0,0,.45); transition: transform .2s var(--ease), box-shadow .3s; }
.packsx__cta:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(0,0,0,.55); }
.packsx__cta .ic { width: 1rem; height: 1rem; }
.packsx__railwrap { position: relative; min-width: 0; }
.packsx__rail { display: flex; gap: 16px; overflow-x: auto; padding: 4px 2px 8px; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; }
.packsx__rail::-webkit-scrollbar { display: none; }
.packx { scroll-snap-align: start; flex: 0 0 auto; width: 230px; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px -18px rgba(0,0,0,.55); display: flex; flex-direction: column; transition: transform .32s var(--ease), box-shadow .32s; }
.packx:hover, .packx:focus-within, .packx.is-lit { transform: translateY(-7px); box-shadow: 0 32px 58px -18px rgba(0,0,0,.72), 0 0 26px -4px color-mix(in srgb, var(--pc1), transparent 48%); }
.packx__head { position: relative; overflow: hidden; height: 92px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--pc1), var(--pc2)); }
.packx__head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(125deg, rgba(255,255,255,.4) 0%, rgba(255,255,255,.08) 32%, transparent 56%); opacity: 0; transition: opacity .35s var(--ease); pointer-events: none; }
.packx:hover .packx__head::after, .packx:focus-within .packx__head::after, .packx.is-lit .packx__head::after { opacity: 1; }
.packx__logos { display: flex; }
.packx__lg { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: #fff; border: 2px solid #fff; box-shadow: 0 4px 12px -4px rgba(0,0,0,.5); margin-left: -12px; transition: transform .3s var(--ease); }
.packx:hover .packx__lg, .packx.is-lit .packx__lg { transform: translateY(-3px) scale(1.04); }
.packx__lg:first-child { margin-left: 0; }
.packx__lg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.packx__save { position: absolute; top: 10px; right: 10px; padding: 4px 9px; border-radius: 999px; background: rgba(0,0,0,.42); color: #fff; font-family: "Sora",sans-serif; font-weight: 800; font-size: .72rem; }
.packx__body { flex: 1; padding: 15px 16px 17px; display: flex; flex-direction: column; gap: 7px; }
.packx__name { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.08rem; color: #0b1020; }
.packx__items { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; }
.packx__items li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 7px 0; font-size: .9rem; font-weight: 600; color: #2b3344; border-bottom: 1px solid #eef0f4; }
.packx__items li:last-child { border-bottom: 0; }
.packx__items li span { color: #8b93a3; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.packx__price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 12px; }
.packx__price s { color: #9aa3b2; font-size: .92rem; }
.packx__price b { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.5rem; color: #0b1020; }
.packx__per { font-size: .78rem; color: #6b7280; }
.packx__btn { margin-top: 10px; padding: 11px; border-radius: 999px; background: var(--grad); color: #fff; font-family: "Sora",sans-serif; font-weight: 700; font-size: .85rem; text-align: center; text-decoration: none; transition: transform .2s var(--ease); }
.packx__btn:hover { transform: translateY(-2px); }
.packsx__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text-strong); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-md); transition: transform .2s var(--ease); }
.packsx__nav:hover { transform: translateY(-50%) scale(1.08); }
.packsx__nav--l { left: -16px; }
.packsx__nav--l .ic { transform: rotate(180deg); }
.packsx__nav--r { right: -16px; }
.packsx__nav .ic { width: 1.1rem; height: 1.1rem; }
@media (max-width: 860px) { .packsx__box { grid-template-columns: 1fr; gap: 18px; } .packsx__lead { max-width: none; } .packsx__nav { display: none; } }
.packsx__cta { border: 0; cursor: pointer; font: inherit; }
.packsx__pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 20px; }
.packsx__pgbtn { width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: #0b1020; display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 20px -8px rgba(0,0,0,.5); transition: transform .2s var(--ease), box-shadow .3s; }
.packsx__pgbtn:hover { transform: scale(1.08); box-shadow: 0 12px 26px -8px rgba(0,0,0,.6); }
.packsx__pgbtn .ic { width: 1.05rem; height: 1.05rem; transform: rotate(-90deg); }
.packsx__pgbtn--l .ic { transform: rotate(90deg); }
.packsx__dots { display: flex; align-items: center; gap: 8px; }
.packsx__dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.45); cursor: pointer; transition: width .35s var(--ease), background .3s; }
.packsx__dot.is-active { width: 30px; background: #fff; }
.pkmodal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 18px; }
.pkmodal[hidden] { display: none; }
.pkmodal__ov { position: absolute; inset: 0; background: rgba(5,6,14,.66); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.pkmodal__panel { position: relative; width: min(560px, 100%); max-height: 90vh; overflow-y: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-lg); }
.pkmodal__x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--chip); color: var(--text-strong); display: grid; place-items: center; cursor: pointer; }
.pkmodal__x .ic { width: 1rem; height: 1rem; }
.pkmodal__title { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.4rem; color: var(--text-strong); }
.pkmodal__sub { margin-top: 6px; color: var(--text-soft); font-size: .92rem; }
.pkmodal__grid { margin-top: 18px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pkopt { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.pkopt input { position: absolute; opacity: 0; pointer-events: none; }
.pkopt:hover { border-color: var(--brand); }
.pkopt.is-on { border-color: var(--brand); background: var(--chip-soft); }
.pkopt__lg { width: 36px; height: 36px; flex: none; border-radius: 9px; overflow: hidden; background: #fff; box-shadow: 0 2px 7px rgba(0,0,0,.25); }
.pkopt__lg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pkopt__name { font-family: "Sora",sans-serif; font-weight: 700; font-size: .92rem; color: var(--text-strong); }
.pkopt__price { margin-left: auto; font-weight: 700; font-size: .86rem; color: var(--text-soft); }
.pkopt__price i { font-style: normal; font-size: .72rem; opacity: .8; }
.pkopt__tick { width: 22px; height: 22px; flex: none; border-radius: 7px; border: 1.5px solid var(--border); display: grid; place-items: center; color: #fff; }
.pkopt__tick .ic { width: .8rem; height: .8rem; opacity: 0; transition: opacity .2s; }
.pkopt.is-on .pkopt__tick { background: var(--brand); border-color: var(--brand); }
.pkopt.is-on .pkopt__tick .ic { opacity: 1; }
.pkmodal__foot { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.pkmodal__info { display: flex; align-items: center; gap: 10px; color: var(--text-soft); font-size: .9rem; }
.pkmodal__cnt b { color: var(--text-strong); }
.pkmodal__disc { font-family: "Sora",sans-serif; font-weight: 800; color: #22c55e; }
.pkmodal__tot { display: flex; align-items: baseline; gap: 7px; }
.pkmodal__tot s { color: var(--text-soft); opacity: .7; }
.pkmodal__tot b { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.7rem; color: var(--text-strong); }
.pkmodal__tot span { font-size: .8rem; color: var(--text-soft); }
.pkmodal__go { margin-left: auto; padding: 12px 22px; border: 0; border-radius: 999px; background: var(--grad); color: #fff; font-family: "Sora",sans-serif; font-weight: 700; font-size: .92rem; cursor: pointer; transition: transform .2s, opacity .2s; }
.pkmodal__go:hover { transform: translateY(-2px); }
.pkmodal__go:disabled { opacity: .5; cursor: not-allowed; transform: none; }
@media (max-width: 480px) { .pkmodal__grid { grid-template-columns: 1fr; } .pkmodal__go { margin-left: 0; width: 100%; } }

/* ---------- Buttons (with reflets) ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: "Sora", sans-serif; font-weight: 600; font-size: .98rem;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  background: var(--ink); color: #fff; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
  white-space: nowrap;
}
.btn .ic { width: 1.15rem; height: 1.15rem; position: relative; z-index: 1; }
.btn span { position: relative; z-index: 1; }
/* moving sheen */
.btn::after {
  content: ""; position: absolute; inset: 0; background: var(--sheen);
  transform: translateX(-120%); transition: transform .7s var(--ease); pointer-events: none;
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 14px 32px -12px rgba(168,85,247,.7), var(--hi); }
.btn--primary:hover { box-shadow: 0 0 0 1px rgba(168,85,247,.35), 0 20px 50px -10px rgba(168,85,247,.85), var(--hi); }
[data-theme="dark"] .btn--primary { box-shadow: 0 0 22px -2px rgba(168,85,247,.55), 0 14px 36px -10px rgba(245,158,11,.5), var(--hi); }
[data-theme="dark"] .btn--primary:hover { box-shadow: 0 0 30px 0 rgba(168,85,247,.75), 0 18px 48px -10px rgba(245,158,11,.65), var(--hi); }
.btn--ghost { background: var(--surface); color: var(--text-strong); border-color: var(--border); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--brand-3); color: var(--brand); }
.btn--dark { background: #11162b; color: #fff; border-color: rgba(255,255,255,.08); }
.btn--wa { background: #25d366; color: #fff; box-shadow: 0 14px 30px -12px rgba(37,211,102,.6), var(--hi); }
.btn--wa:hover { background: #21c25c; box-shadow: 0 0 0 1px rgba(37,211,102,.4), 0 18px 44px -10px rgba(37,211,102,.8), var(--hi); }
.btn--tg { background: #229ed9; color: #fff; box-shadow: 0 14px 30px -12px rgba(34,158,217,.55), var(--hi); }
.btn--tg:hover { background: #1d8dc2; box-shadow: 0 0 0 1px rgba(34,158,217,.4), 0 18px 44px -10px rgba(34,158,217,.75), var(--hi); }
.btn--dark:hover { background: #1a2244; }
.btn--sm { padding: 9px 16px; font-size: .9rem; }
.btn--lg { padding: 16px 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }

.badge { display: inline-flex; align-items: center; gap: 5px; font-family: "Sora",sans-serif; font-weight: 600; font-size: .72rem; padding: 4px 10px; border-radius: 999px; }
.badge--gold { background: rgba(168,85,247,.12); color: #7c3aed; }
[data-theme="dark"] .badge--gold { background: rgba(168,85,247,.22); color: #d8b4fe; box-shadow: 0 0 14px -2px rgba(168,85,247,.5); }
.badge .ic { width: .85rem; height: .85rem; }

/* ---------- Top bar ---------- */
.topbar { background: transparent; }
.aud--top { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; padding: 9px 12px; }
.topbar .aud__link { color: var(--text-soft); font-family: "Sora",sans-serif; font-weight: 600; font-size: .86rem; padding: 7px 16px; border-radius: 999px; transition: color .2s, background .2s; }
.topbar .aud__link:hover { color: var(--text-strong); background: var(--chip); }
.topbar .aud__link.is-active { color: var(--brand); background: var(--chip-soft); }
[data-theme="dark"] .topbar { background: transparent; }
[data-theme="dark"] .topbar .aud__link { color: var(--on-ink-soft); }
[data-theme="dark"] .topbar .aud__link:hover { color: #fff; background: rgba(255,255,255,.08); }
[data-theme="dark"] .topbar .aud__link.is-active { color: #fff; background: rgba(168,85,247,.32); }

/* ---------- Header (glass) ---------- */
.header { position: sticky; top: 0; z-index: 60; background: transparent; border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s, backdrop-filter .3s; }
.header.is-stuck { border-color: transparent; box-shadow: none; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.header.is-stuck .header__row { box-shadow: var(--shadow-md), var(--hi); }
.header__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; height: 60px; max-width: var(--container-head); margin: 8px auto; padding-inline: var(--gutter); background: var(--head-glass); border: 1px solid var(--frame); border-radius: 16px; box-shadow: var(--shadow-sm), var(--hi); backdrop-filter: blur(9px) saturate(140%); -webkit-backdrop-filter: blur(9px) saturate(140%); }
.header__row > .brand { justify-self: start; }
.nav--row { justify-self: center; }
:where(.section, .cta, .hero) { scroll-margin-top: 116px; }

.brand { display: inline-flex; align-items: center; gap: 6px; font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.18rem; color: var(--text-strong); }
.brand__mark { position: relative; order: -1; flex: none; overflow: hidden; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--grad); color: #fff; font-weight: 800; box-shadow: 0 0 18px -2px rgba(168,85,247,.6), 0 8px 18px -8px rgba(245,158,11,.7), inset 0 1px 0 rgba(255,255,255,.4); }
.brand__mark::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,.55), transparent 45%); }
.brand__mark--img { width: 44px; height: 44px; border-radius: 50%; background: none; box-shadow: none; overflow: visible; }
.brand__mark--img::after { display: none; }
.brand__clip { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; z-index: 1; container-type: size; isolation: isolate; }
.brand__arpill { position: absolute; left: 50%; top: 63%; transform: translate(-50%, -50%) rotate(-5deg); z-index: 2; display: grid; place-items: center; width: 60%; height: 22%; border-radius: 4px; background: linear-gradient(100deg, #7c3aed, #a855f7, #e0529c, #f59e0b, #f97316, #e0529c, #a855f7, #7c3aed); background-size: 200% auto; animation: brandArFlow 4s linear infinite; font-family: 'Droid Arabic Kufi', "Cairo", sans-serif; font-weight: 700; font-size: 14cqi; line-height: 1; color: #fff; overflow: hidden; pointer-events: none; }
.brand__mark--img img { position: absolute; top: 50%; left: 50%; z-index: 1; width: 109%; height: 109%; transform: translate(-50%, -50%); object-fit: cover; display: block; }
/* Recoloration du logo officiel selon la page : un calque en fondu « color » teinte TOUTE
   l'image (l'anneau ET la pastille violet/orange incrustés dans le PNG) vers la couleur de
   la page, sans toucher au noir du fond ni au blanc du texte. Ainsi plus rien de violet/orange
   ne « dépasse » sur les pages bleu (Business), turquoise (Tamkin), etc. */
.brand__clip::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: 50%; mix-blend-mode: color; pointer-events: none; }
body[data-page="etudiants"] .brand__clip::after { background: #9333ea; }
body[data-page="entreprises"] .brand__clip::after { background: #2563eb; }
body[data-page="partenaires"] .brand__clip::after { background: #f97316; }
body[data-page="partage"] .brand__clip::after { background: #10c47f; }
body[data-page="inclusion"] .brand__clip::after { background: #14b8a6; }
.brand__mark--img::before { content: ""; position: absolute; inset: -0.5px; z-index: 2; border-radius: 50%; background: conic-gradient(from 0deg, #7c3aed, #a855f7, #e0529c, #f59e0b, #f97316, #a855f7, #7c3aed); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.6px), #000 calc(100% - 1.2px), #000 calc(100% - 0.3px), transparent 100%); mask: radial-gradient(farthest-side, transparent calc(100% - 1.6px), #000 calc(100% - 1.2px), #000 calc(100% - 0.3px), transparent 100%); animation: brandSpin 3.2s linear infinite; pointer-events: none; }
@keyframes brandSpin { to { transform: rotate(360deg); } }
@keyframes brandArFlow { to { background-position: 200% center; } }
.brand__text { color: var(--text-strong); }
.brand__ar { font-family: 'Droid Arabic Kufi', "Cairo", sans-serif; font-weight: 700; background: linear-gradient(100deg, #7c3aed, #a855f7, #e0529c, #f59e0b, #f97316, #e0529c, #a855f7, #7c3aed); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #F59E0B; animation: brandArFlow 4s linear infinite; }
.brand--light, .brand--light .brand__text { color: #fff; }
.brand--light .brand__ar { color: #F59E0B; }
.brand--light .brand__mark--img { width: 56px; height: 56px; }
/* Logo + nom (مشترك) : animation du header/footer adaptée à la charte de chaque page */
body[data-page="etudiants"] .brand__ar,
body[data-page="etudiants"] .brand__arpill { background-image: linear-gradient(100deg, #7c3aed, #a855f7, #c026d3, #e0529c, #c026d3, #a855f7, #7c3aed); }
body[data-page="etudiants"] .brand__mark--img::before { background-image: conic-gradient(from 0deg, #7c3aed, #a855f7, #c026d3, #e0529c, #a855f7, #7c3aed); }
body[data-page="etudiants"] .brand__ar, body[data-page="etudiants"] .brand--light .brand__ar { color: #c026d3; }
body[data-page="entreprises"] .brand__ar,
body[data-page="entreprises"] .brand__arpill { background-image: linear-gradient(100deg, #4f46e5, #2563eb, #3b82f6, #60a5fa, #3b82f6, #2563eb, #4f46e5); }
body[data-page="entreprises"] .brand__mark--img::before { background-image: conic-gradient(from 0deg, #4f46e5, #2563eb, #3b82f6, #60a5fa, #2563eb, #4f46e5); }
body[data-page="entreprises"] .brand__ar, body[data-page="entreprises"] .brand--light .brand__ar { color: #3b82f6; }
body[data-page="partenaires"] .brand__ar,
body[data-page="partenaires"] .brand__arpill { background-image: linear-gradient(100deg, #ea580c, #f97316, #fb923c, #f59e0b, #fb923c, #f97316, #ea580c); }
body[data-page="partenaires"] .brand__mark--img::before { background-image: conic-gradient(from 0deg, #ea580c, #f97316, #fb923c, #f59e0b, #f97316, #ea580c); }
body[data-page="partenaires"] .brand__ar, body[data-page="partenaires"] .brand--light .brand__ar { color: #f97316; }
body[data-page="partage"] .brand__ar,
body[data-page="partage"] .brand__arpill { background-image: linear-gradient(100deg, #2563eb, #3b82f6, #10c47f, #18d98f, #10c47f, #3b82f6, #2563eb); }
body[data-page="partage"] .brand__mark--img::before { background-image: conic-gradient(from 0deg, #2563eb, #3b82f6, #10c47f, #18d98f, #3b82f6, #2563eb); }
body[data-page="partage"] .brand__ar, body[data-page="partage"] .brand--light .brand__ar { color: #10c47f; }
body[data-page="inclusion"] .brand__ar,
body[data-page="inclusion"] .brand__arpill { background-image: linear-gradient(100deg, #6366f1, #818cf8, #14b8a6, #2dd4bf, #14b8a6, #818cf8, #6366f1); }
body[data-page="inclusion"] .brand__mark--img::before { background-image: conic-gradient(from 0deg, #6366f1, #818cf8, #14b8a6, #2dd4bf, #818cf8, #6366f1); }
body[data-page="inclusion"] .brand__ar, body[data-page="inclusion"] .brand--light .brand__ar { color: #6366f1; }

/* En-tête : pastille avatar / initiales affichée quand le client est connecté */
.acct-ava { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background-color: var(--brand); background-size: cover; background-position: center; color: #fff; font-family: "Sora", sans-serif; font-size: .66rem; font-weight: 800; line-height: 1; flex: none; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4), 0 2px 6px -2px color-mix(in srgb, var(--brand), transparent 40%); }
a.iconbtn.is-authed { color: var(--brand); }

/* Audience segmented nav (row 1, centered pill) */
.aud { display: flex; }
.aud--row { margin-inline: auto; background: var(--chip); border-radius: 999px; padding: 5px; gap: 4px; }
.aud__link { font-family: "Sora", sans-serif; font-weight: 600; font-size: .92rem; color: var(--text-soft); padding: 8px 16px; border-radius: 999px; transition: color .2s, background .2s, box-shadow .2s; white-space: nowrap; }
.aud__link:hover { color: var(--text-strong); }
.aud__link.is-active { background: var(--surface); color: var(--brand); box-shadow: var(--shadow-sm); }
[data-theme="dark"] .aud__link.is-active { background: rgba(168,85,247,.18); color: #d8b4fe; box-shadow: 0 0 14px -3px rgba(168,85,247,.6); }

/* Utilities */
.header__actions { display: flex; align-items: center; gap: 9px; justify-self: end; }

.theme-toggle { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text-strong); cursor: pointer; box-shadow: var(--shadow-sm); transition: .25s var(--ease); overflow: hidden; flex: none; }
.theme-toggle:hover { color: var(--brand); border-color: var(--brand-3); transform: translateY(-1px); }
.theme-toggle .ic { width: 1.2rem; height: 1.2rem; transition: transform .4s var(--ease), opacity .3s; position: absolute; }
.theme-toggle .ic--sun { opacity: 0; transform: rotate(-90deg) scale(.5); }
.theme-toggle .ic--moon { opacity: 1; transform: none; }
[data-theme="dark"] .theme-toggle .ic--sun { opacity: 1; transform: none; }
[data-theme="dark"] .theme-toggle .ic--moon { opacity: 0; transform: rotate(90deg) scale(.5); }

/* language switch (with flags) */
.lang { display: inline-flex; background: var(--chip); border-radius: 999px; padding: 3px; gap: 2px; }
.lang__btn { display: inline-flex; align-items: center; gap: 7px; border: none; background: transparent; font-family: "Sora",sans-serif; font-weight: 600; font-size: .8rem; color: var(--muted); padding: 6px 11px; border-radius: 999px; cursor: pointer; transition: .2s; line-height: 1; }
.lang__btn[lang="ar"] span { font-family: "Cairo", "Sora", sans-serif; font-size: .95rem; }
.lang__btn.is-active { background: var(--surface); color: var(--brand); box-shadow: var(--shadow-sm); }
.flag { width: 20px; height: 14px; border-radius: 3px; flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }

.iconbtn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text-strong); cursor: pointer; box-shadow: var(--shadow-sm); transition: .25s var(--ease); font-family: "Sora",sans-serif; font-weight: 600; font-size: .88rem; }
.iconbtn:hover { color: var(--brand); border-color: var(--brand-3); transform: translateY(-1px); }
.iconbtn .ic { width: 1.2rem; height: 1.2rem; }
.iconbtn--cart { position: relative; padding: 9px; flex: none; }
.cart__badge { position: absolute; top: -6px; inset-inline-end: -6px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--grad); color: #fff; font-family: "Sora",sans-serif; font-weight: 700; font-size: .66rem; display: grid; place-items: center; box-shadow: 0 0 10px -1px rgba(168,85,247,.7); }

.burger { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; border: 1px solid var(--border); background: var(--surface); border-radius: 11px; cursor: pointer; align-items: center; justify-content: center; flex: none; }
.burger span { width: 18px; height: 2px; background: var(--text-strong); border-radius: 2px; transition: .3s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.util--row { display: inline-flex; align-items: center; }

/* Dropdowns (language + currency) */
.dd { position: relative; }
.dd__btn { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--border); background: var(--surface); color: var(--text-strong); border-radius: 12px; padding: 8px 11px; font-family: "Sora",sans-serif; font-weight: 600; font-size: .84rem; cursor: pointer; box-shadow: var(--shadow-sm); transition: .2s var(--ease); }
.dd__btn:hover { border-color: var(--brand-3); color: var(--brand); }
.dd__flag { width: 20px; height: 14px; border-radius: 3px; flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.dd__val { line-height: 1; }
.dd__val[lang="ar"] { font-family: "Cairo", sans-serif; font-size: .95rem; }
.dd__caret { width: .85rem; height: .85rem; color: var(--muted); transition: transform .25s var(--ease); }
.dd.is-open .dd__caret { transform: rotate(180deg); }
.dd__menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 178px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-md); padding: 6px; display: grid; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.96); transform-origin: top right; transition: opacity .22s var(--ease), transform .26s var(--ease), visibility .26s; z-index: 80; }
[dir="rtl"] .dd__menu { transform-origin: top left; }
.dd.is-open .dd__menu { opacity: 1; visibility: visible; transform: none; }
.dd.is-open .dd__item { animation: ddItemIn .34s var(--ease) both; }
.dd.is-open .dd__item:nth-child(1) { animation-delay: .04s; }
.dd.is-open .dd__item:nth-child(2) { animation-delay: .09s; }
.dd.is-open .dd__item:nth-child(3) { animation-delay: .14s; }
.dd.is-open .dd__item:nth-child(4) { animation-delay: .19s; }
@keyframes ddItemIn { from { opacity: 0; transform: translateY(-7px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .dd.is-open .dd__item { animation: none; } .dd__menu { transition: opacity .15s, visibility .15s; transform: none; } }
.dd__item { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; text-align: start; border: none; background: transparent; color: var(--text); font-family: "Inter",sans-serif; font-weight: 600; font-size: .9rem; padding: 9px 13px; border-radius: 9px; cursor: pointer; transition: .15s; }
.dd__item::before { content: ""; position: absolute; inset-inline-start: 2px; top: 50%; transform: translateY(-50%); width: 3px; height: 0; border-radius: 99px; background: var(--brand); transition: height .2s var(--ease); }
.dd__item:hover::before, .dd__item:focus-visible::before, .dd__item.is-active::before { height: 58%; }
.dd__item:hover { background: var(--chip); color: var(--text-strong); }
.dd__item.is-active { background: var(--chip-soft); color: var(--brand); font-weight: 700; }
.dd__item.is-active::after { content: ""; margin-inline-start: auto; flex: none; width: 6px; height: 11px; border: solid var(--brand); border-width: 0 2.4px 2.4px 0; transform: rotate(45deg); margin-bottom: 2px; }
.dd__item[lang="ar"] span { font-family: "Cairo", sans-serif; }
.dd__item .flag { width: 22px; height: 15px; border-radius: 3px; }
.cur__code { font-family: "Sora",sans-serif; font-weight: 700; min-width: 40px; }
.cur__name { color: var(--muted); font-weight: 500; font-size: .85rem; }
.dd__item.is-active .cur__name { color: inherit; }

/* Product nav: in the logo row on desktop, in the dropdown panel on mobile */
.header__bottom { display: none; }   /* desktop = single header row; this is the mobile panel */
.nav--main { display: flex; gap: 4px; }
/* liens nav du haut (Étudiants/Entreprises/Partenaires/Tamkin) : gras + contraste fort (visibles au scroll) */
.nav--main.nav--row a { font-weight: 700; color: var(--text-strong); }
.nav a { position: relative; font-weight: 500; font-size: .94rem; color: var(--text-soft); padding: 8px 14px; border-radius: 10px; transition: color .2s, background .2s; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2.5px; border-radius: 2px; background: var(--grad); opacity: 0; transform: scaleX(.35); transform-origin: center; transition: opacity .22s ease, transform .22s ease; pointer-events: none; }
.nav a:hover, .nav a:focus-visible { color: var(--text-strong); background: var(--chip); }
.nav a:hover::after, .nav a:focus-visible::after, .nav a.is-active::after, .nav a[aria-current]::after { opacity: 1; transform: scaleX(1); }
.nav--panel, .aud--panel, .panel-extra { display: none; }   /* shown only inside the mobile panel */

/* "Coming soon" placeholder (audience pages) */
.soon { position: relative; overflow: hidden; min-height: calc(100vh - 112px); display: grid; place-items: center; text-align: center; background: transparent; padding: 60px 0; }
.soon__inner { position: relative; z-index: 1; max-width: 640px; }
.soon__title { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; margin-top: 6px; }
.soon__text { margin-top: 16px; color: var(--text-soft); font-size: 1.06rem; }
.soon__cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(12px, 1.8vw, 22px) 0 clamp(32px, 4.5vw, 56px); background: transparent; }
.hero__glow { display: none; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 60px); align-items: center; }

/* Animated "network" background (constellation) */
.netcanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: block; }
/* Réseau animé du haut : on l'efface dans la zone de jonction bannière → « À découvrir »
   pour qu'aucune ligne ne relie les deux (la bannière n'est séparée que par son ombre).
   Les lignes animées restent en fond au-dessus (bannière) et en dessous (À découvrir). */
.netcanvas--top { -webkit-mask: linear-gradient(to bottom, #000 33%, transparent 39%, transparent 45%, #000 52%); mask: linear-gradient(to bottom, #000 33%, transparent 39%, transparent 45%, #000 52%); }
[data-theme="light"] .netcanvas { opacity: .5; }
.cta__box .netcanvas { position: absolute; inset: 0; z-index: 0; opacity: .7; }

/* Neon glow on the gradient headline */
.hero__title .grad { filter: drop-shadow(0 0 16px rgba(168,85,247,.45)); }
[data-theme="dark"] .hero__title .grad { filter: drop-shadow(0 0 22px rgba(168,85,247,.6)); }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: "Sora",sans-serif; font-weight: 600; font-size: .85rem; color: var(--brand); background: var(--glass-strong); border: 1px solid var(--border); padding: 7px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); margin-bottom: 22px; backdrop-filter: blur(8px); }
.eyebrow .ic { width: 1rem; height: 1rem; }
.hero__title { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; }
.hero__sub { margin-top: 20px; font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--text-soft); max-width: 560px; }
.hero__cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 500; color: var(--text-soft); }
.hero__trust .ic { width: 1.1rem; height: 1.1rem; color: var(--accent-2); }

/* Hero glass card with reflet sweep */
.hero__card { display: flex; justify-content: center; }

/* ---------- Hero v2 (search + service rail) ---------- */
.hero__inner--v2 { display: block; text-align: center; }
.hero__pitch { text-align: center; margin-top: clamp(30px, 4.4vw, 56px); }
.hero__pitch .hero__title { margin-top: 16px; }
.hero__pitch .hero__sub { margin-inline: auto; }
.hero__pitch .hero__search { margin-top: clamp(26px, 3.2vw, 40px); }
.hero__head { position: relative; max-width: 1120px; margin-inline: auto; }
.hero__big { margin-top: 40px; font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1.85rem, 4.3vw, 3.05rem); line-height: 1.1; letter-spacing: -.012em; color: var(--text-strong); }
.hero__count { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__blue { position: relative; color: var(--brand-3); white-space: nowrap; }
.hero__blue::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: -.14em; height: .13em; border-radius: 999px; background: var(--brand-3); opacity: .5; }
.hero__lead2 { margin: 16px auto 0; max-width: 800px; font-size: clamp(1.08rem, 1.9vw, 1.34rem); color: var(--text-soft); }
.hero__newbadge { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; padding: 5px 15px 5px 5px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-family: "Sora",sans-serif; font-weight: 600; font-size: .8rem; color: var(--text-soft); box-shadow: var(--shadow-sm); }
.hero__newbadge b { position: relative; z-index: 1; padding: 3px 10px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 800; font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; animation: nbPop 2.6s ease-in-out infinite; }
.hero__newbadge > span { position: relative; z-index: 1; }
.hero__newbadge::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.24) 50%, transparent 62%); transform: translateX(-130%); animation: nbShine 4.5s ease-in-out infinite; pointer-events: none; }
.hero__newbadge > span.is-typing::after { content: "|"; margin-left: 1px; font-weight: 400; opacity: .85; animation: caretBlink .75s steps(1) infinite; }
@keyframes caretBlink { 50% { opacity: 0; } }
/* Recherche hero (partage) : panneau de résultats (déplacé dans body, hors du charter scoped) */
.hsearch { position: absolute; z-index: 200; max-height: min(64vh, 470px); overflow-y: auto; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); padding: 7px; text-align: start; -webkit-overflow-scrolling: touch; }
.hsearch[hidden] { display: none; }
.hsearch__group { padding: 2px; }
.hsearch__group[hidden] { display: none; }
.hsearch__group + .hsearch__group { margin-top: 4px; border-top: 1px solid var(--border); padding-top: 5px; }
.hsearch__lb { display: flex; align-items: center; gap: 8px; padding: 7px 10px 6px; font-family: "Sora",sans-serif; font-weight: 700; font-size: .73rem; letter-spacing: .04em; text-transform: uppercase; color: var(--text-soft); }
.hsearch__lb .ic { width: .95rem; height: .95rem; color: #2563eb; flex: none; }
.hsearch__lb small { font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--muted); font-size: .72rem; }
.hsearch__list { display: flex; flex-direction: column; gap: 2px; }
.hsearch__row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 10px; border: 0; border-radius: 12px; background: none; cursor: pointer; text-align: start; text-decoration: none; color: var(--text); font-family: inherit; transition: background .18s; }
.hsearch__row:hover, .hsearch__row:focus-visible { background: var(--chip); outline: none; }
.hsearch__ic { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.07); }
.hsearch__ic img { width: 74%; height: 74%; object-fit: contain; }
.hsearch__meta { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.hsearch__nm { font-family: "Sora",sans-serif; font-weight: 700; font-size: .95rem; color: var(--text-strong); line-height: 1.15; }
.hsearch__sub { font-size: .8rem; color: var(--text-soft); }
.hsearch__badge { flex: none; font-family: "Sora",sans-serif; font-weight: 800; font-size: .8rem; padding: 4px 11px; border-radius: 999px; white-space: nowrap; }
.hsearch__badge--save { color: #0c9d68; background: rgba(16,196,127,.16); }
.hsearch__badge--off { color: #2563eb; background: rgba(37,99,235,.14); }
.hsearch__empty { padding: 20px; text-align: center; color: var(--text-soft); font-size: .9rem; }
.hsearch__empty[hidden] { display: none; }
@keyframes nbShine { 0%, 32% { transform: translateX(-130%); } 66%, 100% { transform: translateX(130%); } }
@keyframes nbPop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
.hero__kick { display: block; margin-top: 16px; font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(.8rem, 1.4vw, .94rem); letter-spacing: .09em; text-transform: uppercase; color: var(--accent); }
.hero__amt { color: var(--accent); }
.hero__trust2 { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin: 20px auto 0; padding: 0; list-style: none; }
.hero__trust2 li { display: inline-flex; align-items: center; gap: 7px; font-family: "Sora",sans-serif; font-weight: 600; font-size: .9rem; color: var(--text-soft); }
.hero__trust2 .ic { width: 1.05rem; height: 1.05rem; color: var(--brand-3); flex: none; }
.hero__doodle { position: absolute; width: clamp(18px, 2.3vw, 28px); height: auto; }
.hero__doodle--a { top: -10px; left: 5%; color: var(--accent); transform: rotate(-10deg); }
.hero__doodle--b { top: 4px; right: 6%; color: var(--brand-3); }
.hero__search { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; width: min(620px, 92vw); margin: 52px auto 0; padding: 7px 7px 7px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-md), var(--hi); }
.hero__search-ic { width: 1.2rem; height: 1.2rem; color: var(--muted); flex: none; }
.hero__search-in { flex: 1; min-width: 0; border: 0; background: none; color: var(--text); font-family: "Inter",sans-serif; font-size: 1rem; outline: none; }
.hero__search-in::placeholder { color: var(--muted); }
.hero__search-btn { flex: none; padding: 11px 22px; border: 0; border-radius: 999px; background: var(--grad); color: #fff; font-family: "Sora",sans-serif; font-weight: 700; font-size: .9rem; cursor: pointer; transition: transform .2s var(--ease), box-shadow .3s; }
.hero__search-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -10px rgba(168,85,247,.75); }
.hero__search-mic { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(168,85,247,.12); color: var(--brand); cursor: pointer; transition: background .25s, color .25s, transform .2s var(--ease); }
.hero__search-mic:hover { background: rgba(168,85,247,.2); transform: scale(1.06); }
.hero__search-mic .ic { width: 1.12rem; height: 1.12rem; }
.hero__search-mic.is-listening { background: #ef4444; color: #fff; animation: micPulse 1.1s ease-in-out infinite; }
@keyframes micPulse { 0% { box-shadow: 0 0 0 0 rgba(239,68,68,.55); } 100% { box-shadow: 0 0 0 9px rgba(239,68,68,0); } }
.hero__cats { position: relative; display: flex; align-items: center; gap: 8px; width: min(860px, 94vw); margin: 18px auto 0; }
.hero__cats-vp { flex: 1; position: relative; display: flex; gap: 9px; overflow-x: auto; padding: 4px 2px; scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; -webkit-mask: linear-gradient(90deg, transparent, #000 22px, #000 calc(100% - 22px), transparent); mask: linear-gradient(90deg, transparent, #000 22px, #000 calc(100% - 22px), transparent); }
.hero__cats-vp::-webkit-scrollbar { display: none; }
.hero__cats-vp .hchip { flex: 0 0 auto; white-space: nowrap; }
.hero__catnav { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text-soft); cursor: pointer; box-shadow: var(--shadow-sm); transition: color .2s, border-color .2s, transform .2s var(--ease); }
.hero__catnav:hover { color: var(--brand); border-color: var(--brand-3); transform: translateY(-1px); }
.hero__catnav .ic { width: 1rem; height: 1rem; }
.hero__catnav--l .ic { transform: rotate(90deg); }
.hero__catnav--r .ic { transform: rotate(-90deg); }
.hchip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-soft); font-family: "Sora",sans-serif; font-weight: 600; font-size: .82rem; text-decoration: none; transition: color .25s, border-color .25s, transform .2s var(--ease); }
.hchip:hover { color: var(--brand); border-color: var(--brand-3); transform: translateY(-2px); }
.hchip .ic { width: .95rem; height: .95rem; flex: none; }
.hero__showcase { position: relative; width: calc(100vw - 4cm); max-width: calc(100vw - 4cm); margin: 54px 0 0; margin-inline: calc(50% - 50vw + 2cm); }
.showcase-sec { padding-top: clamp(8px, 1.5vw, 18px); padding-bottom: clamp(16px, 2vw, 28px); }
.showcase-sec .hero__showcase { margin-top: 0; }
.brand-disclaimer { max-width: 820px; margin: clamp(22px, 3vw, 40px) auto 0; text-align: center; color: var(--text-soft); font-size: clamp(.82rem, 1.1vw, .92rem); line-height: 1.65; }
.cats-sec { padding: clamp(6px, 1.4vw, 16px) 0 clamp(2px, 1vw, 10px); }
.cats-sec .hero__cats { margin-top: 0; }
/* Carrousel de bannières services (hero) — cadre simple : coins arrondis + ombre douce (laptop & téléphone) */
.bnr { position: relative; width: calc(100vw - 4cm); max-width: calc(100vw - 4cm); margin: clamp(8px, 1.2vw, 16px) 0 0; margin-inline: calc(50% - 50vw + 2cm); }
.bnr__viewport { overflow: hidden; border-radius: 26px; box-shadow: 0 16px 42px -22px rgba(8,12,30,.26); }
@media (max-width: 767px) { .bnr { width: calc(100vw - 24px); max-width: calc(100vw - 24px); margin-inline: calc(50% - 50vw + 12px); } .bnr__viewport { border-radius: 20px; } }
.bnr__track { display: flex; transition: transform .6s cubic-bezier(.5,.08,.12,1); }
.bnr__track.no-anim { transition: none; }
.bnr__slide { position: relative; flex: 0 0 100%; min-width: 100%; min-height: clamp(248px, 27vw, 318px); display: flex; align-items: center; padding: clamp(24px,4vw,54px); overflow: hidden; color: #fff; }
.bnr--hero { justify-content: center; background: radial-gradient(95% 130% at 50% -12%, rgba(124,58,237,.55), transparent 62%), radial-gradient(82% 112% at 92% 108%, rgba(236,72,153,.3), transparent 60%), linear-gradient(150deg, #161031 0%, #241a57 52%, #3a1f7d 100%); }
.bnr__txt--hero { max-width: 820px; margin: 0 auto; text-align: center; }
.bnr--hero .hero__newbadge { display: inline-flex; }
.bnr__title--hero { margin-top: 15px; font-size: clamp(1.7rem, 3.7vw, 3rem); }
.bnr__sub--hero { margin: 12px auto 0; }
.bnr__search.bnr__search { margin: clamp(18px,2.6vw,28px) auto 0; max-width: 580px; }
.bnr--cat { --scrim: 20,11,44; background: radial-gradient(120% 140% at 100% 0%, rgba(168,85,247,.55), transparent 60%), linear-gradient(135deg,#4338ca,#7c3aed 55%,#a855f7); }
.bnr--gift { --scrim: 38,8,26; background: radial-gradient(120% 140% at 100% 0%, rgba(245,158,11,.5), transparent 60%), linear-gradient(135deg,#9d174d,#db2777 55%,#ec4899); }
.bnr--share { --scrim: 4,22,28; background: radial-gradient(120% 140% at 100% 0%, rgba(34,197,94,.5), transparent 60%), linear-gradient(135deg,#0e7490,#0891b2 55%,#06b6d4); }
.bnr--prog { --scrim: 30,16,4; background: radial-gradient(120% 140% at 100% 0%, rgba(251,191,36,.55), transparent 60%), linear-gradient(135deg,#9a3412,#d97706 55%,#f59e0b); }
/* Bannières : images retirées — couleurs seules (comme au départ). Pour réactiver une photo : remettre un background-image sur .bnr--<theme> .bnr__art + la classe bnr--photo dans le rendu (index.html). */
.bnr--photo .bnr__art { background-size: cover; background-position: center 36%; background-repeat: no-repeat; }
.bnr--photo .bnr__art > * { display: none; }
.bnr--photo .bnr__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--scrim),.95) 0%, rgba(var(--scrim),.68) 34%, rgba(var(--scrim),.16) 60%, transparent 80%); }
[dir="rtl"] .bnr--photo .bnr__art { transform: scaleX(-1); }
.bnr--gift.bnr--photo .bnr__art { background-size: cover; background-position: center 32%; }
@media (max-width: 720px) { .bnr--gift.bnr--photo .bnr__art { background-size: auto 92%; background-position: right -8% bottom; } }
.bnr__txt { position: relative; z-index: 2; max-width: 90%; text-align: center; }
.bnr__tag { display: inline-flex; align-items: center; padding: 5px 13px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); font-family: "Sora",sans-serif; font-weight: 700; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }
.bnr__title { margin: 0; color: #fff; font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1.55rem,3.05vw,2.75rem); line-height: 1.07; text-shadow: 0 2px 22px rgba(0,0,0,.28); white-space: nowrap; }
.bnr__sub { margin: 12px auto 0; font-size: clamp(1.02rem,1.55vw,1.32rem); line-height: 1.5; opacity: .96; max-width: 34em; }
.bnr__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: clamp(16px,2.4vw,24px); padding: 12px 22px; border-radius: 999px; background: #fff; color: #0b1020; font-family: "Sora",sans-serif; font-weight: 800; font-size: .92rem; text-decoration: none; box-shadow: 0 16px 32px -14px rgba(0,0,0,.5); transition: transform .2s var(--ease), box-shadow .3s; }
.bnr__cta:hover { transform: translateY(-2px); box-shadow: 0 24px 44px -14px rgba(0,0,0,.6); }
.bnr__cta .ic { width: 1rem; height: 1rem; }
.bnr__art { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.bnr__bigic { position: absolute; right: clamp(-12px, 1vw, 28px); top: 50%; transform: translateY(-50%) rotate(-12deg); width: clamp(150px, 22vw, 270px); height: clamp(150px, 22vw, 270px); color: rgba(255,255,255,.15); }
[dir="rtl"] .bnr__bigic { right: auto; left: clamp(-12px,1vw,28px); transform: translateY(-50%) rotate(12deg) scaleX(-1); }
.bnr__orb { position: absolute; border-radius: 50%; filter: blur(36px); opacity: .5; }
.bnr__orb--1 { width: 240px; height: 240px; right: 8%; top: -32%; background: rgba(255,255,255,.42); animation: bnrFloat 9s ease-in-out infinite; }
.bnr__orb--2 { width: 180px; height: 180px; right: 26%; bottom: -36%; background: rgba(255,255,255,.28); animation: bnrFloat 11s ease-in-out infinite reverse; }
/* image plein cadre de la bannière : le sujet est intégré côté opposé au texte ; l'autre moitié est transparente et laisse voir le dégradé. Ombre douce pour ancrer le sujet sur le dégradé. */
.bnr__over { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center right; z-index: 1; pointer-events: none; user-select: none; filter: drop-shadow(0 9px 20px rgba(0,0,0,.34)); }
.bnr__slide:has(.bnr__over) .bnr__bigic, .bnr__slide:has(.bnr__over) .bnr__orb { display: none; }
/* bannières au texte à droite (paires) : le sujet est à gauche dans l'image -> on garde ce bord au recadrage */
.bnr__slide:nth-child(even) .bnr__over { object-position: center left; }
.bnr--share .bnr__over { transform: translateX(-26px); }
/* RTL : même disposition physique qu'en LTR (pas de miroir, pour ne jamais inverser logos/texte des images) */
[dir="rtl"] .bnr__slide:nth-child(even):has(.bnr__over) { justify-content: flex-start; }
[dir="rtl"] .bnr__slide:nth-child(odd):has(.bnr__over)  { justify-content: flex-end; }
[dir="rtl"] .bnr__slide:nth-child(even):has(.bnr__over) .bnr__txt { margin-inline: 0; margin-right: clamp(30px,5vw,96px); }
[dir="rtl"] .bnr__slide:nth-child(odd):has(.bnr__over)  .bnr__txt { margin-inline: 0; margin-left: clamp(30px,5vw,96px); }
/* harmonisation : voile de la couleur de la bannière (côté texte) + léger reflet diagonal */
.bnr--cat { --bv: 124,58,237; } .bnr--prog { --bv: 217,119,6; } .bnr--gift { --bv: 219,39,119; } .bnr--share { --bv: 8,145,178; }
.bnr__slide:has(.bnr__over) .bnr__art::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(to right, rgba(var(--bv),.5) 0%, rgba(var(--bv),.16) 46%, rgba(var(--bv),0) 72%), linear-gradient(118deg, transparent 42%, rgba(255,255,255,.06) 50%, transparent 60%); }
.bnr__slide:nth-child(even):has(.bnr__over) .bnr__art::after { background: linear-gradient(to left, rgba(var(--bv),.5) 0%, rgba(var(--bv),.16) 46%, rgba(var(--bv),0) 72%), linear-gradient(118deg, transparent 42%, rgba(255,255,255,.06) 50%, transparent 60%); }
/* lueur d'ambiance de la couleur de la bannière derrière le sujet (l'image s'intègre au dégradé) */
.bnr__slide:has(.bnr__over) .bnr__art::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(58% 116% at 84% 64%, rgba(var(--bv),.42), rgba(var(--bv),0) 68%); }
.bnr__slide:nth-child(even):has(.bnr__over) .bnr__art::before { background: radial-gradient(58% 116% at 16% 64%, rgba(var(--bv),.42), rgba(var(--bv),0) 68%); }
/* motifs vectoriels animés, propres à chaque bannière : remplissent le dégradé tout en restant discrets (derrière le sujet) */
.bnr__motif { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
/* fine trame de points qui dérive lentement : texture premium qui comble le vide */
.bnr__motif::before { content: ""; position: absolute; inset: -24%; background-image: radial-gradient(rgba(255,255,255,.6) 1.5px, transparent 1.9px); background-size: 24px 24px; opacity: .16; -webkit-mask: radial-gradient(125% 95% at 50% 32%, #000, transparent 78%); mask: radial-gradient(125% 95% at 50% 32%, #000, transparent 78%); animation: mgGrid 26s linear infinite; }
@keyframes mgGrid { to { transform: translate(27px, 15px); } }
.bnr__mg { position: absolute; color: #fff; opacity: var(--o, .14); animation: mgFloat var(--d, 9s) ease-in-out var(--dl, 0s) infinite; will-change: transform; }
.bnr__mg svg { display: block; width: 100%; height: 100%; }
.bnr__mg--b { animation-name: mgFloatB; }
@keyframes mgFloat { 0%,100% { transform: translateY(0) rotate(var(--r,0deg)); } 50% { transform: translateY(-16px) rotate(calc(var(--r,0deg) + 9deg)); } }
@keyframes mgFloatB { 0%,100% { transform: translate(0,0) rotate(var(--r,0deg)); } 50% { transform: translate(9px,11px) rotate(calc(var(--r,0deg) - 11deg)); } }
@media (max-width: 720px) { .bnr__motif { opacity: .65; } }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .bnr__mg, .bnr__motif::before { animation: none; } }
@keyframes bnrFloat { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-18px,16px); } }
/* bloc texte centré dans une demi-zone, alternée : impair = gauche, pair = droite */
.bnr__slide:nth-child(even) { justify-content: flex-end; }
.bnr__slide:nth-child(even) .bnr__bigic { right: auto; left: clamp(-12px, 1vw, 28px); transform: translateY(-50%) rotate(12deg) scaleX(-1); }
.bnr__slide:nth-child(even) .bnr__orb--1 { right: auto; left: 8%; }
.bnr__slide:nth-child(even) .bnr__orb--2 { right: auto; left: 26%; }
.bnr__slide:nth-child(even) .bnr__txt { margin-inline-end: clamp(30px, 5vw, 96px); }
.bnr__slide:nth-child(odd) .bnr__txt { margin-inline-start: clamp(30px, 5vw, 96px); }
.bnr__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .2s; }
.bnr__arrow:hover { background: rgba(255,255,255,.32); }
.bnr__arrow .ic { width: 1.25rem; height: 1.25rem; }
.bnr__arrow--prev { inset-inline-start: 14px; } .bnr__arrow--prev .ic { transform: rotate(90deg); }
.bnr__arrow--next { inset-inline-end: 14px; } .bnr__arrow--next .ic { transform: rotate(-90deg); }
[dir="rtl"] .bnr__arrow--prev .ic { transform: rotate(-90deg); }
[dir="rtl"] .bnr__arrow--next .ic { transform: rotate(90deg); }
.bnr__dots { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 4; display: flex; gap: 7px; }
.bnr__dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.5); cursor: pointer; transition: width .3s, background .3s; }
.bnr__dot.is-on { width: 26px; background: #fff; }
/* signature/slogan fixe, visible sur toutes les bannières */
.bnr__sign { position: absolute; inset-inline-end: clamp(16px, 2vw, 30px); bottom: clamp(22px, 2.3vw, 33px); z-index: 4; margin: 0; font-family: "Caveat", cursive; font-weight: 700; font-size: clamp(1.5rem, 2.55vw, 2.3rem); line-height: 1; background: linear-gradient(to right, #c084fc, #f472b6, #fb923c, #fcd34d, #f472b6, #c084fc); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; -webkit-text-stroke: 1.5px #ffffff; paint-order: stroke; filter: drop-shadow(0 2px 8px rgba(0,0,0,.65)); transform: rotate(-4deg); transform-origin: right bottom; pointer-events: none; animation: signFlow 6s linear infinite; }
@keyframes signFlow { to { background-position: 220% center; } }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .bnr__sign { animation: none; } }
@media (max-width: 560px) { .bnr__sign { display: none; } }
/* ===== Carrousel hero — MOBILE (<768px) : image en haut, texte + bouton EN DESSOUS sur fond clair (style Udemy) ===== */
@media (max-width: 767px) {
  .bnr__arrow { display: none; }                       /* swipe horizontal natif, pas de flèches */

  /* slide empilé : image (haut) puis bloc texte clair (bas) */
  .bnr__slide { flex-direction: column; align-items: stretch; justify-content: flex-start; min-height: 0; height: auto; padding: 0; }

  /* image en haut, hauteur fixe ; sujet centré (recadrage par bannière) */
  .bnr__art { position: relative; inset: auto; height: clamp(186px, 50vw, 252px); flex: 0 0 auto; }
  .bnr__over { object-position: center 30%; }
  .bnr__slide.bnr--cat .bnr__over   { object-position: 84% 30%; }
  .bnr__slide.bnr--prog .bnr__over  { object-position: 22% 30%; }
  .bnr__slide.bnr--gift .bnr__over  { object-position: 84% 30%; }
  .bnr__slide.bnr--share .bnr__over { object-position: 42% 30%; transform: none; }
  /* fondu en bas de l'image vers le blanc -> fusion douce avec le bloc texte (plus de ligne nette) */
  .bnr__slide:has(.bnr__over) .bnr__art::after, .bnr__slide:nth-child(even):has(.bnr__over) .bnr__art::after { background: linear-gradient(to bottom, transparent 88%, #fff 100%); }
  .bnr__slide:has(.bnr__over) .bnr__art::before { background: none; }

  /* bloc texte sous l'image : fond clair, aligné à gauche, titre foncé, bouton plein largeur (style Udemy) */
  .bnr__slide:nth-child(odd) .bnr__txt, .bnr__slide:nth-child(even) .bnr__txt { margin-inline: 0; }
  .bnr__txt { position: relative; z-index: 3; flex: 1 1 auto; width: 100%; max-width: 100%; margin: 0; text-align: left; background: #fff; padding: 20px 18px 52px; }
  .bnr__title { color: #18191b; font-weight: 800; font-size: clamp(1.36rem, 6.3vw, 2rem); line-height: 1.2; white-space: normal; text-shadow: none; }
  .bnr__sub { margin-top: 9px; color: #5f6368; font-size: clamp(.95rem, 4vw, 1.08rem); line-height: 1.45; max-width: 100%; white-space: normal; opacity: 1; }
  /* aligné à gauche (style Udemy) — surcharge la règle globale .bnr__txt * centrée */
  .bnr .bnr__txt, .bnr .bnr__title, .bnr .bnr__sub { text-align: left !important; }
  /* bouton à la COULEUR de la bannière (var --cta = surcharge admin, sinon couleur du thème --bv) */
  .bnr__cta { display: flex; width: 100%; justify-content: center; margin-top: 18px; min-height: 52px; padding: 15px 22px; background: var(--cta, rgb(var(--bv))); color: #fff; box-shadow: 0 12px 26px -12px rgba(var(--bv), .55); }
  .bnr__cta:hover { transform: none; }

  /* dots foncés (sur le fond clair), en bas */
  .bnr__dots { bottom: 16px; }
  .bnr__dot { background: rgba(0,0,0,.2); }
  .bnr__dot.is-on { background: var(--brand); }
}
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .bnr__orb { animation: none; } .bnr__track { transition: none; } }
.hero__rail { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; overflow-x: auto; padding: 18px 0 18px; scrollbar-width: none; -ms-overflow-style: none; -webkit-mask: linear-gradient(90deg, #000 calc(100% - 72px), transparent); mask: linear-gradient(90deg, #000 calc(100% - 72px), transparent); }
.hero__rail::-webkit-scrollbar { display: none; }
.hero__panel { position: absolute; left: 0; top: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; gap: 22px; width: clamp(280px, 34vw, 460px); padding: 16px clamp(56px, 9vw, 140px) 16px clamp(32px, 4vw, 52px); pointer-events: none; }
.hero__panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #141d44 0%, #0f1734 34%, #0b1226 54%, rgba(11,18,38,.94) 61%, rgba(11,18,38,.78) 67%, rgba(11,18,38,.5) 76%, rgba(11,18,38,.22) 85%, rgba(11,18,38,.06) 92%, rgba(11,18,38,0) 99%); -webkit-mask: linear-gradient(to bottom, #000 66%, rgba(0,0,0,.82) 74%, rgba(0,0,0,.52) 83%, rgba(0,0,0,.24) 91%, rgba(0,0,0,.07) 96%, transparent 100%); mask: linear-gradient(to bottom, #000 66%, rgba(0,0,0,.82) 74%, rgba(0,0,0,.52) 83%, rgba(0,0,0,.24) 91%, rgba(0,0,0,.07) 96%, transparent 100%); }
.hero__panel > * { pointer-events: auto; }
.hero__panel-t { max-width: 290px; font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1.5rem, 2.8vw, 2.3rem); line-height: 1.12; color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.hero__panel-num { color: var(--accent); }
.hero__panel-btn { display: inline-flex; align-items: center; gap: 8px; width: max-content; padding: 13px 22px; border: 0; border-radius: 999px; background: #fff; color: #0b1020; font-family: "Sora",sans-serif; font-weight: 700; font-size: .92rem; text-decoration: none; cursor: pointer; box-shadow: 0 16px 32px -14px rgba(0,0,0,.6); transition: transform .2s var(--ease), box-shadow .3s; }
.hero__panel-btn:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -14px rgba(0,0,0,.7); }
.hero__panel-btn .ic { width: 1rem; height: 1rem; }
@media (max-width: 640px) {
  .hero__panel { position: static; width: auto; background: none; padding: 0 var(--gutter); pointer-events: auto; align-items: center; text-align: center; gap: 16px; margin-bottom: 14px; }
  .hero__panel::before { display: none; }
  .hero__panel-t { max-width: none; }
  .hero__showcase { display: flex; flex-direction: column-reverse; width: auto; max-width: 100%; margin-inline: 0; }
  .hero__rail { -webkit-mask: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent); mask: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent); }
}
.hero__rail::-webkit-scrollbar { display: none; }
.hsvc { position: relative; overflow: hidden; scroll-snap-align: center; flex: 0 0 auto; width: 188px; min-height: 238px; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 16px 18px; border-radius: 22px; color: #fff; text-decoration: none; background: var(--c); background: linear-gradient(158deg, color-mix(in srgb, var(--c), #fff 16%) 0%, var(--c) 46%, color-mix(in srgb, var(--c), #000 24%) 100%); box-shadow: 0 18px 38px -16px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.22); transition: transform .35s var(--ease), box-shadow .35s, filter .35s, border-radius .45s var(--ease); }
.hsvc::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(125% 90% at 0% 0%, rgba(255,255,255,.4) 0%, rgba(255,255,255,0) 44%), radial-gradient(125% 90% at 100% 100%, rgba(255,255,255,.32) 0%, rgba(255,255,255,0) 46%), linear-gradient(135deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 32%, rgba(255,255,255,0) 64%, rgba(255,255,255,.1) 100%); opacity: 0; transition: opacity .4s var(--ease); pointer-events: none; }
.hsvc:hover, .hsvc:focus-visible, .hsvc:active, .hsvc.is-lit { transform: translateY(-8px) scale(1.035); box-shadow: 0 24px 50px -16px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.45), 0 0 0 3px color-mix(in srgb, var(--c), #fff 24%), 0 0 30px 1px color-mix(in srgb, var(--c), transparent 32%); filter: saturate(1.12) brightness(1.05); }
.hsvc:hover::after, .hsvc:focus-visible::after, .hsvc:active::after, .hsvc.is-lit::after { opacity: 1; }
.hsvc__logo { width: 56px; height: 56px; flex: none; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 6px 16px -6px rgba(0,0,0,.5); }
.hsvc__logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hsvc__name { margin-top: 14px; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.18rem; line-height: 1.1; text-shadow: 0 1px 10px rgba(0,0,0,.16); }
.hsvc__line { width: 76%; height: 1px; margin: 13px 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent); }
.hsvc__off { font-family: "Sora",sans-serif; font-weight: 800; font-size: 2rem; line-height: 1; text-shadow: 0 2px 12px rgba(0,0,0,.18); }
.hsvc__price { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.7rem; line-height: 1; white-space: nowrap; text-shadow: 0 2px 12px rgba(0,0,0,.18); }
.hsvc__price i { font-style: normal; font-weight: 700; font-size: .78rem; opacity: .9; }
.hsvc__cta { margin-top: auto; padding-top: 16px; font-family: "Sora",sans-serif; font-weight: 700; font-size: .82rem; opacity: .98; }
.hsvc--ink { color: #0b1020; }
.hsvc--ink .hsvc__name, .hsvc--ink .hsvc__off { text-shadow: none; }
.hsvc--ink .hsvc__line { background: linear-gradient(90deg, transparent, rgba(0,0,0,.24), transparent); }
.hsvc--gemini { background: linear-gradient(150deg, #4285F4 0%, #9168C9 55%, #D96570 100%); }
.hsvc--figma { background: linear-gradient(158deg, #1ABCFE 0%, #A259FF 30%, #F24E1E 100%); }
.hero__cta2 { margin-top: 28px; display: flex; justify-content: center; }
.audstrip { position: sticky; top: 72px; z-index: 50; padding: clamp(8px, 2vw, 16px) 0 clamp(20px, 3vw, 34px); transition: padding .25s var(--ease), background .25s, box-shadow .25s; }
.audstrip.is-stuck { padding: 9px 0; background: var(--head-glass); backdrop-filter: blur(11px) saturate(150%); -webkit-backdrop-filter: blur(11px) saturate(150%); box-shadow: var(--shadow-sm); border-bottom: 1px solid var(--border); }
.audstrip.is-stuck .audbtn { padding: 8px 16px; font-size: .86rem; }
.hero__aud { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.audbtn { display: inline-flex; align-items: center; gap: 9px; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-strong); font-family: "Sora",sans-serif; font-weight: 700; font-size: .92rem; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), border-color .25s, background .25s, color .25s, box-shadow .3s; }
.audbtn .ic { width: 1.05rem; height: 1.05rem; color: var(--brand); transition: color .25s; }
.audbtn:hover, .audbtn:focus-visible { transform: translateY(-3px); border-color: transparent; background: var(--grad); color: #fff; box-shadow: var(--shadow-md); }
.audbtn:hover .ic, .audbtn:focus-visible .ic { color: #fff; }
.audbtn:active { transform: translateY(-1px); }
@media (max-width: 600px) { .hero__search-btn { padding: 11px 15px; } .hsvc { width: 150px; } }
.glasscard { position: relative; overflow: hidden; width: 100%; max-width: 380px; background: var(--glass-strong); border: 1px solid var(--glass-brd); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-lg), var(--hi); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); }
.glasscard::before { content: ""; position: absolute; top: -60%; left: -30%; width: 60%; height: 220%; background: linear-gradient(115deg, transparent, rgba(255,255,255,.35), transparent); transform: rotate(8deg); animation: sweep 6.5s var(--ease) infinite; pointer-events: none; }
[data-theme="dark"] .glasscard::before { background: linear-gradient(115deg, transparent, rgba(255,255,255,.14), transparent); }
@keyframes sweep { 0% { left: -40%; } 55%, 100% { left: 130%; } }
.glasscard__head { position: relative; display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.glasscard__title { font-family: "Sora",sans-serif; font-weight: 700; color: var(--text-strong); }
.glasscard__list { position: relative; display: grid; gap: 10px; }
.glasscard__list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 14px; font-weight: 600; color: var(--text); font-size: .95rem; background: var(--surface); transition: .25s var(--ease); }
.glasscard__list li:hover { border-color: var(--brand-3); transform: translateX(3px); }
.glasscard__list em { margin-inline-start: auto; font-style: normal; font-family: "Sora",sans-serif; font-weight: 700; color: var(--accent-2); background: rgba(16,185,129,.12); padding: 3px 9px; border-radius: 999px; font-size: .8rem; }
.dot { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #fff; flex: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.dot .ic { width: 1.05rem; height: 1.05rem; }
.dot--ai { background: linear-gradient(135deg,#10a37f,#0d8a6a); }
.dot--pro { background: linear-gradient(135deg,#0a66c2,#084d92); }
.dot--learn { background: linear-gradient(135deg,#7c3aed,#4f46e5); }
.dot--play { background: linear-gradient(135deg,#e50914,#b00610); }
.dot--music { background: linear-gradient(135deg,#1db954,#159243); }
.glasscard__cta { position: relative; display: inline-block; margin-top: 18px; font-family: "Sora",sans-serif; font-weight: 600; color: var(--brand); }
.glasscard__cta:hover { text-decoration: underline; }

/* ---------- Brand strip ---------- */
.strip { padding: 30px 0 6px; }
.strip__label { text-align: center; color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.strip__brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; }
.strip__brands span { font-family: "Sora",sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--muted); letter-spacing: -.01em; opacity: .8; transition: color .25s, opacity .25s; }
.strip__brands span:hover { color: var(--text-strong); opacity: 1; }

/* ---------- Cards (catalog) with reflet ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--hi); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.card::after { content: ""; position: absolute; top: -50%; inset-inline-start: -60%; width: 50%; height: 200%; background: linear-gradient(115deg, transparent, rgba(255,255,255,.18), transparent); transform: rotate(8deg) translateX(-30%); opacity: 0; transition: opacity .1s, transform .8s var(--ease); pointer-events: none; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card:hover::after { opacity: 1; transform: rotate(8deg) translateX(320%); }
.card__icon { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 14px; }
.card__icon .ic { width: 2.9rem; height: 2.9rem; }
.card__icon.i-ai { background: linear-gradient(135deg,#10a37f,#0d8a6a); }
.card__icon.i-pro { background: linear-gradient(135deg,#0a66c2,#084d92); }
.card__icon.i-learn { background: linear-gradient(135deg,#7c3aed,#4f46e5); }
.card__icon.i-play { background: linear-gradient(135deg,#e50914,#9b0610); }
.card__icon.i-music { background: linear-gradient(135deg,#1db954,#159243); }
.card__icon.i-grid { background: linear-gradient(135deg,#f5b301,#e08a00); }
.card h3 { font-size: 1.25rem; font-weight: 700; }
.card p { margin-top: 9px; color: var(--text-soft); font-size: .96rem; }
.card__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.card__tags li { font-size: .78rem; font-weight: 600; color: var(--text-soft); background: var(--chip); padding: 4px 10px; border-radius: 999px; }
.card__link { display: inline-flex; align-items: center; gap: 7px; margin-top: 20px; font-family: "Sora",sans-serif; font-weight: 600; color: var(--brand); }
.card__link .ic { width: 1.05rem; height: 1.05rem; transition: transform .25s var(--ease); }
.card__link:hover .ic { transform: translateX(4px); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--hi); position: relative; }
.step__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--chip-soft); color: var(--brand); font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.2rem; margin-bottom: 16px; }
.step h3 { font-size: 1.12rem; font-weight: 700; }
.step p { margin-top: 8px; color: var(--text-soft); font-size: .93rem; }

/* ---------- How it works — animated flow ---------- */
.flow { max-width: 820px; margin-inline: auto; }
.flow__step { background: var(--head-glass); border: 1px solid var(--frame); border-radius: 20px; padding: 22px 24px; box-shadow: var(--shadow-sm), var(--hi); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.flow__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.flow__num { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--grad); color: #fff; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.15rem; box-shadow: 0 0 18px -3px rgba(168,85,247,.75), inset 0 1px 0 rgba(255,255,255,.4); }
.flow__num .ic { width: 1.25rem; height: 1.25rem; }
.flow__title { font-size: 1.14rem; font-weight: 700; }
.flow__nodes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.flow__nodes--3 { grid-template-columns: repeat(3, 1fr); max-width: 560px; margin-inline: auto; }
.fnode { display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center; padding: 16px 10px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); font-family: "Sora",sans-serif; font-weight: 600; font-size: .85rem; color: var(--text); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.fnode:hover { transform: translateY(-3px); border-color: var(--brand-3); box-shadow: var(--shadow-md); }
.fnode__ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.4); }
.fnode__ic .ic { width: 1.35rem; height: 1.35rem; }
.fnode__ic.i-web { background: linear-gradient(135deg,#6d28d9,#4f46e5); }
.fnode__ic.i-app { background: linear-gradient(135deg,#7c3aed,#a855f7); }
.fnode__ic.i-tg { background: linear-gradient(135deg,#2aabee,#1d8fd1); }
.fnode__ic.i-wa { background: linear-gradient(135deg,#25d366,#1faa4f); }
.fnode__ic.i-mail { background: linear-gradient(135deg,#f59e0b,#ea7a00); }
.fnode__ic.i-pay { background: linear-gradient(135deg,#6d28d9,#3b82f6); }

.flow__link { width: 3px; height: 46px; margin: 8px auto; position: relative; border-radius: 3px; background: linear-gradient(var(--brand-3), rgba(124,58,237,0)); }
.flow__link::after { content: ""; position: absolute; left: 50%; top: -10px; transform: translateX(-50%); width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px 3px var(--brand-3); animation: flowDot 1.9s ease-in-out infinite; }
@keyframes flowDot { 0% { top: -10px; opacity: 0; } 18% { opacity: 1; } 82% { opacity: 1; } 100% { top: 46px; opacity: 0; } }

.flow__step--auto { position: relative; border-color: transparent; }
.flow__step--auto::before { content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; background: var(--grad); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; animation: autoGlow 3s ease-in-out infinite; }
@keyframes autoGlow { 0%,100% { opacity: .6; } 50% { opacity: 1; } }
.flow__num--auto { animation: autoPulse 2.2s ease-in-out infinite; }
@keyframes autoPulse { 0%,100% { box-shadow: 0 0 16px -3px rgba(168,85,247,.6); } 50% { box-shadow: 0 0 26px 0 rgba(168,85,247,.95); } }
.flow__desc { color: var(--text-soft); font-size: .96rem; margin: -6px 0 18px; padding-inline-start: 54px; }
.flow__auto { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.autostep { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 999px; background: var(--chip-soft); color: var(--brand); font-family: "Sora",sans-serif; font-weight: 600; font-size: .85rem; }
.autostep .ic { width: 1.05rem; height: 1.05rem; }
.autoarrow { width: 1.25rem; height: 1.25rem; color: var(--muted); flex: none; }
[dir="rtl"] .autoarrow { transform: scaleX(-1); }

/* ---------- Process pipeline (pro, compact, animated journey) ---------- */
.proc { display: flex; align-items: stretch; gap: 6px; }
.proc__stage { flex: 1; min-width: 0; background: var(--head-glass); border: 1px solid var(--frame); border-radius: 16px; padding: 14px 12px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: flex; flex-direction: column; box-shadow: var(--hi); }
.proc__cap { display: flex; align-items: center; gap: 8px; font-family: "Sora",sans-serif; font-weight: 700; font-size: .8rem; color: var(--text-strong); margin-bottom: 12px; line-height: 1.2; }
.proc__cap i { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 7px; background: var(--grad); color: #fff; font-style: normal; font-size: .72rem; font-weight: 800; box-shadow: 0 0 12px -3px rgba(168,85,247,.8); }
.proc__cap i .ic { width: .85rem; height: .85rem; }
.proc__nodes { display: flex; flex-direction: column; gap: 9px; flex: 1; }
.pnode { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface); font-family: "Sora",sans-serif; font-weight: 600; font-size: .8rem; color: var(--text); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s, opacity .35s; }
.pnode__logo { width: 32px; height: 32px; flex: none; border-radius: 9px; display: grid; place-items: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.pnode__logo .ic { width: 1.15rem; height: 1.15rem; }
.lg-web { background: linear-gradient(135deg,#6d28d9,#4f46e5); color: #fff; }
.lg-app { background: linear-gradient(135deg,#7c3aed,#a855f7); color: #fff; }
.lg-tg { background: #229ED9; color: #fff; }
.lg-wa { background: #25D366; color: #fff; }
.lg-mail { background: linear-gradient(135deg,#6366f1,#4f46e5); color: #fff; }
.lg-card { background: #fff; }
.lg-bank { background: #334155; color: #fff; }
.lg-binance { background: #181A20; color: #F3BA2F; }
.lg-sys { background: var(--grad); color: #fff; }
.proc__arrow { align-self: center; flex: none; display: grid; place-items: center; color: var(--muted); }
.proc__arrow .ic { width: 1.3rem; height: 1.3rem; transition: color .3s, transform .3s var(--ease); }
.proc__arrow.is-flowing .ic { color: var(--brand); transform: scale(1.3); }
.proc__stage--auto { position: relative; border-color: transparent; }
.proc__stage--auto::before { content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; background: var(--grad); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; animation: autoGlow 3s ease-in-out infinite; }
.proc__note { text-align: center; color: var(--text-soft); font-size: .94rem; margin: 22px auto 0; max-width: 660px; }
.proc.is-playing .pnode { opacity: .42; }
.proc.is-playing .pnode.is-active { opacity: 1; border-color: var(--brand); box-shadow: 0 0 0 2px rgba(168,85,247,.4), 0 0 22px -4px rgba(168,85,247,.85); transform: translateY(-1px) scale(1.03); }

/* ---------- n8n-style workflow canvas ---------- */
#how .section__head { margin-bottom: 0; }
.proc__toggle { display: flex; gap: 4px; width: max-content; max-width: 94vw; margin: 34px auto 34px; padding: 4px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-sm), var(--hi); }
.proc__toggle button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border: 0; border-radius: 999px; background: none; color: var(--text-soft); font-family: "Sora",sans-serif; font-weight: 700; font-size: .84rem; cursor: pointer; white-space: nowrap; transition: color .25s, background .35s var(--ease), box-shadow .35s; }
.proc__toggle button svg { width: 1.05rem; height: 1.05rem; }
.proc__toggle button:not(.is-active):hover { color: var(--brand); }
.proc__toggle button.is-active { color: #fff; background: var(--grad); box-shadow: 0 10px 24px -10px rgba(168,85,247,.75); }
#pricing .section__head { margin-bottom: 0; max-width: none; }
#pricing .section__title { white-space: nowrap; }
#pricing .section__lead { font-weight: 700; color: var(--text); }
@media (max-width: 1000px) { #pricing .section__title { white-space: normal; } }
.cat__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; width: max-content; max-width: 94vw; margin: 34px auto 56px; padding: 5px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm), var(--hi); }
.cat__tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 0; border-radius: 12px; background: none; color: var(--text-soft); font-family: "Sora",sans-serif; font-weight: 700; font-size: .82rem; cursor: pointer; white-space: nowrap; transition: color .25s, background .35s var(--ease), box-shadow .35s; }
.cat__tabs button svg { width: 1.02rem; height: 1.02rem; }
.cat__tabs button:not(.is-active):hover { color: var(--brand); }
.cat__tabs button.is-active { color: #fff; background: var(--grad); box-shadow: 0 10px 24px -10px rgba(168,85,247,.75); }
.wf[hidden] { display: none; }
.wf { overflow-x: auto; overflow-y: hidden; padding-bottom: 10px; }
.wf__caps { position: relative; width: 1320px; height: 42px; margin: 0 auto 8px; direction: ltr; }
.wf__cap { position: absolute; top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--muted); white-space: nowrap; transition: color .3s, text-shadow .3s; }
.wf__cap__t { font-family: "Sora",sans-serif; font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.wf__hint { position: absolute; transform: translate(-50%,-50%); display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; background: linear-gradient(135deg, rgba(168,85,247,.2), rgba(96,165,250,.16)); border: 1px solid rgba(124,108,246,.42); color: var(--brand-3); font-family: "Sora",sans-serif; font-weight: 700; font-size: .62rem; letter-spacing: .02em; white-space: nowrap; box-shadow: 0 5px 16px -6px rgba(124,90,246,.6), inset 0 1px 0 rgba(255,255,255,.1); z-index: 4; animation: wfHintPulse 2.4s ease-in-out infinite; }
.wf__hint svg { width: .72rem; height: .72rem; flex: none; color: var(--brand); animation: wfHintNudge 2.4s ease-in-out infinite; }
.wf__hint--more { animation: none; background: var(--surface); border-color: var(--border); color: var(--text-soft); font-size: .58rem; font-weight: 600; box-shadow: var(--shadow-sm); }
@keyframes wfHintPulse {
  0%, 100% { transform: translate(-50%,-50%) scale(1); border-color: rgba(124,108,246,.42); box-shadow: 0 5px 16px -6px rgba(124,90,246,.55), inset 0 1px 0 rgba(255,255,255,.1); }
  50% { transform: translate(-50%,-50%) scale(1.07); border-color: rgba(124,108,246,.8); box-shadow: 0 9px 24px -6px rgba(124,90,246,.9), 0 0 0 5px rgba(124,108,246,.12), inset 0 1px 0 rgba(255,255,255,.14); }
}
@keyframes wfHintNudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.5px); } }
/* POS 'Your code' scratch-to-reveal */
.wfnode--code .scratch { position: relative; display: inline-grid; place-items: center; min-width: 78px; height: 20px; }
.scratch__code { font-family: "Sora",sans-serif; font-weight: 800; font-size: .82rem; letter-spacing: .14em; color: var(--brand-3); white-space: nowrap; }
.scratch__cover { position: absolute; inset: 0; border-radius: 6px; background: repeating-linear-gradient(45deg, #767e93 0 5px, #9aa1b4 5px 10px); box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); transform-origin: right center; }
.scratch__hand { position: absolute; left: 0; top: -7px; width: 17px; height: 17px; color: #fff; opacity: 0; filter: drop-shadow(0 1px 2px rgba(0,0,0,.55)); pointer-events: none; }
.wfnode--code.is-on .scratch__cover { animation: scratchReveal 1.05s ease-in forwards; }
.wfnode--code.is-on .scratch__hand { animation: scratchHand 1.05s ease-in-out; }
@keyframes scratchReveal { 0%, 12% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes scratchHand {
  0% { opacity: 0; transform: translateX(0) translateY(0) rotate(-6deg); }
  12% { opacity: 1; transform: translateX(2px) translateY(2px) rotate(-6deg); }
  30% { transform: translateX(15px) translateY(-2px) rotate(-6deg); }
  48% { transform: translateX(28px) translateY(2px) rotate(-6deg); }
  66% { transform: translateX(42px) translateY(-2px) rotate(-6deg); }
  84% { opacity: 1; transform: translateX(54px) translateY(1px) rotate(-6deg); }
  100% { opacity: 0; transform: translateX(62px) translateY(0) rotate(-6deg); }
}
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .scratch__cover, .scratch__hand { display: none; } }
.wf__cap__n { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); font-family: "Sora",sans-serif; font-weight: 800; font-style: normal; font-size: .66rem; color: var(--muted); box-shadow: var(--shadow-sm); transition: color .3s, background .3s, border-color .3s, box-shadow .3s; }
.wf.is-playing .wf__cap.is-on { color: var(--brand); text-shadow: 0 0 14px rgba(168,85,247,.6); }
.wf.is-playing .wf__cap.is-on .wf__cap__n { color: #fff; background: var(--grad); border-color: transparent; box-shadow: 0 0 14px -2px rgba(168,85,247,.75); }
.wf__canvas { position: relative; width: 1320px; height: 440px; margin-inline: auto; direction: ltr; background-image: radial-gradient(var(--dot) 1.3px, transparent 1.3px); background-size: 24px 24px; }
.wf__wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wf__wire { fill: none; stroke: var(--wire); stroke-width: 2.2; transition: stroke .3s, stroke-width .3s; }
.wf__wire.is-on { stroke: var(--brand); stroke-width: 2.8; stroke-dasharray: 7 7; animation: wfdash .55s linear infinite; filter: drop-shadow(0 0 5px rgba(168,85,247,.85)); }
@keyframes wfdash { to { stroke-dashoffset: -28; } }
.wfnode { position: absolute; transform: translate(-50%,-50%); display: flex; align-items: center; gap: 9px; width: 168px; padding: 9px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-sm); font-family: "Sora",sans-serif; font-weight: 700; font-size: .78rem; color: var(--text); transition: box-shadow .3s, border-color .3s, opacity .35s; }
.wfnode__ic { width: 30px; height: 30px; flex: none; border-radius: 8px; display: grid; place-items: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.wfnode__ic .ic { width: 1.05rem; height: 1.05rem; }
.wfnode__ic--g { background: none; box-shadow: none; }
.wfnode__ic--g .ic { width: 1.55rem; height: 1.55rem; }
.wfnode__txt { display: flex; flex-direction: column; gap: 4px; line-height: 1.05; min-width: 0; }
.wfnode__opts { display: flex; gap: 4px; }
.wfnode__opts i { width: 17px; height: 17px; border-radius: 5px; display: grid; place-items: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.wfnode__opts i .ic { width: .72rem; height: .72rem; }
.wfnode::before, .wfnode::after { content: ""; position: absolute; top: 50%; width: 9px; height: 9px; border-radius: 50%; background: var(--surface); border: 2px solid var(--wire); transform: translateY(-50%); transition: border-color .3s; }
.wfnode::before { left: -5px; }
.wfnode::after { right: -5px; }
.wfnode--trigger::before { display: none; }
.wf.is-playing .wfnode { opacity: .42; }
.wf.is-playing .wfnode.is-on { opacity: 1; border-color: var(--brand); box-shadow: 0 0 0 2px rgba(168,85,247,.4), 0 0 22px -4px rgba(168,85,247,.85); }
.wf.is-playing .wfnode.is-on::before, .wf.is-playing .wfnode.is-on::after { border-color: var(--brand); }
/* hovering highlight (hand passing over an option, not yet picked) */
.wf.is-playing .wfnode.is-hover { opacity: .95; border-color: var(--brand-3); box-shadow: 0 0 0 1px rgba(96,165,250,.55), 0 0 16px -4px rgba(96,165,250,.75); }
/* picked-node bounce */
.wfnode.is-pop { animation: wfPop .55s ease; }
@keyframes wfPop { 0%, 100% { transform: translate(-50%,-50%) scale(1); } 42% { transform: translate(-50%,-50%) scale(1.13); } }
/* the cursor that makes each choice + the "added to cart" product */
.wf__hand { position: absolute; left: 0; top: 0; width: 30px; height: 30px; color: #fff; z-index: 6; opacity: 0; pointer-events: none; filter: drop-shadow(0 4px 5px rgba(0,0,0,.5)) drop-shadow(0 0 7px rgba(168,85,247,.9)); transition: left .55s cubic-bezier(.5,.05,.2,1), top .55s cubic-bezier(.5,.05,.2,1), opacity .35s; }
.wf.is-playing .wf__hand { opacity: 1; }
.wf__hand.is-away { opacity: 0 !important; }
.wf__hand.no-anim { transition: none !important; }
.wf__hand svg { width: 100%; height: 100%; display: block; }
.wf__hand.is-click { animation: handClick .4s ease; }
.wf__hand.is-thumb { width: 44px; height: 44px; color: #4ccd8e; filter: drop-shadow(0 3px 6px rgba(0,0,0,.55)) drop-shadow(0 0 12px rgba(76,205,142,1)); animation: thumbPop .6s ease; }
@keyframes handClick { 0%, 100% { transform: scale(1); } 45% { transform: scale(.72); } }
@keyframes thumbPop { 0% { transform: scale(.3); } 55% { transform: scale(1.2); } 100% { transform: scale(1); } }
.wf__drop { position: absolute; left: 0; top: 0; width: 22px; height: 22px; opacity: 0; z-index: 5; pointer-events: none; }
.wf__drop svg { width: 100%; height: 100%; display: block; }
.wf__drop.is-drop { animation: wfDrop .85s cubic-bezier(.4,1.25,.5,1); }
@keyframes wfDrop { 0% { transform: translate(-50%,-185%) scale(.5); opacity: 0; } 25% { opacity: 1; } 62% { transform: translate(-50%,-50%) scale(1.05); opacity: 1; } 100% { transform: translate(-50%,-50%) scale(.35); opacity: 0; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; max-width: 980px; margin-inline: auto; }
.stat { position: relative; overflow: hidden; text-align: center; padding: 22px 16px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: var(--hi); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.stat > * { position: relative; z-index: 2; }
/* animated luminous top line (charte gradient) */
.stat::before { content: ""; position: absolute; top: 0; left: 12px; right: 12px; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, #a855f7, #22d3ee, #a855f7); background-size: 200% 100%; box-shadow: 0 0 12px rgba(168,85,247,.6); animation: statFlow 3.2s linear infinite; z-index: 3; }
/* continuous reflet sweep across the whole card (no hover needed) */
.stat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.16) 50%, transparent 62%); transform: translateX(-130%); animation: statSheen 5.5s ease-in-out infinite; pointer-events: none; z-index: 1; }
.stat:nth-child(2)::after { animation-delay: .7s; }
.stat:nth-child(3)::after { animation-delay: 1.4s; }
.stat:nth-child(4)::after { animation-delay: 2.1s; }
.stat:hover { transform: translateY(-4px); border-color: var(--brand-3); box-shadow: 0 0 0 1px rgba(168,85,247,.3), 0 18px 40px -16px rgba(168,85,247,.5), var(--shadow-md); }
.stat__num { display: block; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.75rem; line-height: 1; margin-bottom: 6px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--text-soft); font-size: .84rem; font-weight: 500; }
@keyframes statFlow { to { background-position: 200% 0; } }
@keyframes statSheen { 0%, 42% { transform: translateX(-130%); } 72%, 100% { transform: translateX(130%); } }

/* ---------- Reflet (glassy reflection) across all surfaces ---------- */
.card, .feature, .pay, .plan, .quote, .step, .faq__item, .glasscard, .stat,
.iconbtn, .dd__btn, .wfnode, .proc__stage, .flow__step, .soon__inner {
  background-image: linear-gradient(135deg, var(--gloss), transparent 46%);
}
.feature, .quote { position: relative; overflow: hidden; }
.feature::after, .pay::after, .quote::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(115deg, transparent 42%, var(--sheen-c) 50%, transparent 58%);
  transform: translateX(-140%); animation: reflet 7.5s ease-in-out infinite; pointer-events: none; z-index: 1;
}
.feature:nth-child(2)::after, .pay:nth-child(2)::after, .quote:nth-child(2)::after { animation-delay: 1.2s; }
.feature:nth-child(3)::after, .pay:nth-child(3)::after, .quote:nth-child(3)::after { animation-delay: 2.4s; }
.feature:nth-child(4)::after, .pay:nth-child(4)::after { animation-delay: 3.6s; }
.feature:nth-child(5)::after { animation-delay: 4.8s; }
.feature:nth-child(6)::after { animation-delay: 6s; }
@keyframes reflet { 0%, 45% { transform: translateX(-140%); } 78%, 100% { transform: translateX(140%); } }

/* ---------- "How it works" — ambient brand lighting + reflet ---------- */
#how { position: relative; overflow: hidden; margin-top: clamp(6px, 1vw, 14px); margin-bottom: clamp(26px, 4vw, 58px); padding-block: clamp(42px, 5vw, 76px); }
#how::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(92% 72% at 50% -8%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 60%), linear-gradient(180deg, color-mix(in srgb, var(--brand) 9%, transparent) 0%, color-mix(in srgb, var(--accent) 6%, transparent) 100%); -webkit-mask: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%); mask: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%); pointer-events: none; }
#how > .container { position: relative; z-index: 1; }
/* Carte cadeau : même fond dégradé à bords doux que #how */
#giftcard { position: relative; }
#giftcard::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(92% 72% at 50% -8%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 60%), linear-gradient(180deg, color-mix(in srgb, var(--brand) 9%, transparent) 0%, color-mix(in srgb, var(--accent) 6%, transparent) 100%); -webkit-mask: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%); mask: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%); pointer-events: none; }
#giftcard > .container { position: relative; z-index: 1; }
/* #how shares the site-wide aurora background (its custom off-charte glow was removed for consistency) */

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--hi); transition: box-shadow .3s, transform .3s var(--ease), border-color .3s; }
.feature:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--brand-3); }
.feature__ic { flex: none; display: grid; place-items: center; width: 50px; height: 50px; }
.feature__ic .ic { width: 2.5rem; height: 2.5rem; }
.feature h3 { font-size: 1.08rem; font-weight: 700; }
.feature p { margin-top: 5px; color: var(--text-soft); font-size: .93rem; }

/* ---------- Gift — Why a gift card is a great idea ---------- */
.gwhy__head { max-width: none; margin-inline: 0; margin-bottom: clamp(24px, 3.4vw, 44px); text-align: start; }
.gwhy__title { font-size: clamp(2.2rem, 5.4vw, 3.7rem); font-weight: 800; line-height: 1.04; letter-spacing: -.025em; color: var(--text-strong); max-width: 18ch; }
.gwhy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.gwhyc { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 22px; background: var(--surface); box-shadow: var(--hi); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.gwhyc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--brand) 38%, var(--border)); }
.gwhyc__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #160d2b; }
.gwhyc__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .55s var(--ease); }
.gwhyc:hover .gwhyc__img { transform: scale(1.05); }
.gwhyc__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 52%, color-mix(in srgb, var(--surface) 55%, transparent)); pointer-events: none; }
.gwhyc__body { padding: 22px 24px 26px; }
.gwhyc__t { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.18rem; color: var(--text-strong); }
.gwhyc__p { margin-top: 8px; color: var(--text-soft); font-size: .96rem; line-height: 1.5; }
@media (max-width: 880px) { .gwhy { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; } }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .gwhyc__img { transition: none; } }

/* ---------- Payments ---------- */
.pays { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pay { position: relative; overflow: hidden; text-align: center; padding: 30px 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--hi); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.pay:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-3); }
.pay__ic { position: relative; overflow: hidden; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; margin: 0 auto 16px; background: var(--grad); color: #fff; box-shadow: 0 14px 26px -12px rgba(124,58,237,.65), inset 0 1px 0 rgba(255,255,255,.4); }
.pay__ic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,.45), transparent 50%); }
.pay__ic .ic { width: 1.7rem; height: 1.7rem; position: relative; }
.pay h3 { font-size: 1.08rem; font-weight: 700; }
.pay p { margin-top: 7px; color: var(--text-soft); font-size: .9rem; }
.pays__note { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 30px; color: var(--muted); font-size: .92rem; }
.pays__note .ic { color: var(--accent-2); width: 1.15rem; height: 1.15rem; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plans--4 { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px 26px 30px; display: flex; flex-direction: column; box-shadow: var(--hi); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-3); }
.plan--featured { background: var(--ink); border-color: transparent; box-shadow: var(--shadow-lg), 0 0 44px -6px rgba(124,58,237,.55); }
.plan--featured::before { content: ""; position: absolute; inset: 0; padding: 2px; border-radius: inherit; background: linear-gradient(140deg, #7c3aed, #e0529c 52%, #f59e0b); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; animation: featBorder 3.6s ease-in-out infinite; }
@keyframes featBorder { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }
.plan--featured::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.12) 50%, transparent 58%); background-size: 250% 100%; background-position: 130% 0; animation: featSheen 5s ease-in-out infinite; pointer-events: none; z-index: 1; }
[data-theme="light"] .plan--featured::after { background-image: linear-gradient(115deg, transparent 42%, rgba(124,58,237,.12) 50%, transparent 58%); }
@keyframes featSheen { 0%, 40% { background-position: 130% 0; } 75%, 100% { background-position: -30% 0; } }
.plan--featured.pack { animation: featFloat 4.5s ease-in-out infinite; }
.plan--featured.pack:hover { animation-play-state: paused; }
@keyframes featFloat { 0%, 100% { transform: translateY(0) scale(1.02); } 50% { transform: translateY(-7px) scale(1.02); } }
.plan--featured > * { position: relative; z-index: 2; }
.plan--featured .plan__name, .plan--featured .plan__amount { color: #fff; }
.plan--featured .plan__per { color: var(--on-ink-soft); }
.plan--featured .plan__list li { color: #d7defc; }
.plan__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-family: "Sora",sans-serif; font-weight: 700; font-size: .72rem; padding: 5px 14px; border-radius: 999px; white-space: nowrap; box-shadow: 0 0 18px -2px rgba(168,85,247,.7), 0 8px 18px -8px rgba(245,158,11,.6); }
.plan__name { font-size: 1.42rem; font-weight: 800; }
.plan__price { margin: 14px 0 18px; display: flex; align-items: baseline; gap: 7px; }
.plan__amount { font-family: "Sora",sans-serif; font-weight: 800; font-size: 2.6rem; color: var(--text-strong); letter-spacing: -.03em; }
.plan__per { color: var(--muted); font-weight: 500; font-size: .92rem; }
.plan__list { display: grid; gap: 11px; margin-bottom: 24px; }
.plan__list li { display: flex; align-items: flex-start; gap: 10px; font-size: .94rem; color: var(--text); }
.plan__list .ic { width: 1.15rem; height: 1.15rem; color: var(--accent-2); flex: none; margin-top: 2px; }
.plan .btn { margin-top: auto; }
.plans__note { text-align: center; margin-top: 22px; color: var(--muted); font-size: .85rem; }

/* Packs (product bundles with logos) */
.pack__list { display: grid; gap: 13px; margin: 8px 0 24px; text-align: start; }
.pack__list li { display: flex; align-items: center; gap: 11px; font-size: .9rem; color: var(--text); padding: 2px 0; }
.plogo { width: 40px; height: 40px; flex: none; border-radius: 9px; display: grid; place-items: center; overflow: hidden; background: transparent; color: #0b1020; font-family: "Sora",sans-serif; font-weight: 800; font-size: .72rem; line-height: 1; box-shadow: 0 2px 7px rgba(10,16,32,.22); }
.plogo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.plogo .ic { width: 1rem; height: 1rem; }
.pack__name { flex: 1; font-weight: 600; min-width: 0; }
.pack__dur { color: var(--muted); font-size: .74rem; font-weight: 600; white-space: nowrap; }
.plan--featured .pack__list li { color: #e7ecff; }
.plan--featured .pack__name { color: #fff; }
.plan--featured .pack__dur { color: var(--on-ink-soft); }
/* Official logos sit on clean white tiles (object-fit: contain keeps them aligned). */
.plogo--coursera, .plogo--linkedin, .plogo--chatgpt, .plogo--gemini,
.plogo--rosetta, .plogo--claude, .plogo--figma, .plogo--datacamp { background: transparent; }
/* Hover/touch a pack -> every logo does a 360° 3D flip (front -> back -> front), staggered */
@keyframes plogoSpin { from { transform: perspective(260px) rotateY(0deg); } to { transform: perspective(260px) rotateY(360deg); } }
.pack:hover .plogo, .pack:focus-within .plogo { animation: plogoSpin .8s var(--ease) both; }
.pack:hover .pack__list li:nth-child(2) .plogo, .pack:focus-within .pack__list li:nth-child(2) .plogo { animation-delay: .05s; }
.pack:hover .pack__list li:nth-child(3) .plogo, .pack:focus-within .pack__list li:nth-child(3) .plogo { animation-delay: .10s; }
.pack:hover .pack__list li:nth-child(4) .plogo, .pack:focus-within .pack__list li:nth-child(4) .plogo { animation-delay: .15s; }
.pack:hover .pack__list li:nth-child(5) .plogo, .pack:focus-within .pack__list li:nth-child(5) .plogo { animation-delay: .20s; }
.pack:hover .pack__list li:nth-child(6) .plogo, .pack:focus-within .pack__list li:nth-child(6) .plogo { animation-delay: .25s; }
.pack:hover .pack__list li:nth-child(7) .plogo, .pack:focus-within .pack__list li:nth-child(7) .plogo { animation-delay: .30s; }
.pack:hover .pack__list li:nth-child(8) .plogo, .pack:focus-within .pack__list li:nth-child(8) .plogo { animation-delay: .35s; }

/* Premium pack styling (UltaHost-style) */
.pack__tag { color: var(--text-soft); font-size: .96rem; margin-top: 5px; }
.plan--featured .pack__tag { color: var(--on-ink-soft); }
.pack__price { margin: 16px 0 16px; }
.pack__save { display: inline-block; background: rgba(34,197,94,.15); color: #22c55e; font-family: "Sora",sans-serif; font-weight: 700; font-size: .72rem; padding: 3px 10px; border-radius: 999px; margin-bottom: 9px; }
.pack__amountrow { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pack__old { color: var(--muted); text-decoration: line-through; font-size: 1.05rem; font-weight: 600; }
.pack .btn { margin-top: 4px; }
.pack__incl { margin: 20px 0 12px; font-family: "Sora",sans-serif; font-weight: 700; font-size: .8rem; color: var(--text-strong); text-align: start; }
.plan--featured .pack__incl { color: #fff; }
.pack__trust { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--border); color: var(--text-soft); font-size: .72rem; white-space: nowrap; }
.pack__trust .ic--verified { width: 1rem; height: 1rem; flex: none; animation: badgePop 2.6s ease-in-out infinite; }
@keyframes badgePop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
.plan--featured .pack__trust { border-top-color: rgba(255,255,255,.12); color: var(--on-ink-soft); }
.plan--featured.pack { z-index: 1; }
.plan--featured .pack__old { color: rgba(255,255,255,.6); }
/* Pack CTA: clear colour change on hover/touch (all 4) */
.pack .btn--ghost:hover { background: var(--grad-2); color: #fff; border-color: transparent; box-shadow: 0 12px 28px -10px rgba(124,58,237,.6); }
/* Light mode: featured pack stays white, highlighted with a violet+blue border + glow */
[data-theme="light"] .plan--featured { background: var(--surface); border-color: transparent; box-shadow: 0 0 0 1px rgba(124,58,237,.14), 0 22px 50px -18px rgba(124,58,237,.5), 0 0 42px -10px rgba(245,158,11,.42); }
[data-theme="light"] .plan--featured::before { padding: 2px; }
[data-theme="light"] .plan--featured .plan__name, [data-theme="light"] .plan--featured .plan__amount, [data-theme="light"] .plan--featured .pack__name, [data-theme="light"] .plan--featured .pack__incl { color: var(--text-strong); }
[data-theme="light"] .plan--featured .pack__list li { color: var(--text); }
[data-theme="light"] .plan--featured .pack__tag, [data-theme="light"] .plan--featured .plan__per, [data-theme="light"] .plan--featured .pack__trust { color: var(--text-soft); }
[data-theme="light"] .plan--featured .pack__old { color: var(--muted); }
[data-theme="light"] .plan--featured .pack__trust { border-top-color: var(--border); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--hi); }
.quote__stars { display: flex; gap: 3px; color: var(--accent); margin-bottom: 14px; }
.quote__stars .ic { width: 1.05rem; height: 1.05rem; fill: var(--accent); }
.quote blockquote { font-size: 1.02rem; color: var(--text-strong); line-height: 1.55; }
.quote figcaption { margin-top: 16px; color: var(--muted); font-size: .9rem; }
.quote figcaption strong { color: var(--text-strong); }

/* ===== Why-choose (FamilyPro-style: 3 cards + 4 stat tiles) ===== */
.whygrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.whycard { text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 34px 26px; box-shadow: var(--hi); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.whycard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--brand) 35%, var(--border)); }
.whycard__ic { display: grid; place-items: center; margin-bottom: 14px; line-height: 0; }
.whycard__ic .ic { width: 40px; height: 40px; }
.whycard__title { font-family: "Sora",sans-serif; font-size: 1.2rem; font-weight: 800; color: var(--text-strong); margin-bottom: 14px; }
.whycard__list { display: grid; gap: 10px; }
.whycard__list li { list-style: none; color: var(--text-soft); font-size: .96rem; line-height: 1.45; }
/* Titres forcés sur une seule ligne (desktop), repli normal sur mobile */
.title-1line { white-space: nowrap; }
.section__head:has(.title-1line) { max-width: none; }
@media (max-width: 820px) { .title-1line { white-space: normal; } }
/* Sections accolées (réduit l'espace entre deux sections) */
.section--tight-b { padding-bottom: clamp(6px, 1vw, 14px); }
.section--tight-t { padding-top: clamp(6px, 1vw, 14px); }
/* Titre de la colonne tarifs : tient sur une seule ligne */
.pvol .section__title { font-size: clamp(1.4rem, 2.6vw, 1.72rem); }
/* Outils par "plans" : cadres longs (titre + produits), logos pleins */
.plans { display: flex; flex-direction: column; gap: 16px; }
.plan { display: grid; grid-template-columns: 240px 1fr; gap: 20px; align-items: center; padding: 22px 26px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--hi); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.plan:hover { border-color: color-mix(in srgb, var(--brand) 38%, var(--border)); box-shadow: var(--shadow-lg); }
.plan__t { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.18rem; color: var(--text-strong); }
.plan__tools { display: flex; flex-wrap: wrap; gap: 10px; }
.plantool { display: inline-flex; align-items: center; gap: 9px; padding-block: 6px; padding-inline: 6px 15px; border: 1px solid var(--border); border-radius: 999px; background: color-mix(in srgb, var(--brand) 6%, transparent); font-family: "Sora",sans-serif; font-weight: 600; font-size: .9rem; color: var(--text-strong); white-space: nowrap; transition: border-color .25s var(--ease), transform .25s var(--ease); }
.plantool:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--border)); transform: translateY(-2px); }
.plantool__lg { flex: none; width: 34px; height: 34px; border-radius: 9px; overflow: hidden; background: #fff; }
.plantool__lg img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 760px) { .plan { grid-template-columns: 1fr; gap: 14px; } }

/* --- Carrousel d'outils (Entreprises) : 2 catégories à la fois, switch auto --- */
.plans--carousel { display: block; position: relative; }
.plans__viewport { position: relative; overflow: hidden; transition: height .55s var(--ease); }
.plans__page { display: grid; gap: 16px; }
/* Avant l'init JS (ou si JS absent) : on affiche la 1re page normalement */
.plans--carousel:not(.is-ready) .plans__page:not(.is-active) { display: none; }
/* Une fois prêt : pages superposées + fondu */
.plans--carousel.is-ready .plans__page { position: absolute; top: 0; left: 0; right: 0; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease), visibility .55s; pointer-events: none; }
.plans--carousel.is-ready .plans__page.is-active { opacity: 1; visibility: visible; transform: none; pointer-events: auto; z-index: 1; }
/* Apparition des produits un par un */
.plans__page .plan__t { opacity: 0; transform: translateY(8px); }
.plans__page .plantool { opacity: 0; transform: translateY(12px) scale(.95); }
.plans__page.is-active .plan__t { animation: toolIn .5s var(--ease) both; }
.plans__page.is-active .plantool { animation: toolIn .5s var(--ease) both; animation-delay: calc(.14s + var(--i, 0) * .06s); }
@keyframes toolIn { from { opacity: 0; transform: translateY(12px) scale(.95); } to { opacity: 1; transform: none; } }
/* Éclairage bleu dans les cadres (produits + texte) */
.plans--carousel .plan { position: relative; overflow: hidden; border-color: color-mix(in srgb, #2563eb 30%, var(--border)); box-shadow: var(--hi), 0 0 38px -14px rgba(37,99,235,.55); }
.plans--carousel .plan::before { content: ""; position: absolute; z-index: 0; pointer-events: none; top: -60%; left: -15%; width: 55%; height: 220%; background: radial-gradient(closest-side, rgba(56,120,255,.42), rgba(56,120,255,0) 72%); filter: blur(22px); opacity: .65; animation: planLight 7s ease-in-out infinite alternate; }
.plans--carousel .plan:nth-child(2)::before { animation-delay: -3.5s; }
.plans--carousel .plan > * { position: relative; z-index: 1; }
.plans--carousel .plan:hover { border-color: color-mix(in srgb, #2563eb 55%, var(--border)); box-shadow: var(--shadow-lg), 0 0 56px -10px rgba(37,99,235,.7); }
@keyframes planLight { 0% { transform: translate(0, 0); opacity: .45; } 100% { transform: translate(62%, 6%); opacity: .85; } }
/* Points de navigation */
.plans__dots { display: flex; justify-content: center; gap: 9px; margin-top: 24px; }
.plans__dots button { width: 9px; height: 9px; padding: 0; border: none; border-radius: 999px; background: color-mix(in srgb, var(--brand) 24%, var(--border)); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.plans__dots button:hover { background: color-mix(in srgb, var(--brand) 48%, transparent); }
.plans__dots button.is-on { width: 28px; background: var(--brand); }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) {
  .plans--carousel .plans__viewport { height: auto !important; }
  .plans--carousel .plans__page { position: relative !important; display: grid !important; opacity: 1 !important; visibility: visible !important; transform: none !important; }
  .plans--carousel .plans__page + .plans__page { margin-top: 16px; }
  .plans--carousel .plan__t, .plans--carousel .plantool { opacity: 1 !important; transform: none !important; animation: none !important; }
  .plans--carousel .plan::before { animation: none !important; }
  .plans__dots { display: none; }
}

/* Devis personnalisé : sélection de produits + postes */
.devis { max-width: 940px; margin-inline: auto; }
.devis__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.qprod { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: var(--hi); overflow: hidden; transition: border-color .25s var(--ease), box-shadow .25s, transform .25s; }
.qprod.is-on { border-color: color-mix(in srgb, var(--brand) 55%, var(--border)); box-shadow: 0 12px 30px -16px color-mix(in srgb, var(--brand) 75%, transparent); }
.qprod__pick { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 15px; background: none; border: 0; cursor: pointer; text-align: left; font: inherit; color: var(--text-strong); }
.qprod__lg { flex: none; width: 40px; height: 40px; border-radius: 11px; overflow: hidden; background: #fff; }
.qprod__lg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qprod__n { font-family: "Sora",sans-serif; font-weight: 700; font-size: .96rem; flex: 1; min-width: 0; }
.qprod__check { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--border); color: transparent; transition: background .2s, border-color .2s, color .2s; }
.qprod__check .ic { width: 14px; height: 14px; }
.qprod.is-on .qprod__check { background: var(--brand); border-color: var(--brand); color: #fff; }
.qprod__qty { display: none; align-items: center; gap: 8px; padding: 0 15px 14px; }
.qprod.is-on .qprod__qty { display: flex; }
.qprod__step { width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--border); background: color-mix(in srgb, var(--brand) 6%, transparent); color: var(--text-strong); font-size: 1.1rem; font-weight: 700; line-height: 1; cursor: pointer; transition: border-color .2s, color .2s; }
.qprod__step:hover { border-color: var(--brand-3); color: var(--brand); }
.qprod__input { width: 50px; height: 30px; text-align: center; border: 1px solid var(--border); border-radius: 9px; background: transparent; color: var(--text-strong); font-family: "Sora",sans-serif; font-weight: 700; }
.qprod__qty i { color: var(--text-soft); font-style: normal; font-size: .84rem; }
.devis__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; padding: 16px 22px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: var(--hi); }
.devis__sum { margin: 0; color: var(--text-soft); font-size: 1.02rem; }
.devis__sum b { color: var(--text-strong); font-family: "Sora",sans-serif; font-size: 1.2rem; }
.devis__send[disabled] { opacity: .5; cursor: not-allowed; pointer-events: none; }
.devis__hint { margin: 12px 2px 0; color: var(--text-soft); font-size: .85rem; text-align: center; }
@media (max-width: 760px) { .devis__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .devis__grid { grid-template-columns: 1fr; } }
/* Présentation devis (CTA) */
.devcta { display: flex; flex-direction: column; align-items: center; gap: 22px; max-width: 960px; margin-inline: auto; padding: clamp(26px, 4vw, 44px); border: 1px solid var(--border); border-radius: 24px; background: var(--surface); box-shadow: var(--hi); text-align: center; }
.devcta__points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; padding: 0; margin: 0; list-style: none; }
.devcta__points li { display: inline-flex; align-items: center; gap: 8px; color: var(--text-soft); font-size: .94rem; white-space: nowrap; }
.devcta__points .ic { width: 1.05rem; height: 1.05rem; color: var(--brand-3); flex: none; }
@media (min-width: 1000px) { .devcta__points { flex-wrap: nowrap; } }
/* Éclairage bleu du cadre « Demander mon devis » */
.devcta { position: relative; overflow: hidden; border-color: color-mix(in srgb, #2563eb 30%, var(--border)); box-shadow: var(--hi), 0 0 48px -14px rgba(37,99,235,.5); }
.devcta::before, .devcta::after { content: ""; position: absolute; z-index: 0; pointer-events: none; width: 48%; height: 240%; background: radial-gradient(closest-side, rgba(56,120,255,.40), rgba(56,120,255,0) 72%); filter: blur(26px); }
.devcta::before { top: -70%; left: -14%; opacity: .6; animation: planLight 8s ease-in-out infinite alternate; }
.devcta::after { bottom: -70%; right: -14%; opacity: .5; animation: devctaLight 9s ease-in-out infinite alternate; animation-delay: -4s; }
.devcta > * { position: relative; z-index: 1; }
@keyframes devctaLight { 0% { transform: translate(0, 0); opacity: .35; } 100% { transform: translate(-64%, -6%); opacity: .8; } }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .devcta::before, .devcta::after { animation: none !important; } }
/* Modale devis */
.dmodal { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 18px; }
.dmodal[hidden] { display: none; }
.dmodal [hidden] { display: none !important; }
.dmodal__overlay { position: absolute; inset: 0; background: rgba(5, 8, 20, .66); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.dmodal__panel { position: relative; width: min(720px, 100%); max-height: 90vh; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; animation: dmodalIn .25s var(--ease); }
@keyframes dmodalIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.dmodal__head { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.dmodal__title { margin: 0; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.12rem; color: var(--text-strong); }
.dmodal__steps { display: flex; gap: 8px; margin-left: auto; }
.dmodal__steps span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: "Sora",sans-serif; font-weight: 700; font-size: .8rem; background: color-mix(in srgb, var(--brand) 10%, transparent); color: var(--text-soft); border: 1px solid var(--border); transition: background .2s, color .2s; }
.dmodal__steps span.is-on { background: var(--brand); color: #fff; border-color: var(--brand); }
.dmodal__x { flex: none; margin-inline-start: auto; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--chip); color: var(--text-soft); cursor: pointer; transition: background .2s, color .2s; }
.dmodal__steps ~ .dmodal__x { margin-inline-start: 0; }
.dmodal__x:hover { background: color-mix(in srgb, var(--brand) 16%, var(--chip)); color: var(--text-strong); }
.dmodal__x .ic { width: 1rem; height: 1rem; }
.dmodal__body { padding: 20px; overflow-y: auto; }
.dstep__lead { margin: 0 0 16px; color: var(--text-soft); }
.dmodal__foot { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--border); background: color-mix(in srgb, var(--brand) 4%, var(--surface)); }
.dmodal__actions { margin-left: auto; display: flex; gap: 10px; }
.dform { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dform__f { display: flex; flex-direction: column; gap: 6px; }
.dform__f--full { grid-column: 1 / -1; }
.dform__f span { font-family: "Sora",sans-serif; font-weight: 600; font-size: .86rem; color: var(--text-strong); }
.dform__f input { height: 44px; padding: 0 14px; border: 1px solid var(--border); border-radius: 11px; background: transparent; color: var(--text-strong); font: inherit; }
.dform__f input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.dform__err { margin: 14px 0 0; color: #ef4444; font-size: .88rem; }
.dstep--done { text-align: center; padding: 18px 8px; }
.dstep__ic { width: 64px; height: 64px; border-radius: 50%; display: inline-grid; place-items: center; background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); margin-bottom: 14px; }
.dstep__ic .ic { width: 30px; height: 30px; }
.dstep__thx { margin: 0 0 8px; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--text-strong); }
.dstep__msg { max-width: 46ch; margin: 0 auto; color: var(--text-soft); line-height: 1.6; }
.dstep__ok { display: inline-block; vertical-align: -.2em; }
/* Tiroir panier */
.cartdrawer { position: fixed; inset: 0; z-index: 1200; }
.cartdrawer[hidden] { display: none; }
.cartdrawer [hidden] { display: none !important; }
.cartdrawer__overlay { position: absolute; inset: 0; background: rgba(5,8,20,.66); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s; }
.cartdrawer.is-open .cartdrawer__overlay { opacity: 1; }
.cartdrawer__panel { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(420px, 100%); display: flex; flex-direction: column; background: var(--surface); border-inline-start: 1px solid var(--border); box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .32s var(--ease); }
[dir="rtl"] .cartdrawer__panel { transform: translateX(-100%); }
.cartdrawer.is-open .cartdrawer__panel { transform: none; }
.cartdrawer__head { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.cartdrawer__title { margin: 0; flex: 1; display: flex; align-items: center; gap: 9px; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.12rem; color: var(--text-strong); }
.cartdrawer__title .ic { color: var(--brand); }
.cartdrawer__body { flex: 1; overflow-y: auto; padding: 14px 18px; display: grid; gap: 10px; align-content: start; }
.cartrow { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 14px; background: color-mix(in srgb, var(--brand) 4%, transparent); }
.cartrow__info { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cartrow__name { font-family: "Sora",sans-serif; font-weight: 700; font-size: .95rem; color: var(--text-strong); }
.cartrow__price { color: var(--brand); font-weight: 600; font-size: .9rem; }
.cartrow__del { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 9px; background: var(--chip); color: var(--text-soft); cursor: pointer; transition: color .2s, background .2s; }
.cartrow__del:hover { color: #ef4444; background: color-mix(in srgb, #ef4444 12%, var(--chip)); }
.cartrow__del .ic { width: .9rem; height: .9rem; }
.cartdrawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; color: var(--text-soft); padding: 30px; }
.cartdrawer__foot { padding: 16px 18px; border-top: 1px solid var(--border); display: grid; gap: 12px; background: color-mix(in srgb, var(--brand) 4%, var(--surface)); }
.cartdrawer__total { display: flex; align-items: center; justify-content: space-between; font-family: "Sora",sans-serif; font-weight: 700; color: var(--text-strong); }
.cartdrawer__total b { font-size: 1.2rem; }
.cartdrawer__foot .btn { width: 100%; }

/* ============ Studio de personnalisation — carte cadeau ============ */
.gcustom-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 18px auto 0; padding: 12px 26px; border: 1.5px dashed color-mix(in srgb, var(--brand) 45%, var(--border)); border-radius: 16px; background: color-mix(in srgb, var(--brand) 7%, transparent); color: var(--text-strong); font-family: "Sora",sans-serif; font-weight: 700; font-size: 1rem; cursor: pointer; transition: border-color .25s, background .25s, transform .25s; }
.gcustom-btn:hover { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 13%, transparent); transform: translateY(-2px); }
.gcustom-btn > span { display: inline-flex; align-items: center; gap: 8px; }
.gcustom-btn .ic { width: 1.1rem; height: 1.1rem; color: var(--brand); }
.gcustom-btn__tag { font-family: "Inter",sans-serif; font-weight: 500; font-size: .76rem; color: var(--text-soft); font-style: normal; }

.gstudio { position: fixed; inset: 0; z-index: 1300; display: grid; place-items: center; padding: 16px; }
.gstudio[hidden] { display: none; }
.gstudio [hidden] { display: none !important; }
.gstudio__overlay { position: absolute; inset: 0; background: rgba(5,8,20,.72); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); }
.gstudio__panel { position: relative; width: min(940px, 100%); max-height: 92vh; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; animation: dmodalIn .25s var(--ease); }
.gstudio__head { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.gstudio__title { margin: 0; flex: 1; display: flex; align-items: center; gap: 9px; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.14rem; color: var(--text-strong); }
.gstudio__title .ic { color: var(--brand); }
.gstudio__body { flex: 1; overflow-y: auto; display: grid; grid-template-columns: 300px 1fr; }
.gstudio__previewcol { padding: 22px 20px; border-inline-end: 1px solid var(--border); background: color-mix(in srgb, var(--brand) 4%, var(--surface)); display: flex; flex-direction: column; gap: 14px; align-items: center; overflow-y: auto; min-height: 0; }
.gstudio__controls { padding: 18px 20px; display: grid; gap: 20px; align-content: start; }
.gstudio__sec h4 { margin: 0 0 10px; font-family: "Sora",sans-serif; font-weight: 700; font-size: .92rem; color: var(--text-strong); }
.gstudio__opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 9px; }
.gstudio__opts--st, .gstudio__opts--font { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }
.gsopt { position: relative; height: 52px; border: 1.5px solid var(--border); border-radius: 12px; background: var(--surface); cursor: pointer; overflow: hidden; transition: border-color .2s, transform .2s, box-shadow .2s; display: grid; place-items: center; padding: 0; color: var(--text-strong); font-family: "Sora",sans-serif; font-weight: 600; font-size: .8rem; }
.gsopt:hover { transform: translateY(-2px); border-color: var(--brand-3); }
.gsopt.is-on { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.gsopt__sw { position: absolute; inset: 0; }
.gsopt__em { font-size: 1.5rem; line-height: 1; }
.gsopt__lb { position: relative; z-index: 1; }
.gsopt__prem { position: absolute; top: 4px; inset-inline-end: 4px; z-index: 2; min-width: 16px; height: 16px; padding: 0 4px; display: inline-grid; place-items: center; border-radius: 999px; background: var(--grad); color: #fff; font-size: .56rem; font-weight: 800; letter-spacing: .02em; }
.gstudio-card { position: relative; width: 100%; max-width: 270px; aspect-ratio: 1.6 / 1; border-radius: 16px; padding: 16px; overflow: hidden; color: #fff; background: var(--gs-g, linear-gradient(150deg,#a855f7,#ec4899)); box-shadow: 0 18px 40px -16px rgba(0,0,0,.5); display: flex; flex-direction: column; }
.gstudio-card__pat { position: absolute; inset: 0; opacity: .55; pointer-events: none; }
.gstudio-card__sticker { position: absolute; bottom: 10px; inset-inline-end: 12px; font-size: 2.1rem; line-height: 1; filter: drop-shadow(0 2px 4px rgba(0,0,0,.3)); }
.gstudio-card__top { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; }
.gstudio-card__top b { font-family: "Sora",sans-serif; font-weight: 800; font-size: .9rem; }
.gstudio-card__top span { opacity: .85; font-size: .68rem; }
.gstudio-card__amt { margin-top: auto; font-family: "Sora",sans-serif; font-weight: 800; font-size: 2rem; position: relative; z-index: 1; }
.gstudio-card__amt i { font-size: .9rem; font-style: normal; opacity: .85; }
.gstudio-card__msg { margin-top: 4px; font-size: .82rem; opacity: .92; position: relative; z-index: 1; max-width: 72%; }
.gstudio-card.gs-lay-center { text-align: center; align-items: center; }
.gstudio-card.gs-lay-center .gstudio-card__top { width: 100%; }
.gstudio-card.gs-lay-center .gstudio-card__msg { max-width: 100%; }
.gstudio-card.gs-lay-minimal .gstudio-card__top span, .gstudio-card.gs-lay-minimal .gstudio-card__msg { display: none; }
.gstudio-card.gs-font-serif .gstudio-card__msg { font-family: Georgia, "Times New Roman", serif; }
.gstudio-card.gs-font-hand .gstudio-card__msg { font-family: "Caveat", cursive; font-size: 1.2rem; }
.gstudio-card.gs-font-mono .gstudio-card__msg { font-family: ui-monospace, "Courier New", monospace; }
.gsopt--font-serif { font-family: Georgia, serif; }
.gsopt--font-hand { font-family: "Caveat", cursive; font-size: 1.3rem; }
.gsopt--font-mono { font-family: ui-monospace, monospace; }
.gs-pat-lines { background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.14) 0 1px, transparent 1px 9px); }
.gs-pat-dots { background-image: radial-gradient(rgba(255,255,255,.5) 1px, transparent 1.4px); background-size: 14px 14px; }
.gs-pat-grid { background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 20px 20px; }
.gs-pat-cross { background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.1) 0 1px, transparent 1px 9px), repeating-linear-gradient(-45deg, rgba(255,255,255,.1) 0 1px, transparent 1px 9px); }
.gs-pat-confetti { background-image: radial-gradient(rgba(255,255,255,.55) 1.5px, transparent 2px), radial-gradient(rgba(255,255,255,.32) 1.5px, transparent 2px); background-size: 22px 22px, 22px 22px; background-position: 0 0, 11px 11px; }
.gs-pat-chevron { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='14'%3E%3Cpath d='M0 12 L11 3 L22 12' fill='none' stroke='%23fff' stroke-opacity='.26' stroke-width='1.6'/%3E%3C/svg%3E"); background-size: 22px 14px; }
.gs-pat-waves { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='18'%3E%3Cpath d='M0 9 Q11 0 22 9 T44 9' fill='none' stroke='%23fff' stroke-opacity='.24' stroke-width='1.2'/%3E%3Cpath d='M0 14 Q11 5 22 14 T44 14' fill='none' stroke='%23fff' stroke-opacity='.14' stroke-width='1.2'/%3E%3C/svg%3E"); background-size: 44px 18px; }
.gs-pat-zellige { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.24' stroke-width='1.2'%3E%3Crect x='9' y='9' width='22' height='22'/%3E%3Crect x='9' y='9' width='22' height='22' transform='rotate(45 20 20)'/%3E%3C/g%3E%3C/svg%3E"); background-size: 40px 40px; }
.gs-pat-triangles { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='26'%3E%3Cpath d='M0 26 L15 0 L30 26 M0 0 L15 26 L30 0' fill='none' stroke='%23fff' stroke-opacity='.2' stroke-width='1.3'/%3E%3C/svg%3E"); background-size: 30px 26px; }
.gs-pat-scales { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='20'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.22' stroke-width='1.2'%3E%3Cpath d='M0 20 A20 20 0 0 1 40 20'/%3E%3Cpath d='M-20 20 A20 20 0 0 1 20 20'/%3E%3Cpath d='M20 20 A20 20 0 0 1 60 20'/%3E%3C/g%3E%3C/svg%3E"); background-size: 40px 20px; }
.gs-pat-carbon { background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.1) 0 2px, transparent 2px 4px), repeating-linear-gradient(-45deg, rgba(255,255,255,.05) 0 2px, transparent 2px 4px); }
.gs-pat-plus { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cg stroke='%23fff' stroke-opacity='.24' stroke-width='1.4'%3E%3Cpath d='M12 7 V17 M7 12 H17'/%3E%3C/g%3E%3C/svg%3E"); background-size: 24px 24px; }
.gstudio__premsum { font-family: "Sora",sans-serif; font-weight: 600; font-size: .9rem; color: var(--text-soft); text-align: center; }
.gstudio__premsum b { color: var(--brand); }
.gstudio__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; border-top: 1px solid var(--border); background: color-mix(in srgb, var(--brand) 4%, var(--surface)); }
.gstudio__total { font-family: "Sora",sans-serif; font-weight: 700; color: var(--text-strong); }
.gstudio__total b { color: var(--brand); }
.gift-premnote { margin: 14px auto 0; display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 12%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent); color: var(--brand); font-family: "Sora",sans-serif; font-weight: 700; font-size: .85rem; }
.gift-premnote .ic { width: 1rem; height: 1rem; }
/* --- Studio en assistant (étapes) + recto/verso + designs + services --- */
.gstudio__panel--wiz { width: min(900px, 100%); }
.gstudio__body--wiz { grid-template-columns: 300px 1fr; grid-template-rows: minmax(0, 1fr); flex: none; height: min(560px, 80vh); overflow: hidden; }
.gstudio__wiz { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.gstudio__wizhead { padding: 18px 20px 12px; border-bottom: 1px solid var(--border); }
.gstudio__stepn { font-family: "Sora",sans-serif; font-weight: 700; font-size: .76rem; color: var(--brand); text-transform: uppercase; letter-spacing: .05em; }
.gstudio__steptitle { margin: 4px 0 10px; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.24rem; color: var(--text-strong); }
.gstudio__prog { height: 5px; border-radius: 999px; background: var(--chip); overflow: hidden; }
.gstudio__progbar { display: block; height: 100%; border-radius: 999px; background: var(--grad); transition: width .35s var(--ease); }
.gstudio__steps { flex: 1; min-height: 0; padding: 18px 20px; overflow-y: auto; }
.gstudio__wnav { display: flex; gap: 10px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--border); background: color-mix(in srgb, var(--brand) 4%, var(--surface)); }
.gstudio__wnav .gwiz__next, .gstudio__wnav .gwiz__cta { margin-inline-start: auto; }
.gstudio__hint { margin: 14px 0 0; display: flex; align-items: center; gap: 7px; color: var(--text-soft); font-size: .84rem; line-height: 1.4; }
.gstudio__hint .ic { width: 1rem; height: 1rem; color: var(--brand); flex: none; }
/* recto / verso */
.gstudio-flip { width: 100%; max-width: 270px; aspect-ratio: 1.6 / 1; perspective: 1100px; }
.gstudio-flip__inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .6s var(--ease); }
.gstudio-flip.is-flipped .gstudio-flip__inner { transform: rotateY(180deg); }
.gstudio-flip .gstudio-card { position: absolute; inset: 0; max-width: none; aspect-ratio: auto; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.gstudio-card--back { justify-content: flex-start; gap: 6px; padding: 13px 14px; }
.gstudio-card--back .gstudio-card__top { z-index: 1; }
.gstudio-card--back .gstudio-card__top span { opacity: .85; font-size: .66rem; }
.gstudio-card__band { display: flex; align-items: center; justify-content: space-between; gap: 9px; background: rgba(0,0,0,.26); border-radius: 9px; padding: 5px 9px; position: relative; z-index: 1; }
.gstudio-card__bcode { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.gstudio-card__bcode small { font-size: .5rem; letter-spacing: .12em; text-transform: uppercase; opacity: .82; }
.gstudio-card__bcode b { font-family: ui-monospace,"Courier New",monospace; font-size: .66rem; letter-spacing: .02em; }
.gstudio-card__qr { flex: none; width: 32px; height: 32px; border-radius: 5px; background-color: #fff; background-image: linear-gradient(45deg,#0f0c22 25%,transparent 25%,transparent 75%,#0f0c22 75%),linear-gradient(45deg,#0f0c22 25%,transparent 25%,transparent 75%,#0f0c22 75%); background-size: 7px 7px; background-position: 0 0,3.5px 3.5px; box-shadow: inset 0 0 0 2.5px #fff; }
.gstudio-card__box { margin-top: auto; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); border-radius: 9px; padding: 6px 10px; position: relative; z-index: 1; }
.gstudio-card__bname { font-family: "Sora",sans-serif; font-weight: 700; font-size: .76rem; display: block; }
.gstudio-card__bmsg { margin: 2px 0 0; font-size: .6rem; opacity: .92; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gcd--applied { animation: gcdApplied 1.5s ease; }
@keyframes gcdApplied { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 60%, transparent); } 70% { box-shadow: 0 0 0 16px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.gstudio__flipbtn { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text-soft); font-family: "Sora",sans-serif; font-weight: 600; font-size: .82rem; cursor: pointer; transition: color .2s, border-color .2s; }
.gstudio__flipbtn:hover { color: var(--text-strong); border-color: var(--brand-3); }
.gstudio__flipbtn .ic { width: .9rem; height: .9rem; }
/* designs (images) + upload */
.gstudio__opts--design { grid-template-columns: repeat(auto-fill, minmax(82px, 1fr)); }
.gstudio__opts--design .gsopt { height: 64px; }
.gsopt__cap { position: absolute; bottom: 0; inset-inline: 0; z-index: 1; padding: 2px 4px; background: rgba(0,0,0,.5); color: #fff; font-size: .62rem; font-weight: 600; text-align: center; }
.gsopt--upload { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-style: dashed; color: var(--brand); }
.gsopt--upload .ic { width: 1.2rem; height: 1.2rem; }
.gsopt--upload .gsopt__cap { position: static; background: transparent; color: var(--brand); padding: 0; }
/* services premium */
.gstudio__svcs { display: grid; gap: 10px; }
.gsvc { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border: 1.5px solid var(--border); border-radius: 13px; background: var(--surface); cursor: pointer; text-align: start; transition: border-color .2s, background .2s; font: inherit; }
.gsvc:hover { border-color: var(--brand-3); }
.gsvc.is-on { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, transparent); }
.gsvc__chk { flex: none; width: 22px; height: 22px; display: grid; place-items: center; border: 1.5px solid var(--border); border-radius: 7px; color: transparent; transition: background .2s, border-color .2s, color .2s; }
.gsvc.is-on .gsvc__chk { background: var(--brand); border-color: var(--brand); color: #fff; }
.gsvc__chk .ic { width: .8rem; height: .8rem; }
.gsvc__name { flex: 1; font-family: "Sora",sans-serif; font-weight: 600; font-size: .9rem; color: var(--text-strong); }
.gsvc__price { color: var(--brand); font-family: "Sora",sans-serif; font-weight: 700; }
/* CTA bas de page */
.gcustom-cta { margin-top: 26px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 26px clamp(20px,4vw,40px); border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--border)); border-radius: 22px; background: radial-gradient(120% 150% at 0% 0%, color-mix(in srgb, var(--brand) 13%, var(--surface)), var(--surface) 70%); box-shadow: var(--hi); }
.gcustom-cta__txt { flex: 1; min-width: 260px; }
.gcustom-cta__txt h3 { margin: 0 0 6px; font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1.2rem,2.4vw,1.6rem); color: var(--text-strong); }
.gcustom-cta__txt p { margin: 0; color: var(--text-soft); font-size: .98rem; line-height: 1.55; }
.gcustom-cta__txt .gcustom-cta__sub { font-weight: 700; background: linear-gradient(90deg, var(--brand) 0%, var(--brand-3) 22%, #f59e0b 45%, var(--brand-3) 70%, var(--brand) 100%); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: gcSubShine 3.4s linear infinite; }
@keyframes gcSubShine { to { background-position: -220% center; } }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .gcustom-cta__txt .gcustom-cta__sub { animation: none; } }
.gcustom-cta__btn { flex: none; }
.gcustom-cta__prem { font-style: normal; font-weight: 600; font-size: .78rem; opacity: .9; }
@media (max-width: 720px) { .gstudio__body, .gstudio__body--wiz { grid-template-columns: 1fr; } .gstudio__previewcol { border-inline-end: 0; border-bottom: 1px solid var(--border); } }
@media (max-width: 640px) { .gcustom-cta { justify-content: center; text-align: center; } .gcustom-cta__btn { width: 100%; } }
.gcustom-cta[hidden] { display: none !important; } /* désactivation « Personnaliser à 100 % » jusqu'au lancement */

/* --- Studio v2 : recto/verso empilés, stepper cliquable, événements, couleur manuelle --- */
.gstudio__cardwrap { display: flex; flex-direction: column; gap: 6px; width: 100%; max-width: 280px; }
.gstudio__cardlb { font-family: "Sora",sans-serif; font-weight: 700; font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-soft); }
.gstudio__previewcol .gstudio-card { max-width: 100%; width: 100%; }
.gstudio-card__event { position: absolute; inset-inline-end: 12px; top: 50%; transform: translateY(-50%); width: 68px; height: 68px; z-index: 1; }
.gstudio-card.gs-lay-center .gstudio-card__event { inset-inline-end: auto; top: 12px; transform: none; }
/* Illustration d'événement sur la carte : inclinée + étincelles animées, sans fond (style cartes accueil) */
.gev-art { position: absolute; inset: 0; transform: rotate(-20deg); transform-origin: center; filter: drop-shadow(0 3px 6px rgba(0,0,0,.32)); }
.gev-art svg, .gev-art img { width: 100%; height: 100%; object-fit: contain; color: #fff; }
.gev-spk { position: absolute; background: #fff; clip-path: polygon(50% 0,58% 42%,100% 50%,58% 58%,50% 100%,42% 58%,0 50%,42% 42%); animation: gcdTwinkle 2.4s ease-in-out infinite; filter: drop-shadow(0 0 4px rgba(255,255,255,.65)); }
.gstudio-card__event .gev-spk--a { width: 10px; height: 10px; top: -3px; inset-inline-end: 0; animation-delay: .2s; }
.gstudio-card__event .gev-spk--b { width: 7px; height: 7px; bottom: 4px; inset-inline-start: -3px; animation-delay: 1.3s; }
.gstudio-card.gs-size-s .gstudio-card__msg { font-size: .72rem; }
.gstudio-card.gs-size-m .gstudio-card__msg { font-size: .86rem; }
.gstudio-card.gs-size-l .gstudio-card__msg { font-size: 1.04rem; }
.gstudio-card.gs-font-round .gstudio-card__msg, .gsopt--font-round { font-family: "Cairo", sans-serif; }
.gstudio-card.gs-font-display .gstudio-card__msg, .gsopt--font-display { font-family: "Sora", sans-serif; font-weight: 800; }
.gstudio__stepper { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.gstep-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 5px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text-soft); font-family: "Sora",sans-serif; font-weight: 600; font-size: .78rem; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.gstep-chip b { display: inline-grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: var(--chip); font-size: .72rem; }
.gstep-chip.is-done { color: var(--text-strong); border-color: color-mix(in srgb, var(--brand) 35%, var(--border)); }
.gstep-chip.is-done b { background: color-mix(in srgb, var(--brand) 22%, transparent); color: var(--brand); }
.gstep-chip.is-on { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, transparent); color: var(--text-strong); }
.gstep-chip.is-on b { background: var(--brand); color: #fff; }
.gstudio__manual { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 13px; background: var(--surface); cursor: pointer; transition: border-color .2s; }
.gstudio__manual:hover { border-color: var(--brand-3); }
.gstudio__manual.is-on { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent); }
.gstudio__manualsw { flex: none; width: 38px; height: 38px; border-radius: 10px; border: 2px solid rgba(255,255,255,.35); }
.gstudio__manual b { display: block; font-family: "Sora",sans-serif; font-weight: 700; font-size: .9rem; color: var(--text-strong); }
.gstudio__manual small { color: var(--text-soft); font-size: .8rem; }
.gstudio__manual input[type="color"] { margin-inline-start: auto; width: 42px; height: 38px; border: none; border-radius: 8px; background: none; cursor: pointer; }
.gsopt__sw--style { background-color: #4c1d95; }
.gstudio__grouph { margin: 16px 0 9px; font-family: "Sora",sans-serif; font-weight: 700; font-size: .84rem; color: var(--text-strong); }
.gstudio__sub:first-child .gstudio__grouph { margin-top: 0; }
.gstudio__suggs { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 4px; }
.gsugg { padding: 10px 13px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--text-soft); font: inherit; font-size: .86rem; text-align: start; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.gsugg:hover { border-color: var(--brand-3); color: var(--text-strong); }
.gsugg.is-on { border-color: transparent; background: linear-gradient(135deg, var(--brand), var(--brand-3)); color: #fff; }
.gstudio__msgin { width: 100%; min-height: 88px; resize: vertical; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--text-strong); font: inherit; font-size: .92rem; line-height: 1.45; }
.gstudio__msgin:focus { outline: none; border-color: var(--brand-3); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent); }
.gstudio__msgcount { display: block; margin-top: 6px; font-size: .72rem; color: var(--text-soft); text-align: end; }
.gstudio__opts--ev { grid-template-columns: repeat(auto-fill, minmax(94px, 1fr)); }
.gsev { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 11px 6px; border: 1.5px solid var(--border); border-radius: 13px; background: var(--surface); cursor: pointer; transition: border-color .2s, transform .2s, box-shadow .2s; }
.gsev:hover { transform: translateY(-2px); border-color: var(--brand-3); }
.gsev.is-on { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent); }
.gsev__e { font-size: 1.7rem; line-height: 1; }
.gsev__e img { width: 34px; height: 34px; object-fit: contain; }
.gsev__e svg { width: 35px; height: 35px; color: var(--brand); }
.gsev__n { font-family: "Sora",sans-serif; font-weight: 600; font-size: .72rem; color: var(--text-strong); text-align: center; line-height: 1.2; }
.gsbtnclear { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 4px; padding: 7px 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text-soft); font-family: "Sora",sans-serif; font-weight: 600; font-size: .82rem; cursor: pointer; }
.gsbtnclear.is-on { border-color: var(--brand); color: var(--brand); }
.gsbtnclear .ic { width: .85rem; height: .85rem; }
@media (max-width: 560px) { .dform { grid-template-columns: 1fr; } .dmodal__foot { flex-wrap: wrap; } .dmodal__actions { width: 100%; } .dmodal__actions .btn { flex: 1; } }
/* Validation statut étudiant : sélecteur de méthode + champs fichier */
.vmeth { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.vmeth__btn { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: start; padding: 16px 16px 14px; border: 1.5px solid var(--border); border-radius: 14px; background: color-mix(in srgb, var(--brand) 4%, transparent); cursor: pointer; transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; }
.vmeth__btn:hover { border-color: var(--brand-3); transform: translateY(-2px); }
.vmeth__btn.is-on { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent); }
.vmeth__ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); margin-bottom: 5px; }
.vmeth__ic .ic { width: 1.3rem; height: 1.3rem; }
.vmeth__btn b { font-family: "Sora",sans-serif; font-weight: 700; font-size: .96rem; color: var(--text-strong); }
.vmeth__btn small { color: var(--text-soft); font-size: .82rem; line-height: 1.35; }
.vmeth__badge { position: absolute; top: 12px; inset-inline-end: 12px; background: var(--grad); color: #fff; font-family: "Sora",sans-serif; font-weight: 700; font-size: .66rem; padding: 3px 9px; border-radius: 999px; }
.vfile input[type="file"] { height: auto; padding: 9px 12px; font-size: .9rem; color: var(--text-soft); cursor: pointer; }
.vfile input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 1px solid var(--border); border-radius: 9px; background: color-mix(in srgb, var(--brand) 8%, transparent); color: var(--text-strong); font: inherit; font-weight: 600; cursor: pointer; }
.vpanel__send { margin-top: 18px; width: 100%; }
.vcode { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; max-width: 360px; margin: 4px auto 0; }
.vcode input { width: 100%; min-width: 0; height: 58px; padding: 0; text-align: center; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.5rem; border: 1.5px solid var(--border); border-radius: 12px; background: transparent; color: var(--text-strong); }
.vcode input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.vcode__links { display: flex; justify-content: center; gap: 18px; margin-top: 14px; }
.vlink { background: none; border: none; padding: 4px; color: var(--brand); font: inherit; font-weight: 600; font-size: .88rem; cursor: pointer; }
.vlink:hover { text-decoration: underline; }
.vlink:disabled { opacity: .6; cursor: default; text-decoration: none; }
.vcode__demo { margin: 16px 0 0; text-align: center; color: var(--text-soft); font-size: .82rem; line-height: 1.45; background: color-mix(in srgb, var(--brand) 8%, transparent); border: 1px dashed color-mix(in srgb, var(--brand) 35%, var(--border)); border-radius: 10px; padding: 9px 12px; }
@media (max-width: 560px) { .vmeth { grid-template-columns: 1fr; } .vcode { gap: 7px; } .vcode input { height: 50px; font-size: 1.3rem; } }
/* badge "recommandé" dans la section explicative + bouton */
.artrow__reco { display: inline-block; vertical-align: middle; background: var(--grad); color: #fff; font-family: "Sora",sans-serif; font-weight: 700; font-size: .64rem; text-transform: uppercase; letter-spacing: .04em; padding: 2px 8px; border-radius: 999px; }
.artrow__text > .btn { margin-top: 20px; }
.whystats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; max-width: 980px; margin-inline: auto; }
.whystat { position: relative; overflow: hidden; text-align: center; padding: 20px 16px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: var(--hi); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.whystat > * { position: relative; z-index: 2; }
.whystat::before { content: ""; position: absolute; top: 0; left: 12px; right: 12px; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, #a855f7, #22d3ee, #a855f7); background-size: 200% 100%; box-shadow: 0 0 12px rgba(168,85,247,.6); animation: statFlow 3.2s linear infinite; z-index: 3; }
.whystat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.16) 50%, transparent 62%); transform: translateX(-130%); animation: statSheen 5.5s ease-in-out infinite; pointer-events: none; z-index: 1; }
.whystat:nth-child(2)::after { animation-delay: .7s; }
.whystat:nth-child(3)::after { animation-delay: 1.4s; }
.whystat:nth-child(4)::after { animation-delay: 2.1s; }
.whystat:hover { transform: translateY(-4px); border-color: var(--brand-3); box-shadow: 0 0 0 1px rgba(168,85,247,.3), 0 18px 40px -16px rgba(168,85,247,.5), var(--shadow-md); }
.whystat__ic { color: var(--brand); margin-bottom: 9px; line-height: 0; display: grid; place-items: center; perspective: 600px; }
.whystat__ic .ic { width: 27px; height: 27px; transform-origin: center; animation: whyIcFlip 6s ease-in-out infinite; }
.whystat:nth-child(2) .whystat__ic .ic { animation-delay: 1.5s; }
.whystat:nth-child(3) .whystat__ic .ic { animation-delay: 3s; }
.whystat:nth-child(4) .whystat__ic .ic { animation-delay: 4.5s; }
.whystat__num { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.7rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; margin-bottom: 6px; }
.whystat__lbl { color: var(--text-soft); font-size: .84rem; font-weight: 500; }
@keyframes whyIcFlip { 0% { transform: rotateY(0deg); } 17%, 100% { transform: rotateY(360deg); } }
@media (max-width: 900px) { .whygrid { grid-template-columns: 1fr; } .whystats { grid-template-columns: repeat(2, 1fr); } }
/* Pack personalization intro / teaser */
.pintro__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.pintro__card { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px 26px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--hi); text-decoration: none; color: inherit; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s, background .3s var(--ease); }
.pintro__card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease), background .3s var(--ease); }
.pintro__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--brand), transparent 55%); }
.pintro__card:hover::before { transform: scaleX(1); }
/* Audience cards (Pourquoi / 3 piliers): themed gradient + white text on hover; colored top line always visible, white (dark) / dark (light) on hover */
body:is([data-page="partenaires"],[data-page="etudiants"],[data-page="entreprises"]) .pintro__card:hover { background: var(--grad); border-color: transparent; box-shadow: 0 24px 52px -20px color-mix(in srgb, var(--brand), transparent 42%); }
body:is([data-page="partenaires"],[data-page="etudiants"],[data-page="entreprises"]) .pintro__card:hover .pintro__t { color: #fff; }
body:is([data-page="partenaires"],[data-page="etudiants"],[data-page="entreprises"]) .pintro__card:hover .pintro__d { color: rgba(255,255,255,.92); }
body:is([data-page="partenaires"],[data-page="etudiants"],[data-page="entreprises"]) .pintro__card:hover .pintro__ic { background: rgba(255,255,255,.2); color: #fff; }
body:is([data-page="partenaires"],[data-page="etudiants"],[data-page="entreprises"]) .pintro__card::before { transform: scaleX(1); }
body:is([data-page="partenaires"],[data-page="etudiants"],[data-page="entreprises"]) .pintro__card:hover::before { background: #fff; }

.pintro__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); transition: background .3s var(--ease), color .25s var(--ease); }
.pintro__ic .ic { width: 1.5rem; height: 1.5rem; }
.pintro__t { font-family: "Sora",sans-serif; font-weight: 700; font-size: 1.18rem; color: var(--text-strong); transition: color .25s var(--ease); }
.pintro__d { color: var(--text-soft); font-size: .98rem; line-height: 1.5; transition: color .25s var(--ease); }
.pintro__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-family: "Sora",sans-serif; font-weight: 700; font-size: .9rem; color: var(--brand); }
.pintro__more .ic { width: .9rem; height: .9rem; transition: transform .25s var(--ease); }
.pintro__card:hover .pintro__more .ic { transform: translateX(4px); }
.pintro__foot { margin-top: clamp(22px, 3vw, 34px); text-align: center; }
.pintro__cta { display: inline-flex; align-items: center; gap: 10px; padding: 16px 34px; border: 0; -webkit-appearance: none; appearance: none; cursor: pointer; border-radius: 999px; background: var(--grad); color: #fff; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.02rem; text-decoration: none; box-shadow: 0 16px 36px -12px color-mix(in srgb, var(--brand), transparent 32%); transition: transform .2s var(--ease), box-shadow .3s, filter .25s; }
.pintro__cta .ic { width: 1.1rem; height: 1.1rem; }
.pintro__cta:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 24px 50px -12px color-mix(in srgb, var(--brand), transparent 22%); filter: brightness(1.05); }
[dir="rtl"] .pintro__card::before { transform-origin: right; }
@media (max-width: 900px) { .pintro__grid { grid-template-columns: 1fr; } }

/* ===== Reviews marquee (two rows scrolling in opposite directions) ===== */
.rev-switch { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.rev-switch .rev__avatar { width: 38px; height: 38px; font-size: .95rem; }
.rev-switch .rev__top { flex-wrap: wrap; align-items: center; column-gap: 9px; row-gap: 6px; }
.rev-switch .rev__id { flex: 1 1 auto; font-size: .82rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rev-switch .rev__rate { flex: 1 0 100%; margin-inline-start: 47px; }
.rev-switch .rev__star .ic { width: 15px; height: 15px; }
.rev-switch .rev__text { font-size: .9rem; }
.rev-slot { position: relative; overflow: hidden; min-height: 188px; }
.rev-slot .rev { position: absolute; inset: 0; width: auto; min-height: 0; will-change: transform; transition: transform .65s cubic-bezier(.34,1.04,.4,1), opacity .5s ease, box-shadow .3s var(--ease); }
.rev-stats { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(20px, 4vw, 50px); margin-top: clamp(28px, 3.5vw, 42px); }
.rev-stat { display: inline-flex; align-items: center; gap: 9px; color: var(--text-soft); font-size: 1.02rem; }
.rev-stat .ic { width: 1.25rem; height: 1.25rem; flex: none; }
.rev-stat:nth-child(1) .ic { color: var(--accent); }
.rev-stat:nth-child(2) .ic { color: var(--brand-3); }
.rev-stat:nth-child(3) .ic { color: var(--accent-2); }
.rev-stat span { white-space: nowrap; }
@media (max-width: 1180px) { .rev-switch { grid-template-columns: repeat(3, 1fr); } .rev-switch .rev-slot:nth-child(n+4) { display: none; } }
@media (max-width: 920px) { .rev-switch { grid-template-columns: repeat(2, 1fr); } .rev-switch .rev-slot:nth-child(n+3) { display: none; } }
@media (max-width: 600px) { .rev-switch { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; } .rev-switch .rev-slot:nth-child(n+2) { display: none; } }

.rev { position: relative; width: auto; min-height: 152px; padding: 16px 18px 14px; border-radius: 18px; overflow: hidden; background: var(--surface); box-shadow: 0 14px 32px -24px rgba(10,14,30,.85); display: flex; flex-direction: column; gap: 8px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.rev > * { position: relative; z-index: 2; }
.rev::before { content: ""; position: absolute; inset: 0; z-index: 3; padding: 1.4px; border-radius: inherit; background: linear-gradient(135deg, rgba(124,58,237,.9), rgba(224,82,156,.55) 52%, rgba(245,158,11,.95)); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; transition: opacity .3s; }
.rev::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; background: linear-gradient(115deg, transparent 36%, rgba(168,85,247,.22) 50%, rgba(96,165,250,.16) 57%, transparent 66%); transform: translateX(-130%); pointer-events: none; }
.rev:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(168,85,247,.45), 0 16px 38px -10px rgba(168,85,247,.5), 0 0 42px -6px rgba(245,158,11,.45), inset 0 0 22px rgba(168,85,247,.15); }
.rev:hover::after { animation: revSheen 1s ease; }
@keyframes revSheen { 0% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
.rev__top { display: flex; align-items: center; gap: 11px; }
.rev__avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: "Sora",sans-serif; font-weight: 700; font-size: 1.02rem; color: #fff; background: linear-gradient(135deg, #a855f7, #f59e0b); box-shadow: inset 0 0 0 2px rgba(255,255,255,.16); }
.rev__id { flex: 1; min-width: 0; font-style: italic; font-size: .85rem; color: var(--text-soft); line-height: 1.25; }
.rev__rate { flex: none; display: inline-flex; align-items: center; gap: 7px; }
.rev__stars { display: inline-flex; gap: 2px; }
.rev__star { display: inline-grid; place-items: center; transform-origin: center; animation: revStarTwinkle 2.8s ease-in-out infinite; }
.rev__star .ic { width: 17px; height: 17px; }
.rev__stars .rev__star:nth-child(1) { animation-delay: 0s; }
.rev__stars .rev__star:nth-child(2) { animation-delay: .16s; }
.rev__stars .rev__star:nth-child(3) { animation-delay: .32s; }
.rev__stars .rev__star:nth-child(4) { animation-delay: .48s; }
.rev__stars .rev__star:nth-child(5) { animation-delay: .64s; }
.rev:hover .rev__star { filter: drop-shadow(0 0 4px rgba(95,179,137,.75)); }
.rev__note { font-family: "Sora",sans-serif; font-weight: 800; font-size: .82rem; color: var(--text-strong); }
@keyframes revStarTwinkle { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
.rev__text { margin: 0; font-size: .95rem; line-height: 1.5; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rev__src { align-self: flex-end; margin-top: auto; font-style: italic; font-size: .8rem; color: var(--muted); text-decoration: none; transition: color .2s var(--ease); }
.rev__src:hover { color: var(--brand); text-decoration: underline; }
[dir="rtl"] .rev__src { align-self: flex-start; }
.bn { font-style: normal; font-weight: 700; }
.bn--f { color: #1877F2; }
.bn--g span:nth-child(1) { color: #4285F4; }
.bn--g span:nth-child(2) { color: #EA4335; }
.bn--g span:nth-child(3) { color: #FBBC05; }
.bn--g span:nth-child(4) { color: #4285F4; }
.bn--g span:nth-child(5) { color: #34A853; }
.bn--g span:nth-child(6) { color: #EA4335; }
.bn--t { color: #00b67a; }
.bn__tp { display: inline-block; width: 13px; height: 13px; vertical-align: -2px; margin-inline-end: 3px; }
.rev-badges { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 16px; margin-top: 22px; }
.rev-badge { display: inline-flex; flex-direction: row; align-items: center; gap: 12px; padding: 11px 20px; border-radius: 14px; background: var(--glass); border: 1px solid var(--glass-brd); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); text-decoration: none; transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); }
.rev-badge:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 45%, transparent); box-shadow: 0 16px 34px -26px rgba(10,14,30,.9); }
.rev-badge__note { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.5rem; line-height: 1; color: var(--text-strong); }
.rev-badge__note small { font-weight: 600; font-size: .5em; color: var(--text-soft); }
.rev-badge__main { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.rev-badge__brand { font-size: .98rem; line-height: 1; }
.rev-badge__stars { position: relative; display: inline-flex; }
.rev-badge__stars .ic { width: 15px; height: 15px; }
.rev-badge__stars-bg, .rev-badge__stars-fill { display: inline-flex; align-items: center; gap: 1px; }
.rev-badge__stars-bg { color: rgba(255,255,255,.15); }
.rev-badge__stars-fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--fillpct, 100%); overflow: hidden; white-space: nowrap; transition: width 1.15s cubic-bezier(.22,.61,.36,1); }
.rev-badges.is-arming .rev-badge__stars-fill { width: 0; transition: none; }
.rev-badge--g .rev-badge__stars-fill { color: #F59E0B; }
.rev-badge--t .rev-badge__stars-fill { color: #00b67a; }
.rev-badge--f .rev-badge__stars-fill { color: #1877f2; }

.rev-rating { text-align: center; margin-top: 30px; font-size: 1.06rem; color: var(--text-soft); }
.rev-rating strong { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.18rem; background: var(--grad-2); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; padding: 0 5px; }
.rev-rating__src { color: var(--text-strong); text-decoration: none; font-weight: 700; border-bottom: 1.5px solid color-mix(in srgb, var(--brand) 55%, transparent); transition: color .2s var(--ease); }
.rev-rating__src:hover { color: var(--brand); }

@media (prefers-reduced-motion: reduce) and (min-width: 100000px) {
  .rev-marquee { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ---------- FAQ (two columns; active answer slides right, other column shrinks) ---------- */
.faq--rows { max-width: 1100px; margin-inline: auto; display: flex; align-items: flex-start; gap: 30px; }
.faq__col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; transition: flex-grow .5s var(--ease); }
.faq__row { display: flex; flex-direction: row; align-items: center; gap: 0; min-width: 0; }
.faq__q { flex: 1 1 auto; min-width: 0; display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; text-align: start; white-space: normal; padding: 16px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text); font-family: "Sora",sans-serif; font-weight: 600; font-size: 1rem; line-height: 1.35; cursor: pointer; box-shadow: var(--shadow-sm); animation: faqDrift 9s ease-in-out infinite; transition: background .3s var(--ease), border-color .3s, color .25s, transform .3s var(--ease), box-shadow .35s; }
.faq__q > span { min-width: 0; }
.faq__col:nth-child(1) .faq__row:nth-child(1) .faq__q { animation-delay: -0.4s; }
.faq__col:nth-child(1) .faq__row:nth-child(2) .faq__q { animation-delay: -2.3s; }
.faq__col:nth-child(1) .faq__row:nth-child(3) .faq__q { animation-delay: -4.6s; }
.faq__col:nth-child(1) .faq__row:nth-child(4) .faq__q { animation-delay: -6.8s; }
.faq__col:nth-child(2) .faq__row:nth-child(1) .faq__q { animation-delay: -1.5s; }
.faq__col:nth-child(2) .faq__row:nth-child(2) .faq__q { animation-delay: -3.4s; }
.faq__col:nth-child(2) .faq__row:nth-child(3) .faq__q { animation-delay: -5.7s; }
.faq__col:nth-child(2) .faq__row:nth-child(4) .faq__q { animation-delay: -7.9s; }
.faq__q:hover { animation: none; transform: translateY(-3px); border-color: var(--brand-3); box-shadow: var(--shadow-md); }
.faq__chev { width: 1.05rem; height: 1.05rem; color: var(--muted); flex: none; transform: rotate(-90deg); transition: color .3s, transform .35s var(--ease); }
.faq__q:hover .faq__chev { color: var(--brand-3); }
.faq__row.is-active .faq__q { animation: none; transform: none; background: linear-gradient(135deg, rgba(168,85,247,.24), rgba(96,165,250,.13)); border-color: rgba(168,85,247,.55); color: var(--text-strong); box-shadow: 0 16px 36px -16px rgba(168,85,247,.6); }
.faq__row.is-active .faq__chev { color: var(--brand-3); transform: rotate(-90deg); }
.faq__answer { flex: 0 0 auto; max-width: 0; overflow: hidden; opacity: 0; color: var(--text-soft); font-size: .82rem; line-height: 1.55; transition: max-width .55s var(--ease), opacity .4s var(--ease); }
.faq__answer p { width: clamp(500px, 44vw, 600px); margin: 0; margin-inline-start: 18px; padding: 2px 0 2px 20px; border-inline-start: 2px solid rgba(168,85,247,.5); }
.faq__row.is-active .faq__answer { max-width: 660px; opacity: 1; }
@media (min-width: 1200px) {
  .faq--rows.is-open .faq__col.is-wide { flex-grow: 2.7; }
  .faq--rows.is-open .faq__col.is-narrow { flex-grow: 0.55; gap: 9px; }
  .faq--rows.is-open .faq__col.is-narrow .faq__q { padding: 8px 14px; font-size: .82rem; font-weight: 500; white-space: nowrap; background: rgba(96,165,250,.10); border-color: rgba(96,165,250,.26); color: var(--text-soft); animation: none; box-shadow: none; transform: none; }
  .faq--rows.is-open .faq__col.is-narrow .faq__q:hover { transform: translateY(-2px); border-color: var(--brand-3); color: var(--text-strong); }
  .faq--rows.is-open .faq__col.is-narrow .faq__q > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .faq--rows.is-open .faq__col.is-narrow .faq__chev { width: .8rem; height: .8rem; }
}
@keyframes faqDrift {
  0%, 100% { transform: translate(0, 0); box-shadow: var(--shadow-sm), 0 12px 30px -18px rgba(168,85,247,.5); }
  20% { transform: translate(0, -4px); box-shadow: var(--shadow-sm), 0 12px 30px -18px rgba(168,85,247,.5); }
  40% { transform: translate(3px, 0); box-shadow: var(--shadow-sm), 0 12px 30px -18px rgba(96,165,250,.5); }
  60% { transform: translate(0, 4px); box-shadow: var(--shadow-sm), 0 12px 30px -18px rgba(96,165,250,.5); }
  80% { transform: translate(-3px, 0); box-shadow: var(--shadow-sm), 0 12px 30px -18px rgba(168,85,247,.5); }
}
@media (max-width: 1199px) {
  .faq--rows { flex-direction: column; gap: 12px; max-width: 560px; }
  .faq__q { animation: none; }
  .faq__row { flex-direction: column; align-items: stretch; }
  .faq__answer { max-width: none; max-height: 0; transition: max-height .5s var(--ease), opacity .4s var(--ease); }
  .faq__answer p { width: auto; margin-inline-start: 8px; padding: 12px 6px 2px 18px; }
  .faq__row.is-active .faq__answer { max-width: none; max-height: 320px; }
  .faq__chev { transform: rotate(0deg); }
  .faq__row.is-active .faq__chev { transform: rotate(180deg); }
}

/* ---------- CTA ---------- */
.cta { padding: clamp(42px, 4.4vw, 62px) 0; }
.cta__box { position: relative; overflow: hidden; background: var(--ink); border-radius: 30px; padding: clamp(36px, 6vw, 70px) clamp(24px, 5vw, 64px); text-align: center; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.06); }
.cta__box::before { content: ""; position: absolute; inset: auto -10% -60% auto; width: 500px; height: 500px; background: radial-gradient(circle, rgba(139,92,246,.5), transparent 60%); }
.cta__box::after { content: ""; position: absolute; inset: -60% auto auto -10%; width: 420px; height: 420px; background: radial-gradient(circle, rgba(245,179,1,.25), transparent 60%); }
.cta__box > * { position: relative; z-index: 1; }
.cta__title { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; }
.cta__sub { color: var(--on-ink-soft); margin-top: 14px; max-width: 560px; margin-inline: auto; }
.cta__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta__mail { margin-top: 22px; color: var(--on-ink-soft); font-size: .95rem; }
.cta__mail a { color: var(--accent); font-weight: 600; }
.cta__mail a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { background: #060912; color: #9aa6c4; padding: clamp(40px, 6vw, 70px) 0 30px; }
[data-theme="light"] .footer { background: #070b16; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 36px; }
.footer__brand p { margin-top: 16px; max-width: 320px; font-size: .95rem; }
.footer__brand .footer__slogan { margin-top: 12px; max-width: none; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.08rem; line-height: 1.2; background: linear-gradient(100deg, #7c3aed, #a855f7, #e0529c, #f59e0b, #f97316, #e0529c, #a855f7, #7c3aed); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: brandArFlow 4s linear infinite; }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .footer__brand .footer__slogan { animation: none; } }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.06); color: #fff; transition: .25s var(--ease); }
.socials a:hover { background: var(--brand); transform: translateY(-3px); }
.socials .ic { width: 1.2rem; height: 1.2rem; }
.footer__col h4 { font-family: "Sora",sans-serif; font-weight: 800; font-size: .98rem; margin-bottom: 16px; background: var(--grad); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: legalTitleFlow 6s linear infinite; }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .footer__col h4 { animation: none; } }
.footer__col a { display: block; padding: 6px 0; font-size: .94rem; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__pays { display: grid; gap: 10px; }
.footer__pays span { display: inline-flex; align-items: center; gap: 9px; font-size: .92rem; }
.footer__pays .ic { color: var(--accent); width: 1.2rem; height: 1.2rem; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: .86rem; }
.footer__app { margin-top: 24px; }
.footer__app-label { display: block; font-size: .88rem; color: #c3cce4; margin-bottom: 11px; }
.footer__badges { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 290px; max-width: 100%; }
.footer__app .appbadge { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-width: 0; padding: 8px 8px; border-radius: 11px; background: #0c1020; border: 1px solid rgba(255,255,255,.18); color: #fff; transition: border-color .25s var(--ease), transform .25s var(--ease); }
.footer__app .appbadge:hover { border-color: rgba(255,255,255,.45); transform: translateY(-2px); }
.appbadge .ic { width: 20px; height: 20px; flex: none; }
.appbadge__txt { display: flex; flex-direction: column; line-height: 1.1; text-align: start; }
.appbadge__txt small { font-size: .52rem; letter-spacing: .03em; text-transform: uppercase; opacity: .8; white-space: nowrap; }
.appbadge__txt b { font-family: "Sora",sans-serif; font-size: .84rem; font-weight: 700; white-space: nowrap; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer__legal a { color: #F59E0B; font-size: .86rem; font-weight: 600; transition: color .2s; }
.footer__legal a:hover { color: #ffd75e; text-decoration: underline; }
.footer__name { color: #F59E0B; font-weight: 700; }
/* left brand block = brand + tagline + animated pills | right = social/app/pay */
.footer__grid { grid-template-columns: 1.4fr .82fr .82fr 1.4fr; }
.footer__right { display: grid; gap: 20px; align-content: start; }
.footer__right .socials { margin-top: 4px; }
.footer__right .socials a { display: grid; place-items: center; padding: 0; }
.footer__app { margin-top: 0; }
.footer__pays--logos { display: flex; flex-direction: column; gap: 8px; width: 290px; max-width: 100%; margin-top: 4px; }
.payrow { display: flex; gap: 8px; }
.payrow .paylogo { flex: 1 1 0; min-width: 0; padding: 0 6px; }
.paylogo { display: inline-flex; align-items: center; justify-content: center; height: 28px; min-width: 46px; padding: 0 10px; border-radius: 6px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.28); }
.paylogo__svg { height: 18px; width: auto; display: block; }
.paylogo__svg--bnb { height: 19px; }
.pl-visa { color: #1434CB; font-family: "Sora",sans-serif; font-weight: 800; font-style: italic; font-size: .9rem; letter-spacing: -.02em; }
.pl-pp { font-family: "Sora",sans-serif; font-style: italic; font-weight: 800; font-size: .82rem; color: #0070e0; }
.pl-pp b { color: #003087; }
.pl-cashplus { font-family: "Sora",sans-serif; font-weight: 800; font-size: .78rem; letter-spacing: -.01em; color: #3da99f; }
.pl-cashplus b { color: #2e6e89; font-weight: 800; }
.paylogo--vir { gap: 5px; }
.paylogo--vir .ic { width: 15px; height: 15px; color: #23408e; }
.pl-vir { font-family: "Sora",sans-serif; font-weight: 700; font-size: .74rem; color: #23408e; }
.paylogo--apple, .paylogo--gpay { gap: 3px; }
.paylogo__svg--apple { height: 16px; color: #000; }
.paylogo__svg--gpay { height: 16px; }
.pl-pay { font-family: "Sora",sans-serif; font-weight: 600; font-size: .82rem; letter-spacing: -.01em; color: #3c4043; }
.paylogo--apple .pl-pay { color: #000; }
.paylogo--gpay .pl-pay { color: #5f6368; }
.footer__pills { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 22px; }
.fpill { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; padding: 10px 17px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); color: #e7ecff; font-size: .9rem; font-weight: 600; animation: fpillFloat 4s ease-in-out infinite; }
.fpill--spin { animation-delay: .9s; }
.fpill > * { position: relative; z-index: 1; }
.fpill .ic { width: 1.05rem; height: 1.05rem; color: var(--brand-3); flex: none; }
.fpill--live { background: rgba(124,58,237,.16); border-color: rgba(124,58,237,.34); }
.fpill__dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; flex: none; animation: livePulse 2.2s ease-out infinite; }
.fpill--spin .ic { animation: fpillSpin 2.6s linear infinite; }
.fpill::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.16) 50%, transparent 65%); transform: translateX(-130%); animation: fpillShine 4.6s ease-in-out infinite; pointer-events: none; }
.fpill--spin::after { animation-delay: 1.7s; }
@keyframes fpillSpin { to { transform: rotate(360deg); } }
@keyframes fpillShine { 0%, 38% { transform: translateX(-130%); } 68%, 100% { transform: translateX(130%); } }
@keyframes fpillFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; } }

/* Legal / content pages */
.legal { padding: clamp(96px, 13vh, 150px) 0 70px; }
.legal__head { max-width: none; }
.legal__updated { color: var(--muted); font-size: .9rem; margin-top: 6px; }
/* corps du document : pleine largeur du site, en carte, sur 2 colonnes lisibles en grand écran */
.legal__body { max-width: none; color: var(--text-soft); font-size: 1.02rem; line-height: 1.7; margin-top: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: clamp(22px, 3vw, 52px); box-shadow: var(--shadow-md); }
@media (min-width: 1000px) { .legal__body { column-count: 2; column-gap: clamp(40px, 4.4vw, 76px); } }
.legal__body h2 { font-family: "Sora",sans-serif; font-size: 1.22rem; font-weight: 800; margin: 30px 0 10px; break-after: avoid; -webkit-column-break-after: avoid; background: var(--grad); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: legalTitleFlow 6s linear infinite; }
@keyframes legalTitleFlow { to { background-position: 220% center; } }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .legal__body h2 { animation: none; } }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p, .legal__body li { margin: 8px 0; break-inside: avoid; text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
.legal__body ul { padding-inline-start: 22px; }
.legal__body a { color: var(--brand); }
.legal__note { margin: 16px 0 8px; padding: 13px 16px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 9%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent); color: var(--text-soft); font-size: .92rem; }
.legal__body mark { background: rgba(168,85,247,.2); color: var(--text-strong); padding: 0 4px; border-radius: 4px; }

/* ---------- Floating contact buttons (expand to reveal label) ---------- */
.fabs { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.fab { position: relative; display: flex; align-items: center; height: 54px; border-radius: 27px; color: #fff; box-shadow: 0 12px 26px -8px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.35); animation: fabIn .45s ease both; transition: box-shadow .3s var(--ease); }
.fab--wa { background: #25d366; --ring: 37,211,102; }
.fab--tg { background: #2aabee; --ring: 42,171,238; animation-delay: .08s; }
.fab--support { background: var(--grad); --ring: 168,85,247; animation-delay: .16s; }
.fab__ico { width: 54px; height: 54px; flex: none; display: grid; place-items: center; position: relative; z-index: 1; }
.fab__ico .ic { width: 1.6rem; height: 1.6rem; }
.fab__label { max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap; font-family: "Sora",sans-serif; font-weight: 700; font-size: .9rem; transition: max-width .4s var(--ease), opacity .3s var(--ease), padding .4s var(--ease); }
.fab:hover .fab__label, .fab:focus-within .fab__label { max-width: 240px; opacity: 1; padding-inline-start: 20px; }
.fab:hover, .fab:focus-within { box-shadow: 0 16px 34px -8px rgba(var(--ring), .85), inset 0 1px 0 rgba(255,255,255,.4); }
.fab::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(var(--ring), .5); animation: fabPulse 2.6s ease-out infinite; pointer-events: none; }
.fab--tg::after { animation-delay: .7s; }

/* ===== Coupon widget (hanging gold tag + brand modal) ===== */
.cpn-tag { position: fixed; inset-inline-start: 22px; bottom: 26px; z-index: 71; display: inline-flex; align-items: center; gap: 7px; padding: 11px 15px; border: 0; cursor: pointer; border-radius: 14px; color: #6b4500; font-family: "Sora",sans-serif; font-weight: 800; font-size: .82rem; letter-spacing: .03em; background: linear-gradient(135deg, #ffd95e, #f7b500); box-shadow: 0 12px 24px -8px rgba(247,181,0,.7), inset 0 1px 0 rgba(255,255,255,.55); transform-origin: center -10px; animation: cpnSwing 3.6s ease-in-out infinite; }
.cpn-tag .ic { width: 17px; height: 17px; }
.cpn-tag::before { content: ""; position: absolute; top: -11px; inset-inline-start: 50%; width: 9px; height: 9px; margin-inline-start: -4.5px; border-radius: 50%; background: #f7b500; box-shadow: 0 0 0 3px rgba(247,181,0,.28); }
.cpn-tag::after { content: ""; position: absolute; top: -6px; inset-inline-start: 50%; width: 2px; height: 9px; margin-inline-start: -1px; background: #f7b500; }
.cpn-tag:hover { animation-play-state: paused; filter: brightness(1.05); }
@keyframes cpnSwing { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }

.cpn-modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 18px; }
.cpn-modal[hidden] { display: none; }
.cpn-modal__overlay { position: absolute; inset: 0; background: rgba(6,8,20,.6); backdrop-filter: blur(3px); }
.cpn-modal__panel { position: relative; width: min(440px, 100%); max-height: 86vh; display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border-radius: 22px; box-shadow: var(--shadow-lg); animation: cpnPop .3s ease; }
@keyframes cpnPop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.cpn-modal__head { position: relative; padding: 20px 22px 16px; background: var(--grad); color: #fff; }
.cpn-modal__badge { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.18); margin-bottom: 10px; }
.cpn-modal__badge .ic { width: 24px; height: 24px; }
.cpn-modal__ht h3 { font-family: "Sora",sans-serif; font-size: 1.16rem; font-weight: 800; }
.cpn-modal__ht p { opacity: .92; font-size: .9rem; margin-top: 2px; }
.cpn-modal__x { position: absolute; top: 16px; inset-inline-end: 16px; width: 33px; height: 33px; display: grid; place-items: center; border-radius: 50%; border: 0; background: rgba(255,255,255,.2); color: #fff; cursor: pointer; }
.cpn-modal__x:hover { background: rgba(255,255,255,.35); }
.cpn-modal__x .ic { width: 1rem; height: 1rem; }
.cpn-tabs { display: inline-flex; gap: 3px; margin-top: 14px; background: rgba(255,255,255,.2); border-radius: 999px; padding: 4px; }
.cpn-tab { border: 0; background: transparent; color: #fff; padding: 7px 15px; border-radius: 999px; font-family: "Sora",sans-serif; font-weight: 700; font-size: .82rem; cursor: pointer; transition: .2s var(--ease); }
.cpn-tab.is-active { background: #fff; color: var(--brand); }
.cpn-modal__body { padding: 16px; overflow-y: auto; display: grid; gap: 13px; }
.cpn-card { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; padding: 14px 16px; border: 1.5px dashed color-mix(in srgb, var(--brand) 32%, var(--border)); border-radius: 14px; background: color-mix(in srgb, var(--brand) 4%, var(--surface)); }
.cpn-card__pct { text-align: center; line-height: 1; }
.cpn-card__num { display: block; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.5rem; background: var(--grad-2); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.cpn-card__off { font-size: .64rem; font-weight: 800; letter-spacing: .12em; color: var(--brand); }
.cpn-card__info { min-width: 0; }
.cpn-card__info h4 { font-family: "Sora",sans-serif; font-size: .96rem; font-weight: 700; color: var(--text-strong); }
.cpn-card__info p { font-size: .79rem; color: var(--muted); margin-top: 1px; }
.cpn-card__get { border: 0; cursor: pointer; background: var(--grad-2); color: #fff; font-family: "Sora",sans-serif; font-weight: 700; font-size: .8rem; padding: 9px 15px; border-radius: 999px; white-space: nowrap; transition: filter .2s, transform .2s; }
.cpn-card__get:hover { filter: brightness(1.08); transform: translateY(-1px); }
.cpn-card__get.is-got { background: rgba(34,197,94,.15); color: #16a34a; }
.cpn-card__applies { grid-column: 1 / -1; margin-top: 3px; padding-top: 10px; border-top: 1px dashed var(--border); color: var(--brand); font-size: .77rem; font-weight: 600; }
.cpn-empty { text-align: center; color: var(--muted); padding: 26px 10px; font-size: .92rem; }
.cpn-modal__foot { padding: 13px; text-align: center; color: var(--muted); font-size: .8rem; border-top: 1px solid var(--border); }
@media (max-width: 480px) { .cpn-card { grid-template-columns: auto 1fr; } .cpn-card__get { grid-column: 2; justify-self: start; } }
.fab--support::after { animation-delay: 1.4s; }
.fab:hover::after, .fab:focus-within::after { animation: none; }
@keyframes fabIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fabPulse { 0% { box-shadow: 0 0 0 0 rgba(var(--ring), .45); } 70%, 100% { box-shadow: 0 0 0 15px rgba(var(--ring), 0); } }

/* ---------- Reveal animation ---------- */
/* Contenu visible PAR DÉFAUT. On ne le cache (pour l'animation d'apparition) que si le
   JS a bien démarré (classe .reveal-on posée par layout.js) → jamais de contenu invisible. */
.reveal { transition: opacity .6s var(--ease), transform .6s var(--ease); }
html.reveal-on .reveal:not(.is-in) { opacity: 0; transform: translateY(22px); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   RTL (Arabic)
   ========================================================= */
[dir="rtl"] body { font-family: "Cairo", "Inter", system-ui, sans-serif; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { font-family: "Cairo", "Sora", sans-serif; letter-spacing: 0; }
[dir="rtl"] .kicker, [dir="rtl"] .btn, [dir="rtl"] .nav a, [dir="rtl"] .glasscard__title,
[dir="rtl"] .lang__btn, [dir="rtl"] .step__num, [dir="rtl"] .plan__amount,
[dir="rtl"] .faq__item summary, [dir="rtl"] .card__link, [dir="rtl"] .glasscard__cta,
[dir="rtl"] .plan__badge, [dir="rtl"] .footer__col h4, [dir="rtl"] .quote figcaption { font-family: "Cairo", sans-serif; }
[dir="rtl"] .strip__brands span { font-family: "Sora", sans-serif; } /* keep latin brand names */
[dir="rtl"] .card__link:hover .ic { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .card__link .ic, [dir="rtl"] .hero__cta .ic, [dir="rtl"] .btn .ic { } /* arrows handled by scaleX below */
[dir="rtl"] .ic use[href="#i-arrow"] { } /* no-op */
[dir="rtl"] svg.ic { } /* default */
[dir="rtl"] .btn::after, [dir="rtl"] .card::after { transform: scaleX(-1) translateX(-120%); }
[dir="rtl"] .glasscard__list li:hover { transform: translateX(-3px); }
[dir="rtl"] .lang { direction: ltr; } /* keep EN/FR/ع order stable */

/* flip directional arrows */
[dir="rtl"] .hero__cta .btn--primary .ic,
[dir="rtl"] .card__link .ic { transform: scaleX(-1); }
[dir="rtl"] .card__link:hover .ic { transform: scaleX(-1) translateX(4px); }

/* =========================================================
   Mobile menu panel
   ========================================================= */
@media (max-width: 900px) {
  .header__row { height: 60px; }
  .topbar { display: none; }
  .aud--row, .util--row, .acct--row, .swizbtn--head { display: none; }
  .burger { display: flex; }

  /* Mobile header layout: burger left · logo + name center · cart right */
  .header__row { display: flex; position: relative; justify-content: center; align-items: center; padding-inline: 60px; gap: 8px; }
  .header__row > .brand { min-width: 0; }
  .header__row .brand__text, .header__row .brand__ar { display: none; } /* téléphone : logo seul, sans le nom */
  .header__actions > .theme-toggle, .header__actions > .theme-dd { display: none; }
  .burger { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); margin: 0; }
  .iconbtn--cart { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); margin: 0; }

  .header__bottom {
    display: block; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--surface);
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s; z-index: 55;
  }
  .header.is-open .header__bottom { opacity: 1; visibility: visible; transform: none; }
  .header__row2 { display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px 4px 18px; }
  .nav--row { display: none; }
  .nav--panel { display: flex; }
  .nav--main { flex-direction: column; gap: 2px; margin: 0; padding: 0; }
  .nav a { padding: 12px; font-size: 1.02rem; }
  .aud--panel { display: flex; flex-direction: column; gap: 2px; order: -1; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--border-2); }
  .aud--panel .aud__link { padding: 12px; border-radius: 10px; font-size: 1.02rem; }
  .aud--panel .aud__link.is-active { background: var(--chip); }
  .panel-extra { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--border-2); }
}

/* ---------- Responsive grids ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { order: -1; }
  .cards, .features, .quotes { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pays { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1120px) { .plans--4 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-inline: auto; } }
@media (max-width: 600px) { .plans--4 { grid-template-columns: 1fr; max-width: 460px; } }
/* Fix: the generic .plans/.plan "tools list" rules (flex column + 240px/1fr)
   globally override the pack grid. Re-assert the 4 vertical cards in a row,
   scoped to packs only (entreprises uses .plans--carousel / .plan__t, untouched). */
.plans--4 { display: grid; align-items: stretch; }
.plan.pack { display: flex; flex-direction: column; grid-template-columns: none; align-items: stretch; padding: 34px 26px 30px; border-radius: var(--radius-lg); }
.plan.pack:hover { transform: translateY(-4px); }
/* Audience groups (pricing): one set of 4 packs visible at a time, smooth switch */
.aud-group[hidden] { display: none; }
.aud-group { animation: audIn .5s var(--ease) both; }
@keyframes audIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
/* Student -30% : ruban tres visible + pulsation douce */
.pack__student { display: inline-block; align-self: flex-start; background: linear-gradient(135deg, #15a34a, #22c55e 60%, #4ade80); color: #fff; font-family: "Sora", sans-serif; font-weight: 800; font-size: .76rem; letter-spacing: .01em; padding: 6px 13px; border-radius: 999px; margin-bottom: 12px; box-shadow: 0 8px 22px -7px rgba(34, 197, 94, .8); animation: studPulse 1.9s ease-in-out infinite; }
.pack__save--stud { background: rgba(34, 197, 94, .22); color: #16a34a; }
[data-theme="dark"] .pack__save--stud { color: #4ade80; }
.plan--featured .pack__student { box-shadow: 0 8px 24px -6px rgba(34, 197, 94, .95); }
@keyframes studPulse { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-1px) scale(1.045); box-shadow: 0 12px 28px -6px rgba(34, 197, 94, 1); } }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .aud-group, .pack__student { animation: none !important; } }

@media (max-width: 860px) {
  .proc { flex-direction: column; }
  .proc__stage { width: 100%; }
  .proc__arrow { transform: rotate(90deg); margin: 2px auto; }
}
@media (max-width: 760px) {
  .flow__nodes { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .flow__desc { padding-inline-start: 0; }
}
@media (max-width: 600px) {
  .cards, .features, .quotes, .steps, .pays { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__trust { gap: 8px 18px; }
  .lang__btn { padding: 6px 8px; font-size: .76rem; }
  .topbar { font-size: .78rem; }
  .flow__step { padding: 18px; }
  .autoarrow { transform: rotate(90deg); }
  [dir="rtl"] .autoarrow { transform: rotate(90deg); }
}

/* ===================== SHARE A SUBSCRIPTION ===================== */
.share__tabs { position: relative; display: flex; width: min(360px, 86vw); margin: 0 auto clamp(30px, 4vw, 46px); padding: 5px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-sm), var(--hi); }
.share__pill { position: absolute; top: 0; left: 0; width: 0; height: 0; border-radius: 999px; background: var(--grad); box-shadow: 0 12px 26px -10px rgba(168,85,247,.8); transition: left .42s var(--ease), width .42s var(--ease); }
.share__tab { position: relative; z-index: 1; flex: 1 1 0; padding: 11px 12px; border: 0; background: none; color: var(--text-soft); font-family: "Sora",sans-serif; font-weight: 700; font-size: .95rem; cursor: pointer; transition: color .3s; }
.share__tab.is-active { color: #fff; }

.share__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.share__setname { font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1.15rem, 1.9vw, 1.45rem); background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; margin-bottom: 16px; }
.share__set { display: none; }
.share__set.is-active { display: block; animation: ppanelIn .4s var(--ease); }
.share__acc { display: flex; flex-direction: column; }
.sstep { border-top: 1px solid var(--border); transition: background .3s; }
.sstep:first-child { border-top: 0; }
.sstep.is-open { background: var(--glass); border-radius: 16px; }
.sstep.is-open, .sstep.is-open + .sstep { border-top-color: transparent; }
.sstep__head { width: 100%; display: flex; align-items: center; gap: 16px; padding: 17px 16px; background: none; border: 0; cursor: pointer; text-align: start; color: var(--text-strong); font-family: "Sora",sans-serif; font-weight: 700; font-size: clamp(1.02rem, 1.5vw, 1.22rem); }
.sstep__ic { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--chip-soft); color: var(--brand); transition: background .35s var(--ease), color .35s, box-shadow .35s; }
.sstep__ic svg { width: 1.35rem; height: 1.35rem; }
.sstep.is-open .sstep__ic { background: var(--grad); color: #fff; box-shadow: 0 12px 24px -10px rgba(168,85,247,.7); }
.sstep__t { flex: 1 1 auto; }
.sstep__x { flex: 0 0 auto; position: relative; width: 18px; height: 18px; color: var(--text-soft); transition: color .3s, transform .38s var(--ease); }
.sstep__x::before, .sstep__x::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; transition: transform .38s var(--ease), opacity .3s; }
.sstep__x::before { top: 50%; left: 0; width: 100%; height: 2.4px; transform: translateY(-50%); }
.sstep__x::after { left: 50%; top: 0; width: 2.4px; height: 100%; transform: translateX(-50%); }
.sstep.is-open .sstep__x { color: var(--brand); transform: rotate(180deg); }
.sstep.is-open .sstep__x::after { transform: translateX(-50%) scaleY(0); opacity: 0; }
.sstep__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .42s var(--ease); }
.sstep.is-open .sstep__body { grid-template-rows: 1fr; }
.sstep__bodyin { overflow: hidden; min-height: 0; }
.sstep__bodyin p { margin: 0 16px 20px; padding-inline-start: 60px; color: var(--text-soft); font-size: .98rem; line-height: 1.62; }

.share__visual { position: relative; }
.share__card { position: relative; overflow: hidden; border-radius: 28px; min-height: clamp(390px, 38vw, 470px); padding: 0; background: radial-gradient(130% 110% at 0% 0%, rgba(217,70,239,.55), transparent 55%), radial-gradient(130% 120% at 100% 100%, rgba(245,158,11,.55), transparent 58%), linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%); box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.18); }
.sdoodle { position: absolute; z-index: 1; color: rgba(255,255,255,.6); pointer-events: none; }
.sdoodle--1 { top: 22px; left: 22px; width: 56px; height: 38px; animation: sdoodleFloat 6s ease-in-out infinite; }
.sdoodle--2 { bottom: 56px; left: 30px; width: 34px; height: 34px; animation: sdoodleSpin 9s linear infinite; }
.sdoodle--3 { top: 30px; right: 26px; width: 22px; height: 22px; animation: sdoodleFloat 5s ease-in-out infinite; }
.sdoodle--4 { bottom: 26px; right: 38px; width: 40px; height: 40px; color: rgba(255,255,255,.5); animation: sdoodleFloat 7s ease-in-out infinite; }
@keyframes sdoodleFloat { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-9px) rotate(6deg); } }
@keyframes sdoodleSpin { to { transform: rotate(360deg); } }
.share__photo { position: absolute; z-index: 1; bottom: 0; left: 50%; transform: translateX(-50%); width: min(300px, 78%); height: auto; filter: drop-shadow(0 18px 26px rgba(0,0,0,.32)); pointer-events: none; }
.splan { position: absolute; z-index: 3; left: 5%; bottom: 10%; display: flex; align-items: center; gap: 10px; padding: 9px 13px; border-radius: 14px; color: #fff; background: rgba(8,10,26,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 18px 40px -16px rgba(0,0,0,.55); animation: snotifFloat 5s ease-in-out 1s infinite; }
.splan__logo { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, #F59E0B, #f472b6); color: #fff; }
.splan__logo svg { width: 1.15rem; height: 1.15rem; }
.splan__tx { display: flex; flex-direction: column; line-height: 1.22; }
.splan__tx b { font-family: "Sora",sans-serif; font-weight: 700; font-size: .86rem; }
.splan__sub { font-size: .72rem; color: rgba(255,255,255,.74); }
.splan__sub small { color: rgba(255,255,255,.6); }
.snotif { position: absolute; z-index: 3; top: 7%; inset-inline-end: 3%; display: flex; align-items: center; gap: 11px; padding: 11px 14px; border-radius: 16px; background: #fff; box-shadow: 0 26px 52px -16px rgba(0,0,0,.5); opacity: 0; transform: translateY(10px) scale(.95); transition: opacity .42s var(--ease), transform .42s var(--ease); pointer-events: none; }
.snotif.is-active { opacity: 1; transform: none; animation: snotifFloat 4.4s ease-in-out .5s infinite; }
@keyframes snotifFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.snotif__ic { flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: rgba(37,99,235,.12); color: #2563eb; }
.snotif__ic--g { background: rgba(16,163,74,.14); color: #16a34a; }
.snotif__ic svg { width: 1.2rem; height: 1.2rem; }
.snotif__tx { display: flex; flex-direction: column; line-height: 1.25; }
.snotif__lb { font-size: .73rem; color: #475569; }
.snotif__amt { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1rem; color: #1d4ed8; }
.snotif__amt--g { color: #15803d; }
.snotif__chk { flex: 0 0 auto; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #16a34a; color: #fff; }
.snotif__chk svg { width: .85rem; height: .85rem; }
.sscene { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; opacity: 0; transform: scale(.98); transition: opacity .45s var(--ease), transform .45s var(--ease); pointer-events: none; }
.sscene.is-active { opacity: 1; transform: none; pointer-events: auto; }
.scfg { width: min(324px, 88%); padding: 22px; border-radius: 20px; background: #fff; box-shadow: 0 30px 60px -22px rgba(0,0,0,.5); text-align: start; }
.scfg__lb { display: block; font-family: "Sora",sans-serif; font-weight: 700; font-size: .9rem; color: #0b1224; margin-bottom: 9px; }
.scfg__lb--mt { margin-top: 18px; }
.scfg__select { display: flex; align-items: center; justify-content: space-between; padding: 11px 13px; border: 1.5px solid #e6e9f1; border-radius: 13px; cursor: pointer; transition: border-color .2s; }
.scfg__select:hover { border-color: var(--brand); }
.scfg__svc { display: flex; align-items: center; gap: 10px; font-family: "Sora",sans-serif; font-weight: 800; color: #0b1224; font-size: 1rem; }
.scfg__svcic { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.scfg__svcic svg { width: 1.35rem; height: 1.35rem; }
.scfg__chev { width: 1.2rem; height: 1.2rem; color: #9aa3b8; }
.scfg__seatrow { position: relative; margin-top: 18px; }
.scfg__bubble { position: absolute; top: -5px; inset-inline-end: 0; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 9px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-family: "Sora",sans-serif; font-weight: 800; font-size: .82rem; }
.scfg__bubble svg { width: .9rem; height: .9rem; }
.scfg__slider { position: relative; height: 8px; border-radius: 999px; background: #e6e9f1; margin-top: 4px; cursor: pointer; touch-action: none; }
.scfg__fill { position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 80%; border-radius: 999px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.scfg__knob { position: absolute; left: 80%; top: 50%; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); transform: translate(-50%,-50%); box-shadow: 0 3px 8px rgba(0,0,0,.22); }
.scfg__vis { display: flex; gap: 10px; }
.scfg__vis button { padding: 9px 20px; border-radius: 999px; border: 1.5px solid #e6e9f1; background: #fff; color: #5b6478; font-family: "Sora",sans-serif; font-weight: 700; font-size: .9rem; cursor: pointer; }
.scfg__vis button.is-on { border-color: transparent; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 10px 20px -8px rgba(168,85,247,.6); }
.ssub { position: relative; width: min(266px, 80%); padding: 24px 22px; border-radius: 22px; background: #fff; box-shadow: 0 34px 66px -24px rgba(76,40,130,.5); border: 1.5px solid color-mix(in srgb, var(--brand) 22%, #fff); text-align: center; color: #0b1224; }
.ssub__ic { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: #fff; background: linear-gradient(180deg, #FB5C74, #F62F4B); box-shadow: 0 10px 22px -10px rgba(250,40,70,.65); }
.ssub__ic svg { width: 1.5rem; height: 1.5rem; }
.ssub__name { margin-top: 10px; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.4rem; color: #0b1224; }
.ssub__div { height: 1px; margin: 15px 0; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--brand) 38%, #e9ecf5), transparent); }
.ssub__price { font-family: "Sora",sans-serif; font-weight: 800; font-size: 2.1rem; line-height: 1; background: linear-gradient(120deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.ssub__price span { font-size: 1.1rem; -webkit-text-fill-color: var(--brand-2); color: var(--brand-2); }
.ssub__per { margin-top: 4px; font-size: .82rem; color: #5b6478; }
.ssub__users { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 9px 18px; border-radius: 999px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-family: "Sora",sans-serif; font-weight: 800; font-size: .9rem; box-shadow: 0 12px 24px -12px rgba(168,85,247,.7); }
.ssub__users svg { width: 1.05rem; height: 1.05rem; }
.ssub__date { margin-top: 14px; font-size: .78rem; color: #9aa3b8; }
.sscene[data-scene="p2"] { align-items: start; }
.sscene[data-scene="p2"] .spays { margin-top: clamp(20px, 4.5vw, 48px); }
.spays { width: min(338px, 92%); display: flex; flex-direction: column; gap: 16px; }
.spay { display: flex; align-items: center; gap: 13px; padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: 0 22px 44px -18px rgba(0,0,0,.45); text-align: start; }
.spay__av { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #34d399, #10b981); color: #fff; font-family: "Sora",sans-serif; font-weight: 800; font-size: .88rem; }
.spay__lg { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(135deg, var(--brand), var(--brand-3)); color: #fff; }
.spay__lg svg { width: 1.3rem; height: 1.3rem; }
.spay__tx { min-width: 0; }
.spay__tx b { display: block; font-family: "Sora",sans-serif; font-weight: 800; color: #0b1224; font-size: .98rem; }
.spay__tx span { display: block; font-size: .84rem; color: #5b6478; line-height: 1.4; }
.sconstel { width: min(366px, 96%); height: auto; }
.sscene__img { max-width: 86%; max-height: clamp(320px, 32vw, 396px); width: auto; height: auto; object-fit: contain; border-radius: 14px; filter: drop-shadow(0 16px 30px rgba(0,0,0,.34)); }
.sscene__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; pointer-events: none; opacity: .55; filter: saturate(.85); }
.sscene__front { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 3; pointer-events: none; }
.sscene[data-scene="j3"] .sscene__img, .sscene[data-scene="p3"] .sscene__img { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%), linear-gradient(to top, transparent 0, #000 16%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0, #000 16%), linear-gradient(to top, transparent 0, #000 16%); mask-composite: intersect; }
.spay__tx .spay__hd { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.spay__hd b { font-family: "Sora",sans-serif; font-weight: 800; color: #0b1224; font-size: .98rem; }
.spay__time { flex: 0 0 auto; font-size: .73rem; color: #9aa3b8; font-weight: 600; }
.screds { width: min(332px, 92%); padding: 20px; border-radius: 20px; background: #fff; box-shadow: 0 30px 60px -22px rgba(0,0,0,.5); }
.screds__hd { display: flex; align-items: center; justify-content: center; gap: 9px; margin-bottom: 16px; color: var(--brand-2); font-family: "Sora",sans-serif; font-weight: 800; font-size: 1rem; }
.screds__lock { flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.screds__lock svg { width: 1.05rem; height: 1.05rem; }
.scred { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 12px; background: #f1f3fa; }
.scred + .scred { margin-top: 10px; }
.scred__k { flex: 0 0 auto; font-family: "Sora",sans-serif; font-weight: 700; color: #0b1224; font-size: .82rem; }
.scred__v { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #5b6478; font-size: .82rem; }
.scred__cp { flex: 0 0 auto; width: 1.15rem; height: 1.15rem; color: var(--brand); }
.snotif--wide { max-width: min(258px, 72%); }
.snotif--wide .snotif__lb { font-size: .82rem; color: #1e293b; font-weight: 600; line-height: 1.35; }
@media (max-width: 920px) {
  .share__grid { grid-template-columns: 1fr; gap: 34px; }
  .share__visual { width: 100%; max-width: 460px; margin-inline: auto; }
}

/* ===================== SHARE WIZARD ===================== */
.swizbtn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 0; border-radius: 999px; background: var(--grad); color: #fff; font-family: "Sora",sans-serif; font-weight: 700; font-size: .86rem; cursor: pointer; white-space: nowrap; box-shadow: 0 10px 24px -10px rgba(168,85,247,.75); transition: transform .2s var(--ease), box-shadow .3s; }
.swizbtn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(168,85,247,.85); }
.swizbtn .ic { width: 1.05rem; height: 1.05rem; }
.share__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: clamp(30px, 4vw, 48px) auto 0; }
.share__cta .swizbtn { padding: 13px 24px; font-size: .98rem; }

.swiz[hidden] { display: none; }
.swiz { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; }
.swiz__ov { position: absolute; inset: 0; background: rgba(4,5,12,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.swiz__panel { position: relative; width: min(560px, 96vw); max-height: 92vh; overflow: hidden auto; display: flex; flex-direction: column; padding: clamp(22px, 3vw, 34px); border-radius: 24px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); animation: swizIn .35s var(--ease); }
@keyframes swizIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.swiz__x { position: absolute; top: 14px; inset-inline-end: 14px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--chip); color: var(--text-soft); cursor: pointer; transition: background .2s, color .2s; }
.swiz__x:hover { background: var(--chip-soft); color: var(--brand); }
.swiz__x .ic { width: 1.1rem; height: 1.1rem; }
.swiz__title { font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1.25rem, 2.2vw, 1.6rem); color: var(--text-strong); padding-inline-end: 36px; }
.swprog { display: flex; gap: 8px; margin: 16px 0 22px; }
.swprog__b { flex: 1 1 0; height: 6px; border-radius: 999px; background: var(--border); overflow: hidden; }
.swprog__b.is-on { background: var(--grad); }
.swstep { display: none; animation: ppanelIn .35s var(--ease); }
.swstep.is-active { display: block; }
.swstep__h { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--text-strong); margin-bottom: 16px; }
.swsvc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.swsvc__opt { cursor: pointer; }
.swsvc__opt input { position: absolute; opacity: 0; pointer-events: none; }
.swsvc__tile { display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 16px 8px; border-radius: 15px; border: 2px solid var(--border); background: var(--surface-2); transition: border-color .2s, box-shadow .2s, transform .2s; }
.swsvc__opt:hover .swsvc__tile { transform: translateY(-2px); }
.swsvc__opt input:checked + .swsvc__tile { border-color: var(--brand); box-shadow: 0 0 0 3px var(--chip-soft); }
.swsvc__ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #fff; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.1rem; box-shadow: 0 6px 14px -6px rgba(0,0,0,.5); }
.swsvc__nm { font-size: .8rem; font-weight: 700; color: var(--text); text-align: center; }
.swfield { margin-bottom: 18px; }
.swfield__lb { display: block; font-family: "Sora",sans-serif; font-weight: 700; font-size: .9rem; color: var(--text-strong); margin-bottom: 9px; }
.swfield__in { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--border); background: var(--surface-2); color: var(--text); font-family: "Inter",sans-serif; font-size: .95rem; }
.swfield__in:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--chip-soft); }
.swseats__val { float: inline-end; font-family: "Sora",sans-serif; font-weight: 800; color: var(--brand); }
.swrange { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; background: var(--border); outline: none; }
.swrange::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); cursor: pointer; box-shadow: 0 3px 8px rgba(0,0,0,.3); }
.swrange::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); cursor: pointer; }
.swvis { display: flex; gap: 10px; }
.swvis__opt { flex: 1 1 0; cursor: pointer; }
.swvis__opt input { position: absolute; opacity: 0; pointer-events: none; }
.swvis__box { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 12px; border: 1.5px solid var(--border); background: var(--surface-2); color: var(--text-soft); font-family: "Sora",sans-serif; font-weight: 700; font-size: .9rem; transition: border-color .2s, color .2s, background .2s; }
.swvis__opt input:checked + .swvis__box { border-color: transparent; background: var(--grad); color: #fff; }
.swnote { display: flex; gap: 10px; align-items: flex-start; margin-top: 6px; padding: 12px 14px; border-radius: 12px; background: var(--chip-soft); color: var(--text-soft); font-size: .84rem; line-height: 1.5; }
.swnote .ic { flex: 0 0 auto; width: 1.15rem; height: 1.15rem; color: var(--brand); margin-top: 1px; }
.swsum { display: flex; flex-direction: column; gap: 1px; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); }
.swsum__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--surface-2); }
.swsum__row span { color: var(--text-soft); font-size: .9rem; }
.swsum__row b { font-family: "Sora",sans-serif; font-weight: 800; color: var(--text-strong); }
.swdone { text-align: center; padding: 14px 0; }
.swdone__ic { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: rgba(52,211,153,.16); color: #34d399; margin-bottom: 16px; }
.swdone__ic .ic { width: 2.2rem; height: 2.2rem; }
.swdone__h { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--text-strong); }
.swdone__p { margin-top: 10px; color: var(--text-soft); line-height: 1.6; }
.swiz__foot { display: flex; gap: 12px; margin-top: 24px; }
.swiz__back { padding: 13px 22px; border-radius: 999px; border: 1.5px solid var(--border); background: none; color: var(--text); font-family: "Sora",sans-serif; font-weight: 700; font-size: .92rem; cursor: pointer; transition: background .2s; }
.swiz__back:hover { background: var(--chip); }
.swiz__back[hidden] { display: none; }
.swiz__next { flex: 1 1 auto; padding: 13px 22px; border: 0; border-radius: 999px; background: var(--grad); color: #fff; font-family: "Sora",sans-serif; font-weight: 700; font-size: .95rem; cursor: pointer; box-shadow: 0 12px 26px -10px rgba(168,85,247,.75); transition: transform .2s, box-shadow .3s, opacity .2s; }
.swiz__next:hover { transform: translateY(-2px); }
.swiz__next:disabled { opacity: .5; cursor: not-allowed; transform: none; }
@media (max-width: 460px) { .swsvc { grid-template-columns: repeat(2, 1fr); } }
.swizbtn--panel { width: 100%; justify-content: center; padding: 12px; margin-bottom: 8px; }
@media (max-width: 1200px) and (min-width: 901px) { .swizbtn--head span { display: none; } .swizbtn--head { padding: 9px 11px; } }

/* ---- share wizard extras + offers ---- */
.swizbtn--ghost { background: var(--surface); color: var(--text); border: 1.5px solid var(--border); box-shadow: none; }
.swizbtn--ghost:hover { background: var(--chip); box-shadow: none; }
.swselect { -webkit-appearance: none; appearance: none; padding-inline-end: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%239aa6c4' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; }
[dir="rtl"] .swselect { background-position: left 13px center; }
.swselect option { color: #111; }
.swplan { display: flex; flex-direction: column; gap: 10px; }
.swplan__opt { cursor: pointer; }
.swplan__opt input { position: absolute; opacity: 0; pointer-events: none; }
.swplan__box { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 14px; border: 2px solid var(--border); background: var(--surface-2); transition: border-color .2s, box-shadow .2s; }
.swplan__opt input:checked + .swplan__box { border-color: var(--brand); box-shadow: 0 0 0 3px var(--chip-soft); }
.swplan__box b { font-family: "Sora",sans-serif; font-weight: 800; color: var(--text-strong); }
.swplan__box span { font-size: .82rem; color: var(--text-soft); }
.swhint { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; font-size: .82rem; color: var(--text-soft); line-height: 1.45; }
.swhint .ic { flex: 0 0 auto; width: 1rem; height: 1rem; color: var(--accent); margin-top: 2px; }
.offmodal__panel { width: min(800px, 96vw); }
.offmodal__sub { margin: -6px 0 18px; color: var(--text-soft); }
.offgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.offcard { display: flex; flex-direction: column; gap: 13px; padding: 16px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface-2); }
.offcard__top { display: flex; align-items: center; gap: 11px; }
.offcard__ic { flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; color: #fff; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1rem; }
.offcard__meta { min-width: 0; }
.offcard__meta b { display: block; font-family: "Sora",sans-serif; font-weight: 800; color: var(--text-strong); }
.offcard__meta span { font-size: .8rem; color: var(--text-soft); }
.offcard__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.offcard__seats { font-size: .84rem; color: var(--text-soft); }
.offcard__price { font-family: "Sora",sans-serif; font-weight: 800; color: var(--text-strong); }
.offcard__price i { font-style: normal; font-size: .72rem; font-weight: 600; color: var(--text-soft); }
.offcard__join { padding: 10px; border: 0; border-radius: 999px; background: var(--grad); color: #fff; font-family: "Sora",sans-serif; font-weight: 700; font-size: .88rem; cursor: pointer; transition: transform .2s; }
.offcard__join:hover { transform: translateY(-2px); }
@media (max-width: 720px) { .offgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .offgrid { grid-template-columns: 1fr; } }

/* ---- compact catalog tiles ---- */
.cats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.catile { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--hi); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.catile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.catile__ic { flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px; }
.catile__ic .ic { width: 2.4rem; height: 2.4rem; }
.catile__tx { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.catile__tx b { font-family: "Sora",sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--text-strong); line-height: 1.2; }
.catile__tags { font-size: .82rem; color: var(--text-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.catile__ar { flex: 0 0 auto; width: 1.1rem; height: 1.1rem; color: var(--brand); transition: transform .25s var(--ease); }
.catile:hover .catile__ar { transform: translateX(4px); }
[dir="rtl"] .catile:hover .catile__ar { transform: translateX(-4px); }
@media (max-width: 1080px) { .cats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .cats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .cats-grid { grid-template-columns: 1fr; } }

#catalog .section__head { max-width: 960px; }
#catalog .section__title, #catalog .section__lead { white-space: nowrap; }
@media (max-width: 720px) { #catalog .section__title, #catalog .section__lead { white-space: normal; } }
/* Keep these specific phrases on a single line on desktop (wrap again on smaller screens) */
#share .section__head { max-width: 900px; }
#giftcard .section__head { max-width: 860px; }
#gift-faq .section__head { max-width: 940px; }
#partners .section__head { max-width: 1040px; }
#giftcard .gchero__head { max-width: 1080px; }
[data-i18n="share.lead"], [data-i18n="gcfg.lead"], [data-i18n="gfaq.title"], .gchero__title { white-space: nowrap; }
#partners [data-i18n="partners.lead"] { white-space: normal; background: linear-gradient(100deg, #7c3aed, #a855f7, #e0529c, #f59e0b, #f97316, #e0529c, #a855f7, #7c3aed); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #a855f7; filter: drop-shadow(0 1px 12px rgba(168,85,247,.26)); animation: brandArFlow 5s linear infinite; }
@media (max-width: 980px) { [data-i18n="share.lead"], [data-i18n="gcfg.lead"], [data-i18n="gfaq.title"], #partners [data-i18n="partners.lead"] { white-space: normal; } }
@media (max-width: 880px) { .gchero__title { white-space: normal; } }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { #partners [data-i18n="partners.lead"] { animation: none; } }

/* ---- popular products ---- */
.popgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.popcard { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 16px 20px; border-radius: 18px;
  background:
    radial-gradient(125% 74% at 50% -12%, color-mix(in srgb, var(--pc) 34%, transparent), transparent 58%),
    radial-gradient(118% 60% at 50% 112%, color-mix(in srgb, var(--pc) 24%, transparent), transparent 62%),
    linear-gradient(135deg, color-mix(in srgb, #fff 14%, transparent), transparent 32%),
    var(--surface);
  border: 1px solid color-mix(in srgb, var(--pc) 24%, var(--border));
  box-shadow: var(--hi), 0 1px 0 color-mix(in srgb, #fff 45%, transparent) inset;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.popcard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, transparent, var(--pc), transparent); transform: scaleX(0); transform-origin: center; transition: transform .35s var(--ease); }
.popcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 42%, color-mix(in srgb, var(--pc) 6%, rgba(255,255,255,.05)) 50%, transparent 58%); transform: translateX(-130%); transition: transform .9s var(--ease); pointer-events: none; }
.popcard:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -22px color-mix(in srgb, var(--pc) 38%, transparent), var(--shadow-md); border-color: color-mix(in srgb, var(--pc), transparent 48%); }
.popcard:hover::before { transform: scaleX(1); }
.popcard:hover::after { transform: translateX(130%); }
.popcard--tint { background:
  radial-gradient(125% 76% at 50% -12%, color-mix(in srgb, var(--pc) 38%, transparent), transparent 58%),
  radial-gradient(120% 62% at 50% 112%, color-mix(in srgb, var(--pc) 28%, transparent), transparent 62%),
  linear-gradient(135deg, color-mix(in srgb, #fff 15%, transparent), transparent 32%),
  var(--surface); }
.popcard__lg { width: 58px; height: 58px; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--pc) 65%, rgba(0,0,0,.5)); display: grid; place-items: center; transition: transform .3s var(--ease); }
.popcard:hover .popcard__lg { transform: scale(1.07) translateY(-1px); }
.popcard__lg img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* logo provisoire (placeholder) : pastille à la couleur du produit + initiales */
.popcard__lg--ph { background: var(--pc); }
.popcard__lg--ph b { font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.45rem; color: #fff; line-height: 1; }
.popcard--ink .popcard__lg--ph b { color: #0b1020; }
.popcard__n { margin-top: 14px; font-family: "Sora",sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--text-strong); }
.popcard__cat { margin-top: 9px; padding: 4px 13px; border-radius: 999px; background: var(--pc, var(--brand)); border: 0; font-family: "Sora",sans-serif; font-weight: 800; font-size: .7rem; color: #fff; }
.popcard--ink .popcard__cat { color: #0b1020; }
.popcard__priceline { margin-top: 13px; display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.popcard__price { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.55rem; line-height: 1; color: var(--text-strong); white-space: nowrap; }
.popcard__price i { font-style: normal; font-size: .76rem; font-weight: 700; color: var(--text-soft); margin-inline-start: 3px; }
.popcard__per { font-size: .73rem; color: var(--muted); }
.popcard__cta { position: relative; z-index: 1; margin-top: 18px; width: 100%; padding: 11px; border-radius: 999px; background: var(--pc); color: #fff; font-family: "Sora",sans-serif; font-weight: 700; font-size: .88rem; text-decoration: none; transition: filter .2s, transform .2s, box-shadow .2s; }
.popcard__cta::after { content: "→"; display: inline-block; margin-inline-start: 6px; transition: transform .2s var(--ease); }
.popcard:hover .popcard__cta { box-shadow: 0 10px 22px -8px color-mix(in srgb, var(--pc) 75%, transparent); }
.popcard__cta:hover { filter: brightness(1.08); transform: translateY(-1px); }
.popcard__cta:hover::after { transform: translateX(4px); }
[dir="rtl"] .popcard__cta::after { content: "←"; }
[dir="rtl"] .popcard__cta:hover::after { transform: translateX(-4px); }
.popcard--ink .popcard__cta { color: #0b1020; }
.popcard__off { position: absolute; top: 10px; right: 10px; z-index: 2; padding: 3px 9px; border-radius: 999px; background: linear-gradient(135deg, #f43f5e, #f97316); color: #fff; font-family: "Sora",sans-serif; font-weight: 800; font-size: .68rem; box-shadow: 0 6px 14px -7px rgba(244,63,94,.7); }
.popcard__pop { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 3px 9px; border-radius: 999px; background: var(--grad); color: #fff; font-family: "Sora",sans-serif; font-weight: 800; font-size: .6rem; letter-spacing: .05em; text-transform: uppercase; box-shadow: 0 6px 14px -7px rgba(168,85,247,.6); }
.popcard__old { font-family: "Sora",sans-serif; font-weight: 700; font-size: .9rem; color: var(--muted); text-decoration: line-through; margin-inline-end: 7px; vertical-align: 2px; }
.popcard__rate { margin-top: 8px; display: inline-flex; align-items: baseline; gap: 5px; font-family: "Sora",sans-serif; font-size: .76rem; color: var(--text-soft); }
.popcard__rate b { color: #F59E0B; font-weight: 800; }
.popcard__rate i { font-style: normal; color: var(--muted); font-size: .72rem; }
.popcard__trust { margin-top: 7px; display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; color: var(--text-soft); }
.popcard__trust .ic { width: .85rem; height: .85rem; color: var(--pc); flex: none; }
.popcard__desc { margin-top: 7px; max-width: 100%; font-size: .72rem; line-height: 1.4; color: var(--text-soft); white-space: nowrap; }
.popcard__stock { margin-top: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, #10b981 16%, var(--surface)); border: 1px solid color-mix(in srgb, #10b981 42%, transparent); color: #34d399; font-family: "Sora",sans-serif; font-weight: 700; font-size: .64rem; }
.popcard__stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #10b981; animation: stockGlow 2s ease-in-out infinite; }
.popcard__qty { font-weight: 800; }
.popcard__stock--low { background: color-mix(in srgb, #f59e0b 17%, var(--surface)); border-color: color-mix(in srgb, #f59e0b 45%, transparent); color: #d98c0b; }
.popcard__stock--low::before { background: #f59e0b; box-shadow: 0 0 6px #f59e0b; }
.popcard__stock--out { background: color-mix(in srgb, #94a3b8 16%, var(--surface)); border-color: color-mix(in srgb, #94a3b8 38%, transparent); color: var(--muted); }
.popcard__stock--out::before { background: #94a3b8; box-shadow: none; }
.popcard__cta--out { background: transparent; color: var(--text-soft); border: 1.5px solid var(--border); }
.popcard__soon { display: inline-block; font-family: "Sora",sans-serif; font-weight: 800; font-size: .98rem; color: var(--text-soft); letter-spacing: .01em; }
.popcard__cta--out::after { content: none; }
.popcard:hover .popcard__cta--out { box-shadow: none; border-color: var(--text-soft); }
.popcard__cta--out:hover { filter: none; }
.popcard__stock--low::before { background: #f59e0b; }
.popcard__stock--out::before { background: #94a3b8; animation: none; }
@keyframes stockGlow { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 transparent; } 50% { transform: scale(1.3); box-shadow: 0 0 7px 1px color-mix(in srgb, currentColor 55%, transparent); } }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .popcard__stock::before { animation: none; } }
[dir="rtl"] .popcard__off { right: auto; left: 10px; }
[dir="rtl"] .popcard__pop { left: auto; right: 10px; }
/* Deal card — alt promo style (Mushtarik colors), same footprint as popcard */
.dealcard { position: relative; align-self: start; display: flex; flex-direction: column; text-align: start; border: 1.5px solid color-mix(in srgb, var(--brand) 38%, var(--border)); border-radius: 18px; background: var(--surface); box-shadow: 0 5px 0 color-mix(in srgb, var(--brand) 46%, #07060d), 0 22px 36px -22px rgba(168,85,247,.5); overflow: hidden; color: var(--text-strong); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.dealcard:hover { transform: translateY(-5px); box-shadow: 0 5px 0 color-mix(in srgb, var(--brand) 46%, #07060d), 0 28px 46px -22px rgba(168,85,247,.65); }
.dealcard__top { padding: 16px 15px 14px; flex: 1 1 auto; }
.dealcard__head { display: flex; align-items: center; gap: 9px; }
.dealcard__logo { width: 38px; height: 38px; display: grid; place-items: center; flex: none; }
.dealcard__logo img { width: 100%; height: 100%; object-fit: contain; }
.dealcard__name { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em; color: var(--text-strong); }
.dealcard__sub { margin: 11px 0 5px; font-family: "Sora",sans-serif; font-weight: 800; font-size: .9rem; color: var(--text-strong); }
.dealcard__desc { margin: 0; font-size: .8rem; line-height: 1.45; color: var(--text-soft); }
.dealcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 15px; background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 20%, var(--surface)), color-mix(in srgb, var(--brand) 11%, var(--surface))); border-top: 2.5px dotted color-mix(in srgb, var(--brand) 55%, var(--border)); }
.dealcard__value { font-family: "Caveat",cursive; font-weight: 700; font-size: 1.5rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; white-space: nowrap; }
.dealcard__value i { font-style: normal; font-family: "Sora",sans-serif; font-weight: 700; font-size: .68rem; -webkit-text-fill-color: var(--text-soft); }
.dealcard__claim { display: inline-flex; align-items: center; gap: 4px; font-family: "Sora",sans-serif; font-weight: 800; font-size: .82rem; color: var(--brand-3); text-decoration: none; white-space: nowrap; transition: gap .2s var(--ease); }
.dealcard__claim svg { width: .85rem; height: .85rem; }
.dealcard__claim:hover { gap: 8px; }
.dealcard__stock { display: inline-flex; align-self: flex-start; align-items: center; gap: 5px; margin-bottom: 5px; padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, #10b981 18%, var(--surface)); border: 1px solid color-mix(in srgb, #10b981 45%, transparent); color: #34d399; font-family: "Sora",sans-serif; font-weight: 700; font-size: .62rem; }
.dealcard__stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #10b981; box-shadow: 0 0 6px #10b981; }
.dealcard__meta { display: flex; flex-direction: column; gap: 5px; margin-top: 11px; }
.dealcard__rate { display: inline-flex; align-items: baseline; gap: 5px; font-family: "Sora",sans-serif; font-size: .78rem; color: var(--text-soft); }
.dealcard__rate b { color: #F59E0B; font-weight: 800; }
.dealcard__rate i { font-style: normal; color: var(--muted); font-size: .72rem; }
.dealcard__trust { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; color: var(--text-soft); }
.dealcard__trust .ic { width: .85rem; height: .85rem; color: var(--brand-3); flex: none; }
.pop__more { display: flex; justify-content: center; margin-top: clamp(26px, 3.5vw, 40px); }
.pop__btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 26px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--surface); color: var(--text); font-family: "Sora",sans-serif; font-weight: 700; font-size: .95rem; text-decoration: none; transition: background .2s, transform .2s, border-color .2s; }
.pop__btn:hover { background: var(--chip); transform: translateY(-2px); }
.pop__btn .ic { width: 1.05rem; height: 1.05rem; color: var(--brand); transition: transform .25s var(--ease); }
.pop__btn:hover .ic { transform: translateX(4px); }
@media (max-width: 980px) { .popgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .popgrid { grid-template-columns: 1fr; } }

/* ---- catalog page ---- */
.catpage { padding-top: clamp(28px, 3.5vw, 48px); }
.catfilter { position: sticky; top: 72px; z-index: 40; display: flex; flex-wrap: nowrap; justify-content: safe center; gap: 10px; margin: 0 0 clamp(28px, 4vw, 46px); overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; padding: 6px 2px; transition: background .25s, box-shadow .25s, padding .25s; }
.catfilter::-webkit-scrollbar { display: none; }
.catfilter.is-stuck { padding: 11px 2px; background: var(--head-glass); -webkit-backdrop-filter: blur(12px) saturate(150%); backdrop-filter: blur(12px) saturate(150%); box-shadow: var(--shadow-sm); border-bottom: 1px solid var(--border); }
.catfilter__btn { flex: 0 0 auto; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-soft); font-family: "Sora",sans-serif; font-weight: 700; font-size: .88rem; cursor: pointer; transition: color .25s, background .3s, border-color .25s; }
.catfilter__btn:hover { color: var(--brand); border-color: color-mix(in srgb, var(--brand), transparent 55%); }
.catfilter__btn.is-active { color: #fff; background: var(--grad); border-color: transparent; box-shadow: 0 10px 24px -10px rgba(168,85,247,.7); }
.popcard__lg--c { color: #fff; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.25rem; }
.popcard.is-hidden { display: none; }
.catsearch { position: relative; max-width: 520px; margin: 0 auto clamp(18px, 2.5vw, 28px); }
.catsearch__ic { position: absolute; inset-inline-start: 16px; top: 50%; transform: translateY(-50%); width: 1.05rem; height: 1.05rem; color: var(--muted); pointer-events: none; }
.catsearch__input { width: 100%; padding: 13px 18px; padding-inline-start: 44px; border: 1.5px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text-strong); font-family: "Inter",sans-serif; font-size: .95rem; transition: border-color .2s, box-shadow .2s; }
.catsearch__input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent); }
.catsearch__input::placeholder { color: var(--muted); }
.catempty { text-align: center; padding: 44px 0; color: var(--text-soft); font-family: "Sora",sans-serif; font-weight: 600; }
.catempty[hidden] { display: none; }
/* ---- catalog trust bar ---- */
.trustbar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 30px; max-width: 900px; margin: 0 auto clamp(26px, 3.5vw, 40px); padding: 14px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--hi); }
.trustbar__item { display: inline-flex; align-items: center; gap: 10px; font-family: "Sora",sans-serif; font-weight: 600; font-size: .86rem; color: var(--text-strong); }
.trustbar__ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: color-mix(in srgb, var(--brand) 14%, transparent); flex: none; transition: transform .25s var(--ease), background .25s var(--ease); }
.trustbar__ic .ic { width: 1rem; height: 1rem; color: var(--brand); display: block; }
.trustbar__item:hover .trustbar__ic { transform: translateY(-2px) scale(1.07); background: color-mix(in srgb, var(--brand) 24%, transparent); }
.trustbar__item:nth-child(1) .ic { animation: tb-zap 3.6s var(--ease) infinite; }
.trustbar__item:nth-child(2) .ic { animation: tb-pulse 3.6s var(--ease) .4s infinite; }
.trustbar__item:nth-child(3) .ic { animation: tb-tap 3.6s var(--ease) .8s infinite; }
.trustbar__item:nth-child(4) .ic { animation: tb-swing 3.6s var(--ease) 1.2s infinite; transform-origin: 50% 28%; }
@keyframes tb-zap { 0%, 64%, 100% { transform: scale(1) rotate(0); filter: drop-shadow(0 0 0 transparent); } 72% { transform: scale(1.22) rotate(-8deg); filter: drop-shadow(0 0 6px var(--brand)); } 80% { transform: scale(.94) rotate(5deg); } 88% { transform: scale(1.06) rotate(0); } }
@keyframes tb-pulse { 0%, 58%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 transparent); } 78% { transform: scale(1.18); filter: drop-shadow(0 0 6px var(--brand)); } }
@keyframes tb-tap { 0%, 60%, 100% { transform: translateY(0) rotate(0); } 70% { transform: translateY(-3px) rotate(-10deg); } 80% { transform: translateY(0) rotate(7deg); } 90% { transform: translateY(0) rotate(-3deg); } }
@keyframes tb-swing { 0%, 56%, 100% { transform: rotate(0); } 67% { transform: rotate(-14deg); } 80% { transform: rotate(11deg); } 90% { transform: rotate(-5deg); } }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .trustbar__item .ic { animation: none; } }
/* ---- ChatGPT plans comparison ---- */
.cgsec { padding-top: clamp(26px, 3.4vw, 46px); }
.cgsec__brand { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 12px; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1rem; color: var(--text-strong); }
.cgsec__logo { width: 30px; height: 30px; border-radius: 9px; overflow: hidden; background: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px -8px rgba(16,163,127,.6); }
.cgsec__logo img { width: 100%; height: 100%; object-fit: cover; }
.cgwrap { margin-top: clamp(20px, 3vw, 32px); overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
.cgtable { display: grid; grid-template-columns: minmax(200px, 1.7fr) repeat(3, minmax(150px, 1fr)); min-width: 720px; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); }
.cgtable--4 { grid-template-columns: minmax(180px, 1.5fr) repeat(4, minmax(128px, 1fr)); min-width: 900px; }
.cgtable--5 { grid-template-columns: minmax(150px, 1.3fr) repeat(5, minmax(112px, 1fr)); min-width: 1080px; }
.cgtable--1 { grid-template-columns: minmax(200px, 1.5fr) minmax(170px, 1fr); min-width: 440px; }
.cgtable--2 { grid-template-columns: minmax(200px, 1.6fr) repeat(2, minmax(160px, 1fr)); min-width: 580px; }
.cgtable--3 { grid-template-columns: minmax(200px, 1.7fr) repeat(3, minmax(150px, 1fr)); min-width: 720px; }
.cgtable--1 .cgcell:nth-last-child(-n+2) { border-bottom: none; }
.cgtable--2 .cgcell:nth-last-child(-n+3) { border-bottom: none; }
.cgtable--soon { display: block; min-width: 0; }
.cgsoon { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 40px 20px; font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.05rem; color: var(--pc, var(--brand)); text-align: center; }
.cgsoon .ic { width: 1.3rem; height: 1.3rem; }
.cgtable--6 { grid-template-columns: minmax(140px, 1.2fr) repeat(6, minmax(104px, 1fr)); min-width: 1220px; }
.cgtable--7 { grid-template-columns: minmax(130px, 1.1fr) repeat(7, minmax(100px, 1fr)); min-width: 1370px; }
.cgcell { padding: 13px 16px; border-bottom: 1px solid var(--border); display: flex; align-items: center; }
.cgcorner { font-family: "Sora",sans-serif; font-weight: 800; font-size: .92rem; color: var(--text-strong); background: color-mix(in srgb, var(--pc) 5%, var(--surface)); border-bottom: 2px solid var(--border); }
.cghead { flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px; text-align: center; padding: 30px 11px 16px; background: color-mix(in srgb, var(--pc) 5%, var(--surface)); border-bottom: 2px solid var(--border); border-inline-start: 1px solid var(--border); position: relative; }
.cghead__name { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.5rem; letter-spacing: -.01em; color: var(--text-strong); }
.cghead__title { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.cghead__sub { flex-basis: 100%; display: block; font-family: "Inter",sans-serif; font-weight: 600; font-size: .68rem; line-height: 1.2; color: var(--text-soft); margin-top: 2px; text-transform: none; letter-spacing: 0; }
.cghead--off .cghead__sub { text-decoration: none; }
.cghead__desc { font-size: .72rem; line-height: 1.35; color: var(--text-soft); white-space: nowrap; }
.cghead__from { font-size: .61rem; font-weight: 600; color: var(--muted); margin-top: 2px; }
.cghead__old { font-size: .76rem; font-weight: 700; color: var(--muted); margin-inline-end: 6px; vertical-align: 1px; }
.cghead__dur { font-size: .68rem; font-weight: 600; color: var(--text-soft); background: var(--chip-soft); padding: 2px 10px; border-radius: 999px; }
.cghead__price { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.22rem; color: var(--text-strong); white-space: nowrap; line-height: 1.1; }
.cghead__price s { font-size: .78rem; font-weight: 700; color: var(--muted); margin-inline-end: 5px; }
.cghead__price i { font-style: normal; font-size: .66rem; color: var(--text-soft); }
.cghead__price small { font-size: .62rem; color: var(--muted); font-weight: 600; }
.cghead__cta { margin-top: auto; padding: 9px 18px; border-radius: 999px; background: var(--surface-2); border: 1.5px solid var(--border); color: var(--text-strong); font-family: "Sora",sans-serif; font-weight: 700; font-size: .8rem; text-decoration: none; transition: border-color .2s var(--ease), transform .2s var(--ease); white-space: nowrap; }
.cghead__cta:hover { border-color: var(--pc); transform: translateY(-1px); }
.cghead--pop { background: color-mix(in srgb, var(--pc) 13%, var(--surface)); }
.cghead__pop { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-family: "Sora",sans-serif; font-weight: 800; font-size: .56rem; letter-spacing: .06em; text-transform: uppercase; padding: 3px 11px; border-radius: 999px; white-space: nowrap; box-shadow: 0 6px 14px -7px rgba(168,85,247,.6); }
.cghead__cta--pop { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 10px 22px -10px rgba(168,85,247,.7); }
.cgfoot { justify-content: center; padding: 16px 12px; border-inline-start: 1px solid var(--border); }
.cgfoot--label { border-inline-start: none; }
.cgbtn { display: block; width: 100%; text-align: center; padding: 11px 10px; border-radius: 999px; background: var(--surface-2); border: 1.5px solid var(--border); color: var(--text-strong); font-family: "Sora",sans-serif; font-weight: 700; font-size: .82rem; text-decoration: none; white-space: nowrap; transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s; }
.cgbtn:hover { border-color: var(--pc); transform: translateY(-1px); }
.cgbtn--pop { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 10px 22px -10px rgba(168,85,247,.7); }
.cgbtn--pop:hover { filter: brightness(1.06); }
.cgfeat { gap: 10px; font-weight: 600; font-size: .85rem; color: var(--text-strong); }
.cgfeat .pverif { width: 16px; height: 16px; }
.cgval { justify-content: center; border-inline-start: 1px solid var(--border); }
.cgval .pverif { width: 20px; height: 20px; }
.cgno { color: var(--muted); font-size: 1.2rem; line-height: 1; }
.cgtxt { font-family: "Sora",sans-serif; font-weight: 800; font-size: .92rem; color: var(--text-strong); }
.cgval--pop { background: color-mix(in srgb, var(--pc) 7%, transparent); }
.cgtable .cgcell:nth-last-child(-n+4) { border-bottom: none; }
.cgtable--4 .cgcell:nth-last-child(-n+5) { border-bottom: none; }
.cgtable--5 .cgcell:nth-last-child(-n+6) { border-bottom: none; }
.cgtable--6 .cgcell:nth-last-child(-n+7) { border-bottom: none; }
.cgtable--7 .cgcell:nth-last-child(-n+8) { border-bottom: none; }
.cgnote { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: .82rem; color: var(--text-soft); text-align: center; }
.cgnote .ic { width: 1rem; height: 1rem; color: var(--pc); flex: none; }
@media (max-width: 600px) { .cgtable { min-width: 600px; } .cghead__name { font-size: 1.05rem; } .cghead__price { font-size: 1.2rem; } }
/* ---- checkout / order ---- */
.cosec { padding-top: clamp(26px, 3.4vw, 46px); }
.checkout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(20px, 3vw, 36px); align-items: start; margin-top: clamp(20px, 3vw, 32px); }
.checkout__form { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.costep { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); padding: 18px 18px 20px; margin: 0; }
.costep__h { display: flex; align-items: center; gap: 10px; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.02rem; color: var(--text-strong); margin-bottom: 14px; padding: 0; }
.costep__n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; background: var(--grad); color: #fff; font-size: .82rem; flex: none; }
.optgrid { display: grid; gap: 11px; }
.optgrid--2 { grid-template-columns: repeat(2, 1fr); }
.optgrid--3 { grid-template-columns: repeat(3, 1fr); }
.optgrid--4 { grid-template-columns: repeat(4, 1fr); }
.optgrid[hidden] { display: none; }
.optcard { position: relative; display: block; cursor: pointer; }
.optcard input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.optcard__box { display: flex; align-items: center; gap: 11px; height: 100%; padding: 13px 14px; border: 1.5px solid var(--border); border-radius: 13px; background: var(--surface-2); transition: border-color .2s var(--ease), background .2s, box-shadow .2s; }
.optcard__box--c { flex-direction: column; text-align: center; gap: 7px; justify-content: center; }
.optcard input:checked + .optcard__box { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 9%, var(--surface)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent); }
.optcard input:focus-visible + .optcard__box { border-color: var(--brand); }
.optcard__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--chip-soft); flex: none; }
.optcard__ic .ic { width: 1.05rem; height: 1.05rem; color: var(--brand); }
.optcard__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.optcard__txt b { font-family: "Sora",sans-serif; font-weight: 700; font-size: .88rem; color: var(--text-strong); }
.optcard__txt small { font-size: .72rem; color: var(--text-soft); }
.optcard__tag { font-family: "Sora",sans-serif; font-weight: 700; font-size: .72rem; color: var(--brand); }
.optcard__txt .optcard__tag--free { color: #16a34a; font-weight: 800; }
.optcard__price { margin-inline-start: auto; font-family: "Sora",sans-serif; font-weight: 800; font-size: .8rem; color: var(--brand); white-space: nowrap; flex: none; }
.optcard__price--free { color: #16a34a; }
.cofield { margin-top: 12px; display: grid; gap: 11px; }
.cofield[hidden], .coinput[hidden] { display: none; }
.coinput { width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 12px; background: var(--surface-2); color: var(--text-strong); font-family: "Inter",sans-serif; font-size: .9rem; transition: border-color .2s; }
.coinput:focus { outline: none; border-color: var(--brand); }
.coinput::placeholder { color: var(--muted); }
.checkout__summary { position: sticky; top: 90px; }
.cosum { border: 1.5px solid color-mix(in srgb, var(--brand) 30%, var(--border)); border-radius: var(--radius-lg); background: var(--surface); padding: 20px; box-shadow: var(--shadow-md); }
.cosum__h { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--text-strong); margin: 0 0 14px; }
.cosum__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: .86rem; color: var(--text-soft); }
.cosum__row b { font-family: "Sora",sans-serif; font-weight: 700; color: var(--text-strong); text-align: end; }
.cosum__sep { height: 1px; background: var(--border); margin: 8px 0; }
.cosum__total { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 6px 0 16px; font-family: "Sora",sans-serif; font-weight: 600; font-size: .9rem; color: var(--text-soft); }
.cosum__total b { font-size: 1.5rem; font-weight: 800; color: var(--text-strong); }
.cosum__pay { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 14px; border-radius: 999px; background: var(--grad); color: #fff; font-family: "Sora",sans-serif; font-weight: 800; font-size: .95rem; text-decoration: none; box-shadow: 0 14px 30px -12px rgba(168,85,247,.75); transition: transform .2s var(--ease), filter .2s; }
.cosum__pay:hover { transform: translateY(-2px); filter: brightness(1.05); }
.cosum__pay .ic { width: 1.05rem; height: 1.05rem; }
.cosum__note { display: flex; align-items: center; gap: 7px; margin: 13px 0 0; font-size: .76rem; color: var(--text-soft); }
.cosum__note .ic { width: .95rem; height: .95rem; color: var(--brand); flex: none; }
.optcard__dprice { display: inline-flex; align-items: center; justify-content: center; gap: 5px; font-family: "Sora",sans-serif; font-weight: 800; font-size: .92rem; color: var(--text-strong); }
.optcard__dbadge { font-style: normal; font-size: .58rem; font-weight: 800; color: #fff; background: var(--grad); padding: 1px 6px; border-radius: 999px; }
.cosum__cart { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 10px; padding: 12px; border-radius: 999px; background: var(--surface-2); border: 1.5px solid var(--border); color: var(--text-strong); font-family: "Sora",sans-serif; font-weight: 700; font-size: .9rem; cursor: pointer; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.cosum__cart:hover { border-color: var(--brand); transform: translateY(-1px); }
.cosum__cart .ic { width: 1rem; height: 1rem; color: var(--brand); }
.cosum__live { display: flex; align-items: center; justify-content: center; gap: 9px; font-size: .82rem; color: var(--text-soft); text-align: center; }
.cosum__live b { font-family: "Sora",sans-serif; font-weight: 800; color: var(--text-strong); display: inline-block; }
.cosum__livedot { position: relative; width: 9px; height: 9px; flex: none; border-radius: 50%; background: #22c55e; animation: liveDot 1.9s ease-out infinite; }
@keyframes liveDot { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); } 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.cosum__live b.bump { animation: liveBump .45s var(--ease); }
@keyframes liveBump { 0% { transform: scale(1); } 40% { transform: scale(1.35); color: #22c55e; } 100% { transform: scale(1); } }
.copay { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 18px; }
.copay__overlay { position: absolute; inset: 0; background: rgba(8,10,25,.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.copay__panel { position: relative; z-index: 1; width: 100%; max-width: 700px; max-height: 88vh; overflow-y: auto; border: 1.5px solid color-mix(in srgb, var(--brand) 30%, var(--border)); border-radius: var(--radius-lg); background: var(--surface); padding: clamp(22px,3vw,30px); box-shadow: var(--shadow-lg); animation: copayIn .26s var(--ease); }
@keyframes copayIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.copay__x { position: absolute; top: 12px; inset-inline-end: 14px; width: 34px; height: 34px; display: grid; place-items: center; border: none; background: var(--chip); border-radius: 50%; color: var(--text-soft); cursor: pointer; transition: background .2s, color .2s; }
.copay__x .ic { width: 1rem; height: 1rem; }
.copay__x:hover { background: var(--chip); color: var(--text-strong); }
.copay[hidden], .copay__m[hidden] { display: none; }
.copay__h { display: flex; align-items: center; gap: 9px; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.15rem; color: var(--text-strong); margin: 0 0 16px; }
.copay__h .ic { width: 1.15rem; height: 1.15rem; color: var(--brand); flex: none; }
.copay__lead { margin: 0 0 14px; font-size: .88rem; color: var(--text-soft); }
.copay__form { display: grid; gap: 11px; }
.copay__row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.copay__rib { display: grid; gap: 1px; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.copay__ribrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 15px; background: var(--surface-2); font-size: .85rem; }
.copay__ribrow span { color: var(--text-soft); flex: none; }
.copay__ribrow b { font-family: "Sora",sans-serif; font-weight: 700; color: var(--text-strong); text-align: end; word-break: break-all; }
.copay__warn { display: flex; align-items: center; gap: 8px; margin: 13px 0 0; padding: 10px 13px; border-radius: 12px; background: color-mix(in srgb, #ef4444 12%, var(--surface)); border: 1px solid color-mix(in srgb, #ef4444 35%, transparent); color: #dc2626; font-family: "Sora",sans-serif; font-weight: 700; font-size: .82rem; line-height: 1.35; }
.copay__warn .ic { width: 1.05rem; height: 1.05rem; flex: none; color: #ef4444; }
.copay__confirm { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 18px; padding: 14px; border-radius: 999px; background: var(--grad); color: #fff; font-family: "Sora",sans-serif; font-weight: 800; font-size: .95rem; border: none; cursor: pointer; box-shadow: 0 14px 30px -12px rgba(168,85,247,.75); transition: transform .2s var(--ease), filter .2s; }
.copay__confirm:hover { transform: translateY(-2px); filter: brightness(1.05); }
.copay__confirm .ic { width: 1.05rem; height: 1.05rem; }

/* ===== Delivery animation + thank-you ===== */
.codone[hidden], .codone__msg[hidden], .copay__h[hidden], .copay__confirm[hidden] { display: none; }
.codeliv { max-height: 320px; overflow: hidden; transition: max-height .55s var(--ease), opacity .45s ease; }
.codeliv.gone { max-height: 0; opacity: 0; }
.codeliv__svg { display: block; width: 100%; max-width: 650px; height: auto; margin: 4px auto 0; }
.codeliv__road { stroke: color-mix(in srgb, var(--text-soft) 38%, transparent); stroke-width: 2.5; }
.codeliv__lanes line { stroke: color-mix(in srgb, var(--text-soft) 26%, transparent); stroke-width: 3; stroke-linecap: round; }
.dt-shadow { fill: #000; opacity: .12; }
.dt-box .dt-shadow { opacity: .1; }
.dt-logo { font-family: "Sora", sans-serif; font-weight: 800; font-size: 16px; fill: #7c3aed; letter-spacing: -.2px; }
.dt-boxlogo { font-family: "Sora", sans-serif; font-weight: 800; font-size: 15px; fill: #7c3aed; }
.dt-jklogo { font-family: "Sora", sans-serif; font-weight: 800; font-size: 8px; fill: #fff; }
.dt-jkname { font-family: "Sora", sans-serif; font-weight: 700; font-size: 2.8px; fill: #fff; letter-spacing: .1px; }
.dt-caplogo { font-family: "Sora", sans-serif; font-weight: 800; font-size: 4.6px; fill: #fff; }
.dt-door { stroke: rgba(255,255,255,.35); stroke-width: 1.4; }
.dt-arm { stroke: #4c1d95; stroke-width: 6; stroke-linecap: round; }
.dt-box, .dt-person { opacity: 0; }
.dt-wheel { transform-box: fill-box; transform-origin: center; }
.dt-leg { transform-box: fill-box; transform-origin: 50% 0; }

.codeliv.play .dt-truck { animation: dtTruck 6.4s both; }
.codeliv.play .dt-wheel { animation: dtWheel 6.4s linear both; }
.codeliv.play .dt-box { animation: dtBox 6.4s both; }
.codeliv.play .dt-person { animation: dtPerson 6.4s both; }
.codeliv.play .dt-leg--a { animation: dtLegA 6.4s both; }
.codeliv.play .dt-leg--b { animation: dtLegB 6.4s both; }

@keyframes dtTruck {
  0%   { transform: translateX(-340px); animation-timing-function: cubic-bezier(.2,.7,.3,1); }
  18%  { transform: translateX(0); animation-timing-function: linear; }
  80%  { transform: translateX(0); animation-timing-function: cubic-bezier(.5,0,.85,.25); }
  100% { transform: translateX(380px); }
}
@keyframes dtWheel {
  0%   { transform: rotate(0); }
  18%  { transform: rotate(760deg); }
  80%  { transform: rotate(760deg); }
  100% { transform: rotate(1620deg); }
}
@keyframes dtBox {
  0%, 20% { transform: translate(72px,164px); opacity: 0; }
  24%     { transform: translate(72px,164px); opacity: 1; }
  44%     { transform: translate(72px,164px); opacity: 1; animation-timing-function: cubic-bezier(.4,0,.2,1); }
  50%     { transform: translate(70px,120px); opacity: 1; }
  56%     { transform: translate(67px,114px); opacity: 0; }
  100%    { opacity: 0; }
}
@keyframes dtPerson {
  0%, 20% { transform: translate(236px,180px); opacity: 0; }
  24%     { transform: translate(236px,180px); opacity: 1; animation-timing-function: linear; }
  40%     { transform: translate(96px,180px); opacity: 1; }
  52%     { transform: translate(96px,180px); opacity: 1; animation-timing-function: linear; }
  70%     { transform: translate(236px,180px); opacity: 1; }
  76%, 100% { transform: translate(238px,180px); opacity: 0; }
}
@keyframes dtLegA {
  0%, 24% { transform: rotate(0); }
  28% { transform: rotate(24deg); } 32% { transform: rotate(-24deg); }
  36% { transform: rotate(24deg); } 40% { transform: rotate(0); }
  52% { transform: rotate(0); }
  56% { transform: rotate(-24deg); } 60% { transform: rotate(24deg); }
  64% { transform: rotate(-24deg); } 68% { transform: rotate(24deg); }
  70%, 100% { transform: rotate(0); }
}
@keyframes dtLegB {
  0%, 24% { transform: rotate(0); }
  28% { transform: rotate(-24deg); } 32% { transform: rotate(24deg); }
  36% { transform: rotate(-24deg); } 40% { transform: rotate(0); }
  52% { transform: rotate(0); }
  56% { transform: rotate(24deg); } 60% { transform: rotate(-24deg); }
  64% { transform: rotate(24deg); } 68% { transform: rotate(-24deg); }
  70%, 100% { transform: rotate(0); }
}

.codone__msg { position: relative; margin-top: 6px; min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s var(--ease); pointer-events: none; }
.codone__msg.show { opacity: 1; transform: none; pointer-events: auto; }
.codone__confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 4; border-radius: 12px; }
.codone__confetti i { position: absolute; top: -18px; display: block; background: var(--c); opacity: 0; animation: confettiFall var(--dur) var(--ease) var(--delay) forwards; }
@keyframes confettiFall { 0% { transform: translate(0,0) rotate(var(--r)); opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translate(var(--dx), 400px) rotate(calc(var(--r) + 540deg)); opacity: 0; } }
.codone__pop { font-size: 66px; line-height: 1; margin: 0 0 10px; filter: drop-shadow(0 10px 18px rgba(168,85,247,.35)); }
.codone__msg.show .codone__pop { animation: donePop .6s var(--ease) both; }
@keyframes donePop { 0% { transform: scale(0); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
.codone__h { margin: 0 0 8px; font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.55rem; background: linear-gradient(90deg, #a855f7, #ec4899, #fb923c); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.codone__sub { margin: 0 auto 18px; max-width: 380px; font-size: .9rem; color: var(--text-soft); line-height: 1.5; }
.codone__close { display: block; width: 100%; margin-top: 10px; padding: 12px; border-radius: 999px; background: transparent; border: 1px solid var(--border); color: var(--text-soft); font-family: "Sora", sans-serif; font-weight: 700; font-size: .9rem; cursor: pointer; transition: background .2s, color .2s; }
.codone__close:hover { background: var(--surface-2); color: var(--text-strong); }

@media (prefers-reduced-motion: reduce) and (min-width: 100000px) {
  .codeliv.play .dt-truck, .codeliv.play .dt-wheel, .codeliv.play .dt-box, .codeliv.play .dt-person, .codeliv.play .dt-leg--a, .codeliv.play .dt-leg--b { animation: none; }
}
[dir="rtl"] .cosum__pay .ic { transform: scaleX(-1); }
@media (max-width: 880px) { .checkout { grid-template-columns: 1fr; } .checkout__summary { position: static; } }
@media (max-width: 720px) { .optgrid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .optgrid--3, .optgrid--2 { grid-template-columns: 1fr; } }

/* ---- share offer cards (Propose / Join) ---- */
.shareoffer { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(24px, 3vw, 44px); align-items: center; margin-top: clamp(30px, 4vw, 48px); }
.shareoffer__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ocard { display: flex; flex-direction: column; padding: clamp(22px, 2.5vw, 30px); border-radius: 22px; color: #fff; box-shadow: var(--shadow-lg); }
.ocard--propose { background: radial-gradient(120% 130% at 0% 0%, rgba(217,70,239,.5), transparent 60%), linear-gradient(160deg, #a855f7 0%, #6d28d9 100%); }
.ocard--join { background: radial-gradient(120% 130% at 100% 0%, rgba(96,165,250,.5), transparent 60%), linear-gradient(160deg, #3b82f6 0%, #4338ca 100%); }
.ocard__ill { display: block; height: 70px; margin-bottom: 16px; }
.ocard__ill svg { height: 100%; width: auto; display: block; }
.ocard__h { font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1.4rem, 2.1vw, 1.85rem); color: #fff; }
.ocard__p { margin-top: 12px; flex: 1 1 auto; color: rgba(255,255,255,.92); line-height: 1.5; font-size: .98rem; }
.ocard__btn { margin-top: 22px; align-self: flex-start; padding: 13px 24px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font-family: "Sora",sans-serif; font-weight: 800; font-size: .92rem; cursor: pointer; box-shadow: 0 14px 28px -14px rgba(12,18,36,.55); transition: transform .2s var(--ease), box-shadow .3s; }
.ocard--propose .ocard__btn { color: #6d28d9; }
.ocard--join .ocard__btn { color: #2563eb; }
.ocard__btn:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -14px rgba(12,18,36,.6); }
.shareoffer__text p { color: var(--text-soft); font-size: 1.05rem; line-height: 1.6; text-align: justify; }
.shareoffer__text p + p { margin-top: 16px; }
.share__tabs { width: min(580px, 94vw); }
.share__tab { font-size: clamp(.82rem, 1.5vw, .95rem); padding: 11px 12px; line-height: 1.22; }
.shareoffer__text [data-i18n="so.t3"] { margin-top: 18px; font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1.2rem, 2vw, 1.5rem); text-align: center; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.shareoffer__text::after { content: "Mushtarik"; display: block; margin-top: 6px; text-align: right; font-family: "Caveat", cursive; font-weight: 700; font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1; color: var(--brand); transform: rotate(-3deg); }
@media (max-width: 880px) { .shareoffer { grid-template-columns: 1fr; } }
@media (max-width: 540px) { .shareoffer__cards { grid-template-columns: 1fr; } }

.partners .section__lead { margin-top: 0; font-family: "Sora",sans-serif; font-weight: 700; font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.16; color: var(--text-strong); }

/* ---- gift card ---- */
.gift__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.giftcard { position: absolute; inset: 0; overflow: hidden; border-radius: 24px; padding: 22px 26px; display: flex; flex-direction: column; color: #fff; box-shadow: var(--shadow-lg); backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: background .45s var(--ease); }
.giftcard[data-theme-c="anniv"] { background: radial-gradient(120% 130% at 100% 0%, rgba(236,72,153,.5), transparent 60%), linear-gradient(150deg, #a855f7, #ec4899); }
.giftcard[data-theme-c="reussite"] { background: radial-gradient(120% 130% at 100% 0%, rgba(96,165,250,.45), transparent 60%), linear-gradient(150deg, #3b82f6, #4338ca); }
.giftcard[data-theme-c="amour"] { background: radial-gradient(120% 130% at 100% 0%, rgba(251,113,133,.5), transparent 60%), linear-gradient(150deg, #fb7185, #e11d48); }
.giftcard[data-theme-c="femmes"] { background: radial-gradient(120% 130% at 100% 0%, rgba(244,114,182,.5), transparent 60%), linear-gradient(150deg, #f472b6, #db2777); }
.giftcard[data-theme-c="felic"] { background: radial-gradient(120% 130% at 100% 0%, rgba(253,224,71,.45), transparent 60%), linear-gradient(150deg, #f59e0b, #d97706); }
.giftcard[data-theme-c="neutre"] { background: radial-gradient(120% 130% at 100% 0%, rgba(168,85,247,.45), transparent 60%), linear-gradient(150deg, #a855f7, #6366f1); }
.giftcard[data-theme-c="coupedumonde"] { background: radial-gradient(110% 120% at 100% 0%, rgba(251,191,36,.55), transparent 56%), radial-gradient(110% 120% at 0% 100%, rgba(15,94,54,.6), transparent 60%), linear-gradient(150deg, #0f5e36 0%, #15803d 42%, #ca8a04 100%); }
.gcd__photo { display: none; position: absolute; inset: 0; z-index: 1; border-radius: inherit; background: url('../img/coupe-du-monde.webp') center 36% / cover; }
.gcd__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(102deg, rgba(5,32,18,.84) 0%, rgba(5,32,18,.4) 38%, rgba(5,32,18,0) 60%), linear-gradient(0deg, rgba(5,32,18,.66) 0%, rgba(5,32,18,0) 30%); }
.giftcard[data-theme-c="coupedumonde"] .gcd__photo { display: block; }
.giftcard__ico { position: absolute; top: 20px; inset-inline-end: 20px; width: 58px; height: 58px; color: rgba(255,255,255,.22); }
.giftcard__ico svg, .giftcard__deco svg { width: 100%; height: 100%; display: block; }
.giftcard__deco { position: absolute; pointer-events: none; color: rgba(255,255,255,.15); }
.giftcard__deco--a { width: 30px; height: 30px; bottom: 60px; inset-inline-end: 30px; }
.giftcard__deco--b { width: 22px; height: 22px; top: 96px; inset-inline-start: 26px; }
.gift__events { display: flex; flex-wrap: nowrap; gap: 8px; width: -moz-fit-content; width: fit-content; max-width: 100%; margin: 0 auto; overflow-x: auto; padding: 16px 2px 10px; -ms-overflow-style: none; scrollbar-width: none; }
.gift__events::-webkit-scrollbar { display: none; }
.gev { position: relative; flex: none; scroll-snap-align: center; display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px 6px 6px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--surface-2); color: var(--text-soft); font-family: "Sora",sans-serif; font-weight: 700; font-size: .8rem; line-height: 1; white-space: nowrap; cursor: pointer; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease, color .22s ease; }
.gev__e { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--g); color: #fff; box-shadow: 0 5px 13px -5px color-mix(in srgb, var(--gc, #000) 60%, transparent); transition: transform .22s ease, background .22s ease, box-shadow .22s ease; }
.gev__e svg { width: 15px; height: 15px; }
.gev:hover { transform: translateY(-2px); color: var(--text-strong); border-color: color-mix(in srgb, var(--gc, #fff) 55%, var(--border)); box-shadow: 0 12px 24px -16px color-mix(in srgb, var(--gc, #000) 75%, transparent); }
.gev:hover .gev__e { transform: scale(1.07); }
.gev:focus-visible { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--gc, var(--brand)) 45%, transparent); }
.gev.is-on { border-color: transparent; background: var(--g); color: #fff; box-shadow: 0 15px 30px -12px color-mix(in srgb, var(--gc, #000) 62%, transparent), inset 0 0 0 1.5px rgba(255,255,255,.18); }
.gev.is-on .gev__e { background: rgba(255,255,255,.24); box-shadow: inset 0 0 0 1px rgba(255,255,255,.34); }
.gev__best { position: absolute; top: -10px; inset-inline-end: 12px; z-index: 3; padding: 2px 9px; border-radius: 999px; background: linear-gradient(135deg,#fde68a,#f59e0b); color: #3b1d00; font-family: "Sora",sans-serif; font-weight: 800; font-size: .56rem; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 5px 12px -4px rgba(0,0,0,.55); }
.giftcard__top { display: flex; align-items: center; gap: 10px; }
.giftcard__brand { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.2rem; }
.giftcard__tag { padding: 3px 11px; border-radius: 999px; background: rgba(255,255,255,.22); font-family: "Sora",sans-serif; font-weight: 700; font-size: .66rem; text-transform: uppercase; letter-spacing: .04em; }
.giftcard__amount { margin-top: auto; padding-top: 26px; font-family: "Sora",sans-serif; font-weight: 800; line-height: 1; }
.giftcard__amount b { font-size: clamp(2.2rem, 4vw, 2.9rem); }
.giftcard__amount span { font-size: 1.1rem; opacity: .9; }
.giftcard__to { margin-top: 14px; font-size: .98rem; }
.giftcard__msg { margin-top: 6px; font-size: .9rem; font-style: italic; color: rgba(255,255,255,.88); min-height: 1.2em; word-break: break-word; }
.giftcard__from { margin-top: 12px; font-size: .82rem; color: rgba(255,255,255,.85); }
.giftcard--photo .giftcard__top, .giftcard--photo .giftcard__ico, .giftcard--photo .giftcard__deco, .giftcard--photo .giftcard__amount, .giftcard--photo .giftcard__to, .giftcard--photo .giftcard__msg, .giftcard--photo .giftcard__from, .giftcard--photo .giftback__strip, .giftcard--photo .giftback__codebox, .giftcard--photo .giftback__info, .giftcard--photo .giftback__brand { display: none; }
.gcolors__fixed { margin: 4px 0 0; font-size: .86rem; color: var(--text-soft); line-height: 1.5; }

/* ---- Recreated gift-card design (gcd) ---- */
.giftcard.gcd { padding: 0; display: block; container-type: inline-size; --a1: #a855f7; --a2: #ec4899; --a3: #f59e0b; background: radial-gradient(70% 62% at 12% 4%, rgba(124,58,237,.55), transparent 56%), radial-gradient(72% 78% at 96% 106%, rgba(217,119,6,.42), transparent 54%), linear-gradient(135deg, #1c1133 0%, #0f0a1c 55%, #1a1222 100%); }
.gcd__glow { position: absolute; border-radius: 50%; filter: blur(26px); opacity: .5; pointer-events: none; }
.gcd__glow--a { width: 52%; height: 64%; top: -16%; left: -10%; background: radial-gradient(closest-side, rgba(168,85,247,.55), transparent); }
.gcd__glow--b { width: 56%; height: 72%; right: -12%; bottom: -22%; background: radial-gradient(closest-side, rgba(245,158,11,.42), transparent); }
.gcd__head { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 2.4cqw; padding: 4.2cqw 5cqw; z-index: 3; }
.brand.gcd__brand { font-size: 3.8cqw; gap: 1.6cqw; font-weight: 800; }
.gcd .brand__mark--img { width: 9.4cqw; height: 9.4cqw; }
/* Arabic card: the Arabic name sits right next to the logo (logo stays at the edge) */
.gift__preview[dir="rtl"] .gcd__brand .brand__ar { order: -1; }
.gift__preview[dir="rtl"] .gcd__brand .brand__text { order: 1; }
.gcd__cc { font-family: "Sora",sans-serif; font-weight: 600; font-size: 3cqw; color: rgba(255,255,255,.92); position: relative; display: inline-flex; align-items: center; gap: 1.2cqw; padding-bottom: 1.1cqw; }
.gcd__cc::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 58%; height: .45cqw; border-radius: 2px; background: linear-gradient(90deg, var(--a1), var(--a3)); }
.gcd__ccico { width: 3.7cqw; height: 3.7cqw; flex: none; color: rgba(255,255,255,.85); align-self: flex-start; }
.gcd__amount { position: absolute; inset-inline-start: 6.5cqw; top: 35%; display: inline-flex; align-items: baseline; gap: 1.6cqw; font-family: "Sora",sans-serif; font-weight: 800; color: #fff; line-height: .9; z-index: 2; }
.gcd__amount b { font-size: 13cqw; letter-spacing: -.02em; }
.gcd__amount span { font-size: 8.6cqw; font-weight: 800; }
.gcd__to { position: absolute; inset-inline-start: 6.8cqw; top: 56.5%; font-family: "Sora",sans-serif; font-weight: 500; font-size: 3.5cqw; color: rgba(255,255,255,.92); z-index: 2; }
.gcd__to b { font-weight: 800; color: #fff; }
.gcd__from { position: absolute; inset-inline-start: 6.8cqw; top: 66.5%; font-family: "Inter",sans-serif; font-size: 2.6cqw; color: rgba(255,255,255,.6); z-index: 2; }
.gcd__from b { font-weight: 600; color: rgba(255,255,255,.82); }
.gcd__giftbox { position: absolute; inset-inline-end: 3cqw; top: 18%; width: 33cqw; height: auto; overflow: visible; z-index: 1; }
.gcd__illuF, .gcd__illuB { display: none; }
.gcd__cap { position: absolute; inset-inline-end: 2cqw; top: 20%; width: 40cqw; height: auto; overflow: visible; z-index: 1; }
.gcd__scroll { position: absolute; inset-inline-start: 3cqw; bottom: 3cqw; width: 16cqw; height: auto; z-index: 1; }
.gcd__eight { position: absolute; inset-inline-end: 5cqw; top: 17%; width: 30cqw; height: auto; overflow: visible; z-index: 1; }
.gcd__rose { position: absolute; inset-inline-start: 3cqw; bottom: 2.5cqw; width: 15cqw; height: auto; z-index: 1; }
.gcd__heart { position: absolute; inset-inline-end: 2.5cqw; top: 18%; width: 46cqw; height: auto; overflow: visible; z-index: 1; }
.gcd__heartrose { position: absolute; inset-inline-start: 3cqw; bottom: 2.5cqw; width: 16cqw; height: auto; z-index: 1; }
.gcd__trophy { position: absolute; inset-inline-end: 5cqw; top: 19%; width: 35cqw; height: auto; overflow: visible; z-index: 1; }
.gcd__star { position: absolute; inset-inline-end: 4cqw; top: 19%; width: 37cqw; height: auto; overflow: visible; z-index: 1; }
.gcd__confetti, .gcd__sparkles { position: absolute; inset-inline-start: 3cqw; bottom: 3cqw; width: 17cqw; height: auto; z-index: 1; }
.gcd__tree { position: absolute; inset-inline-end: 6cqw; top: 15%; width: 29cqw; height: auto; z-index: 1; }
.gcd__snow { position: absolute; inset-inline-start: 3cqw; bottom: 2.5cqw; width: 16cqw; height: auto; z-index: 1; }
.gcd__giftrot { transform: rotate(-20deg); transform-box: fill-box; transform-origin: center; }
.gcd__spark { transform-box: fill-box; transform-origin: center; animation: gcdTwinkle 2.4s ease-in-out infinite; }
.gcd__spark:nth-child(2) { animation-delay: .9s; }
.gcd__spark:nth-child(3) { animation-delay: 1.7s; }
@keyframes gcdTwinkle { 0%, 100% { opacity: .3; transform: scale(.55); } 50% { opacity: 1; transform: scale(1.2); } }
.gcd__deco { animation: gcdDeco 2.4s ease-in-out infinite; }
.gcd__deco:nth-of-type(2) { animation-delay: 1.1s; }
@keyframes gcdDeco { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .gcd__spark, .gcd__deco, .gcd__greetfw, .gcd__box, .giftflipbtn .ic { animation: none; } }
.gcd__to { white-space: nowrap; }
[dir="rtl"] .gcd__giftbox { transform: scaleX(-1); }
.gcd__greet { position: absolute; left: 4cqw; right: 4cqw; bottom: 6.5cqw; text-align: center; white-space: nowrap; font-family: "Caveat",cursive; font-weight: 700; font-size: 9cqw; line-height: 1; background: linear-gradient(90deg, var(--a1), var(--a2) 48%, var(--a3)); -webkit-background-clip: text; background-clip: text; color: transparent; z-index: 2; }
.gcd__greetfw { position: absolute; width: 8cqw; height: 8cqw; z-index: 2; inset-inline-end: 20cqw; bottom: 11.5cqw; transform-origin: center; animation: gcdSparkle 2.6s ease-in-out infinite; }
@keyframes gcdSparkle { 0%, 100% { transform: scale(.7) rotate(0deg); opacity: .5; } 50% { transform: scale(1.15) rotate(45deg); opacity: 1; } }
.gcd__greetfw--b { inset-inline-end: 18cqw; bottom: auto; top: 37.5%; }
/* back */
.gcd__band { position: absolute; left: 0; right: 0; top: 26%; display: flex; align-items: center; gap: 2.5cqw; padding: 1cqw 5cqw; background: rgba(250,242,248,.93); z-index: 2; }
.gcd__codecol { flex: 1 1 auto; min-width: 0; }
.gcd__code { font-family: "Sora",sans-serif; font-size: 4.2cqw; white-space: nowrap; }
.gcd__code span { font-style: normal; color: #1a1320; font-weight: 600; }
.gcd__code b { color: #7c3aed; font-weight: 800; font-style: italic; letter-spacing: .02em; }
.gcd__qrcol { flex: none; display: flex; align-items: center; gap: 2cqw; }
.gcd__qr { width: 11cqw; height: 11cqw; border-radius: 1cqw; background: #fff; padding: .5cqw; box-shadow: 0 1cqw 3cqw rgba(0,0,0,.22); }
.gcd__qr svg { width: 100%; height: 100%; display: block; }
.gcd__qrtxt { font-family: "Inter",sans-serif; font-size: 1.8cqw; line-height: 1.2; color: #1a1320; max-width: 14cqw; }
.gcd__greet--b { left: 5cqw; right: 5cqw; top: 43%; bottom: auto; text-align: center; font-size: 7.2cqw; }
/* Carte de la page personnalisée via le studio : motif, sticker d'événement, police */
.gcd__pat { position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit; opacity: .5; }
.gcd__evsticker { position: absolute; z-index: 2; inset-inline-end: 4cqw; top: 20%; width: 35cqw; height: 35cqw; }
.gcd__evsticker:empty { display: none; }
.gcd__evsticker .gev-spk--a { width: 5cqw; height: 5cqw; top: -1cqw; inset-inline-end: 1cqw; animation-delay: .2s; }
.gcd__evsticker .gev-spk--b { width: 3.4cqw; height: 3.4cqw; bottom: 3cqw; inset-inline-start: -1cqw; animation-delay: 1.3s; }
.gcd--studio .gcd__illuF, .gcd--studio .gcd__illuB { display: none !important; }
.gcd.gs-font-sans .gcd__greet, .gcd.gs-font-sans .gcd__msg { font-family: "Sora", sans-serif; }
.gcd.gs-font-serif .gcd__greet, .gcd.gs-font-serif .gcd__msg { font-family: Georgia, "Times New Roman", serif; }
.gcd.gs-font-round .gcd__greet, .gcd.gs-font-round .gcd__msg { font-family: "Cairo", sans-serif; }
.gcd.gs-font-hand .gcd__greet, .gcd.gs-font-hand .gcd__msg { font-family: "Caveat", cursive; }
.gcd.gs-font-mono .gcd__greet, .gcd.gs-font-mono .gcd__msg { font-family: ui-monospace, "Courier New", monospace; }
.gcd.gs-font-display .gcd__greet, .gcd.gs-font-display .gcd__msg { font-family: "Sora", sans-serif; font-weight: 800; }
.gcd.gs-size-s .gcd__greet { font-size: 7cqw; }
.gcd.gs-size-l .gcd__greet { font-size: 11cqw; }
.gcd.gs-lay-minimal .gcd__greet { display: none; }
.gcd__box { position: absolute; left: 9cqw; right: 9cqw; top: 53%; border: .3cqw dashed rgba(168,85,247,.7); border-radius: 4cqw; padding: 1.8cqw 4cqw 2.6cqw; text-align: center; z-index: 2; animation: gcdBoxGlow 3s ease-in-out infinite; }
@keyframes gcdBoxGlow { 0%, 100% { box-shadow: 0 0 .5cqw color-mix(in srgb, var(--a1) 18%, transparent); border-color: color-mix(in srgb, var(--a1) 55%, transparent); } 50% { box-shadow: 0 0 4.5cqw color-mix(in srgb, var(--a1) 50%, transparent); border-color: var(--a1); } }
.gcd__boxname { display: block; font-family: "Sora",sans-serif; font-weight: 800; font-size: 3cqw; letter-spacing: .01em; color: var(--a3); }
.gcd__msg { margin: .9cqw 0 0; font-family: "Caveat",cursive; font-weight: 600; font-style: italic; font-size: 3cqw; line-height: 1.15; color: rgba(255,255,255,.6); }
.gcd__squig { position: absolute; inset-inline-end: 3.5cqw; bottom: .8cqw; width: 11cqw; height: auto; }
.gcd__fw { position: absolute; inset-inline-start: 2.5cqw; bottom: 2.5cqw; width: 27cqw; height: auto; z-index: 1; }
.gift__form { display: flex; flex-direction: column; gap: 13px; background: var(--glass-strong); border: 1px solid var(--glass-brd); border-radius: var(--radius-lg); padding: clamp(16px, 1.6vw, 22px); box-shadow: var(--shadow-lg), var(--hi); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); }
.gwiz__steplb { display: flex; align-items: center; gap: 6px; font-family: "Sora",sans-serif; font-weight: 700; font-size: .82rem; color: var(--text-soft); margin-bottom: 6px; }
.gwiz__steplb b { color: var(--brand); font-size: 1.05rem; }
.gwiz__of { color: var(--muted); }
.gwiz__steplb em { margin-inline-start: auto; font-style: normal; font-weight: 800; color: var(--brand); }
.gwiz__prog { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.gwiz__bar { display: block; height: 100%; border-radius: 999px; background: var(--grad); transition: width .45s var(--ease); }
.gwstep { display: none; flex-direction: column; gap: 12px; margin-top: 14px; }
.gwstep.is-active { display: flex; flex: 1; animation: gwIn .4s var(--ease); }
@keyframes gwIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.gtype { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gtypeb { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 11px 14px; border-radius: 13px; border: 2px solid var(--border); background: var(--surface-2); color: var(--text-soft); cursor: pointer; text-align: start; transition: border-color .2s, background .2s, transform .2s; }
.gtypeb .ic { width: 1.2rem; height: 1.2rem; color: var(--brand); margin-bottom: 2px; }
.gtypeb b { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.02rem; color: var(--text-strong); }
.gtypeb span { font-size: .82rem; }
.gtypeb:hover { transform: translateY(-2px); }
.gtypeb.is-on { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, var(--surface-2)); }
.gtypeb--soon { cursor: not-allowed; opacity: .55; position: relative; }
.gtypeb--soon:hover { transform: none; }
.gtypeb__soon { margin-top: 5px; font-size: .66rem; font-weight: 800; font-style: normal; color: #fff; background: var(--muted); padding: 1px 7px; border-radius: 999px; }
.grow2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gfield--sep { margin-top: 4px; }
.gqty { display: inline-flex; align-items: stretch; border: 1.5px solid var(--border); border-radius: 12px; overflow: hidden; width: max-content; }
.gqty__b { width: 46px; padding: 8px 0; border: 0; background: var(--surface-2); color: var(--brand); font-size: 1.3rem; font-weight: 700; cursor: pointer; transition: background .2s; }
.gqty__b:hover { background: var(--chip-soft); }
.gqty__v { min-width: 64px; display: grid; place-items: center; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.15rem; color: var(--text-strong); border-inline: 1.5px solid var(--border); }
.gwiz__next, .gwiz__back { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: "Sora",sans-serif; font-weight: 800; cursor: pointer; border-radius: 999px; transition: transform .2s, box-shadow .2s, color .2s, border-color .2s; }
.gwiz__next { padding: 11px 22px; border: 0; background: var(--grad); color: #fff; font-size: .96rem; box-shadow: 0 14px 30px -12px rgba(168,85,247,.7); }
.gwiz__next:hover { transform: translateY(-2px); }
.gwiz__next .ic { width: 1.1rem; height: 1.1rem; }
.gwiz__back { padding: 10px 18px; border: 1.5px solid var(--border); background: transparent; color: var(--text-soft); font-size: .9rem; }
.gwiz__back:hover { color: var(--brand); border-color: var(--brand-3); }
.gwiz__bk { width: 1rem; height: 1rem; transform: rotate(180deg); }
[dir="rtl"] .gwiz__bk { transform: none; }
.gwiz__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 8px; }
.gwiz__nav--end { justify-content: flex-end; }
.gift__cta.gwiz__cta { width: auto; margin-top: 0; padding-top: 12px; padding-bottom: 12px; }
.gift__occasions { margin: 0 auto clamp(22px, 3.5vw, 40px); }
.gcolors__lb { margin-top: 16px; }
.gcolors { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 7px; }
.gcolor { display: flex; flex-direction: column; align-items: center; gap: 7px; border: 0; padding: 0; background: none; cursor: pointer; }
.gcolor__chip { position: relative; width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(150deg, var(--c1, #a855f7), var(--c2, #ec4899)); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), 0 6px 14px -8px rgba(0,0,0,.45); transition: transform .15s var(--ease), box-shadow .2s; }
.gcolor:hover .gcolor__chip { transform: translateY(-2px); }
.gcolor.is-on .gcolor__chip { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--brand); }
.gcolor__prem { position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, #fbbf24, #f59e0b); display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.gcolor__prem .ic { width: 11px; height: 11px; color: #fff; }
.gcolor__tag { font-family: "Sora",sans-serif; font-size: .72rem; font-weight: 700; color: #16a34a; }
.gcolor--prem .gcolor__tag { color: #d97706; }
.gamt__custom.is-err { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,.18); }
.gcmodal__card { position: relative; width: 100%; max-width: 360px; margin: 12px auto 26px; aspect-ratio: 960 / 605; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.gcmodal__colors { justify-content: center; gap: 16px; margin: 8px 0 10px; }
.gcmodal__panel { gap: 4px; }
.gcmodal__panel .swiz__title { text-align: center; margin-bottom: 10px; }
.gcmodal__foot { margin-top: 26px; }
.gcmodal__next { display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
.gcmodal__next .ic { width: 1.05rem; height: 1.05rem; }
.gcolors__hint { margin-top: 10px; font-size: .82rem; color: var(--text-soft); display: inline-flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.gcolors__star { width: .9rem; height: .9rem; color: #f59e0b; }
.gfield { display: flex; flex-direction: column; gap: 7px; }
.gfield__lb { font-family: "Sora",sans-serif; font-weight: 700; font-size: .9rem; color: var(--text-strong); }
.gfield__in { width: 100%; padding: 9px 13px; border-radius: 11px; border: 1.5px solid var(--border); background: var(--surface-2); color: var(--text); font-family: "Inter",sans-serif; font-size: .94rem; resize: vertical; }
.gfield__in:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--chip-soft); }
.gfield--req > .gfield__lb::after { content: " *"; color: #ef4444; font-weight: 800; }
.gfield__in.is-err { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,.18); }
.gfield--msg { position: relative; }
.gfield--msg .gfield__in { resize: none; padding-bottom: 17px; }
.gfield__count { position: absolute; right: 8px; bottom: 3px; font-family: "Inter",sans-serif; font-size: .7rem; line-height: 1; color: var(--text-soft); background: var(--surface-2); padding: 1px 5px; border-radius: 5px; pointer-events: none; }
.gfield__count b { font-weight: 700; color: var(--text); }
.gfield__count.is-full b { color: #f59e0b; }
.gift__amounts { display: flex; flex-wrap: wrap; gap: 8px; }
.gamt { padding: 8px 15px; border-radius: 11px; border: 1.5px solid var(--border); background: var(--surface-2); color: var(--text); font-family: "Sora",sans-serif; font-weight: 700; font-size: .9rem; cursor: pointer; transition: border-color .2s, background .25s, color .2s; }
.gamt:hover { border-color: color-mix(in srgb, var(--brand), transparent 55%); }
.gamt.is-on { border-color: transparent; background: var(--grad); color: #fff; }
.gamt__custom { width: 96px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--border); background: var(--surface-2); color: var(--text); font-family: "Inter",sans-serif; font-size: .92rem; }
.gamt__custom:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--chip-soft); }
.gval { display: flex; flex-wrap: nowrap; gap: 6px; }
.gvalb { flex: 1 1 0; min-width: 0; padding: 6px 5px; border-radius: 10px; border: 1.5px solid var(--border); background: var(--surface-2); color: var(--text); font-family: "Sora",sans-serif; font-size: .84rem; cursor: pointer; text-align: center; transition: border-color .2s, background .25s, color .2s; }
.gvalb b { font-weight: 800; }
.gvalb span { font-weight: 600; opacity: .82; }
.gvalb__fee { display: block; margin-top: 3px; font-size: .72rem; font-weight: 700; font-style: normal; color: var(--muted); }
.gvalb[data-fee="0"] .gvalb__fee { color: #10b981; }
.gvalb:hover { border-color: color-mix(in srgb, var(--brand), transparent 55%); }
.gvalb.is-on { border-color: transparent; background: var(--grad); color: #fff; }
.gvalb.is-on span { opacity: 1; }
.gvalb.is-on .gvalb__fee { color: rgba(255,255,255,.92); }
.gnote { font-size: .8rem; color: var(--muted); line-height: 1.5; margin: 4px 0 0; }
.gnote--eco, .gnote--tip { display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; font-size: .76rem; line-height: 1.45; }
.gnote__ic { width: 1rem; height: 1rem; flex: none; margin-top: 2px; }
.gnote--eco .gnote__ic { color: #16a34a; }
.gnote--tip .gnote__ic { color: var(--brand); }
.gnote--tip b { color: var(--text-strong); font-weight: 700; }
.gcode { display: flex; align-items: stretch; gap: 8px; }
.gcode__pre { display: inline-grid; place-items: center; padding: 0 12px; border-radius: 12px; background: var(--chip-soft); border: 1.5px solid var(--border); font-family: "Sora",sans-serif; font-weight: 800; font-size: .92rem; color: var(--brand); letter-spacing: .04em; white-space: nowrap; }
.gcode__in { flex: 1 1 auto; min-width: 0; text-transform: uppercase; letter-spacing: .06em; font-family: "Sora",sans-serif; font-weight: 700; }
.gcode__gen { flex: 0 0 auto; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--brand); background: transparent; color: var(--brand); font-family: "Sora",sans-serif; font-weight: 700; font-size: .88rem; cursor: pointer; transition: background .2s, color .2s; }
.gcode__gen:hover { background: var(--brand); color: #fff; }
.gfield__hint { font-size: .8rem; color: var(--muted); }
.gift__themes { display: flex; gap: 12px; }
.gtheme { width: 42px; height: 42px; border-radius: 12px; border: 2px solid transparent; background: var(--g); cursor: pointer; box-shadow: 0 6px 14px -6px rgba(0,0,0,.5); transition: transform .2s, box-shadow .2s; }
.gtheme:hover { transform: translateY(-2px); }
.gtheme.is-on { border-color: var(--text-strong); box-shadow: 0 0 0 3px var(--chip-soft); }
.gift__cta { margin-top: 6px; display: inline-flex; align-items: center; justify-content: center; padding: 14px 24px; border-radius: 999px; background: var(--grad); color: #fff; font-family: "Sora",sans-serif; font-weight: 700; font-size: .98rem; text-decoration: none; box-shadow: 0 14px 30px -12px rgba(168,85,247,.7); transition: transform .2s, box-shadow .3s; }
.gift__cta:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(168,85,247,.8); }
@media (max-width: 820px) { .gift__grid { grid-template-columns: 1fr; } }

/* gift card recto/verso + delivery */
.gift__preview { perspective: 1600px; display: flex; flex-direction: column; position: relative; align-self: start; }
.giftstack { position: relative; width: 100%; aspect-ratio: 960 / 605; transform-style: preserve-3d; transition: transform .7s var(--ease); }
.giftstack.is-flipped { transform: rotateY(180deg); }
.giftflipbtn { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text-soft); font-family: "Sora",sans-serif; font-weight: 700; font-size: .76rem; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.giftflipbtn:hover { color: var(--brand); border-color: var(--brand-3); background: var(--chip-soft); }
.giftflipbtn .ic { width: 1.05rem; height: 1.05rem; transform-origin: center; animation: flipHint 3.2s ease-in-out infinite; }
@keyframes flipHint { 0% { transform: rotate(0); } 38%, 100% { transform: rotate(360deg); } }
.giftflipbtn:hover .ic { animation-play-state: paused; }
.giftcard--back { transform: rotateY(180deg); }
.giftback__strip { height: 38px; margin: 6px -28px 20px; background: rgba(0,0,0,.4); }
.giftback__codebox { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,.92); color: #0b1020; }
.giftback__codelb { font-size: .7rem; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: .05em; }
.giftback__codebox b { font-family: "Sora",sans-serif; font-weight: 800; letter-spacing: .08em; }
.giftback__info { margin-top: 16px; font-size: .82rem; line-height: 1.5; color: rgba(255,255,255,.9); }
.giftback__brand { margin-top: auto; font-family: "Sora",sans-serif; font-weight: 700; font-size: .85rem; color: rgba(255,255,255,.95); }
.gift__flipbtn { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-soft); font-family: "Sora",sans-serif; font-weight: 700; font-size: .85rem; cursor: pointer; transition: color .2s, border-color .2s; }
.gift__flipbtn:hover { color: var(--brand); border-color: var(--brand-3); }
.gift__flipbtn .ic { width: 1rem; height: 1rem; }
[data-deliv]:not([hidden]) { display: flex; flex-direction: column; gap: 12px; }
.gift__delivery { display: flex; flex-direction: row; gap: 10px; }
.gdopt { flex: 1 1 0; cursor: pointer; position: relative; }
.gdopt__pop { position: absolute; top: -8px; inset-inline-end: 8px; z-index: 1; font-size: .6rem; font-weight: 800; font-style: normal; letter-spacing: .02em; color: #fff; background: #16a34a; padding: 1px 7px; border-radius: 999px; box-shadow: 0 3px 8px rgba(0,0,0,.18); }
.gdopt input { position: absolute; opacity: 0; pointer-events: none; }
.gdopt__box { display: flex; align-items: center; justify-content: center; padding: 9px; border-radius: 11px; border: 1.5px solid var(--border); background: var(--surface-2); color: var(--text-soft); font-family: "Sora",sans-serif; font-weight: 700; font-size: .88rem; transition: border-color .2s, background .25s, color .2s; }
.gdopt input:checked + .gdopt__box { border-color: transparent; background: var(--grad); color: #fff; }
.gfield[hidden] { display: none; }

/* how-it-works detailed process */
.how__more { display: flex; justify-content: center; margin-top: clamp(24px, 3vw, 38px); }
.procsteps { max-width: 720px; margin: 0 auto; }
.procstep { position: relative; display: flex; gap: 20px; padding-bottom: clamp(24px, 3vw, 36px); }
.procstep::before { content: ""; position: absolute; inset-inline-start: 23px; top: 52px; bottom: 0; width: 2px; background: var(--border); }
.procstep:last-child { padding-bottom: 0; }
.procstep:last-child::before { display: none; }
.procstep__n { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.2rem; box-shadow: 0 10px 24px -10px rgba(168,85,247,.6); }
.procstep__body { padding-top: 5px; min-width: 0; }
.procstep__h { font-family: "Sora",sans-serif; font-weight: 700; font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--text-strong); }
.procstep__p { margin-top: 8px; color: var(--text-soft); line-height: 1.6; }
.howp__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: clamp(34px, 4vw, 52px); }

/* how-it-works visual scenes */
.hwviz { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; color: #fff; }
.hwviz__ic { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 26px; background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.hwviz__ic .ic { width: 2.9rem; height: 2.9rem; color: #fff; }
.hwviz__h { margin-top: 20px; font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.hwviz__p { margin-top: 8px; font-size: 1rem; color: rgba(255,255,255,.85); max-width: 280px; }
.hwviz__chips { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hwviz__chips span { padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.16); font-family: "Sora",sans-serif; font-weight: 700; font-size: .82rem; }

.gbuy__sum { margin-top: 18px; }
.gbuy__total { background: var(--chip-soft); }
.gbuy__total b { color: var(--brand); font-size: 1.25rem; }

/* gift card — homepage steps overview */
.giftsteps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 30px); }
.giftstep { display: flex; flex-direction: column; }
.giftstep__photo { position: relative; overflow: hidden; height: 190px; border-radius: 20px 20px 0 0; display: grid; place-items: center; color: #fff; }
.giftstep__photo--a { background: radial-gradient(120% 130% at 100% 0%, rgba(217,70,239,.5), transparent 60%), linear-gradient(150deg, #a855f7, #4f46e5); }
.giftstep__photo--b { background: radial-gradient(120% 130% at 0% 0%, rgba(251,207,232,.45), transparent 60%), linear-gradient(150deg, #ec4899, #be185d); }
.giftstep__photo--c { background: radial-gradient(120% 130% at 100% 100%, rgba(96,165,250,.5), transparent 60%), linear-gradient(150deg, #3b82f6, #1e3a8a); }
.giftstep__ic { width: 68px; height: 68px; color: rgba(255,255,255,.95); }
.giftstep__amt { font-family: "Sora",sans-serif; font-weight: 800; font-size: 2.6rem; color: #fff; }
.giftstep__amt i { font-style: normal; font-size: 1.1rem; opacity: .9; }
.giftstep__c { flex: 1; padding: 22px; border: 1px solid var(--border); border-top: 0; border-radius: 0 0 20px 20px; background: var(--surface); }
.giftstep__n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--grad); color: #fff; font-family: "Sora",sans-serif; font-weight: 800; font-size: .95rem; }
.giftstep__h { margin-top: 12px; font-family: "Sora",sans-serif; font-weight: 700; font-size: 1.2rem; color: var(--text-strong); }
.giftstep__p { margin-top: 8px; color: var(--text-soft); line-height: 1.55; }
.gift__more { display: flex; justify-content: center; margin-top: clamp(28px, 3.5vw, 44px); }
@media (max-width: 760px) { .giftsteps { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }
/* ---------- Gift card: animated vertical flow ---------- */
.giftflow { position: relative; max-width: 640px; margin: clamp(26px, 4vw, 46px) auto 0; }
.giftflow__rail { position: absolute; left: 26px; top: 28px; bottom: 28px; width: 4px; border-radius: 4px; background: var(--border); overflow: hidden; z-index: 0; }
[dir="rtl"] .giftflow__rail { left: auto; right: 26px; }
.giftflow__fill { position: absolute; left: 0; top: 0; width: 100%; height: 0; border-radius: 4px; background: var(--grad); box-shadow: 0 0 16px rgba(168,85,247,.55); transition: height .7s cubic-bezier(.4,0,.2,1); }
.giftflow__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: clamp(16px, 2.3vw, 24px); position: relative; z-index: 1; }
.giftflow__step { display: grid; grid-template-columns: 56px 1fr; gap: clamp(14px, 2vw, 20px); align-items: start; }
.giftflow__node { position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 2px solid var(--border); color: var(--text-soft); font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.35rem; transition: transform .5s var(--ease), background .5s, border-color .5s, color .5s, box-shadow .5s; }
.giftflow__node .ic { width: 1.5rem; height: 1.5rem; }
.gfcheck { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .3s; }
.giftflow__num { transition: opacity .3s; }
.giftflow__step.is-active .giftflow__node { background: var(--grad); border-color: transparent; color: #fff; transform: scale(1.07); box-shadow: 0 0 0 6px rgba(168,85,247,.16), 0 16px 30px -12px rgba(168,85,247,.7); }
.giftflow__step.is-done:not(.is-active) .giftflow__node { background: color-mix(in srgb, var(--brand) 20%, var(--surface-2)); border-color: color-mix(in srgb, var(--brand) 50%, transparent); color: var(--brand); }
.giftflow__step.is-done:not(.is-active) .giftflow__num { opacity: 0; }
.giftflow__step.is-done:not(.is-active) .gfcheck { opacity: 1; }
.giftflow__card { display: grid; grid-template-columns: auto 1fr; gap: clamp(14px, 1.8vw, 20px); align-items: center; padding: clamp(14px, 1.7vw, 18px); border-radius: 18px; border: 1px solid var(--border); background: var(--surface); opacity: .5; transform: translateY(5px); transition: opacity .5s var(--ease), transform .5s var(--ease), border-color .5s, box-shadow .5s; }
.giftflow__step.is-active .giftflow__card { opacity: 1; transform: none; border-color: color-mix(in srgb, var(--brand) 42%, var(--border)); box-shadow: var(--shadow-lg); }
.giftflow__step.is-done:not(.is-active) .giftflow__card { opacity: .85; transform: none; }
.giftflow__h { font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: var(--text-strong); }
.giftflow__p { margin-top: 5px; min-height: 2.85em; color: var(--text-soft); font-size: .94rem; line-height: 1.5; }
.giftflow__step.is-active .giftflow__p::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-inline-start: 2px; background: var(--brand); vertical-align: -2px; animation: gfCaret .8s step-end infinite; }
@keyframes gfCaret { 50% { opacity: 0; } }
.gfv { flex: 0 0 auto; width: 80px; height: 80px; border-radius: 16px; display: grid; place-items: center; background: radial-gradient(120% 120% at 0% 0%, rgba(217,70,239,.55), transparent 60%), var(--grad); box-shadow: 0 14px 28px -14px rgba(168,85,247,.7); }
.gfv svg { width: 2.1rem; height: 2.1rem; }
.gfamt { font-family: "Sora",sans-serif; font-weight: 800; color: #fff; font-size: 1.25rem; line-height: 1; text-align: center; }
.gfamt i { display: block; font-style: normal; font-size: .62rem; letter-spacing: .12em; opacity: .9; margin-top: 3px; }
.giftflow__step.is-active .gfv { animation: gfPop .6s var(--ease); }
@keyframes gfPop { 0% { transform: scale(.86); } 60% { transform: scale(1.06); } 100% { transform: scale(1); } }
.giftflow__step.is-active .gfv--c .gfplane { animation: gfFly 1.5s ease-in-out infinite; }
@keyframes gfFly { 0%, 100% { transform: translate(0,0) rotate(0); } 50% { transform: translate(3px,-3px) rotate(-6deg); } }
.gift__cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: clamp(26px, 3.5vw, 40px); text-align: center; }
.giftcta__btn { transition: transform .3s var(--ease), box-shadow .3s; }
.gift__cta.is-ready .giftcta__btn { animation: giftPulse 1.7s ease-in-out infinite; }
@keyframes giftPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.045); } }
.giftcta__nudge { max-width: 460px; font-size: .96rem; color: var(--text-soft); opacity: 0; transform: translateY(6px); transition: opacity .55s var(--ease), transform .55s var(--ease), color .55s; }
.gift__cta.is-ready .giftcta__nudge { opacity: 1; transform: none; color: var(--text-strong); }
@media (max-width: 560px) { .giftflow__step { grid-template-columns: 46px 1fr; } .giftflow__node { width: 46px; height: 46px; font-size: 1.15rem; } .giftflow__rail { left: 21px; } [dir="rtl"] .giftflow__rail { left: auto; right: 21px; } .gfv { width: 64px; height: 64px; } .gfv svg { width: 1.8rem; height: 1.8rem; } }
/* ---------- Gift card: explanatory hero ---------- */
.gchero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.gchero__eyebrow { display: inline-block; font-family: "Sora",sans-serif; font-weight: 800; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brand); margin-bottom: clamp(10px, 1.4vw, 16px); }
.gchero__head { text-align: center; max-width: 760px; margin: 0 auto clamp(26px, 4vw, 44px); }
.gchero__title--c { margin-top: clamp(14px, 2vw, 20px); }
@property --gcang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.gcbadge { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 999px; font-family: "Sora",sans-serif; font-weight: 800; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); background: var(--surface); box-shadow: 0 10px 26px -14px rgba(168,85,247,.6); animation: gcBadgePulse 2.6s ease-in-out infinite; }
.gcbadge::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(168,85,247,.45); animation: gcBadgePing 2.6s ease-out infinite; pointer-events: none; }
@keyframes gcBadgePulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@keyframes gcBadgePing { 0% { box-shadow: 0 0 0 0 rgba(168,85,247,.45); } 70%, 100% { box-shadow: 0 0 0 13px rgba(168,85,247,0); } }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .gcbadge, .gcbadge::after { animation: none; } }
.gcbadge__ic { width: 1rem; height: 1rem; color: var(--accent); animation: gcTwinkle 2.6s ease-in-out infinite; }
.gcbadge::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: conic-gradient(from var(--gcang), var(--brand), var(--brand-3), #F59E0B, var(--brand)); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: gcSpin 4s linear infinite; pointer-events: none; }
@keyframes gcSpin { to { --gcang: 360deg; } }
@keyframes gcTwinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: .9; } 50% { transform: scale(1.25) rotate(20deg); opacity: 1; } }
.gchero__title { font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1.9rem, 3.5vw, 2.95rem); line-height: 1.08; letter-spacing: -.015em; color: var(--text-strong); }
.gchero__sub { margin-top: clamp(16px, 2vw, 26px); font-family: "Sora",sans-serif; font-weight: 700; font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.25; color: var(--brand-3); }
.gchero__grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.gchero__lead { margin-top: clamp(15px, 1.9vw, 22px); max-width: 32em; color: var(--text-soft); font-size: clamp(1rem, 1.35vw, 1.14rem); line-height: 1.7; }
.gchero__perks { list-style: none; margin: clamp(26px, 3.2vw, 38px) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 22px; }
.gchero__perks li { display: inline-flex; align-items: center; gap: 8px; font-family: "Sora",sans-serif; font-weight: 700; font-size: .92rem; color: var(--text-strong); }
.gcperk__b { width: 1.25rem; height: 1.25rem; flex: none; animation: badgePop 2.6s ease-in-out infinite; }
.gchero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(30px, 3.8vw, 46px); }
.gchero__btn { min-width: 230px; justify-content: center; }
.gchero__btn--out { background: transparent; border: 2px solid color-mix(in srgb, var(--brand) 55%, transparent); color: var(--brand); box-shadow: none; }
.gchero__btn--out:hover { background: color-mix(in srgb, var(--brand) 12%, transparent); border-color: var(--brand); transform: translateY(-2px); }
.gchero__visual { position: relative; min-height: clamp(280px, 27vw, 370px); display: grid; place-items: center; }
.gcscene { position: relative; width: min(100%, 408px); aspect-ratio: 1 / 0.94; }
.gcphoto { position: absolute; left: 14%; top: 13%; width: 60%; height: 85%; border-radius: 28px; overflow: visible; z-index: 1; background: radial-gradient(115% 80% at 16% 12%, rgba(251,191,36,.9), transparent 50%), radial-gradient(120% 95% at 90% 92%, rgba(79,70,229,.98), transparent 55%), linear-gradient(150deg, #fb7185, #a855f7 50%, #4f46e5); box-shadow: 0 38px 72px -28px rgba(12,18,36,.72), inset 0 1px 0 rgba(255,255,255,.28); }
.gcphoto::after { content: ""; position: absolute; inset: 0; background: radial-gradient(58% 42% at 32% 26%, rgba(255,255,255,.32), transparent 62%); mix-blend-mode: screen; pointer-events: none; }
@property --gccardang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.gcphoto::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0; pointer-events: none; background: conic-gradient(from var(--gccardang), #fb7185, #f59e0b 22%, #a855f7 45%, #4f46e5 65%, #e0529c 85%, #fb7185); opacity: .55; mix-blend-mode: soft-light; animation: gcCardSwirl 8s linear infinite; }
@keyframes gcCardSwirl { to { --gccardang: 360deg; } }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .gcphoto::before { animation: none; } }
.gcphoto__img { position: absolute; left: -20%; bottom: 0; width: 128%; height: 116%; object-fit: contain; object-position: 40% bottom; transform: scale(1.85); transform-origin: 40% 100%; z-index: 1; -webkit-mask-image: linear-gradient(to top, transparent 0, #000 18%); mask-image: linear-gradient(to top, transparent 0, #000 18%); }
.gclist { position: absolute; right: -8%; top: 30%; width: 48%; z-index: 2; background: #fff; border-radius: 22px; padding: clamp(15px, 1.7vw, 22px) clamp(15px, 1.7vw, 20px); box-shadow: 0 36px 66px -26px rgba(12,18,36,.6); }
.gclist__t { display: block; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.04rem; color: #0f172a; margin-bottom: 11px; }
.gcrow { display: flex; align-items: center; gap: 11px; padding: 8px 0; }
.gcrow + .gcrow { border-top: 1px solid #eef0f4; }
.gcrow__av { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: "Sora",sans-serif; font-weight: 800; font-size: .8rem; box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); }
.gcrow__av--1 { background: linear-gradient(135deg,#a855f7,#ec4899); }
.gcrow__av--2 { background: linear-gradient(135deg,#3b82f6,#4338ca); }
.gcrow__av--3 { background: linear-gradient(135deg,#f59e0b,#d97706); }
.gcrow__av--4 { background: linear-gradient(135deg,#14b8a6,#0e7490); }
.gcrow__occ { flex: none; display: inline-grid; place-items: center; }
.gcrow__occ .ic { width: 1.4rem; height: 1.4rem; }
.gcrow__occ--cake { color: #f59e0b; }
.gcrow__occ--flower { color: #e0529c; }
.gcrow__occ--tree { color: #7c3aed; }
.gcrow__occ--heart { color: #f43f5e; }
.gcrow__amt { font-family: "Sora",sans-serif; font-weight: 800; font-size: .98rem; color: #0f172a; white-space: nowrap; }
.gcrow__amt i { font-style: normal; font-weight: 700; font-size: .7em; color: #64748b; margin-inline-start: 2px; }
.gccard { flex: none; margin-inline-start: auto; position: relative; width: 56px; height: 36px; border-radius: 8px; box-shadow: 0 9px 18px -8px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.4); }
.gclist .gccard { animation: gcCardFloat 4.2s ease-in-out infinite; will-change: transform; }
.gclist .gcrow:nth-of-type(1) .gccard { animation-delay: 0s; }
.gclist .gcrow:nth-of-type(2) .gccard { animation-delay: .5s; }
.gclist .gcrow:nth-of-type(3) .gccard { animation-delay: 1s; }
.gclist .gcrow:nth-of-type(4) .gccard { animation-delay: 1.5s; }
@keyframes gcCardFloat { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-4px) rotate(-2.5deg); } }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .gclist .gccard { animation: none; } }
.gccard__chip { position: absolute; top: 6px; left: 7px; width: 10px; height: 7px; border-radius: 2px; background: rgba(255,255,255,.92); box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.gccard::after { content: ""; position: absolute; left: 7px; right: 9px; bottom: 7px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.55); }
@keyframes gcFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.gchero__tag { position: absolute; top: 2%; left: 5%; font-family: "Caveat",cursive; font-weight: 700; font-size: clamp(1.35rem, 2vw, 1.75rem); color: #fff; text-shadow: 0 2px 10px rgba(12,18,36,.35); transform: rotate(-7deg); z-index: 6; white-space: nowrap; }
[data-theme="light"] .gchero__tag { color: #7c3aed; text-shadow: 0 1px 7px rgba(124,58,237,.18); }
.gchero__arrow { position: absolute; top: 15%; left: 26%; width: clamp(38px, 4.4vw, 52px); height: auto; color: #7c3aed; opacity: .95; z-index: 6; transform: rotate(46deg); animation: gcArrowFlow 5s linear infinite; }
@keyframes gcArrowFlow { 0%, 100% { color: #7c3aed; } 20% { color: #a855f7; } 40% { color: #e0529c; } 60% { color: #f97316; } 80% { color: #f59e0b; } }
[dir="rtl"] .gchero__tag { left: auto; right: 5%; transform: rotate(7deg); }
[dir="rtl"] .gchero__arrow { left: auto; right: 26%; transform: scaleX(-1) rotate(46deg); }
@media (max-width: 880px) { .gchero { grid-template-columns: 1fr; gap: 26px; } .gchero__visual { order: -1; min-height: 340px; } .gchero__lead { max-width: none; } .gclist { right: 0; } }
@media (max-width: 460px) { .gchero__btn { min-width: 0; width: auto; margin-inline: auto; } }
.gcocc { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 9px; border-radius: 999px; background: var(--surface); border: 1px solid var(--glass-brd); box-shadow: 0 14px 26px -12px rgba(0,0,0,.5); font-family: "Sora",sans-serif; font-weight: 700; font-size: .76rem; color: var(--text-strong); white-space: nowrap; animation: gcFloat 4.5s ease-in-out infinite; }
.gcocc__e { font-size: 1.05rem; line-height: 1; }
.gcocc--1 { top: -9%; right: -10%; }
.gcocc--2 { bottom: -4%; left: -16%; animation-delay: -1.6s; }
.gcocc--3 { bottom: 30%; right: -18%; animation-delay: -3s; }
.gchero__amts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(16px, 2vw, 22px); }
.gamt { display: inline-grid; place-items: center; min-width: 44px; padding: 7px 12px; border-radius: 10px; background: var(--chip-soft); border: 1px solid var(--border); color: var(--text-strong); font-family: "Sora",sans-serif; font-weight: 800; font-size: .9rem; }
.gamt--unit { background: var(--grad); border-color: transparent; color: #fff; }
@media (max-width: 880px) { .gcocc--2 { left: -4%; } .gcocc--3 { right: -4%; } .gclogo--n { right: 2%; } .gclogo--s { left: 2%; } .gclogo--d { right: 4%; } }

/* ---------- Gift detail page: banner + advantages ---------- */
.gcbanner { padding-bottom: clamp(30px, 4vw, 64px); overflow-x: clip; overflow-y: visible; }
.gcbanner__in { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 1080px; margin: 0 auto; }
.gcbanner__title { font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1.5rem, 3.1vw, 2.55rem); line-height: 1.07; letter-spacing: -.015em; color: var(--text-strong); margin-top: clamp(14px, 2vw, 20px); }
@media (min-width: 760px) { .gcbanner__title { white-space: nowrap; } }
.gcbanner__lead { margin-top: clamp(12px, 1.5vw, 16px); max-width: 1040px; color: var(--text-soft); font-size: clamp(.95rem, 1.1vw, 1.02rem); line-height: 1.6; }
@media (max-width: 960px) { .gcbanner__lead br { display: none; } }
.gcbanner__points { list-style: none; margin: clamp(16px, 2.2vw, 24px) 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
.gcbanner__points li { display: inline-flex; align-items: center; gap: 8px; font-family: "Sora",sans-serif; font-weight: 700; font-size: .92rem; color: var(--text-strong); }
.gcbanner__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(20px, 2.6vw, 28px); }
/* Banner illustration: phone + floating pills */
.gcbanner__art { position: relative; width: 100%; max-width: 920px; margin: clamp(28px, 4.5vw, 52px) auto 0; min-height: clamp(380px, 44vw, 540px); display: grid; place-items: center; }
.gcbanner__art::before { content: ""; position: absolute; inset: 6% 18%; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 30%, transparent), transparent 72%); filter: blur(12px); opacity: .55; z-index: 0; }
.gcbanner__map { position: absolute; inset: -13% -23%; z-index: 0; pointer-events: none; background: url('https://i.postimg.cc/ncq6CTVC/cart-world.png') center/contain no-repeat; opacity: .45; mix-blend-mode: screen; filter: invert(1) grayscale(1) brightness(1.15); }
[data-theme="light"] .gcbanner__map { opacity: .5; mix-blend-mode: multiply; filter: none; }
.gcphone { position: relative; z-index: 2; width: clamp(222px, 24vw, 272px); padding: 9px; border-radius: 46px; background: linear-gradient(150deg, #e9ebf0, #aeb4bf 42%, #cad0d8 70%, #9aa0ab); box-shadow: 0 46px 88px -30px rgba(12,18,36,.74), inset 0 0 0 1px rgba(255,255,255,.55); }
.gcphone::before { content: ""; position: absolute; right: -2px; top: 30%; width: 3px; height: 58px; border-radius: 3px; background: linear-gradient(#bcc1cb, #8f95a1); }
.gcphone::after { content: ""; position: absolute; left: -2px; top: 22%; width: 3px; height: 30px; border-radius: 3px; background: linear-gradient(#bcc1cb, #8f95a1); box-shadow: 0 44px 0 #a3a9b4; }
.gcphone__island { position: absolute; z-index: 4; top: 19px; left: 50%; transform: translateX(-50%); width: 78px; height: 22px; border-radius: 12px; background: #08080a; }
.gcphone__screen { position: relative; border-radius: 38px; background: linear-gradient(180deg, #fbfbfd, #eceef4); padding: 36px 11px 14px; overflow: hidden; }
.gcphone__bar { display: flex; align-items: center; justify-content: flex-end; height: 30px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px #e7e9f0; padding: 0 10px; margin-bottom: 11px; }
.gcphone__bar svg { width: 1rem; height: 1rem; color: #9aa3b2; }
.gcphone__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.gctile { aspect-ratio: 5 / 4; border-radius: 12px; display: grid; place-items: center; box-shadow: 0 6px 14px -6px rgba(0,0,0,.35); transition: opacity .22s ease, transform .22s ease; }
.gctile.is-swap { opacity: 0; transform: scale(.82); }
.gctile svg { width: 58%; height: 58%; }
.gcpill { position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px; background: #fff; border-radius: 14px; padding: 8px 12px; box-shadow: 0 24px 42px -18px rgba(12,18,36,.5); animation: gcFloat 5.5s ease-in-out infinite; }
.gcpill__av { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: "Sora",sans-serif; font-weight: 800; font-size: .72rem; box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); }
.gcpill__occ { font-size: 1rem; line-height: 1; display: inline-grid; place-items: center; }
.gcpill__occ .ic { width: 1.25rem; height: 1.25rem; }
.gcpill__amt { font-family: "Sora",sans-serif; font-weight: 800; font-size: .86rem; color: #0f172a; white-space: nowrap; }
.gcpill__amt i { font-style: normal; font-weight: 700; font-size: .72em; color: #64748b; margin-inline-start: 2px; }
.gcpill .gccard { width: 46px; height: 30px; margin: 0; border-radius: 7px; overflow: hidden; }
.gcpill .gccard::after { display: none; }
.gccard__svg { width: 100%; height: 100%; display: block; }
.gcpill--1 { top: 13%; left: 0; animation-delay: -.4s; }
.gcpill--2 { bottom: 17%; left: 2%; animation-duration: 6.4s; animation-delay: -2.1s; }
.gcpill--3 { top: 17%; right: 0; animation-duration: 5.8s; animation-delay: -3.3s; }
.gcpill--4 { bottom: 13%; right: 1%; animation-duration: 6.8s; animation-delay: -1.3s; }
.gcemoji { position: absolute; z-index: 3; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 16px 30px -12px rgba(12,18,36,.45); font-size: 1.25rem; }
.gcemoji .ic { width: 1.5rem; height: 1.5rem; }
.gcemoji--1 { top: 42%; left: 22%; }
.gcemoji--2 { top: 24%; right: 25%; }
.gcemoji--3 { bottom: 19%; right: 31%; }
@media (max-width: 720px) { .gcpill--1, .gcpill--3 { display: none; } .gcpill--2 { left: -2%; } .gcpill--4 { right: -2%; } .gcemoji--1 { left: 6%; } .gcemoji--2 { right: 8%; } }
@media (max-width: 480px) {
  /* Téléphone : on garde les cartes flottantes, mais glissées DERRIÈRE le
     téléphone pour qu'elles dépassent joliment sur les côtés (comme le laptop). */
  .gcbanner__art { min-height: clamp(360px, 96vw, 470px); }
  .gcphone { width: clamp(178px, 50vw, 210px); }
  .gcpill, .gcemoji { display: flex; }
  .gcpill { z-index: 1; padding: 6px 9px; gap: 6px; box-shadow: 0 14px 26px -12px rgba(12,18,36,.42); }
  .gcpill__av { width: 26px; height: 26px; }
  .gcpill__occ .ic { width: 1.02rem; height: 1.02rem; }
  .gcpill__amt { font-size: .78rem; }
  .gcpill .gccard { width: 38px; height: 25px; }
  .gcpill--1 { top: 5%;  left: -3%;  right: auto; bottom: auto; }
  .gcpill--2 { bottom: 8%; left: -3%;  right: auto; top: auto; }
  .gcpill--3 { top: 5%;  right: -3%; left: auto;  bottom: auto; }
  .gcpill--4 { bottom: 8%; right: -3%; left: auto;  top: auto; }
  .gcemoji { display: grid; width: 32px; height: 32px; z-index: 4; }
  .gcemoji .ic { width: 1.1rem; height: 1.1rem; }
  .gcemoji--1 { top: 43%; left: 4%; }
  .gcemoji--2 { top: 20%; right: 5%; }
  .gcemoji--3 { display: none; } /* évite de couvrir une icône de l'écran */
}
.gadvs { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 20px); }
.gadv { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: clamp(18px, 2vw, 24px); }
.gadv__ic { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--chip-soft); color: var(--brand); margin-bottom: 12px; }
.gadv__ic .ic { width: 1.4rem; height: 1.4rem; }
.gadv__t { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.05rem; color: var(--text-strong); margin: 0 0 6px; }
.gadv__p { color: var(--text-soft); font-size: .95rem; line-height: 1.55; margin: 0; }
@media (max-width: 880px) { .gadvs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gadvs { grid-template-columns: 1fr; } }
.gflow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3.2vw, 40px) 0; padding: 10px 2px 18px; }
.gflow__bridge { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.gflow__bridge path { fill: none; stroke: var(--border); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.gflow.is-playing .gflow__bridge path.lnk-on { stroke: var(--brand); stroke-dasharray: 6 6; animation: wfdash .6s linear infinite; }
.gflow__step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 9px; padding: 0 10px; transition: transform .4s var(--ease), opacity .4s; }
.gflow.is-playing .gflow__step { opacity: .46; }
.gflow.is-playing .gflow__step.is-on { opacity: 1; transform: translateY(-4px); }
.gflow__n { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1.5px solid var(--border); font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.05rem; color: var(--text-soft); transition: background .4s, color .4s, border-color .4s, box-shadow .4s; }
.gflow.is-playing .gflow__step.is-on .gflow__n { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 0 22px -3px rgba(168,85,247,.85); }
.gflow__t { font-family: "Sora",sans-serif; font-weight: 800; font-size: .9rem; color: var(--text-strong); }
.gflow__p { font-size: .78rem; color: var(--text-soft); line-height: 1.4; }
.gflow__step::after { content: ""; position: absolute; top: 23px; left: 50%; width: 100%; height: 3px; border-radius: 3px; background: var(--border); z-index: 0; }
.gflow__step:nth-of-type(4n)::after, .gflow__step:last-of-type::after { display: none; }
.gflow.is-playing .gflow__step.lnk-on::after { background: repeating-linear-gradient(90deg, var(--brand) 0 6px, transparent 6px 12px); background-size: 12px 100%; animation: gflowDash .5s linear infinite; }
@keyframes gflowDash { to { background-position-x: -12px; } }
[dir="rtl"] .gflow__step::after { left: auto; right: 50%; }
@media (max-width: 860px) { .gflow { grid-template-columns: repeat(2, 1fr); gap: 26px 0; } .gflow__step:nth-of-type(2n)::after { display: none; } .gflow__bridge { display: none; } }

/* ---------- Gift — How it works (4 animated 3D steps) ---------- */
/* Carrousel « Comment ça marche » : rail glissant à défilement auto (laptop + mobile) */
.gsteps4 { display: flex; gap: clamp(16px, 2vw, 26px); padding: 16px 4px 18px; overflow-x: auto; scroll-snap-type: x proximity; scroll-behavior: smooth; scroll-padding-inline: 24px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.gsteps4::-webkit-scrollbar { display: none; }
.gstep4 { position: relative; flex: 0 0 clamp(262px, 42%, 440px); scroll-snap-align: center; }
.gstep4__card { position: relative; height: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 13px; padding: 26px 22px 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--hi); outline: 2px solid transparent; outline-offset: -2px; transition: background .3s ease, outline-color .3s ease, transform .3s var(--ease), box-shadow .3s ease; }
.gstep4:nth-child(1) .gstep4__card { animation-delay: 0s; }
.gstep4:nth-child(2) .gstep4__card { animation-delay: 3s; }
.gstep4:nth-child(3) .gstep4__card { animation-delay: 6s; }
.gstep4:nth-child(4) .gstep4__card { animation-delay: 9s; }
@keyframes gstep3d {
  0%   { transform: rotateY(-13deg) translateZ(-14px); opacity: .84; border-color: var(--border); box-shadow: var(--hi); }
  5%   { transform: rotateY(0deg) translateZ(48px) scale(1.05); opacity: 1; border-color: color-mix(in srgb, var(--c1) 55%, var(--border)); box-shadow: 0 30px 60px -26px color-mix(in srgb, var(--c1) 78%, transparent), var(--shadow-lg); }
  20%  { transform: rotateY(0deg) translateZ(48px) scale(1.05); opacity: 1; border-color: color-mix(in srgb, var(--c1) 55%, var(--border)); box-shadow: 0 30px 60px -26px color-mix(in srgb, var(--c1) 78%, transparent), var(--shadow-lg); }
  25%  { transform: rotateY(13deg) translateZ(-14px); opacity: .84; border-color: var(--border); box-shadow: var(--hi); }
  100% { transform: rotateY(-13deg) translateZ(-14px); opacity: .84; border-color: var(--border); box-shadow: var(--hi); }
}
.gstep4__num { position: absolute; top: 12px; right: 18px; font-family: "Sora",sans-serif; font-weight: 800; font-size: 2.7rem; line-height: 1; color: color-mix(in srgb, var(--c1) 24%, transparent); transform: translateZ(8px); }
.gstep4__ic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--c1), var(--c2)); box-shadow: 0 14px 26px -10px color-mix(in srgb, var(--c1) 70%, transparent); transform: translateZ(36px); }
.gstep4__ic .ic { width: 28px; height: 28px; }
.gstep4__t { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.12rem; color: var(--text-strong); transform: translateZ(22px); }
.gstep4__p { font-size: .92rem; color: var(--text-soft); line-height: 1.5; transform: translateZ(14px); }
/* Touch/hover: the card takes on its own colour — background + ring tint only,
   so the 3D wave keeps its timing (no animation override = no desync). */
.gstep4:hover .gstep4__card { transform: translateY(-6px); background: linear-gradient(150deg, color-mix(in srgb, var(--c1) 34%, var(--surface)), color-mix(in srgb, var(--c2) 20%, var(--surface))); outline-color: color-mix(in srgb, var(--c1) 88%, transparent); box-shadow: 0 26px 50px -24px color-mix(in srgb, var(--c1) 70%, transparent), var(--shadow-lg); }
.gstep4:hover .gstep4__num { color: color-mix(in srgb, var(--c1) 70%, transparent); }
/* Illumination de la carte active (défilement auto « Comment ça marche ») */
.gstep4.is-active .gstep4__card { transform: translateY(-6px) scale(1.02); background: linear-gradient(150deg, color-mix(in srgb, var(--c1) 30%, var(--surface)), color-mix(in srgb, var(--c2) 16%, var(--surface))); outline-color: color-mix(in srgb, var(--c1) 90%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c1) 34%, transparent), 0 30px 60px -22px color-mix(in srgb, var(--c1) 72%, transparent), var(--shadow-lg); }
.gstep4.is-active .gstep4__num { color: color-mix(in srgb, var(--c1) 78%, transparent); }
.gstep4.is-active .gstep4__ic { box-shadow: 0 16px 34px -8px color-mix(in srgb, var(--c1) 88%, transparent); }
@media (min-width: 861px) { /* laptop : les 4 cartes visibles (plus de glissage), animation conservée */
  .gsteps4 { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; scroll-snap-type: none; }
  .gstep4 { flex: none; scroll-snap-align: none; }
}
@media (max-width: 860px) { .gstep4 { flex-basis: 46%; } }
@media (max-width: 520px) { .gstep4 { flex-basis: 82%; } }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) {
  .gstep4__card { animation: none; transform: none; opacity: 1; }
  .gstep4__num, .gstep4__ic, .gstep4__t, .gstep4__p { transform: none; }
}

/* ---------- Gift card — sustainability (eco) ---------- */
.gceco { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(28px, 4.5vw, 56px); color: #eafff3; background: radial-gradient(120% 150% at 90% 12%, rgba(34,197,94,.24), transparent 52%), linear-gradient(150deg, #0b2114 0%, #0a1810 58%, #07120b 100%); border: 1px solid rgba(52,211,153,.18); box-shadow: var(--shadow-lg); }
.gceco__eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.28); color: #6ee7a8; font-family: "Sora",sans-serif; font-weight: 600; font-size: .86rem; margin-bottom: 24px; }
.gceco__eyebrow .ic { width: 1rem; height: 1rem; }
.gceco__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.gceco__title { font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1.7rem, 4.4vw, 3rem); line-height: 1.08; color: #fff; }
.gceco__hl { color: #4ade80; }
.gceco__lead { max-width: 540px; margin: 18px 0 26px; color: #b6d8c4; font-size: 1.05rem; line-height: 1.6; }
.gceco__stats { display: flex; flex-wrap: wrap; gap: 14px; }
.gceco__stat { flex: 1 1 200px; padding: 18px 22px; border-radius: 16px; background: rgba(10,32,20,.55); border: 1px solid rgba(52,211,153,.14); }
.gceco__stat b { display: block; font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.4rem); color: #34d399; line-height: 1; }
.gceco__stat span { display: block; margin-top: 8px; color: #93b8a4; font-size: .9rem; line-height: 1.45; }
.gceco__note { margin-top: 16px; color: #6f9582; font-size: .78rem; }
.gceco__art { display: grid; place-items: center; position: relative; }
.gceco__art::before { content: ""; position: absolute; left: 50%; top: 56%; transform: translate(-50%, -50%); z-index: 0; width: 80%; height: 60%; border-radius: 50%; background: radial-gradient(closest-side, rgba(52,211,153,.22), transparent 100%); filter: blur(20px); pointer-events: none; }
.gceco__img { position: relative; z-index: 1; width: 100%; max-width: 460px; height: auto; display: block; margin: 0 auto; filter: drop-shadow(0 10px 14px rgba(0,0,0,.5)) drop-shadow(0 2px 5px rgba(0,0,0,.3)); }
.gceco__tree { font-size: clamp(110px, 15vw, 200px); line-height: 1; filter: drop-shadow(0 18px 38px rgba(34,197,94,.45)); animation: gcecoFloat 5s ease-in-out infinite; }
@keyframes gcecoFloat { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-14px) rotate(1.5deg); } }
@media (min-width: 761px) { .gceco__grid { grid-template-columns: .92fr 1.08fr; } .gceco__img { max-width: 500px; } .gceco__art { transform: translateY(-34px); margin-bottom: -34px; } .gceco { padding-bottom: clamp(8px, 1vw, 12px); } }
@media (max-width: 760px) { .gceco__grid { grid-template-columns: 1fr; } .gceco__art { order: -1; } .gceco__tree { font-size: 120px; } }

/* ---------- Gift card — eco journey (inside the eco box) ---------- */
.gceco__journey { margin-top: clamp(30px, 4vw, 46px); padding-top: clamp(26px, 3.5vw, 38px); border-top: 1px solid rgba(52,211,153,.16); }
.gceco__jtitle { font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1.15rem, 2.5vw, 1.55rem); color: #fff; text-align: center; margin-bottom: clamp(22px, 3vw, 32px); }
.ecojny { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: 10px 4px; }
.ecojny__step { flex: 0 0 auto; width: 134px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; opacity: 0; transform: translateY(16px); }
.ecojny__ic { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 20px; font-size: 2rem; background: rgba(7,18,11,.5); border: 1px solid rgba(52,211,153,.2); box-shadow: 0 10px 24px -14px rgba(0,0,0,.6); }
.ecojny__step b { font-family: "Sora",sans-serif; font-weight: 700; font-size: .94rem; color: #eafff3; }
.ecojny__step i { font-style: normal; font-size: .8rem; color: #93b8a4; line-height: 1.3; }
.ecojny__arrow { flex: 0 0 auto; align-self: flex-start; margin-top: 24px; color: #34d399; opacity: 0; }
.ecojny__arrow .ic { width: 1.4rem; height: 1.4rem; }
.ecojny.is-in .ecojny__step { animation: ecoIn .55s var(--ease) forwards; animation-delay: calc(var(--i) * .6s); }
.ecojny.is-in .ecojny__ic { animation: ecoPop .55s var(--ease) backwards; animation-delay: calc(var(--i) * .6s); }
.ecojny.is-in .ecojny__arrow { animation: ecoIn .4s var(--ease) forwards; animation-delay: calc(var(--i) * .6s + .4s); }
@keyframes ecoIn { to { opacity: 1; transform: translateY(0); } }
@keyframes ecoPop { 0% { transform: scale(.5); } 62% { transform: scale(1.14); } 100% { transform: scale(1); } }
.ecojny__alt { display: flex; align-items: center; justify-content: center; gap: 14px; max-width: 640px; margin: 30px auto 0; padding: 16px 24px; border-radius: 16px; background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.3); }
.ecojny__altic { font-size: 1.9rem; flex: none; }
.ecojny__alt p { margin: 0; font-size: 1rem; color: #cdeadb; }
.ecojny__alt b { color: #4ade80; font-family: "Sora",sans-serif; font-weight: 700; }
.ecojny__alt [data-i18n="gjny.altd"].is-typing::after { content: "|"; margin-left: 1px; color: #4ade80; animation: ecoCaret .8s steps(1) infinite; }
@keyframes ecoCaret { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }
.ecojny__alt [data-i18n="gjny.altd"].is-typed { background: linear-gradient(100deg, #cdeadb 0%, #cdeadb 33%, #f59e0b 43%, #ffffff 50%, #d946ef 57%, #cdeadb 67%, #cdeadb 100%); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: ecoShine 2.8s linear infinite; }
@keyframes ecoShine { 0% { background-position: 130% 0; } 100% { background-position: -130% 0; } }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .ecojny__alt [data-i18n="gjny.altd"].is-typed { animation: none; } }
@media (max-width: 700px) { .ecojny__arrow { display: none; } .ecojny__step { width: 45%; } .ecojny__alt { flex-direction: column; text-align: center; } }

/* ---------- Gift card — 4 panels, JS-sequenced, active-only motion ---------- */
.ecoanim { max-width: 920px; margin: 0 auto; }
.ecoanim__panes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ecoanim__pane { aspect-ratio: 5 / 4; border-radius: 14px; overflow: hidden; background: linear-gradient(180deg, #bfe9fb 0%, #e3f5ec 66%, #cdeccf 100%); border: 1px solid rgba(52,211,153,.22); opacity: .34; filter: grayscale(.65) brightness(.88); transform: scale(.93); transition: opacity .5s var(--ease), filter .5s, transform .5s var(--ease), box-shadow .5s; }
.ecoanim__pane.is-on { opacity: 1; filter: none; transform: scale(1); box-shadow: 0 0 0 2px rgba(52,211,153,.55), 0 14px 30px -10px rgba(52,211,153,.5); }
.ecoanim__svg { width: 100%; height: 100%; display: block; }
.ecoanim__steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 20px; }
.ecoanim__line { position: absolute; top: 12px; left: 12.5%; right: 12.5%; height: 4px; border-radius: 4px; background: repeating-linear-gradient(90deg, rgba(52,211,153,.3) 0 9px, transparent 9px 16px); z-index: 1; }
.ecoanim__fill { position: absolute; left: 0; top: 0; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, #16a34a, #34d399); box-shadow: 0 0 10px #34d399; transition: width .6s var(--ease); }
.ecoanim__node { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 9px; }
.ecoanim__node b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #0c2417; border: 1px solid rgba(52,211,153,.32); color: #6ee7a8; font-family: "Sora",sans-serif; font-weight: 800; font-size: .8rem; transition: .4s var(--ease); }
.ecoanim__node i { font-style: normal; font-family: "Sora",sans-serif; font-weight: 700; font-size: .8rem; color: #93b8a4; transition: color .4s; }
.ecoanim__node.is-active b { background: #16a34a; color: #fff; box-shadow: 0 0 0 5px rgba(52,211,153,.22), 0 0 16px rgba(52,211,153,.75); transform: scale(1.12); }
.ecoanim__node.is-active i { color: #eafff3; }
.ecoanim__pane.is-on .ecoa-bob { animation: ecoaBob 2.6s ease-in-out infinite; }
@keyframes ecoaBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.ecoa-axe { transform-box: fill-box; transform-origin: 50% 88%; }
.ecoanim__pane.is-on .ecoa-axe { animation: ecoaChop 1.05s ease-in-out infinite; }
@keyframes ecoaChop { 0%, 100% { transform: rotate(-32deg); } 55% { transform: rotate(10deg); } }
.ecoa-smoke { transform-box: fill-box; transform-origin: 50% 100%; }
.ecoanim__pane.is-on .ecoa-smoke { animation: ecoaSmoke 2.2s ease-in-out infinite; }
@keyframes ecoaSmoke { 0% { transform: translateY(6px) scale(.7); opacity: 0; } 30% { opacity: .9; } 100% { transform: translateY(-14px) scale(1.2); opacity: 0; } }
.ecoanim__pane.is-on .ecoa-belt { animation: ecoaBelt 2s linear infinite; }
@keyframes ecoaBelt { from { transform: translateX(-36px); } to { transform: translateX(0); } }
.ecoa-card { transform-box: fill-box; transform-origin: 50% 0; }
.ecoanim__pane.is-on .ecoa-card { animation: ecoaCard 2.1s ease-in-out infinite; }
@keyframes ecoaCard { 0%, 100% { transform: translateY(-24px); opacity: .15; } 45%, 80% { transform: translateY(0); opacity: 1; } }
/* scene 1 — log loads into the truck */
.ecoa1-log { opacity: 0; }
.ecoanim__pane.is-on .ecoa1-log { animation: ecoa1Log 2.6s ease-in-out infinite; }
@keyframes ecoa1Log { 0%, 28% { transform: translate(35px,112px); opacity: 0; } 36% { transform: translate(35px,106px); opacity: 1; } 70% { transform: translate(160px,108px); opacity: 1; } 78%, 100% { transform: translate(160px,110px); opacity: 0; } }
/* scene 3 — arm reaches and taps the printer + LED blink */
.ecoa3-arm { transform-box: fill-box; transform-origin: 0% 50%; }
.ecoanim__pane.is-on .ecoa3-arm { animation: ecoa3Arm 1.3s ease-in-out infinite; }
@keyframes ecoa3Arm { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(8deg); } }
.ecoanim__pane.is-on .ecoa3-led { animation: ecoa3Led 1s steps(1) infinite; }
@keyframes ecoa3Led { 0%, 55% { opacity: 1; } 56%, 100% { opacity: .2; } }
/* scene 4 — courier walks to the truck, loads, boards, truck drives off */
.ecoa4-leg { transform-box: fill-box; transform-origin: 50% 0; }
.ecoa4-wheel { transform-box: fill-box; transform-origin: center; }
.ecoa4-person { transform: translate(18px,100px); }
.ecoa4-box { opacity: 0; }
.ecoanim__pane.is-on .ecoa4-person { animation: ecoa4Walk 4.4s ease-in-out infinite; }
@keyframes ecoa4Walk { 0% { transform: translate(18px,100px); opacity: 1; } 40% { transform: translate(72px,100px); opacity: 1; } 54% { transform: translate(72px,100px); opacity: 1; } 61% { transform: translate(72px,100px); opacity: 0; } 100% { transform: translate(72px,100px); opacity: 0; } }
.ecoanim__pane.is-on .ecoa4-leg--a { animation: ecoa4LegA 4.4s linear infinite; }
.ecoanim__pane.is-on .ecoa4-leg--b { animation: ecoa4LegB 4.4s linear infinite; }
@keyframes ecoa4LegA { 0% { transform: rotate(0); } 8% { transform: rotate(24deg); } 16% { transform: rotate(-24deg); } 24% { transform: rotate(24deg); } 32% { transform: rotate(-24deg); } 40%, 100% { transform: rotate(0); } }
@keyframes ecoa4LegB { 0% { transform: rotate(0); } 8% { transform: rotate(-24deg); } 16% { transform: rotate(24deg); } 24% { transform: rotate(-24deg); } 32% { transform: rotate(24deg); } 40%, 100% { transform: rotate(0); } }
.ecoanim__pane.is-on .ecoa4-box { animation: ecoa4Box 4.4s ease-in-out infinite; }
@keyframes ecoa4Box { 0%, 40% { transform: translate(78px,106px); opacity: 0; } 45% { transform: translate(78px,104px); opacity: 1; } 53% { transform: translate(108px,96px); opacity: 1; } 59% { transform: translate(112px,94px); opacity: 0; } 100% { opacity: 0; } }
.ecoanim__pane.is-on .ecoa4-truck { animation: ecoa4Truck 4.4s ease-in-out infinite; }
@keyframes ecoa4Truck { 0%, 60% { transform: translateX(0); } 92%, 100% { transform: translateX(120px); } }
.ecoanim__pane.is-on .ecoa4-wheel { animation: ecoa4Wheel 4.4s ease-in infinite; }
@keyframes ecoa4Wheel { 0%, 60% { transform: rotate(0); } 92%, 100% { transform: rotate(680deg); } }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .ecoanim__pane { opacity: 1; filter: none; transform: none; } .ecoanim__pane * { animation: none !important; } }
@media (max-width: 560px) { .ecoanim__panes { grid-template-columns: repeat(2, 1fr); } .ecoanim__steps { grid-template-columns: repeat(2, 1fr); gap: 16px 0; } .ecoanim__line { display: none; } }
.gfield--lang { align-items: center; text-align: center; gap: 6px; }
.gfield__lb--big { font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--text-strong); }
.gfield--lang .gfield__hint { max-width: 34em; margin-bottom: 4px; }
.glangs { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.glang { display: flex; align-items: center; gap: 13px; width: 100%; padding: 10px 16px; border-radius: 13px; border: 1.5px solid var(--border); background: var(--surface-2); color: var(--text-strong); font-family: "Sora",sans-serif; font-weight: 700; font-size: .98rem; cursor: pointer; text-align: start; transition: border-color .2s, background .25s, color .2s, box-shadow .25s, transform .2s; }
.glang__flag { font-size: 1.35rem; line-height: 1; flex: none; }
.glang__name { flex: 1 1 auto; }
.glang__chk { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; opacity: 0; transition: opacity .2s; }
.glang__chk .ic { width: .82rem; height: .82rem; }
.glang:hover { border-color: color-mix(in srgb, var(--brand), transparent 45%); transform: translateY(-1px); }
.glang.is-on { border-color: transparent; background: var(--grad); color: #fff; box-shadow: 0 16px 34px -14px rgba(168,85,247,.6); }
.glang.is-on .glang__chk { opacity: 1; }

/* ---------- Product detail page (type 2 — duration) ---------- */
.pdp__back { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 18px; font-family: "Sora",sans-serif; font-weight: 600; font-size: .85rem; color: var(--text-soft); text-decoration: none; transition: color .2s, gap .2s; }
.pdp__back:hover { color: var(--text-strong); gap: 9px; }
.pdp__back .ic { width: 1rem; height: 1rem; transform: rotate(90deg); }
[dir="rtl"] .pdp__back .ic { transform: rotate(-90deg); }
.pdp__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 28px; padding: 24px; border: 1.5px solid color-mix(in srgb, var(--pc) 28%, var(--border)); border-radius: var(--radius-lg); background: linear-gradient(135deg, color-mix(in srgb, var(--pc) 12%, var(--surface)), var(--surface) 70%); box-shadow: var(--shadow-md); }
.pdp__brand { display: flex; align-items: center; gap: 18px; min-width: 0; }
.pdp__logo { width: 76px; height: 76px; flex: none; overflow: hidden; display: grid; place-items: center; border-radius: 20px; background: color-mix(in srgb, var(--pc) 16%, var(--surface-2)); border: 1px solid color-mix(in srgb, var(--pc) 30%, var(--border)); }
.pdp__logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp__name { margin: 0; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.7rem; color: var(--text-strong); line-height: 1.1; }
.pdp__rate { display: inline-flex; align-items: baseline; gap: 6px; margin-top: 5px; font-family: "Sora",sans-serif; font-size: .8rem; color: var(--text-soft); }
.pdp__rate b { color: #F59E0B; font-weight: 800; }
.pdp__rate i { font-style: normal; color: var(--muted); }
.pdp__desc { margin: 7px 0 0; font-size: .92rem; color: var(--text-soft); }
.pdp__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp__badge { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-family: "Sora",sans-serif; font-weight: 600; font-size: .76rem; color: var(--text-soft); }
.pdp__badge .ic { width: .9rem; height: .9rem; color: var(--pc); flex: none; }
.pdp__grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 20px; margin-top: 22px; align-items: stretch; }
.pdp__plans { margin: 24px 0 14px; }
/* LinkedIn : sélecteur de mode d'activation (cliquable, change les offres) */
.pdp__acts { display: flex; flex-wrap: nowrap; justify-content: center; gap: 10px; margin: 0 0 22px; }
.pdp__act { display: inline-flex; align-items: center; justify-content: center; padding: 11px 22px; border: 1.5px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--text); font: inherit; white-space: nowrap; cursor: pointer; transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; }
.pdp__act b { font-family: "Sora", sans-serif; font-weight: 700; font-size: 1rem; }
.pdp__act:hover { transform: translateY(-2px); border-color: var(--pc); }
.pdp__act.is-on { border-color: var(--pc); background: color-mix(in srgb, var(--pc) 10%, var(--surface)); box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--pc) 60%, transparent); }
.pdp__act.is-on b { color: var(--pc); }
@media (max-width: 820px) { .pdp__acts { flex-wrap: wrap; } }
@media (max-width: 520px) { .pdp__act { flex: 1 1 100%; } }
/* Sélecteur de durée (LinkedIn : 2 / 6 / 12 mois) */
.pdp__durtabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 16px; }
.pdp__durtab { display: inline-flex; align-items: center; gap: 7px; padding: 9px 20px; border: 1.5px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text); font: inherit; cursor: pointer; transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; }
.pdp__durtab b { font-family: "Sora", sans-serif; font-weight: 700; font-size: .98rem; }
.pdp__durtab small { font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.pdp__durtab:hover { transform: translateY(-2px); border-color: var(--pc); }
.pdp__durtab.is-on { border-color: var(--pc); background: color-mix(in srgb, var(--pc) 12%, var(--surface)); box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--pc) 60%, transparent); }
.pdp__durtab.is-on b { color: var(--pc); }
@media (max-width: 520px) { .pdp__durtab { flex: 1 1 40%; justify-content: center; } }
/* Mode d'activation indisponible pour la durée choisie : bouton grisé */
.pdp__act--off { cursor: not-allowed; opacity: .5; border-style: dashed; flex-direction: column; gap: 1px; }
.pdp__act--off:hover { transform: none; border-color: var(--border); box-shadow: none; }
.pdp__act--off small { font-size: .62rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
/* offre indisponible pour un mode d'activation : colonne grisée */
.cghead--off, .cgval--off { opacity: .42; }
.cghead--off .cghead__name { text-decoration: line-through; }
.cghead__price--off { color: var(--muted); font-family: "Sora", sans-serif; font-weight: 800; font-size: .92rem; }
.cgbtn--off { display: inline-block; padding: 10px 16px; border-radius: 12px; border: 1px dashed var(--border); background: var(--bg-alt); color: var(--muted); font-family: "Sora", sans-serif; font-weight: 700; font-size: .82rem; cursor: not-allowed; }
.pdp__grid[hidden] { display: none; }
.pdp__panel { display: flex; flex-direction: column; padding: 22px; border: 1.5px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-md); }
.pdp__h { margin: 0 0 16px; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.12rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; width: fit-content; }
.pdp__durs { display: flex; flex-direction: column; gap: 11px; }
.pdp__dur { position: relative; cursor: pointer; }
.pdp__dur input { position: absolute; opacity: 0; pointer-events: none; }
.pdp__durbox { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: 14px; background: var(--surface-2); transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .15s var(--ease); }
.pdp__dur:hover .pdp__durbox { transform: translateY(-1px); border-color: color-mix(in srgb, var(--pc) 45%, var(--border)); }
.pdp__dur input:checked + .pdp__durbox { border-color: var(--pc); background: color-mix(in srgb, var(--pc) 10%, var(--surface)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pc) 18%, transparent); }
.pdp__durhead { display: flex; align-items: center; gap: 8px; font-family: "Sora",sans-serif; font-weight: 700; font-size: 1rem; color: var(--text-strong); }
.pdp__best { font-style: normal; font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; padding: 3px 8px; border-radius: 999px; background: var(--pc); color: #fff; }
.pdp__durprice { grid-column: 1; display: inline-flex; align-items: baseline; gap: 5px; font-family: "Sora",sans-serif; }
.pdp__durprice s { color: var(--muted); font-size: .8rem; font-weight: 600; }
.pdp__durprice b { font-size: 1.35rem; font-weight: 800; color: var(--text-strong); }
/* Durée indisponible : grisée et non sélectionnable (comme LinkedIn Sales / Recruiter) */
.pdp__dur--off { cursor: not-allowed; }
.pdp__dur--off .pdp__durbox { background: var(--surface-2); border-style: dashed; opacity: .6; }
.pdp__dur--off:hover .pdp__durbox { transform: none; border-color: var(--border); box-shadow: none; }
.pdp__dur--off .pdp__durhead { color: var(--muted); }
.pdp__durprice--off { grid-column: 1; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.2rem; color: var(--muted); }
.pdp__duroff--off { align-self: center; padding: 4px 11px; border-radius: 999px; background: color-mix(in srgb, var(--muted) 18%, var(--surface)); color: var(--muted); font-family: "Sora",sans-serif; font-weight: 700; font-size: .74rem; }
.pdp__durmo { color: var(--muted); font-family: "Sora",sans-serif; font-weight: 600; font-size: .76rem; margin-inline-start: 5px; }
/* Produit bientôt disponible : état "M'avertir" */
.pdp__soon { display: grid; gap: 11px; justify-items: start; padding: 14px 2px 8px; }
.pdp__soonbadge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 15px; border-radius: 999px; background: color-mix(in srgb, var(--pc) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--pc) 40%, transparent); color: var(--pc); font-family: "Sora",sans-serif; font-weight: 800; font-size: .85rem; }
.pdp__soontxt { color: var(--text-soft); font-size: .97rem; line-height: 1.55; margin: 0; }
.pdp__durprice i { font-style: normal; font-size: .8rem; font-weight: 700; color: var(--text-soft); }
.pdp__durprice small { color: var(--muted); font-size: .72rem; }
.pdp__duroff { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-family: "Sora",sans-serif; font-weight: 800; font-size: .8rem; color: #16a34a; padding: 4px 9px; border-radius: 999px; background: color-mix(in srgb, #16a34a 14%, transparent); }
.pdp__cta { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 24px; padding: 15px; border-radius: 999px; background: var(--grad); color: #fff; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1rem; text-decoration: none; box-shadow: 0 16px 32px -14px color-mix(in srgb, var(--pc) 70%, rgba(168,85,247,.6)); transition: transform .2s var(--ease), filter .2s; }
.pdp__cta:hover { transform: translateY(-2px); filter: brightness(1.06); }
.pdp__cta .ic { width: 1.05rem; height: 1.05rem; }
[dir="rtl"] .pdp__cta .ic { transform: scaleX(-1); }
.pdp__safe { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 14px 0 0; margin-top: auto; padding-top: 14px; font-size: .76rem; color: var(--text-soft); }
.pdp__safe .ic { width: .9rem; height: .9rem; color: var(--pc); }
.pdp__feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.pdp__feat { display: flex; align-items: flex-start; gap: 11px; font-size: .9rem; color: var(--text-strong); line-height: 1.4; }
.pdp__feat .pverif { width: 1.25rem; height: 1.25rem; flex: none; margin-top: 1px; }
.pdp__block { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); }
.pdp__sub { margin: 0 0 13px; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; width: fit-content; }
.pdp__pays { display: flex; flex-wrap: wrap; gap: 5px; }
.pdp__pays .paylogo { flex: 1 1 auto; height: 27px; min-width: 0; padding: 0 6px; }
.pdp__pays .paylogo__svg { height: 14px; }
.pdp__pays .paylogo__svg--bnb { height: 15px; }
.pdp__pays .pl-visa { font-size: .72rem; }
.pdp__pays .pl-pay { font-size: .68rem; }
.pdp__pays .pl-cashplus { font-size: .6rem; }
.pdp__pays .paylogo--vir { gap: 3px; }
.pdp__pays .pl-vir { font-size: .6rem; }
.pdp__pays .paylogo--vir .ic { width: 12px; height: 12px; }
.pdp__paysafe { display: flex; align-items: center; gap: 7px; margin: 13px 0 0; font-size: .78rem; color: var(--text-soft); }
.pdp__paysafe .ic { width: .9rem; height: .9rem; color: #16a34a; flex: none; }
.pdp__revslot { overflow: hidden; }
.pdp__rev { padding: 13px 15px; border-radius: 12px; background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 12%, var(--surface-2)), color-mix(in srgb, #4f7cff 9%, var(--surface-2))); border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--border)); }
.pdp__rev.is-out { animation: revOut .4s var(--ease) forwards; }
.pdp__rev.is-in { animation: revIn .45s var(--ease) forwards; }
@keyframes revOut { to { transform: translateX(42px); opacity: 0; } }
@keyframes revIn { from { transform: translateX(-42px); opacity: 0; } }
.pdp__revtop { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 5px; }
.pdp__revtop b { font-family: "Sora",sans-serif; font-weight: 700; font-size: .85rem; color: var(--text-strong); }
.pdp__stars { color: #F59E0B; font-size: .82rem; letter-spacing: 1px; white-space: nowrap; }
.pdp__rev p { margin: 0; font-size: .84rem; color: var(--text-soft); line-height: 1.45; }
.pdp__rev .rev__src { display: block; text-align: end; margin-top: 9px; font-size: .76rem; }
[dir="rtl"] .pdp__rev .rev__src { text-align: start; }
@media (max-width: 820px) { .pdp__grid { grid-template-columns: 1fr; } .pdp__top { flex-direction: column; align-items: flex-start; } }

/* ---------- Notify (back-in-stock) modal ---------- */
.notify[hidden] { display: none; }
.notify { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 18px; }
.notify__ov { position: absolute; inset: 0; background: rgba(8,10,25,.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.notify__panel { position: relative; z-index: 1; width: 100%; max-width: 420px; border: 1.5px solid color-mix(in srgb, var(--brand) 30%, var(--border)); border-radius: var(--radius-lg); background: var(--surface); padding: clamp(24px,3vw,32px); box-shadow: var(--shadow-lg); text-align: center; animation: copayIn .26s var(--ease); }
.notify__x { position: absolute; top: 12px; inset-inline-end: 14px; width: 34px; height: 34px; display: grid; place-items: center; border: none; background: var(--chip); border-radius: 50%; color: var(--text-soft); cursor: pointer; transition: background .2s, color .2s; }
.notify__x .ic { width: 1rem; height: 1rem; }
.notify__x:hover { background: var(--chip); color: var(--text-strong); }
.notify__ic { width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); box-shadow: 0 14px 30px -10px rgba(168,85,247,.7); }
.notify__ic .ic { width: 28px; height: 28px; color: #fff; }
.notify__h { margin: 0 0 8px; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--text-strong); }
.notify__lead { margin: 0 0 18px; font-size: .9rem; color: var(--text-soft); line-height: 1.5; }
.notify__lead b { color: var(--text-strong); font-weight: 700; }
.notify__form { display: flex; flex-direction: column; gap: 10px; }
.notify__form[hidden] { display: none; }
.notify__input { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--border); background: var(--surface-2); color: var(--text-strong); font-family: "Inter",sans-serif; font-size: .92rem; }
.notify__input:focus { outline: none; border-color: var(--brand); }
.notify__submit { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 13px; border-radius: 999px; background: var(--grad); color: #fff; font-family: "Sora",sans-serif; font-weight: 800; font-size: .95rem; border: none; cursor: pointer; box-shadow: 0 14px 30px -12px rgba(168,85,247,.75); transition: transform .2s var(--ease), filter .2s; }
.notify__submit:hover { transform: translateY(-2px); filter: brightness(1.05); }
.notify__submit .ic { width: 1.05rem; height: 1.05rem; }
.notify__done { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.notify__done[hidden] { display: none; }
.notify__doneic { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #22c55e, #16a34a); box-shadow: 0 14px 30px -10px rgba(34,197,94,.7); }
.notify__check { width: 30px; height: 30px; display: block; }
.notify__done:not([hidden]) .notify__doneic { animation: ntfPop .5s var(--ease) both; }
.notify__done:not([hidden]) .notify__check path { stroke-dasharray: 26; stroke-dashoffset: 26; animation: ntfDraw .5s .18s var(--ease) forwards; }
@keyframes ntfPop { 0% { transform: scale(0); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes ntfDraw { to { stroke-dashoffset: 0; } }
.notify__done p { margin: 0; font-size: .92rem; color: var(--text-soft); line-height: 1.5; }
/* En-tête (icône + titre + accroche) regroupé dans le formulaire → espacement géré par le gap. */
.notify__form .notify__ic { margin-bottom: 2px; }
.notify__form .notify__h { margin-bottom: 0; }
.notify__form .notify__lead { margin-bottom: 4px; }
/* Indicatif pays + numéro côte à côte. */
.notify__row { display: flex; gap: 8px; }
.notify__cc { flex: 0 0 42%; min-width: 0; padding: 13px 8px; border-radius: 12px; border: 1.5px solid var(--border); background: var(--surface-2); color: var(--text-strong); font-family: "Inter",sans-serif; font-size: .82rem; cursor: pointer; }
.notify__cc:focus { outline: none; border-color: var(--brand); }
.notify__phone { flex: 1 1 auto; min-width: 0; }
.notify__err { margin: 0; color: #ef4444; font-size: .82rem; font-weight: 600; line-height: 1.4; }
.notify__err[hidden] { display: none; }

/* ---------- Reduced motion ----------
   Choix du site : on GARDE les animations (l'expérience animée est voulue, même
   quand le téléphone est en « animations réduites » / économie d'énergie). On
   conserve seulement le défilement instantané pour ne pas gêner les effets liés
   au scroll. */
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) {
  html { scroll-behavior: auto; }
}

/* ===================== Smart Pack Builder (packs.html) ===================== */
.pbhero { text-align: center; max-width: min(1080px, 94vw); margin: 0 auto clamp(26px, 3.5vw, 44px); }
.pbhero__title { margin-top: 12px; font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1.5rem, 3.4vw, 2.55rem); line-height: 1.08; letter-spacing: -.02em; color: var(--text-strong); white-space: nowrap; }
@media (max-width: 900px) { .pbhero__title { white-space: normal; font-size: clamp(1.9rem, 6.4vw, 2.4rem); } }
.pbhero__title b { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.pbhero__sub { margin-top: 14px; color: var(--text); font-weight: 700; font-size: clamp(1rem, 1.5vw, 1.16rem); line-height: 1.5; }
.pb { display: grid; grid-template-columns: 1fr clamp(330px, 31%, 400px); gap: clamp(18px, 2.4vw, 30px); align-items: start; }
.pb__toolshead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.pb__h { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--text-strong); }
.pb__hint { color: var(--text-soft); font-size: .9rem; }
.pb__tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.pbtool { position: relative; cursor: pointer; text-align: left; display: flex; flex-direction: column; gap: 12px; padding: 18px 16px; border-radius: 18px; background: var(--surface); border: 1.6px solid var(--border); box-shadow: var(--hi); transition: transform .25s var(--ease), box-shadow .25s, border-color .2s, background .2s; }
.pbtool:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--brand), transparent 55%); }
.pbtool.is-sel { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 7%, var(--surface)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand), transparent 78%), var(--shadow-md); }
.pbtool__top { display: flex; align-items: center; gap: 11px; }
.pbtool__logo { flex: none; width: 42px; height: 42px; border-radius: 11px; overflow: hidden; background: #fff; box-shadow: 0 5px 14px -6px rgba(0,0,0,.35); }
.pbtool__logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pbtool__name { font-family: "Sora",sans-serif; font-weight: 700; font-size: .98rem; color: var(--text-strong); line-height: 1.1; }
.pbtool__price { font-size: .9rem; color: var(--text-soft); }
.pbtool__price b { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.05rem; color: var(--text-strong); }
.pbtool__price span { font-size: .8rem; }
.pbtool__check { position: absolute; top: 13px; right: 13px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--border); background: var(--surface); display: grid; place-items: center; color: transparent; transition: .2s var(--ease); }
.pbtool__check .ic { width: .8rem; height: .8rem; }
.pbtool.is-sel .pbtool__check { background: var(--brand); border-color: var(--brand); color: #fff; transform: scale(1.08); }
.pbtool__badge { position: absolute; top: -9px; left: 14px; padding: 3px 9px; border-radius: 999px; background: var(--grad); color: #fff; font-family: "Sora",sans-serif; font-weight: 700; font-size: .62rem; letter-spacing: .03em; text-transform: uppercase; box-shadow: 0 6px 14px -6px color-mix(in srgb, var(--brand), transparent 30%); }
.pb__summary { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 15px; padding: 20px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.pb__reward { padding: 14px 16px; border-radius: 16px; background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 13%, transparent), color-mix(in srgb, var(--accent) 11%, transparent)); border: 1px solid color-mix(in srgb, var(--brand), transparent 74%); }
.pb__reward.is-pop { animation: pbPop .5s var(--ease); }
@keyframes pbPop { 0%{transform:scale(1)} 32%{transform:scale(1.045)} 100%{transform:scale(1)} }
.pb__rewardtxt { font-family: "Sora",sans-serif; font-weight: 700; font-size: .97rem; color: var(--text-strong); line-height: 1.35; }
.pb__rewardtxt b { color: var(--brand); }
.pb__bar { position: relative; height: 8px; margin-top: 12px; border-radius: 999px; background: color-mix(in srgb, var(--text-soft) 22%, transparent); overflow: hidden; }
.pb__fill { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--grad); box-shadow: 0 0 12px color-mix(in srgb, var(--brand), transparent 30%); transition: width .5s var(--ease); }
.pb__steps { display: flex; justify-content: space-between; margin-top: 7px; }
.pb__step { font-size: .72rem; font-weight: 700; color: var(--text-soft); transition: color .25s; }
.pb__step.is-on { color: var(--brand); }
.pb__carthead { display: flex; align-items: baseline; justify-content: space-between; font-family: "Sora",sans-serif; font-weight: 700; color: var(--text-strong); }
.pb__carthead b { color: var(--brand); font-size: .92rem; }
.pb__list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; max-height: 230px; overflow: auto; }
.pb__empty { color: var(--text-soft); font-size: .9rem; padding: 6px 0; }
.pb__line { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .94rem; color: var(--text); animation: pbIn .25s var(--ease); }
@keyframes pbIn { from{opacity:0;transform:translateY(-4px)} to{opacity:1;transform:none} }
.pb__lname { color: var(--text-strong); font-weight: 600; }
.pb__lprice { color: var(--text-soft); }
.pb__lfree { color: #16a34a; font-weight: 800; font-size: .82rem; }
.pb__totals { border-top: 1px dashed var(--border); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.pb__trow { display: flex; align-items: baseline; justify-content: space-between; font-size: .92rem; color: var(--text-soft); }
.pb__trow s { color: var(--text-soft); }
.pb__trow--save b { color: #16a34a; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1rem; }
.pb__trow--total { margin-top: 2px; color: var(--text-strong); }
.pb__trow--total b { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.6rem; color: var(--text-strong); }
.pb__per { color: var(--text-soft); font-size: .85rem; margin-left: 4px; }
.pb__cta { width: 100%; padding: 16px; border: 0; border-radius: 14px; background: var(--grad); color: #fff; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.02rem; cursor: pointer; box-shadow: 0 16px 34px -12px color-mix(in srgb, var(--brand), transparent 35%); transition: transform .2s var(--ease), box-shadow .3s, filter .25s; }
.pb__cta:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 22px 44px -12px color-mix(in srgb, var(--brand), transparent 25%); filter: brightness(1.05); }
.pb__cta:disabled { opacity: .5; cursor: not-allowed; }
.pb__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; }
.pb__trust span { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; color: var(--text-soft); }
.pb__trust .ic { width: .85rem; height: .85rem; color: var(--brand); }
.pb__social { text-align: center; font-size: .85rem; color: var(--text-soft); }
.pb__social b { color: var(--text-strong); }
@media (max-width: 920px) { .pb { grid-template-columns: 1fr; } .pb__tools { grid-template-columns: repeat(2, 1fr); } .pb__summary { position: static; } }
@media (max-width: 520px) { .pb__tools { grid-template-columns: 1fr; } }
/* Pack builder — category filter chips */
.pb__cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.pbcat { display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-soft); font-family: "Sora",sans-serif; font-weight: 700; font-size: .84rem; cursor: pointer; transition: color .2s, border-color .2s, background .2s, transform .15s; }
.pbcat .ic { width: 1rem; height: 1rem; flex: none; }
.pbcat:hover { color: var(--text-strong); border-color: color-mix(in srgb, var(--brand), transparent 55%); transform: translateY(-1px); }
.pbcat.is-active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--brand), transparent 35%); }
/* Pack builder — plan picker popup */
.pbplan { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; }
.pbplan[hidden] { display: none; }
.pbplan__ov { position: absolute; inset: 0; background: rgba(8,10,24,.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.pbplan__panel { position: relative; z-index: 1; width: min(420px, 100%); background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 22px; animation: pbPlanIn .25s var(--ease); }
@keyframes pbPlanIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.pbplan__x { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--chip); color: var(--text-soft); display: grid; place-items: center; cursor: pointer; }
.pbplan__x .ic { width: .9rem; height: .9rem; }
.pbplan__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.pbplan__logo { width: 46px; height: 46px; border-radius: 12px; overflow: hidden; background: #fff; flex: none; box-shadow: 0 6px 16px -6px rgba(0,0,0,.4); }
.pbplan__logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pbplan__name { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.15rem; color: var(--text-strong); }
.pbplan__sub { color: var(--text-soft); font-size: .88rem; }
.pbplan__opts { display: flex; flex-direction: column; gap: 9px; }
.pbplan__opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 13px; border: 1.6px solid var(--border); background: var(--surface); cursor: pointer; transition: border-color .2s, background .2s, transform .15s; text-align: left; }
.pbplan__opt:hover { border-color: color-mix(in srgb, var(--brand), transparent 45%); transform: translateY(-1px); }
.pbplan__opt.is-cur { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 7%, var(--surface)); }
.pbplan__optn { font-family: "Sora",sans-serif; font-weight: 700; color: var(--text-strong); }
.pbplan__optp { font-family: "Sora",sans-serif; font-weight: 800; color: var(--brand); white-space: nowrap; }
.pbplan__optp i { font-style: normal; font-weight: 600; font-size: .78rem; color: var(--text-soft); }
.pbplan__remove { margin-top: 14px; width: 100%; padding: 11px; border: 1px solid var(--border); border-radius: 11px; background: transparent; color: #ef4444; font-family: "Sora",sans-serif; font-weight: 700; font-size: .9rem; cursor: pointer; }
.pbplan__remove[hidden] { display: none; }
/* Partners page — two partner types */
.ptypes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: none; margin: 0 auto; }
.ptype { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 13px; padding: 38px 24px 36px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--hi); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.ptype::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); }
.ptype:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--brand), transparent 50%); }
.ptype__tag { position: relative; overflow: hidden; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); font-family: "Sora",sans-serif; font-weight: 700; font-size: .72rem; letter-spacing: .03em; text-transform: uppercase; }
.ptype__tag .ic { width: .92rem; height: .92rem; }
.ptype__tag::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%); transform: translateX(-130%); animation: tagShine 5s ease-in-out infinite; }
.ptype:nth-child(2) .ptype__tag::after { animation-delay: .5s; }
.ptype:nth-child(3) .ptype__tag::after { animation-delay: 1s; }
.ptype:nth-child(4) .ptype__tag::after { animation-delay: 1.5s; }
@keyframes tagShine { 0% { transform: translateX(-130%); } 18% { transform: translateX(130%); } 100% { transform: translateX(130%); } }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .ptype__tag::after { animation: none; display: none; } }
.ptype__ic { width: 92px; height: 92px; border-radius: 18px; overflow: hidden; background: #0B1020; box-shadow: 0 12px 28px -12px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.05); }
.ptype__ic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ptype__t { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.22rem; line-height: 1.2; color: var(--text-strong); }
.ptype__d { color: var(--text-soft); font-size: .92rem; line-height: 1.55; min-height: calc(.92rem * 1.55 * 3); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.ptype__list { list-style: none; margin: 2px 0 26px; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.ptype__list li { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 1rem; line-height: 1.3; }
.ptype__list .ic { width: 1rem; height: 1rem; color: var(--brand); flex: none; }
.ptype .pintro__cta { align-self: stretch; justify-content: center; margin-top: auto; padding: 12px 18px; font-size: .95rem; }
/* Featured partner card (most popular) */
.ptype--featured { border-color: color-mix(in srgb, var(--brand) 75%, transparent); box-shadow: 0 20px 55px -22px color-mix(in srgb, var(--brand), transparent 10%), 0 0 38px -4px color-mix(in srgb, var(--brand), transparent 48%), var(--hi); }
.ptype--featured::before { height: 5px; }
.ptype__pop { position: absolute; top: 0; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 5px; padding: 5px 14px; border-radius: 0 0 12px 12px; background: var(--grad); color: #fff; font-family: "Sora",sans-serif; font-weight: 800; font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 10px 20px -8px color-mix(in srgb, var(--brand), transparent 25%); }
.ptype__pop .ic { width: .82rem; height: .82rem; }
@media (max-width: 1200px) { .ptypes { grid-template-columns: repeat(2, 1fr); max-width: 820px; } }
@media (max-width: 760px) { .ptypes { grid-template-columns: 1fr; max-width: 460px; } }
/* ===================== Spacing normalization (consistent vertical rhythm) ===================== */
/* Tighter, consistent gap between a section heading and its content (was up to 42px) */
.section__head { margin-bottom: clamp(20px, 2.4vw, 34px); }
/* Partners is a compact trust strip, not a full section */
.partners { padding-top: clamp(22px, 2.6vw, 34px); padding-bottom: 0; }
/* Jonction partenaires → avis : même écart que avis → stats (.rev-stats) */
#reviews { padding-top: 0; }
#reviews .rev-switch { margin-top: clamp(16px, 2vw, 25px); }
#partners .section__head { margin-bottom: clamp(12px, 1.4vw, 18px); }
.partners__row { margin-top: 0; }
/* Pack builder: give the category chips room to breathe from the products */
.pb__toolshead { margin-bottom: 18px; }
.pb__cats { margin: 0 0 24px; }
/* ===================== Audiences — vertical feature rows (homepage) ===================== */
.audrows { display: flex; flex-direction: column; gap: clamp(26px, 4vw, 56px); margin-top: clamp(6px, 1.2vw, 14px); }
.audrow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 4vw, 56px); align-items: stretch; }
.audrow--rev .audrow__visual { order: 2; }
.audrow__visual { position: relative; height: 100%; min-height: clamp(168px, 18vw, 215px); border-radius: 26px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(140deg, var(--ac) 0%, var(--ac2) 100%); box-shadow: 0 30px 70px -32px color-mix(in srgb, var(--ac), transparent 30%), inset 0 1px 0 rgba(255,255,255,.25); }
.audrow__visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 80% at 75% 12%, rgba(255,255,255,.30), transparent 60%); pointer-events: none; }
.audrow__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.audrow__visual:has(img) .audrow__glyph { display: none; }
.audrow__visual:has(img)::before { display: none; }
.audrow__glyph { position: relative; z-index: 1; width: clamp(72px, 8.5vw, 108px); height: clamp(72px, 8.5vw, 108px); border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 12px 30px -10px rgba(0,0,0,.3); }
.audrow__glyph .ic { width: 46%; height: 46%; }
.audrow__chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; background: rgba(255,255,255,.94); color: #0f172a; font-family: "Sora",sans-serif; font-weight: 700; font-size: .8rem; box-shadow: 0 10px 24px -10px rgba(0,0,0,.4); }
.audrow__chip .ic { width: .9rem; height: .9rem; color: var(--ac); }
.audrow__chip--a { top: 15%; left: 7%; animation: audFloat 5s ease-in-out infinite; }
.audrow__chip--b { bottom: 15%; right: 7%; animation: audFloat 6s ease-in-out infinite reverse; }
@keyframes audFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.audrow__text { min-width: 0; }
.audrow__eyebrow { display: inline-flex; align-items: center; gap: 7px; font-family: "Sora",sans-serif; font-weight: 700; font-size: .92rem; color: var(--ac); margin-bottom: 8px; }
.audrow__eyebrow .ic { width: 1.15rem; height: 1.15rem; }
.audiences__head { max-width: none; }
.audiences__head .section__title { white-space: nowrap; }
@media (max-width: 820px) { .audiences__head .section__title { white-space: normal; } }
/* One-line section heads (keep the title on a single line on desktop, wrap on mobile) */
.shead-1line { max-width: none; }
.shead-1line .section__title { white-space: nowrap; }
.shead-1line .section__lead { max-width: none; margin-left: auto; margin-right: auto; white-space: nowrap; }
@media (max-width: 1000px) { .shead-1line .section__lead { white-space: normal; max-width: 640px; } }
@media (max-width: 820px) { .shead-1line .section__title { white-space: normal; } }
.audrow__title { font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.12; color: var(--text-strong); }
.audrow--tamkin .audrow__title { background: linear-gradient(110deg, var(--ac), var(--ac2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.audrow--tamkin .audrow__visual img { object-position: 50% 22%; }
.audrow__desc { margin-top: 12px; color: var(--text-soft); font-size: 1.04rem; line-height: 1.6; max-width: 52ch; }
.audrow__cta { margin-top: 20px; display: inline-flex; align-items: center; gap: 9px; padding: 13px 24px; border-radius: 999px; background: var(--ac); color: #fff; font-family: "Sora",sans-serif; font-weight: 700; font-size: .95rem; text-decoration: none; box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--ac), transparent 35%); transition: transform .2s var(--ease), box-shadow .3s, filter .25s; }
.audrow__cta .ic { width: 1rem; height: 1rem; transition: transform .25s var(--ease); }
.audrow__cta:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px color-mix(in srgb, var(--ac), transparent 25%); filter: brightness(1.06); }
.audrow__cta:hover .ic { transform: translateX(4px); }
[dir="rtl"] .audrow__cta:hover .ic { transform: translateX(-4px); }
@media (max-width: 820px) {
  .audrow { grid-template-columns: 1fr; gap: 18px; }
  .audrow__visual, .audrow--rev .audrow__visual { order: -1; }
  /* hauteur EXPLICITE (pas d'aspect-ratio) : marche sur tous les navigateurs, largeur = colonne (jamais coupée à droite) */
  .audrow__visual { height: clamp(180px, 52vw, 240px); min-height: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .audrow__chip { animation: none; } }
/* Justify the audience-row body text (aligned to both left & right edges) */
.audrow__desc { text-align: justify; }
/* ===================== Per-audience-page colour themes (main content only) ===================== */
body[data-page="etudiants"] main { --brand: #7c3aed; --brand-2: #9333ea; --brand-3: #a855f7; --accent: #e0529c; --neon: #7c3aed; --neon-2: #e0529c; --grad: linear-gradient(120deg, #7c3aed 0%, #a855f7 42%, #e0529c 100%); --grad-2: linear-gradient(120deg, #7c3aed, #e0529c); }
body[data-page="entreprises"] main { --brand: #2563eb; --brand-2: #4f46e5; --brand-3: #3b82f6; --accent: #2563eb; --neon: #2563eb; --neon-2: #4f46e5; --grad: linear-gradient(120deg, #4f46e5 0%, #2563eb 60%, #3b82f6 100%); --grad-2: linear-gradient(120deg, #4f46e5, #2563eb); }
body[data-page="partenaires"] main { --brand: #f97316; --brand-2: #ea580c; --brand-3: #fb923c; --accent: #f59e0b; --neon: #f97316; --neon-2: #f59e0b; --grad: linear-gradient(120deg, #f97316 0%, #f59e0b 100%); --grad-2: linear-gradient(120deg, #f97316, #f59e0b); }
body[data-page="inclusion"] main { --brand: #6366F1; --brand-2: #14B8A6; --brand-3: #818CF8; --accent: #F0B45E; --neon: #6366F1; --neon-2: #14B8A6; --grad: linear-gradient(120deg, #6366F1 0%, #14B8A6 100%); --grad-2: linear-gradient(120deg, #6366F1, #14B8A6); }
body[data-page="partage"] main { --brand: #2563eb; --brand-2: #1d4ed8; --brand-3: #3b82f6; --accent: #10c47f; --neon: #2563eb; --neon-2: #10c47f; --grad: linear-gradient(120deg, #2563eb 0%, #10c47f 100%); --grad-2: linear-gradient(120deg, #2563eb, #10c47f); }

/* ============ Étudiants page ============ */
.ehero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.ehero__text { text-align: start; }
.ehero .kicker { display: inline-flex; align-items: center; gap: 7px; }
.ehero .kicker .ic { width: 1.05rem; height: 1.05rem; }
.ehero__title { font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.06; letter-spacing: -.02em; color: var(--text-strong); }
.ehero__lead { margin-top: 16px; color: var(--text-soft); font-size: 1.08rem; line-height: 1.6; max-width: 52ch; }
.ehero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.ehero__points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; padding: 0; }
.ehero__points li { display: inline-flex; align-items: center; gap: 8px; color: var(--text-soft); font-size: .95rem; font-weight: 600; }
.ehero__points .ic { width: 1.05rem; height: 1.05rem; color: #a855f7; }
.ehero__visual { position: relative; aspect-ratio: 16 / 11; border-radius: 26px; overflow: hidden; box-shadow: 0 42px 84px -44px var(--ec, rgba(124,58,237,.85)), var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.16); }
.ehero__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ehero__visual::before { content: ""; position: absolute; inset: -28%; z-index: -1; background: radial-gradient(closest-side, color-mix(in srgb, var(--ec, #7c3aed) 55%, transparent), transparent 70%); filter: blur(44px); animation: eheroGlow 5s ease-in-out infinite; }
.ehero__visual::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: screen; background: radial-gradient(125% 95% at 0% 0%, color-mix(in srgb, var(--ec, #a855f7) 60%, transparent), transparent 46%), radial-gradient(125% 100% at 100% 100%, color-mix(in srgb, var(--ec2, #ec4899) 60%, transparent), transparent 50%), radial-gradient(135% 130% at 50% 46%, transparent 46%, color-mix(in srgb, var(--ec, #7c3aed) 60%, transparent) 100%); }
@keyframes eheroGlow { 0%,100% { opacity: .5; transform: scale(.95); } 50% { opacity: .9; transform: scale(1.07); } }

.epb-sec { padding-block: clamp(8px, 1.4vw, 18px); }
.epb { position: relative; overflow: hidden; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 22px clamp(14px, 2vw, 28px); border-radius: 20px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--hi), inset 0 18px 38px -24px color-mix(in srgb, var(--brand), transparent 18%), inset 0 -18px 38px -24px color-mix(in srgb, var(--brand), transparent 18%); }
/* Charter-coloured side accents (gradient bar + inward glow) */
.epb::before, .epb::after { content: ""; position: absolute; top: 0; bottom: 0; width: 4px; pointer-events: none; background: var(--grad); box-shadow: 0 0 28px 3px color-mix(in srgb, var(--brand), transparent 42%); }
.epb::before { left: 0; }
.epb::after { right: 0; }
.epb__stat { text-align: center; position: relative; }
.epb__stat + .epb__stat::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); height: 56%; width: 1px; background: var(--border); }
.epb__stat b { display: block; font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.epb__stat span { display: block; margin-top: 7px; color: var(--text-soft); font-size: .86rem; }

.unigrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.unicard { border: 1px solid var(--border); border-radius: 22px; overflow: hidden; background: var(--surface); box-shadow: var(--hi); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.unicard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--uc) 40%, var(--border)); }
.unicard__media { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; background: linear-gradient(140deg, var(--uc), var(--uc2)); }
.unicard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.unicard:hover .unicard__media img { transform: scale(1.06); }
.unicard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(150deg, color-mix(in srgb, var(--uc) 55%, transparent), transparent 58%); }
.unicard__ic { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.18); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.unicard__ic .ic { width: 32px; height: 32px; }
.unicard__body { padding: 22px 22px 24px; }
.unicard__t { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.18rem; color: var(--text-strong); }
.unicard__d { margin-top: 8px; color: var(--text-soft); font-size: .96rem; line-height: 1.5; }
/* "Comment ça marche" article — alternating media rows (text + photo, themed) */
.artrows { display: flex; flex-direction: column; gap: clamp(20px, 3vw, 40px); }
.artrow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.artrow:nth-child(even) .artrow__text { order: 2; }
.artrow:nth-child(even) .artrow__media { order: 1; }
.artrow__k { display: inline-block; font-family: "Sora",sans-serif; font-weight: 700; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; color: var(--brand); background: color-mix(in srgb, var(--brand) 13%, transparent); padding: 5px 14px; border-radius: 999px; margin-bottom: 16px; }
.artrow__t { font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.12; color: var(--text-strong); }
.artrow__d { margin-top: 14px; color: var(--text-soft); font-size: 1.2rem; line-height: 1.65; max-width: 50ch; }
.artrow__d b { color: var(--brand-3); font-weight: 700; }
.artrow__chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 20px 0 0; padding: 0; list-style: none; }
.artrow__chips li { font-family: "Sora",sans-serif; font-weight: 600; font-size: .8rem; color: var(--text-strong); background: color-mix(in srgb, var(--brand) 8%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 24%, var(--border)); padding: 6px 13px; border-radius: 999px; white-space: nowrap; opacity: 0; transition: border-color .22s var(--ease), background .22s var(--ease), box-shadow .22s var(--ease); }
@keyframes chipPop { 0% { opacity: 0; transform: translateY(12px) scale(.85); } 55% { opacity: 1; transform: translateY(-2px) scale(1.06); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
.reveal.is-in .artrow__chips li { animation: chipPop .55s var(--ease) both; }
.reveal.is-in .artrow__chips li:nth-child(1) { animation-delay: .06s; }
.reveal.is-in .artrow__chips li:nth-child(2) { animation-delay: .13s; }
.reveal.is-in .artrow__chips li:nth-child(3) { animation-delay: .20s; }
.reveal.is-in .artrow__chips li:nth-child(4) { animation-delay: .27s; }
.reveal.is-in .artrow__chips li:nth-child(5) { animation-delay: .34s; }
.reveal.is-in .artrow__chips li:nth-child(6) { animation-delay: .41s; }
.reveal.is-in .artrow__chips li:nth-child(7) { animation-delay: .48s; }
.artrow__chips li:hover { border-color: var(--brand-3); background: color-mix(in srgb, var(--brand) 16%, transparent); box-shadow: 0 6px 18px -7px color-mix(in srgb, var(--brand) 65%, transparent); }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .artrow__chips li { opacity: 1; animation: none; } }
.artrow--lead { align-items: center; }
.artrow--lead .artrow__d { margin-top: 26px; }
.artrow__t--lead { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.artrow__media { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: var(--grad); border: 1px solid color-mix(in srgb, var(--brand) 28%, var(--border)); box-shadow: var(--shadow-lg), var(--hi); display: grid; place-items: center; }
.artrow__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.artrow__ph { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 26px; background: rgba(255,255,255,.16); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.34); }
.artrow__ph .ic { width: 2.6rem; height: 2.6rem; }
@media (max-width: 820px) { .artrow { grid-template-columns: 1fr; gap: 20px; } .artrow:nth-child(even) .artrow__text, .artrow:nth-child(even) .artrow__media { order: 0; } .artrow__media { max-width: 480px; } }

.esteps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); padding-top: 8px; }
.esteps__line { position: absolute; top: 31px; left: 16.6%; right: 16.6%; height: 3px; border-radius: 3px; background: var(--border); overflow: hidden; }
.esteps__fill { position: absolute; inset: 0; width: 0; border-radius: 3px; background: linear-gradient(90deg, #7c3aed, #e0529c); transition: width 1.4s var(--ease) .2s; }
.esteps.is-in .esteps__fill { width: 100%; }
.estep { position: relative; text-align: center; padding: 0 8px; }
.estep__n { position: relative; z-index: 1; width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.2rem; color: #fff; background: linear-gradient(140deg, #7c3aed, #a855f7); box-shadow: 0 12px 26px -10px rgba(124,58,237,.7); }
.estep__t { margin-top: 16px; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.12rem; color: var(--text-strong); }
.estep__d { margin-top: 8px; color: var(--text-soft); font-size: .96rem; line-height: 1.5; max-width: 34ch; margin-inline: auto; }

@media (max-width: 880px) {
  .ehero__grid { grid-template-columns: 1fr; }
  .ehero__visual { order: -1; }
  .epb { grid-template-columns: repeat(2, 1fr); gap: 18px 8px; }
  .epb__stat:nth-child(3)::before { display: none; }
  .unigrid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .esteps { grid-template-columns: 1fr; gap: 26px; }
  .esteps__line { display: none; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .ehero__visual::before { animation: none; } .esteps__fill { transition: none; width: 100%; } }

/* ---- Étudiant ambassadeur (page étudiants) ---- */
.ambz__grid { margin-top: clamp(6px, 1.2vw, 14px); }
.ambz__sub { margin: clamp(36px, 4.6vw, 60px) 0 6px; text-align: center; font-family: "Sora", sans-serif; font-weight: 800; font-size: clamp(1.24rem, 2.4vw, 1.62rem); color: var(--text-strong); }
.ambz__note { margin-top: 14px; color: var(--text-soft); font-size: .9rem; }
.ambz__login { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; color: var(--brand); font-family: "Sora", sans-serif; font-weight: 700; font-size: .92rem; text-decoration: none; }
.ambz__login .ic { width: .95rem; height: .95rem; }
.ambz__login:hover { text-decoration: underline; }
.ambz__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pintro__cta--out { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--brand) 42%, var(--border)); }
.pintro__cta--out:hover { box-shadow: inset 0 0 0 2px var(--brand); background: color-mix(in srgb, var(--brand) 8%, transparent); filter: none; }

/* ---- Entreprises/Partenaires extras ---- */
.esteps--4 { grid-template-columns: repeat(4, 1fr); }
.esteps--4 .esteps__line { left: 12.5%; right: 12.5%; }
/* "Comment ça marche" — themed per page (var(--grad)) + line behind badges + auto-cycling highlight */
.esteps__fill { background: var(--grad); }
.estep__n { background: var(--grad); box-shadow: 0 12px 26px -10px color-mix(in srgb, var(--brand), transparent 28%); }
.esteps__line { z-index: 0; }
.esteps .estep { position: relative; z-index: 1; }
body[data-page="partenaires"] .estep__d { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; min-height: calc(.96rem * 1.5 * 2); }
.esteps:not(.esteps--4) .estep { animation: estepCycle 6s ease-in-out infinite; }
.esteps:not(.esteps--4) .estep:nth-child(2) { animation-delay: 0s; }
.esteps:not(.esteps--4) .estep:nth-child(3) { animation-delay: -4s; }
.esteps:not(.esteps--4) .estep:nth-child(4) { animation-delay: -2s; }
.esteps--4 .estep { animation: estepCycle4 8s ease-in-out infinite; }
.esteps--4 .estep:nth-child(2) { animation-delay: 0s; }
.esteps--4 .estep:nth-child(3) { animation-delay: -6s; }
.esteps--4 .estep:nth-child(4) { animation-delay: -4s; }
.esteps--4 .estep:nth-child(5) { animation-delay: -2s; }
@keyframes estepCycle { 0%, 28% { filter: none; transform: translateY(-3px); } 44%, 100% { filter: brightness(.58) saturate(.85); transform: translateY(0); } }
@keyframes estepCycle4 { 0%, 20% { filter: none; transform: translateY(-3px); } 33%, 100% { filter: brightness(.58) saturate(.85); transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .esteps .estep { animation: none; filter: none; transform: none; } }

/* pricing/volume table */
.ptable { max-width: 760px; margin: 0 auto; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; background: var(--surface); box-shadow: var(--hi); }
.ptable__head { display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px; padding: 16px 24px; background: color-mix(in srgb, var(--brand) 14%, var(--surface)); font-family: "Sora",sans-serif; font-weight: 700; font-size: .9rem; color: var(--text-strong); }
.ptable__row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px; align-items: center; padding: 18px 24px; border-top: 1px solid var(--border); transition: background .25s, transform .25s var(--ease); }
.ptable__row:hover { background: color-mix(in srgb, var(--brand) 7%, transparent); }
.ptable__k { font-family: "Sora",sans-serif; font-weight: 700; color: var(--text-strong); }
.ptable__v { color: var(--text-soft); }
.ptable__row--hl { background: color-mix(in srgb, var(--brand) 10%, transparent); }
.ptable__row--hl .ptable__v { color: var(--brand-3); font-weight: 700; }
.ptable__note { max-width: 760px; margin: 16px auto 0; text-align: center; color: var(--text-soft); font-size: .92rem; }
/* Tarifs par volume : photo à gauche, contenu à droite */
.pvol { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: stretch; }
.pvol__media { position: relative; border-radius: 24px; overflow: hidden; background: var(--grad); border: 1px solid color-mix(in srgb, var(--brand) 28%, var(--border)); box-shadow: var(--shadow-lg), var(--hi); display: grid; place-items: center; min-height: 340px; }
.pvol__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pvol__ph { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 26px; background: rgba(255,255,255,.16); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.34); }
.pvol__ph .ic { width: 2.6rem; height: 2.6rem; }
.pvol .section__head { max-width: none; margin: 0 0 20px; text-align: left; }
.pvol .ptable { max-width: none; margin: 0; }
.pvol .ptable__note { max-width: none; margin: 16px 0 0; text-align: left; }
@media (max-width: 860px) { .pvol { grid-template-columns: 1fr; } .pvol__media { min-height: 240px; } }
/* Animation : un curseur parcourt les 3 paliers, avec un cadre de sélection qui suit */
.ptable { position: relative; }
.pthi { position: absolute; left: 5px; right: 5px; top: 23%; height: 26%; border: 1.5px solid color-mix(in srgb, var(--brand) 55%, transparent); background: color-mix(in srgb, var(--brand) 8%, transparent); border-radius: 12px; box-shadow: 0 8px 22px -10px color-mix(in srgb, var(--brand) 60%, transparent); z-index: 2; pointer-events: none; animation: pthimove 6s var(--ease) infinite; }
.ptcursor { position: absolute; right: 13%; top: 36%; width: 27px; height: 27px; transform: translateY(-50%); z-index: 3; pointer-events: none; filter: drop-shadow(0 3px 5px rgba(0,0,0,.5)); animation: ptmove 6s var(--ease) infinite, pttap 6s var(--ease) infinite; }
.ptcursor svg { width: 100%; height: 100%; display: block; }
@keyframes pthimove { 0%,25% { top: 23%; } 33%,58% { top: 49%; } 66%,92% { top: 74%; } 100% { top: 23%; } }
@keyframes ptmove { 0%,25% { top: 36%; } 33%,58% { top: 61%; } 66%,92% { top: 87%; } 100% { top: 36%; } }
@keyframes pttap { 0%,8%,20%,41%,53%,74%,86%,100% { transform: translateY(-50%) scale(1); } 12%,45%,78% { transform: translateY(-50%) scale(.8); } }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .ptcursor, .pthi { animation: none; } .pthi { top: 74%; } .ptcursor { top: 87%; } }

/* testimonial */
.testi { position: relative; max-width: 760px; margin: 0 auto; padding: 38px clamp(24px, 4vw, 48px); border: 1px solid var(--border); border-radius: 24px; background: var(--surface); box-shadow: var(--hi); }
.testi__mark { position: absolute; top: 6px; left: 26px; font-family: "Sora",sans-serif; font-weight: 800; font-size: 5rem; line-height: 1; color: color-mix(in srgb, var(--brand) 30%, transparent); }
.testi__text { position: relative; font-family: "Sora",sans-serif; font-weight: 600; font-size: clamp(1.1rem, 2.2vw, 1.4rem); line-height: 1.5; color: var(--text-strong); }
.testi__who { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.testi__av { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: "Sora",sans-serif; font-weight: 800; color: #fff; background: var(--grad); }
.testi__id { display: flex; flex-direction: column; }
.testi__id b { font-family: "Sora",sans-serif; font-weight: 700; color: var(--text-strong); }
.testi__id i { font-style: normal; color: var(--text-soft); font-size: .9rem; }
/* Key figures band (icons + big animated numbers, glowing band) */
.kfig { position: relative; overflow: hidden; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: clamp(28px, 3.4vw, 42px) clamp(16px, 2.5vw, 34px); border-radius: 24px; background: radial-gradient(120% 150% at 50% 0%, color-mix(in srgb, var(--brand) 15%, var(--surface)), var(--surface) 70%); border: 1px solid color-mix(in srgb, var(--brand) 32%, var(--border)); box-shadow: var(--hi), 0 30px 70px -34px color-mix(in srgb, var(--brand), transparent 28%); }
.kfig::before, .kfig::after { content: ""; position: absolute; left: 0; right: 0; height: 64px; pointer-events: none; }
.kfig::before { top: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 24%, transparent), transparent); }
.kfig::after { bottom: 0; background: linear-gradient(0deg, color-mix(in srgb, var(--accent) 20%, transparent), transparent); }
.kfig__i { position: relative; z-index: 1; text-align: center; }
.kfig__i + .kfig__i::before { content: ""; position: absolute; inset-inline-start: 0; top: 16%; height: 68%; width: 1px; background: var(--border); }
[dir="rtl"] .kfig__n { direction: ltr; }
.kfig__ic { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); margin-bottom: 14px; }
.kfig__ic .ic { width: 1.5rem; height: 1.5rem; }
.kfig__n { display: block; font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1.9rem, 4.2vw, 2.8rem); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.kfig__l { display: block; margin-top: 10px; color: var(--text-soft); font-size: .92rem; line-height: 1.35; }
@media (max-width: 760px) { .kfig { grid-template-columns: repeat(2, 1fr); gap: 30px 10px; } .kfig__i:nth-child(3)::before { display: none; } }
/* Bande de logos partenaires à l'intérieur de la barre de chiffres */
.kfig__logos { grid-column: 1 / -1; position: relative; z-index: 1; margin-top: clamp(18px, 2.4vw, 28px); padding-top: clamp(18px, 2.4vw, 28px); border-top: 1px solid color-mix(in srgb, var(--brand) 18%, var(--border)); display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; align-items: center; }
.kfig__logos .pslot { height: 72px; }
@media (max-width: 760px) { .kfig__logos { grid-template-columns: repeat(4, 1fr); } .kfig__logos .pslot:nth-child(n+5) { display: none; } }
@media (max-width: 460px) { .kfig__logos { grid-template-columns: repeat(3, 1fr); } .kfig__logos .pslot:nth-child(n+4) { display: none; } }
.revrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1240px; margin: 0 auto; }
.revrow .rev { padding: 18px 22px 16px; }
.revrow .rev__avatar { width: 38px; height: 38px; font-size: .95rem; }
.revrow .rev__top { align-items: center; column-gap: 9px; }
.revrow .rev__id { flex: 1 1 auto; font-size: .85rem; font-style: italic; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.revrow .rev__rate { flex: none; }
.revrow .rev__note { display: none; }
.revrow .rev__star .ic { width: 14px; height: 14px; }
.rev__src--vrf { display: inline-flex; align-items: center; gap: 5px; color: var(--text-soft); font-style: normal; }
.rev__src--vrf .ic { width: .95rem; height: .95rem; }
.revrow .rev__avatar { background: var(--grad); }
.revrow .rev::before { background: var(--grad); }
.revrow .rev:hover { box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand), transparent 55%), 0 16px 38px -10px color-mix(in srgb, var(--brand), transparent 50%), 0 0 42px -6px color-mix(in srgb, var(--brand), transparent 55%); }
@media (max-width: 820px) { .revrow { grid-template-columns: 1fr; max-width: 460px; } }

/* earnings simulator */
.psim { max-width: 620px; margin: 0 auto; padding: 28px clamp(22px, 3vw, 34px); border: 1px solid var(--border); border-radius: 22px; background: var(--surface); box-shadow: var(--hi); }
.psim__row, .psim__out { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.psim__lb, .psim__outlb { color: var(--text-soft); font-weight: 600; }
.psim__count { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.4rem; color: var(--text-strong); }
.psim__range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; margin: 16px 0 20px; border-radius: 999px; background: linear-gradient(90deg, #f59e0b var(--p,20%), var(--border) var(--p,20%)); cursor: pointer; }
.psim__range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 4px solid #f59e0b; box-shadow: 0 4px 12px -2px rgba(0,0,0,.4); cursor: pointer; }
.psim__range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid #f59e0b; cursor: pointer; }
.psim__out { padding-top: 18px; border-top: 1px solid var(--border); }
.psim__gain { font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.3rem); background: linear-gradient(135deg, #f59e0b, #f97316); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.psim__note { margin-top: 16px; color: var(--text-soft); font-size: .86rem; line-height: 1.5; }
.psim__note b { color: var(--text-strong); }
/* Earnings simulator — 2 columns (estimator left, result right) */
.psim2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.2vw, 28px); max-width: 1280px; margin: 0 auto; align-items: stretch; }
.psim2__panel { display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 2.6vw, 30px); border: 1px solid var(--border); border-radius: 22px; background: var(--surface); box-shadow: var(--hi); }
.psim2__lab { color: var(--text-soft); font-weight: 600; font-size: .92rem; }
.psim2__plans { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.psim2__plan { display: inline-flex; align-items: center; gap: 8px; padding: 11px 12px; border: 1px solid var(--border); border-radius: 13px; background: transparent; color: var(--text); font-family: "Sora",sans-serif; font-weight: 700; font-size: .9rem; cursor: pointer; transition: background .25s var(--ease), border-color .25s, box-shadow .3s, color .2s; }
.psim2__plan .ic { width: 1rem; height: 1rem; color: var(--brand); flex: none; }
.psim2__plan:hover { border-color: color-mix(in srgb, var(--brand), transparent 45%); }
.psim2__plan.is-active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 12px 26px -12px color-mix(in srgb, var(--brand), transparent 25%); }
.psim2__plan.is-active .ic { color: #fff; }
.psim2__fhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.psim2__count { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.4rem; color: var(--text-strong); }
.psim2__marge { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
.psim2__marge b { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.25rem; color: var(--text-strong); }
.psim2__marge small { color: var(--text-soft); font-weight: 600; font-size: .8rem; }
.psim2__result { position: relative; overflow: hidden; border-radius: 22px; padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 9px; color: #fff; background: radial-gradient(130% 120% at 0% 0%, #f59e0b, #f97316 55%, #ea580c); box-shadow: 0 26px 60px -26px color-mix(in srgb, #f97316, transparent 30%); }
.psim2__rlab { font-weight: 700; opacity: .92; font-size: .95rem; }
.psim2__gain { font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(2rem, 5.4vw, 3rem); line-height: 1; }
.psim2__year { opacity: .94; font-weight: 600; font-size: .95rem; }
.psim2__year b { font-weight: 800; }
.psim2__bars { display: flex; align-items: flex-end; gap: 6px; height: 58px; margin: 10px 0 6px; }
.psim2__bars i { width: 12px; border-radius: 4px 4px 0 0; background: rgba(255,255,255,.26); transition: background .3s var(--ease); }
.psim2__bars i:nth-child(1){height:30%} .psim2__bars i:nth-child(2){height:44%} .psim2__bars i:nth-child(3){height:56%} .psim2__bars i:nth-child(4){height:66%} .psim2__bars i:nth-child(5){height:78%} .psim2__bars i:nth-child(6){height:90%} .psim2__bars i:nth-child(7){height:100%}
.psim2__bars i.is-on { background: #fff; }
.psim2__break { font-weight: 700; font-size: .9rem; background: rgba(255,255,255,.18); padding: 6px 14px; border-radius: 999px; }
.psim2__note { max-width: none; margin: 18px auto 0; text-align: center !important; color: var(--text-soft); font-size: .86rem; line-height: 1.5; white-space: nowrap; }
.psim2__note b { color: var(--text-strong); }
@media (max-width: 760px) { .psim2 { grid-template-columns: 1fr; } .psim2__plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 820px) { .psim2__note { white-space: normal; max-width: 600px; } }
/* Partner join modal */
.pjoin { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.pjoin[hidden], .pjoin__view[hidden], .pjoin__thanks[hidden] { display: none; }
.pjoin__ov { position: absolute; inset: 0; background: rgba(6,8,20,.62); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.pjoin__box { position: relative; z-index: 1; width: 100%; max-width: 460px; max-height: 90vh; overflow: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-lg), var(--hi); animation: pjoinIn .3s var(--ease); }
@keyframes pjoinIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.pjoin__x { position: absolute; top: 14px; inset-inline-end: 14px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--chip); color: var(--text-soft); cursor: pointer; transition: color .2s, background .2s; }
.pjoin__x:hover { color: var(--text-strong); background: color-mix(in srgb, var(--brand) 16%, var(--chip)); }
.pjoin__x .ic { width: 1.05rem; height: 1.05rem; }
.pjoin__tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); font-family: "Sora",sans-serif; font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .03em; }
.pjoin__title { margin-top: 12px; font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1.4rem, 3vw, 1.7rem); color: var(--text-strong); }
.pjoin__sub { margin-top: 6px; color: var(--text-soft); font-size: .95rem; line-height: 1.5; }
.pjoin__form { margin-top: 18px; display: flex; flex-direction: column; gap: 13px; }
.pjoin__row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.pjoin__field { display: flex; flex-direction: column; gap: 6px; }
.pjoin__field span { font-weight: 600; font-size: .85rem; color: var(--text-soft); }
.pjoin__field input, .pjoin__field textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 12px; background: color-mix(in srgb, var(--text) 5%, transparent); color: var(--text-strong); font-family: "Inter", sans-serif; font-size: .95rem; transition: border-color .2s, box-shadow .2s; }
.pjoin__field input::placeholder, .pjoin__field textarea::placeholder { color: var(--text-soft); opacity: .7; }
.pjoin__field input:focus, .pjoin__field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand), transparent 80%); }
.pjoin__field textarea { resize: vertical; min-height: 70px; }
.pjoin__submit { width: 100%; justify-content: center; margin-top: 4px; }
.pjoin__note { text-align: center; color: var(--text-soft); font-size: .82rem; }
.pjoin__note b { color: var(--text-strong); }
.pjoin__thanks { text-align: center; padding: 16px 0 6px; }
.pjoin__okcheck { display: inline-grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; background: color-mix(in srgb, #16a34a 16%, transparent); animation: okPop .45s var(--ease) both; }
.pjoin__okcheck .ic { width: 2rem; height: 2rem; color: #16a34a; }
@keyframes okPop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.pjoin__thanks h4 { margin-top: 14px; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.35rem; color: var(--text-strong); }
.pjoin__thanks p { margin-top: 8px; color: var(--text-soft); line-height: 1.5; }
.pjoin__okbtn { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 13px 28px; border: 0; cursor: pointer; border-radius: 999px; background: linear-gradient(135deg, #16a34a, #22c55e); color: #fff; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1rem; box-shadow: 0 12px 26px -10px rgba(22,163,74,.6); animation: okPulse 1.9s ease-in-out infinite; transition: filter .2s, transform .2s; }
.pjoin__okbtn .ic { width: 1.05rem; height: 1.05rem; }
.pjoin__okbtn:hover { filter: brightness(1.06); transform: translateY(-1px); }
@keyframes okPulse { 0%, 100% { box-shadow: 0 12px 26px -10px rgba(22,163,74,.55), 0 0 0 0 rgba(34,197,94,.45); } 50% { box-shadow: 0 14px 30px -10px rgba(22,163,74,.7), 0 0 0 12px rgba(34,197,94,0); } }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .pjoin__okbtn, .pjoin__okcheck { animation: none; } }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .pjoin__box { animation: none; } }
@media (max-width: 480px) { .pjoin__row2 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .ptable__head, .ptable__row { grid-template-columns: 1fr; gap: 4px; } }

/* ===== Simulateur de co-abonnement (Proposez vos places libres) ===== */
.coshare .section__head { text-align: center; }
.coshare .section__lead b { color: var(--brand); }
.cos__toggle { position: relative; display: flex; width: fit-content; margin: clamp(20px,3vw,30px) auto 0; padding: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm), var(--hi); }
.cos__pill { position: absolute; top: 6px; left: 6px; height: calc(100% - 12px); border-radius: 999px; background: var(--grad); box-shadow: 0 10px 22px -8px var(--brand); transition: left .42s var(--ease), width .42s var(--ease); }
.cos__tab { position: relative; z-index: 1; border: 0; background: none; padding: 11px 28px; border-radius: 999px; font-family: "Sora",sans-serif; font-weight: 700; font-size: .98rem; color: var(--text-soft); cursor: pointer; transition: color .3s; white-space: nowrap; }
.cos__tab.is-active { color: #fff; }
.cos__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.6vw, 30px); margin-top: clamp(26px, 3.4vw, 42px); align-items: stretch; }
.cos__config { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow-md), var(--hi); display: flex; flex-direction: column; }
.cos__lb { font-family: "Sora",sans-serif; font-weight: 700; font-size: 1.04rem; color: var(--text-strong); }
.cos__lb--mt { margin-top: clamp(22px, 3vw, 34px); }
.cos__select { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 13px; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: 16px; background: transparent; cursor: pointer; transition: border-color .25s, box-shadow .25s; }
.cos__select:hover, .cos__select:focus-within { border-color: var(--brand-3); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent); }
.cos__svc { display: inline-flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.cos__svc-ic { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: #fff; font-family: "Sora",sans-serif; font-weight: 800; font-size: .9rem; }
.cos__svc-nm { font-family: "Sora",sans-serif; font-weight: 600; font-size: 1.06rem; color: var(--text-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cos__chev { width: 1.1rem; height: 1.1rem; color: var(--muted); flex: none; }
.cos__select select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.cos__seats { margin-top: 16px; display: flex; align-items: baseline; gap: 8px; font-family: "Inter",sans-serif; font-size: 1.06rem; color: var(--text-soft); }
.cos__seats-n { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.8rem; line-height: 1; color: var(--brand); }
.cos__slider { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; margin-top: 14px; border-radius: 999px; background: var(--chip); outline: none; cursor: pointer; }
.cos__slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); box-shadow: 0 3px 10px rgba(0,0,0,.28); cursor: pointer; }
.cos__slider::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); cursor: pointer; }
.cos__sim { position: relative; overflow: hidden; border-radius: 24px; padding: clamp(24px, 3vw, 38px); color: #fff; background: radial-gradient(120% 130% at 100% 0%, rgba(37,99,235,.45), transparent 55%), linear-gradient(155deg, #0e1d3f 0%, #16306b 100%); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; }
.cos__sim-top { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(16px,2.2vw,24px); }
.cos__sim-logo { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(135deg, #10c47f, #2563eb); }
.cos__sim-logo .ic { width: 1.45rem; height: 1.45rem; color: #fff; }
.cos__sim-title { font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1.3rem, 2.2vw, 1.7rem); color: #fff; }
.cos__line { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.1); flex-wrap: wrap; }
.cos__line > span { color: rgba(255,255,255,.82); font-weight: 600; }
.cos__alone { color: rgba(255,255,255,.5); font-family: "Sora",sans-serif; font-weight: 700; font-size: 1.15rem; text-decoration: line-through; }
.cos__mid { font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1.3rem, 2vw, 1.6rem); color: #fff; }
.cos__fees { flex: 1 0 100%; text-align: right; color: rgba(255,255,255,.5); font-size: .8rem; }
.cos__save { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; padding: 16px 20px; border-radius: 16px; background: linear-gradient(120deg, rgba(16,196,127,.2), rgba(37,99,235,.16)); border: 1px solid rgba(16,196,127,.32); }
.cos__savelb { color: rgba(255,255,255,.88); font-weight: 700; }
.cos__save-v { font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.3rem); color: #18d98f; white-space: nowrap; }
.cos__cta { margin-top: clamp(18px,2.4vw,24px); padding: 16px; border: 0; border-radius: 999px; background: var(--grad); color: #fff; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.05rem; cursor: pointer; box-shadow: 0 16px 30px -12px var(--brand); transition: transform .2s var(--ease), box-shadow .3s; }
.cos__cta:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -12px var(--brand); }
.cos__link { display: block; margin-top: 14px; text-align: center; color: #fff; font-weight: 700; font-size: .92rem; text-decoration: underline; text-underline-offset: 3px; opacity: .92; }
.cos__link:hover { opacity: 1; }
@media (max-width: 820px) { .cos__grid { grid-template-columns: 1fr; } }

/* Simulateur : menu déroulant personnalisé (logos officiels + lignes encadrées) */
.cos__dd { position: relative; margin-top: 13px; }
.cos__dd .cos__select { width: 100%; font: inherit; color: inherit; -webkit-appearance: none; appearance: none; }
.cos__dd .cos__select[aria-expanded="true"] .cos__chev { transform: rotate(180deg); }
.cos__chev { transition: transform .25s var(--ease); }
.cos__svc-ic { overflow: hidden; }
.cos__svc-ic img { width: 62%; height: 62%; object-fit: contain; }
.cos__menu { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 30; max-height: 328px; overflow-y: auto; padding: 8px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); display: none; }
.cos__menu.is-open { display: block; animation: cosMenuIn .2s var(--ease); }
@keyframes cosMenuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.cos__opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 1.5px solid transparent; border-radius: 13px; background: none; cursor: pointer; text-align: start; transition: background .18s, border-color .18s; }
.cos__opt + .cos__opt { margin-top: 4px; }
.cos__opt:hover { background: var(--chip); border-color: var(--border); }
.cos__opt.is-sel { border-color: var(--brand-3); background: color-mix(in srgb, var(--brand) 12%, transparent); }
.cos__opt-nm { font-family: "Sora",sans-serif; font-weight: 600; font-size: 1.04rem; color: var(--text-strong); }
.cos__svc-ic .ic { width: 56%; height: 56%; color: #fff; }

/* ===== Fonctionnalités du service (4 colonnes) ===== */
.feats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(22px, 2.8vw, 40px); margin-top: clamp(28px, 4vw, 48px); }
.feat { display: flex; flex-direction: column; }
.feat__ic { width: clamp(74px, 9.2vw, 104px); height: clamp(74px, 9.2vw, 104px); margin-bottom: 16px; color: var(--text-strong); }
.feat__ic .featill { width: 100%; height: 100%; stroke-width: 3.9; }
.featill .a { fill: var(--brand); stroke: none; }
.featill .as { stroke: var(--brand); }
.featill .g { fill: var(--accent); stroke: none; }
.featill .gs { stroke: var(--accent); }
.featill .w { stroke: #fff; }
.feat__h { font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1.05rem, 1.45vw, 1.3rem); color: var(--text-strong); line-height: 1.2; white-space: nowrap; }
.feat__p { margin-top: 14px; color: var(--text-soft); font-size: 1rem; line-height: 1.6; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.feat__more { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; align-self: flex-start; color: var(--brand); font-family: "Sora",sans-serif; font-weight: 700; font-size: .95rem; text-decoration: none; }
.feat__more .ic { width: 1rem; height: 1rem; transition: transform .2s var(--ease); }
.feat__more:hover .ic { transform: translateX(4px); }
@media (max-width: 920px) { .feats__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .feats__grid { grid-template-columns: 1fr; } }

/* Partage : FAQ active adaptée à la charte (bleu/vert) */
body[data-page="partage"] .faq__row.is-active .faq__q { background: linear-gradient(135deg, rgba(37,99,235,.22), rgba(16,196,127,.14)); border-color: rgba(37,99,235,.5); box-shadow: 0 16px 36px -16px rgba(37,99,235,.55); }
body[data-page="partage"] .faq__answer p { border-inline-start-color: rgba(37,99,235,.5); }
body[data-page="partage"] .faq--rows.is-open .faq__col.is-narrow .faq__q { background: rgba(37,99,235,.1); border-color: rgba(37,99,235,.26); }
/* Partage : carte config (gauche) blanche + effets charte */
body[data-page="partage"] .cos__config { position: relative; border-color: color-mix(in srgb, var(--brand) 24%, var(--border)); box-shadow: var(--shadow-md), var(--hi), 0 18px 42px -24px color-mix(in srgb, var(--brand) 48%, transparent); }
body[data-page="partage"] .cos__config::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(110% 65% at 0% 0%, color-mix(in srgb, var(--brand) 13%, transparent), transparent 55%), radial-gradient(110% 65% at 100% 100%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 55%); }
body[data-page="partage"] .cos__config > * { position: relative; z-index: 1; }
/* Partage : carte simulation (droite) — bleu en "Je propose", orientée vert en "Je rejoins" */
.coshare[data-mode="join"] .cos__sim { background: radial-gradient(120% 130% at 100% 0%, rgba(16,196,127,.42), transparent 55%), linear-gradient(155deg, #0b2730 0%, #114b3e 100%); }
.coshare[data-mode="join"] .cos__cta { background: linear-gradient(120deg, #10c47f, #2563eb); box-shadow: 0 16px 30px -12px var(--accent); }
.coshare[data-mode="join"] .cos__cta:hover { box-shadow: 0 22px 40px -12px var(--accent); }
/* Partage : panneau du showcase (+25 abonnements) à la charte bleu/vert au lieu du navy */
/* mask vertical retiré : le bas du panneau est aussi vif que le haut (le dégradé horizontal du fond laisse voir les cartes à droite) */
body[data-page="partage"] .hero__panel::before { background: linear-gradient(118deg, rgba(37,99,235,.55) 0%, rgba(16,196,127,.42) 52%, rgba(16,196,127,0) 76%), linear-gradient(90deg, #0d2150 0%, #0c2546 34%, #0b2a3a 54%, rgba(11,40,52,.94) 61%, rgba(11,40,52,.78) 67%, rgba(11,40,52,.5) 76%, rgba(11,40,52,.22) 85%, rgba(11,40,52,.06) 92%, rgba(11,40,52,0) 99%); -webkit-mask: none; mask: none; }

/* ============ À DÉCOUVRIR : nouveautés & offres (style Udemy) ============ */
.disco { padding-top: clamp(12px, 1.8vw, 26px); padding-bottom: clamp(18px, 2.4vw, 36px); }
.disco__grid { display: grid; grid-template-columns: minmax(470px, 500px) 1fr; gap: clamp(24px, 3vw, 48px); align-items: center; width: calc(100vw - 4cm); max-width: calc(100vw - 4cm); margin-inline: calc(50% - 50vw + 2cm); }
.disco__title { font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(2.1rem, 3.7vw, 3.3rem); line-height: 1.1; letter-spacing: -.01em; color: var(--text-strong); }
.disco__title em { font-style: italic; background: linear-gradient(110deg, #7c3aed 0%, #a855f7 16%, #e0529c 33%, #f97316 44%, #f59e0b 50%, #f97316 56%, #e0529c 67%, #a855f7 84%, #7c3aed 100%); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--brand); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-inline: .03em .16em; animation: signFlow 6s linear infinite; }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .disco__title em { animation: none; } }
.disco__lead { margin-top: 18px; color: var(--text-soft); font-size: clamp(1.05rem, 1.55vw, 1.28rem); line-height: 1.6; max-width: 44ch; text-align: justify; }
.disco__tabs { display: flex; flex-wrap: wrap; gap: 9px; margin-top: clamp(20px, 2.6vw, 30px); }
.disco__tab { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-soft); font-family: "Sora",sans-serif; font-weight: 700; font-size: .92rem; cursor: pointer; transition: transform .2s var(--ease), background .25s, border-color .25s, color .25s, box-shadow .3s; }
.disco__tab:hover { border-color: var(--brand-3); color: var(--text-strong); transform: translateY(-1px); }
.disco__tab.is-active { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 12px 26px -12px var(--brand); }

.disco__main { min-width: 0; }
.disco__rail { display: flex; gap: clamp(14px, 1.6vw, 22px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; padding: 4px 2px 8px; }
.disco__rail::-webkit-scrollbar { display: none; }
.dcard { position: relative; flex: 0 0 auto; width: calc((100% - 2 * clamp(14px, 1.6vw, 22px)) / 3); min-width: 0; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; scroll-snap-align: start; text-decoration: none; background: linear-gradient(165deg, color-mix(in srgb, var(--c), #fff 16%) 0%, var(--c) 52%, color-mix(in srgb, var(--c), #000 20%) 100%); background-size: cover; background-position: center; box-shadow: 0 18px 38px -18px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.22); transition: transform .3s var(--ease), box-shadow .3s, filter .3s; }
.dcard:hover { transform: translateY(-6px); box-shadow: 0 28px 56px -20px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.3); filter: saturate(1.06) brightness(1.03); }
.dcard__scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(8,12,22,.62) 0%, rgba(8,12,22,.18) 32%, transparent 56%); opacity: 0; transition: opacity .3s; }
.dcard.has-img .dcard__scrim { opacity: 1; }
.dcard.has-img .dcard__art { display: none; }
.dcard__art { position: absolute; inset: 0 0 26% 0; display: grid; place-items: center; }
.dcard__icon { width: 36%; aspect-ratio: 1; border-radius: 24%; background: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -12px rgba(0,0,0,.4); }
.dcard__icon img { width: 68%; height: 68%; object-fit: contain; }
.dcard__badge { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2; padding: 4px 11px; border-radius: 999px; background: rgba(255,255,255,.94); color: #0b1020; font-family: "Sora",sans-serif; font-weight: 800; font-size: .72rem; letter-spacing: .02em; box-shadow: 0 6px 16px -8px rgba(0,0,0,.45); }
.dcard__badge--off { background: #0b1020; color: #fff; }
.dcard__label { position: absolute; z-index: 2; inset-inline: 12px; bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 15px; border-radius: 13px; background: #fff; color: #0b1020; box-shadow: 0 12px 26px -14px rgba(0,0,0,.45); }
.dcard__label b { font-family: "Sora",sans-serif; font-weight: 700; font-size: .95rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dcard__label .ic { width: 1.05rem; height: 1.05rem; flex: none; color: #0b1020; transition: transform .25s var(--ease); }
.dcard:hover .dcard__label .ic { transform: translateX(3px); }
/* À découvrir : cartes média (1 photo figée + vidéos) */
.dcard--media { cursor: default; }
.dcard--media:hover { transform: none; filter: none; box-shadow: 0 18px 38px -18px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.22); }
.dcard__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
/* miniature seule (vidéo à venir) : image plein cadre */
.dcard__poster { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
/* miniature (poster) au-dessus de la vidéo : visible tant que la vidéo ne joue pas
   (avant lecture ET après la fin) ; masquée pendant la lecture */
.dcard__cover { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 1; pointer-events: none; transition: opacity .35s var(--ease); }
.dcard--video.is-playing .dcard__cover { opacity: 0; }
/* bouton Play centré sur la miniature ; clic = lecture */
.dcard--video .dcard__video { cursor: pointer; }
.dcard__play { position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--c, #2563eb); cursor: pointer; z-index: 2; box-shadow: 0 12px 28px -10px rgba(0,0,0,.55); transition: transform .2s var(--ease), background .2s; }
.dcard__play .ic { width: 26px; height: 26px; margin-inline-start: 3px; }
.dcard__play:hover { transform: scale(1.08); background: #fff; }
.dcard__pic--pause { display: none; margin-inline-start: 0; }
/* lecture en cours : icône pause + bouton discret révélé au survol/focus ; un clic sur la vidéo met aussi en pause */
.dcard--video.is-playing .dcard__pic--play { display: none; }
.dcard--video.is-playing .dcard__pic--pause { display: block; }
.dcard--video.is-playing .dcard__play { opacity: 0; background: rgba(15,18,32,.6); color: #fff; box-shadow: 0 10px 24px -10px rgba(0,0,0,.6); transition: opacity .22s var(--ease), transform .2s var(--ease), background .2s; }
.dcard--video.is-playing:hover .dcard__play, .dcard--video.is-playing .dcard__play:focus-visible { opacity: 1; }
/* bouton son (activer/couper) — visible au survol et pendant la lecture */
.dcard__sound { position: absolute; top: 8px; right: 8px; z-index: 3; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(15,18,32,.55); color: #fff; cursor: pointer; opacity: 0; transition: opacity .2s var(--ease), background .2s, transform .2s; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dcard--video:hover .dcard__sound, .dcard--video.is-playing .dcard__sound { opacity: 1; }
.dcard__sound:hover { background: rgba(15,18,32,.82); transform: scale(1.07); }
.dcard__sound .ic { width: 17px; height: 17px; }
.dcard__sic--on { display: none; }
.disco--sound .dcard__sic--on { display: block; }
.disco--sound .dcard__sic--off { display: none; }
[dir="rtl"] .dcard__sound { right: auto; left: 8px; }
.dcard__ph { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 8px; color: rgba(255,255,255,.92); font-family: "Sora",sans-serif; font-weight: 800; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.dcard__ph .ic { width: 1.9rem; height: 1.9rem; opacity: .92; }
.dcard__action { cursor: pointer; border: 0; z-index: 2; text-decoration: none; padding: 11px 14px; transition: box-shadow .25s, transform .25s var(--ease); }
.dcard__action b { white-space: normal; font-size: .86rem; line-height: 1.18; }
.dcard__action:hover { box-shadow: 0 16px 30px -14px rgba(0,0,0,.6); transform: translateY(-1px); }
.dcard__action:hover .ic { transform: translateX(3px); }
[dir="rtl"] .dcard__action:hover .ic { transform: scaleX(-1) translateX(3px); }
/* photo figée dans sa colonne (hors défilement) — seules les vidéos défilent à droite, mêmes tailles qu'avant */
.disco__stage { display: flex; gap: clamp(14px, 1.6vw, 22px); align-items: stretch; min-width: 0; }
.disco__pinned { flex: 0 0 var(--dcardw, 182px); }
.disco__pinned .dcard, .disco__rail .dcard { width: var(--dcardw, 182px); flex: 0 0 var(--dcardw, 182px); }
.disco__rail { flex: 1 1 auto; min-width: 0; scroll-snap-type: x proximity; }
[dir="rtl"] .dcard__label .ic { transform: scaleX(-1); }
[dir="rtl"] .dcard:hover .dcard__label .ic { transform: scaleX(-1) translateX(3px); }

.disco__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: clamp(16px, 2.2vw, 26px); }
.disco__arrow { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text-strong); cursor: pointer; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), border-color .25s, box-shadow .3s, opacity .2s; }
.disco__arrow:hover { border-color: var(--brand-3); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.disco__arrow:disabled { opacity: .35; cursor: default; transform: none; box-shadow: none; }
.disco__arrow .ic { width: 1.1rem; height: 1.1rem; }
.disco__arrow--prev .ic { transform: rotate(90deg); }
.disco__arrow--next .ic { transform: rotate(-90deg); }
[dir="rtl"] .disco__arrow--prev .ic { transform: rotate(-90deg); }
[dir="rtl"] .disco__arrow--next .ic { transform: rotate(90deg); }
.disco__dots { display: flex; align-items: center; gap: 8px; }
.disco__dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--text-soft) 38%, transparent); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.disco__dot.is-on { width: 26px; background: var(--brand); }

@media (max-width: 1200px) {
  .disco__grid { grid-template-columns: 1fr; gap: 22px; }
  .disco__lead { max-width: none; }
  .dcard { width: clamp(180px, 30vw, 240px); }
}
@media (max-width: 560px) {
  /* espace entre la bannière (hero) et le titre « À découvrir » */
  .disco { padding-top: clamp(26px, 8vw, 44px); }
  /* section pleine largeur (avant : 2cm de marge de chaque côté qui serraient le texte -> + de largeur) */
  .disco__grid { grid-template-columns: 1fr; gap: 18px; width: auto; max-width: 100%; margin-inline: 0; }
  /* titre + sous-titre CENTRÉS ; sous-titre plus large -> 2 lignes au lieu de 3 */
  .disco__intro { text-align: center; }
  .disco__title { text-align: center; }
  .disco__lead { max-width: none; margin-inline: auto; text-align: center !important; }
  .disco__intro .disco__title, .disco__intro .disco__lead { transform: none; }   /* apparition en fondu (centré, pas de glissement depuis la gauche) */
  .dcard { width: 64%; }
  .disco__stage { flex-direction: column; }
  .disco__pinned { flex-basis: auto; }
  .disco__pinned .dcard { width: clamp(200px, 72vw, 300px); flex-basis: auto; }
  /* vidéos en visibilité TOTALE (carte quasi pleine largeur) */
  .disco__rail .dcard { width: min(90vw, 380px); flex: 0 0 min(90vw, 380px); }
}
/* Téléphone : on masque la photo épinglée (supporters Maroc) — juste le titre + les vidéos qui glissent */
@media (max-width: 767px) { .disco__pinned { display: none; } }

/* ============ Fond animé (netcanvas) : accueil étendu hero->disco + pages thématiques ============ */
.topfx { position: relative; }
.disco { position: relative; z-index: 1; }
.ehero, .gcbanner { position: relative; }
.ehero > .container, .gcbanner > .container { position: relative; z-index: 1; }

/* Accueil : catégories -> produits filtrés (espace réduit + onglet actif) */
#catalog { padding-top: clamp(18px, 2.4vw, 36px); padding-bottom: clamp(14px, 2vw, 26px); }
#popular { padding-top: clamp(8px, 1.4vw, 18px); }
.catile { cursor: pointer; }
.catile.is-active { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, var(--surface)); box-shadow: 0 14px 30px -16px var(--brand); }
.catile.is-active .catile__ar { color: var(--brand); transform: translateX(2px); }

/* Icônes catégories : animation des couleurs (dégradé charte qui défile) */
@keyframes igc1 { 0%,100% { stop-color: #a855f7; } 33% { stop-color: #e0529c; } 66% { stop-color: #f59e0b; } }
@keyframes igc2 { 0%,100% { stop-color: #e0529c; } 33% { stop-color: #f59e0b; } 66% { stop-color: #a855f7; } }
@keyframes igc3 { 0%,100% { stop-color: #f59e0b; } 33% { stop-color: #a855f7; } 66% { stop-color: #e0529c; } }
#ig stop:nth-child(1) { animation: igc1 6s ease-in-out infinite; }
#ig stop:nth-child(2) { animation: igc2 6s ease-in-out infinite; }
#ig stop:nth-child(3) { animation: igc3 6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { #ig stop { animation: none; } }

/* Badges de confiance (sceau bleu vérifié) sous le sous-titre des catégories */
.trustbadges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: clamp(16px, 2vw, 24px); }
.trustbadge { display: inline-flex; align-items: center; gap: 8px; font-family: "Sora",sans-serif; font-weight: 600; font-size: clamp(.9rem, 1.1vw, 1rem); color: var(--text-strong); white-space: nowrap; }
.trustbadge .vbadge { width: 1.35rem; height: 1.35rem; flex: none; }
@media (max-width: 520px) { .trustbadge { font-size: .85rem; } .trustbadges { gap: 9px 18px; } }
@media (max-width: 600px) { .trustbadge--laptop { display: none; } } /* 3e badge : laptop seulement */

/* Cartes catégories : effet bordure dégradé charte (qui défile) + halo, au survol / actif */
.catile { position: relative; }
.catile::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: linear-gradient(120deg, #a855f7, #e0529c, #f59e0b, #a855f7); background-size: 280% 100%; -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .35s var(--ease); pointer-events: none; }
.catile:hover::before, .catile.is-active::before { opacity: 1; animation: catileFlow 4s linear infinite; }
.catile:hover { box-shadow: 0 18px 36px -16px color-mix(in srgb, var(--brand) 50%, transparent); }
@keyframes catileFlow { to { background-position: 280% 0; } }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .catile:hover::before, .catile.is-active::before { animation: none; } }

/* Badges Meta : sceau animé (pulse décalé) + texte en dégradé charte qui défile */
.trustbadge { perspective: 520px; }
.trustbadge .vbadge { animation: vbadgePop 3.2s ease-in-out infinite; transform-origin: center; will-change: transform, filter; }
.trustbadge:nth-child(2) .vbadge { animation-delay: .35s; }
.trustbadge:nth-child(3) .vbadge { animation-delay: .7s; }
@keyframes vbadgePop { 0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(29,155,240,0)) brightness(1); } 45% { transform: scale(1.13); filter: drop-shadow(0 0 7px rgba(29,155,240,.8)) brightness(1.2); } }
.trustbadge > span { color: var(--text-soft); }
@keyframes badgeFlow { to { background-position: 220% center; } }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .trustbadge .vbadge, .trustbadge > span { animation: none; } }

/* Avantages clés : icônes dégradé charte (g-fast / g-price) — plus grandes, halo charte, texte fort */
.trustbadges:has(.trustbadge--g) { gap: 12px 34px; }
.trustbadge--g { gap: 9px; font-weight: 700; }
.trustbadge--g .vbadge { width: 1.55rem; height: 1.55rem; animation: vbadgePopG 3.4s ease-in-out infinite; }
.trustbadge--g:nth-child(2) .vbadge { animation-delay: .55s; }
.trustbadge--g > span { color: var(--text-strong); }
@keyframes vbadgePopG {
  0%, 100% { transform: scale(1) rotate(0); filter: drop-shadow(0 0 0 rgba(224,82,156,0)); }
  45% { transform: scale(1.18) rotate(-5deg); filter: drop-shadow(0 1px 8px rgba(224,82,156,.5)); }
}
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .trustbadge--g .vbadge { animation: none; } }
@media (max-width: 520px) { .trustbadge--g .vbadge { width: 1.4rem; height: 1.4rem; } .trustbadges:has(.trustbadge--g) { gap: 10px 22px; } }

/* Cartes catégories : effet "cos__config" (bordure teintée + halo radial doux) à la charte officielle */
.catile { border-color: color-mix(in srgb, var(--brand) 20%, var(--border)); box-shadow: var(--hi), 0 16px 40px -24px color-mix(in srgb, var(--brand) 38%, transparent); }
.catile::after { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(120% 78% at 0% 0%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 56%), radial-gradient(120% 78% at 100% 100%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 56%); }
.catile > * { position: relative; z-index: 1; }
.catile::before { z-index: 2; }

/* =========================================================
   Espace Ambassadeur (espace-ambassadeur.html) — charte étudiants
   ========================================================= */
.ambx { position: relative; background:
    radial-gradient(1200px 620px at 6% -10%, color-mix(in srgb, #6366F1 30%, transparent), transparent 55%),
    radial-gradient(1100px 560px at 112% 0%, color-mix(in srgb, #14B8A6 26%, transparent), transparent 52%),
    radial-gradient(1000px 700px at 50% 122%, color-mix(in srgb, #8B5CF6 26%, transparent), transparent 58%),
    radial-gradient(1500px 950px at 82% 55%, color-mix(in srgb, #EC4899 12%, transparent), transparent 60%); }
[data-theme="dark"] .ambx { background:
    radial-gradient(1100px 560px at 10% -8%, color-mix(in srgb, #6366F1 24%, transparent), transparent 58%),
    radial-gradient(1000px 520px at 108% 4%, color-mix(in srgb, #14B8A6 20%, transparent), transparent 55%),
    radial-gradient(950px 640px at 50% 118%, color-mix(in srgb, #8B5CF6 22%, transparent), transparent 60%); }
.ambx > .container { position: relative; z-index: 1; }
/* Cartes « verre » : légèrement translucides pour laisser passer la couleur */
.ambx .ambx__card, .ambx .ambx__stat, .ambx .ambx__insight { background: color-mix(in srgb, var(--surface) 82%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); border-color: color-mix(in srgb, var(--brand) 16%, var(--border)); }
@media (max-width: 640px) { .ambx .ambx__card, .ambx .ambx__stat, .ambx .ambx__insight { background: color-mix(in srgb, var(--surface) 90%, transparent); -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px); } }
.ambx [hidden] { display: none !important; }   /* prime sur les display:grid/flex (vues, panneaux, bandeau démo) */
.ambx__demo { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 10px 16px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 12%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--border)); color: var(--text); font-size: .9rem; }
.ambx__demo .ic { width: 1.1rem; height: 1.1rem; color: var(--brand); flex: none; }
.ambx__loading { display: grid; place-items: center; gap: 14px; min-height: 40vh; color: var(--text-soft); }
.ambx__spin { width: 38px; height: 38px; border-radius: 50%; border: 3px solid color-mix(in srgb, var(--brand) 30%, var(--border)); border-top-color: var(--brand); animation: ambspin .8s linear infinite; }
@keyframes ambspin { to { transform: rotate(360deg); } }
.ambx__card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--hi); padding: clamp(20px, 2.6vw, 30px); margin-bottom: 18px; }
.ambx__ct { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.16rem; color: var(--text-strong); }
.ambx__cd { margin-top: 6px; color: var(--text-soft); font-size: .95rem; line-height: 1.5; }
/* auth */
.ambx__authgrid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.ambx__title { font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.08; color: var(--text-strong); margin-top: 8px; }
.ambx__lead { margin-top: 14px; color: var(--text-soft); font-size: 1.05rem; line-height: 1.6; }
.ambx__perks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.ambx__perks li { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; }
.ambx__perks .ic { width: 1.2rem; height: 1.2rem; color: var(--brand); flex: none; }
.ambx__age { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--text-soft); }
.ambx__age .ic { width: 1rem; height: 1rem; color: var(--brand); }
.ambx__authcard { max-width: 460px; width: 100%; }
.ambx__tabs { display: flex; gap: 6px; background: var(--chip); padding: 5px; border-radius: 14px; margin-bottom: 20px; }
.ambx__tab { flex: 1; padding: 10px; border: 0; background: transparent; border-radius: 10px; font-family: "Sora",sans-serif; font-weight: 700; font-size: .95rem; color: var(--text-soft); cursor: pointer; transition: color .2s var(--ease), background .2s var(--ease); }
.ambx__tab.is-on { background: var(--surface); color: var(--text-strong); box-shadow: var(--hi); }
.ambx__form { display: grid; gap: 14px; }
.ambx__row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ambx__field { display: grid; gap: 6px; }
.ambx__field > span { font-size: .85rem; font-weight: 600; color: var(--text-soft); }
.ambx__field input { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--chip); color: var(--text-strong); font-size: 1rem; font-family: inherit; transition: border-color .2s; }
.ambx__field input:focus { outline: none; border-color: var(--brand); }
.ambx__field select { width: 100%; padding: 12px 38px 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--chip) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; color: var(--text-strong); font-size: 1rem; font-family: inherit; cursor: pointer; -webkit-appearance: none; appearance: none; transition: border-color .2s; }
.ambx__field select:focus { outline: none; border-color: var(--brand); }
.ambx__check { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; color: var(--text-soft); cursor: pointer; }
.ambx__check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.ambx__err { color: #ef4444; font-size: .88rem; margin: 0; }
.ambx__ok { color: #10b981; font-size: .9rem; font-weight: 600; margin: 0; }
.ambx__submit { width: 100%; justify-content: center; }
.ambx__fine { font-size: .82rem; color: var(--text-soft); text-align: center; margin: 4px 0 0; }
/* pending */
.ambx__pending { display: grid; place-items: center; min-height: 46vh; }
.ambx__pendcard { max-width: 520px; text-align: center; }
.ambx__pendic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); margin-bottom: 8px; }
.ambx__pendic .ic { width: 1.8rem; height: 1.8rem; animation: ambspin 2.4s linear infinite; }
.ambx__pendcard h2 { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.4rem; color: var(--text-strong); margin: 10px 0; }
.ambx__pendcard p { color: var(--text-soft); line-height: 1.6; margin-bottom: 18px; }
/* dashboard head */
.ambx__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.ambx__hi { font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--text-strong); margin-top: 6px; }
.ambx__headr { display: flex; align-items: center; gap: 12px; }
.ambx__status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 999px; background: color-mix(in srgb, #10b981 14%, transparent); color: #10b981; font-weight: 700; font-size: .85rem; }
.ambx__status .ambx__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.ambx__status[data-status=pending] { background: color-mix(in srgb, #f59e0b 14%, transparent); color: #f59e0b; }
/* share card */
.ambx__copyrow { display: grid; grid-template-columns: 1fr 260px; gap: 16px; margin-top: 18px; }
.ambx__copy { display: grid; gap: 6px; }
.ambx__copy > span { font-size: .82rem; font-weight: 600; color: var(--text-soft); }
.ambx__copyin { display: flex; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--chip); }
.ambx__copyin input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 14px; color: var(--text-strong); font-size: .95rem; font-family: inherit; }
.ambx__copybtn { display: inline-flex; align-items: center; gap: 6px; border: 0; padding: 0 16px; background: var(--grad); color: #fff; font-family: "Sora",sans-serif; font-weight: 700; font-size: .88rem; cursor: pointer; }
.ambx__copybtn .ic { width: 1rem; height: 1rem; }
.ambx__sharebtns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.ambx__sharelb { font-size: .85rem; color: var(--text-soft); font-weight: 600; }
.ambx__sbtn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--chip); color: var(--text); font-family: "Sora",sans-serif; font-weight: 700; font-size: .88rem; cursor: pointer; text-decoration: none; transition: border-color .2s, color .2s; }
.ambx__sbtn:hover { border-color: var(--brand); color: var(--brand); }
.ambx__sbtn .ic { width: 1.05rem; height: 1.05rem; }
.ambx__sbtn--wa:hover { border-color: #25d366; color: #25d366; }
.ambx__sbtn--ig:hover { border-color: #e0529c; color: #e0529c; }
/* stats */
.ambx__stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 18px; }
.ambx__stat { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px; box-shadow: var(--hi); }
.ambx__stat--hi { border-color: color-mix(in srgb, var(--brand) 50%, transparent); box-shadow: var(--hi), 0 16px 36px -22px color-mix(in srgb, var(--brand) 60%, transparent); }
.ambx__static { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); margin-bottom: 10px; }
.ambx__static .ic { width: 1.2rem; height: 1.2rem; }
.ambx__statn { display: block; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--text-strong); line-height: 1.1; }
.ambx__statl { display: block; margin-top: 4px; font-size: .82rem; color: var(--text-soft); }
/* chart bars */
.ambx__bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; margin-top: 18px; }
.ambx__bars i { flex: 1; min-height: 4px; border-radius: 5px 5px 0 0; background: var(--grad); opacity: .85; transition: height .5s var(--ease); }
/* grid 2 */
.ambx__grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }
.ambx__salescard { display: flex; flex-direction: column; }
.ambx__salescard .ambx__tablewrap { flex: 1 1 0; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--brand) 45%, transparent) transparent; }
.ambx__salescard .ambx__tablewrap::-webkit-scrollbar { width: 6px; }
.ambx__salescard .ambx__tablewrap::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--brand) 40%, transparent); border-radius: 6px; }
.ambx__salescard thead th { position: sticky; top: 0; background: var(--surface); z-index: 1; }
/* tables */
.ambx__tablewrap { margin-top: 14px; overflow-x: auto; }
.ambx__table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.ambx__table th { text-align: left; padding: 8px 10px; font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text-soft); border-bottom: 1px solid var(--border); white-space: nowrap; }
.ambx__table td { padding: 11px 10px; border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent); color: var(--text); }
[dir="rtl"] .ambx__table th { text-align: right; }
.ambx__pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; }
.ambx__pill--confirmed, .ambx__pill--paid { background: color-mix(in srgb, #10b981 16%, transparent); color: #10b981; }
.ambx__pill--pending, .ambx__pill--requested, .ambx__pill--processing { background: color-mix(in srgb, #f59e0b 16%, transparent); color: #f59e0b; }
.ambx__pill--cancelled, .ambx__pill--refused { background: color-mix(in srgb, #ef4444 16%, transparent); color: #ef4444; }
.ambx__empty { color: var(--text-soft); font-size: .9rem; padding: 14px 4px; }
/* withdrawals + bank */
.ambx__wdavail { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 16px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 8%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 24%, var(--border)); }
.ambx__wdavail b { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--brand); }
.ambx__wdmin { margin: 10px 0 0; }
.ambx__wdform { display: grid; gap: 12px; margin-top: 14px; }
.ambx__wdmethods { display: flex; flex-direction: column; gap: 8px; }
.ambx__wdmethod { position: relative; cursor: pointer; display: block; }
.ambx__wdmethod input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.ambx__wdmc { display: flex; align-items: center; gap: 11px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--chip); transition: border-color .18s, background .18s, box-shadow .18s; }
.ambx__wdmethod input:checked + .ambx__wdmc { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, var(--surface)); box-shadow: inset 0 0 0 1px var(--brand); }
.ambx__wdmethod input:focus-visible + .ambx__wdmc { outline: 2px solid var(--brand); outline-offset: 2px; }
.ambx__wdmi { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); }
.ambx__wdmi .ic { width: 1.1rem; height: 1.1rem; }
.ambx__wdmt { flex: 1; min-width: 0; font-weight: 700; color: var(--text-strong); font-size: .95rem; }
.ambx__wdmf { flex: none; font-family: "Sora", sans-serif; font-weight: 800; font-size: .82rem; color: var(--text); padding: 4px 11px; border-radius: 999px; background: color-mix(in srgb, var(--border) 55%, transparent); white-space: nowrap; }
.ambx__wdmf--free { color: #16a34a; background: color-mix(in srgb, #22C55E 16%, transparent); }
[data-theme="dark"] .ambx__wdmf--free { color: #4ade80; }
.ambx__wdsum { padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 6%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--border)); display: flex; flex-direction: column; gap: 6px; }
.ambx__wdsumrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .9rem; color: var(--text-soft); }
.ambx__wdsumrow b { font-family: "Sora", sans-serif; font-weight: 800; color: var(--text-strong); }
.ambx__wdsumrow--net b { color: var(--brand); font-size: 1.06rem; }
.ambx__sub2 { font-family: "Sora",sans-serif; font-weight: 700; font-size: 1rem; color: var(--text-strong); margin: 22px 0 0; }
.ambx__bankform { display: grid; gap: 14px; margin-top: 14px; }
/* ---- Dashboard : en-tête avatar, stats animées, top ambassadeurs ---- */
.ambx__head { align-items: center; }
.ambx__whoami { display: flex; align-items: center; gap: 14px; }
.ambx__avatar { flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.4rem; color: #fff; background: var(--grad); box-shadow: 0 12px 26px -12px color-mix(in srgb, var(--brand) 65%, transparent); }
.ambx__subhi { margin: 3px 0 0; color: var(--text-soft); font-size: .92rem; }
.ambx__stat { transition: transform .2s var(--ease), box-shadow .25s var(--ease); }
.ambx__stat::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--sc, var(--brand)); opacity: .9; }
.ambx__stats .ambx__stat:nth-child(1) { --sc: #6366F1; }
.ambx__stats .ambx__stat:nth-child(2) { --sc: #14B8A6; }
.ambx__stats .ambx__stat:nth-child(3) { --sc: #8B5CF6; }
.ambx__stats .ambx__stat:nth-child(4) { --sc: #22C55E; }
.ambx__stats .ambx__stat:nth-child(5) { --sc: #F59E0B; }
.ambx__stat .ambx__static { background: color-mix(in srgb, var(--sc, var(--brand)) 15%, transparent); color: var(--sc, var(--brand)); }
.ambx__stat:hover { transform: translateY(-4px); box-shadow: var(--hi), 0 20px 42px -24px color-mix(in srgb, var(--sc, var(--brand)) 65%, transparent); }
.ambx__grid2--mid { grid-template-columns: 1.4fr 1fr; align-items: stretch; }
.ambx__bars i { transition: height .6s var(--ease); }
.ambx__topcard { display: flex; flex-direction: column; min-height: 0; }
.ambx__ranks { list-style: none; margin: 18px 0 0; padding: 0 5px 0 0; display: flex; flex-direction: column; gap: 9px; flex: 1 1 0; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--brand) 45%, transparent) transparent; }
.ambx__ranks > li { flex: none; }
.ambx__ranks::-webkit-scrollbar { width: 6px; }
.ambx__ranks::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--brand) 40%, transparent); border-radius: 6px; }
.ambx__ranks::-webkit-scrollbar-track { background: transparent; }
.ambx__rank { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--border); background: var(--chip); transition: transform .18s var(--ease), border-color .2s, box-shadow .2s; }
.ambx__rank:hover { transform: translateX(3px); border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); }
.ambx__rank.is-me { border-color: color-mix(in srgb, var(--brand) 55%, transparent); background: color-mix(in srgb, var(--brand) 10%, var(--surface)); box-shadow: 0 14px 30px -22px color-mix(in srgb, var(--brand) 70%, transparent); }
.ambx__rankpos { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: "Sora", sans-serif; font-weight: 800; font-size: .8rem; color: var(--text-soft); background: color-mix(in srgb, var(--border) 65%, transparent); }
.ambx__rank--medal .ambx__rankpos[data-r="1"] { background: linear-gradient(180deg, #FDE68A, #F59E0B); color: #7c4a03; box-shadow: 0 6px 14px -6px rgba(245,158,11,.6); }
.ambx__rank--medal .ambx__rankpos[data-r="2"] { background: linear-gradient(180deg, #E5E7EB, #9CA3AF); color: #374151; }
.ambx__rank--medal .ambx__rankpos[data-r="3"] { background: linear-gradient(180deg, #FBCFA0, #D97706); color: #5b2c05; }
.ambx__rankav { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-family: "Sora", sans-serif; font-weight: 800; color: #fff; background: linear-gradient(135deg, #8B5CF6, #6366F1); font-size: .98rem; }
.ambx__rankmeta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ambx__rankname { font-weight: 700; color: var(--text-strong); font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ambx__rankname em { font-style: normal; color: var(--brand); font-weight: 700; font-size: .82rem; }
.ambx__ranksub { font-size: .78rem; color: var(--text-soft); }
.ambx__rankearn { flex: none; font-family: "Sora", sans-serif; font-weight: 800; color: var(--text-strong); font-size: .98rem; }

/* Niveau / progression */
.ambx__tier { display: flex; align-items: center; gap: 18px; }
.ambx__tierbadge { flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--tc, var(--brand)) 78%, #fff), var(--tc, var(--brand))); box-shadow: 0 12px 26px -12px color-mix(in srgb, var(--tc, var(--brand)) 70%, transparent); }
.ambx__tierbadge .ic { width: 1.5rem; height: 1.5rem; }
.ambx__tierbody { flex: 1; min-width: 0; }
.ambx__tierhead { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ambx__tiername { font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.15rem; color: var(--tc, var(--text-strong)); }
.ambx__tierrate { font-size: .85rem; font-weight: 700; color: var(--text-soft); }
.ambx__progress { height: 10px; border-radius: 999px; background: color-mix(in srgb, var(--border) 70%, transparent); overflow: hidden; margin: 10px 0 8px; }
.ambx__progressbar { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--grad); transition: width .9s var(--ease); }
.ambx__tiernext { margin: 0; font-size: .9rem; color: var(--text-soft); font-weight: 600; }
.ambx__tierinfo { flex: none; align-self: center; display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--border); background: var(--chip); color: var(--text); font-family: "Sora", sans-serif; font-weight: 700; font-size: .85rem; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.ambx__tierinfo:hover { border-color: var(--brand); color: var(--brand); }
.ambx__tierinfo .ic { width: 1rem; height: 1rem; }
.ambx__levels { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ambx__level { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--border); background: var(--chip); }
.ambx__level.is-current { border-color: var(--tc, var(--brand)); background: color-mix(in srgb, var(--tc, var(--brand)) 10%, var(--surface)); box-shadow: inset 0 0 0 1px var(--tc, var(--brand)); }
.ambx__levelbadge { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--tc, var(--brand)) 78%, #fff), var(--tc, var(--brand))); }
.ambx__levelbadge .ic { width: 1.2rem; height: 1.2rem; }
.ambx__levelmeta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ambx__levelname { font-family: "Sora", sans-serif; font-weight: 800; color: var(--text-strong); font-size: 1rem; }
.ambx__levelname em { font-style: normal; font-size: .7rem; font-weight: 800; color: var(--tc, var(--brand)); background: color-mix(in srgb, var(--tc, var(--brand)) 16%, transparent); padding: 2px 8px; border-radius: 999px; margin-inline-start: 6px; }
.ambx__levelrange { font-size: .82rem; color: var(--text-soft); }
.ambx__levelrate { flex: none; font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.2rem; color: var(--tc, var(--text-strong)); }
@media (max-width: 560px) { .ambx__tierinfo span { display: none; } .ambx__tierinfo { padding: 10px; } }

/* Indicateurs secondaires */
.ambx__insights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.ambx__insight { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--hi); position: relative; overflow: hidden; transition: transform .2s var(--ease), box-shadow .25s var(--ease); }
.ambx__insight::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--ic, var(--brand)); opacity: .9; }
.ambx__insight:hover { transform: translateY(-3px); box-shadow: var(--hi), 0 18px 40px -24px color-mix(in srgb, var(--ic, var(--brand)) 60%, transparent); }
.ambx__insighticon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--ic, var(--brand)) 14%, transparent); color: var(--ic, var(--brand)); }
.ambx__insighticon .ic { width: 1.2rem; height: 1.2rem; }
.ambx__insighttext { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ambx__insightl { font-size: .78rem; color: var(--text-soft); font-weight: 600; }
.ambx__insightv { font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.14rem; color: var(--text-strong); }
.ambx__bankbtn { margin-top: 12px; }
/* Chart : hauteur, sélecteur de période, tooltip */
.ambx__chart { position: relative; min-width: 0; }
.ambx__chart .ambx__bars { min-width: 0; max-width: 100%; }
.ambx__charthead { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ambx__periods { flex: none; display: inline-flex; gap: 2px; padding: 3px; border-radius: 11px; background: var(--chip); border: 1px solid var(--border); }
.ambx__period { border: 0; background: transparent; border-radius: 8px; padding: 6px 12px; font-family: "Sora", sans-serif; font-weight: 700; font-size: .82rem; color: var(--text-soft); cursor: pointer; transition: color .2s, background .2s; }
.ambx__period:hover { color: var(--text-strong); }
.ambx__period.is-on { background: var(--surface); color: var(--text-strong); box-shadow: var(--hi); }
.ambx__bars { height: 240px; gap: 5px; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--brand) 45%, transparent) transparent; }
.ambx__bars::-webkit-scrollbar { height: 6px; }
.ambx__bars::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--brand) 40%, transparent); border-radius: 6px; }
.ambx__bars--scroll { gap: 4px; padding-bottom: 4px; }
.ambx__bars--scroll i { flex: 0 0 10px; }
.ambx__bars i { cursor: pointer; opacity: .82; transition: height .55s var(--ease), opacity .18s ease, filter .18s ease; }
.ambx__bars i:hover, .ambx__bars i.is-active { opacity: 1; filter: brightness(1.09) saturate(1.05); }
.ambx__bars i:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.ambx__tip { position: absolute; transform: translate(-50%, -100%); pointer-events: none; background: var(--text-strong); color: var(--surface); padding: 6px 11px; border-radius: 9px; z-index: 6; white-space: nowrap; display: flex; flex-direction: column; align-items: center; gap: 1px; box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); }
.ambx__tip[hidden] { display: none; }
.ambx__tip b { font-family: "Sora", sans-serif; font-weight: 800; font-size: .95rem; }
.ambx__tip span { font-size: .72rem; opacity: .82; font-weight: 600; }
.ambx__tip::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: var(--text-strong); }

/* Position dans le classement */
.ambx__mypos { display: inline-flex; align-items: center; gap: 6px; margin: 10px 0 2px; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); font-size: .84rem; font-weight: 700; }
.ambx__mypos .ic { width: .95rem; height: .95rem; }
.ambx__mypos b { font-weight: 800; }

/* Kit de communication */
.ambx__kitgrid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; margin-top: 16px; align-items: start; }
.ambx__kitmsgs { display: flex; flex-direction: column; gap: 12px; }
.ambx__kitmsg { border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; background: var(--chip); }
.ambx__kitmsgh { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.ambx__kitmsgt { font-family: "Sora", sans-serif; font-weight: 700; font-size: .85rem; color: var(--text-strong); }
.ambx__kitcopy { display: inline-flex; align-items: center; gap: 5px; background: var(--surface); border: 1px solid var(--border); color: var(--text); border-radius: 8px; padding: 5px 10px; font-family: "Sora", sans-serif; font-weight: 700; font-size: .76rem; cursor: pointer; transition: border-color .2s, color .2s; }
.ambx__kitcopy:hover { border-color: var(--brand); color: var(--brand); }
.ambx__kitcopy .ic { width: .9rem; height: .9rem; }
.ambx__kitmsgb { margin: 0; font-size: .88rem; line-height: 1.5; color: var(--text-soft); word-break: break-word; }
.ambx__rules { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.ambx__rule { display: flex; align-items: flex-start; gap: 9px; font-size: .88rem; line-height: 1.4; color: var(--text); }
.ambx__rule .ic { flex: none; width: 1.05rem; height: 1.05rem; margin-top: 1px; }
.ambx__rule.is-ok .ic { color: #10b981; }
.ambx__rule.is-no .ic { color: #ef4444; }

/* responsive */
@media (max-width: 1000px) {
  .ambx__stats { grid-template-columns: repeat(2, 1fr); }
  .ambx__grid2 { grid-template-columns: 1fr; }
  .ambx__insights { grid-template-columns: repeat(2, 1fr); }
  .ambx__kitgrid { grid-template-columns: 1fr; }
  /* cartes empilées : les listes reprennent une hauteur naturelle (sinon flex:1 les écrase à 0) */
  .ambx__ranks { flex: none; max-height: 360px; overflow-y: auto; }
  .ambx__salescard .ambx__tablewrap { flex: none; max-height: 400px; overflow-y: auto; }
}
@media (max-width: 860px) { .ambx__authgrid { grid-template-columns: 1fr; } .ambx__authcard { max-width: none; } .ambx__copyrow { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .ambx__row2 { grid-template-columns: 1fr; }
  .ambx__stats { gap: 11px; }
  .ambx__stat { padding: 15px 14px; }
  .ambx__statn { font-size: 1.32rem; }
  .ambx__static { width: 36px; height: 36px; margin-bottom: 8px; }
  .ambx__insight { padding: 11px 13px; gap: 10px; }
  .ambx__insighticon { width: 36px; height: 36px; }
  .ambx__insightv { font-size: 1.05rem; }
  .ambx__bars { height: 200px; }
  .ambx__tier { gap: 12px; }
  .ambx__tierbadge { width: 48px; height: 48px; }
  .ambx__head { gap: 10px; }
  /* Se déconnecter à droite */
  .ambx__headr { width: 100%; justify-content: space-between; }
  /* Partage : WhatsApp / Instagram / Copier sur une seule ligne */
  .ambx__sharebtns { gap: 8px; }
  .ambx__sharelb { flex-basis: 100%; }
  .ambx__sbtn { flex: 1 1 0; min-width: 0; justify-content: center; padding: 10px 8px; }
  .ambx__sharebtns [data-amb-share="copy"] span { display: none; }
  /* Séparer clairement les 5 KPI principaux des 4 indicateurs */
  .ambx__stats { margin-bottom: 22px; }
  .ambx__insights { margin-top: 20px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--brand) 22%, var(--border)); }
}
@media (max-width: 380px) { .ambx__stats { grid-template-columns: 1fr; } }
/* Mobile : tableaux (ventes & retraits) transformés en cartes encadrées comme Top ambassadeurs */
@media (max-width: 560px) {
  .ambx__grid2 .ambx__tablewrap { overflow-x: hidden; }
  .ambx__grid2 .ambx__table thead { display: none; }
  .ambx__grid2 .ambx__table, .ambx__grid2 .ambx__table tbody, .ambx__grid2 .ambx__table tr { display: block; }
  .ambx__grid2 .ambx__table tr { border: 1px solid var(--border); border-radius: 12px; padding: 8px 13px; margin: 0 2px 9px; background: var(--chip); }
  .ambx__grid2 .ambx__table td { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 5px 0; border: 0; text-align: right; white-space: normal; }
  .ambx__grid2 .ambx__table td::before { content: attr(data-label); flex: none; font-size: .72rem; font-weight: 700; color: var(--text-soft); text-transform: uppercase; letter-spacing: .03em; text-align: left; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .ambx__spin, .ambx__pendic .ic { animation: none; } .ambx__bars i { transition: none; } }

/* ---- Back-office admin ambassadeurs ---- */
.adm__stats4 { grid-template-columns: repeat(4, 1fr); }
.ambx__table code { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: .85rem; background: var(--chip); padding: 2px 7px; border-radius: 6px; color: var(--brand); }
.adm__acts { display: flex; gap: 6px; flex-wrap: wrap; }
.adm__act { display: inline-flex; align-items: center; border: 1px solid var(--border); background: var(--chip); color: var(--text); border-radius: 8px; padding: 6px 11px; font-family: "Sora",sans-serif; font-weight: 700; font-size: .8rem; cursor: pointer; transition: filter .15s, border-color .15s, background .15s; }
.adm__act:hover { filter: brightness(1.06); border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); }
.adm__act--primary { background: var(--grad); color: #fff; border-color: transparent; }
.adm__act--danger { color: #ef4444; border-color: color-mix(in srgb, #ef4444 40%, var(--border)); background: color-mix(in srgb, #ef4444 8%, transparent); }
.adm__act[disabled] { opacity: .5; cursor: default; }
@media (max-width: 1000px) { .adm__stats4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .adm__stats4 { grid-template-columns: 1fr; } }

/* ---- Présentation "journal" (page étudiants) ---- */
.npaper { max-width: none; }
.npaper__head { text-align: center; }
.npaper__standfirst { max-width: none; margin: 8px 0 0; color: var(--text-soft); font-size: 1.06rem; line-height: 1.6; }
.npaper__ph { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; border-radius: 14px; background: var(--grad); color: #fff; box-shadow: var(--shadow-md); }
.npaper__ph span { display: inline-flex; align-items: center; gap: 8px; font-family: "Sora",sans-serif; font-weight: 700; font-size: .92rem; opacity: .95; }
.npaper__ph .ic { width: 1.1rem; height: 1.1rem; }
.npaper__title { font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1.9rem, 4.4vw, 3.1rem); line-height: 1.06; color: var(--text-strong); text-align: center; margin: 0 0 clamp(22px, 3vw, 34px); padding-bottom: clamp(14px, 2vw, 22px); border-bottom: 3px solid color-mix(in srgb, var(--brand) 55%, var(--border)); }
.npaper__mid { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: clamp(18px, 2.6vw, 34px); align-items: start; }
/* variante ambassadeur : accroche sur gauche+photo, processus sur toute la hauteur à droite */
.npaper__mid--amb { grid-template-columns: 1.2fr 1.05fr 1fr; grid-template-areas: "lead lead steps" "pres photo steps"; }
.npaper__mid--amb > .npaper__standfirst { grid-area: lead; text-align: left; margin: 0 0 clamp(14px, 2vw, 22px); }
.npaper__mid--amb > .npaper__col--lead { grid-area: pres; display: flex; flex-direction: column; }
.npaper__mid--amb > .npaper__col--lead .ambz__note { margin-top: auto; padding-top: 12px; }
.npaper__mid--amb > .npaper__fig { grid-area: photo; align-self: stretch; height: 100%; }
.npaper__mid--amb > .npaper__col--steps { grid-area: steps; display: flex; flex-direction: column; align-self: stretch; }
.npaper__mid--amb .npaper__steps { flex: 1; align-content: space-between; }
.npaper__mid--amb .npaper__ph { height: 100%; aspect-ratio: auto; min-height: 340px; }
.npaper__ph--v { aspect-ratio: 3 / 4; }
/* photo réelle (ambassadeur) : remplit le cadre, recadrage au centre */
.npaper__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; border-radius: 14px; box-shadow: var(--shadow-md); }
.npaper__mid--amb > .npaper__fig .npaper__img { min-height: 0; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .npaper__mid--amb .npaper__img { height: auto; aspect-ratio: 3 / 4; } }
/* boutons alignés à gauche (sous le contenu) pour la section ambassadeur */
.ambz .pintro__foot { text-align: left; align-items: flex-start; }
.ambz .ambz__login { justify-content: flex-start; }
.npaper__col--steps { text-align: left; }
.npaper__steps { list-style: none; counter-reset: st; margin: 6px 0 0; padding: 0; display: grid; gap: 15px; }
.npaper__steps li { counter-increment: st; position: relative; padding-inline-start: 38px; }
.npaper__steps li::before { content: counter(st); position: absolute; inset-inline-start: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-family: "Sora",sans-serif; font-weight: 800; font-size: .82rem; }
.npaper__steps b { display: block; font-family: "Sora",sans-serif; font-weight: 700; font-size: .98rem; color: var(--text-strong); }
.npaper__steps span { display: block; margin-top: 2px; color: var(--text-soft); font-size: .9rem; line-height: 1.5; }
.npaper__col { color: var(--text); font-size: 1rem; line-height: 1.75; text-align: justify; }
.npaper__col p { margin: 0 0 1em; }
.npaper__col p:last-child { margin-bottom: 0; }
.npaper__col--lead > p:first-of-type::first-letter { float: left; font-family: "Sora",sans-serif; font-weight: 800; font-size: 3.1em; line-height: .78; padding: 6px 10px 0 0; color: var(--brand); }
[dir="rtl"] .npaper__col--lead > p:first-of-type::first-letter { float: right; padding: 6px 0 0 10px; }
/* Ambassadeur : titre sur une ligne + espacements resserrés */
.npaper--amb .npaper__title { white-space: nowrap; font-size: clamp(1.2rem, 2.75vw, 2.15rem); }
.npaper--amb .npaper__col p { margin: 0 0 .5em; }
.npaper--amb .npaper__steps { gap: 10px; align-content: start; }
@media (max-width: 760px) { .npaper--amb .npaper__title { white-space: normal; font-size: clamp(1.45rem, 6vw, 2rem); } }
/* Ambassadeur : petit cadre autour de "Comment ça marche" (colonne de droite, comme avant) */
.npaper--amb .npaper__col--steps { position: relative; padding: clamp(18px, 2vw, 26px) clamp(18px, 2vw, 24px); border: 1px solid var(--border); border-radius: 18px; background: color-mix(in srgb, var(--brand) 4%, var(--surface)); box-shadow: var(--shadow-sm); transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, background .35s ease; }
/* effet UI/UX : la carte réagit au survol / toucher — cadre lumineux dégradé + légère élévation */
.npaper--amb .npaper__col--steps:hover, .npaper--amb .npaper__col--steps:focus-within, .npaper--amb .npaper__col--steps:active { transform: translateY(-4px); border-color: color-mix(in srgb, var(--brand) 60%, var(--border)); background: color-mix(in srgb, var(--brand) 7%, var(--surface)); box-shadow: 0 24px 50px -28px color-mix(in srgb, var(--brand) 55%, transparent), var(--shadow-sm); }
@supports ((-webkit-mask-composite: xor) or (mask-composite: exclude)) {
  .npaper--amb .npaper__col--steps::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .35s ease; pointer-events: none; z-index: 3; }
  .npaper--amb .npaper__col--steps:hover::before, .npaper--amb .npaper__col--steps:focus-within::before, .npaper--amb .npaper__col--steps:active::before { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .npaper--amb .npaper__col--steps { transition: none; } .npaper--amb .npaper__col--steps:hover, .npaper--amb .npaper__col--steps:focus-within, .npaper--amb .npaper__col--steps:active { transform: none; } }
/* Mention poussée en bas de la colonne gauche (alignée avec le bas de la photo) */
.npaper__mid--amb > .npaper__col--lead { display: flex; flex-direction: column; align-self: stretch; }
.npaper__col--lead > .ambz__note { margin-top: auto; padding-top: clamp(16px, 2vw, 24px); }
/* Boutons à largeur égale (largeur du texte) + remontée du texte/photo (moins de vide sous l'accroche) */
.ambz__row { width: 100%; }
.ambz__row .pintro__cta { flex: 1 1 auto; min-width: 0; justify-content: center; white-space: nowrap; padding-inline: clamp(14px, 4vw, 30px); }
.npaper__mid--amb { row-gap: clamp(8px, 1.1vw, 14px); }
.npaper__mid--amb > .npaper__standfirst { margin-bottom: clamp(4px, 0.9vw, 10px); }
/* "Comment ça marche" : étapes espacées + écriture séquentielle + boule lumineuse (pilotée par main.js) */
.npaper--amb .npaper__steps { position: relative; z-index: 0; flex: 1; --st-gap: clamp(22px, 3.4vw, 52px); gap: var(--st-gap); align-content: space-between; }
/* ligne de liaison entre chaque étape et la suivante (s'arrête au dernier rond) */
.npaper--amb .npaper__steps > li::after { content: ""; position: absolute; inset-inline-start: 12px; top: 13px; height: calc(100% + var(--st-gap)); width: 2px; border-radius: 2px; background: color-mix(in srgb, var(--brand) 24%, var(--border)); z-index: -1; pointer-events: none; }
.npaper--amb .npaper__steps > li:last-child::after { content: none; }
/* boule lumineuse qui descend d'étape en étape puis se fige (position via --ball-top ; devant la ligne, derrière les ronds) */
.npaper--amb .npaper__steps::after { content: ""; position: absolute; inset-inline-start: 5px; top: var(--ball-top, 13px); width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(closest-side, #fff 0%, color-mix(in srgb, var(--brand) 92%, transparent) 42%, transparent 74%); filter: blur(.5px); z-index: -1; pointer-events: none; opacity: 0; transform: translateY(-50%); transition: top .52s cubic-bezier(.5, 0, .2, 1), opacity .35s ease; }
.npaper--amb .npaper__steps.st-run::after { opacity: 1; }
/* descriptions « écrites » de gauche à droite au passage de la boule (masquées tant que .st-armed) */
.npaper--amb .npaper__steps.st-armed li span { opacity: 0; clip-path: inset(0 100% 0 0); }
.npaper--amb .npaper__steps.st-armed li.is-on span { animation: stepWrite .6s ease forwards; }
@keyframes stepWrite { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .npaper--amb .npaper__steps::after { display: none; } }
.npaper__actions { margin-top: clamp(18px, 2.4vw, 26px); text-align: left; }
.npaper__actions .ambz__login { justify-content: flex-start; margin-top: 12px; }
.npaper__actions .ambz__note { margin-top: 12px; }
.npaper__sub { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.05rem; color: var(--text-strong); margin: 0 0 8px; }
.npaper__fig { margin: 0; }
.npaper__img { width: 100%; height: auto; border-radius: 14px; display: block; box-shadow: var(--shadow-md); background: color-mix(in srgb, var(--brand) 12%, var(--surface)); }
.npaper__foot { margin-top: clamp(20px, 3vw, 32px); padding-top: clamp(16px, 2vw, 24px); border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.npaper__foot .artrow__chips { margin: 0; }
@media (max-width: 860px) {
  .npaper__mid, .npaper__mid--amb { grid-template-columns: 1fr; gap: 18px; grid-template-areas: none; }
  .npaper__fig { order: -1; max-width: 320px; margin-inline: auto; }
  .npaper__mid--amb > .npaper__standfirst { order: 1; text-align: center; margin-bottom: 0; }
  .npaper__mid--amb > .npaper__fig { order: 2; align-self: auto; height: auto; }
  .npaper__mid--amb > .npaper__col--lead { order: 3; }
  .npaper__mid--amb > .npaper__col--steps { order: 4; }
  .npaper__mid--amb .npaper__ph { height: auto; aspect-ratio: 3 / 4; min-height: 0; }
  .npaper__col { text-align: left; }
  .npaper__foot { flex-direction: column; align-items: stretch; }
}

/* ===== Mushtarik Inclusion (inclusion.html) ===== */
.incl-hero__ph { width: 100%; height: 100%; min-height: 320px; display: grid; place-items: center; border-radius: inherit; background: var(--grad); color: #fff; }
.incl-hero__ph span { display: inline-flex; align-items: center; gap: 8px; font-family: "Sora",sans-serif; font-weight: 700; opacity: .95; }
.incl-hero__ph .ic { width: 1.2rem; height: 1.2rem; }
.platgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; }
.platcard { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 4px; padding: 22px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--hi); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.platcard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); }
.platcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--brand) 50%, transparent); }
.platcard__badge { align-self: flex-start; display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); font-family: "Sora",sans-serif; font-weight: 800; font-size: .66rem; letter-spacing: .04em; text-transform: uppercase; }
.platcard__name { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.16rem; color: var(--text-strong); margin-top: 8px; }
.platcard__cat { color: var(--text-soft); font-size: .9rem; }
.platcard--more { background: color-mix(in srgb, var(--brand) 8%, var(--surface)); border-style: dashed; justify-content: center; }
.platcard--more::before { display: none; }
.incl-note { display: flex; align-items: center; gap: 10px; max-width: 780px; margin: clamp(20px, 2.6vw, 30px) auto 0; padding: 14px 18px; border-radius: 14px; background: color-mix(in srgb, var(--brand) 8%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--border)); color: var(--text); font-size: .96rem; line-height: 1.5; }
.incl-note .ic { width: 1.2rem; height: 1.2rem; color: var(--brand); flex: none; }
.incl-note--center { justify-content: center; text-align: center; }
.incl-li { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 50px); align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--hi); padding: clamp(24px, 3.4vw, 44px); }
.incl-li__list { list-style: none; margin: 20px 0 24px; padding: 0; display: grid; gap: 12px; }
.incl-li__list li { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; }
.incl-li__list .ic { width: 1.2rem; height: 1.2rem; color: var(--brand); flex: none; }
.incl-li__ph { display: grid; place-items: center; gap: 10px; aspect-ratio: 1 / 1; border-radius: 20px; background: var(--grad); color: #fff; box-shadow: var(--shadow-md); text-align: center; padding: 24px; }
.incl-li__ph .ic { width: 3rem; height: 3rem; }
.incl-li__ph b { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.3rem; }
.incl-li__ph span { display: inline-flex; padding: 3px 12px; border-radius: 999px; background: rgba(255,255,255,.22); font-family: "Sora",sans-serif; font-weight: 700; font-size: .8rem; }
.joblist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.jobcard { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-height: 180px; padding: 24px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--hi); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.jobcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--brand) 45%, transparent); }
.jobcard__type { display: inline-flex; padding: 4px 12px; border-radius: 999px; font-family: "Sora",sans-serif; font-weight: 800; font-size: .7rem; letter-spacing: .03em; text-transform: uppercase; background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); }
.jobcard__type--alt { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.jobcard__type--news { background: color-mix(in srgb, #6366f1 16%, transparent); color: #818cf8; }
.jobcard__t { font-family: "Sora",sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--text-strong); line-height: 1.3; }
.jobcard__org { color: var(--text-soft); font-size: .92rem; }
.jobcard__meta { display: inline-flex; align-items: center; gap: 6px; color: var(--text-soft); font-size: .86rem; }
.jobcard__meta .ic { width: .95rem; height: .95rem; color: var(--brand); }
.jobcard__link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; padding-top: 6px; font-family: "Sora",sans-serif; font-weight: 700; font-size: .92rem; color: var(--brand); text-decoration: none; }
.jobcard__link .ic { width: .95rem; height: .95rem; transition: transform .2s var(--ease); }
.jobcard__link:hover .ic { transform: translateX(4px); }
.incl-final { position: relative; overflow: hidden; text-align: center; border-radius: 26px; padding: clamp(34px, 5vw, 64px); background: var(--grad); color: #fff; box-shadow: var(--shadow-md); }
.incl-final__t { font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.incl-final__d { max-width: 620px; margin: 14px auto 24px; font-size: 1.08rem; line-height: 1.6; opacity: .95; }
.incl-final .btn--primary { background: #fff; color: var(--brand-2); border-color: transparent; }
.incl-final .btn--primary:hover { background: #fff; filter: brightness(.95); }
.incl-final__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: clamp(20px, 2.6vw, 30px); }
.incl-final .btn--ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.7); }
.incl-final .btn--ghost:hover { background: rgba(255,255,255,.24); border-color: #fff; }
@media (max-width: 980px) { .platgrid { grid-template-columns: repeat(2, 1fr); } .joblist { grid-template-columns: 1fr; } .incl-li { grid-template-columns: 1fr; } .incl-li__visual { order: -1; max-width: 320px; margin-inline: auto; } }
@media (max-width: 520px) { .platgrid { grid-template-columns: 1fr; } }

/* ============ Contact page ============ */
/* Charte officielle (racine) — aucun override de couleurs ici */
.contact .section__head { max-width: none; }
.contact .section__title { white-space: nowrap; }
.contact .section__lead { max-width: 640px; margin-inline: auto; }
@media (max-width: 680px) { .contact .section__title { white-space: normal; } }
.contact__kicker { display: inline-block; margin-bottom: 12px; padding: 6px 16px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 14%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent); color: var(--brand-3); font-family: "Sora",sans-serif; font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.contact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 22px); margin-top: clamp(28px, 4vw, 46px); }
.ccard { position: relative; display: flex; flex-direction: column; gap: 7px; padding: clamp(20px, 2.4vw, 28px); border-radius: 22px; border: 1px solid var(--border); background: var(--surface); text-decoration: none; color: var(--text-strong); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .3s, border-color .25s; }
.ccard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--cc, var(--brand)) 55%, transparent); }
.ccard__ic { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: var(--cc, var(--brand)); color: #fff; box-shadow: 0 12px 26px -12px var(--cc, var(--brand)); }
.ccard__ic .ic { width: 1.5rem; height: 1.5rem; }
.ccard--wa { --cc: #25D366; }
.ccard--tg { --cc: #2AABEE; }
.ccard--mail { --cc: var(--brand); }
.ccard__t { margin-top: 6px; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.15rem; }
.ccard__d { color: var(--text-soft); font-size: .95rem; }
.ccard__go { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; padding-top: 10px; color: var(--cc, var(--brand)); font-family: "Sora",sans-serif; font-weight: 700; font-size: .92rem; }
.ccard__go .ic { width: 1rem; height: 1rem; transition: transform .25s var(--ease); }
.ccard:hover .ccard__go .ic { transform: translateX(4px); }
[dir="rtl"] .ccard:hover .ccard__go .ic { transform: scaleX(-1) translateX(4px); }
.contact__main { margin-top: clamp(18px, 2.4vw, 28px); }
.cform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.cform-grid .cfield { margin-bottom: 0; }
.cfield--full { grid-column: 1 / -1; }
.contact__form, .contact__info { padding: clamp(22px, 2.6vw, 32px); border-radius: 24px; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-sm); }
.contact__info { display: flex; flex-direction: column; }
.contact__cardtitle { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.25rem; color: var(--text-strong); margin-bottom: 18px; }
.cfield { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.cfield label { font-family: "Sora",sans-serif; font-weight: 600; font-size: .85rem; color: var(--text-soft); }
.cfield input, .cfield textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg); color: var(--text); font-family: "Inter",sans-serif; font-size: .98rem; transition: border-color .2s, box-shadow .2s; }
.cfield input:focus, .cfield textarea:focus { outline: none; border-color: var(--brand-3); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.cfield textarea { resize: vertical; min-height: 110px; }
.contact__formnote { margin-top: 12px; font-size: .82rem; color: var(--text-soft); }
.cinfo { list-style: none; display: grid; gap: 16px; }
.cinfo li { display: flex; align-items: center; gap: 14px; }
.cinfo__ic { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand-3); }
.cinfo__ic .ic { width: 1.25rem; height: 1.25rem; }
.cinfo li div { display: flex; flex-direction: column; min-width: 0; }
.cinfo li b { font-family: "Sora",sans-serif; font-weight: 700; font-size: .82rem; color: var(--text-soft); }
.cinfo li a, .cinfo li div span { color: var(--text-strong); font-weight: 600; text-decoration: none; }
.cinfo li a:hover { color: var(--brand-3); }
.contact__social { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border); }
.contact__social-label { display: block; margin-bottom: 12px; font-family: "Sora",sans-serif; font-weight: 700; font-size: .82rem; color: var(--text-soft); }
.contact__social .socials { margin-top: 0; }
.contact__social .socials a { background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand-3); }
.contact__social .socials a:hover { background: var(--brand); color: #fff; }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .cform-grid { grid-template-columns: 1fr; } }

/* Catalogue : catégories en tuiles (filtres) */
.cats-grid.catcats { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: clamp(28px, 4vw, 46px); }
.catile { font: inherit; text-align: start; width: 100%; }
@media (max-width: 860px) { .cats-grid.catcats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Mobile : catégories compactes en rangée glissante (gros gain d'espace vertical) — laptop inchangé */
@media (max-width: 640px) {
  .cats-grid.catcats { display: flex; grid-template-columns: none; flex-wrap: nowrap; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -ms-overflow-style: none; padding: 4px 2px 8px; margin-bottom: 18px; }
  .cats-grid.catcats::-webkit-scrollbar { display: none; }
  .cats-grid.catcats .catile { width: auto; flex: 0 0 auto; gap: 9px; padding: 9px 15px; scroll-snap-align: start; }
  .cats-grid.catcats .catile__tags { display: none; }
  .cats-grid.catcats .catile__ic { width: 24px; height: 24px; }
  .cats-grid.catcats .catile__ic .ic { width: 1.45rem; height: 1.45rem; }
  .cats-grid.catcats .catile__tx { flex: 0 0 auto; }
  .cats-grid.catcats .catile__tx b { font-size: .9rem; white-space: nowrap; }
}

/* Catalogue : avantages sans cadre — badge bleu vérifié (#i-vseal) + animation façon carte cadeau */
.trustbar--badges { background: none; border: 0; box-shadow: none; padding: 0; }
.trustbar--badges .trustbar__item { gap: 9px; }
.trustbar--badges .vbadge-w { position: relative; display: inline-grid; place-items: center; flex: none; }
.trustbar--badges .vbadge-w::after { content: ""; position: absolute; inset: 1px; border-radius: 50%; box-shadow: 0 0 0 0 rgba(29,155,240,.5); animation: vbadgePing 2.6s ease-out infinite; pointer-events: none; }
.trustbar--badges .vbadge { width: 1.45rem; height: 1.45rem; display: block; animation: gcBadgePulse 2.6s ease-in-out infinite; }
.trustbar--badges .trustbar__item:nth-child(2) .vbadge, .trustbar--badges .trustbar__item:nth-child(2) .vbadge-w::after { animation-delay: .35s; }
.trustbar--badges .trustbar__item:nth-child(3) .vbadge, .trustbar--badges .trustbar__item:nth-child(3) .vbadge-w::after { animation-delay: .7s; }
.trustbar--badges .trustbar__item:nth-child(4) .vbadge, .trustbar--badges .trustbar__item:nth-child(4) .vbadge-w::after { animation-delay: 1.05s; }
@keyframes vbadgePing { 0% { box-shadow: 0 0 0 0 rgba(29,155,240,.5); } 70%, 100% { box-shadow: 0 0 0 11px rgba(29,155,240,0); } }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .trustbar--badges .vbadge, .trustbar--badges .vbadge-w::after { animation: none; } }

/* Barre de recherche : micro (vocal) + bouton recherche */
.catsearch__input { padding-inline-end: 94px; }
.catsearch__mic, .catsearch__btn { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; border: 0; cursor: pointer; padding: 0; }
.catsearch__mic { inset-inline-end: 52px; width: 34px; height: 34px; border-radius: 50%; background: transparent; color: var(--text-soft); transition: color .2s, background .2s; }
.catsearch__mic:hover { color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, transparent); }
.catsearch__mic.is-on { color: #fff; background: #ef4444; animation: micPulse 1.1s ease-in-out infinite; }
.catsearch__btn { inset-inline-end: 6px; width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; box-shadow: 0 8px 20px -10px var(--brand); transition: box-shadow .3s, filter .2s; }
.catsearch__btn:hover { filter: brightness(1.06); box-shadow: 0 12px 26px -10px var(--brand); }
.catsearch__mic .ic, .catsearch__btn .ic { width: 1.05rem; height: 1.05rem; }
@keyframes micPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,.5); } 50% { box-shadow: 0 0 0 7px rgba(239,68,68,0); } }

/* Catégories collées en haut au scroll */
.catcats { position: sticky; top: 72px; z-index: 40; transition: background .25s, box-shadow .25s, padding .25s; border-radius: 16px; }
@media (max-width: 860px) { .catcats { position: static; } }
/* Une fois collées (desktop) : 8 noms seuls, sur une seule ligne */
@media (min-width: 861px) {
  .catcats.is-stuck { display: flex; flex-wrap: nowrap; justify-content: safe center; gap: 8px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; background: var(--head-glass); -webkit-backdrop-filter: blur(13px) saturate(160%); backdrop-filter: blur(13px) saturate(160%); box-shadow: var(--shadow-sm); padding: 9px 10px; }
  .catcats.is-stuck::-webkit-scrollbar { display: none; }
  .catcats.is-stuck .catile { width: auto; flex: 0 0 auto; padding: 8px 16px; gap: 0; }
  .catcats.is-stuck .catile__ic, .catcats.is-stuck .catile__tags { display: none; }
  .catcats.is-stuck .catile__tx b { font-size: .85rem; white-space: nowrap; }
}

/* Section partenaires : panneau distinct ("ils nous font confiance") */
.partners { margin-top: clamp(40px, 6vw, 88px); padding-top: clamp(26px, 3vw, 42px); padding-bottom: clamp(26px, 3vw, 42px); }
.partners .container { position: relative; overflow: hidden; background: radial-gradient(130% 120% at 0% 0%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 52%), radial-gradient(130% 120% at 100% 100%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 52%), var(--surface); border: 1px solid var(--border); border-radius: 28px; padding-block: clamp(30px, 3.6vw, 48px); box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.06); }
.partners .container::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; background: var(--grad); opacity: .9; }

/* "À découvrir" — titre/lead machine à écrire (cycle FR ⟷ Maroc, vert & rouge) */
.disco__title { min-height: 2.3em; }
.disco__lead { min-height: 4.8em; }
.disco__title.is-typing::after, .disco__lead.is-typing::after { content: "▌"; margin-inline-start: 2px; color: #e11d2a; -webkit-text-fill-color: #e11d2a; font-weight: 400; animation: discoCaret 1s steps(1) infinite; }
.disco__intro--mc { text-align: center; }
.disco__intro--mc .disco__title { color: #e11d2a; -webkit-text-fill-color: #e11d2a; text-align: center; }
.disco__intro--mc .disco__lead { min-height: 1.25em; max-width: none; text-align: center !important; margin-inline: auto; font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.08; background: linear-gradient(100deg, #e11d2a 0%, #1aa64a 25%, #e11d2a 50%, #1aa64a 75%, #e11d2a 100%); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: dimaMaghrib 3.2s linear infinite; }
@keyframes dimaMaghrib { from { background-position: 0% 50%; } to { background-position: 220% 50%; } }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .disco__intro--mc .disco__lead { animation: none; background-position: 0 50%; } }
@keyframes discoCaret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .disco__title.is-typing::after, .disco__lead.is-typing::after { animation: none; } }
/* animation : le texte complet glisse depuis la gauche, puis change de slogan */
.disco__intro .disco__title, .disco__intro .disco__lead { opacity: 0; transform: translateX(-46px); }
.disco__intro.is-shown .disco__title { opacity: 1; transform: none; transition: opacity .55s ease, transform .62s cubic-bezier(.2,.7,.2,1); }
.disco__intro.is-shown .disco__lead { opacity: 1; transform: none; transition: opacity .55s ease .12s, transform .62s cubic-bezier(.2,.7,.2,1) .12s; }
.disco__intro.is-hiding .disco__title, .disco__intro.is-hiding .disco__lead { opacity: 0; transform: none; transition: opacity .34s ease; }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .disco__intro .disco__title, .disco__intro .disco__lead { opacity: 1; transform: none; transition: none; } }
/* photo épinglée du carrousel : fondu lors du changement de slogan */
.disco__pinned .dcard { transition: opacity .42s ease, transform .3s var(--ease), box-shadow .3s, filter .3s; }
.disco__pinned .dcard.is-fade { opacity: .18; }

/* ============ Mushtarik Tamkin (page inclusion) ============ */
.pintro__grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .pintro__grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pintro__grid--4 { grid-template-columns: 1fr; } }
.tk-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; }
.tk-chips li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 12%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent); color: var(--text-strong); font-family: "Sora",sans-serif; font-weight: 600; font-size: .88rem; }
.tk-chips .ic { width: 1rem; height: 1rem; color: var(--brand); }
.tk-confid { display: flex; align-items: center; gap: 14px; max-width: 820px; margin: clamp(24px, 3vw, 38px) auto 0; padding: 16px 20px; border-radius: 16px; background: color-mix(in srgb, var(--brand) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--brand) 24%, var(--border)); }
.tk-confid__ic { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: color-mix(in srgb, var(--brand) 16%, transparent); color: var(--brand); }
.tk-confid__ic .ic { width: 1.3rem; height: 1.3rem; }
.tk-confid p { margin: 0; font-size: .94rem; line-height: 1.55; color: var(--text-soft); }
.tk-cond { display: inline-flex; align-items: center; gap: 9px; margin-top: 4px; color: var(--text-soft); font-family: "Sora",sans-serif; font-weight: 600; font-size: .9rem; }
.tk-cond .ic { width: 1rem; height: 1rem; color: var(--accent); flex: none; }
/* Envoi de justificatif de certification (LinkedIn Premium) */
.tk-cert { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 6px; }
.tk-cert__input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.tk-cert__attach { display: inline-flex; align-items: center; gap: 9px; min-height: 50px; padding: 0 18px; max-width: 100%; border-radius: 999px; border: 1.5px dashed color-mix(in srgb, var(--brand) 45%, var(--border)); background: color-mix(in srgb, var(--brand) 6%, transparent); color: var(--text); font-family: "Sora", sans-serif; font-weight: 600; font-size: .95rem; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.tk-cert__attach:hover { border-color: var(--brand); }
.tk-cert__attach:focus-within { outline: 3px solid var(--brand); outline-offset: 3px; }
.tk-cert__attach .ic { width: 1.2rem; height: 1.2rem; color: var(--brand); flex: none; }
.tk-cert__attach span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-cert.is-attached .tk-cert__attach { border-style: solid; border-color: #16a34a; background: color-mix(in srgb, #22c55e 12%, transparent); color: #15803d; }
.tk-cert.is-attached .tk-cert__attach .ic { color: #16a34a; }
.tk-cert__err { flex-basis: 100%; margin: 0; color: #b91c1c; font-weight: 600; font-size: .92rem; }
.tk-cert__done { display: inline-flex; align-items: flex-start; gap: 10px; color: #15803d; font-weight: 700; font-family: "Sora", sans-serif; font-size: 1.02rem; line-height: 1.5; }
.tk-cert__done .ic { width: 1.3rem; height: 1.3rem; color: #16a34a; flex: none; margin-top: 2px; }
[data-theme="dark"] .tk-cert.is-attached .tk-cert__attach, [data-theme="dark"] .tk-cert__done { color: #4ade80; }
.tk-form { position: relative; max-width: 1000px; margin: 0 auto; padding: clamp(22px, 3vw, 38px); border-radius: 24px; border: 1px solid transparent; background: radial-gradient(135% 90% at 100% -10%, color-mix(in srgb, var(--brand) 11%, transparent), transparent 55%), radial-gradient(120% 90% at -10% 112%, color-mix(in srgb, var(--brand-2) 10%, transparent), transparent 55%), var(--surface); box-shadow: 0 30px 72px -34px color-mix(in srgb, var(--brand) 42%, transparent), var(--shadow-sm); }
.tk-form::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: linear-gradient(130deg, var(--brand), var(--brand-2), var(--brand)); background-size: 200% 200%; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: .85; animation: tkBorder 9s ease-in-out infinite; }
@keyframes tkBorder { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.tk-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tk-field { display: flex; flex-direction: column; gap: 6px; }
.tk-field--full { grid-column: 1 / -1; }
.tk-field > span { font-family: "Sora",sans-serif; font-weight: 600; font-size: .85rem; color: var(--text-soft); }
.tk-field input, .tk-field select, .tk-field textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg); color: var(--text); font-family: "Inter",sans-serif; font-size: .97rem; transition: border-color .2s, box-shadow .2s; }
.tk-field input:focus, .tk-field select:focus, .tk-field textarea:focus { outline: none; border-color: var(--brand-3); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent); }
.tk-field textarea { resize: vertical; min-height: 96px; }
.tk-field input[type="file"] { padding: 9px 12px; cursor: pointer; }
.tk-check { display: flex; align-items: flex-start; gap: 11px; margin-top: 16px; font-size: .92rem; line-height: 1.5; color: var(--text-soft); cursor: pointer; }
.tk-check input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--brand); }
.tk-form__submit { margin-top: 20px; }
.tk-form__note { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .82rem; color: var(--text-soft); }
.tk-form__note .ic { width: 1rem; height: 1rem; color: var(--brand); flex: none; }
@media (max-width: 600px) { .tk-form__grid { grid-template-columns: 1fr; } }
.tk-pack-head { max-width: none; }
.tk-pack-head .section__lead { max-width: none; text-align: justify; }
.tk-prod-head { max-width: none; }
.tk-prod-head .section__title, .tk-prod-head .section__lead { white-space: nowrap; }
@media (max-width: 920px) { .tk-prod-head .section__title, .tk-prod-head .section__lead { white-space: normal; } }
body[data-page="inclusion"] #opportunites .section__head, body[data-page="inclusion"] #community .section__head { max-width: none; }
body[data-page="inclusion"] #opportunites .section__title, body[data-page="inclusion"] #opportunites .section__lead,
body[data-page="inclusion"] #community .section__title, body[data-page="inclusion"] #community .section__lead { white-space: nowrap; }
@media (max-width: 860px) {
  body[data-page="inclusion"] #opportunites .section__title, body[data-page="inclusion"] #opportunites .section__lead,
  body[data-page="inclusion"] #community .section__title, body[data-page="inclusion"] #community .section__lead { white-space: normal; }
}
@media (min-width: 640px) { .tk-pack-head .section__title { white-space: nowrap; } }

/* Pack Tamkin : 5 cartes verticales sur une ligne, titres sur 1 ligne */

/* Formulaire d'inscription à étapes (wizard) */
.tk-steps { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 14px; }
.tk-step { flex: 1; display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg); font-family: "Sora",sans-serif; font-weight: 600; font-size: .85rem; color: var(--text-soft); }
.tk-step b { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--chip); color: var(--text-soft); font-size: .8rem; transition: background .25s, color .25s; }
.tk-step.is-on { border-color: var(--brand); color: var(--text-strong); }
.tk-step.is-on b { background: var(--brand); color: #fff; }
.tk-step.is-done { color: var(--text-strong); }
.tk-step.is-done b { background: color-mix(in srgb, var(--brand) 22%, transparent); color: var(--brand); }
.tk-wiz__prog { height: 4px; border-radius: 4px; background: var(--border); overflow: hidden; margin-bottom: 22px; }
.tk-wiz__bar { display: block; height: 100%; width: 33%; background: var(--grad); border-radius: 4px; transition: width .35s var(--ease); }
.tk-wiz__panel[hidden] { display: none; }
.tk-wiz__nav { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.tk-wiz__nav [data-tk-next], .tk-wiz__nav [data-tk-submit] { margin-inline-start: auto; }
.tk-wiz__nav .btn[hidden] { display: none !important; }
.tk-bk { transform: rotate(180deg); }
[dir="rtl"] .tk-bk { transform: rotate(0deg); }
@media (max-width: 560px) { .tk-step span { display: none; } .tk-step { justify-content: center; } }

/* ============ Charte Inclusion / Tamkin — douce, lisible, accessible, digne ============ */
/* Fond principal clair et doux (#F7F8FC) ; cartes et champs restent blancs pour ressortir */
[data-theme="light"] body[data-page="inclusion"] { background: #F7F8FC; }
/* Typographie plus grande et aérée (confort visuel) */
body[data-page="inclusion"] .ehero__lead { font-size: clamp(1.12rem, 1.5vw, 1.34rem); line-height: 1.66; }
body[data-page="inclusion"] .section__lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.65; }
body[data-page="inclusion"] .pintro__d { font-size: 1.04rem; line-height: 1.6; }
body[data-page="inclusion"] .estep__d { font-size: 1.02rem; line-height: 1.6; max-width: 36ch; }
body[data-page="inclusion"] .incl-li__list li { font-size: 1.08rem; line-height: 1.5; }
body[data-page="inclusion"] .tk-field > span, body[data-page="inclusion"] .tk-check, body[data-page="inclusion"] .tk-step { font-size: 1rem; }
body[data-page="inclusion"] .tk-confid p, body[data-page="inclusion"] .incl-note { font-size: 1.04rem; line-height: 1.6; }
/* Cibles larges & champs généreux (confort moteur, ≥ 44px) */
body[data-page="inclusion"] .btn, body[data-page="inclusion"] .pintro__cta { min-height: 52px; }
body[data-page="inclusion"] .tk-field input, body[data-page="inclusion"] .tk-field select, body[data-page="inclusion"] .tk-field textarea { min-height: 50px; padding: 14px 16px; font-size: 1.03rem; }
body[data-page="inclusion"] .tk-check input { width: 22px; height: 22px; }
body[data-page="inclusion"] .jobcard__link { min-height: 44px; }
/* Focus clavier toujours visible */
body[data-page="inclusion"] a:focus-visible,
body[data-page="inclusion"] button:focus-visible,
body[data-page="inclusion"] input:focus-visible,
body[data-page="inclusion"] select:focus-visible,
body[data-page="inclusion"] textarea:focus-visible,
body[data-page="inclusion"] [tabindex]:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
/* Ombres douces et diffuses */
body[data-page="inclusion"] .pintro__card,
body[data-page="inclusion"] .incl-li,
body[data-page="inclusion"] .tk-form,
body[data-page="inclusion"] .jobcard { box-shadow: 0 12px 36px -20px rgba(99,102,241,.32); }
/* Animations calmes : pas de pulsation des étapes */
body[data-page="inclusion"] .esteps .estep { animation: none; }
/* Respect total de prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) {
  body[data-page="inclusion"] *, body[data-page="inclusion"] *::before, body[data-page="inclusion"] *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* Sous-titre d'inscription sur une seule ligne (desktop), retour à la ligne sur mobile */
body[data-page="inclusion"] #inscription .section__head { max-width: none; }
body[data-page="inclusion"] #inscription .section__lead { white-space: nowrap; }
@media (max-width: 900px) {
  body[data-page="inclusion"] #inscription .section__head { max-width: 680px; }
  body[data-page="inclusion"] #inscription .section__lead { white-space: normal; }
}

/* ===== Étapes "flow" : cartes + connecteurs colorés animés ===== */
.flowsteps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.flowstep { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 26px 24px 22px; box-shadow: 0 16px 44px -26px rgba(99,102,241,.32); transition: background .28s ease, border-color .28s ease, box-shadow .28s ease, transform .28s ease; }
.flowstep__ic, .flowstep__tag, .flowstep__t, .flowstep__d, .flowstep__bar { transition: color .28s ease, background .28s ease; }
/* Survol/toucher : la carte prend la couleur de son titre, texte lisible (contraste AA) */
.flowstep:hover, .flowstep:focus-within { transform: translateY(-6px); border-color: transparent; background: var(--fc); box-shadow: 0 22px 50px -24px color-mix(in srgb, var(--fc) 55%, transparent); }
.flowstep:hover .flowstep__t, .flowstep:focus-within .flowstep__t,
.flowstep:hover .flowstep__d, .flowstep:focus-within .flowstep__d,
.flowstep:hover .flowstep__tag, .flowstep:focus-within .flowstep__tag { color: var(--fctxt, #fff); -webkit-text-fill-color: var(--fctxt, #fff); }
.flowstep:hover .flowstep__ic, .flowstep:focus-within .flowstep__ic { background: color-mix(in srgb, var(--fctxt, #fff) 18%, transparent); color: var(--fctxt, #fff); }
.flowstep:hover .flowstep__bar, .flowstep:focus-within .flowstep__bar { background: linear-gradient(90deg, var(--fctxt, #fff), color-mix(in srgb, var(--fctxt, #fff) 35%, transparent)); }
/* Carte active du défilement auto (Tamkin « Le pack ») : coloration comme au survol */
.flowstep.is-active { transform: translateY(-6px); border-color: transparent; background: var(--fc); box-shadow: 0 22px 50px -24px color-mix(in srgb, var(--fc) 55%, transparent); }
.flowstep.is-active .flowstep__t, .flowstep.is-active .flowstep__d, .flowstep.is-active .flowstep__tag { color: var(--fctxt, #fff); -webkit-text-fill-color: var(--fctxt, #fff); }
.flowstep.is-active .flowstep__ic { background: color-mix(in srgb, var(--fctxt, #fff) 18%, transparent); color: var(--fctxt, #fff); }
.flowstep.is-active .flowstep__bar { background: linear-gradient(90deg, var(--fctxt, #fff), color-mix(in srgb, var(--fctxt, #fff) 35%, transparent)); }
.flowstep:hover .flowstep__tag::before, .flowstep:focus-within .flowstep__tag::before { background: var(--fctxt, #fff); }
.flowstep__ic { position: relative; display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: color-mix(in srgb, var(--fc) 13%, transparent); color: var(--fc); margin-bottom: 16px; }
.flowstep__ic .ic { width: 24px; height: 24px; }
.flowstep__t { font-family: "Sora", sans-serif; font-size: 1.18rem; font-weight: 700; margin: 0 0 8px; color: var(--text-strong); }
.flowstep__tag { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #15803d; margin: 0 0 12px; }
[data-theme="dark"] .flowstep__tag { color: #4ade80; }
.flowstep__tag::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 0 rgba(34,197,94,.55); animation: signePulse 1.9s ease-out infinite; }
@keyframes signePulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); } 70% { box-shadow: 0 0 0 7px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.flowstep__d { font-size: 1rem; line-height: 1.55; color: var(--text-soft); margin: 0 0 18px; }
.flowstep__bar { display: block; height: 5px; border-radius: 999px; background: var(--fc); }
/* Connecteurs : ligne statique + boule qui la parcourt en virant vers la couleur de la carte suivante */
.flowstep::before { content: ""; position: absolute; top: 50%; left: 100%; width: 30px; height: 3px; transform: translateY(-50%); border-radius: 2px; background-image: linear-gradient(90deg, var(--fc) 0 50%, transparent 50% 100%); background-size: 9px 3px; background-repeat: repeat-x; opacity: .4; }
.flowstep::after { content: ""; position: absolute; top: 50%; left: 100%; width: 12px; height: 12px; border-radius: 50%; background-color: var(--fc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--fc) 18%, transparent); transform: translate(0, -50%); opacity: 0; animation: ballRelay 3s ease-in-out infinite; }
.flowstep:nth-child(1)::after { animation-delay: 0s; }
.flowstep:nth-child(2)::after { animation-delay: 1s; }
.flowstep:nth-child(3)::after { animation-delay: 2s; }
.flowstep:last-child::before, .flowstep:last-child::after { display: none; }
@keyframes ballRelay { 0% { opacity: 0; transform: translate(0, -50%); background-color: var(--fc); } 5% { opacity: 1; background-color: var(--fc); } 30% { opacity: 1; transform: translate(18px, -50%); background-color: var(--fcnext, var(--fc)); } 35% { opacity: 0; transform: translate(18px, -50%); background-color: var(--fcnext, var(--fc)); } 100% { opacity: 0; transform: translate(18px, -50%); } }
@media (max-width: 980px) { .flowsteps { grid-template-columns: repeat(2, 1fr); gap: 20px; } .flowstep::before, .flowstep::after { display: none; } }
@media (max-width: 560px) { .flowsteps { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .flowstep::after { opacity: 1 !important; transform: translate(9px, -50%) !important; } }

/* ===== Icônes colorées des cartes communauté ===== */
body[data-page="inclusion"] #community .pintro__ic { background: color-mix(in srgb, var(--fc, var(--brand)) 14%, transparent); color: var(--fc, var(--brand)); }

/* ===== Illustration LinkedIn (emplacement image, swappable) ===== */
.incl-li__illu { display: grid; place-items: center; gap: 12px; height: 100%; min-height: 240px; width: 100%; border-radius: 22px; background: linear-gradient(160deg, color-mix(in srgb, #0A66C2 13%, var(--surface)), color-mix(in srgb, #0A66C2 4%, var(--surface))); color: #0A66C2; text-align: center; }
.incl-li__illu .ic { width: 54px; height: 54px; }
.incl-li__illu span { font-size: .92rem; font-weight: 600; color: var(--text-soft); }
.incl-li__img { width: 100%; height: 100%; object-fit: contain; border-radius: 22px; display: block; background: #f3f2ef; }
body[data-page="inclusion"] .ehero__visual::after { opacity: .3; }
body[data-page="inclusion"] .incl-li { align-items: stretch; }
body[data-page="inclusion"] .incl-li__visual { display: flex; }

/* ===== Bandeau d'offres défilant horizontalement ===== */
.joblane { position: relative; }
.joblane .joblist { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; scroll-behavior: smooth; padding: 6px 2px 14px; scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--brand) 45%, transparent) transparent; }
.joblane .jobcard { flex: 0 0 clamp(258px, 80vw, 296px); scroll-snap-align: start; }
.joblane .joblist::-webkit-scrollbar { height: 8px; }
.joblane .joblist::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--brand) 40%, transparent); border-radius: 999px; }
.joblane .joblist::-webkit-scrollbar-track { background: transparent; }
.joblane__nav { position: absolute; top: calc(50% - 8px); transform: translateY(-50%); z-index: 2; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--brand); box-shadow: 0 12px 30px -12px rgba(16,24,40,.4); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease; }
.joblane__nav .ic { width: 20px; height: 20px; }
.joblane__nav:hover { transform: translateY(-50%) scale(1.07); }
.joblane__nav--prev { left: -12px; }
.joblane__nav--next { right: -12px; }
.joblane__nav[disabled] { opacity: .3; cursor: default; box-shadow: none; }
@media (max-width: 720px) { .joblane__nav { display: none; } }
.jobcard__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin-bottom: 2px; }
.jobcard__logo { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; border: 1px solid var(--border); background: var(--surface); }

/* ===== Rejoindre les communautés (WhatsApp / Telegram) ===== */
.commjoin { text-align: center; margin-top: clamp(28px, 3.2vw, 42px); }
.commjoin__label { display: block; font-family: "Sora", sans-serif; font-weight: 700; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 16px; }
.commjoin__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.commbtn { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 999px; font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.02rem; color: #fff; transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.commbtn .ic { width: 22px; height: 22px; }
.commbtn:hover { transform: translateY(-3px); filter: brightness(1.05); }
.commbtn--wa { background: #25D366; box-shadow: 0 16px 34px -14px rgba(37,211,102,.7); }
.commbtn--tg { background: #229ED9; box-shadow: 0 16px 34px -14px rgba(34,158,217,.7); }
.commbtn__pre { margin-inline-end: -4px; }
@media (max-width: 600px) { .commbtn__pre { display: none; } } /* « Rejoindre » : laptop seulement */

/* ===== Note "live" animée ===== */
.incl-note--live { position: relative; overflow: hidden; }
.incl-note--live .livedot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 0 rgba(34,197,94,.55); animation: livePulse 1.8s ease-out infinite; }
.incl-note--live::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, color-mix(in srgb, var(--brand) 16%, transparent) 50%, transparent 65%); transform: translateX(-120%); animation: liveSheen 3.6s ease-in-out infinite; pointer-events: none; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); } 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
@keyframes liveSheen { 0% { transform: translateX(-120%); } 55%, 100% { transform: translateX(120%); } }

/* ===== Catégories de produits (Pack 3 formations) ===== */
.catpacks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.catpack { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 28px 24px 24px; box-shadow: 0 16px 44px -26px rgba(99,102,241,.3); overflow: hidden; transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.catpack::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--fc), color-mix(in srgb, var(--fc) 30%, transparent)); }
.catpack:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--fc) 50%, transparent); box-shadow: 0 26px 58px -22px color-mix(in srgb, var(--fc) 50%, transparent); }
.catpack__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.catpack__ic { flex: none; display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: color-mix(in srgb, var(--fc) 14%, transparent); color: var(--fc); }
.catpack__ic .ic { width: 24px; height: 24px; }
.catpack__pick { flex: none; font-size: .7rem; font-weight: 700; letter-spacing: .03em; padding: 5px 11px; border-radius: 999px; background: color-mix(in srgb, var(--fc) 16%, transparent); color: var(--text-strong); white-space: nowrap; }
.catpack__t { font-family: "Sora", sans-serif; font-size: 1.16rem; font-weight: 700; color: var(--text-strong); margin: 0; white-space: nowrap; }
.catpack__sub { font-size: .9rem; color: var(--text-soft); margin: 3px 0 16px; white-space: nowrap; }
.catpack__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.catprod { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 12px; background: color-mix(in srgb, var(--fc) 7%, var(--surface)); border: 1px solid color-mix(in srgb, var(--fc) 18%, transparent); }
.catprod__logo { flex: none; width: 30px; height: 30px; border-radius: 8px; object-fit: cover; }
.catprod__name { flex: 1; min-width: 0; font-weight: 600; font-size: .9rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.catprod__val { flex: none; display: inline-flex; align-items: center; gap: 8px; }
.catprod__val s { color: var(--muted); font-size: .76rem; white-space: nowrap; }
.catprod__val b { font-size: .76rem; font-weight: 800; color: #15803d; background: color-mix(in srgb, #22C55E 15%, transparent); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
[data-theme="dark"] .catprod__val b { color: #4ade80; }
@media (max-width: 900px) { .catpacks { grid-template-columns: 1fr; } }

/* ===== Compositeur de pack — fenêtre 3 étapes (1 produit / catégorie) ===== */
.tkm__panel--wide { max-width: 520px; }
.tkm--pack .tkm__x { z-index: 3; }
.tkm--pack .tkm__title { text-align: center; margin-inline: 0; }
.tkm--pack .tkm__sub--step { text-align: center !important; }
/* Fenêtre LinkedIn Premium — même style que le compositeur de pack */
[data-tkcert-modal] .tkm__x { z-index: 3; }
[data-tkcert-modal] .tkm__title { text-align: center; margin-inline: 0; }
[data-tkcert-modal] .tkm__sub { text-align: center !important; }
[data-tkcert-modal] .tk-cert__done { display: flex; flex-direction: column; align-items: center; text-align: center !important; gap: 14px; max-width: 34ch; margin: 6px auto 2px; }
[data-tkcert-modal] .tk-cert__done .ic { width: 1.5rem; height: 1.5rem; padding: 13px; border-radius: 50%; background: color-mix(in srgb, #22C55E 16%, transparent); box-sizing: content-box; margin: 0; }
.packhero { margin: calc(-1 * clamp(22px, 3vw, 30px)) calc(-1 * clamp(22px, 3vw, 30px)) 16px; padding: 12px 16px 4px; display: grid; place-items: center; background: linear-gradient(160deg, #efeaff, #f6f3ff); border-radius: 22px 22px 0 0; }
.packhero__img { width: 150px; max-width: 58%; height: auto; display: block; }
[data-theme="dark"] .packhero { background: linear-gradient(160deg, #241a44, #1c1638); }
.tkm__sub--step { margin-bottom: 14px; font-weight: 600; color: var(--text-strong); }
.tk-wiz__nav [data-pack-next], .tk-wiz__nav [data-pack-send] { margin-inline-start: auto; }
.packwiz__panel--recap { --fc: var(--brand); }
.tk-steps--pack { justify-content: center; gap: 12px; flex-wrap: nowrap; }
.tk-steps--pack .tk-step { flex: 0 0 auto; padding: 0; border: 0; background: transparent; }
.tk-steps--pack .tk-step span { display: none; }
.tk-steps--pack .tk-step b { width: 30px; height: 30px; font-size: .92rem; }
.tk-steps[hidden], .tk-wiz__nav[hidden], .tk-wiz__prog[hidden] { display: none !important; }
.packwiz__panel[hidden] { display: none; }
.packwiz__cat { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.packwiz__ic { flex: none; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: color-mix(in srgb, var(--fc) 14%, transparent); color: var(--fc); }
.packwiz__ic .ic { width: 22px; height: 22px; }
.packwiz__ct { min-width: 0; }
.packwiz__t { font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.08rem; margin: 0; color: var(--text-strong); }
.packwiz__sub { margin: 2px 0 0; font-size: .88rem; color: var(--text-soft); }
.packopts { display: flex; flex-direction: column; gap: 10px; }
.packopt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: start; padding: 12px 14px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--fc) 20%, var(--border)); background: color-mix(in srgb, var(--fc) 5%, var(--surface)); cursor: pointer; position: relative; -webkit-tap-highlight-color: transparent; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .1s ease; }
.packopt:hover { border-color: color-mix(in srgb, var(--fc) 45%, transparent); background: color-mix(in srgb, var(--fc) 10%, var(--surface)); }
.packopt:focus-visible { outline: 2px solid var(--fc); outline-offset: 2px; }
.packopt.is-picked { border-color: var(--fc); background: color-mix(in srgb, var(--fc) 14%, var(--surface)); box-shadow: inset 0 0 0 1px var(--fc); }
.packopt__logo { flex: none; width: 34px; height: 34px; border-radius: 9px; object-fit: cover; background: var(--chip); }
.packopt__name { flex: 1; min-width: 0; font-weight: 700; color: var(--text-strong); font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.packopt__val { flex: none; display: inline-flex; align-items: center; gap: 8px; }
.packopt__val s { color: var(--muted); font-size: .74rem; white-space: nowrap; }
.packopt__val b { font-size: .74rem; font-weight: 800; color: #15803d; background: color-mix(in srgb, #22C55E 15%, transparent); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
[data-theme="dark"] .packopt__val b { color: #4ade80; }
.packopt__tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--fc); color: #fff; display: none; place-items: center; }
.packopt.is-picked .packopt__tick { display: grid; }
.packopt__tick .ic { width: 14px; height: 14px; }
.packwiz__err { margin: 14px 0 0; }
.packwiz__done { text-align: center; padding: 26px 6px 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.packwiz__doneic { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: color-mix(in srgb, #22C55E 16%, transparent); color: #16a34a; margin-bottom: 16px; }
.packwiz__doneic .ic { width: 28px; height: 28px; }
.packwiz__doned { color: var(--text-soft); font-size: 1rem; line-height: 1.5; margin: 0 auto 22px; max-width: 30ch; text-align: center !important; }
.packwiz__sum { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 8px; text-align: start; }
.packwiz__sum li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--border); }
.packwiz__sum li span { color: var(--text-soft); font-size: .85rem; font-weight: 600; }
.packwiz__sum li b { color: var(--text-strong); font-weight: 800; text-align: end; }
.packwiz__doneclose { width: auto; min-width: 180px; justify-content: center; }
@media (max-width: 480px) { .packopt__val s { display: none; } .tkm--pack .tk-wiz__nav { gap: 8px; } .tkm--pack .tk-wiz__nav .btn { padding-inline: 15px; } .tkm--pack [data-pack-send] .ic { display: none; } }

/* ===== Message d'erreur inline (calme, accessible) ===== */
.tk-wiz__err { margin-top: 16px; padding: 12px 16px; border-radius: 12px; background: color-mix(in srgb, #dc2626 9%, var(--surface)); border: 1px solid color-mix(in srgb, #dc2626 32%, transparent); color: #b91c1c; font-size: .98rem; font-weight: 600; }
[data-theme="dark"] .tk-wiz__err { color: #fecaca; }
.tk-field input[aria-invalid="true"], .tk-field select[aria-invalid="true"], .tk-field textarea[aria-invalid="true"] { border-color: #dc2626; box-shadow: 0 0 0 3px color-mix(in srgb, #dc2626 18%, transparent); }
.tk-opt { font-weight: 500; color: var(--muted); text-transform: none; letter-spacing: 0; }

/* ===== Fenêtre de remerciement ===== */
.tk-thanks { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 20px; }
.tk-thanks[hidden] { display: none; }
.tk-thanks__backdrop { position: absolute; inset: 0; background: rgba(10,16,32,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: tkFade .25s ease both; }
.tk-thanks__box { position: relative; max-width: 460px; width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 34px 30px; text-align: center; box-shadow: 0 40px 90px -30px rgba(10,16,32,.5); animation: tkPop .3s cubic-bezier(.2,.8,.2,1) both; }
.tk-thanks__ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: color-mix(in srgb, #14B8A6 16%, transparent); color: #0d9488; margin-bottom: 16px; }
.tk-thanks__ic .ic { width: 30px; height: 30px; }
.tk-thanks__t { font-family: "Sora", sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--text-strong); margin: 0 0 10px; }
.tk-thanks__d { font-size: 1.04rem; line-height: 1.6; color: var(--text-soft); margin: 0 0 22px; }
.tk-thanks__box .btn { min-height: 50px; padding-inline: 30px; }
@keyframes tkFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes tkPop { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }

/* ============ Grands titres centrés (comme avant) + contenu justifié au bord de lecture ============ */
/* grands titres (titres de section/page & héros centrés) : centrés sur une ligne, comme avant */
.section__title, .section__title--grad, .cotitle, .pbhero__title, .packsx__title,
.gchero__title, .npaper__title, .revtitle { text-align: center !important; }
/* sous-titres des sections & héros centrés : centrés avec leur titre */
.section__head p, .section__lead, .pbhero p, .pbhero__sub, .gchero__head p, .hero__pitch p, .pintro p, .npaper__head p, .coshare .section__head p, .revsub { text-align: center !important; }
/* heros .ehero (Entreprises/Etudiants/Partenaires/Tamkin) : titre + description au debut (gauche), a cote de l image, comme a l origine */
.ehero__title { text-align: start !important; }
.ehero__lead { text-align: justify !important; max-width: none !important; }
/* Téléphone : section « À découvrir » — titre + sous-titre CENTRÉS (surcharge la justification globale) */
@media (max-width: 560px) { .disco__intro, .disco__intro .disco__title, .disco__intro .disco__lead { text-align: center !important; } }
/* corps de texte : justifié, démarre au bord de lecture (gauche FR/EN — droite AR) */
main p, main li, main dd { text-align: justify !important; text-justify: inter-word; -webkit-hyphens: auto; hyphens: auto; }
/* composants au design centré : on conserve le centrage (bannière, disco, stats, badges, états vides) */
.bnr__txt, .bnr__txt *, .bnr__sign,
.stat, .stat *, .whystat, .whystat *, .rev-rating, .rev-rating *, .strip__label,
.cpn-card__pct, .cpn-empty, .cpn-empty *, .cpn-modal__foot, .cpn-modal__foot *,
.cartdrawer__empty, .cartdrawer__empty *, .hsearch__empty, .hsearch__empty *,
.soon, .soon *, .pay, .vcode__demo, .brand-disclaimer { text-align: center !important; }

/* Modal certification (LinkedIn Premium) */
.tkm { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 18px; }
.tkm[hidden] { display: none; }
.tkm__backdrop { position: absolute; inset: 0; background: rgba(6,9,18,.62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.tkm__panel { position: relative; z-index: 1; width: 100%; max-width: 440px; max-height: 92vh; overflow: auto; padding: clamp(22px,3vw,30px); border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 40px 90px -30px rgba(0,0,0,.6); }
.tkm__x { position: absolute; top: 12px; inset-inline-end: 12px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--chip); color: var(--text); cursor: pointer; }
.tkm__x .ic { width: 1.05rem; height: 1.05rem; }
.tkm__title { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.3rem; margin: 0 8px 6px 0; color: var(--text-strong); }
.tkm__sub { margin: 0 0 18px; color: var(--text-soft); font-size: .95rem; line-height: 1.5; }
.tkm__form { display: flex; flex-direction: column; gap: 14px; }
.tkm__submit { justify-content: center; margin-top: 4px; }
.tk-cert__done { display: inline-flex; align-items: center; gap: 10px; margin: 8px 0 0; color: #15803d; font-weight: 600; }
.tk-cert__done .ic { width: 1.3rem; height: 1.3rem; color: #16a34a; flex: none; }

/* Sélecteur de thème (Clair / Sombre / Automatique) */
.theme-dd .dd__ic { width: 1.2rem; height: 1.2rem; display: none; }
.theme-dd[data-theme-mode="light"] .dd__ic--light,
.theme-dd[data-theme-mode="dark"] .dd__ic--dark,
.theme-dd[data-theme-mode="auto"] .dd__ic--auto { display: inline-flex; }
.theme-dd .dd__item .ic { width: 1.05rem; height: 1.05rem; flex: none; }
.theme-dd .dd__menu { min-width: 168px; }

/* ============ Aïda — assistant de support (toutes les pages) ============ */
.aida { --brand: #7c3aed; --brand-3: #a855f7; --grad: linear-gradient(120deg, #7c3aed 0%, #a855f7 45%, #e0529c 100%); position: fixed; right: 20px; left: auto; bottom: 20px; z-index: 90; width: min(388px, calc(100vw - 32px)); height: min(640px, calc(100vh - 40px)); display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 40px 90px -28px rgba(8,12,30,.55), 0 2px 8px rgba(0,0,0,.12); opacity: 0; visibility: hidden; transform: translateY(24px) scale(.96); transform-origin: bottom right; transition: opacity .28s var(--ease), transform .32s var(--ease), visibility .28s; }
.aida.is-open { opacity: 1; visibility: visible; transform: none; }
:root[dir="rtl"] .aida { right: auto; left: 20px; transform-origin: bottom left; }
.aida__head { position: relative; flex: none; padding: 18px 18px 24px; color: #fff; background: linear-gradient(150deg, #7c3aed 0%, #a855f7 50%, #e0529c 100%); }
.aida__top { display: flex; align-items: center; gap: 10px; }
.aida__logo { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; background: #fff; padding: 4px; box-shadow: 0 4px 12px -4px rgba(0,0,0,.3); }
.aida__logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.aida__brandwrap { display: flex; flex-direction: column; gap: 1px; line-height: 1.15; }
.aida__online { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 600; opacity: .95; }
.aida__odot { width: 7px; height: 7px; border-radius: 50%; flex: none; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,.7); animation: aidaPulse 2.2s infinite; }
@keyframes aidaPulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.7); } 70% { box-shadow: 0 0 0 6px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.aida__logo .ic { width: 1.15rem; height: 1.15rem; }
.aida__brand { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.08rem; letter-spacing: -.01em; }
.aida__top-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.aida__iconbtn { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; cursor: pointer; transition: background .2s; position: relative; }
.aida__iconbtn:hover { background: rgba(255,255,255,.28); }
.aida__iconbtn .ic { width: 1.15rem; height: 1.15rem; }
.aida__flag { position: absolute; bottom: 4px; inset-inline-end: 4px; width: 14px; height: 10px; border-radius: 2px; box-shadow: 0 0 0 1.5px rgba(255,255,255,.7); }
.aida__langmenu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-md); padding: 6px; display: none; flex-direction: column; gap: 2px; z-index: 5; min-width: 150px; }
.aida__iconbtn.is-open + .aida__langmenu, .aida__langmenu.is-open { display: flex; }
.aida__langitem { display: flex; align-items: center; gap: 9px; border: 0; background: transparent; color: var(--text); font-family: "Inter",sans-serif; font-weight: 600; font-size: .9rem; padding: 8px 10px; border-radius: 8px; cursor: pointer; text-align: start; }
.aida__langitem:hover, .aida__langitem.is-active { background: var(--chip); }
.aida__langitem .flag { width: 20px; height: 14px; border-radius: 3px; flex: none; }
.aida__greet { margin-top: 16px; font-size: 1.02rem; opacity: .92; }
.aida__h { margin: 4px 0 0; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.7rem; line-height: 1.12; }
.aida__body { flex: 1; min-height: 0; display: flex; flex-direction: column; background: color-mix(in srgb, var(--bg-alt, var(--surface)) 70%, var(--surface)); }
.aida__view { display: none; flex-direction: column; flex: 1; min-height: 0; }
.aida__view--pad { padding: 16px; gap: 14px; overflow-y: auto; }
.aida__view.is-active { display: flex; }
.aida__card { display: flex; align-items: center; gap: 12px; width: 100%; text-align: start; padding: 18px 18px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; }
.aida__card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); }
.aida__card > span { flex: 1; min-width: 0; }
.aida__card-tt { display: block; font-family: "Sora",sans-serif; font-weight: 700; font-size: 1.04rem; color: var(--text-strong); }
.aida__card-sb { display: block; }
.aida__card-sb { margin-top: 2px; font-size: .9rem; color: var(--text-soft); }
.aida__card .ic--arrow { margin-inline-start: auto; width: 1.1rem; height: 1.1rem; color: var(--text-soft); flex: none; }
.aida__search { display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 52px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); }
.aida__search .ic { width: 1.15rem; height: 1.15rem; color: var(--text-soft); flex: none; }
.aida__search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font-family: "Inter",sans-serif; font-size: .98rem; outline: none; }
.aida__poptitle { margin: 2px 0 -4px; font-family: "Sora",sans-serif; font-weight: 700; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); }
.aida__qlist { display: flex; flex-direction: column; gap: 10px; }
.aida__q { display: flex; align-items: center; gap: 12px; width: 100%; text-align: start; padding: 16px 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); color: var(--text-strong); font-family: "Inter",sans-serif; font-weight: 600; font-size: .98rem; line-height: 1.3; cursor: pointer; transition: border-color .2s, background .2s; }
.aida__q:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--border)); background: color-mix(in srgb, var(--brand) 4%, var(--surface)); }
.aida__q .ic, .aida__card .ic--arrow { transform: rotate(-90deg); }
.aida[dir="rtl"] .aida__q .ic, .aida[dir="rtl"] .aida__card .ic--arrow { transform: rotate(90deg); }
.aida__q .ic { margin-inline-start: auto; width: 1.05rem; height: 1.05rem; color: var(--text-soft); flex: none; }
.aida__empty { padding: 18px 6px; color: var(--text-soft); font-size: .95rem; text-align: center; }
/* chat */
.aida__chat { flex: 1; min-height: 0; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.aida__msg { max-width: 86%; padding: 11px 15px; border-radius: 16px; font-size: .96rem; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; }
.aida__msg--bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--border); color: var(--text); border-bottom-left-radius: 5px; }
.aida__msg--user { align-self: flex-end; background: linear-gradient(150deg, #7c3aed, #e0529c); color: #fff; border-bottom-right-radius: 5px; }
.aida[dir="rtl"] .aida__msg--bot { border-bottom-left-radius: 16px; border-bottom-right-radius: 5px; }
.aida[dir="rtl"] .aida__msg--user { border-bottom-right-radius: 16px; border-bottom-left-radius: 5px; }
.aida__who { font-family: "Sora",sans-serif; font-weight: 700; font-size: .76rem; color: var(--brand); margin: 0 4px 3px; }
.aida__typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 13px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.aida__typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--text-soft); opacity: .5; animation: aidaDot 1s infinite; }
.aida__typing span:nth-child(2){ animation-delay: .15s; } .aida__typing span:nth-child(3){ animation-delay: .3s; }
@keyframes aidaDot { 0%,60%,100%{ transform: translateY(0); opacity:.4; } 30%{ transform: translateY(-4px); opacity:1; } }
.aida__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 8px; }
.aida__chip { border: 1px solid color-mix(in srgb, var(--brand) 35%, var(--border)); background: color-mix(in srgb, var(--brand) 7%, transparent); color: var(--brand); border-radius: 999px; padding: 8px 14px; font-family: "Inter",sans-serif; font-weight: 600; font-size: .86rem; cursor: pointer; text-align: start; }
.aida__chip:hover { background: color-mix(in srgb, var(--brand) 14%, transparent); }
.aida__inputbar { flex: none; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--border); background: var(--surface); }
.aida__input { flex: 1; min-width: 0; border: 1px solid var(--border); border-radius: 999px; padding: 12px 16px; background: var(--bg); color: var(--text); font-family: "Inter",sans-serif; font-size: .96rem; outline: none; }
.aida__input:focus { border-color: var(--brand-3); }
.aida__send { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 0; border-radius: 50%; background: linear-gradient(150deg, #7c3aed, #e0529c); color: #fff; cursor: pointer; }
.aida__send .ic { width: 1.2rem; height: 1.2rem; }
.aida[dir="rtl"] .aida__send .ic { transform: scaleX(-1); }
.aida__send:disabled { opacity: .5; cursor: default; }
/* bottom nav */
.aida__nav { flex: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 8px 6px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: var(--surface); }
.aida__navbtn { display: flex; flex-direction: column; align-items: center; gap: 4px; border: 0; background: transparent; color: var(--text-soft); font-family: "Sora",sans-serif; font-weight: 600; font-size: .72rem; padding: 6px 2px; border-radius: 12px; cursor: pointer; transition: color .2s; }
.aida__navbtn .ic { width: 1.3rem; height: 1.3rem; }
.aida__navbtn.is-active { color: var(--brand); }
.aida__navbtn:hover { color: var(--text-strong); }
.aida__back { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; border: 0; background: transparent; color: var(--brand); font-family: "Sora",sans-serif; font-weight: 700; font-size: .9rem; cursor: pointer; padding: 4px 0; }
.aida__back .ic { width: 1rem; height: 1rem; transform: scaleX(-1); }
.aida[dir="rtl"] .aida__back .ic { transform: none; }
/* FAB support toggles the widget */
.fab--support { border: 0; cursor: pointer; font: inherit; }
.aida.is-open ~ .fabs .fab--support, body.aida-open .fab--support { box-shadow: 0 16px 34px -8px rgba(168,85,247,.85), inset 0 1px 0 rgba(255,255,255,.4); }
@media (max-width: 480px) { .aida { inset: 8px; width: auto; height: auto; max-height: none; border-radius: 20px; } }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .aida { transition: opacity .2s; transform: none; } .aida__typing span { animation: none; } }

/* Aïda — barre d'état système */
.aida__sys { flex: none; background: var(--surface); border-bottom: 1px solid var(--border); }
.aida__sysbar { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: transparent; padding: 10px 16px; cursor: pointer; text-align: start; color: var(--text); }
.aida__sysdot { width: 9px; height: 9px; border-radius: 50%; flex: none; background: #16a34a; box-shadow: 0 0 0 3px color-mix(in srgb, #16a34a 20%, transparent); }
.aida__sys--down .aida__sysdot { background: #f59e0b; box-shadow: 0 0 0 3px color-mix(in srgb, #f59e0b 20%, transparent); }
.aida__systxt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.aida__systxt b { font-family: "Sora",sans-serif; font-weight: 700; font-size: .85rem; color: var(--text-strong); }
.aida__systxt small { font-size: .71rem; color: var(--text-soft); }
.aida__syschev { margin-inline-start: auto; width: 1rem; height: 1rem; color: var(--text-soft); transition: transform .25s; flex: none; }
.aida__sys.is-open .aida__syschev { transform: rotate(180deg); }
.aida__syslist { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.aida__sys.is-open .aida__syslist { max-height: 260px; }
.aida__sysrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 16px; font-size: .86rem; color: var(--text); border-top: 1px solid var(--border); }
.aida__sysok { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: #16a34a; flex: none; }
.aida__sysok i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.aida__sysok--ko { color: #d97706; }
/* Aïda — FAQ accordéon (partie Aide) */
.aida__faq { display: flex; flex-direction: column; gap: 10px; }
.aida__faqitem { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); overflow: hidden; }
.aida__faqq { display: flex; align-items: center; gap: 12px; width: 100%; text-align: start; border: 0; background: transparent; padding: 15px 16px; cursor: pointer; color: var(--text-strong); font-family: "Inter",sans-serif; font-weight: 600; font-size: .96rem; line-height: 1.35; }
.aida__faqq span { flex: 1; min-width: 0; }
.aida__faqq .ic { width: 1.05rem; height: 1.05rem; color: var(--text-soft); flex: none; transition: transform .25s; }
.aida__faqitem.is-open .aida__faqq .ic { transform: rotate(180deg); }
.aida__faqa { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.aida__faqitem.is-open .aida__faqa { max-height: 460px; }
.aida__faqa p { margin: 0; padding: 0 16px 4px; color: var(--text-soft); font-size: .92rem; line-height: 1.55; }
.aida__faqask { display: inline-flex; align-items: center; gap: 7px; margin: 8px 16px 16px; border: 0; background: color-mix(in srgb, var(--brand) 11%, transparent); color: var(--brand); border-radius: 999px; padding: 8px 14px; font-family: "Sora",sans-serif; font-weight: 700; font-size: .82rem; cursor: pointer; }
.aida__faqask .ic { width: 1rem; height: 1rem; }
.aida__faqask:hover { background: color-mix(in srgb, var(--brand) 18%, transparent); }
/* Aïda — Suivi / tickets */
.aida__trackform { gap: 8px; }
.aida__trackgo { flex: none; border: 0; border-radius: 10px; background: var(--grad); color: #fff; font-family: "Sora",sans-serif; font-weight: 700; font-size: .84rem; padding: 9px 14px; cursor: pointer; }
.aida__tickets { display: flex; flex-direction: column; gap: 10px; }
.aida__ticket { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); padding: 14px 16px; }
.aida__ticket-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.aida__ticket-h b { font-family: "Sora",sans-serif; font-size: 1rem; color: var(--text-strong); }
.aida__ticket p { margin: 8px 0 10px; color: var(--text-soft); font-size: .9rem; line-height: 1.5; }

/* Aïda — photo de profil (avatar) */
.aida__logo--face { width: 38px; height: 38px; padding: 0; border-radius: 50%; background: #fff; overflow: hidden; box-shadow: 0 4px 12px -4px rgba(0,0,0,.35), inset 0 0 0 2px rgba(255,255,255,.6); }
.aida__logo--face img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* =========================================================
   Espace client + Fidélité (compte.html) — réutilise .ambx__*
   ========================================================= */
.acct { padding-top: clamp(22px, 3vw, 40px); padding-bottom: clamp(60px, 8vw, 110px); position: relative; }
.acct .container { position: relative; z-index: 1; }
/* tout élément masqué (vue, panneau de formulaire, erreur, état vide) doit
   l'être, même si .ambx__loading/.ambx__form imposent display:grid/flex */
.acct [hidden] { display: none !important; }

/* sous-navigation du tableau de bord : 3 parties */
.acct__tabs2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 6px; margin: 2px 0 20px; box-shadow: var(--shadow-sm); }
.acct__tab2 { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 12px; border: 0; border-radius: 11px; background: transparent; color: var(--text-soft); font: inherit; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.acct__tab2 .ic { width: 18px; height: 18px; flex: none; }
.acct__tab2:hover { color: var(--text-strong); }
.acct__tab2.is-on { background: var(--grad); color: #fff; box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--brand) 65%, transparent); }
.acct__pane { animation: acctPaneIn .28s ease both; }
.acct__pane .reveal { opacity: 1; transform: none; }
@keyframes acctPaneIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 620px) {
  .acct__tabs2 { display: flex; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .acct__tabs2::-webkit-scrollbar { display: none; }
  .acct__tab2 { flex: 0 0 auto; gap: 6px; padding: 10px 14px; font-size: .85rem; }
}

/* Page « Activations » : cartes de réception des accès + identifiants */
.acct__deliveries { display: grid; gap: 14px; }
.acct__deliv { border: 1px solid color-mix(in srgb, var(--brand) 26%, var(--border)); border-inline-start: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); border-radius: 16px; background: color-mix(in srgb, var(--brand) 7%, var(--surface)); box-shadow: 0 10px 22px -14px color-mix(in srgb, var(--brand) 34%, transparent); padding: 16px 18px; }
.acct__deliv-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.acct__deliv-name { font-family: "Sora", sans-serif; font-size: 1.05rem; color: var(--text-strong); }
.acct__chan { font-size: .78rem; font-weight: 700; color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, transparent); padding: 3px 10px; border-radius: 999px; }
.acct__deliv-head .acct__pill { margin-inline-start: auto; }
.acct__creds { display: grid; gap: 8px; margin-top: 14px; }
.acct__cred { display: grid; grid-template-columns: 8.5em 1fr; align-items: center; gap: 10px; }
.acct__cred-k { color: var(--text-soft); font-size: .85rem; font-weight: 600; }
.acct__cred-v { display: flex; align-items: center; gap: 6px; min-width: 0; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 10px; padding: 6px 8px 6px 12px; }
.acct__cred-code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .9rem; color: var(--text-strong); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-inline-end: auto; }
.acct__cred-btn { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 8px; background: transparent; color: var(--text-soft); cursor: pointer; transition: background .15s, color .15s; text-decoration: none; }
.acct__cred-btn:hover { background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); }
.acct__cred-btn.is-ok { color: #10b981; }
.acct__cred-btn .ic { width: 1rem; height: 1rem; }
.acct__deliv-note { margin: 12px 0 0; padding: 10px 12px; background: color-mix(in srgb, var(--brand) 6%, transparent); border-radius: 10px; color: var(--text-soft); font-size: .85rem; line-height: 1.5; }
.acct__deliv-meta { margin: 8px 0 0; color: var(--text-soft); font-size: .78rem; }
@media (max-width: 520px) { .acct__cred { grid-template-columns: 1fr; gap: 4px; } }

/* indicatif (tous pays) + numéro */
.acct__phone { display: grid; grid-template-columns: minmax(0, 12em) 1fr; gap: 8px; }
.acct__dial { font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 0 10px; height: 46px; max-width: 100%; cursor: pointer; }
.acct__dial:focus { outline: none; border-color: var(--brand); }
.acct__phone input { min-width: 0; }
@media (max-width: 520px) { .acct__phone { grid-template-columns: 1fr; } }

/* lien texte (mot de passe oublié / retour) */
.acct__link { display: inline-block; align-self: flex-start; background: none; border: 0; padding: 2px 0; margin: -4px 0 2px; color: var(--brand); font: inherit; font-weight: 600; cursor: pointer; }
.acct__link:hover { text-decoration: underline; }

/* bloc fidélité : palier + KPIs */
.acct__loyal { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; margin: 4px 0 22px; }
@media (max-width: 860px) { .acct__loyal { grid-template-columns: 1fr; } }
.acct__tier { position: relative; overflow: hidden; border-radius: var(--radius); padding: 22px 22px 20px; color: #fff; box-shadow: var(--shadow-md); background: linear-gradient(135deg, #6b4f2a, #b08642); }
.acct__tier[data-tier="silver"] { background: linear-gradient(135deg, #6b7280, #aab2c2); }
.acct__tier[data-tier="gold"] { background: linear-gradient(135deg, #b7791f, #f1c453); }
.acct__tier[data-tier="platinum"] { background: linear-gradient(135deg, #3b2f63, #7c3aed); }
.acct__tier[data-tier="diamond"] { background: linear-gradient(135deg, #0e7490, #22d3ee); }
.acct__tier[data-tier="elite"] { background: linear-gradient(135deg, #1f2937, #f59e0b); }
.acct__tier::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 120% at 100% 0%, rgba(255,255,255,.22), transparent 55%); pointer-events: none; }
.acct__tier-top { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.acct__tier-lbl { font-size: .8rem; opacity: .85; text-transform: uppercase; letter-spacing: .08em; }
.acct__tier-name { font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.5rem; margin-right: auto; }
.acct__tier-mult { font-size: .85rem; opacity: .92; }
.acct__tier-prog { position: relative; z-index: 1; height: 8px; border-radius: 999px; background: rgba(255,255,255,.25); margin-top: 16px; overflow: hidden; }
.acct__tier-bar { display: block; height: 100%; border-radius: inherit; background: #fff; transition: width .9s cubic-bezier(.2,.7,.2,1); }
.acct__tier-proglbl { position: relative; z-index: 1; margin: 10px 0 0; font-size: .86rem; opacity: .95; }
.acct__kpis { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; }
.acct__kpi { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.acct__kpi--hi { border-color: color-mix(in srgb, var(--brand) 45%, transparent); }
.acct__kpi-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); flex: none; }
.acct__kpi-ic .ic { width: 22px; height: 22px; }
.acct__kpi-n { font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.6rem; line-height: 1; color: var(--text-strong); }
.acct__kpi-l { color: var(--text-soft); font-size: .86rem; margin-left: auto; text-align: right; max-width: 8.5em; }

/* pills statut commande */
.acct__pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; }
.acct__pill--paid, .acct__pill--delivered, .acct__pill--confirmed { background: color-mix(in srgb, #10b981 16%, transparent); color: #10b981; }
.acct__pill--processing { background: color-mix(in srgb, #f59e0b 16%, transparent); color: #f59e0b; }
.acct__pill--refunded { background: color-mix(in srgb, #ef4444 16%, transparent); color: #ef4444; }
.acct__pill--expired { background: color-mix(in srgb, var(--muted) 18%, transparent); color: var(--text-soft); }

/* accès / abonnements */
.acct__accesses { display: grid; gap: 10px; }
.acct__access { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.acct__access-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); flex: none; }
.acct__access-ic .ic { width: 20px; height: 20px; }
.acct__access-main { display: flex; flex-direction: column; gap: 2px; margin-right: auto; }
.acct__access-main small { color: var(--text-soft); font-size: .8rem; }
.acct__warr { display: inline-flex; align-items: center; gap: 5px; margin-top: 3px; font-size: .8rem; color: var(--text-soft); }
.acct__warr .ic { width: 14px; height: 14px; color: var(--brand); flex: none; }
.acct__warr b { color: var(--text-strong); font-weight: 700; }
.acct__warr-tag { font-style: normal; font-size: .72rem; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: color-mix(in srgb, #10b981 16%, transparent); color: #10b981; }

/* hero niveau actuel : total dépensé + bornes */
.acct__tier-spent { position: relative; z-index: 1; margin: 12px 0 0; font-size: .9rem; opacity: .96; }
.acct__tier-spent b { font-weight: 800; }
.acct__tier-ends { position: relative; z-index: 1; display: flex; justify-content: space-between; margin-top: 6px; font-size: .76rem; opacity: .85; }

/* Récompenses : niveaux (gauche) + actions (droite) */
.acct__rewgrid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 18px; align-items: stretch; }
.acct__rewgrid > .ambx__card, .acct__rewcol > .ambx__card { margin-bottom: 0; }
@media (max-width: 1024px) { .acct__rewgrid { grid-template-columns: 1fr; } }
.acct__rewcol { display: flex; flex-direction: column; gap: 18px; }
.acct__rewcol > .ambx__card:last-child { flex: 1 1 auto; }
@media (max-width: 1024px) { .acct__rewcol > .ambx__card:last-child { flex: none; } }

/* "Tous les niveaux" */
.acct__tiers { display: grid; gap: 8px; }
.acct__tlvl { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); transition: transform .18s var(--ease, ease), box-shadow .18s, border-color .18s; }
.acct__tlvl:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.acct__tlvl[data-state="current"] { border-color: color-mix(in srgb, var(--brand) 55%, transparent); background: color-mix(in srgb, var(--brand) 7%, var(--surface)); box-shadow: 0 12px 28px -16px color-mix(in srgb, var(--brand) 55%, transparent); }
.acct__tlvl[data-state="locked"] { opacity: .6; }
.acct__tlvl-badge { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; flex: none; background: linear-gradient(135deg, #6b4f2a, #b08642); box-shadow: inset 0 0 0 2px rgba(255,255,255,.18); }
.acct__tlvl-badge .ic { width: 19px; height: 19px; }
.acct__tlvl[data-tier="silver"] .acct__tlvl-badge { background: linear-gradient(135deg, #6b7280, #aab2c2); }
.acct__tlvl[data-tier="gold"] .acct__tlvl-badge { background: linear-gradient(135deg, #b7791f, #f1c453); }
.acct__tlvl[data-tier="platinum"] .acct__tlvl-badge { background: linear-gradient(135deg, #3b2f63, #7c3aed); }
.acct__tlvl[data-tier="diamond"] .acct__tlvl-badge { background: linear-gradient(135deg, #0e7490, #22d3ee); }
.acct__tlvl[data-tier="elite"] .acct__tlvl-badge { background: linear-gradient(135deg, #1f2937, #f59e0b); }
.acct__tlvl-main { display: flex; flex-direction: column; gap: 1px; margin-right: auto; min-width: 0; }
.acct__tlvl-main b { font-family: "Sora", sans-serif; font-size: 1rem; color: var(--text-strong); }
.acct__tlvl-main small { color: var(--text-soft); font-size: .8rem; }
.acct__tlvl-you { font-size: .73rem; font-weight: 800; padding: 4px 11px; border-radius: 999px; background: var(--grad); color: #fff; white-space: nowrap; flex: none; box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--brand) 70%, transparent); }
.acct__tlvl-check { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: color-mix(in srgb, #10b981 16%, transparent); color: #10b981; flex: none; }
.acct__tlvl-check .ic { width: 15px; height: 15px; }
.acct__tlvl-lock { color: var(--text-soft); opacity: .65; flex: none; }
.acct__tlvl-lock .ic { width: 17px; height: 17px; }
[dir="rtl"] .acct__tlvl-main { margin-right: 0; margin-left: auto; }

/* effets UI/UX — couleurs INTÉRIEURES des cartes (lueur douce, sans déplacer la
   carte) : un léger dégradé violet (haut-droite) + rose (bas-gauche) à l'intérieur */
.acct .ambx__card { background-image: radial-gradient(90% 75% at 100% 0%, color-mix(in srgb, var(--brand) 9%, transparent), transparent 55%), radial-gradient(85% 70% at 0% 100%, color-mix(in srgb, #e0529c 7%, transparent), transparent 55%); }
.acct__kpi { background-image: radial-gradient(100% 90% at 100% 0%, color-mix(in srgb, var(--brand) 11%, transparent), transparent 60%); }
.acct__tierscard .acct__tlvl { background-image: radial-gradient(120% 100% at 100% 0%, color-mix(in srgb, var(--brand) 6%, transparent), transparent 60%); }

/* couleurs de marque des boutons de partage */
.ambx__sbtn--fb:hover { border-color: #1877F2; color: #1877F2; }
.ambx__sbtn--li:hover { border-color: #0a66c2; color: #0a66c2; }
/* partage du parrainage : libellé sur sa ligne, puis les boutons (avec texte)
   étirés sur toute la largeur de la carte — du bord gauche au bord DROIT
   ("la fin"), comme la ligne « Ton lien » au-dessus */
.acct .ambx__sharebtns { flex-wrap: wrap; gap: 8px 6px; }
.acct .ambx__sharelb { flex: 1 0 100%; white-space: nowrap; margin-bottom: 1px; }
.acct .ambx__sbtn { flex: 1 1 0; min-width: 0; justify-content: center; padding: 9px 8px; font-size: .82rem; gap: 6px; }
.acct .ambx__sbtn .ic { width: 1rem; height: 1rem; flex: none; }
.acct .ambx__sbtn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* effets UI/UX — survol des cartes des 3 onglets (scopé à .acct : n'affecte pas l'ambassadeur) */
.acct .ambx__card { transition: transform .2s var(--ease, ease), box-shadow .2s, border-color .2s; }
.acct .ambx__card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 35%, var(--border)); box-shadow: 0 22px 46px -24px color-mix(in srgb, var(--brand) 48%, transparent); }
.acct__kpi { transition: transform .2s var(--ease, ease), box-shadow .2s, border-color .2s; }
.acct__kpi:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 42%, transparent); box-shadow: var(--shadow-md); }
.acct__access { transition: transform .16s var(--ease, ease), box-shadow .16s, border-color .16s; }
.acct__access:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--brand) 30%, transparent); box-shadow: var(--shadow-md); }
.acct__tier { transition: transform .2s var(--ease, ease), box-shadow .2s; }
.acct__tier:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .acct .ambx__card, .acct__kpi, .acct__access, .acct__tier, .acct__tlvl { transition: none; } .acct .ambx__card:hover, .acct__kpi:hover, .acct__access:hover, .acct__tier:hover, .acct__tlvl:hover { transform: none; } }

/* RGPD */
.acct__rgpd { border-color: color-mix(in srgb, #ef4444 22%, var(--border)); }
.acct__danger { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid color-mix(in srgb, #ef4444 40%, transparent); color: #ef4444; border-radius: 12px; padding: 9px 16px; font: inherit; font-weight: 600; cursor: pointer; }
.acct__danger:hover { background: color-mix(in srgb, #ef4444 10%, transparent); }
.acct__danger .ic { width: 16px; height: 16px; }

/* Profil (page 1) : résumé photo + nom + niveau actuel */
.acct__profcard { --ring: var(--brand); display: flex; flex-direction: column; gap: 18px; }
.acct__profcard[data-tier="bronze"]   { --ring: #b08642; }
.acct__profcard[data-tier="silver"]   { --ring: #9aa3b2; }
.acct__profcard[data-tier="gold"]     { --ring: #e0a92e; }
.acct__profcard[data-tier="platinum"] { --ring: #7c3aed; }
.acct__profcard[data-tier="diamond"]  { --ring: #22c3dd; }
.acct__profcard[data-tier="elite"]    { --ring: #f59e0b; }
.acct__profhead { display: flex; align-items: center; gap: 18px 20px; flex-wrap: wrap; }
.acct__avawrap { position: relative; flex: none; }
.acct__ava { position: relative; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; overflow: hidden; font-family: "Sora", sans-serif; font-weight: 800; font-size: 2rem; color: #fff; background: var(--grad); box-shadow: 0 0 0 4px var(--surface), 0 0 0 7px color-mix(in srgb, var(--ring) 72%, transparent), 0 16px 34px -16px color-mix(in srgb, var(--ring) 60%, transparent); }
.acct__ava-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.acct__ava-ini { line-height: 1; letter-spacing: .02em; }
.acct__avafab { position: absolute; right: -2px; bottom: -2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--surface); background: var(--grad); color: #fff; cursor: pointer; box-shadow: 0 6px 14px -6px color-mix(in srgb, var(--brand) 70%, transparent); transition: transform .18s var(--ease, ease); }
.acct__avafab:hover { transform: scale(1.09); }
.acct__avafab .ic { width: 16px; height: 16px; }
.acct__profmain { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.acct__profname { font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.5rem; line-height: 1.12; color: var(--text-strong); word-break: break-word; }
.acct__proflvl { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 5px 13px 5px 7px; border-radius: 999px; background: color-mix(in srgb, var(--ring) 15%, transparent); border: 1px solid color-mix(in srgb, var(--ring) 30%, transparent); color: var(--text-strong); font-size: .9rem; }
.acct__proflvl-ic { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ring); color: #fff; flex: none; }
.acct__proflvl-ic .ic { width: 13px; height: 13px; }
.acct__proflvl-txt b { font-weight: 800; }
.acct__avactions { display: flex; align-items: center; gap: 6px 12px; flex-wrap: wrap; margin-top: 3px; }
.acct__avabtn .ic { width: 16px; height: 16px; }
.acct__avarm { color: var(--text-soft); font-weight: 600; }
.acct__avarm:hover { color: #ef4444; }
.acct__profstats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.acct__profstat { display: flex; align-items: center; gap: 13px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 55%, transparent); }
.acct__profstat-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; flex: none; background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); }
.acct__profstat:nth-child(2) .acct__profstat-ic { background: color-mix(in srgb, #22C55E 16%, transparent); color: #16a34a; }
[data-theme="dark"] .acct__profstat:nth-child(2) .acct__profstat-ic { color: #4ade80; }
.acct__profstat-ic .ic { width: 20px; height: 20px; }
.acct__profstat-n { font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.32rem; line-height: 1; color: var(--text-strong); }
.acct__profstat-l { color: var(--text-soft); font-size: .82rem; margin-left: auto; text-align: right; max-width: 8.5em; }
.acct__profhint { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .82rem; color: var(--text-soft); }
.acct__profhint .ic { width: 15px; height: 15px; flex: none; color: color-mix(in srgb, var(--brand) 70%, var(--text-soft)); }
@media (max-width: 560px) {
  .acct__ava { width: 80px; height: 80px; font-size: 1.7rem; }
  .acct__profname { font-size: 1.28rem; }
  .acct__profstats { grid-template-columns: 1fr; }
  .acct__profstat { padding: 13px 15px; gap: 12px; }
  .acct__profstat-ic { width: 38px; height: 38px; }
  .acct__profstat-n { font-size: 1.22rem; }
  .acct__profstat-l { max-width: none; }
}

/* En-tête : petit avatar + sous-titre */
.acct__ava--sm { width: 46px; height: 46px; font-size: 1.05rem; box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px color-mix(in srgb, var(--brand) 45%, transparent); }

/* Badges d'onglets (Activation / Garantie) */
.acct__tab2-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; font-family: "Sora", sans-serif; font-size: .68rem; font-weight: 800; line-height: 1; background: color-mix(in srgb, var(--brand) 18%, transparent); color: var(--brand); }
.acct__tab2.is-on .acct__tab2-badge { background: rgba(255,255,255,.28); color: #fff; }
.acct__tab2-badge[hidden] { display: none; }

/* Complétude du profil */
.acct__complete { padding: 14px 16px; border-radius: 14px; border: 1px dashed color-mix(in srgb, var(--brand) 35%, var(--border)); background: color-mix(in srgb, var(--brand) 5%, transparent); }
.acct__complete-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.acct__complete-lbl { font-weight: 700; color: var(--text-strong); font-size: .9rem; }
.acct__complete-pct { font-family: "Sora", sans-serif; font-weight: 800; color: var(--brand); }
.acct__complete-bar { height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--border) 60%, transparent); overflow: hidden; margin: 10px 0 8px; }
.acct__complete-bar > span { display: block; height: 100%; border-radius: inherit; background: var(--grad); transition: width .8s cubic-bezier(.2,.7,.2,1); }
.acct__complete-hint { margin: 0; font-size: .82rem; color: var(--text-soft); }
.acct__profcard[data-complete="1"] .acct__complete { border-style: solid; border-color: color-mix(in srgb, #22C55E 45%, transparent); background: color-mix(in srgb, #22C55E 8%, transparent); }
.acct__profcard[data-complete="1"] .acct__complete-pct { color: #16a34a; }
[data-theme="dark"] .acct__profcard[data-complete="1"] .acct__complete-pct { color: #4ade80; }

/* Récompenses : comment gagner des points */
.acct__earncard { margin-bottom: 22px; }
.acct__earn { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.acct__earn .acct__earnitem:nth-child(1) { --g1: #7c3aed; --g2: #6d28d9; }
.acct__earn .acct__earnitem:nth-child(2) { --g1: #f97316; --g2: #ea580c; }
.acct__earn .acct__earnitem:nth-child(3) { --g1: #a855f7; --g2: #9333ea; }
.acct__earn .acct__earnitem:nth-child(4) { --g1: #e0529c; --g2: #c02678; }
.acct__earnitem { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 9px; padding: 18px; border-radius: 16px; border: 0; color: #fff; background: linear-gradient(135deg, var(--g1, var(--brand)), var(--g2, var(--brand))); box-shadow: 0 14px 30px -18px color-mix(in srgb, var(--g1, var(--brand)) 62%, transparent); transition: transform .2s var(--ease, ease), box-shadow .25s; }
.acct__earnitem::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 120% at 100% 0%, rgba(255,255,255,.22), transparent 55%); pointer-events: none; }
.acct__earnitem > * { position: relative; z-index: 1; }
.acct__earnitem:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -18px color-mix(in srgb, var(--g1, var(--brand)) 75%, transparent); }
.acct__earnic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.22); color: #fff; }
.acct__earnic .ic { width: 22px; height: 22px; }
.acct__earnt { font-family: "Sora", sans-serif; font-weight: 700; color: #fff; font-size: 1rem; }
.acct__earnd { color: rgba(255,255,255,.92); font-size: .85rem; line-height: 1.42; }
.acct__earnact { margin-top: auto; padding-top: 4px; display: flex; flex-wrap: wrap; gap: 8px; }
.acct__earnbtn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 10px; background: rgba(255,255,255,.95); color: var(--g1, var(--brand)); font: inherit; font-weight: 700; font-size: .82rem; border: 0; cursor: pointer; text-decoration: none; transition: transform .15s var(--ease, ease), box-shadow .2s; }
.acct__earnbtn:hover { transform: translateY(-1px); background: #fff; box-shadow: 0 7px 16px -8px rgba(0,0,0,.45); }
.acct__earnbtn .ic { width: 15px; height: 15px; }
.acct__earnbtn--brand { color: #3c4043; }
.acct__earnbtn--brand .ic { width: 16px; height: 16px; }

/* ===== Animations des icônes (partie compte, 4 onglets) ===== */
@keyframes acctIconPop { 0% { opacity: 0; transform: scale(.35); } 60% { transform: scale(1.08); } 100% { opacity: 1; transform: scale(1); } }
.acct__stat4-ic, .acct__earnic, .acct__reass-ic, .acct__kpi-ic, .acct__trust-ic { animation: acctIconPop .55s cubic-bezier(.2,.7,.2,1) backwards; transition: transform .28s var(--ease, ease); }
.acct__stats4 .acct__stat4:nth-child(1) .acct__stat4-ic { animation-delay: .05s; }
.acct__stats4 .acct__stat4:nth-child(2) .acct__stat4-ic { animation-delay: .12s; }
.acct__stats4 .acct__stat4:nth-child(3) .acct__stat4-ic { animation-delay: .19s; }
.acct__stats4 .acct__stat4:nth-child(4) .acct__stat4-ic { animation-delay: .26s; }
.acct__earn .acct__earnitem:nth-child(1) .acct__earnic { animation-delay: .05s; }
.acct__earn .acct__earnitem:nth-child(2) .acct__earnic { animation-delay: .12s; }
.acct__earn .acct__earnitem:nth-child(3) .acct__earnic { animation-delay: .19s; }
.acct__earn .acct__earnitem:nth-child(4) .acct__earnic { animation-delay: .26s; }
.acct__reass .acct__reass-item:nth-child(1) .acct__reass-ic { animation-delay: .05s; }
.acct__reass .acct__reass-item:nth-child(2) .acct__reass-ic { animation-delay: .12s; }
.acct__reass .acct__reass-item:nth-child(3) .acct__reass-ic { animation-delay: .19s; }
.acct__kpis .acct__kpi:nth-child(1) .acct__kpi-ic { animation-delay: .05s; }
.acct__kpis .acct__kpi:nth-child(2) .acct__kpi-ic { animation-delay: .12s; }
.acct__stat4:hover .acct__stat4-ic,
.acct__earnitem:hover .acct__earnic,
.acct__reass-item:hover .acct__reass-ic,
.acct__kpi:hover .acct__kpi-ic,
.acct__trust:hover .acct__trust-ic { transform: scale(1.14) rotate(-7deg); }
@media (prefers-reduced-motion: reduce) {
  .acct__stat4-ic, .acct__earnic, .acct__reass-ic, .acct__kpi-ic, .acct__trust-ic { animation: none; }
}

/* ===== Compte : ajustements mobile ===== */
@media (max-width: 600px) {
  /* En-tête : « Se déconnecter » en haut à droite, même ligne que « Salut … » */
  .acct .ambx__head { flex-wrap: nowrap; align-items: center; gap: 10px; }
  .acct .ambx__whoami { flex: 1 1 auto; min-width: 0; gap: 10px; }
  .acct .ambx__hi, .acct .ambx__subhi { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .acct .ambx__headr { width: auto; flex: none; justify-content: flex-end; }
  .acct .ambx__headr .btn { padding: 9px 13px; font-size: .82rem; }
  .acct .acct__ava--sm { width: 42px; height: 42px; }

  /* Récompenses : Points & Solde sur une seule ligne */
  .acct__kpis { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 12px; }
  .acct__kpi { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 15px; }
  .acct__kpi-ic { width: 40px; height: 40px; }
  .acct__kpi-n { font-size: 1.32rem; }
  .acct__kpi-l { margin-left: 0; text-align: left; max-width: none; }

  /* Mes commandes : libellés + valeurs alignés à gauche */
  .acct .ambx__grid2 .ambx__table td { justify-content: flex-start; text-align: left; gap: 10px; }
  .acct .ambx__grid2 .ambx__table td::before { min-width: 82px; }
}

/* Activation : bandeau de réassurance */
.acct__reass { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.acct__reass .acct__reass-item:nth-child(1) { --g1: #7c3aed; --g2: #6d28d9; }
.acct__reass .acct__reass-item:nth-child(2) { --g1: #f97316; --g2: #ea580c; }
.acct__reass .acct__reass-item:nth-child(3) { --g1: #a855f7; --g2: #9333ea; }
.acct__reass-item { position: relative; overflow: hidden; display: flex; align-items: center; gap: 13px; padding: 16px 18px; border-radius: 16px; border: 0; color: #fff; background: linear-gradient(135deg, var(--g1, var(--brand)), var(--g2, var(--brand))); box-shadow: 0 14px 30px -18px color-mix(in srgb, var(--g1, var(--brand)) 58%, transparent); }
.acct__reass-item::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 120% at 100% 0%, rgba(255,255,255,.20), transparent 55%); pointer-events: none; }
.acct__reass-item > * { position: relative; z-index: 1; }
.acct__reass-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; flex: none; background: rgba(255,255,255,.22); color: #fff; }
.acct__reass-ic .ic { width: 22px; height: 22px; }
.acct__reass-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.acct__reass-tx b { font-weight: 700; color: #fff; font-size: .95rem; }
.acct__reass-tx span { color: rgba(255,255,255,.9); font-size: .82rem; line-height: 1.35; }

/* Garantie : bandeau de confiance */
.acct__trust { display: flex; align-items: center; gap: 15px; padding: 16px 20px; border-radius: 16px; margin-bottom: 18px; border: 1px solid color-mix(in srgb, #22C55E 30%, var(--border)); background: color-mix(in srgb, #22C55E 8%, transparent); }
.acct__trust-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; flex: none; background: color-mix(in srgb, #22C55E 18%, transparent); color: #16a34a; }
.acct__trust-ic .ic { width: 24px; height: 24px; }
[data-theme="dark"] .acct__trust-ic { color: #4ade80; }
.acct__trust-tx { display: flex; flex-direction: column; gap: 3px; }
.acct__trust-tx b { font-family: "Sora", sans-serif; font-weight: 700; color: var(--text-strong); }
.acct__trust-tx span { color: var(--text-soft); font-size: .88rem; line-height: 1.4; }

/* États vides enrichis (Activation / Garantie) */
.acct__empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 34px 20px; }
.acct__empty[hidden] { display: none; }
.acct__empty-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); }
.acct__empty-ic .ic { width: 26px; height: 26px; }
.acct__empty p { margin: 0; color: var(--text-soft); }

@media (max-width: 860px) {
  .acct__earn { grid-template-columns: 1fr 1fr; }
  .acct__reass { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .acct__earn { grid-template-columns: 1fr; }
  .acct__trust { align-items: flex-start; }
}

/* ===== Profil (maquette SaaS) : hero + 4 stats + mot de passe ===== */
.acct__hero { --ring: var(--brand); display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 26px 28px; border-radius: var(--radius); margin-bottom: 18px; border: 1px solid var(--border); background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 9%, var(--surface)), color-mix(in srgb, var(--brand) 3%, var(--surface))); box-shadow: var(--shadow-sm); }
.acct__hero[data-tier="bronze"]   { --ring: #b08642; }
.acct__hero[data-tier="silver"]   { --ring: #9aa3b2; }
.acct__hero[data-tier="gold"]     { --ring: #e0a92e; }
.acct__hero[data-tier="platinum"] { --ring: #7c3aed; }
.acct__hero[data-tier="diamond"]  { --ring: #22c3dd; }
.acct__hero[data-tier="elite"]    { --ring: #f59e0b; }
.acct__hero-av { flex: none; }
.acct__hero-av .acct__ava { width: 104px; height: 104px; font-size: 2.2rem; }
.acct__hero-main { display: flex; flex-direction: column; gap: 9px; min-width: 0; flex: 1 1 300px; }
.acct__hero-name { display: flex; align-items: center; gap: 9px; margin: 0; font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.8rem; line-height: 1.1; color: var(--text-strong); word-break: break-word; }
.acct__vcheck { display: inline-grid; place-items: center; flex: none; }
.acct__vcheck .ic { width: 24px; height: 24px; }
.acct__hbadge { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; flex-wrap: wrap; padding: 6px 13px; border-radius: 999px; background: color-mix(in srgb, #F59E0B 14%, transparent); border: 1px solid color-mix(in srgb, #F59E0B 30%, transparent); color: var(--text-strong); font-size: .92rem; }
.acct__hbadge-ic { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(180deg, #FDE68A, #F59E0B); color: #7c4a03; flex: none; }
.acct__hbadge-ic .ic { width: 13px; height: 13px; }
.acct__hbadge b { font-weight: 800; }
.acct__hstars { display: inline-flex; gap: 1px; }
.acct__hstar { color: color-mix(in srgb, var(--text-soft) 45%, transparent); font-size: .9rem; line-height: 1; }
.acct__hstar.is-on { color: #F59E0B; }
.acct__hlevels { background: none; border: 0; padding: 2px 0 2px 4px; color: #b7791f; font: inherit; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
[data-theme="dark"] .acct__hlevels { color: #fbbf24; }
.acct__hlevels:hover { text-decoration: underline; }
.acct__herorate { margin: 2px 0 0; font-size: .9rem; color: var(--text-soft); }
.acct__herorate b { color: var(--text-strong); font-weight: 800; }
.acct__verify { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 4px; padding: 8px 14px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--border)); background: color-mix(in srgb, var(--brand) 7%, var(--surface)); color: var(--text-strong); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; transition: background .2s, border-color .2s, transform .15s var(--ease, ease); }
.acct__verify:hover { transform: translateY(-1px); background: color-mix(in srgb, var(--brand) 12%, var(--surface)); border-color: color-mix(in srgb, var(--brand) 50%, var(--border)); }
.acct__verify-ic { display: grid; place-items: center; flex: none; }
.acct__verify-ic .ic { width: 18px; height: 18px; }
.acct__verify-ic--brand { color: var(--brand); }
.acct__verify-free { color: #16a34a; font-weight: 800; }
[data-theme="dark"] .acct__verify-free { color: #4ade80; }
.acct__verify--pending { cursor: default; border-color: color-mix(in srgb, #F59E0B 42%, transparent); background: color-mix(in srgb, #F59E0B 12%, transparent); color: #b45309; }
.acct__verify--pending:hover { transform: none; }
[data-theme="dark"] .acct__verify--pending { color: #fbbf24; }
.acct__verify--done { cursor: default; border-color: color-mix(in srgb, #1d9bf0 42%, transparent); background: color-mix(in srgb, #1d9bf0 11%, transparent); color: #1d9bf0; }
.acct__verify--done:hover { transform: none; }
.acct__verify-note { margin: 6px 0 0; font-size: .82rem; color: var(--text-soft); }

.acct__stats4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.acct__stat4 { position: relative; overflow: hidden; padding: 20px 22px; border-radius: 18px; color: #fff; box-shadow: var(--shadow-md); }
.acct__stat4::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 120% at 100% 0%, rgba(255,255,255,.20), transparent 55%); pointer-events: none; }
.acct__stat4--violet { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.acct__stat4--orange { background: linear-gradient(135deg, #f97316, #ea580c); }
.acct__stat4--purple { background: linear-gradient(135deg, #a855f7, #9333ea); }
.acct__stat4--pink { background: linear-gradient(135deg, #e0529c, #c02678); }
.acct__stat4-n { display: block; position: relative; z-index: 1; font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.7rem; line-height: 1.05; }
.acct__stat4-l { position: relative; z-index: 1; display: block; margin-top: 4px; font-size: .84rem; opacity: .95; }
.acct__stat4-ic { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.22); color: #fff; }
.acct__stat4-ic .ic { width: 19px; height: 19px; }
[dir="rtl"] .acct__stat4-ic { right: auto; left: 14px; }

.acct__pgrid { align-items: stretch; margin-bottom: 18px; }
.acct__pgrid > .ambx__card { display: flex; flex-direction: column; }
.acct__pgrid .ambx__bankform { display: flex; flex-direction: column; flex: 1; gap: 14px; }
.acct__pgrid .ambx__bankform .ambx__submit { margin-top: auto; }
.acct__ct-ic { width: 20px; height: 20px; vertical-align: -3px; color: var(--brand); }
.acct__phonewrap { display: flex; gap: 8px; }
.acct__phonewrap input { flex: 1 1 auto; min-width: 0; }
.acct__verifybtn { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 0 15px; border-radius: 12px; border: 0; background: linear-gradient(135deg, #7c3aed, #6d28d9); color: #fff; font: inherit; font-weight: 700; font-size: .86rem; cursor: pointer; transition: filter .2s, transform .15s var(--ease, ease); }
.acct__verifybtn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.acct__verifybtn .ic { width: 16px; height: 16px; }
.acct__fieldhint { display: block; margin-top: 6px; font-size: .78rem; color: var(--text-soft); line-height: 1.35; }
.acct__phverified { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: .8rem; font-weight: 700; color: #16a34a; }
.acct__phverified .ic { width: 15px; height: 15px; }
[data-theme="dark"] .acct__phverified { color: #4ade80; }
input[data-rw-email-display] { background: color-mix(in srgb, var(--border) 22%, transparent); color: var(--text-soft); cursor: not-allowed; }

.acct__btn--green { background: linear-gradient(135deg, #16a34a, #22c55e); color: #fff; border: 0; box-shadow: 0 12px 26px -14px color-mix(in srgb, #16a34a 70%, transparent); }
.acct__btn--green:hover { filter: brightness(1.06); }
.acct__btn--blue { background: linear-gradient(135deg, #1e40af, #2563eb); color: #fff; border: 0; box-shadow: 0 12px 26px -14px color-mix(in srgb, #2563eb 70%, transparent); }
.acct__btn--blue:hover { filter: brightness(1.08); }

.acct__danger-zone { background: color-mix(in srgb, #ef4444 6%, var(--surface)); border-color: color-mix(in srgb, #ef4444 30%, var(--border)); }
.acct__danger-title { color: #dc2626; }
.acct__danger-title .ic { width: 20px; height: 20px; vertical-align: -3px; }
[data-theme="dark"] .acct__danger-title { color: #f87171; }

/* Fenêtre de vérification d'identité */
.acct__vmeta { display: block; width: 54px; height: 54px; margin: 0 0 12px; }
.acct__vmeta .ic { width: 54px; height: 54px; }
[data-rw-verify-modal] .tkm__submit { width: 100%; }
[data-rw-verify-modal] .acct__link { margin: 10px auto 0; }
.acct__vhint { margin: 8px 0 14px; font-size: .84rem; color: var(--text-soft); line-height: 1.45; }
.acct__vdemo { padding: 9px 12px; border-radius: 10px; background: color-mix(in srgb, var(--brand) 9%, transparent); border: 1px dashed color-mix(in srgb, var(--brand) 35%, var(--border)); color: var(--text-strong); font-weight: 700; }
.acct__vpending { text-align: center; }
.acct__vpending-ic { display: inline-grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; margin-bottom: 12px; background: color-mix(in srgb, #F59E0B 15%, transparent); color: #d97706; }
[data-theme="dark"] .acct__vpending-ic { color: #fbbf24; }
.acct__vpending-ic .ic { width: 30px; height: 30px; }
.acct__vpending-t { font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.15rem; margin: 0 0 8px; color: var(--text-strong); }
.acct__vpending-x { margin: 0 0 18px; color: var(--text-soft); font-size: .92rem; line-height: 1.5; }

/* Toast (notification sur le site) */
.acct__toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px); z-index: 300; display: flex; align-items: center; gap: 10px; max-width: 90vw; padding: 13px 18px; border-radius: 14px; background: var(--surface); border: 1px solid color-mix(in srgb, #1d9bf0 34%, var(--border)); box-shadow: 0 20px 50px -18px rgba(0,0,0,.5); color: var(--text-strong); font-weight: 600; opacity: 0; transition: opacity .3s, transform .3s; }
.acct__toast.is-in { opacity: 1; transform: translateX(-50%) translateY(0); }
.acct__toast .ic { width: 22px; height: 22px; flex: none; }

@media (max-width: 900px) { .acct__stats4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .acct__hero { padding: 20px; gap: 16px; }
  .acct__hero-av .acct__ava { width: 84px; height: 84px; font-size: 1.8rem; }
  .acct__hero-name { font-size: 1.4rem; }
  .acct__stats4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .acct__stat4 { padding: 16px; }
  .acct__stat4-n { font-size: 1.4rem; }
}

/* RTL */
[dir="rtl"] .acct__kpi-l { margin-left: 0; margin-right: auto; text-align: left; }
[dir="rtl"] .acct__tier-name { margin-right: 0; margin-left: auto; }
[dir="rtl"] .acct__profstat-l { margin-left: 0; margin-right: auto; text-align: left; }
[dir="rtl"] .acct__avafab { right: auto; left: -2px; }

/* =========================================================
   MOBILE POLISH (téléphones) — laptop/desktop NON modifié
   (tout est sous @media, donc l'affichage ordinateur ne change pas)
   ========================================================= */
@media (max-width: 600px) {
  /* Texte courant aligné au bord (le justify crée des trous sur petit écran) */
  main p, main li, main dd,
  .audrow__desc, .shareoffer__text p, .disco__lead, .npaper__col,
  .ehero__lead, .tk-pack-head .section__lead {
    text-align: start !important; text-justify: auto !important;
    -webkit-hyphens: none !important; hyphens: none !important;
  }
}

@media (max-width: 480px) {
  /* ---- Cartes produits : 2 par ligne (au lieu d'une seule) ---- */
  .popgrid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; }
  .popcard { padding: 12px 9px 11px; border-radius: 15px; }
  .popcard__lg { width: 42px; height: 42px; border-radius: 11px; }
  .popcard__lg--ph b { font-size: 1.05rem; }
  .popcard__n { margin-top: 7px; font-size: .9rem; }
  .popcard__desc { white-space: normal; font-size: .66rem; line-height: 1.25; }
  .popcard__cat { margin-top: 5px; font-size: .6rem; padding: 2px 9px; }
  .popcard__priceline { margin-top: 6px; }
  .popcard__price { font-size: 1.15rem; }
  .popcard__price i { font-size: .66rem; }
  .popcard__old { font-size: .72rem; margin-inline-end: 4px; }
  .popcard__per { font-size: .64rem; }
  .popcard__rate { margin-top: 4px; font-size: .64rem; }
  .popcard__stock { margin-top: 5px; font-size: .56rem; padding: 2px 8px; }
  .popcard__cta { margin-top: 8px; padding: 8px; font-size: .8rem; }
  .popcard__off { font-size: .58rem; padding: 2px 7px; top: 8px; right: 8px; }
  .popcard__pop { font-size: .5rem; top: 8px; left: 8px; padding: 2px 7px; }

  /* ---- Compositeur de pack : outils 2 par ligne, en-tête empilé ---- */
  .pb__tools { grid-template-columns: repeat(2, 1fr) !important; gap: 9px; }
  .pb__toolshead { flex-direction: column; align-items: flex-start; gap: 3px; }
  .pbtool { padding: 12px 10px; }
  .pbtool__name { font-size: .82rem; }
  .pbtool__price { font-size: .82rem; }
  .pb__reward { padding: 14px 14px 16px; }
  .pb__rewardtxt { font-size: .9rem; line-height: 1.4; }

  /* ---- Boutons flottants plus discrets (moins de recouvrement) ---- */
  .fabs { inset-inline-end: 11px; bottom: 11px; gap: 9px; }
  .fab { height: 46px; border-radius: 23px; }
  .fab__ico { width: 46px; height: 46px; }
  .fab__ico .ic { width: 1.35rem; height: 1.35rem; }
  /* ---- Étiquette coupon plus compacte ---- */
  .cpn-tag { inset-inline-start: 11px; bottom: 13px; padding: 8px 11px; font-size: .72rem; gap: 5px; }
  .cpn-tag .ic { width: 14px; height: 14px; }
}


/* ============================================================
   IPTV landing page (iptv.html) — scoped styles
   ============================================================ */
.iptv-accent { --ipt: #2563eb; }
body[data-page="iptv"] { --ipt: #2563eb; }

/* ---- Hero ---- */
.iptvhero { padding-top: clamp(26px, 4vw, 52px); overflow: hidden; }
.iptvhero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.iptvhero__kicker { background: color-mix(in srgb, var(--ipt) 14%, transparent); color: var(--ipt); }
.iptvhero__title { font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.05; letter-spacing: -.02em; color: var(--text-strong); margin: 14px 0 0; }
.iptvhero__grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.iptvhero__lead { margin: 16px 0 0; font-size: clamp(1rem, 1.5vw, 1.16rem); line-height: 1.6; color: var(--text-soft); max-width: 560px; }
.iptvhero__lead b { color: var(--text-strong); font-weight: 700; }
.iptvhero__pricepill { display: inline-flex; align-items: baseline; gap: 8px; margin: 22px 0 0; padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--border); box-shadow: var(--shadow-sm); }
.iptvhero__from { font-size: .82rem; color: var(--text-soft); }
.iptvhero__price { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.9rem; color: var(--text-strong); line-height: 1; }
.iptvhero__price i { font-size: .9rem; font-style: normal; font-weight: 700; color: var(--text-soft); }
.iptvhero__per { font-size: .85rem; color: var(--text-soft); }
.iptvhero__save { margin-inline-start: 6px; background: linear-gradient(135deg,#22c55e,#16a34a); color: #fff; font-family: "Sora",sans-serif; font-weight: 800; font-size: .78rem; padding: 4px 10px; border-radius: 999px; }
.iptvhero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.iptvhero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 20px 0 0; font-size: .9rem; color: var(--text-soft); }
.iptvhero__stars { color: #f59e0b; font-weight: 700; }
.iptvhero__stars b { color: var(--text-strong); }
.iptvhero__dot { opacity: .5; }

/* TV mockup (pure CSS) */
.iptvhero__visual { position: relative; display: flex; flex-direction: column; align-items: center; }
.iptvtv { position: relative; width: 100%; max-width: 480px; aspect-ratio: 16/10; border-radius: 20px; padding: 16px; background: linear-gradient(160deg,#0b1020,#161d3a); border: 6px solid #0a0d1c; box-shadow: 0 40px 80px -30px rgba(37,99,235,.6), inset 0 0 0 1px rgba(255,255,255,.06); }
.iptvtv__live { position: absolute; top: 24px; left: 24px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; background: #dc2626; color: #fff; font-family: "Sora",sans-serif; font-weight: 800; font-size: .64rem; letter-spacing: .08em; padding: 4px 9px; border-radius: 999px; }
.iptvtv__live i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: iptvPulse 1.4s infinite; }
@keyframes iptvPulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.iptvtv__grid { height: 100%; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 8px; }
.iptvtv__grid span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: 11px; background: color-mix(in srgb, var(--t) 22%, #0b1020); border: 1px solid color-mix(in srgb, var(--t) 40%, transparent); font-size: clamp(1.1rem, 2.4vw, 1.7rem); }
.iptvtv__grid small { font-family: "Sora",sans-serif; font-weight: 700; font-size: .56rem; letter-spacing: .03em; color: #e7ecff; }
.iptvtv__stand { width: 90px; height: 14px; margin-top: -2px; border-radius: 0 0 8px 8px; background: linear-gradient(#0a0d1c,#161d3a); }
.iptvtv__stand::after { content: ""; display: block; width: 150px; height: 8px; margin: 4px 0 0 -30px; border-radius: 999px; background: rgba(10,13,28,.5); }
.iptvtv__badge { position: absolute; z-index: 3; font-family: "Sora",sans-serif; font-weight: 800; font-size: .74rem; padding: 7px 12px; border-radius: 12px; background: var(--surface); color: var(--text-strong); box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.iptvtv__badge--4k { top: 8px; right: -6px; background: var(--grad); color: #fff; border: none; }
.iptvtv__badge--dev { bottom: 26px; left: -10px; letter-spacing: .12em; }

/* ---- Stat bar ---- */
.iptvstats { padding: clamp(18px,2.4vw,28px) 0; background: linear-gradient(100deg, color-mix(in srgb, var(--ipt) 9%, var(--surface)), color-mix(in srgb, var(--brand) 9%, var(--surface))); border-block: 1px solid var(--border); }
.iptvstats__row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.iptvstats__i { text-align: center; }
.iptvstats__i b { display: block; font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1.25rem, 2.6vw, 1.8rem); color: var(--text-strong); line-height: 1; }
.iptvstats__i span { display: block; margin-top: 6px; font-size: .82rem; color: var(--text-soft); }

/* ---- Channel categories ---- */
.iptvcats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.iptvcat { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--c, var(--ipt)); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s; }
.iptvcat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
/* Carrousel auto (mobile) : la carte centrée s'illumine avec sa couleur */
.iptvcat.is-active { transform: translateY(-4px); background: color-mix(in srgb, var(--c) 8%, var(--surface)) !important; box-shadow: 0 22px 46px -20px color-mix(in srgb, var(--c) 55%, transparent) !important; }
.iptvcat__em { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; font-size: 1.5rem; background: color-mix(in srgb, var(--c) 14%, transparent); }
.iptvcat b { display: block; margin: 12px 0 6px; font-family: "Sora",sans-serif; font-weight: 700; font-size: 1.06rem; color: var(--text-strong); }
.iptvcat small { color: var(--text-soft); font-size: .86rem; line-height: 1.5; }

/* ---- VOD ---- */
.iptvvod__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(28px,4vw,56px); row-gap: 14px; align-items: center; }
.iptvvod__grid > .iptvvod__title { grid-column: 1; grid-row: 1; }
.iptvvod__grid > .iptvvod__text { grid-column: 1; grid-row: 2; }
.iptvvod__grid > .iptvvod__btn { grid-column: 1; grid-row: 3; justify-self: start; margin: 0; }
.iptvvod__grid > .iptvvod__posters { grid-column: 2; grid-row: 1 / span 3; }
.iptvchecks { list-style: none; margin: 18px 0 26px; padding: 0; display: grid; gap: 11px; }
.iptvchecks li { display: flex; align-items: center; gap: 10px; font-size: 1rem; color: var(--text); }
.iptvchecks .ic { width: 1.05rem; height: 1.05rem; color: #16a34a; flex: none; }
.iptvvod__posters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.iptvvod__posters span { aspect-ratio: 2/3; border-radius: 14px; display: grid; place-items: center; font-size: clamp(1.8rem,4vw,2.6rem); background: var(--g); box-shadow: var(--shadow-md); }
.iptvvod__posters span:nth-child(2),.iptvvod__posters span:nth-child(5) { transform: translateY(18px); }

/* ---- Features ---- */
.iptvfeats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.iptvfeat { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s; }
.iptvfeat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.iptvfeat__ic { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; font-size: 1.7rem; background: color-mix(in srgb, var(--ipt) 12%, transparent); }
.iptvfeat b { display: block; margin: 14px 0 7px; font-family: "Sora",sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--text-strong); }
.iptvfeat p { margin: 0; color: var(--text-soft); font-size: .92rem; line-height: 1.55; }

/* ---- Devices ---- */
.iptvdevs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.iptvdev { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px 10px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); font-size: 1.9rem; text-align: center; transition: transform .25s var(--ease), border-color .25s; }
.iptvdev:hover { transform: translateY(-4px); border-color: var(--ipt); }
.iptvdev b { font-family: "Sora",sans-serif; font-weight: 700; font-size: .92rem; color: var(--text-strong); margin-top: 4px; }
.iptvdev small { font-size: .74rem; color: var(--text-soft); }

/* ---- Plans / pricing ---- */
.iptvplans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.iptvplan { position: relative; display: flex; flex-direction: column; padding: 26px 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1.5px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s; }
.iptvplan:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.iptvplan--best { border: 2px solid transparent; background: linear-gradient(var(--surface),var(--surface)) padding-box, var(--grad) border-box; box-shadow: var(--shadow-lg); transform: scale(1.03); }
.iptvplan--best:hover { transform: scale(1.03) translateY(-5px); }
.iptvplan__ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--grad); color: #fff; font-family: "Sora",sans-serif; font-weight: 800; font-size: .72rem; letter-spacing: .02em; padding: 6px 16px; border-radius: 999px; box-shadow: 0 10px 24px -10px rgba(168,85,247,.7); }
.iptvplan__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.iptvplan__dur { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.25rem; color: var(--text-strong); }
.iptvplan__tag { font-size: .72rem; font-weight: 700; color: var(--ipt); background: color-mix(in srgb, var(--ipt) 12%, transparent); padding: 4px 9px; border-radius: 999px; }
.iptvplan__tag--hot { color: #fff; background: linear-gradient(135deg,#f97316,#dc2626); }
.iptvplan__price { display: flex; align-items: baseline; gap: 7px; margin: 18px 0 2px; }
.iptvplan__price s { font-size: .95rem; color: var(--text-soft); opacity: .7; }
.iptvplan__price b { font-family: "Sora",sans-serif; font-weight: 800; font-size: 2.5rem; line-height: 1; color: var(--text-strong); }
.iptvplan__price i { font-style: normal; font-weight: 700; font-size: 1rem; color: var(--text-soft); }
.iptvplan__permo { font-size: .84rem; color: var(--text-soft); }
.iptvplan__permo b { color: var(--ipt); }
.iptvplan__list { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 9px; flex: 1; }
.iptvplan__list li { display: flex; align-items: flex-start; gap: 7px; font-size: .85rem; color: var(--text); line-height: 1.35; }
.iptvplan__list li::before { content: "✓"; flex: none; color: #7c3aed; font-weight: 800; }
.iptvplan__list li:has(.ic)::before { display: none; }
.iptvplan__list li b { color: var(--text-strong); }
.iptvplans__note { display: flex; align-items: center; justify-content: center; gap: 7px; white-space: nowrap; text-align: center; margin: 26px 0 0; font-size: .88rem; color: var(--text-soft); }
.iptvplans__note .ic { flex: none; }
@media (max-width: 1200px) { .iptvplans__note { white-space: normal; flex-wrap: wrap; } }
.btn--block { width: 100%; }

/* ---- How it works ---- */
.iptvsteps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.iptvstep { text-align: center; padding: 26px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.iptvstep__n { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--grad); color: #fff; font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.3rem; box-shadow: 0 12px 26px -10px rgba(168,85,247,.6); }
.iptvstep b { display: block; margin: 14px 0 7px; font-family: "Sora",sans-serif; font-weight: 700; font-size: 1.08rem; color: var(--text-strong); }
.iptvstep p { margin: 0; color: var(--text-soft); font-size: .92rem; line-height: 1.55; }

/* ---- Guarantee band ---- */
.iptvguar { display: flex; align-items: center; gap: 22px; padding: clamp(24px,3vw,34px); border-radius: var(--radius-lg); background: color-mix(in srgb, #16a34a 8%, var(--surface)); border: 1.5px solid color-mix(in srgb, #16a34a 30%, var(--border)); box-shadow: var(--shadow-sm); }
.iptvguar__ic { font-size: 3rem; flex: none; }
.iptvguar__txt { flex: 1; }
.iptvguar__txt b { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.2rem; color: var(--text-strong); }
.iptvguar__txt p { margin: 6px 0 0; color: var(--text-soft); line-height: 1.55; }
.iptvguar__txt b + p b { color: var(--text-strong); }

/* ---- Reviews ---- */
.iptvrev__stars,.iptvrev__s { color: #f59e0b; letter-spacing: 2px; }
.iptvrevs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.iptvrev { margin: 0; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.iptvrev__s { font-size: 1rem; }
.iptvrev blockquote { margin: 12px 0 14px; font-size: .96rem; line-height: 1.6; color: var(--text); }
.iptvrev figcaption { font-family: "Sora",sans-serif; font-weight: 700; font-size: .88rem; color: var(--text-strong); }

/* ---- FAQ ---- */
.iptvfaq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.iptvfaqitem { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow-sm); overflow: hidden; }
.iptvfaqitem summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 20px; cursor: pointer; list-style: none; font-family: "Sora",sans-serif; font-weight: 600; font-size: 1rem; color: var(--text-strong); }
.iptvfaqitem summary::-webkit-details-marker { display: none; }
.iptvfaqitem summary .ic { width: 1.1rem; height: 1.1rem; color: var(--text-soft); transition: transform .25s var(--ease); flex: none; }
.iptvfaqitem[open] summary .ic { transform: rotate(180deg); }
.iptvfaqitem p { margin: 0; padding: 0 20px 18px; color: var(--text-soft); line-height: 1.6; font-size: .94rem; }
.iptvfaqitem[open] summary { color: var(--ipt); }

/* ---- Final CTA ---- */
.iptvfinal { padding: clamp(40px,5vw,64px) 0; }
.iptvfinal__box { text-align: center; max-width: 760px; margin: 0 auto; padding: clamp(34px,5vw,56px) clamp(22px,4vw,48px); border-radius: var(--radius-lg); background: var(--grad); color: #fff; box-shadow: 0 40px 90px -34px rgba(168,85,247,.7); }
.iptvfinal__box h2 { font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1.6rem,3.6vw,2.5rem); line-height: 1.1; margin: 0; }
.iptvfinal__box p { margin: 14px auto 0; max-width: 560px; font-size: 1.05rem; line-height: 1.55; opacity: .96; }
.iptvfinal__box p b { font-weight: 800; }
.iptvfinal__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 26px 0 0; }
.iptvfinal__box .btn--primary { background: #fff; color: #1e1b3a; box-shadow: 0 16px 34px -14px rgba(0,0,0,.4); }
.iptvfinal__box .btn--primary:hover { background: #fff; filter: brightness(.97); }
.iptvfinal__re { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px; margin-top: 20px; font-size: .86rem; opacity: .92; }

/* ---- Responsive ---- */
@media (max-width: 1080px) {
  .iptvcats { grid-template-columns: repeat(2, 1fr); }
  .iptvplans { grid-template-columns: repeat(2, 1fr); }
  .iptvplan--best { transform: none; }
  .iptvplan--best:hover { transform: translateY(-5px); }
  .iptvdevs { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .iptvhero__grid { grid-template-columns: 1fr; }
  .iptvhero__visual { order: -1; }
  .iptvtv { max-width: 380px; }
  .iptvvod__grid { grid-template-columns: 1fr; }
  .iptvstats__row { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
  .iptvfeats,.iptvsteps,.iptvrevs { grid-template-columns: 1fr; }
  .iptvguar { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) {
  .iptvcats,.iptvplans { grid-template-columns: 1fr; }
  .iptvstats__row { grid-template-columns: repeat(2, 1fr); }
  .iptvdevs { grid-template-columns: repeat(2, 1fr); }
  .iptvvod__posters { grid-template-columns: repeat(3, 1fr); }
  .iptvhero__cta .btn,.iptvfinal__cta .btn { width: 100%; }
}


/* ---- IPTV : icônes de la charte (remplacent les emoji) ---- */
.iptvhero__kicker .ic, .iptvvod .kicker .ic, #contenu .kicker .ic, #features .kicker .ic, .iptvdevsec .kicker .ic, #offres .kicker .ic, .iptvstepssec .kicker .ic, #avis .kicker .ic, #faq .kicker .ic { width: 1rem; height: 1rem; vertical-align: -2px; }
.iptvhero__stars .ic { width: .95rem; height: .95rem; vertical-align: -2px; color: #f59e0b; }
.iptvtv__grid .ic { width: clamp(20px,4vw,28px); height: clamp(20px,4vw,28px); color: #fff; }
.iptvtv__badge--dev { display: inline-flex; gap: 4px; align-items: center; }
.iptvtv__badge--dev .ic { width: 15px; height: 15px; }
.iptvcat__em .ic { width: 26px; height: 26px; color: var(--c); }
.iptvfeat__ic .ic { width: 28px; height: 28px; color: var(--ipt); }
.iptvdev > .ic { width: 32px; height: 32px; color: var(--ipt); }
.iptvvod__posters .ic { width: clamp(34px,7vw,46px); height: clamp(34px,7vw,46px); color: #fff; }
.iptvguar__ic { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: color-mix(in srgb,#16a34a 14%,transparent); }
.iptvguar__ic .ic { width: 30px; height: 30px; color: #16a34a; }
.iptvrev__s .ic, .iptvrev__stars .ic { width: 1rem; height: 1rem; color: #f59e0b; }
.iptvplans__note .ic, .iptvfinal__re .ic { width: .95rem; height: .95rem; vertical-align: -2px; }
.iptvplan__ribbon .ic { width: .85rem; height: .85rem; vertical-align: -1px; }
.iptvfinal__re .ic { color: #fff; }

/* ---- IPTV : ligne de specs des formules (chaînes / écrans / qualité) ---- */
.iptvplan__specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 16px 0 6px; padding: 13px 0; border-block: 1px solid var(--border); }
.iptvplan__specs span { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; font-size: .68rem; color: var(--text-soft); line-height: 1.15; }
.iptvplan__specs b { font-family: "Sora",sans-serif; font-weight: 800; font-size: .95rem; color: var(--text-strong); }

/* ---- IPTV : 3 formules (12 mois) ---- */
.iptvplans--3 { grid-template-columns: repeat(3, 1fr); max-width: 1000px; margin-inline: auto; }
@media (max-width: 900px) { .iptvplans--3 { grid-template-columns: 1fr; max-width: 440px; } }


/* ---- IPTV : présentation des 4 formules (prix /12 mois, lignes mises en avant) ---- */
.iptvplan__top--tint { margin: -26px -22px 0; padding: 28px 22px 16px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: linear-gradient(160deg, color-mix(in srgb, var(--brand) 13%, transparent), color-mix(in srgb, var(--accent) 9%, transparent)); }
.iptvplan__price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin: 8px 0 0; }
.iptvplan__price b { font-family: "Sora",sans-serif; font-weight: 800; font-size: 2.7rem; line-height: 1; color: var(--text-strong); }
.iptvplan__cur { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.25rem; color: var(--text-strong); }
.iptvplan__per { font-size: .82rem; color: var(--text-soft); font-weight: 600; }
.iptvplan__sub { display: block; margin: 12px 0 0; font-size: .86rem; font-weight: 700; color: var(--text-soft); }
.iptvplan__list li .ic { width: 1rem; height: 1rem; flex: none; margin-top: 1px; }
.iptvplan__list li.hl-green { color: #7c3aed; font-weight: 600; }
.iptvplan__list li.hl-green::before, .iptvplan__list li.hl-green .ic { color: #7c3aed; }
.iptvplan__list li.hl-orange { color: #9333ea; font-weight: 600; }
.iptvplan__list li.hl-orange::before, .iptvplan__list li.hl-orange .ic { color: #9333ea; }
.iptvplan__list li.hl-blue .ic { color: #a855f7; }
.iptvplan__list li.hl-pink { color: #e0529c; font-weight: 600; }
.iptvplan__list li.hl-pink::before, .iptvplan__list li.hl-pink .ic { color: #e0529c; }
.iptvplan__triallink { display: inline-flex; align-items: center; gap: 6px; background: none; border: none; padding: 0; margin: 0; font: inherit; text-align: left; color: #e0529c; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.iptvplan__triallink .ic { width: .95rem; height: .95rem; flex: none; }

/* ---- Modale essai gratuit : select appareil ---- */
select.notify__input { cursor: pointer; appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-soft) 50%), linear-gradient(135deg, var(--text-soft) 50%, transparent 50%); background-position: calc(100% - 18px) 1.15em, calc(100% - 13px) 1.15em; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
[dir="rtl"] select.notify__input { background-position: 18px 1.15em, 23px 1.15em; }


/* ============================================================
   IPTV hero — version sombre « façon modèle » (iptvhero2)
   ============================================================ */
.iptvhero2 { position: relative; overflow: hidden; padding: clamp(40px,6vw,84px) 0 clamp(28px,4vw,52px); background: radial-gradient(120% 120% at 18% 0%, #1b1140 0%, #0c0a22 46%, #07060f 100%); color: #fff; isolation: isolate; }
.iptvhero2__glow { position: absolute; border-radius: 50%; filter: blur(80px); z-index: -1; opacity: .6; pointer-events: none; }
.iptvhero2__glow--1 { width: 520px; height: 520px; right: -6%; top: -12%; background: radial-gradient(circle, rgba(124,58,237,.7), transparent 70%); }
.iptvhero2__glow--2 { width: 460px; height: 460px; left: -8%; bottom: -16%; background: radial-gradient(circle, rgba(37,99,235,.55), transparent 70%); }
.iptvhero2__grid { display: grid; grid-template-columns: 1.08fr 1fr; column-gap: clamp(28px,4vw,56px); row-gap: 0; align-items: center; }
.iptvhero2__grid > .iptvhero2__title { grid-column: 1; grid-row: 1; }
.iptvhero2__grid > .iptvhero2__text { grid-column: 1; grid-row: 2; }
.iptvhero2__grid > .iptvhero2__visual { grid-column: 2; grid-row: 1 / span 2; }
.iptvhero2__grid > .iptvhero2__title { margin-bottom: 18px; }
.iptvhero2__title { font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1.85rem,3.5vw,3rem); line-height: 1.08; letter-spacing: -.02em; margin: 0; color: #fff; }
.iptvhero2__grad { background: linear-gradient(95deg,#3b82f6 0%,#8b5cf6 30%,#d946ef 55%,#fb923c 80%,#3b82f6 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: heroGradFlow 5s ease-in-out infinite; }
@keyframes heroGradFlow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.iptvhero2__lead { margin: 18px 0 0; font-size: clamp(1rem,1.6vw,1.22rem); line-height: 1.55; color: #c5c9e6; max-width: 540px; }
.iptvhero2__lead b { color: #fff; font-weight: 700; }
.iptvhero2__lead .iptvhero2__hl { background: linear-gradient(95deg,#3b82f6,#d946ef); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.iptvhero2__pills { display: grid; grid-template-columns: max-content max-content; gap: 16px 40px; margin: 26px 0 0; }
.iptvhero2__pills .trustbadge { color: #fff; font-size: clamp(.9rem,1.2vw,1rem); white-space: nowrap; }
.iptvhero2__pills .trustbadge > span { color: #c5c9e6; }
.iptvhero2__pills .trustbadge b { color: #fff; font-family: "Sora",sans-serif; font-weight: 800; }
.iptvhero2__pills .vbadge { width: 1.45rem; height: 1.45rem; }
.iptvhero2__pills .trustbadge:nth-child(4) .vbadge { animation-delay: 1.05s; }
@media (max-width: 560px) { .iptvhero2__pills { grid-template-columns: 1fr; gap: 13px; } }
.iptvpill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); font-size: .85rem; color: #dfe2f5; backdrop-filter: blur(6px); }
.iptvpill b { color: #fff; font-family: "Sora",sans-serif; font-weight: 800; }
.iptvpill__ic { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: linear-gradient(135deg, rgba(124,58,237,.45), rgba(37,99,235,.45)); }
.iptvpill__ic .ic { width: 16px; height: 16px; color: #fff; }
.iptvhero2__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.btn--green { background: linear-gradient(135deg,#16a34a,#22c55e); color: #fff; border-color: transparent; box-shadow: 0 14px 30px -12px rgba(34,197,94,.65); }
.btn--green:hover { filter: brightness(1.06); transform: translateY(-2px); box-shadow: 0 20px 44px -14px rgba(34,197,94,.8); }
.iptvhero2__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 24px 0 0; font-size: .92rem; color: #c5c9e6; }
.iptvhero2__avs { display: inline-flex; }
.iptvhero2__avs img { width: 34px; height: 34px; border-radius: 50%; border: 2.5px solid #0c0a22; margin-inline-start: -11px; object-fit: cover; box-shadow: 0 2px 7px rgba(0,0,0,.45); }
.iptvhero2__avs img:first-child { margin-inline-start: 0; }
.iptvhero2__stars { display: inline-flex; align-items: center; gap: 2px; color: #f59e0b; font-weight: 700; }
.iptvhero2__stars .ic { width: 1rem; height: 1rem; transform-origin: center; animation: heroStarPop 1.8s ease-in-out infinite; }
.iptvhero2__stars .ic:nth-child(1) { animation-delay: 0s; }
.iptvhero2__stars .ic:nth-child(2) { animation-delay: .14s; }
.iptvhero2__stars .ic:nth-child(3) { animation-delay: .28s; }
.iptvhero2__stars .ic:nth-child(4) { animation-delay: .42s; }
.iptvhero2__stars .ic:nth-child(5) { animation-delay: .56s; }
@keyframes heroStarPop { 0%, 60%, 100% { transform: scale(1) rotate(0); filter: none; } 22% { transform: scale(1.5) rotate(-8deg); filter: drop-shadow(0 0 6px #fbbf24); } 40% { transform: scale(1.12) rotate(4deg); } }
.iptvhero2__stars b { color: #fff; margin-inline-start: 4px; }
.iptvhero2__count { color: #c5c9e6; }

/* ---- TV mockup : interface IPTV ---- */
.iptvhero2__visual { position: relative; }
.iptvscreen { position: relative; width: 100%; border-radius: 16px; padding: clamp(10px,1.4vw,16px); background: linear-gradient(160deg,#10142b,#0a0d1c); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 40px 90px -30px rgba(37,99,235,.55), inset 0 0 0 1px rgba(255,255,255,.03); }
.iptvscreen__nav { display: flex; align-items: center; gap: clamp(6px,1vw,14px); font-size: clamp(.5rem,.85vw,.72rem); color: #9aa3c7; white-space: nowrap; overflow: hidden; padding-bottom: 10px; }
.iptvscreen__logo { color: #fff; font-family: "Sora",sans-serif; font-weight: 800; letter-spacing: .04em; font-size: clamp(.7rem,1.1vw,.95rem); }
.iptvscreen__nav .is-on { color: #fff; background: var(--grad); padding: 3px 10px; border-radius: 999px; font-weight: 700; }
.iptvscreen__navic { margin-inline-start: auto; display: inline-flex; gap: 7px; }
.iptvscreen__navic .ic { width: .9rem; height: .9rem; color: #c5c9e6; }
.iptvscreen__top { display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; }
.iptvscreen__feat { position: relative; border-radius: 12px; min-height: clamp(120px,15vw,180px); padding: 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; background: linear-gradient(120deg,#1e3a8a,#0c4a6e 55%,#064e3b), radial-gradient(circle at 70% 30%, rgba(255,255,255,.18), transparent 50%); overflow: hidden; }
.iptvscreen__feat::after { content: "⚽"; position: absolute; top: 6px; right: 10px; font-size: clamp(2.4rem,5vw,3.6rem); opacity: .25; }
.iptvscreen__live { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; background: #dc2626; color: #fff; font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(.46rem,.8vw,.6rem); letter-spacing: .06em; padding: 3px 8px; border-radius: 999px; }
.iptvscreen__live i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: iptvPulse 1.4s infinite; }
.iptvscreen__featt { color: #fff; font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(.8rem,1.5vw,1.15rem); line-height: 1.1; }
.iptvscreen__feats { color: #d9def5; font-size: clamp(.5rem,.85vw,.66rem); }
.iptvscreen__bar { display: block; height: 4px; border-radius: 999px; background: rgba(255,255,255,.25); overflow: hidden; }
.iptvscreen__bar i { display: block; height: 100%; width: 62%; background: var(--grad); border-radius: 999px; }
.iptvscreen__chans { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 7px; }
.iptvchip { display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; border-radius: 9px; background: var(--cc); color: #fff; font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(.5rem,.95vw,.72rem); letter-spacing: .02em; border: 1px solid rgba(255,255,255,.12); }
.iptvchip small { font-weight: 700; font-size: .58em; letter-spacing: .12em; opacity: .85; margin-top: 1px; }
.iptvscreen__reco { margin: 12px 0 7px; color: #fff; font-family: "Sora",sans-serif; font-weight: 700; font-size: clamp(.62rem,1.1vw,.84rem); }
.iptvscreen__posters { display: grid; grid-template-columns: repeat(6,1fr); gap: 7px; }
.iptvscreen__posters span { aspect-ratio: 2/3; border-radius: 8px; background: var(--g); display: flex; align-items: flex-end; padding: 5px; color: #fff; font-weight: 700; font-size: clamp(.4rem,.72vw,.56rem); line-height: 1.05; box-shadow: inset 0 -22px 22px -16px rgba(0,0,0,.8); }
.iptvscreen__badge { position: absolute; right: -10px; bottom: 18%; display: flex; flex-direction: column; align-items: center; line-height: 1; padding: 12px 18px; border-radius: 16px; background: rgba(124,58,237,.28); border: 1px solid rgba(168,85,247,.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1rem,1.8vw,1.5rem); box-shadow: 0 18px 40px -16px rgba(124,58,237,.7); }
.iptvscreen__badge small { font-size: .42em; font-weight: 700; letter-spacing: .08em; color: #d9def5; margin-top: 4px; }

/* ---- barre de stats sombre intégrée ---- */
.iptvstats2 { display: grid; grid-template-columns: repeat(5,1fr); gap: 10px 6px; margin: clamp(46px,7vw,84px) 0 0; padding: clamp(16px,2vw,24px) clamp(14px,2vw,26px); border-radius: 20px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.iptvstats2__i { display: flex; align-items: center; gap: 8px; min-width: 0; }
.iptvstats2__ic { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex: none; border-radius: 12px; background: linear-gradient(135deg, rgba(124,58,237,.4), rgba(37,99,235,.4)); border: 1px solid rgba(255,255,255,.12); line-height: 0; }
.iptvstats2__ic .ic { width: 20px; height: 20px; color: #fff; }
.iptvstats2__i b { display: block; font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(.82rem,1.05vw,1.02rem); color: #fff; line-height: 1.06; white-space: nowrap; }
.iptvstats2__i span { display: block; margin-top: 3px; font-size: .76rem; color: #aab0d4; }

@media (max-width: 1100px) { .iptvstats2 { grid-template-columns: repeat(3,1fr); row-gap: 18px; } }
@media (max-width: 980px) {
  .iptvhero2__grid { grid-template-columns: 1fr; }
  .iptvhero2__visual { order: -1; }
}
@media (max-width: 560px) {
  .iptvhero2__cta .btn { width: 100%; }
  .iptvstats2 { grid-template-columns: repeat(2,1fr); }
  .iptvstats2__i--lap { display: none; } /* 5 avantages sur laptop, 4 sur téléphone */
  .iptvscreen__badge { bottom: 8%; right: -4px; padding: 9px 13px; }
}

/* IPTV hero : image TV fournie (remplace la maquette CSS) */
.iptvscreen__img { width: 122%; max-width: none; height: auto; display: block; margin: -6% -10% -6% 0; filter: drop-shadow(0 30px 70px rgba(124,58,237,.4)); }
@media (max-width: 980px) { .iptvscreen__img { width: 108%; max-width: 640px; margin: 0 auto -2%; } }

/* ---- IPTV hero : mode clair ---- */
[data-theme="light"] .iptvhero2 { background: radial-gradient(120% 120% at 16% 0%, #efeaff 0%, #eef2fc 46%, #ffffff 100%); color: var(--text-strong); }
[data-theme="light"] .iptvhero2__glow { opacity: .28; }
[data-theme="light"] .iptvhero2__title { color: var(--text-strong); }
[data-theme="light"] .iptvhero2__lead { color: var(--text-soft); }
[data-theme="light"] .iptvhero2__lead b { color: var(--text-strong); }
[data-theme="light"] .iptvhero2__pills .trustbadge { color: var(--text-strong); }
[data-theme="light"] .iptvhero2__pills .trustbadge > span { color: var(--text-soft); }
[data-theme="light"] .iptvhero2__pills .trustbadge b { color: var(--text-strong); }
[data-theme="light"] .iptvhero2__trust { color: var(--text-soft); }
[data-theme="light"] .iptvhero2__count { color: var(--text-soft); }
[data-theme="light"] .iptvhero2__stars b { color: var(--text-strong); }
[data-theme="light"] .iptvhero2__avs img { border-color: #fff; }
[data-theme="light"] .iptvstats2 { background: var(--surface); border-color: var(--border); box-shadow: var(--shadow-md); -webkit-backdrop-filter: none; backdrop-filter: none; }
[data-theme="light"] .iptvstats2__i b { color: var(--text-strong); }
[data-theme="light"] .iptvstats2__i span { color: var(--text-soft); }
[data-theme="light"] .iptvstats2__ic { background: linear-gradient(135deg, rgba(124,58,237,.13), rgba(37,99,235,.13)); border-color: var(--border); }
[data-theme="light"] .iptvstats2__ic, [data-theme="light"] .iptvstats2__ic .ic { color: var(--brand); }
/* la TV détourée a un halo sombre derrière elle pour que le néon ressorte aussi en clair */
[data-theme="light"] .iptvhero2__visual::before { content: ""; position: absolute; inset: 6% -6% 6% 6%; z-index: -1; border-radius: 26px; background: radial-gradient(ellipse at 60% 50%, #14102e 0%, #1c1640 52%, transparent 76%); }
.iptvhero2__visual { position: relative; }

/* IPTV : en-têtes de section compacts (sans kicker), titres/sous-titres sur une ligne */
body[data-page="iptv"] .section__head { max-width: 960px; }
body[data-page="iptv"] .section__title { font-size: clamp(1.45rem, 2.7vw, 2.05rem); }
body[data-page="iptv"] .section__lead { font-size: clamp(.92rem, 1.3vw, 1.02rem); margin-top: 8px; }

/* IPTV : étoiles de la note (avis) en ligne horizontale */
.iptvrev__stars { display: inline-flex; align-items: center; gap: 1px; vertical-align: -3px; }
.iptvrev__stars .ic { width: 1rem; height: 1rem; color: #f59e0b; }

/* IPTV VOD : vraies affiches (images) dans les tuiles */
.iptvvod__posters span { padding: 0; overflow: hidden; }
.iptvvod__posters span img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============ IPTV : bannière immersive « match en famille » ============ */
.iptvbanner { position: relative; min-height: clamp(380px, 46vw, 560px); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.iptvbanner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; z-index: -2; }
.iptvbanner__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(7,6,16,.92) 0%, rgba(7,6,16,.72) 32%, rgba(7,6,16,.35) 56%, rgba(7,6,16,.1) 78%, transparent 100%); }
[dir="rtl"] .iptvbanner__scrim { background: linear-gradient(265deg, rgba(7,6,16,.92) 0%, rgba(7,6,16,.72) 32%, rgba(7,6,16,.35) 56%, rgba(7,6,16,.1) 78%, transparent 100%); }
.iptvbanner__text { max-width: 540px; color: #fff; padding: clamp(28px,4vw,48px) 0; }
.iptvbanner__kick { display: inline-flex; align-items: center; gap: 7px; font-family: "Sora",sans-serif; font-weight: 700; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); padding: 6px 13px; border-radius: 999px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.iptvbanner__kick .ic { width: 1rem; height: 1rem; }
.iptvbanner__title { font-family: "Sora",sans-serif; font-weight: 800; font-size: clamp(1.8rem,4vw,3rem); line-height: 1.05; letter-spacing: -.02em; margin: 16px 0 0; color: #fff; }
.iptvbanner__lead { margin: 14px 0 0; font-size: clamp(1rem,1.4vw,1.12rem); line-height: 1.55; color: #e7e9f6; }
.iptvbanner__lead b { color: #fff; font-weight: 700; }
.iptvbanner__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
@media (max-width: 600px) { .iptvbanner__scrim { background: linear-gradient(0deg, rgba(7,6,16,.95) 0%, rgba(7,6,16,.7) 45%, rgba(7,6,16,.4) 100%); } .iptvbanner__text { max-width: 100%; } .iptvbanner__cta .btn { width: 100%; } }

/* ============ IPTV : corrections + animations UI/UX (demandes) ============ */

/* 1) Barre de stats : icônes centrées (flex) + pulse + flottement + entrée 1 par 1 */
.iptvstats2__i .iptvstats2__ic { display: inline-flex; align-items: center; justify-content: center; margin-top: 0; }
.iptvstats2__ic { animation: iptvStatPulse 3.2s ease-in-out infinite; }
.iptvstats2__ic .ic { display: block; animation: iptvStatFloat 3s ease-in-out infinite; }
@keyframes iptvStatPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(124,58,237,0); } 50% { box-shadow: 0 0 18px -2px rgba(124,58,237,.75); } }
@keyframes iptvStatFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.iptvstats2__i:nth-child(2) .iptvstats2__ic, .iptvstats2__i:nth-child(2) .iptvstats2__ic .ic { animation-delay: .3s; }
.iptvstats2__i:nth-child(3) .iptvstats2__ic, .iptvstats2__i:nth-child(3) .iptvstats2__ic .ic { animation-delay: .6s; }
.iptvstats2__i:nth-child(4) .iptvstats2__ic, .iptvstats2__i:nth-child(4) .iptvstats2__ic .ic { animation-delay: .9s; }
.iptvstats2__i:nth-child(5) .iptvstats2__ic, .iptvstats2__i:nth-child(5) .iptvstats2__ic .ic { animation-delay: 1.2s; }
/* entrée : la barre est vide puis les 5 avantages arrivent un par un */
.iptvstats2.reveal { opacity: 1; transform: none; }
.iptvstats2__i { opacity: 0; transform: translateY(18px) scale(.96); transition: opacity .5s var(--ease), transform .55s var(--ease); }
.iptvstats2.is-in .iptvstats2__i { opacity: 1; transform: none; }
.iptvstats2.is-in .iptvstats2__i:nth-child(1) { transition-delay: .1s; }
.iptvstats2.is-in .iptvstats2__i:nth-child(2) { transition-delay: .3s; }
.iptvstats2.is-in .iptvstats2__i:nth-child(3) { transition-delay: .5s; }
.iptvstats2.is-in .iptvstats2__i:nth-child(4) { transition-delay: .7s; }
.iptvstats2.is-in .iptvstats2__i:nth-child(5) { transition-delay: .9s; }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .iptvstats2__i { opacity: 1 !important; transform: none !important; transition: none !important; } .iptvstats2__ic .ic { animation: none; } }

/* 2) Chaînes : éclairage séquentiel 1 par 1 dans la couleur de chaque carte */
.iptvcats .iptvcat { animation: iptvcatLight 16s ease-in-out infinite; will-change: background, box-shadow; }
.iptvcats .iptvcat__em { animation: iptvcatEm 16s ease-in-out infinite; animation-delay: inherit; }
.iptvcats .iptvcat__em .ic { animation: iptvcatEmIc 16s ease-in-out infinite; animation-delay: inherit; }
@keyframes iptvcatLight {
  0%, 17%, 100% { background: var(--surface); box-shadow: var(--shadow-sm); }
  8.5% { background: color-mix(in srgb, var(--c) 30%, var(--surface)); box-shadow: 0 0 0 2px var(--c), 0 16px 48px -8px var(--c); }
}
@keyframes iptvcatEm { 0%, 17%, 100% { background: color-mix(in srgb, var(--c) 14%, transparent); } 8.5% { background: var(--c); } }
@keyframes iptvcatEmIc { 0%, 17%, 100% { color: var(--c); } 8.5% { color: #fff; } }
.iptvcats .iptvcat:nth-child(1){animation-delay:0s}
.iptvcats .iptvcat:nth-child(2){animation-delay:2s}
.iptvcats .iptvcat:nth-child(3){animation-delay:4s}
.iptvcats .iptvcat:nth-child(4){animation-delay:6s}
.iptvcats .iptvcat:nth-child(5){animation-delay:8s}
.iptvcats .iptvcat:nth-child(6){animation-delay:10s}
.iptvcats .iptvcat:nth-child(7){animation-delay:12s}
.iptvcats .iptvcat:nth-child(8){animation-delay:14s}

/* 3) VOD : titre + sous-titre plus grands */
body[data-page="iptv"] .iptvvod__text .section__title { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
body[data-page="iptv"] .iptvvod__text .section__lead { font-size: clamp(1.06rem, 1.6vw, 1.28rem); margin-top: 12px; }

/* 4) Appareils : couleur par carte + icônes animées + hover UI/UX */
.iptvdev { --dc: var(--ipt); position: relative; overflow: hidden; transition: transform .28s var(--ease), border-color .28s, box-shadow .28s, background .28s; }
.iptvdev > .ic { color: var(--dc); animation: iptvDevFloat 3.4s ease-in-out infinite; }
.iptvdev::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--dc); transform: scaleX(0); transition: transform .3s var(--ease); }
.iptvdev:hover { transform: translateY(-6px); border-color: var(--dc); box-shadow: 0 18px 44px -16px var(--dc); background: color-mix(in srgb, var(--dc) 9%, var(--surface)); }
.iptvdev:hover::after { transform: scaleX(1); }
@keyframes iptvDevFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
/* Illumination séquentielle carte par carte (même cadence que les chaînes) */
.iptvdevs .iptvdev { animation: iptvdevLight 12s ease-in-out infinite; will-change: background, box-shadow; }
@keyframes iptvdevLight {
  0%, 22.7%, 100% { background: var(--surface); box-shadow: 0 0 #0000; }
  11.3% { background: color-mix(in srgb, var(--dc) 24%, var(--surface)); box-shadow: 0 0 0 2px var(--dc), 0 16px 42px -8px var(--dc); }
}
.iptvdevs .iptvdev:nth-child(1){--dc:#2563eb;animation-delay:0s}
.iptvdevs .iptvdev:nth-child(2){--dc:#16a34a;animation-delay:2s}
.iptvdevs .iptvdev:nth-child(3){--dc:#7c3aed;animation-delay:4s}
.iptvdevs .iptvdev:nth-child(4){--dc:#ea580c;animation-delay:6s}
.iptvdevs .iptvdev:nth-child(5){--dc:#db2777;animation-delay:8s}
.iptvdevs .iptvdev:nth-child(6){--dc:#0891b2;animation-delay:10s}
/* Décalage propre au flottement des icônes (inchangé) */
.iptvdevs .iptvdev:nth-child(1) > .ic { animation-delay: 0s; }
.iptvdevs .iptvdev:nth-child(2) > .ic { animation-delay: .28s; }
.iptvdevs .iptvdev:nth-child(3) > .ic { animation-delay: .56s; }
.iptvdevs .iptvdev:nth-child(4) > .ic { animation-delay: .84s; }
.iptvdevs .iptvdev:nth-child(5) > .ic { animation-delay: 1.12s; }
.iptvdevs .iptvdev:nth-child(6) > .ic { animation-delay: 1.4s; }

@media (prefers-reduced-motion: reduce) and (min-width: 100000px) {
  .iptvstats2__ic, .iptvcats .iptvcat, .iptvcats .iptvcat__em, .iptvcats .iptvcat__em .ic, .iptvdevs .iptvdev, .iptvdev > .ic { animation: none; }
}

/* Élargir la dernière section (CTA) et la FAQ à la largeur du site */
.iptvfinal__box { max-width: none; }
.iptvfinal__box p { max-width: 880px; }
body[data-page="iptv"] .faq--rows { max-width: none; }

/* VOD : les affiches arrivent depuis la droite au scroll (cascade) */
.iptvvod__posters > span { opacity: 0; transform: translateX(170px); transition: opacity .55s var(--ease), transform .9s cubic-bezier(.2,.9,.3,1); will-change: transform, opacity; }
.iptvvod__posters > span:nth-child(2), .iptvvod__posters > span:nth-child(5) { transform: translate(170px, 18px); }
.iptvvod__posters.is-in > span { opacity: 1; transform: none; }
.iptvvod__posters.is-in > span:nth-child(2), .iptvvod__posters.is-in > span:nth-child(5) { transform: translateY(18px); }
.iptvvod__posters.is-in > span:nth-child(1) { transition-delay: 0s; }
.iptvvod__posters.is-in > span:nth-child(2) { transition-delay: .1s; }
.iptvvod__posters.is-in > span:nth-child(3) { transition-delay: .2s; }
.iptvvod__posters.is-in > span:nth-child(4) { transition-delay: .3s; }
.iptvvod__posters.is-in > span:nth-child(5) { transition-delay: .4s; }
.iptvvod__posters.is-in > span:nth-child(6) { transition-delay: .5s; }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) {
  .iptvvod__posters > span { opacity: 1; transform: none; transition: none; }
  .iptvvod__posters > span:nth-child(2), .iptvvod__posters > span:nth-child(5) { transform: translateY(18px); }
}

/* Cartes chaînes : petites photos à la place des icônes */
.iptvcat__img { width: 72px; height: 72px; border-radius: 16px; object-fit: cover; display: block; box-shadow: 0 8px 20px -10px rgba(10,14,30,.55); }
.iptvcats .iptvcat__img { animation: iptvcatImg 16s ease-in-out infinite; animation-delay: inherit; will-change: box-shadow; }
@keyframes iptvcatImg {
  0%, 17%, 100% { box-shadow: 0 8px 20px -10px rgba(10,14,30,.55); }
  8.5% { box-shadow: 0 0 0 3px var(--c), 0 12px 26px -8px var(--c); }
}
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) {
  .iptvcats .iptvcat__img { animation: none; }
}

/* Garantie : icône animée (anneau qui irradie + battement) */
.iptvguar__ic { position: relative; }
.iptvguar__ic::after { content: ""; position: absolute; inset: 0; border-radius: 16px; border: 2px solid #16a34a; opacity: 0; animation: iptvguarRing 2.6s ease-out infinite; }
.iptvguar__ic .ic { animation: iptvguarBeat 2.6s ease-in-out infinite; }
@keyframes iptvguarRing { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(1.55); opacity: 0; } }
@keyframes iptvguarBeat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) {
  .iptvguar__ic::after, .iptvguar__ic .ic { animation: none; }
}

/* Flèche animée dans les boutons (→) */
.ic--arrow { animation: arrowNudge 1.5s ease-in-out infinite; }
@keyframes arrowNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
.btn:hover .ic--arrow { animation-duration: .7s; }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .ic--arrow { animation: none; } }

/* Étapes IPTV façon « flow » (3 cartes, titres seuls) */
.flowsteps--3 { grid-template-columns: repeat(3, 1fr); max-width: 1000px; margin-inline: auto; }
.iptvstepssec .flowstep__t { margin-bottom: 16px; }
@media (max-width: 980px) { .flowsteps--3 { grid-template-columns: 1fr; max-width: 440px; } }

/* Garantie : texte un peu plus compact pour tenir sur 2 lignes */
.iptvguar__txt p { font-size: .92rem; }

/* ===== Étapes IPTV : espacement titre, gaps élargis, effet UI/UX ===== */
/* 1) Espace titre <-> cartes comme les autres sections */
body[data-page="iptv"] #how .section__head { margin-bottom: clamp(28px, 3.4vw, 46px); }

/* 2) Espaces plus larges entre les cartes (animation plus visible) */
.iptvstepssec .flowsteps { gap: 66px; max-width: 1120px; }
.iptvstepssec .flowstep::before { width: 66px; }
.iptvstepssec .flowstep::after { width: 14px; height: 14px; animation-name: ballRelayWide; }
@keyframes ballRelayWide {
  0% { opacity: 0; transform: translate(0, -50%); }
  6% { opacity: 1; }
  46% { opacity: 1; transform: translate(52px, -50%); }
  54% { opacity: 0; transform: translate(52px, -50%); }
  100% { opacity: 0; transform: translate(52px, -50%); }
}

/* 3) Effet UI/UX sur les cartes : icone flottante + survol relief/halo */
.iptvstepssec .flowstep__ic { animation: iptvStepFloat 3.2s ease-in-out infinite; }
@keyframes iptvStepFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.iptvstepssec .flowstep:hover { transform: translateY(-10px); box-shadow: 0 30px 64px -22px color-mix(in srgb, var(--fc) 68%, transparent); }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .iptvstepssec .flowstep__ic { animation: none; } }

/* Garantie : plus de titre — les mots en gras de la description restent à la taille du texte */
.iptvguar__txt p b { font-size: inherit; color: var(--text-strong); }

/* CTA final : forcer le centrage du paragraphe (annule le justify global de main p) */
.iptvfinal__box p { text-align: center !important; }

/* Hero IPTV : vidéo (remplace l'image TV) */
.iptvhero2__video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; background: #0b1020; box-shadow: 0 34px 80px -28px rgba(124,58,237,.55), 0 0 0 1px rgba(255,255,255,.07); }
@media (max-width: 980px) { .iptvhero2__video { max-width: 640px; margin-inline: auto; } }

/* Hero IPTV : vidéo intégrée — halo violet + bords fondus (pas de cadre visible) */
.iptvhero2__glow--1 { display: none; }
[data-theme="light"] .iptvhero2__visual::before { display: none; }
.iptvhero2__visual { position: relative; overflow: visible; }
/* halo violet derrière la vidéo (catche les bords fondus) */
.iptvhero2__visual::after {
  content: ""; position: absolute; z-index: -1; inset: -12% -9%;
  background: radial-gradient(58% 56% at 50% 47%, rgba(124,58,237,.62), rgba(99,102,241,.3) 50%, transparent 78%);
  filter: blur(28px); pointer-events: none;
}
.iptvhero2__video {
  width: 120%; max-width: none; margin-left: -7%;
  max-height: 600px;
  border-radius: 22px; box-shadow: none; background: transparent;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
@media (max-width: 980px) {
  .iptvhero2__video { width: 100%; max-width: 660px; margin-left: 0; max-height: none; }
}

/* ===== Features : icônes animées + survol violet (charte) ===== */
.iptvfeat { --fv: #7c3aed; position: relative; transition: transform .28s var(--ease), box-shadow .3s, border-color .28s, background .28s; }
.iptvfeat__ic { background: color-mix(in srgb, var(--fv) 12%, transparent); animation: iptvfeatFloat 3.4s ease-in-out infinite; transition: background .3s, transform .32s var(--ease); }
.iptvfeat__ic .ic { color: var(--fv); transition: color .3s; }
@keyframes iptvfeatFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.iptvfeats .iptvfeat:nth-child(2) .iptvfeat__ic { animation-delay: .4s; }
.iptvfeats .iptvfeat:nth-child(3) .iptvfeat__ic { animation-delay: .8s; }
.iptvfeats .iptvfeat:nth-child(4) .iptvfeat__ic { animation-delay: 1.2s; }
.iptvfeats .iptvfeat:nth-child(5) .iptvfeat__ic { animation-delay: 1.6s; }
.iptvfeats .iptvfeat:nth-child(6) .iptvfeat__ic { animation-delay: 2s; }
.iptvfeat:hover { transform: translateY(-6px); border-color: var(--fv); background: color-mix(in srgb, var(--fv) 7%, var(--surface)); box-shadow: 0 22px 50px -20px color-mix(in srgb, var(--fv) 55%, transparent); }
.iptvfeat:hover .iptvfeat__ic { background: var(--fv); transform: scale(1.1); }
.iptvfeat:hover .iptvfeat__ic .ic { color: #fff; }
/* Carrousel auto (mobile) : la carte centrée s'illumine, comme au survol */
.iptvfeat.is-active { transform: translateY(-6px); border-color: var(--fv); background: color-mix(in srgb, var(--fv) 7%, var(--surface)); box-shadow: 0 22px 50px -20px color-mix(in srgb, var(--fv) 55%, transparent); }
.iptvfeat.is-active .iptvfeat__ic { background: var(--fv); transform: scale(1.1); }
.iptvfeat.is-active .iptvfeat__ic .ic { color: #fff; }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .iptvfeat__ic { animation: none; } }

/* ===== Fond unifié sur toute la page IPTV (même concept que le hero) ===== */
body[data-page="iptv"] { background: radial-gradient(1500px 1050px at 14% -180px, #efeaff 0%, #eef2fc 40%, rgba(244,243,253,0) 76%) no-repeat, #f4f3fd; }
[data-theme="dark"] body[data-page="iptv"] { background: radial-gradient(1500px 1050px at 14% -180px, #1b1140 0%, #0c0a22 40%, rgba(7,6,15,0) 76%) no-repeat, #07060f; }
body[data-page="iptv"] .iptvhero2 { background: transparent; }

/* ===== Offres : tagline, badge de réassurance, comparatif ===== */
.iptvplan__sub { font-weight: 600; }
.iptvplan__tagline { margin: 0 0 14px; font-size: .82rem; font-style: italic; color: var(--text-soft); text-align: center; }

.iptvplans__reassure { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 16px; max-width: 1000px; margin: 30px auto 0; padding: 14px 24px; border-radius: 16px; background: color-mix(in srgb, #16a34a 7%, var(--surface)); border: 1px solid color-mix(in srgb, #16a34a 24%, var(--border)); }
.iptvplans__reassure span { display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; font-weight: 600; color: var(--text-strong); }
.iptvplans__reassure span .ic { width: 1.05rem; height: 1.05rem; color: #16a34a; flex: none; }

.iptvcmp { max-width: 1100px; margin-inline: auto; overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-sm); -webkit-overflow-scrolling: touch; }
.iptvcmp table { width: 100%; border-collapse: collapse; min-width: 620px; }
.iptvcmp th, .iptvcmp td { padding: 13px 14px; text-align: center; border-bottom: 1px solid var(--border); }
.iptvcmp tbody tr:last-child th, .iptvcmp tbody tr:last-child td { border-bottom: none; }
.iptvcmp thead th { font-family: "Sora",sans-serif; font-weight: 800; font-size: 1.02rem; color: var(--text-strong); padding-block: 17px; }
.iptvcmp thead th:first-child, .iptvcmp tbody th[scope="row"] { text-align: start; }
.iptvcmp tbody th[scope="row"] { font-family: "Sora",sans-serif; font-weight: 600; font-size: .92rem; color: var(--text); }
.iptvcmp tbody tr:nth-child(odd) th, .iptvcmp tbody tr:nth-child(odd) td { background: color-mix(in srgb, var(--text-strong) 3%, transparent); }
.iptvcmp .is-best { background: color-mix(in srgb, var(--brand) 9%, transparent) !important; }
.iptvcmp thead .is-best { color: var(--brand); }
.iptvcmp__yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: #7c3aed; box-shadow: 0 4px 10px -4px rgba(124,58,237,.55); }
.iptvcmp__yes .ic { width: 15px; height: 15px; color: #fff; display: block; }
.iptvcmp__no { color: var(--muted); font-weight: 700; }

/* ===== Offres : titre dégradé animé, effet charte cartes, ruban Populaire ===== */
/* Mot « abonnement IPTV » en dégradé charte animé */
.iptvgrad { background: linear-gradient(110deg, #7c3aed, #a855f7, #e0529c, #a855f7, #7c3aed); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: iptvGradFlow 5s linear infinite; }
@keyframes iptvGradFlow { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }

/* Cartes : effet couleur charte à l'intérieur + survol charte */
.iptvplan::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0; pointer-events: none; background: radial-gradient(115% 55% at 82% -8%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 58%); opacity: .65; transition: opacity .3s var(--ease); }
.iptvplan > * { position: relative; z-index: 1; }
.iptvplan:hover { box-shadow: 0 24px 54px -22px color-mix(in srgb, var(--brand) 50%, transparent); }
.iptvplan:not(.iptvplan--best):hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--border)); }
.iptvplan:hover::after { opacity: 1; }

/* Ruban « Populaire » : icône + texte sur une seule ligne + étoile animée */
.iptvplan__ribbon { display: inline-flex; align-items: center; gap: 5px; }
.iptvplan__ribbon .ic { flex: none; animation: iptvRibbonStar 1.9s ease-in-out infinite; }
@keyframes iptvRibbonStar { 0%, 100% { transform: scale(1) rotate(0deg); } 50% { transform: scale(1.28) rotate(18deg); } }

/* Comparatif sans titre : resserrer l'espace au-dessus */
body[data-page="iptv"] #comparatif { padding-top: clamp(6px, 1.4vw, 18px); }

@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .iptvgrad, .iptvplan__ribbon .ic { animation: none; } }

/* ===== Ajustements offres (lot) ===== */
/* Ruban « Populaire » : pastille centrée qui épouse le contenu */
.iptvplan__ribbon { width: max-content; justify-content: center; }

/* Cartes : effet couleur charte renforcé (violet + rose) */
.iptvplan::after { background: radial-gradient(115% 52% at 86% -10%, color-mix(in srgb, var(--brand) 30%, transparent), transparent 55%), radial-gradient(95% 50% at 3% 112%, color-mix(in srgb, #e0529c 20%, transparent), transparent 60%); opacity: .92; }

/* Comparatif : badges Meta vérifiés (bleus) ; animés uniquement pour Premium */
.iptvcmp td .vbadge { display: inline-block; vertical-align: middle; width: 26px; height: 26px; }
.iptvcmp td.is-best .vbadge { transform-origin: center; animation: vbadgePop 2.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { .iptvcmp td.is-best .vbadge { animation: none; } }

/* Plans : différence de hauteur (effet escalier), alignés en bas */
body[data-page="iptv"] .iptvplans { align-items: end; }
.iptvplan--best { transform-origin: bottom center; }
@media (max-width: 1100px) { body[data-page="iptv"] .iptvplans { align-items: stretch; } }


/* Plans : escalier piloté par le contenu — pas d'agrandissement artificiel du Premium */
.iptvplan--best { transform: none; }
.iptvplan--best:hover { transform: translateY(-6px); }

/* Plans : hauteur de description normalisée -> l'escalier ne dépend que du nombre d'options */
.iptvplan__sub { min-height: 2.7em; }

/* Premium : bandeau coloré via pseudo-élément (n'ajoute plus de hauteur) */
.iptvplan__top--tint { margin: 0 !important; padding: 0 !important; background: none !important; position: relative; }
.iptvplan__top--tint::before { content: ""; position: absolute; inset: -26px -22px 0; z-index: -1; pointer-events: none; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: linear-gradient(160deg, color-mix(in srgb, var(--brand) 14%, transparent), color-mix(in srgb, #e0529c 10%, transparent)); }

/* Escalier régulier : marches de hauteur égales */
@media (min-width: 1101px) {
  .iptvplans .iptvplan:nth-child(1) { min-height: 531px; }
  .iptvplans .iptvplan:nth-child(2) { min-height: 589px; }
  .iptvplans .iptvplan:nth-child(3) { min-height: 647px; }
  .iptvplans .iptvplan:nth-child(4) { min-height: 705px; }
}


/* ============ IPTV — corrections RTL (version arabe) ============ */
/* Nombres toujours lisibles en LTR meme en RTL : +200 000, +8 000 ... */
.ltrnum { unicode-bidi: isolate; direction: ltr; }

/* Etapes (flowsteps) : connecteurs + balle du cote gauche, animation vers la gauche */
[dir="rtl"] .flowstep::before, [dir="rtl"] .flowstep::after { left: auto; right: 100%; }
[dir="rtl"] .flowstep::after { animation-name: ballRelayRtl; }
[dir="rtl"] .iptvstepssec .flowstep::after { animation-name: ballRelayWideRtl; }
@keyframes ballRelayRtl {
  0%   { opacity: 0; transform: translate(0, -50%); background-color: var(--fc); }
  5%   { opacity: 1; background-color: var(--fc); }
  30%  { opacity: 1; transform: translate(-18px, -50%); background-color: var(--fcnext, var(--fc)); }
  35%  { opacity: 0; transform: translate(-18px, -50%); background-color: var(--fcnext, var(--fc)); }
  100% { opacity: 0; transform: translate(-18px, -50%); }
}
@keyframes ballRelayWideRtl {
  0%   { opacity: 0; transform: translate(0, -50%); }
  6%   { opacity: 1; }
  46%  { opacity: 1; transform: translate(-52px, -50%); }
  54%  { opacity: 0; transform: translate(-52px, -50%); }
  100% { opacity: 0; transform: translate(-52px, -50%); }
}
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) { [dir="rtl"] .flowstep::after { transform: translate(-9px, -50%) !important; } }

/* VOD : titre + sous-titre alignes a droite comme les puces (RTL) */
[dir="rtl"] body[data-page="iptv"] .iptvvod__text .section__title,
[dir="rtl"] body[data-page="iptv"] .iptvvod__text .section__lead { text-align: right !important; }

/* VOD : les affiches arrivent depuis la gauche en RTL (miroir du FR/EN) */
[dir="rtl"] .iptvvod__posters > span { transform: translateX(-170px); }
[dir="rtl"] .iptvvod__posters > span:nth-child(2),
[dir="rtl"] .iptvvod__posters > span:nth-child(5) { transform: translate(-170px, 18px); }
/* ... et se posent a leur place finale (sinon bloquees a -170px) */
[dir="rtl"] .iptvvod__posters.is-in > span { transform: none; }
[dir="rtl"] .iptvvod__posters.is-in > span:nth-child(2),
[dir="rtl"] .iptvvod__posters.is-in > span:nth-child(5) { transform: translateY(18px); }

/* Pack builder : onglets centres au-dessus des produits */
.pb__cats { justify-content: center; }
.pb__social { text-align: center !important; }

/* Téléphone : compositeur de pack — on enlève l'intitulé et on met les 6 catégories en 2 lignes égales (3/3) */
@media (max-width: 560px) {
  .pb__toolshead { display: none; }
  .pb__cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0; }
  .pbcat { width: 100%; justify-content: center; padding: 9px 4px; font-size: .73rem; gap: 4px; white-space: nowrap; }
  .pbcat .ic { width: .85rem; height: .85rem; }
  /* Téléphone : facture placée ENTRE les catégories et les produits (catégories → facture → produits) */
  .pb { gap: 18px; }
  .pb__main { display: contents; }
  .pb__cats { order: 1; }
  .pb__summary { order: 2; }
  .pb__tools { order: 3; }
  /* Activation 2 min / Garantie incluse / Support 7j/7 — sur une seule ligne */
  .pb__trust { flex-wrap: nowrap; gap: 0 8px; }
  .pb__trust span { font-size: clamp(.58rem, 2.5vw, .74rem); white-space: nowrap; gap: 4px; }
  .pb__trust .ic { width: .8rem; height: .8rem; }
}

/* Cadre du compositeur de pack — fond facon banniere hero */
.pbframe { position: relative; overflow: hidden; background: radial-gradient(118% 120% at 0% 0%, color-mix(in srgb, var(--brand) 20%, transparent), transparent 58%), radial-gradient(120% 125% at 100% 100%, color-mix(in srgb, #e0529c 16%, transparent), transparent 60%), color-mix(in srgb, var(--brand) 5%, var(--surface)); border: 1px solid color-mix(in srgb, var(--brand) 24%, var(--border)); border-radius: clamp(22px, 2.6vw, 34px); padding: clamp(28px, 3.6vw, 52px) clamp(20px, 3vw, 44px); box-shadow: var(--shadow-md); }
@media (max-width: 560px){ .pbframe { padding: 22px 14px; border-radius: 20px; } }
.pbframe > .pbhero, .pbframe > .pb { position: relative; z-index: 1; }

/* ===== Effet couleur produit a l'interieur des cartes du compositeur (--pc) ===== */
.pbtool { background: radial-gradient(140% 105% at 0% 0%, color-mix(in srgb, var(--pc, var(--brand)) 30%, transparent), transparent 64%), color-mix(in srgb, var(--pc, var(--brand)) 6%, var(--surface)); border-color: color-mix(in srgb, var(--pc, var(--brand)) 32%, var(--border)); }
.pbtool__logo { box-shadow: 0 5px 14px -5px color-mix(in srgb, var(--pc, var(--brand)), transparent 55%); }
.pbtool:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--pc, var(--brand)), transparent 30%); background: radial-gradient(140% 105% at 0% 0%, color-mix(in srgb, var(--pc, var(--brand)) 40%, transparent), transparent 66%), color-mix(in srgb, var(--pc, var(--brand)) 9%, var(--surface)); box-shadow: 0 20px 44px -16px color-mix(in srgb, var(--pc, var(--brand)), transparent 35%); }
.pbtool:hover .pbtool__logo { box-shadow: 0 8px 20px -5px color-mix(in srgb, var(--pc, var(--brand)), transparent 22%); }
.pbtool.is-sel { border-color: var(--pc, var(--brand)); background: radial-gradient(140% 105% at 0% 0%, color-mix(in srgb, var(--pc, var(--brand)) 48%, transparent), transparent 70%), color-mix(in srgb, var(--pc, var(--brand)) 12%, var(--surface)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pc, var(--brand)), transparent 66%), 0 20px 44px -16px color-mix(in srgb, var(--pc, var(--brand)), transparent 36%); }
.pbtool.is-sel .pbtool__check { background: var(--pc, var(--brand)); border-color: var(--pc, var(--brand)); }

/* =========================================================
   TÉLÉPHONE — Carte cadeau (accueil) + preuve sociale / avis
   ========================================================= */
@media (max-width: 767px) {
  /* Carte cadeau : sous-titre + texte centrés, et seulement 2 avantages
     (Livraison instantanée / 100% personnalisable) */
  .gchero__text { text-align: center; }
  .gchero__sub, .gchero__lead { text-align: center !important; }
  .gchero__lead { margin-inline: auto; }
  .gchero__perks { justify-content: center; flex-wrap: nowrap; gap: 8px 16px; }
  .gchero__perks li:nth-child(3) { display: none; }
  .gchero__perks li { white-space: nowrap; font-size: .84rem; }
  .gchero__cta { justify-content: center; }

  /* "Grande carte" (liste Cartes cadeaux) : taille conservée, décalée un peu à DROITE,
     et les 4 petites cartes dépassent ~30% à droite du cadre. La photo garde sa taille. */
  .gclist { right: 3%; width: 44%; padding: 12px 10px; overflow: visible; }
  .gcrow { gap: 8px; padding: 7px 0; }
  .gcrow__av { width: 32px; height: 32px; }
  .gcrow__occ .ic { width: 1.18rem; height: 1.18rem; }
  .gcrow__amt { font-size: .82rem; }
  .gccard { width: 42px; height: 28px; inset-inline-end: -8px; }
  /* Étiquette "Ils vont adorer !" décalée plus à gauche et vers le haut (le "!" bien dégagé du visage) */
  .gchero__tag { top: -3%; left: -2%; font-size: 1.1rem; }
  /* Flèche remontée et décalée à gauche */
  .gchero__arrow { top: 7%; left: 15%; }

  /* Preuve sociale : on masque les logos d'entreprises et les commentaires clients */
  #partners .partners__row { display: none; }
  #reviews .rev-switch { display: none; }

  /* Avis : les notes sur une seule ligne, sans Trustpilot */
  .rev-badges { flex-wrap: nowrap; gap: 10px; }
  .rev-badge--t { display: none; }
  .rev-badge { padding: 10px 14px; gap: 9px; flex: 0 1 auto; }
  .rev-badge__note { font-size: 1.28rem; }
  .rev-badge__brand { font-size: .88rem; }

  /* Stats : on enlève « Note moyenne » et on garde les 2 autres sur une seule ligne */
  .rev-stats { flex-wrap: nowrap; gap: 14px; }
  .rev-stats .rev-stat:nth-child(1) { display: none; }
  .rev-stat { font-size: .72rem; gap: 6px; }
  .rev-stat .ic { width: .95rem; height: .95rem; }
}

/* Vidéo témoignage client — téléphone uniquement (masquée tant qu'aucune vidéo n'est configurée) */
.revvideo { display: none; }
@media (max-width: 767px) {
  .revvideo.is-ready { display: block; max-width: 460px; margin: 0 auto clamp(22px, 5vw, 32px); }
  .revvideo--short.is-ready { max-width: 300px; }               /* Short = format portrait */
  /* pas de cadre : juste la vidéo arrondie + un fort dégradé charte qui fond dans le blanc */
  .revvideo__frame { position: relative; display: block; width: 100%; aspect-ratio: var(--ar, 16 / 9); padding: 0; border: 0; border-radius: 22px; overflow: hidden; cursor: pointer; background: #0d1124; box-shadow: 0 28px 74px -18px color-mix(in srgb, var(--brand) 75%, transparent), 0 12px 54px -12px color-mix(in srgb, #e0529c 66%, transparent), 0 0 70px -2px color-mix(in srgb, var(--accent) 52%, transparent); }
  /* halo dégradé charte qui fond dans le blanc du site (façon vidéo hero IPTV) */
  .revvideo.is-ready { position: relative; }
  .revvideo.is-ready::before { content: ""; position: absolute; z-index: 0; left: 50%; top: 50%; width: 150%; height: 104%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 62%, transparent), color-mix(in srgb, #e0529c 48%, transparent) 42%, color-mix(in srgb, var(--accent) 34%, transparent) 66%, transparent 84%); filter: blur(46px); opacity: 1; pointer-events: none; }
  .revvideo__frame, .revvideo__cta { position: relative; z-index: 1; }
  /* Ambiance de couleur sur les BORDS et COINS de la vidéo (le centre reste
     transparent → le visage garde ses couleurs naturelles). Vient par-dessus
     la vidéo, sans gêner les clics (pointer-events: none). */
  .revvideo.is-ready::after { content: ""; position: absolute; z-index: 2; top: 0; left: 0; right: 0; aspect-ratio: var(--ar, 16 / 9); border-radius: 22px; pointer-events: none;
    background:
      radial-gradient(122% 50% at 50% -3%,  color-mix(in srgb, var(--brand) 68%, transparent), transparent 50%),
      radial-gradient(122% 50% at 50% 103%, color-mix(in srgb, var(--accent) 60%, transparent), transparent 50%),
      radial-gradient(50% 106% at -7% 50%,  color-mix(in srgb, #e0529c 58%, transparent), transparent 55%),
      radial-gradient(50% 106% at 107% 50%, color-mix(in srgb, #f97316 54%, transparent), transparent 55%); }
  .revvideo--short { --ar: 9 / 16; }
  .revvideo__thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
  .revvideo__play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 999px; background: var(--grad); color: #fff; box-shadow: 0 12px 30px -8px rgba(0,0,0,.55); transition: transform .25s var(--ease); }
  .revvideo__play svg { width: 30px; height: 30px; margin-inline-start: 3px; }
  .revvideo__frame:hover .revvideo__play, .revvideo__frame:focus-visible .revvideo__play { transform: scale(1.08); }
  .revvideo__iframe { position: relative; z-index: 1; width: 100%; aspect-ratio: var(--ar, 16 / 9); border: 0; border-radius: 18px; box-shadow: var(--shadow-md); display: block; }
  .revvideo__cta { display: flex; flex-wrap: nowrap; justify-content: center; gap: 8px; margin-top: 14px; }
  .revvideo__sub, .revvideo__watch { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-family: "Sora",sans-serif; font-weight: 700; font-size: .8rem; white-space: nowrap; text-decoration: none; padding: 9px 14px; border-radius: 999px; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
  .revvideo__sub { background: #FF0000; color: #fff; box-shadow: 0 10px 22px -12px rgba(255,0,0,.7); }
  .revvideo__sub .ic { width: 1.02rem; height: 1.02rem; }
  .revvideo__watch { background: var(--surface); color: var(--text-strong); border: 1px solid var(--border); }
  .revvideo__sub:hover, .revvideo__watch:hover { transform: translateY(-2px); }
}

/* Téléphone : pied de page — les 2 sections (Solutions / À propos) côte à côte, à espace égal ;
   la marque et les réseaux/app restent pleine largeur */
@media (max-width: 600px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 22px; }
  .footer__brand, .footer__right { grid-column: 1 / -1; }
  /* description sous le logo : plus compacte (≈ 2 lignes) */
  .footer__brand p { max-width: none; font-size: .82rem; }
  /* bloc bas (copyright / mentions / signature) centré */
  .footer__bottom { flex-direction: column; align-items: center; justify-content: center; text-align: center; }
  .footer__legal { justify-content: center; }
}

/* Téléphone : FAQ — chaque question sur une seule ligne (texte légèrement réduit) */
@media (max-width: 560px) {
  .faq__q { font-size: .86rem; padding: 12px 12px; gap: 8px; white-space: nowrap; }
  .faq__q > span { white-space: nowrap; overflow: hidden; }
  .faq__chev { width: .95rem; height: .95rem; }
}

/* =========================================================
   Animations de COULEUR toujours visibles (demande client) :
   même quand "réduire les animations / Reduce Motion" est activé sur le
   téléphone, on garde les dégradés de couleur (aucun mouvement → sans risque).
   Les gros mouvements (apparitions, parallax, slides) respectent, eux, le réglage.
   ========================================================= */
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) {
  .disco__title em, .bnr__sign { animation: signFlow 6s linear infinite !important; }
  .footer__col h4, .legal__body h2 { animation: legalTitleFlow 6s linear infinite !important; }
  .footer__brand .footer__slogan { animation: brandArFlow 4s linear infinite !important; }
  #partners [data-i18n="partners.lead"] { animation: brandArFlow 5s linear infinite !important; }
  .disco__intro--mc .disco__lead { animation: dimaMaghrib 3.2s linear infinite !important; }
  #ig stop:nth-child(1) { animation: igc1 6s ease-in-out infinite !important; }
  #ig stop:nth-child(2) { animation: igc2 6s ease-in-out infinite !important; }
  #ig stop:nth-child(3) { animation: igc3 6s ease-in-out infinite !important; }
  .brand__ar, .brand__arpill { animation: brandArFlow 4s linear infinite !important; }
  .brand__mark--img::before { animation: brandSpin 3.2s linear infinite !important; }
  .catile:hover::before, .catile.is-active::before { animation: catileFlow 4s linear infinite !important; }
  .trustbadge--g .vbadge { animation: vbadgePopG 3.4s ease-in-out infinite !important; }
}

/* Petits téléphones (≤385px) : panneau "Cartes cadeaux" un peu moins décalé
   pour que les 4 cartes qui dépassent restent entièrement visibles. */
@media (max-width: 385px) {
  .gclist { right: 9%; }
  .gccard { inset-inline-end: -3px; }
}

/* Icône feu (charte, dégradé animé) dans « 🔥 327 packs composés cette semaine » */
.pb__fire { width: 1.28em; height: 1.28em; vertical-align: -.30em; margin-inline-end: 3px; transform-origin: 50% 82%; animation: pbFireFlicker 1.5s ease-in-out infinite; }
@keyframes pbFireFlicker {
  0%, 100% { transform: scale(1) rotate(-2deg); }
  25% { transform: scale(1.09, 1.15) rotate(1.5deg); }
  55% { transform: scale(.95, 1.06) rotate(-1.5deg); }
  80% { transform: scale(1.05, 1.10) rotate(2deg); }
}

/* =========================================================
   Audiences (accueil) : carrousel — on glisse les 4 profils.
   Titre/sous-titre fixes ; photo + titre + description + bouton glissent.
   ========================================================= */
.audcar { position: relative; margin-top: clamp(6px, 1.2vw, 14px); }
/* Profils : sur téléphone, UNE carte à la fois (pastilles 1-4 + glisser pour changer).
   La carte affichée est un bloc complet et normal (les autres sont retirées de la page) :
   son bouton est un simple lien TOUJOURS cliquable, et aucune autre carte n'est présente
   pour voler le tap. Sur laptop (>=861px) : les 4 profils empilés en zigzag, nav masquée. */
.audcar__viewport { overflow: visible; border-radius: 0; }
.audcar__track { display: block; }
.audcar .audrow { width: 100%; min-width: 0; }
.audcar .audrow + .audrow { margin-top: clamp(34px, 5vw, 70px); }
/* barre de navigation (téléphone) : flèche ‹  1 2 3 4  › flèche — le tout centré sous la photo */
.audcar__nav { position: relative; z-index: 3; display: flex; align-items: center; justify-content: center; gap: clamp(10px, 1.6vw, 16px); margin-top: clamp(18px, 2.4vw, 28px); }
/* boutons de navigation : toujours cliquables/tapables (pas de délai mobile, au-dessus de tout) */
.audcar__arrow, .audcar__dot { position: relative; z-index: 1; touch-action: manipulation; -webkit-tap-highlight-color: rgba(124,58,237,.25); -webkit-appearance: none; appearance: none; -webkit-user-select: none; user-select: none; }
.audcar__arrow:active, .audcar__dot:active { transform: scale(.93); }
/* flèches gauche / droite, de chaque côté des numéros */
.audcar__arrow { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--border); background: var(--glass-strong); -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px); color: var(--text-strong); cursor: pointer; box-shadow: var(--shadow-md); transition: background .2s, border-color .2s, color .2s, box-shadow .25s, transform .2s var(--ease); }
.audcar__arrow:hover, .audcar__arrow:focus-visible { border-color: var(--brand-3); color: var(--brand); box-shadow: 0 16px 34px -16px var(--brand); transform: translateY(-1px); }
.audcar__arrow .ic { width: 1.35rem; height: 1.35rem; }
.audcar__arrow--prev .ic { transform: rotate(90deg); }
.audcar__arrow--next .ic { transform: rotate(-90deg); }
/* pastilles numérotées 1 / 2 / 3 / 4 — cliquables */
.audcar__dots { display: flex; align-items: center; justify-content: center; gap: 10px; }
.audcar__dot { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-soft); font-family: "Sora",sans-serif; font-weight: 800; font-size: .95rem; cursor: pointer; transition: background .25s, border-color .25s, color .25s, transform .2s var(--ease), box-shadow .3s; }
.audcar__dot:hover { border-color: var(--brand-3); color: var(--text-strong); transform: translateY(-1px); }
.audcar__dot.is-on { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 10px 22px -10px var(--brand); }
/* Laptop (>=861px) : navigation masquée (4 profils empilés, pas de carrousel).
   Placé APRÈS les styles de nav pour l'emporter sur `.audcar__nav{display:flex}`. */
@media (min-width: 861px) { .audcar__nav { display: none; } }
/* bouton d'action centré + OMBRE (« reflet ») identique et bien visible sur les 4 profils :
   une ombre neutre s'ajoute à la couleur du profil, pour que les boutons indigo (Entreprises,
   Tamkin) aient le même reflet que les violets/oranges. */
.audcar .audrow__cta { display: flex; width: -moz-fit-content; width: fit-content; margin-inline: auto; box-shadow: 0 14px 26px -10px color-mix(in srgb, var(--ac), transparent 22%), 0 9px 20px -9px rgba(15, 23, 42, .42); }
/* Téléphone : UNE carte à la fois. Image en haut / bouton en bas (même pour les cartes
   inversées Entreprises & Tamkin) ; carte affichée = bloc simple, bouton au-dessus de tout. */
@media (max-width: 860px) {
  .audcar .audrow { grid-template-columns: 1fr; }
  .audcar .audrow__visual { order: -1 !important; }
  .audcar .audrow__text { order: 1 !important; }
  .audcar .audrow.is-off { display: none; }
  .audcar .audrow + .audrow { margin-top: 0; }
  .audcar__nav { display: flex; }
  .audcar .audrow__cta { position: relative; z-index: 2; }
}

/* =========================================================
   Page ÉTUDIANTS — ajustements demandés (surtout mobile)
   ========================================================= */
/* Bouton « Valider mon statut » : placé après la photo, centré */
.artrow--valid .artrow__validbtn { align-self: flex-start; margin-top: clamp(14px, 2.2vw, 20px); }
/* Téléphone (page étudiants) : cohérence du texte (justifié comme sur laptop) + bouton « Valider » APRÈS la photo */
@media (max-width: 600px) {
  /* Corps de texte justifié (bords gauche/droite alignés) — comme la version laptop validée */
  body[data-page="etudiants"] .artrow__d,
  body[data-page="etudiants"] .npaper__standfirst,
  body[data-page="etudiants"] .npaper__col--lead p {
    text-align: justify !important;
    -webkit-hyphens: auto !important; hyphens: auto !important;
  }
  /* « Valider mon statut » déplacé sous la photo (carte étudiante) ; rythme vertical régulier (gap de la grille) */
  body[data-page="etudiants"] .artrow--valid .artrow__text { display: contents; }
  body[data-page="etudiants"] .artrow--valid .artrow__t { order: 1; }
  body[data-page="etudiants"] .artrow--valid .artrow__d { order: 2; margin-top: 0; }
  body[data-page="etudiants"] .artrow--valid .artrow__chips { order: 3; margin-top: 0; }
  body[data-page="etudiants"] .artrow--valid .artrow__media { order: 4; }
  body[data-page="etudiants"] .artrow--valid .artrow__validbtn { order: 5; margin-top: 0; }
}
/* Flèches de navigation des carrousels : cachées par défaut (seulement mobile) */
.cxnav { display: none; }
@media (max-width: 880px) {
  /* Hero centré (titre, description, boutons, avantages) — pages « audience »
     (étudiants, entreprises, partenaires, inclusion). On force le centrage car
     des règles globales imposent start/justify en !important. */
  .ehero__text { text-align: center; }
  .ehero__title { text-align: center !important; }
  .ehero__lead { text-align: center !important; max-width: 42ch !important; margin-inline: auto; }
  /* boutons centrés, compacts (une ligne si ça tient, sinon repli propre) */
  .ehero__cta { flex-wrap: wrap; justify-content: center; }
  .ehero__cta .btn { padding-inline: clamp(11px, 2.8vw, 20px); }
  .ehero__cta .btn--lg { font-size: .86rem; }
  /* Business : bouton « Voir les outils » un peu plus large */
  body[data-page="entreprises"] .ehero__cta .btn--ghost { padding-inline: clamp(28px, 10vw, 46px); }
  /* avantages centrés (2 → une ligne ; 3 → repli propre) */
  .ehero__points { flex-wrap: wrap; justify-content: center; gap: 8px 14px; }
  .ehero__points li { font-size: .84rem; }
  .ehero__points .ic { width: .95rem; height: .95rem; }
  /* Section carte (étudiants) : texte aligné à gauche (cohérent avec la 1re rangée et la version laptop) */
  body[data-page="etudiants"] .artrow--valid .artrow__text { text-align: start; }
  body[data-page="etudiants"] .artrow--valid .artrow__chips { flex-wrap: wrap; justify-content: flex-start; }
  body[data-page="etudiants"] .artrow--valid .artrow__chips li { padding: 6px 11px; font-size: .78rem; }
  /* Grilles de cartes : carrousel glissant (swipe natif) — univers (étudiants),
     outils (entreprises), catégories produits (inclusion/Tamkin),
     « pourquoi » + formules/plans (partenaires) */
  .unigrid, .catpacks, .pintro__grid, .ptypes, .gwhy { display: flex; grid-template-columns: none; max-width: none; margin-inline: 0; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; padding: 6px 16px 12px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .unigrid::-webkit-scrollbar, .catpacks::-webkit-scrollbar, .pintro__grid::-webkit-scrollbar, .ptypes::-webkit-scrollbar, .gwhy::-webkit-scrollbar { display: none; }
  .unigrid .unicard, .catpacks .catpack, .pintro__grid .pintro__card, .ptypes .ptype, .gwhy .gwhyc { flex: 0 0 82%; scroll-snap-align: center; }
  html.reveal-on .unigrid .unicard.reveal:not(.is-in),
  html.reveal-on .catpacks .catpack.reveal:not(.is-in),
  html.reveal-on .pintro__grid .pintro__card.reveal:not(.is-in),
  html.reveal-on .ptypes .ptype.reveal:not(.is-in) { opacity: 1; transform: none; }
  /* Flèches de navigation (plans partenaires) */
  .cxnav { display: flex; justify-content: center; gap: 14px; margin-top: 8px; }
  .cxnav__arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--border); background: var(--glass-strong); -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px); color: var(--text-strong); cursor: pointer; box-shadow: var(--shadow-md); transition: border-color .2s, color .2s, transform .2s var(--ease); }
  .cxnav__arrow:active { transform: scale(.93); }
  .cxnav__arrow .ic { width: 1.3rem; height: 1.3rem; }
  .cxnav__arrow--prev .ic { transform: rotate(90deg); }
  .cxnav__arrow--next .ic { transform: rotate(-90deg); }
}

/* Page ÉTUDIANTS — section ambassadeur sur téléphone : pile verticale propre
   (intro → photo → texte+boutons → étapes), avec la photo réparée (elle
   s'écrasait à 0 car height:100% héritait d'un parent en hauteur auto). */
@media (max-width: 860px) {
  body[data-page="etudiants"] .npaper__mid--amb { display: flex; flex-direction: column; align-items: center; gap: clamp(16px, 3.4vw, 24px); }
  body[data-page="etudiants"] .npaper__mid--amb > .npaper__standfirst { order: 1; width: 100%; text-align: center; }
  body[data-page="etudiants"] .npaper__mid--amb > .npaper__fig { order: 2; width: 100%; max-width: 300px; margin-inline: auto; }
  body[data-page="etudiants"] .npaper__mid--amb > .npaper__col--lead { order: 3; width: 100%; text-align: center; }
  body[data-page="etudiants"] .npaper__mid--amb > .npaper__col--steps { order: 4; width: 100%; }
  body[data-page="etudiants"] .npaper__mid--amb .npaper__img { height: auto !important; aspect-ratio: 3 / 4; object-fit: cover; }
  /* la lettrine (drop-cap) gêne le centrage : on la neutralise sur mobile */
  body[data-page="etudiants"] .npaper__col--lead > p:first-of-type::first-letter { float: none; font-size: inherit; padding: 0; color: inherit; }
}

/* Page ÉTUDIANTS — photo ambassadeur : afficher la photo COMPLÈTE (main + téléphone
   entiers, non coupés). La photo source est carrée ; on garde ce format pour ne
   rien rogner. (Un vrai effet « sortir du cadre » nécessiterait un détourage.) */
body[data-page="etudiants"] .npaper--amb .npaper__fig { align-self: center; }
body[data-page="etudiants"] .npaper--amb .npaper__img { aspect-ratio: 1 / 1 !important; height: auto !important; width: 100%; object-fit: cover; object-position: 50% 50%; }

/* Page ENTREPRISES — section « tarifs par volume » (.pvol) sur téléphone :
   ordre demandé = titre+description → photo → tableau → note (centrée).
   display:contents « déballe » la colonne texte pour pouvoir réordonner
   la photo (sœur) et le contenu avec order. */
@media (max-width: 860px) {
  .pvol__text { display: contents; }
  .pvol .section__head { order: 1; margin: 0 0 6px; }
  /* !important : une règle globale force justify sur tous les <p> de main */
  .pvol .section__title, .pvol .section__lead { text-align: center !important; }
  .pvol__media { order: 2; }
  .pvol .ptable { order: 3; }
  .pvol .ptable__note { order: 4; text-align: center !important; margin: 16px auto 0; }
}

/* Étapes « comment ça marche » (.esteps) : descriptions centrées comme les
   numéros et titres (une règle globale force justify sur tous les <p> de main). */
.estep__d { text-align: center !important; }

/* Page TAMKIN (inclusion) — les 2 boutons du hero tiennent sur une seule ligne */
@media (max-width: 880px) {
  body[data-page="inclusion"] .ehero__cta { flex-wrap: nowrap; }
  body[data-page="inclusion"] .ehero__cta .btn.btn--lg { font-size: .74rem; padding: 12px 12px; white-space: nowrap; }
  body[data-page="inclusion"] .ehero__cta .btn .ic { width: .9rem; height: .9rem; }
}

/* Page TAMKIN (inclusion) — divers ajustements mobile demandés */
@media (max-width: 880px) {
  /* « Rejoindre les communautés » : les 2 boutons sur une seule ligne (libellés courts + icône) */
  .commjoin__btns { flex-wrap: nowrap; gap: 10px; }
  .commbtn { padding: 0 20px; font-size: .92rem; min-height: 50px; gap: 8px; white-space: nowrap; }
  /* Section LinkedIn Premium : titre + description centrés (pas de texte justifié) */
  /* Titre à gauche (comme les avantages), description justifiée (alignée à
     gauche ET à droite) — cohérent sur toute la partie. */
  .incl-li__text .section__title { text-align: start !important; margin-inline: 0 !important; }
  .incl-li__text .section__lead { text-align: justify !important; margin-inline: 0 !important; max-width: none !important; }
  /* « Le pack » : les 4 cartes (flowsteps) glissantes */
  .flowsteps { display: flex; grid-template-columns: none; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; padding: 6px 16px 12px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .flowsteps::-webkit-scrollbar { display: none; }
  .flowsteps .flowstep { flex: 0 0 78%; scroll-snap-align: center; }
  /* IPTV mobile — même concept : catégories, atouts & formules glissants */
  .iptvcats, .iptvfeats, .iptvplans { display: flex; grid-template-columns: none; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; padding: 6px 16px 12px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .iptvcats::-webkit-scrollbar, .iptvfeats::-webkit-scrollbar, .iptvplans::-webkit-scrollbar { display: none; }
  .iptvcats .iptvcat, .iptvfeats .iptvfeat { flex: 0 0 82%; scroll-snap-align: center; }
  .iptvplans .iptvplan { flex: 0 0 86%; scroll-snap-align: center; }
  /* on coupe l'éclairage cyclique ambiant : seule la carte centrée s'illumine */
  .iptvcats .iptvcat, .iptvcats .iptvcat__em, .iptvcats .iptvcat__em .ic { animation: none; }
  body[data-page="iptv"] .iptvplans { align-items: stretch; }
  /* « how » (flowsteps) : neutraliser gap/max-width desktop pour le carrousel mobile */
  .iptvstepssec .flowsteps { gap: 14px; max-width: none; }
}
/* IPTV mobile — ajustements demandés (boutons sur une ligne, VOD, indice de glissement) */
@media (max-width: 940px) {
  /* Hero : la vidéo (photo) d'abord, puis le titre centré, puis le texte (centré) */
  body[data-page="iptv"] .iptvhero2__grid > .iptvhero2__visual { grid-column: 1; grid-row: 1; }
  body[data-page="iptv"] .iptvhero2__grid > .iptvhero2__title { grid-column: 1; grid-row: 2; text-align: center; margin: 22px 0 6px; }
  body[data-page="iptv"] .iptvhero2__grid > .iptvhero2__text { grid-column: 1; grid-row: 3; text-align: center; margin-top: 14px; }
  body[data-page="iptv"] .iptvhero2__pills, body[data-page="iptv"] .iptvhero2__cta { justify-content: center; }
  body[data-page="iptv"] .iptvhero2__trust { justify-content: center; }        /* item 2 : avis centrés */
  body[data-page="iptv"] .iptvguar { align-items: center; }                    /* item 7 : essai centré */
  /* Téléphone : texte de la carte garantie centré dans la carte */
  body[data-page="iptv"] .iptvguar__txt p { text-align: center !important; }
}
@media (max-width: 900px) {
  /* VOD : titre → 6 photos → description → bouton (centré, avec espace) */
  body[data-page="iptv"] .iptvvod__grid { display: flex; flex-direction: column; }
  body[data-page="iptv"] .iptvvod__title { order: 1; text-align: center; }
  body[data-page="iptv"] .iptvvod__posters { order: 2; margin-top: 6px; }
  body[data-page="iptv"] .iptvvod__text { order: 3; margin-top: 18px; margin-bottom: 0; }
  body[data-page="iptv"] .iptvvod__text .iptvchecks { margin-bottom: 0; }
  body[data-page="iptv"] .iptvvod__btn { order: 4; align-self: center; margin-top: 28px; }
}
@media (max-width: 640px) {
  /* Deux boutons sur une seule ligne : hero, bannière match, section finale */
  .iptvhero2__cta, .iptvbanner__cta, .iptvfinal__cta { flex-wrap: nowrap; gap: 9px; }
  .iptvhero2__cta .btn, .iptvbanner__cta .btn, .iptvfinal__cta .btn { width: auto; flex: 1 1 0; min-width: 0; padding: 13px 10px; font-size: .82rem; line-height: 1.15; text-align: center; gap: 6px; }
  .iptvhero2__cta .btn .ic, .iptvbanner__cta .btn .ic, .iptvfinal__cta .btn .ic { flex: none; width: 1rem; height: 1rem; }
}
/* Indice « glisse pour voir » — petite flèche animée à droite d'un carrousel */
.swipehint { position: absolute; top: 50%; right: 6px; z-index: 4; display: none; align-items: center; justify-content: center; width: 38px; height: 38px; margin-top: -19px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 92%, #000 0%); color: #fff; box-shadow: 0 8px 20px -6px color-mix(in srgb, var(--brand) 65%, transparent); pointer-events: none; animation: swipeNudge 1.5s var(--ease) infinite; transition: opacity .35s; }
.swipehint .ic { width: 1.15rem; height: 1.15rem; }
.swipehint.is-gone { opacity: 0; }
@keyframes swipeNudge { 0%,100% { transform: translateX(0); } 50% { transform: translateX(-7px); } }
@media (max-width: 880px) { .swiperail { position: relative; } .swipehint { display: inline-flex; } }
/* Titre « Tout ce qu'il te faut, gratuitement. » sur une seule ligne (téléphone) */
@media (max-width: 639px) {
  body[data-page="inclusion"] .tk-pack-head .section__title { white-space: nowrap; font-size: clamp(.85rem, 4.3vw, 1.5rem); }
}

/* En-tête mobile : icône profil à côté du panier */
.iconbtn--acctm { display: none; }
@media (max-width: 900px) {
  .iconbtn--acctm { display: inline-flex; position: absolute; right: calc(var(--gutter) + 52px); top: 50%; transform: translateY(-50%); padding: 9px; margin: 0; }
}

/* Menu mobile : les listes déroulantes du bas (thème / langue / devise) s'ouvrent
   vers le HAUT (dans le menu, pas hors écran en dessous). Le menu du thème
   (bouton le plus à gauche) est aligné à gauche pour ne pas sortir de l'écran. */
@media (max-width: 900px) {
  /* Chaque menu déroulant s'ouvre vers le HAUT, aligné à GAUCHE de SON bouton :
     il s'affiche donc « entre » ce bouton et le suivant (éclairage → entre
     éclairage et langue ; langue → entre langue et devise ; etc.). */
  .panel-extra .dd__menu { top: auto; bottom: calc(100% + 8px); inset-inline-start: 0; inset-inline-end: auto; transform-origin: bottom left; }
}

/* =========================================================
   TÉLÉPHONE — Bannière Carte cadeau (haut de page)
   Tout centré ; on masque le 2e avantage (« Montant libre dès 100 DH »)
   et on garde les 2 restants + les 2 boutons chacun sur une seule ligne.
   ========================================================= */
@media (max-width: 767px) {
  .gcbanner__lead { text-align: center !important; margin-inline: auto; }
  .gcbanner__points { flex-wrap: nowrap; gap: 6px 10px; }
  .gcbanner__points li:nth-child(2) { display: none; }
  .gcbanner__points li { white-space: nowrap; font-size: clamp(.66rem, 3.3vw, .86rem); gap: 6px; }
  .gcbanner__points li svg { width: 1rem; height: 1rem; }
  /* Mobile : un seul bouton d'action, centré et accessible au pouce.
     Le 2e bouton (« Comment ça marche ») reste réservé au desktop. */
  .gcbanner__cta { display: flex; justify-content: center; }
  .gcbanner__cta .btn--ghost { display: none; }
  .gcbanner__cta .btn--primary { min-width: min(78vw, 320px); justify-content: center; }
}

/* =========================================================
   TÉLÉPHONE UNIQUEMENT — Carte cadeau : carte 3D statique dans la bannière
   (remplace la maquette du téléphone). Elle reste dans le flux du hero → aucun
   texte recouvert. Sur ORDINATEUR, rien ne change : la maquette du téléphone
   reste comme avant.
   ========================================================= */
.gc3d-slot { display: none; }
.gc3d-layer { display: none; }
@media (max-width: 767px) {
  .gcbanner__art { display: none; }            /* la carte remplace la maquette du téléphone (mobile) */
  .gc3d-slot { display: block; position: relative; width: min(80vw, 340px); margin: 16px auto 10px; aspect-ratio: 960 / 605; }
  /* Carte statique de repli (visible si pas d'animation) : occupe le socle. */
  .gc3d-slot .giftcard { position: absolute; inset: 0; border-radius: 24px; box-shadow: 0 40px 80px -30px rgba(12, 18, 36, .55); transform: perspective(1200px) rotateX(8deg) rotateY(-10deg); transform-origin: center; }
  .gc3d-layer { display: block; position: fixed; inset: 0; z-index: 42; pointer-events: none; }
  .gc3d-fly { position: fixed; transform-origin: center center; border-radius: 24px; box-shadow: 0 44px 84px -30px rgba(12, 18, 36, .62); will-change: left, top, width, height, transform, opacity; backface-visibility: hidden; }
  .gc3d-fly .giftcard { position: absolute; inset: 0; box-shadow: none; }
}

/* Sécurité mobile : le configurateur garde de l'espace en bas pour que ses
   boutons d'action (Suivant / Retour / Offrir) ne passent jamais sous le
   bouton flottant WhatsApp/Telegram (fixé en bas à droite). */
@media (max-width: 767px) {
  .gift__grid { padding-bottom: clamp(8px, 2vw, 16px); }
}

/* « Pourquoi une carte cadeau » — navigation numérotée (1/2/3) + flèches,
   affichée seulement quand la section passe en carrousel (mobile ≤ 880px). */
.gwhy-nav { display: none; }
@media (max-width: 880px) {
  .gwhy-nav { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 16px; }
  .gwhy-nav__arrow { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--border); background: var(--glass-strong); -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px); color: var(--text-strong); cursor: pointer; box-shadow: var(--shadow-md); transition: border-color .2s, color .2s, transform .2s var(--ease); }
  .gwhy-nav__arrow:active { transform: scale(.93); }
  .gwhy-nav__arrow .ic { width: 1.25rem; height: 1.25rem; }
  .gwhy-nav__arrow--prev .ic { transform: rotate(180deg); }
  .gwhy-nav__dots { display: flex; align-items: center; gap: 10px; }
  .gwhy-nav__dot { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-soft); font-family: "Sora",sans-serif; font-weight: 800; font-size: .92rem; cursor: pointer; transition: background .25s, border-color .25s, color .25s, transform .2s var(--ease), box-shadow .3s; }
  .gwhy-nav__dot:active { transform: scale(.93); }
  .gwhy-nav__dot.is-on { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 10px 22px -10px var(--brand); }
}

/* Menu mobile : liste sur UNE SEULE colonne (8 liens, un par ligne) — comme
   avant. Le layout par défaut .header__row2 (colonne) est conservé, plus de
   grille 2 colonnes. */

/* Sécurité : une section marquée « hidden » reste masquée (désactivation temporaire). */
.section[hidden] { display: none !important; }

/* Menu mobile : les 8 liens apparaissent UN PAR UN à l'ouverture, de haut en bas
   (Étudiants → Entreprises → Partenaires → Tamkin → Catalogue → Carte cadeau →
   Comment ça marche → FAQ) — 8 lignes, une par une. */
@keyframes menuItemIn { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .header.is-open .aud--panel .aud__link,
  .header.is-open .nav--panel a { animation: menuItemIn .4s var(--ease) backwards; }
  .header.is-open .aud--panel .aud__link:nth-child(1) { animation-delay: .05s; }  /* Étudiants */
  .header.is-open .aud--panel .aud__link:nth-child(2) { animation-delay: .11s; }  /* Entreprises */
  .header.is-open .aud--panel .aud__link:nth-child(3) { animation-delay: .17s; }  /* Partenaires */
  .header.is-open .aud--panel .aud__link:nth-child(4) { animation-delay: .23s; }  /* Tamkin */
  .header.is-open .nav--panel a:nth-child(1) { animation-delay: .29s; }  /* Catalogue */
  .header.is-open .nav--panel a:nth-child(2) { animation-delay: .35s; }  /* Carte cadeau */
  .header.is-open .nav--panel a:nth-child(3) { animation-delay: .41s; }  /* Comment ça marche */
  .header.is-open .nav--panel a:nth-child(4) { animation-delay: .47s; }  /* FAQ */
}

/* Menu mobile : liens plus premium — icône colorée devant chaque lien + effet
   au survol / à l'appui. (Icônes visibles uniquement dans le panneau mobile.) */
@media (max-width: 900px) {
  .aud--panel .aud__link, .nav--panel a {
    display: flex; align-items: center; gap: 12px; border-radius: 12px;
    transition: background .2s ease, color .2s ease, transform .2s var(--ease);
  }
  .aud--panel .aud__link .nav__ic, .nav--panel a .nav__ic {
    width: 1.4rem; height: 1.4rem; flex: none; color: var(--brand);
    transition: transform .2s var(--ease);
  }
  /* une couleur d'icône par audience */
  .aud--panel .aud__link:nth-child(1) .nav__ic { color: #7c3aed; }
  .aud--panel .aud__link:nth-child(2) .nav__ic { color: #2563eb; }
  .aud--panel .aud__link:nth-child(3) .nav__ic { color: #f97316; }
  .aud--panel .aud__link:nth-child(4) .nav__ic { color: #14b8a6; }
  /* survol / focus : fond doux, léger décalage, icône qui grandit */
  .aud--panel .aud__link:hover, .aud--panel .aud__link:focus-visible,
  .nav--panel a:hover, .nav--panel a:focus-visible {
    background: color-mix(in srgb, var(--brand) 9%, transparent);
    color: var(--text-strong); transform: translateX(5px);
  }
  .aud--panel .aud__link:hover .nav__ic, .nav--panel a:hover .nav__ic { transform: scale(1.15); }
  .aud--panel .aud__link:active, .nav--panel a:active { transform: translateX(3px) scale(.99); }
}
