/* =========================================================
   AgroMath — styles
   Thème bleu nuit inspiré d'agrodev.site :
   fond bleu très foncé + un seul accent (dégradé bleu → violet)
   ========================================================= */
/* Schrift Inter, selbst gehostet (SIL Open Font License) – kein Abruf bei Google */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;

  /* Fond et surfaces */
  --bg: #020617;
  --bg-2: #071126;
  --surface: rgba(15, 23, 42, .92);
  --surface-2: rgba(30, 41, 59, .55);
  --border: rgba(148, 163, 184, .12);
  --border-strong: rgba(255, 255, 255, .14);

  /* Texte */
  --text: #eef2ff;
  --body: #cbd5e1;
  --muted: #94a3b8;

  /* Accent unique */
  --blue: #38bdf8;
  --purple: #8b5cf6;
  --violet: #7c3aed;
  --gradient: linear-gradient(135deg, var(--blue), var(--purple));
  --glow: 0 20px 45px rgba(139, 92, 246, .25);

  /* États */
  --success: #34d399;
  --warning: #fbbf24;

  --radius: 18px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--body);
  background:
    radial-gradient(circle at 50% 0, rgba(56, 189, 248, .14), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(167, 139, 250, .16), transparent 28%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p a, .legal a, .modal__terms a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
h1, h2, h3, h4 { color: var(--text); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 780px; }

/* Carte de base partagée (cartes, niveaux, étapes, FAQ, formulaire…) */
.card, .level, .step, .plan, .faq details, .form, .info-block, .legal__card, .callout, .count, .modal__dialog {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* Pastille d'icône (une seule couleur) */
.card__icon, .trust__icon, .info-icon {
  display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, rgba(56, 189, 248, .14), rgba(139, 92, 246, .18));
  border: 1px solid rgba(139, 92, 246, .25);
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.5em; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; transition: .2s ease;
}
.btn--sm { padding: .55em 1.1em; font-size: .92rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--gradient); color: #fff; box-shadow: var(--glow); }
.btn--primary:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn--outline, .btn--ghost { background: rgba(255, 255, 255, .04); border-color: var(--border-strong); color: var(--text); }
.btn--outline:hover, .btn--ghost:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(2, 6, 23, .7); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: .2s;
}
.header.is-scrolled { border-color: var(--border); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }

.logo { display: flex; align-items: center; gap: .6rem; font-size: 1.2rem; font-weight: 600; color: var(--text); }
.logo strong, .highlight { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo strong { font-weight: 800; }
.logo__mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, var(--violet), var(--blue)); color: #fff;
  font-family: Georgia, serif; font-size: 1.3rem;
}

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--blue); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: .25s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 40px; }
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.badge {
  display: inline-block; padding: .35em .9em; margin-bottom: 1.2rem; border-radius: 999px;
  border: 1px solid rgba(99, 102, 241, .4); background: rgba(99, 102, 241, .12);
  color: #c7d2fe; font-weight: 600; font-size: .85rem;
}
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); font-weight: 800; }
.lead { font-size: 1.1rem; max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.8rem 0 1.4rem; }
.hero__points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 1.2rem; color: var(--muted); font-size: .93rem; }
.hero__points li::before { content: "✓"; color: var(--blue); font-weight: 800; margin-right: .45em; }

.video { position: relative; }
.video video {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: 24px; border: 1px solid var(--border-strong); background: var(--bg-2);
  box-shadow: 0 30px 70px rgba(56, 189, 248, .12);
}
.video__chip {
  position: absolute; display: flex; align-items: center; gap: .5em;
  padding: .55em 1em; border-radius: 12px; font-weight: 600; font-size: .88rem;
  background: var(--surface); border: 1px solid var(--border-strong); color: var(--text);
}
.video__chip--top { top: -14px; right: 24px; font-family: Georgia, serif; }
.video__chip--bottom { bottom: -16px; left: 24px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gradient); box-shadow: 0 0 12px 2px rgba(56, 189, 248, .55); }

/* ---------- Bandeau confiance ---------- */
.trust { border-block: 1px solid var(--border); background: rgba(15, 23, 42, .5); }
.trust__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-block: 22px; }
.trust__item { display: flex; align-items: center; gap: .7rem; font-weight: 600; font-size: .95rem; color: var(--text); }
.trust__icon { width: 40px; height: 40px; border-radius: 12px; font-size: 1.1rem; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section__head { text-align: center; max-width: 660px; margin: 0 auto 48px; }
.section__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; }
.section__head p { color: var(--muted); font-size: 1.05rem; }
.eyebrow {
  display: inline-block; margin-bottom: .9rem;
  color: var(--blue); font-weight: 700; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .22em;
}

.grid, .levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card, .level { padding: 26px; transition: .25s; }
.card:hover, .level:hover { transform: translateY(-4px); border-color: rgba(56, 189, 248, .35); }
.card__icon { width: 50px; height: 50px; border-radius: 14px; font-size: 1.4rem; margin-bottom: 1rem; }
.card h3, .level h3 { font-size: 1.1rem; }
.card p, .level p, .step p { color: var(--muted); margin: 0; font-size: .95rem; }
.level { position: relative; overflow: hidden; }
.level::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--gradient); }

.callout { margin: 36px auto 0; max-width: 780px; padding: 20px 28px; text-align: center; }
.callout strong { color: var(--blue); }

/* ---------- Étapes ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { text-align: center; padding: 32px 24px; }
.step__num {
  display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1rem;
  border-radius: 50%; background: var(--gradient); color: #fff; font-weight: 800; font-size: 1.2rem;
  box-shadow: var(--glow);
}
.step h3 { font-size: 1.1rem; }

/* ---------- Tarifs ---------- */
#preise { padding-top: 48px; }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px 28px; border-radius: 22px; transition: .25s; }
.plan--featured {
  border-color: rgba(56, 189, 248, .55);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, .25), 0 25px 60px rgba(56, 189, 248, .15);
  transform: scale(1.03);
}
.plan__tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  padding: .35em 1em; border-radius: 999px; background: var(--gradient); color: #fff; font-size: .78rem; font-weight: 700;
}
.plan__name { font-size: 1.3rem; margin-bottom: .2em; }
.plan__tagline { color: var(--muted); font-size: .95rem; }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem; margin-top: .4rem; }
.plan__amount { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; color: var(--text); }
.plan__unit, .plan__per-hour { color: var(--muted); font-size: .92rem; }
.plan__per-hour { min-height: 1.6em; display: flex; align-items: center; gap: .6rem; }
.plan__features { list-style: none; padding: 0; margin: .5rem 0 2rem; flex: 1; }
.plan__features li { position: relative; padding: .45em 0 .45em 1.6em; font-size: .95rem; }
.plan__features li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }
.pricing__note { margin-top: 40px; text-align: center; color: var(--muted); font-size: .9rem; }
.pricing__note p { margin: 0 0 .5em; }
.paybadges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.paybadges span { padding: .3em .8em; border-radius: 8px; border: 1px solid var(--border-strong); color: var(--text); font-weight: 700; font-size: .8rem; }

/* ---------- FAQ ---------- */
.faq details { margin-bottom: 12px; padding: 0 22px; border-radius: 14px; transition: .2s; }
.faq details[open] { border-color: rgba(56, 189, 248, .35); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 18px 0; list-style: none; cursor: pointer; font-weight: 600; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--blue); transition: .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.form { padding: 32px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; margin-bottom: 18px; font-weight: 600; font-size: .9rem; color: var(--text); }
.form input, .form select, .form textarea {
  display: block; width: 100%; margin-top: 6px; padding: .8em 1em;
  font: inherit; font-weight: 400; color: var(--text);
  background: rgba(2, 6, 23, .6); border: 1px solid var(--border-strong); border-radius: 12px;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.form__legal { font-size: .85rem; color: var(--muted); }
.form__status { min-height: 1.5em; margin: 1rem 0 0; text-align: center; color: var(--success); }

.contact__info { display: grid; gap: 16px; }
.info-block { padding: 22px 24px; }
.info-block h3 { display: flex; align-items: center; gap: .6rem; font-size: 1rem; }
.info-block p { margin: 0; color: var(--muted); }
.info-block a { color: var(--blue); }
.info-icon { width: 36px; height: 36px; border-radius: 10px; }

.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .35em 0; border-bottom: 1px dashed var(--border); font-size: .92rem; color: var(--muted); }
.hours li:last-child { border: 0; }
.hours strong { color: var(--text); font-weight: 600; }
.hours strong.closed { color: var(--muted); font-weight: 500; }

/* ---------- Footer ---------- */
.footer { padding: 60px 0 0; border-top: 1px solid var(--border); font-size: .93rem; color: var(--muted); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.3fr; gap: 36px; }
.footer h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .55em; color: var(--body); }
.footer a:hover { color: var(--blue); }
.footer__desc { margin-top: 1rem; }
.footer__contact { margin-bottom: 1rem !important; }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: 48px; padding-block: 22px; border-top: 1px solid var(--border); font-size: .85rem;
}
.footer__bottom p { margin: 0; }

/* ---------- Modal de paiement ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 16px; }
.modal.is-open { display: grid; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(2, 6, 23, .75); backdrop-filter: blur(4px); }
.modal__dialog {
  position: relative; width: 100%; max-width: 460px; max-height: 92vh; overflow-y: auto;
  padding: 32px; background: #0b1225; border-color: var(--border-strong); animation: pop .25s ease;
}
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal__close { position: absolute; top: 12px; right: 14px; border: 0; background: none; font-size: 1.8rem; line-height: 1; color: var(--muted); cursor: pointer; }
.summary { margin: 1rem 0 1.2rem; padding: 14px 18px; border-radius: 14px; background: var(--surface-2); }
.summary__row { display: flex; justify-content: space-between; gap: 1rem; padding: .35em 0; font-size: .93rem; }
.summary__row span { color: var(--muted); }
.summary__row strong { color: var(--text); text-align: right; }
.summary__total { margin-top: .4em; padding-top: .7em; border-top: 1px solid var(--border); font-size: 1.1rem; }
.summary__total strong { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.modal__terms {
  display: flex; gap: .7rem; align-items: flex-start; margin-bottom: 1.2rem; padding: 12px 14px;
  border: 1px solid var(--border-strong); border-radius: 12px; cursor: pointer;
  font-size: .85rem; line-height: 1.5; color: var(--muted); transition: .2s;
}
.modal__terms input { flex: none; width: 18px; height: 18px; margin-top: .2em; accent-color: var(--purple); }
.modal__terms.is-error { border-color: var(--warning); }
#paypal-button-container:not(:empty) { padding: 14px; border-radius: 14px; background: #fff; }
.modal__info { margin: 0; text-align: center; font-size: .92rem; color: var(--muted); }
.modal__info:empty { display: none; }
.modal__info.is-warning, .modal__info.is-success { margin-top: .8rem; padding: 12px; border-radius: 12px; }
.modal__info.is-warning { color: var(--warning); background: rgba(251, 191, 36, .1); }
.modal__info.is-success { color: var(--success); background: rgba(52, 211, 153, .1); }
.modal__info code { padding: .1em .4em; border-radius: 4px; background: rgba(255, 255, 255, .08); }
.modal__secure { margin: 1rem 0 0; text-align: center; font-size: .8rem; color: var(--muted); }

/* ---------- Pages légales ---------- */
.page-hero { padding: 64px 0 40px; text-align: center; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; }
.page-hero p { margin: 0; color: var(--muted); }
.legal { padding: 24px 0 96px; }
.legal__card { padding: 44px; }
.legal h2 { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--border); font-size: 1.22rem; }
.legal h2:first-of-type { margin-top: 0; padding-top: 0; border: 0; }
.legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: .4em; }
.legal .hours { max-width: 420px; }
.legal .summary-box, .legal .toc { margin-bottom: 1.8rem; padding: 18px 22px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); }
.legal .summary-box :last-child { margin-bottom: 0; }
.legal .toc { padding-left: 40px; columns: 2; column-gap: 32px; }
.legal .toc li { break-inside: avoid; margin-bottom: .3em; }
.legal table { width: 100%; margin: 1rem 0; border-collapse: collapse; font-size: .93rem; }
.legal th, .legal td { padding: .7em .8em; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.legal th { color: var(--text); background: var(--surface-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid, .levels, .trust__inner, .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan--featured { transform: none; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 70px; left: 0; right: 0; display: none;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px;
    background: var(--bg); border-bottom: 1px solid var(--border);
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav .btn { margin-top: 16px; }
  .hero { padding: 36px 0 24px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .steps, .contact { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .legal__card { padding: 28px; }
  .legal .toc { columns: 1; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .grid, .levels, .form__row, .trust__inner, .footer__grid, .hero__points { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .legal__card { padding: 22px 18px; }
  .legal table { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Bouton de paiement des formules */
.btn--checkout { padding-block: 1em; font-size: 1rem; }
.plan__secure { margin: .7rem 0 0; text-align: center; font-size: .8rem; color: var(--muted); }
#ablauf { padding-bottom: 24px; }

/* Sélecteur du nombre de séances (comme agrodev) */
.count {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  width: fit-content; margin: 0 auto 48px; padding: 18px 28px;
}
.count__label { font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.count__btns { display: flex; gap: 8px; }
.count__btn {
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  font: inherit; font-weight: 700; color: var(--text);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--border-strong); transition: .2s;
}
.count__btn:hover { border-color: var(--blue); }
.count__btn.is-active { background: var(--gradient); border-color: transparent; color: #fff; box-shadow: 0 8px 20px rgba(99, 102, 241, .35); }
.count__hint { font-size: .88rem; color: var(--blue); }
.count__hint strong { color: var(--text); }

.plan__duration {
  align-self: flex-start; margin-bottom: .9rem; padding: .3em .9em; border-radius: 999px;
  border: 1px solid rgba(99, 102, 241, .4); background: rgba(99, 102, 241, .12);
  color: #c7d2fe; font-size: .78rem; font-weight: 700;
}
.plan .plan__features { margin-bottom: 1.4rem; }
.plan .plan__price { padding-top: 1.2rem; border-top: 1px solid var(--border); }

/* Niveau dans le récapitulatif */
.modal__select {
  width: 100%; margin-bottom: 12px; padding: .8em 1em; border-radius: 12px;
  font: inherit; color: var(--text); background: rgba(2, 6, 23, .6); border: 1px solid var(--border-strong);
}
.modal__select.is-error { border-color: var(--warning); }

/* Nombre de cartes variable selon le nombre de séances choisi */
.pricing { grid-template-columns: repeat(auto-fit, minmax(205px, 340px)); justify-content: center; gap: 18px; }
@media (max-width: 1000px) { .pricing { grid-template-columns: 1fr; } }

/* ---------- Bouton WhatsApp ---------- */
.wa { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.wa__btn {
  position: relative; width: 60px; height: 60px; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; color: #fff; background: #25d366;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .4); transition: transform .2s;
}
.wa__btn:hover { transform: scale(1.07); }
.wa__btn::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); animation: wa-pulse 2.4s infinite;
}
.wa__btn.is-open::after { animation: none; }
@keyframes wa-pulse { 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.wa__popup {
  width: min(340px, calc(100vw - 44px)); overflow: hidden; border-radius: 18px;
  background: #0b1225; border: 1px solid var(--border-strong);
  box-shadow: 0 25px 60px rgba(0, 0, 0, .45); animation: pop .25s ease;
}
.wa__popup[hidden] { display: none; }
.wa__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #075e54; color: #fff; }
.wa__head strong { display: block; font-size: .98rem; }
.wa__avatar {
  flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--violet), var(--blue)); font-family: Georgia, serif; font-size: 1.2rem;
}
.wa__status { font-size: .78rem; opacity: .85; }
.wa__close { margin-left: auto; border: 0; background: none; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; opacity: .8; }
.wa__body { padding: 18px 16px; background: rgba(15, 23, 42, .9); }
.wa__bubble {
  position: relative; margin: 0; padding: 12px 14px; border-radius: 0 14px 14px 14px;
  background: #1f2c34; color: var(--text); font-size: .9rem; line-height: 1.5;
}
.wa__cta {
  display: flex; align-items: center; justify-content: center; gap: .5em; margin: 0 16px 16px;
  padding: .8em 1em; border-radius: 999px; background: #25d366; color: #fff; font-weight: 700; font-size: .95rem;
}
.wa__cta:hover { background: #1ebe5b; }
@media (max-width: 560px) { .wa { right: 16px; bottom: 16px; } .wa__btn { width: 54px; height: 54px; } }

/* Tarifs : grille de 3 formules par ligne, lignes centrées */
.pricing { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.pricing .plan { flex: 0 1 calc((100% - 48px) / 3); }
@media (max-width: 1000px) { .pricing .plan { flex-basis: 100%; } }

/* Sélecteur : 3 packs de séances */
.count__btns { flex-wrap: wrap; justify-content: center; }
.count .count__btn { width: auto; height: auto; padding: .7em 1.4em; border-radius: 999px; font-size: .95rem; }
@media (max-width: 560px) { .count { width: 100%; } .count__btns { flex-direction: column; width: 100%; } }
.pricing .plan--featured { transform: none; }
.wa[hidden] { display: none; }

/* Anbieterangaben in den Rechtsseiten */
.legal .provider { list-style: none; padding: 14px 18px; margin: .5rem 0 1rem; border-left: 3px solid var(--blue); background: var(--surface-2); border-radius: 0 12px 12px 0; }
.legal .provider li { margin: .15em 0; }
.legal h3 { font-size: 1.05rem; margin-top: 1.4rem; }

/* Hinweis unter dem Zahlungsbutton (keine Auswahl nötig) */
p.modal__terms { display: block; cursor: default; margin: 1rem 0 0; font-size: .8rem; background: none; border: 0; padding: 0; text-align: center; }
