/* =========================================================
   ABONNEMENT.CSS — page des plans d'abonnement pro
   Chargé uniquement par le gabarit tpl-abonnement
   Scopé sous #pg-abonnement.
   ========================================================= */

#pg-abonnement {
  font-family: 'DM Sans', sans-serif;
  background: var(--gray-50, #f9fafb);
  color: #0f0f23;
}
#pg-abonnement h1,#pg-abonnement h2,#pg-abonnement h3 { font-family: 'DM Sans', sans-serif; }

.abo-nav {
  background: #fff; border-bottom: 1px solid #e5e7eb; padding: 0 2rem; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 50;
}
.abo-nav-logo { font-family: 'DM Sans', sans-serif; font-size: 18px; font-weight: 900; }
.abo-nav-logo span { color: var(--orange, #FF6B35); }
.abo-nav-cta { background: var(--orange, #FF6B35); color: #fff; border: none; border-radius: 10px; padding: 9px 22px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: all .15s; }
.abo-nav-cta:hover { background: #e8541e; transform: translateY(-1px); }
.abo-nav-back { font-size: 13px; color: #6b7280; cursor: pointer; display: flex; align-items: center; gap: 6px; border: 1.5px solid #e5e7eb; border-radius: 9px; padding: 7px 14px; background: #fff; font-family: 'DM Sans', sans-serif; transition: all .15s; }
.abo-nav-back:hover { border-color: #9ca3af; }

.abo-hero { background: #0f0f23; padding: 4rem 2rem 3.5rem; text-align: center; position: relative; overflow: hidden; }
.abo-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 50%, rgba(232,85,32,.16), transparent 60%), radial-gradient(ellipse at 80% 30%, rgba(255,107,53,.12), transparent 50%); }
.abo-hero-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.abo-hero-badge { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,107,53,.15); border: 1px solid rgba(255,107,53,.35); border-radius: 100px; padding: 6px 16px; font-size: 13px; color: var(--orange); font-weight: 600; margin-bottom: 1.5rem; }
.abo-hero h1 { font-size: clamp(30px, 4.5vw, 54px); font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 1rem; letter-spacing: -.02em; }
.abo-hero h1 em { color: var(--orange); font-style: normal; }
.abo-hero p { font-size: 17px; color: rgba(255,255,255,.5); line-height: 1.65; margin-bottom: 2rem; }
/* La regle commerciale, dite la ou arrive l'artisan qui vient de cliquer
   « Repondre » sur une opportunite. Elle herite de « .abo-hero p » : on ne
   redeclare que ce qui change. Le margin-top negatif rattrape le
   margin-bottom de 2rem du paragraphe precedent, pour que les deux phrases
   forment un bloc et non deux annonces separees. */
.abo-hero-regle { margin-top: -1.1rem; margin-left: auto; margin-right: auto; max-width: 620px; padding: 12px 18px; font-size: 15px; color: rgba(255,255,255,.75); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; }

.billing-toggle { display: inline-flex; align-items: center; gap: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 100px; padding: 6px; position: relative; z-index: 1; }
.bt-option { padding: 8px 22px; border-radius: 100px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .2s; color: rgba(255,255,255,.5); user-select: none; }
.bt-option.active { background: #fff; color: #0f0f23; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.bt-promo { background: linear-gradient(135deg, var(--orange), var(--orange-d)); color: #fff; font-size: 13px; font-weight: 800; padding: 3px 10px; border-radius: 100px; letter-spacing: .04em; }

.plans-section { max-width: 1100px; margin: 0 auto; padding: 3rem 1.5rem 1.5rem; }
.plans-grid { display: grid; grid-template-columns: 1fr 1.08fr 1fr; gap: 18px; align-items: start; }
.plan-card { background: #fff; border: 1.5px solid #e5e7eb; border-radius: 20px; padding: 2rem; position: relative; transition: all .2s; box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.plan-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.1); }
.plan-card.featured { border-color: var(--orange); background: #0f0f23; transform: scale(1.02); box-shadow: 0 20px 60px rgba(255,107,53,.25); }
.plan-card.featured:hover { transform: scale(1.02) translateY(-4px); }
.plan-popular { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--orange), var(--orange-d)); color: #fff; font-size: 13px; font-weight: 800; padding: 5px 18px; border-radius: 100px; white-space: nowrap; letter-spacing: .04em; box-shadow: 0 4px 14px rgba(232,85,32,.4); }
.plan-name { font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .5rem; }
.plan-card:not(.featured) .plan-name { color: #6b7280; }
.plan-card.featured .plan-name { color: var(--orange); }
.plan-price { font-family: 'DM Sans', sans-serif; font-size: 48px; font-weight: 900; line-height: 1; margin-bottom: 4px; }
.plan-card:not(.featured) .plan-price { color: #0f0f23; }
.plan-card.featured .plan-price { color: #fff; }
.plan-price sup { font-size: 22px; vertical-align: top; margin-top: 8px; }
.plan-price span { font-size: 16px; font-weight: 500; }
.plan-period { font-size: 13px; margin-bottom: 4px; }
.plan-card:not(.featured) .plan-period { color: #9ca3af; }
.plan-card.featured .plan-period { color: rgba(255,255,255,.5); }
.plan-annual-saving { font-size: 13px; font-weight: 700; color: #059669; background: #dcfce7; border-radius: 100px; padding: 2px 10px; display: inline-block; margin-bottom: 1.25rem; }
.plan-card.featured .plan-annual-saving { background: rgba(5,150,105,.2); color: #34d399; }
.plan-desc { font-size: 13px; line-height: 1.6; margin-bottom: 1.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid; }
.plan-card:not(.featured) .plan-desc { color: #6b7280; border-color: #f3f4f6; }
.plan-card.featured .plan-desc { color: rgba(255,255,255,.5); border-color: rgba(255,255,255,.1); }
.plan-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 1.75rem; }
.pf-item { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; }
.plan-card:not(.featured) .pf-item { color: #374151; }
.plan-card.featured .pf-item { color: rgba(255,255,255,.85); }
.pf-check { width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; margin-top: 1px; font-weight: 700; }
.plan-card:not(.featured) .pf-check { background: rgba(255,107,53,.12); color: var(--orange-d); }
.plan-card.featured .pf-check { background: rgba(255,107,53,.25); color: var(--orange); }
.pf-item.disabled { opacity: .35; }
.pf-item.disabled .pf-check { background: #f3f4f6; color: #9ca3af; }
.plan-cta { width: 100%; padding: 13px; border-radius: 13px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: all .18s; border: none; }
.plan-cta-outline { background: #fff; color: #0f0f23; border: 2px solid #e5e7eb; }
.plan-cta-outline:hover { border-color: var(--orange); color: var(--orange-d); }
.plan-cta-purple { background: linear-gradient(135deg, var(--orange), var(--orange-d)); color: #fff; box-shadow: 0 6px 20px rgba(232,85,32,.35); }
.plan-cta-purple:hover { box-shadow: 0 10px 30px rgba(232,85,32,.45); transform: translateY(-1px); }
.plan-cta-dark { background: rgba(255,255,255,.1); color: #fff; border: 1.5px solid rgba(255,255,255,.2); }
.plan-cta-dark:hover { background: rgba(255,255,255,.18); }
.plan-note { text-align: center; font-size: 13px; margin-top: 10px; }
.plan-card:not(.featured) .plan-note { color: #9ca3af; }
.plan-card.featured .plan-note { color: rgba(255,255,255,.35); }

.compare-section { max-width: 1100px; margin: 0 auto; padding: 1rem 1.5rem 3rem; }
.compare-title { font-size: 22px; font-weight: 900; text-align: center; margin-bottom: 1.5rem; color: #0f0f23; }
/* ── UN TABLEAU QUI DEFILE PLUTOT QUE DE DEBORDER ─────────────────────
   Le texte de ce tableau passe de 11-13 px a 14 px : sur un telephone,
   trois colonnes a 14 px ne tiennent pas dans 390 px de large. La reponse
   n'est pas de re-retrecir le texte — ce serait revenir au probleme —
   mais de laisser le tableau defiler horizontalement dans son cadre. La
   largeur minimale garde les colonnes lisibles pendant ce defilement. */
.compare-section { overflow-x: auto; }
.compare-table { min-width: 520px; width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.05); font-size: 14px; }
.compare-table th { padding: 14px 18px; text-align: left; font-size: 14px; font-weight: 800; color: #9ca3af; text-transform: uppercase; letter-spacing: .07em; background: var(--gray-50, #f9fafb); border-bottom: 1px solid #e5e7eb; }
.compare-table th.plan-col { text-align: center; }
.compare-table td { padding: 13px 18px; border-bottom: 1px solid #f3f4f6; color: #374151; }
.compare-table td.plan-col { text-align: center; font-weight: 700; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .ct-section td { background: var(--gray-50, #f9fafb); font-size: 14px; font-weight: 800; color: var(--orange-d); text-transform: uppercase; letter-spacing: .08em; padding: 10px 18px; }
.ct-yes { color: var(--orange-d); font-size: 16px; }
.ct-no  { color: #d1d5db; font-size: 16px; }
.ct-val { color: #0f0f23; font-weight: 700; font-size: 13px; }

.temo-section { background: #0f0f23; padding: 4rem 1.5rem; }

.faq-section { max-width: 740px; margin: 0 auto; padding: 4rem 1.5rem; }
.faq-title { font-family: 'DM Sans', sans-serif; font-size: 26px; font-weight: 900; text-align: center; margin-bottom: 2rem; color: #0f0f23; }
.faq-item { border-bottom: 1px solid #e5e7eb; overflow: hidden; }
.faq-q { width: 100%; background: none; border: none; text-align: left; padding: 18px 0; font-size: 15px; font-weight: 700; color: #0f0f23; cursor: pointer; font-family: 'DM Sans', sans-serif; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq-icon { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,107,53,.12); color: var(--orange-d); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; flex-shrink: 0; transition: transform .25s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { font-size: 14px; color: #6b7280; line-height: 1.8; padding: 0 0 18px; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s; }
.faq-item.open .faq-a { max-height: 300px; }

.abo-cta-final { background: linear-gradient(135deg, var(--navy) 0%, #2d2d5e 60%, #1a1a4e 100%); padding: 4rem 2rem; text-align: center; }
.abo-cta-final h2 { font-family: 'DM Sans', sans-serif; font-size: 30px; font-weight: 900; color: #fff; margin-bottom: .75rem; }
.abo-cta-final p { font-size: 16px; color: rgba(255,255,255,.7); margin-bottom: 2rem; }
.abo-final-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.abo-btn-white { background: #fff; color: var(--navy); border: none; border-radius: 14px; padding: 15px 36px; font-size: 16px; font-weight: 800; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: all .18s; box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.abo-btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.abo-btn-outline-white { background: rgba(255,255,255,.12); color: #fff; border: 2px solid rgba(255,255,255,.3); border-radius: 14px; padding: 14px 36px; font-size: 16px; font-weight: 700; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: all .18s; }
.abo-btn-outline-white:hover { background: rgba(255,255,255,.2); }
.abo-cta-garantie { font-size: 13px; color: rgba(255,255,255,.55); margin-top: 1rem; display: flex; align-items: center; justify-content: center; gap: 6px; }

.stats-band-abo { background: var(--gray-50, #f9fafb); border-top: 1px solid var(--gray-200, #e5e7eb); border-bottom: 1px solid var(--gray-200, #e5e7eb); padding: 2rem; }
.stats-band-abo .stats-inner { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; text-align: center; }
.stats-band-abo .stat-num { font-family: 'DM Sans', sans-serif; font-size: 30px; font-weight: 900; color: var(--orange); }
.stats-band-abo .stat-lbl { font-size: 14px; color: #9ca3af; margin-top: 3px; }

@media (max-width: 900px) {
  .plans-grid { grid-template-columns: 1fr; }
  .plan-card.featured { transform: none; }
  .stats-band-abo .stats-inner { grid-template-columns: repeat(2,1fr); }
}

/* ═══════════════════════════════════════════════════════════════════
   AGENDA — BLOC MARKETING

   Texte à gauche, illustration à droite. L'illustration est faite de
   rectangles CSS : aucune image à télécharger, et surtout aucun faux
   rendez-vous nominatif. Montrer « Mardi 14h — M. Dupont » sur une page
   commerciale, c'est inventer un client.
   ═══════════════════════════════════════════════════════════════════ */
.agenda-mkt {
  max-width: 1100px; margin: 3rem auto; padding: 2.5rem 1.5rem;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 2.5rem; align-items: center;
}
.agenda-mkt-titre {
  font-family: 'DM Sans', sans-serif; font-size: 27px; font-weight: 900;
  color: var(--navy); line-height: 1.25; margin: 0 0 12px;
}
.agenda-mkt-sous { font-size: 15px; color: var(--gray-600); line-height: 1.65; margin: 0 0 18px; }
.agenda-mkt-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.agenda-mkt-liste li {
  position: relative; padding-left: 26px;
  font-size: 14px; color: var(--navy); line-height: 1.5;
}
.agenda-mkt-liste li::before {
  /* Coche DESSINEE, pas ecrite : un caractere de coche depend de la
     police installee sur la machine du visiteur et peut manquer. Deux
     bordures et une rotation de 45 degres donnent le meme signe,
     identique partout, a la couleur qu'on veut. */
  content: ''; position: absolute; left: 3px; top: 4px;
  width: 5px; height: 9px;
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(45deg);
}

/* Illustration : un en-tête, puis une grille de créneaux dont quelques-uns
   sont « pris ». Rien d'autre — pas de texte, donc rien à inventer. */
.agenda-mkt-visuel {
  background: #fff; border: 1.5px solid var(--gray-200);
  border-radius: 18px; padding: 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,.07);
}
.amv-tete { display: flex; gap: 8px; margin-bottom: 14px; }
.amv-tete span { height: 9px; border-radius: 100px; background: var(--gray-200); }
.amv-tete span:first-child { width: 84px; background: var(--navy); }
.amv-tete span:last-child { width: 44px; }
.amv-grille { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }
.amv-grille i {
  display: block; height: 26px; border-radius: 6px;
  background: #f3f4f6; border: 1px solid #eceef1;
}
.amv-grille i.pris { background: #fff1ea; border-color: #fed7aa; }

/* ═══════════════════════════════════════════════════════════════════
   INDICATEURS DE CONFIANCE — TROIS CHIFFRES, TROIS REQUÊTES
   ═══════════════════════════════════════════════════════════════════ */
.conf-section { max-width: 1100px; margin: 0 auto 3rem; padding: 0 1.5rem; }
.conf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.conf-card {
  background: #f9fafb; border: 1.5px solid var(--gray-100);
  border-radius: 16px; padding: 1.5rem 1.25rem; text-align: center;
}
.conf-val {
  font-family: 'DM Sans', sans-serif; font-size: 30px; font-weight: 900;
  color: var(--navy); line-height: 1.1;
}
/* Quand il n'y a pas encore assez d'avis, la phrase remplace le chiffre :
   elle doit rester lisible, donc plus petite mais pas minuscule. */
.conf-val.conf-vide { font-size: 15px; font-weight: 700; color: var(--gray-600); line-height: 1.4; }
.conf-etoiles { font-size: 15px; color: var(--orange); letter-spacing: 2px; margin-top: 4px; min-height: 20px; }
.conf-lbl { font-size: 13px; color: var(--gray-600); margin-top: 8px; line-height: 1.4; }

@media (max-width: 900px) {
  .agenda-mkt { grid-template-columns: 1fr; gap: 1.75rem; }
  .agenda-mkt-titre { font-size: 23px; }
}
@media (max-width: 640px) {
  .conf-grid { grid-template-columns: 1fr; }
}

/* ── L'essai gratuit local (30 jours, sans carte) ──────────────────────
   Un bloc a part dans le hero : ce n'est pas une formule, c'est un
   acces temporaire sans paiement, et il ne doit pas ressembler a un prix. */
.abo-essai { position: relative; z-index: 1; max-width: 620px; margin: 1.25rem auto 0; padding: 18px 20px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; text-align: center; }
.abo-essai-texte { font-size: 15px; line-height: 1.55; color: #fff; margin: 0 0 12px; }
.abo-essai-btn { background: var(--orange, #FF6B35); color: #fff; border: none; border-radius: 10px; padding: 11px 24px; font-size: 15px; font-weight: 800; cursor: pointer; font-family: 'DM Sans', sans-serif; }
.abo-essai-btn:hover { background: #e8541e; }
.abo-essai-btn:disabled { opacity: .6; cursor: default; }
.abo-essai-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.abo-essai-note { margin-top: 10px; font-size: 13px; color: rgba(255,255,255,.65); }
.abo-essai-titre { font-size: 18px; font-weight: 800; color: #fff; margin: 0 0 8px; }
.abo-essai-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.abo-essai-btn-sec { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); }
.abo-essai-btn-sec:hover { background: rgba(255,255,255,.22); }
.abo-formules-note { max-width: 760px; margin: 0 auto 1rem; padding: 12px 16px; border-radius: 10px; background: #f3f0ff; border: 1px solid #ddd6fe; color: #4c1d95; font-size: 14px; text-align: center; }
.abo-formules-note[hidden], .abo-essai-btn[hidden], .plan-cta[hidden] { display: none; }

/* ── FORFAITS DEPUIS LA SOURCE UNIQUE (js/forfaits.js) ─────────────────
   Trois cartes, bascule de periodicite, montant reellement facture,
   mention « Bientôt disponible » sur ce qui n'existe pas encore. */
.abo-periodicite { display: flex; justify-content: center; gap: 6px; margin: 0 auto 14px; background: #f3f4f6; border-radius: 100px; padding: 4px; width: max-content; }
.abo-periodicite-btn { border: 0; background: transparent; color: #4b5563; font: inherit; font-weight: 700; font-size: 14px; padding: 8px 18px; border-radius: 100px; cursor: pointer; }
.abo-periodicite-btn.on, .abo-periodicite-btn[aria-pressed="true"] { background: #0f0f23; color: #fff; }
.abo-periodicite-btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.abo-prix-mention { text-align: center; font-size: 13px; color: #6b7280; margin: 0 auto 22px; max-width: 640px; }
.plan-price span { font-size: 16px; font-weight: 600; }
.plan-facture { font-size: 13px; margin: 6px 0 10px; }
.plan-card:not(.featured) .plan-facture { color: #374151; }
.plan-card.featured .plan-facture { color: rgba(255,255,255,.75); }
.plan-features { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.pf-item.pf-bientot { opacity: .78; }
.pf-item.pf-bientot .pf-check { color: #b45309; }
.pf-tag, .ct-bientot { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .02em; padding: 2px 8px; border-radius: 100px; background: #fff7ed; color: #b45309; border: 1px solid #fed7aa; white-space: nowrap; }
.plan-card.featured .pf-tag { background: rgba(255,255,255,.1); color: #fdba74; border-color: rgba(253,186,116,.4); }
.plan-cta[disabled], .plan-cta[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.plan-cta[disabled]:hover { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 900px) { .plans-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } .plan-card.featured { transform: none; } }

/* Le resume des forfaits dans « Mon abonnement » (espace pro). */
.pro-abo-forfaits { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.pro-abo-forfait { background: #fff; border: 1.5px solid var(--gray-200, #e5e7eb); border-radius: 12px; padding: 1rem; font-size: 13px; color: var(--gray-500, #6b7280); line-height: 1.7; }
.pro-abo-forfait.actuel { border-color: var(--orange, #ea580c); background: #fff7f4; }
.pro-abo-forfait-nom { font-weight: 800; color: var(--navy, #0f0f23); font-size: 13px; margin-bottom: 4px; }
.pro-abo-forfait-actuel { font-size: 13px; font-weight: 700; color: var(--orange, #ea580c); margin-left: 6px; }
