.page-id-3338{

:root {
  --p-primary: #5238AF;
  --p-violet: #6932FF;
  --p-mid: #7363D0;
  --p-muted: #724C9E;
  --p-accent: #FF5600;
  --p-accent-soft: #FF9C66;
  --p-green: #3BB649;
  --p-blue: #4A90E2;
  --p-deep: #53268E;
}
.page-header{
  display: none;
} 
#content {
  max-width: 100% !important;
}
.MecaTariffe-V1-wrapper {
  font-family: 'DM Sans', sans-serif;
  background: #fff;
  color: #1a1033;
}

.MecaTariffe-V1-wrapper * { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

/* ── BANNIÈRE DU HAUT ── */
.MecaTariffe-V1-top-banner {
  background-color: #F6F4FE;
  padding: 100px 20px;
  text-align: center;
  border-bottom: 1px solid #E2DCF8;
  width: 100%;
  justify-items: center;
}

.MecaTariffe-V1-top-banner h1 {
  font-family: 'Syne', sans-serif;
  font-size: 45px;
  font-weight: 700;
  color: var(--p-violet);
  max-width: 1000px;
  margin: 80px 0px 20px;
  line-height: 1.2;
}

.MecaTariffe-V1-sub-banner {
  font-size: 15px;
  color: var(--p-deep);
  margin-top: 15px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  opacity: 0.9;
}

.MecaTariffe-V1-page-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.MecaTariffe-V1-main-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 35px;
  align-items: start;
}

/* ── Sidebar ── */
.MecaTariffe-V1-sidebar { 
  position: sticky; 
  top: 9rem; 
  margin-top: 80px;
}

.MecaTariffe-V1-sidebar-title {
  font-family: 'Syne', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--p-primary);
  margin-bottom: 1.2rem;
}

.MecaTariffe-V1-sb-wrapper {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px !important;
}

.MecaTariffe-V1-sb-btn {
  padding: 14px 17px;
  border-radius: 12px;
  border: 1px solid #E2DCF8;
  background: #ffffff;
  color: var(--p-deep);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.MecaTariffe-V1-sb-btn:hover {
  background: #F6F4FE; 
  border-color: #C4BAF0 !important; 
  color: var(--p-violet); 
  transform: translateX(4px);
}

.MecaTariffe-V1-sb-btn:active { 
  transform: scale(0.98); 
}

.MecaTariffe-V1-sb-btn.MecaTariffe-V1-active {
  background: linear-gradient(135deg, var(--p-primary), var(--p-violet));
  color: #ffffff;
  border: none !important;
  box-shadow: 0 6px 16px rgba(105, 50, 255, 0.25);
  transform: translateX(0);
  order: 0;
}

/* ── Content & Views ── */
.MecaTariffe-V1-content { min-width: 0; }
.MecaTariffe-V1-product-view { display: none; animation: fadeIn 0.4s ease; }
.MecaTariffe-V1-product-view.MecaTariffe-V1-active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Toggle */
.MecaTariffe-V1-billing-toggle {
  display: flex; align-items: center; gap: 10px; margin-bottom: 2rem; margin-top: 2rem;
  font-size: 14px; color: var(--p-primary); font-weight: 600; justify-content: center;
}
.MecaTariffe-V1-toggle-pill {
  width: 46px; height: 26px; background: #D0C8F0; border-radius: 13px;
  position: relative; cursor: pointer; transition: background 0.25s; flex-shrink: 0;
}
.MecaTariffe-V1-toggle-pill.MecaTariffe-V1-on { background: var(--p-violet); }
.MecaTariffe-V1-toggle-pill::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px;
  border-radius: 50%; background: #fff; transition: transform 0.25s; box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.MecaTariffe-V1-toggle-pill.MecaTariffe-V1-on::after { transform: translateX(20px); }
.MecaTariffe-V1-save-badge { background: var(--p-accent); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; letter-spacing: 0.04em; }

/* ══════════════════════════════════════════════
   CARDS — ALIGNEMENT FLEX CORRIGÉ
   Toutes les cartes ont le bouton au même niveau
   ══════════════════════════════════════════════ */
.MecaTariffe-V1-cards-grid { 
  display: grid; 
  grid-template-columns: repeat(3, minmax(0, 1fr)); 
  gap: 15px; 
  margin-bottom: 2rem;

  /* Force toutes les cartes à la même hauteur */
  align-items: stretch;
}

.MecaTariffe-V1-plan-card { 
  background: #fff; 
  border: 1.5px solid #E2DCF8; 
  border-radius: 16px; 
  padding: 1.5rem; 
  position: relative; 
  transition: border-color 0.2s;
  /* Flex colonne : pousse le bouton et card-bottom vers le bas */
  display: flex;
  flex-direction: column;
}
.MecaTariffe-V1-plan-card:hover { border-color: var(--p-mid); }
.MecaTariffe-V1-plan-card.MecaTariffe-V1-featured { 
  background: linear-gradient(160deg, #5238AF07 0%, #6932FF11 100%); 
  border: 2px solid var(--p-violet); 
}

/* card-top occupe tout l'espace au-dessus du bouton */
.MecaTariffe-V1-card-top {
  display: flex;
  flex-direction: column;
  /* flex-grow: 1; */
}

/* ════════════════════════════════════════
   CORRECTION CLÉ :
   margin-top: auto sur price-block
   → pousse le prix tout en bas du card-top
   → le bouton reste aligné sur toutes les cartes
   ════════════════════════════════════════ */
.MecaTariffe-V1-price-block {
  margin-top: auto;
  margin-bottom: 1.2rem;
}

/* card-bottom : la liste de features */
.MecaTariffe-V1-card-bottom {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ════════════════════════════════════════
   BOUTONS — margin-top: 0 (c'est price-block
   qui pousse, pas le bouton lui-même)
   ════════════════════════════════════════ */
.MecaTariffe-V1-btn { 
  width: 100%; 
  padding: 9px 0; 
  border-radius: 9px; 
  border: 2px solid transparent; 
  font-family: 'DM Sans', sans-serif; 
  font-size: 13.5px; 
  font-weight: 600; 
  cursor: pointer; 
  margin-bottom: 1.5rem;
  margin-top: 0;        /* ← CORRIGÉ : était 1.5rem ou 3rem, causait le décalage */
  transition: all 0.3s ease; 
  letter-spacing: 0.02em; 
}

/* Ancienne classe V2 harmonisée avec V1 */
.MecaTariffe-V2-btn { 
  width: 100%; 
  padding: 9px 0; 
  border-radius: 9px; 
  border: 2px solid transparent; 
  font-family: 'DM Sans', sans-serif; 
  font-size: 13.5px; 
  font-weight: 600; 
  cursor: pointer; 
  margin-bottom: 1.5rem;
  margin-top: 0;        /* ← CORRIGÉ */
  transition: all 0.3s ease; 
  letter-spacing: 0.02em; 
}

.MecaTariffe-V1-btn:active  { transform: scale(0.98); }
.MecaTariffe-V2-btn:active  { transform: scale(0.98); }

.MecaTariffe-V1-btn-outline { background: transparent; border-color: var(--p-primary); color: var(--p-primary); }
.MecaTariffe-V1-btn-solid   { background: linear-gradient(135deg, var(--p-primary), var(--p-violet)); color: #fff; }
.MecaTariffe-V1-btn-accent  { background: linear-gradient(135deg, var(--p-accent), #FF9C66); color: #fff; }

.MecaTariffe-V1-btn-solid:hover   { background: transparent; border-color: var(--p-primary); color: var(--p-primary); }
.MecaTariffe-V1-btn-outline:hover { background: linear-gradient(135deg, var(--p-primary), var(--p-violet)); color: #fff; }
.MecaTariffe-V1-btn-accent:hover  { background: #ffffff; color: var(--p-accent); border-color: var(--p-accent); }

/* ── Éléments internes des cartes ── */
.MecaTariffe-V1-pop-badge { 
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%); 
  background: linear-gradient(90deg, var(--p-violet), var(--p-primary)); 
  color: #fff; font-size: 10px; font-weight: 700; padding: 4px 14px; 
  border-radius: 20px; white-space: nowrap; letter-spacing: 0.05em; 
}
.MecaTariffe-V1-plan-icon-wrap { 
  width: 40px; height: 40px; border-radius: 10px; 
  display: flex; align-items: center; justify-content: center; 
  font-size: 20px; margin-bottom: 1rem; 
}
.MecaTariffe-V1-ic-diag  { background: #EDE9FC; } 
.MecaTariffe-V1-ic-maint { background: #D6F5DA; } 
.MecaTariffe-V1-ic-trial { background: #FFE8D9; }
.MecaTariffe-V1-plan-name { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; color: #1a1033; margin-bottom: 4px; }
.MecaTariffe-V1-plan-desc { font-size: 12px; color: var(--p-muted); margin-bottom: 1.2rem; line-height: 1.5; }
.MecaTariffe-V1-users-label { font-size: 11px; font-weight: 600; color: var(--p-muted); margin-bottom: 8px; }
.MecaTariffe-V1-users-row { display: flex; gap: 6px; margin-bottom: 1.2rem; }
.MecaTariffe-V1-udot { 
  width: 26px; height: 26px; border-radius: 50%; background: #F6F4FE; 
  border: 1.5px solid #D0C8F0; cursor: pointer; display: flex; 
  align-items: center; justify-content: center; font-size: 11px; font-weight: 600; 
  color: var(--p-primary); transition: all 0.15s; 
}
.MecaTariffe-V1-udot.MecaTariffe-V1-active { background: var(--p-primary); color: #fff; border-color: var(--p-primary); }

.MecaTariffe-V1-plan-price { font-family: 'Syne', sans-serif; font-size: 34px; font-weight: 700; color: #1a1033; line-height: 1; margin-bottom: 5px; }
.MecaTariffe-V1-price-mo { font-size: 14px; font-weight: 500; color: var(--p-muted); }
.MecaTariffe-V1-plan-billing { font-size: 11px; color: var(--p-muted); margin-bottom: 0; }

/* Liste Features */
.MecaTariffe-V1-feat-list { list-style: none; }
.MecaTariffe-V1-feat-list li { 
  font-size: 12.5px; color: #3a2d6a; padding: 6px 0; 
  display: flex; align-items: flex-start; gap: 8px; 
  border-bottom: 1px solid #EDE9FC; line-height: 1.4; 
}
.MecaTariffe-V1-feat-list li:last-child { border-bottom: none; }
.MecaTariffe-V1-fcheck { color: var(--p-green); font-size: 12px; font-weight: 700; margin-top: 1px; }
.MecaTariffe-V1-fno    { color: #ccc; font-size: 12px; font-weight: 700; margin-top: 1px; }
.MecaTariffe-V1-feat-no { color: #bbb !important; text-decoration: line-through; }
.MecaTariffe-V1-feat-no .MecaTariffe-V1-fno { color: #ccc; }
.MecaTariffe-V1-more-link {
  border: none !important;
  border-radius: 0 0 14px 14px !important; /* coins arrondis seulement en bas */
  color: var(--p-accent) !important;
  padding: 14px 24px !important;
  width: calc(100% + 3rem) !important;     /* dépasse le padding de la carte */
  margin-left: -1.5rem !important;         /* compense le padding gauche */
  margin-bottom: -1.5rem !important;       /* colle au bas de la carte */
  margin-top: auto !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  justify-content: center;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  box-shadow: none !important;
}

.MecaTariffe-V1-more-link:hover {
  background: #FEF5F0 !important;
  color: var(--p-accent) !important;
  text-decoration: none;
}

.MecaTariffe-V1-trial-big { font-family: 'Syne', sans-serif; font-size: 42px; font-weight: 700; color: #1a1033; margin: 0.5rem 0 5px; }
.MecaTariffe-V1-trial-note { font-size: 12px; color: var(--p-muted); }
.MecaTariffe-V1-billing-note { 
  display: flex; align-items: center; justify-content: center; 
  gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--p-muted); 
  margin-bottom: 3rem; 
}
.MecaTariffe-V1-bn-dot { width: 4px; height: 4px; border-radius: 50%; background: #C0B8E8; display: inline-block; }

/* ========================================= */
/* ACCORDÉON POUR LE TABLEAU DE COMPARAISON  */
/* ========================================= */
.MecaTariffe-V1-comparison-section { margin-top: 2rem; padding-top: 2rem; border-top: 2px solid #EDE9FC; }
.MecaTariffe-V1-cmp-title { font-family: 'Syne', sans-serif; font-size: 24px; font-weight: 700; color: var(--p-primary); margin-bottom: 1.5rem; text-align: center; }

.MecaTariffe-V1-adm-accordion { border: 2px solid #7363D0; border-radius: 14px; overflow: hidden; background: #fff; }
.MecaTariffe-V1-adm-card { border-bottom: 1px solid rgba(115, 99, 208, 0.2); }
.MecaTariffe-V1-adm-card:last-child { border-bottom: none; }

.MecaTariffe-V1-adm-header { display: flex; align-items: center; gap: 20px; justify-content: space-between; padding: 18px 25px; cursor: pointer; background: #643DE8; transition: background 0.25s ease; user-select: none; }
.MecaTariffe-V1-adm-header:hover { background: #7363D0; }
.MecaTariffe-V1-adm-header.MecaTariffe-V1-is-open { background: #53268E; }
.MecaTariffe-V1-adm-header-title { font-size: 16px; font-weight: 600; color: #fff; letter-spacing: 0.2px; }

.MecaTariffe-V1-adm-chevron { width: 26px; height: 26px; border: 2px solid rgba(255,255,255,0.55); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 0.3s ease; }
.MecaTariffe-V1-adm-chevron svg { width: 12px; height: 12px; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s ease; }
.MecaTariffe-V1-adm-header.MecaTariffe-V1-is-open .MecaTariffe-V1-adm-chevron { border-color: rgba(255,255,255,0.9); }
.MecaTariffe-V1-adm-header.MecaTariffe-V1-is-open .MecaTariffe-V1-adm-chevron svg { transform: rotate(180deg); }

.MecaTariffe-V1-adm-body { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1); background: #fff; }
.MecaTariffe-V1-adm-body.MecaTariffe-V1-is-open { max-height: 3000px; }

/* Grille interne de l'accordéon */
.MecaTariffe-V1-grid-header {
  display: grid; grid-template-columns: 60% 20% 20%; padding: 18px 20px;
  margin-bottom: 20px;
  background: #F6F4FE; border-bottom: 2px solid #C4BAF0;
  font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700; 
  color: var(--p-violet); text-align: center; align-items: center;
  position: sticky; top: 100px; z-index: 100;
}
.MecaTariffe-V1-grid-header > div:first-child { text-align: left; font-size: 14px; color: var(--p-deep); }

.MecaTariffe-V1-grid-row {
  display: grid; grid-template-columns: 60% 20% 20%; padding: 12px 20px;
  border-bottom: 1px solid rgba(115, 99, 208, 0.1);
  align-items: center; text-align: center; font-size: 13px; color: #2d2052; transition: background-color 0.2s ease;
}
.MecaTariffe-V1-grid-row:last-child { border-bottom: none; }
.MecaTariffe-V1-grid-row > div:first-child { text-align: left; }
.MecaTariffe-V1-grid-row:nth-child(even) { background-color: #F8F9FB; }
.MecaTariffe-V1-grid-row:hover { background-color: rgba(255, 156, 102, 0.1) !important; }

.MecaTariffe-V1-th-pill {
  display: inline-block; margin-top: 6px; padding: 4px 18px; border-radius: 4px;
  font-size: 11px; font-weight: 600; color: #fff; background: var(--p-deep); transition: all 0.3s ease; cursor: pointer;
}
.MecaTariffe-V1-th-pill:hover {
  background: linear-gradient(135deg, var(--p-accent), var(--p-accent-soft)); transform: scale(1.05); box-shadow: 0 5px 12px rgba(255, 86, 0, 0.3);
}

.MecaTariffe-V1-ic-ok { display: inline-flex; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--p-blue); color: var(--p-blue); font-size: 10px; font-weight: 700; align-items: center; justify-content: center; }
.MecaTariffe-V1-ic-no { display: inline-flex; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #FF3B30; color: #FF3B30; font-size: 11px; font-weight: 700; align-items: center; justify-content: center; }

/* ═══════════════════════════════════════════
   MOBILE DROPDOWN + STICKY HANDOFF
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {

  .MecaTariffe-V1-top-banner h1 { font-size: 28px; }
  .MecaTariffe-V1-top-banner    { padding: 100px 15px; }
  .MecaTariffe-V1-main-layout   { grid-template-columns: 1fr; gap: 0; }

  .MecaTariffe-V1-sidebar {
    position: sticky;
    top: 80px;
    z-index: 300;
    padding: 10px 16px 12px;
    background: #ffffff;
    border: solid 1px #643AF7;
    border-radius: 10px;
    transition: box-shadow 0.2s ease, border-radius 0.2s ease;
    margin-top: 50px;
  }

  .MecaTariffe-V1-sidebar.mob-is-sticky {
    box-shadow: 0 8px 24px rgba(93, 72, 223, 0.15);
    border-radius: 10px;
  }

  .MecaTariffe-V1-sidebar-title { margin-bottom: 0.5rem; }

  .MecaTariffe-V1-sb-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
    max-height: 52px;
    transition: max-height 0.3s ease;
  }

  .MecaTariffe-V1-sidebar.mob-open .MecaTariffe-V1-sb-wrapper {
    max-height: 240px;
    gap: 6px;
  }

  .MecaTariffe-V1-sb-btn.MecaTariffe-V1-active { order: -1; }

  .MecaTariffe-V1-sidebar:not(.mob-open) .MecaTariffe-V1-sb-btn:not(.MecaTariffe-V1-active) {
    display: flex !important;
  }

  .MecaTariffe-V1-sb-btn {
    width: 100%;
    margin: 0 !important;
    padding: 12px 16px !important;
    border-radius: 10px;
    font-size: 14px;
    text-align: left;
    border: 1px solid #E2DCF8 !important;
    background: #fff;
    color: var(--p-deep);
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
  }

  .MecaTariffe-V1-sb-btn.MecaTariffe-V1-active {
    background: linear-gradient(135deg, var(--p-primary), var(--p-violet));
    color: #ffffff;
    border-color: transparent !important;
    box-shadow: 0 4px 12px rgba(105, 50, 255, 0.22);
  }

  .MecaTariffe-V1-sb-btn.MecaTariffe-V1-active::after {
    content: '';
    display: inline-block;
    width: 9px;
    height: 9px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg) translateY(-3px);
    transition: transform 0.25s ease;
    flex-shrink: 0;
  }

  .MecaTariffe-V1-sidebar.mob-open .MecaTariffe-V1-sb-btn.MecaTariffe-V1-active::after {
    transform: rotate(-135deg) translateY(-3px);
  }

  .MecaTariffe-V1-sidebar.mob-open .MecaTariffe-V1-sb-btn:not(.MecaTariffe-V1-active) {
    background: #F6F4FE;
    color: var(--p-deep);
  }

  .MecaTariffe-V1-sidebar.mob-open .MecaTariffe-V1-sb-btn:not(.MecaTariffe-V1-active):hover {
    background: #EDE9FC;
    color: var(--p-violet);
  }

  .MecaTariffe-V1-sidebar.mob-unsticky {
    position: static !important;
    box-shadow: none;
  }

  .MecaTariffe-V1-grid-header {
    position: sticky;
    top: 100px;
    z-index: 100;
  }

  .MecaTariffe-V1-cards-grid { grid-template-columns: 1fr; }
  .MecaTariffe-V1-grid-header,
  .MecaTariffe-V1-grid-row {
    grid-template-columns: 50% 25% 25%;
    padding: 10px;
    font-size: 11px;
  }
  .MecaTariffe-V1-grid-header > div:first-child { font-size: 12px; }
}
}