/* ===== VARIABLES DE TARIFICATION ===== */

/* ===== ANIMATIONS ===== */
@keyframes panelFadeIn {
  from {
    opacity: 0;
    transform: scale(0.98) translateY(60px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ===== TITRES PRINCIPAUX ===== */
.pricing-title-main {
  font-size: 3.1em;
  font-weight: 900;
  text-align: center;
  margin-bottom: 0.75em;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow:
    0 6px 32px #000a,
    0 1.5px 6px #18e7ff36,
    0 0.5px 0.5px #0008;
}

.pricing-title-main .nov {
  color: #18e7ff;
}

.pricing-title-wide {
  font-size: 2.2em;
  font-weight: 900;
  text-align: center;
  margin-bottom: 0.38em;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 2px 18px #b978f77a, 0 0 2px #fff6;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.1em;
  position: relative;
  background: none;
}

.pricing-title-wide .nov { color: #fff; }
.pricing-title-wide .ia { color: #18e7ff; }
.pricing-title-wide .bot { color: #b978f7; }

.pricing-underline {
  width: 52px;
  height: 5px;
  border-radius: 8px;
  background: linear-gradient(90deg, #18e7ff 0%, #b978f7 100%);
  margin-left: 0.65em;
  margin-bottom: 0.23em;
  display: inline-block;
  box-shadow: 0 2px 24px #18e7ff36;
}

/* ===== PANNEAU GLASS PRINCIPAL ===== */
.pricing-glass {
  width: 100%;
  max-width: 1640px;
  margin: 0 auto 4.7em auto;
  background: inherit !important;
  border-radius: 2.2em;
  border: 2.1px solid #18e7ff;
  box-shadow:
    0 0 0 1.5px #18e7ff,
    0 0 0 0.2px #fff7 inset;
  padding: 3.1em 2.5em 2.3em 2.5em;
  animation: panelFadeIn 0.55s;
  overflow-x: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.pricing-wide {
  position: relative;
  z-index: 1;
  margin-top: 4rem;
}

/* ===== TABLEAUX DE TARIFS ===== */
.pricing-grid-glass {
  width: 100%;
  max-width: 1580px;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  background: none;
  table-layout: fixed;
}


.pricing-grid-glass th,
.pricing-grid-glass td {
  text-align: center;
  font-size: 1.08em;
  padding: 0.77em 0.19em;
  border-bottom: 1px solid #18e7ff1b;
  background: none !important;
}

.pricing-grid-glass thead th {
  text-align: center;
  vertical-align: bottom;
}

.pricing-grid-glass thead th:first-child {
  width: var(--label-col);
  text-align: left;
}

.pricing-grid-glass thead th:nth-child(n+2) {
  width: var(--plan-col);
}

.pricing-grid-glass th {
  color: #18e7ff;
  font-weight: 900;
  font-size: 1.13em;
  background: none;
  border: none;
  padding-bottom: 0.32em;
  text-shadow: 0 2px 14px #18e7ff13;
}

.pricing-grid-glass th span {
  display: block;
  font-size: 0.93em;
  color: #fff9;
  font-weight: 700;
}

.pricing-grid-glass td {
  color: #e8eaff;
  font-weight: 600;
  background: none;
}

.pricing-grid-glass .row-label {
  font-weight: 800;
  color: #cfe8ff;
  text-align: left;
}

.pricing-grid-glass .highlight {
  color: #18e7ff;
  font-weight: 900;
  font-size: 1.14em;
}

.pricing-grid-glass .x {
  color: #ff487d;
  font-size: 1.21em;
  font-weight: 800;
}

/* ===== EN-TÊTE PREMIUM ===== */
.premium-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.3em 0.1em 0.5em 0.1em;
  gap: 0.14em;
  z-index: 5;
  min-height: 160px;
}

.premium-title {
  color: #18e7ff;
  font-weight: 900;
  font-size: 1.11em;
  margin-bottom: 0.07em;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 11px #18e7ff70;
  text-align: center;
}

.plan-badge {
  background: linear-gradient(90deg, #18e7ff 0%, #b978f7 100%);
  color: #1a0842;
  font-weight: 900;
  border-radius: 1.05em;
  font-size: 0.98em;
  padding: 0.12em 1em;
  margin: 0.02em 0 0.11em 0;
  box-shadow: 0 2px 13px #18e7ff40;
  letter-spacing: 0.02em;
  filter: drop-shadow(0 0 7px #18e7ffaa);
}

.premium-price {
  font-weight: 900;
  font-size: 1.14em;
  color: #fff;
  margin: 0.14em 0 0.1em 0;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 9px #18e7ff33;
  text-align: center;
}

.plan-wording,
.plan-sub {
  display: block !important;
  font-size: 1em;
  color: #b6bfd6 !important;
  font-weight: 600 !important;
  margin-top: 4px;
  line-height: 1.25;
  text-align: center;
  opacity: .9;
}

.pricing-desc {
  color: #fff !important;
  font-weight: 900 !important;
  font-size: 0.96em !important;
  line-height: 1.13;
  margin-top: 0.08em;
}

/* ===== BULLE PREMIUM ===== */
.pricing-table-flex {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: stretch;
  overflow-x: hidden;
}


.premium-col-bulle {
  position: absolute;
  top: 0;
  width: var(--plan-col);
  height: 100%;
  border-radius: 1em;
  border: 2px solid rgba(24,231,255,.55);
  box-shadow: 0 0 10px 2px rgba(24,231,255,.25);
  background: transparent;
  z-index: 1;
  pointer-events: none;
}

/* Bulle Premium du 1er tableau */
.pricing-wide .pricing-table-flex:not(.commit) .premium-col-bulle {
  left: calc(var(--label-col) + var(--plan-col) * 2) !important;
  width: var(--plan-col) !important;
  transform: none !important;
}

.pricing-grid-glass th,
.pricing-grid-glass td {
  position: relative;
  z-index: 3;
}

.premium-col {
  color: #18e7ff !important;
  font-weight: 900;
  font-size: 1.09em;
  text-shadow: 0 1px 11px #18e7ff50;
  background: none !important;
}

/* ===== BOUTONS TARIFICATION ===== */
.pricing-choose-btn {
  background: none;
  border: none;
  color: #fff;
  font-weight: 900;
  font-size: 1.17em;
  padding: 0.24em 1.1em 0.2em 1.1em;
  border-radius: 1.5em;
  cursor: pointer;
  outline: none;
  text-decoration-thickness: 2.1px;
  text-underline-offset: 2.7px;
  box-shadow: none;
  transition: color 0.18s, text-shadow 0.18s;
}

.pricing-choose-btn:hover,
.pricing-choose-btn:focus {
  color: #18e7ff;
  text-shadow: 0 2px 14px #18e7ffb2, 0 0 7px #b978f7cc;
}

.pricing-grid-glass .pricing-choose td {
  padding-top: 1.2em;
  border-bottom: none;
}

.pricing-btn-link {
  background: none;
  color: #18e7ff;
  border-radius: 1.8em;
  font-weight: 800;
  font-size: 1.09em;
  padding: 0.44em 1.5em;
  transition: background 0.19s, color 0.17s, box-shadow 0.16s;
  cursor: pointer;
  margin: 0 0.33em;
  outline: none;
  box-shadow: 0 1px 8px #18e7ff18;
}

.pricing-btn-link:hover,
.pricing-btn-link:focus {
  background: linear-gradient(90deg, #18e7ff 15%, #b978f7 100%);
  color: #1a0842 !important;
  box-shadow: 0 1px 15px #18e7ff22;
}

.highlight-btn-link {
  background: linear-gradient(90deg, #18e7ff 30%, #b978f7 100%);
  color: #1a0842 !important;
  font-weight: 900;
  border: none !important;
  box-shadow: 0 2px 18px #18e7ff30;
}

.actions-row td {
  border: none;
  padding-top: 1.5em;
  padding-bottom: 0.1em;
}

/* ===== FIXES TECHNIQUES ===== */
.pricing-grid-glass .pricing-choose-btn,
.commit-grid-2 .price-choice {
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

.pricing-grid-glass button {
  cursor: pointer;
}

/* ===== CLARIFICATION : 2 lignes, toute fine, sur toute la largeur de la case tarifs ===== */
.pricing-clarification {
  margin: 0.5rem 0 0;
  padding: 0.35rem 1.5rem 0.4rem;
  border-top: 1px solid rgba(24, 231, 255, 0.12);
  font-size: 0.75rem;
  line-height: 1.35;
  color: rgba(216, 220, 255, 0.8);
  width: 100%;
  max-width: 1580px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.pricing-clarification p {
  display: block;
  margin: 0 0 0.15rem;
}

.pricing-clarification p:last-child {
  margin-bottom: 0;
}

.pricing-clarification strong {
  color: rgba(24, 231, 255, 0.9);
  font-weight: 700;
}

.pricing-glass {
  overflow-x: hidden;
}

/* ===== CTA TWITCH (en dehors du cadre Offres) ===== */
.offers-twitch-cta {
  position: absolute;
  right: 26px;
  bottom: -42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 900;
  font-size: clamp(20px, 2.6vw, 28px) !important;
  z-index: 6;
}

.offers-twitch-cta img {
  width: 1.15em !important;
  height: 1.15em !important;
  display: inline-block;
}

.offers-twitch-cta:hover {
  color: #18e7ff;
  text-shadow: 0 0 8px rgba(24,231,255,.25);
}

@media (max-width:720px) {
  .offers-twitch-cta {
    right: 14px;
    bottom: -36px;
    font-size: 18px !important;
  }
}

/* === NOVIABOT FIX: pas de scroll interne sur les tableaux de prix === */
.pricing-wide,
.commit-wide-cols,
.pricing-grid-glass,
.commit-grid-2 {
  overflow: visible !important;
  max-height: none !important;
}
/* Ajout d'espace sous la section Offres pour empêcher le chevauchement FAQ */
.commit-wide-cols {
  margin-bottom: 200px !important; /* Ajuste la valeur si besoin : 150–220 */
}
