/**
 * Charte Exxon-bat : ZÉRO trait de séparation sur tout le site.
 * Dernière feuille chargée (sync-app-version). Exceptions : champs formulaire, tableau devis.
 */

/* HR et séparateurs explicites */
hr,
[class*="__divider"],
[class*="-divider"],
.abonnement-pay__divider,
.payment-stripe-option__divider {
  display: none !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Connecteurs visuels entre étapes */
.platform-flow__step:not(:last-child)::after,
.platform-flow__steps--six .platform-flow__step:not(:last-child)::after,
.platform-flow__steps--seven .platform-flow__step:not(:last-child)::after,
.auth-or::before,
.auth-or::after,
.metiers-marquee::before,
.metiers-marquee::after {
  display: none !important;
  content: none !important;
}

/* === Interdiction globale des bordures décoratives === */
html body :where(
  *:not(.devis-table):not(.devis-table *):not(input):not(textarea):not(select):not(option):not(optgroup)
) {
  border-top-width: 0 !important;
  border-bottom-width: 0 !important;
  border-left-width: 0 !important;
  border-right-width: 0 !important;
  border-style: none !important;
}

/* Champs de saisie : bordures utiles conservées */
html body :where(
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]):not([type="color"]):not([type="file"]),
  textarea,
  select,
  .field input,
  .field textarea,
  .field select,
  .StripeElement
) {
  border-top-width: 1px !important;
  border-bottom-width: 1px !important;
  border-left-width: 1px !important;
  border-right-width: 1px !important;
  border-style: solid !important;
  border-color: var(--border, #e2e8f0) !important;
}

/* Tableau devis métier : inchangé */
.devis-table,
.devis-table th,
.devis-table td,
.devis-table tr,
.devis-table thead,
.devis-table tbody {
  border-top-width: revert !important;
  border-bottom-width: revert !important;
  border-left-width: revert !important;
  border-right-width: revert !important;
  border-style: revert !important;
  border-color: revert !important;
}

/* Profondeur sans contour (cartes, tarifs, panneaux) */
.card,
.pricing-card,
.pricing-card--popular,
.pricing-commitment,
.compare-table,
.pricing-toggle,
.upgrade-banner,
.abonnement-pay__checkout,
.promo-access-panel,
.payments-tier,
.metier-card,
.auth-card,
.bento-card,
.faq details,
.rentabilite-upgrade,
.form-section,
.export-actions,
.trust-strip,
.landing-menu__sheet,
.mobile-bottom-nav,
.site-footer .legal-footer-bar__links a {
  box-shadow: 0 4px 22px rgba(15, 23, 42, 0.07) !important;
}

.pricing-card--popular,
.payments-tier--pro {
  box-shadow: 0 14px 40px rgba(102, 101, 221, 0.16) !important;
}

.site-footer .legal-footer-bar__links a {
  box-shadow: none !important;
}

/* Tarifs : espacement listes sans traits */
.pricing-card li,
.pricing-teaser__card li,
.payments-tier__list li,
.feature-list li,
.compare-table th,
.compare-table td,
.landing-menu__row,
.data-table:not(.devis-table) th,
.data-table:not(.devis-table) td {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.compare-table tbody tr:nth-child(even),
.data-table:not(.devis-table) tbody tr:nth-child(even) {
  background: rgba(248, 250, 252, 0.85);
}

/* Boutons contour → fond léger */
.btn--outline,
.btn--ghost,
.landing-nav__link,
.landing-nav__login--prominent {
  background: rgba(15, 23, 42, 0.04) !important;
}

.landing .btn--outline.landing-nav__login--prominent {
  background: rgba(255, 255, 255, 0.12) !important;
}
