/* ─────────────────────────────────────────────
   LinkedIn Network Builder — Landing page
   Palette : #0B66C3 (bleu) + blanc
   ───────────────────────────────────────────── */

:root {
  --blue: #0B66C3;
  --blue-dark: #084d93;
  --blue-darker: #063a70;
  --blue-light: #e8f1fb;
  --blue-lighter: #f4f8fd;
  --white: #ffffff;
  --ink: #0f1b2d;
  --ink-soft: #46586f;
  --ink-faint: #7b8ba1;
  --line: #dfe6ef;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 102, 195, .06), 0 2px 8px rgba(15, 27, 45, .05);
  --shadow-md: 0 4px 12px rgba(15, 27, 45, .07), 0 12px 32px rgba(11, 102, 195, .09);
  --shadow-lg: 0 12px 28px rgba(15, 27, 45, .10), 0 32px 64px rgba(11, 102, 195, .14);

  --wrap: 1160px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p  { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.wrap-narrow { max-width: 780px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--blue); color: var(--white);
  padding: 12px 20px; border-radius: 0 0 var(--radius) 0; font-weight: 600;
}
.skip-link:focus { left: 0; color: var(--white); }

/* ── Boutons ───────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 650; font-size: .95rem; line-height: 1;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 4px 14px rgba(11, 102, 195, .3); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); box-shadow: 0 8px 22px rgba(11, 102, 195, .38); transform: translateY(-2px); }

.btn-outline { background: var(--white); color: var(--blue); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); background: var(--blue-lighter); color: var(--blue-dark); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-lighter); }

.btn-invert { background: var(--white); color: var(--blue); }
.btn-invert:hover { background: var(--blue-light); color: var(--blue-dark); transform: translateY(-2px); }

.btn-sm { padding: 10px 18px; font-size: .875rem; }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); margin: 0 0 .7rem;
}

/* ── Header ────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }

.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); font-size: 1.02rem; font-weight: 500; }
.brand:hover { color: var(--ink); }
.brand strong { font-weight: 800; color: var(--blue); }
.brand img { border-radius: 8px; }

.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--ink-soft); font-weight: 550; font-size: .93rem; position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px;
  background: var(--blue); border-radius: 2px; transition: right .22s ease;
}
.nav a:hover { color: var(--blue); }
.nav a:hover::after { right: 0; }

/* ── Sélecteur de langue ───────────────────── */
.lang { display: flex; gap: 2px; padding: 3px; background: var(--blue-lighter); border: 1px solid var(--line); border-radius: 999px; }
.lang-opt {
  display: grid; place-items: center; min-width: 38px; height: 28px; padding-inline: 8px;
  border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  color: var(--ink-soft); transition: background .18s ease, color .18s ease;
}
.lang-opt:hover { color: var(--blue); background: var(--white); }
.lang-opt[aria-current="true"] { background: var(--blue); color: var(--white); }
.lang-opt[aria-current="true"]:hover { color: var(--white); }

.burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .22s ease, opacity .22s ease; }
.burger span + span { margin-top: 5px; }
.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); }

.mobile-nav { display: none; flex-direction: column; gap: 4px; padding: 12px 24px 22px; border-top: 1px solid var(--line); background: var(--white); }
.mobile-nav a { padding: 12px 0; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 14px; border-bottom: 0; color: var(--white); }

/* ── Hero ──────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 480px at 78% -8%, rgba(11, 102, 195, .12), transparent 62%),
    linear-gradient(180deg, var(--blue-lighter) 0%, var(--white) 78%);
  padding: clamp(48px, 8vw, 92px) 0 clamp(56px, 8vw, 96px);
}
.hero-inner { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(32px, 5vw, 64px); align-items: center; }

.hero h1 { margin-bottom: .55em; }
.hero .hl {
  color: var(--blue);
  background: linear-gradient(180deg, transparent 62%, rgba(11, 102, 195, .16) 62%);
  padding-inline: 2px;
}
.lede { font-size: clamp(1.02rem, 1.5vw, 1.16rem); color: var(--ink-soft); max-width: 54ch; margin-bottom: 2rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2rem; }

.hero-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hero-points li { position: relative; padding-left: 30px; color: var(--ink-soft); font-size: .93rem; }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 19px; height: 19px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.hero-visual img {
  width: 100%;
}

/* ── Chiffres ──────────────────────────────── */
.stats { background: var(--blue); color: var(--white); padding: 34px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; }
.stat-label { font-size: .84rem; color: rgba(255, 255, 255, .82); }

/* ── Vidéo de démo (auto-hébergée) ─────────── */
/* Le <video preload="none"> n'affiche que son poster tant qu'on ne lance pas.
   Le bouton bleu est une surcouche par-dessus, retirée dès la lecture. */
.video-wrap { max-width: 900px; margin-inline: auto; }
.video {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: var(--ink);
}
.video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-btn {
  position: absolute; inset: 0; width: 100%; height: 100%;
  padding: 0; border: 0; background: none; cursor: pointer; display: block;
}
/* Une fois lancée, la surcouche disparaît : les contrôles natifs reprennent la main. */
.video.is-playing .video-btn { display: none; }
.video-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: var(--white);
  box-shadow: 0 8px 30px rgba(11, 102, 195, .5); transition: transform .22s ease, background .22s ease;
}
.video-btn:hover .video-play { transform: translate(-50%, -50%) scale(1.09); background: var(--blue-dark); }
/* Le <video> précède le bouton : `~` ne peut pas l'atteindre, d'où :has() sur le parent. */
.video:has(.video-btn:hover) video { filter: brightness(.92); transition: filter .3s ease; }
.video-play svg { width: 28px; height: 28px; margin-left: 4px; }
.video-badge {
  position: absolute; right: 14px; bottom: 14px;
  background: rgba(15, 27, 45, .8); color: var(--white); backdrop-filter: blur(6px);
  font-size: .76rem; font-weight: 650; padding: 5px 11px; border-radius: 999px;
}

/* ── Sections ──────────────────────────────── */
.section { padding: clamp(60px, 8vw, 104px) 0; }
.section-alt { background: var(--blue-lighter); border-block: 1px solid var(--line); }

.section-head { max-width: 700px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-sub { color: var(--ink-soft); font-size: 1.02rem; margin: 0; }

/* ── Cards ─────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 900px; margin-inline: auto; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(11, 102, 195, .3); }
.card-ico {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  display: grid; place-items: center; background: var(--blue-light); color: var(--blue);
}
.card-ico svg { width: 23px; height: 23px; }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--ink-soft); font-size: .93rem; margin: 0; }

/* ── Étapes ────────────────────────────────── */
.steps { list-style: none; margin: 0 0 clamp(40px, 5vw, 60px); padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm); }
.step-num {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--blue); color: var(--white); font-weight: 800; font-size: 1.02rem; margin-bottom: 16px;
}
.step h3 { margin-bottom: .4em; }
.step p { color: var(--ink-soft); font-size: .93rem; margin: 0; }

/* Deux captures de ratios très différents (popup portrait / navigateur paysage) :
   on centre sur une hauteur commune plutôt que d'étirer chaque image. */
/* Flex plutôt que grid : les deux captures ont des ratios très différents
   (popup portrait / navigateur paysage) et une colonne `auto` retombe à 0px
   quand l'<img> est enveloppée d'un <picture>. Le flex respecte la taille
   intrinsèque de chaque image et les aligne sur une hauteur commune. */
.shots { margin: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px; }
.shots picture { display: flex; min-width: 0; }
.shots img {
  max-height: 440px; width: auto; max-width: 100%; object-fit: contain;
  border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow-md); background: var(--white);
}
.shots figcaption { flex: 0 0 100%; text-align: center; color: var(--ink-faint); font-size: .85rem; margin-top: 4px; }

/* ── Tarifs ────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.plan-featured { border: 2px solid var(--blue); box-shadow: var(--shadow-md); }
@media (min-width: 861px) { .plan-featured { transform: scale(1.035); } .plan-featured:hover { transform: scale(1.035) translateY(-4px); } }

.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: var(--white); font-size: .72rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; padding: 6px 15px; border-radius: 999px;
  white-space: nowrap; box-shadow: 0 4px 12px rgba(11, 102, 195, .32);
}
.plan-name { font-size: .95rem; letter-spacing: .1em; color: var(--blue); margin-bottom: .5em; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin: 0 0 .35rem; }
.plan-price .amount { font-size: 2.5rem; font-weight: 800; letter-spacing: -.03em; }
.plan-price .per { color: var(--ink-faint); font-size: .9rem; }
.plan-tag { color: var(--ink-faint); font-size: .87rem; margin-bottom: 1.4rem; }

.plan-feats { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 11px; flex: 1; }
.plan-feats li { position: relative; padding-left: 28px; font-size: .93rem; color: var(--ink-soft); }
.plan-feats li strong { color: var(--ink); }
.plan-feats li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B66C3' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L19 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.plan .btn { width: 100%; }
.plans-note { text-align: center; color: var(--ink-faint); font-size: .84rem; margin: 28px 0 0; }

/* ── FAQ ───────────────────────────────────── */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 4px 22px; box-shadow: var(--shadow-sm); transition: border-color .2s ease;
}
.faq details[open] { border-color: rgba(11, 102, 195, .4); }
.faq summary {
  list-style: none; cursor: pointer; font-weight: 650; padding: 18px 34px 18px 0;
  position: relative; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 12px; height: 12px;
  border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); border-radius: 2px;
  transform: translateY(-70%) rotate(45deg); transition: transform .22s ease;
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(225deg); }
.faq summary:hover { color: var(--blue); }
.faq details p { color: var(--ink-soft); font-size: .93rem; margin: 0 0 18px; padding-right: 20px; }

/* ── CTA final ─────────────────────────────── */
.cta-final {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-darker) 100%);
  color: var(--white); text-align: center; padding: clamp(56px, 8vw, 92px) 0;
}
.cta-final h2 { margin-bottom: .4em; }
.cta-final p { color: rgba(255, 255, 255, .88); font-size: 1.05rem; margin-bottom: 2rem; }

/* ── Footer ────────────────────────────────── */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding: 48px 0 32px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; }
.footer-brand { display: flex; gap: 12px; align-items: flex-start; max-width: 340px; }
.footer-brand img { border-radius: 8px; flex-shrink: 0; }
.footer-brand p { color: var(--ink-soft); font-size: .89rem; margin: 0; }
.footer-brand strong { color: var(--ink); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a { color: var(--ink-soft); font-size: .89rem; font-weight: 550; }
.footer-nav a:hover { color: var(--blue); }

.footer-legal { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.footer-legal p { color: var(--ink-faint); font-size: .79rem; margin: 0 0 8px; max-width: 78ch; }

/* ── Responsive ────────────────────────────── */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .cards, .steps, .plans { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav, .header-inner > .btn { display: none; }
  /* Le sélecteur de langue reste visible : il ne doit pas être enterré dans le menu. */
  .lang { margin-left: auto; }
  .burger { display: block; }
  .mobile-nav { display: flex; }
  .mobile-nav[hidden] { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .plans { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
}

@media (max-width: 640px) {
  .cards, .steps { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
  .footer-inner { flex-direction: column; gap: 24px; }
}

/* ── Impression ────────────────────────────── */
@media print {
  .site-header, .burger, .mobile-nav, .cta-final, .cta-row { display: none; }
  body { color: #000; }
}

/* ============================================================
   PAGE COMPTE (fr/account.html, en/account.html)
   Reprend les variables du thème : aucune couleur en dur hors
   états danger/succès, absents de la palette de base.
   ============================================================ */

/* Toute règle auteur posant un `display` bat le `[hidden] { display: none }` de
   la feuille UA — `.btn` (inline-flex) rendait donc visible n'importe quel
   bouton masqué par l'attribut. Le site avait déjà dû patcher le cas
   `.mobile-nav[hidden]` ; on tranche ici une bonne fois. */
[hidden] { display: none !important; }

.acct-main { padding: 120px 0 80px; background: var(--blue-lighter); min-height: 100vh; }
.acct-wrap { max-width: 780px; }

.acct-title { font-size: 1.6rem; line-height: 1.25; margin: 0 0 8px; color: var(--ink); }
.acct-title--page { font-size: 2rem; margin-bottom: 24px; }
.acct-h2 { font-size: 1.1rem; margin: 0 0 4px; color: var(--ink); }
.acct-lead { color: var(--ink-soft); margin: 0 0 20px; line-height: 1.6; }
.acct-hint { color: var(--ink-faint); font-size: .85rem; margin: 12px 0 0; }

.acct-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  margin-bottom: 20px;
}
.acct-card--narrow { max-width: 460px; margin-left: auto; margin-right: auto; }
.acct-card--center { text-align: center; }
.acct-card--danger { border-color: #f3d0d0; }

.acct-card-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 18px;
}

/* Badge de plan. Le libellé vient du JS, la couleur de la classe. */
.acct-badge {
  font-size: .75rem; font-weight: 700; letter-spacing: .04em;
  padding: 6px 12px; border-radius: 999px;
  background: var(--blue-light); color: var(--blue-dark);
}
.acct-badge--pro { background: var(--blue); color: var(--white); }
.acct-badge--premium { background: var(--ink); color: var(--white); }

.acct-rows { margin: 0; }
.acct-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line);
}
.acct-row:last-child { border-bottom: 0; }
.acct-row dt { color: var(--ink-soft); font-size: .9rem; margin: 0; }
.acct-row dd { color: var(--ink); font-weight: 600; margin: 0; text-align: right; }

/* Jauge d'usage sur la fenêtre glissante 24h. Placée juste sous la ligne
   "Invitations sur 24 h" : plus bas elle semblait mesurer la facturation. */
.acct-meter { margin-top: 14px; }
.acct-bar {
  height: 6px; border-radius: 999px; background: var(--blue-light);
  overflow: hidden;
}
/* Bloc de lignes qui suit la jauge (facturation) : la bordure du haut rétablit
   la séparation que le <dl> précédent perdait en s'arrêtant plus tôt. */
.acct-rows--after {
  margin-top: 16px; padding-top: 4px; border-top: 1px solid var(--line);
}
.acct-bar span {
  display: block; height: 100%; width: 0;
  background: var(--blue); border-radius: 999px;
  transition: width .4s ease;
}

.acct-form { display: flex; flex-direction: column; gap: 8px; }
.acct-label { font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.acct-input {
  padding: 13px 16px; font: inherit; font-size: .95rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.acct-input:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 102, 195, .14);
}
.acct-form .btn { margin-top: 10px; justify-content: center; }

.acct-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.acct-actions .btn:only-child { width: auto; }

.acct-notice {
  padding: 14px 16px; border-radius: var(--radius);
  font-size: .9rem; line-height: 1.5; margin: 0 0 20px;
  background: var(--blue-light); color: var(--blue-darker);
}
.acct-notice--warn { background: #fff5e6; color: #8a5200; }

.acct-plans {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px; margin-bottom: 22px;
}
.acct-plan {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; text-align: center; background: var(--blue-lighter);
}
.acct-plan--current { border-color: var(--blue); background: var(--blue-light); }
.acct-plan-name { font-weight: 700; color: var(--ink); letter-spacing: .04em; font-size: .8rem; }
.acct-plan-price { font-size: 1.7rem; font-weight: 700; color: var(--ink); margin: 8px 0 16px; }
.acct-plan-price span { font-size: .8rem; font-weight: 500; color: var(--ink-faint); }
.acct-plan .btn { width: 100%; justify-content: center; }

.btn-danger { background: #c62828; color: var(--white); box-shadow: 0 4px 14px rgba(198, 40, 40, .28); }
.btn-danger:hover { background: #a81f1f; color: var(--white); transform: translateY(-2px); }

.acct-check {
  width: 56px; height: 56px; margin: 0 auto 18px;
  border-radius: 50%; background: #e7f6ec; color: #1c7c3e;
  display: grid; place-items: center; font-size: 1.6rem; font-weight: 700;
}

.acct-spin {
  width: 34px; height: 34px; margin: 0 auto 16px;
  border: 3px solid var(--blue-light); border-top-color: var(--blue);
  border-radius: 50%; animation: acct-spin .7s linear infinite;
}
@keyframes acct-spin { to { transform: rotate(360deg); } }

/* Toast d'erreur. Position fixe : reste visible même en bas de page. */
.acct-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%);
  z-index: 60; max-width: min(92vw, 460px);
  padding: 13px 20px; border-radius: var(--radius);
  font-size: .9rem; font-weight: 500;
  box-shadow: var(--shadow-md);
  background: #c62828; color: var(--white);
}
.acct-toast--ok { background: #1c7c3e; }

@media (max-width: 640px) {
  .acct-main { padding: 96px 0 56px; }
  .acct-card { padding: 22px 18px; }
  .acct-title--page { font-size: 1.6rem; }
  .acct-row { flex-direction: column; gap: 2px; }
  .acct-row dd { text-align: left; }
  .acct-actions .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .acct-spin { animation: none; }
  .acct-bar span { transition: none; }
}
