/*
 * eCaller.ai — logos, interrupteur FR/EN, lien d’accès rapide uniquement.
 * Couleurs, boutons, sections : thème Aior d’origine (assets/css/style.css).
 */

/* Responsive image safety net to prevent horizontal scroll on mobile. */
img { max-width: 100%; height: auto; }
.swiper, .swiper-wrapper, .swiper-slide { max-width: 100%; }
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
body { overflow-x: hidden; }
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #0a0f1a;
  color: #fff;
  padding: 8px 12px;
  z-index: 1000;
  text-decoration: none;
  border-radius: 0 0 4px 0;
}
.skip-link:focus { top: 0; }

.th-header .header-logo .ecaller-logo-header {
  display: block;
  height: 44px;
  width: auto;
  max-width: min(380px, 82vw);
  object-fit: contain;
}
@media (max-width: 575px) {
  .th-header .header-logo .ecaller-logo-header {
    height: 36px;
  }
}

.th-menu-wrapper .mobile-logo .ecaller-logo-mobile {
  max-width: 180px;
  height: auto;
}

.ecaller-lang-switch a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  color: inherit;
}

.ecaller-lang-switch a:hover {
  opacity: 0.85;
}

.ecaller-lang-switch a.is-active {
  font-weight: 700;
  text-decoration: underline;
}

/* Menu mobile : fond clair du drawer → texte foncé explicite */
.th-menu-wrapper .ecaller-lang-switch a {
  color: var(--title-color);
}

.th-menu-wrapper .ecaller-lang-switch a.is-active {
  color: var(--title-color);
}

/* Accessibilité : focus visible */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 99999;
  padding: 10px 16px;
  background: var(--theme-color);
  color: var(--title-color) !important;
  font-weight: 700;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

/*
 * Header une ligne — surcharge du thème (header-layout8 a des règles plus spécifiques
 * ex. padding 46px sur les liens, CTA masqué <1300px) sans modifier style.css ThemeForest.
 */
.ecaller-header-oneline.header-layout8 .menu-area.ecaller-header-oneline__bar {
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Grille : logo | zone centrale (nav centrée) | actions — évite le bloc menu collé au logo.
   1200px = bascule burger (la nav une ligne n'existe qu'à partir de xl). */
@media (min-width: 1200px) {
  .ecaller-header-oneline .ecaller-header-oneline__bar > .row {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: clamp(12px, 2vw, 28px);
  }

  .ecaller-header-oneline .ecaller-header-oneline__nav {
    display: flex !important;
    justify-content: center;
    min-width: 0;
  }

  .ecaller-header-oneline .ecaller-nav-oneline.main-menu {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 100%;
  }
}

/* Accueil : hero compact + illustration toujours visible. */
body.ecaller-home .th-hero-wrapper.hero-8 {
  overflow: visible;
}

body.ecaller-home .hero-style8 {
  padding-top: 120px;
  padding-bottom: 96px;
}

body.ecaller-home .hero-style8 .ecaller-hero-art {
  width: 100%;
  max-width: 820px;
  height: auto;
  display: block;
  margin-inline: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 44px rgba(50, 217, 200, 0.28));
}

@media (min-width: 992px) {
  body.ecaller-home .hero-style8 .ecaller-hero-art {
    max-width: 100%;
    width: 100%;
    margin-left: auto;
    margin-right: 0;
  }
}

/* Accueil : titre légèrement réduit pour laisser une grande illustration sans chevauchement. */
@media (min-width: 992px) {
  body.ecaller-home .hero-style8 .hero-title {
    font-size: clamp(34px, 3.2vw, 50px);
    line-height: 1.08;
  }
}

@media (max-width: 991px) {
  body.ecaller-home .hero-style8 {
    padding-top: 96px;
    padding-bottom: 56px;
  }

  body.ecaller-home .hero-style8 .ecaller-hero-art {
    max-width: 560px;
  }
}

@media (max-width: 575px) {
  body.ecaller-home .hero-style8 {
    padding-top: 88px;
    padding-bottom: 44px;
  }

  body.ecaller-home .hero-style8 .ecaller-hero-art {
    max-width: 480px;
  }
}

/* --- Accueil seul (hero sombre) : liens nav + FR/EN clairs tant que le header n'est pas sticky --- */
body.ecaller-home .ecaller-header-oneline.header-layout8 .sticky-wrapper:not(.sticky) .header-button .ecaller-lang-switch {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  gap: 2px;
}

body.ecaller-home .ecaller-header-oneline.header-layout8 .sticky-wrapper:not(.sticky) .header-button .ecaller-lang-switch a {
  color: rgba(255, 255, 255, 0.96) !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

body.ecaller-home .ecaller-header-oneline.header-layout8 .sticky-wrapper:not(.sticky) .header-button .ecaller-lang-switch a:hover {
  color: #fff !important;
  opacity: 1;
  text-decoration: underline;
}

body.ecaller-home .ecaller-header-oneline.header-layout8 .sticky-wrapper:not(.sticky) .header-button .ecaller-lang-switch a.is-active {
  color: #fff !important;
  text-decoration: underline;
  -webkit-text-fill-color: #fff !important;
}

/* Header sticky (fond blanc) : repasser en texte foncé */
.ecaller-header-oneline.header-layout8 .sticky-wrapper.sticky .header-button .ecaller-lang-switch {
  background: rgba(10, 15, 26, 0.06);
  border-color: rgba(10, 15, 26, 0.12);
}

.ecaller-header-oneline.header-layout8 .sticky-wrapper.sticky .header-button .ecaller-lang-switch a {
  color: var(--title-color) !important;
  -webkit-text-fill-color: var(--title-color) !important;
}

.ecaller-header-oneline.header-layout8 .sticky-wrapper.sticky .header-button .ecaller-lang-switch a.is-active {
  color: var(--title-color) !important;
  -webkit-text-fill-color: var(--title-color) !important;
}

/* Pages intérieures : fond clair dès le chargement — même style que sticky (pas de texte blanc / vert lime illisible) */
body:not(.ecaller-home) .ecaller-header-oneline.header-layout8 .sticky-wrapper:not(.sticky) .header-button .ecaller-lang-switch {
  background: rgba(10, 15, 26, 0.06);
  border: 1px solid rgba(10, 15, 26, 0.12);
  gap: 2px;
  padding: 4px 10px;
  border-radius: 999px;
}

body:not(.ecaller-home) .ecaller-header-oneline.header-layout8 .sticky-wrapper:not(.sticky) .header-button .ecaller-lang-switch a,
body:not(.ecaller-home) .ecaller-header-oneline.header-layout8 .sticky-wrapper:not(.sticky) .header-button .ecaller-lang-switch a.is-active {
  color: var(--title-color) !important;
  -webkit-text-fill-color: var(--title-color) !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

body:not(.ecaller-home) .ecaller-header-oneline.header-layout8 .sticky-wrapper:not(.sticky) .header-button .ecaller-lang-switch a:hover {
  color: #0b3d5c !important;
  -webkit-text-fill-color: #0b3d5c !important;
  text-decoration: underline;
}

body:not(.ecaller-home) .ecaller-header-oneline .th-menu-toggle {
  color: var(--title-color) !important;
}

body:not(.ecaller-home) .ecaller-header-oneline .th-menu-toggle:hover {
  color: #0b3d5c !important;
}

/* Lockup texte noir : pastille blanche pour contraste sur le hero sombre. */
.ecaller-header-oneline .ecaller-logo-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px 4px 10px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.ecaller-logo-lockup {
  display: inline-block;
  line-height: 0;
}

.ecaller-header-oneline .ecaller-logo-pill .ecaller-logo-header {
  height: 34px;
  max-width: min(320px, 52vw);
  object-fit: contain;
}

@media (min-width: 1200px) {
  .ecaller-header-oneline .ecaller-logo-pill .ecaller-logo-header {
    height: 38px;
    max-width: min(360px, 34vw);
  }
}

.ecaller-nav-oneline .main-menu ul {
  display: flex !important;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: clamp(6px, 1.2vw, 16px);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Thème .main-menu > ul > li a { padding 46px } — neutraliser pour une barre compacte */
.ecaller-header-oneline.header-layout8 .ecaller-nav-oneline.main-menu > ul > li {
  margin: 0 !important;
  display: inline-block;
}

.ecaller-header-oneline.header-layout8 .ecaller-nav-oneline.main-menu > ul > li > a {
  padding: 10px 4px !important;
  white-space: nowrap;
  font-size: clamp(15px, 1.35vw, 18px) !important;
  font-weight: 500 !important;
  text-transform: none !important;
  line-height: 1.25;
}

/* Survol : pas de vert lime theme7 sur fond clair — teal foncé lisible */
.ecaller-header-oneline.header-layout8 .ecaller-nav-oneline.main-menu > ul > li > a:hover {
  font-size: clamp(15px, 1.35vw, 18px) !important;
  font-weight: 600 !important;
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
}

body.ecaller-home .ecaller-header-oneline.header-layout8 .sticky-wrapper:not(.sticky) .ecaller-nav-oneline.main-menu > ul > li > a:hover {
  -webkit-text-fill-color: #f0ffe0 !important;
  color: #f0ffe0 !important;
}

body.ecaller-home .ecaller-header-oneline.header-layout8 .sticky-wrapper.sticky .ecaller-nav-oneline.main-menu > ul > li > a:hover,
body:not(.ecaller-home) .ecaller-header-oneline.header-layout8 .ecaller-nav-oneline.main-menu > ul > li > a:hover {
  -webkit-text-fill-color: #0b3d5c !important;
  color: #0b3d5c !important;
}

/* Accueil + hero sombre : liens blancs tant que non sticky */
body.ecaller-home .ecaller-header-oneline.header-layout8 .sticky-wrapper:not(.sticky) .ecaller-nav-oneline.main-menu > ul > li > a {
  color: rgba(255, 255, 255, 0.92) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.92) !important;
}

/* Pages intérieures : toujours texte foncé (le header flotte sur fond clair) */
body:not(.ecaller-home) .ecaller-header-oneline.header-layout8 .sticky-wrapper:not(.sticky) .ecaller-nav-oneline.main-menu > ul > li > a,
body:not(.ecaller-home) .ecaller-header-oneline.header-layout8 .sticky-wrapper.sticky .ecaller-nav-oneline.main-menu > ul > li > a {
  color: var(--title-color) !important;
  -webkit-text-fill-color: var(--title-color) !important;
}

.ecaller-header-oneline.header-layout8 .sticky-wrapper.sticky .ecaller-nav-oneline.main-menu > ul > li > a {
  color: var(--title-color) !important;
  -webkit-text-fill-color: var(--title-color) !important;
}

.ecaller-header-oneline .ecaller-header-user {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(236, 238, 242, 0.98);
  color: var(--title-color);
  transition: opacity 0.2s ease;
}

.ecaller-header-oneline .ecaller-header-user:hover {
  opacity: 0.88;
}

/* Theme masque .header-layout8 .header-button .th-btn2 sous 1299px */
.ecaller-header-oneline.header-layout8 .header-button .th-btn2.btn-gradient {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 10px 16px !important;
  font-size: 14px !important;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  text-transform: none !important;
  color: #0d1117 !important;
  background: linear-gradient(90deg, #c4eb37 0%, #32d9c8 100%) !important;
  -webkit-text-fill-color: #0d1117 !important;
}

.ecaller-header-oneline.header-layout8 .header-button .th-btn2.btn-gradient:hover {
  color: #0d1117 !important;
  -webkit-text-fill-color: #0d1117 !important;
  background: linear-gradient(90deg, #32d9c8 0%, #c4eb37 100%) !important;
}

@media (max-width: 1299px) {
  .ecaller-header-oneline.header-layout8 .header-button .th-btn2.btn-gradient {
    display: inline-flex !important;
  }
}

/* Footer : logo lockup version sombre directement sur le fond navy. */
.footer-wrapper .footer-logo .ecaller-logo-footer {
  display: block;
  height: auto;
  width: auto;
  max-width: min(280px, 78vw);
}
@media (max-width: 575px) {
  .footer-wrapper .footer-logo .ecaller-logo-footer {
    max-width: min(220px, 70vw);
  }
}

/* Section « Intégrations » : pastille blanche + halo vert autour du picto eCaller central. */
.integration-wrapp .integration-logo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 6px rgba(196, 235, 55, 0.18),
    0 0 28px rgba(50, 217, 200, 0.35),
    0 8px 24px rgba(10, 15, 26, 0.10);
}

.integration-wrapp .integration-logo .ecaller-integration-hub {
  width: 78px;
  height: 78px;
  object-fit: contain;
  display: block;
}

/* Section « Fonctionnalités » : équilibre les 6 cartes (le mask shape n’étire pas la hauteur tout seul). */
.feature-area2 .row > [class*="col-"] {
  display: flex;
}
.feature-area2 .feature-grid4 {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Section « Comment ça marche » : illustration sombre dans une carte arrondie. */
.ecaller-process-card {
  display: flex;
  justify-content: center;
}

.ecaller-process-card img {
  width: 100%;
  max-width: 640px;
  height: auto;
  display: block;
  border-radius: 24px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 30px 80px rgba(10, 15, 26, 0.18),
    0 6px 18px rgba(10, 15, 26, 0.10);
}

/* === Tarifs : grille 4 cartes + table comparative ============================== */
/* 4 cartes dans une rangée XL — le thème prévoyait col-xl-4, on resserre. */
.ecaller-pricing-cards .price-card.style2 {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.ecaller-pricing-cards .price-card.style2 .available-list {
  flex: 1 1 auto;
}
@media (min-width: 1200px) {
  .ecaller-pricing-cards .price-card.style2 {
    padding-left: 24px;
    padding-right: 24px;
  }
  .ecaller-pricing-cards .price-card.style2 .box-title {
    font-size: 22px;
  }
  .ecaller-pricing-cards .price-card.style2 .box-price {
    font-size: 36px;
  }
}

/* Badge « Plan populaire » : le thème le colle en haut à droite au même niveau que le titre
   (chevauchement). On le centre au-dessus du bloc prix/titre et on réserve la hauteur. */
.ecaller-pricing-cards .price-card.style2.active .offer-tag {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  z-index: 3;
}
.ecaller-pricing-cards .price-card.style2.active .box-content {
  padding-top: 52px;
}
@media (max-width: 991px) {
  .ecaller-pricing-cards .price-card.style2.active .offer-tag {
    top: 16px;
  }
  .ecaller-pricing-cards .price-card.style2.active .box-content {
    padding-top: 48px;
  }
}

/* Mention "Sur devis / Custom quote" : le thème ajoute un préfixe DH absolu — on le neutralise. */
.ecaller-pricing-cards .price-card.style2 .box-price .dollar:empty,
.ecaller-pricing-cards .price-card.style2 .box-price .duration:empty {
  display: none;
}

/* Table comparative ----------------------------------------------------------- */
.ecaller-pricing-table-wrap {
  overflow-x: auto;
  border-radius: 20px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 24px 60px rgba(10, 15, 26, 0.08),
    0 4px 14px rgba(10, 15, 26, 0.05);
  background: #ffffff;
  -webkit-overflow-scrolling: touch;
}

.ecaller-pricing-table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
  font-family: inherit;
  color: #0a0f1a;
}

.ecaller-pricing-table thead th {
  font-weight: 700;
  font-size: 18px;
  padding: 22px 18px;
  text-align: center;
  background: #f6f8fb;
  color: #0a0f1a;
  border-bottom: 1px solid #e6ecf3;
  position: sticky;
  top: 0;
}

.ecaller-pricing-table thead th:first-child {
  background: #f6f8fb;
  text-align: left;
}

.ecaller-pricing-table thead th.ec-popular {
  background: linear-gradient(180deg, rgba(196, 235, 55, 0.20) 0%, rgba(50, 217, 200, 0.12) 100%);
  color: #0a0f1a;
  position: relative;
}

.ecaller-pricing-table thead th.ec-popular::after {
  content: "";
  position: absolute;
  inset: 0 0 -1px 0;
  border-bottom: 2px solid #c4eb37;
  pointer-events: none;
}

.ecaller-pricing-table tbody th {
  text-align: left;
  font-weight: 600;
  padding: 16px 20px;
  color: #0a0f1a;
  background: #fbfcfe;
  border-bottom: 1px solid #eef2f7;
  width: 28%;
}

.ecaller-pricing-table tbody td {
  text-align: center;
  padding: 16px 18px;
  color: #2a3447;
  border-bottom: 1px solid #eef2f7;
  font-size: 15.5px;
  font-weight: 500;
}

.ecaller-pricing-table tbody tr:last-child th,
.ecaller-pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.ecaller-pricing-table tbody tr:nth-child(even) th {
  background: #fff;
}
.ecaller-pricing-table tbody tr:nth-child(even) td {
  background: #fbfcfe;
}

/* Colonne Pro mise en avant : léger fond vert sur toutes les lignes. */
.ecaller-pricing-table tbody td:nth-child(3) {
  background: rgba(196, 235, 55, 0.06);
  font-weight: 600;
}
.ecaller-pricing-table tbody tr:nth-child(even) td:nth-child(3) {
  background: rgba(196, 235, 55, 0.10);
}

.ecaller-pricing-table .ec-yes {
  color: #1aa86b;
  font-weight: 800;
  font-size: 18px;
}
.ecaller-pricing-table .ec-no {
  color: #b6bdc7;
  font-weight: 600;
}

/* Sous-section "Tarifs d'appel" dans les cartes price-card : separateur visuel
   (mini label uppercase + trait fin) pour distinguer les frais d'usage du reste
   des features incluses dans le forfait. */
.ecaller-pricing-cards .price-card .available-list li.ec-section-label {
  list-style: none;
  margin: 14px 0 4px;
  padding: 10px 0 4px;
  border-top: 1px solid rgba(10, 15, 26, 0.10);
  color: #5a6473;
  font-family: 'Sora', 'Urbanist', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.ecaller-pricing-cards .price-card .available-list li.ec-section-label::before {
  display: none !important;
}
.ecaller-pricing-cards .price-card.active .available-list li.ec-section-label {
  border-top-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 575.98px) {
  .ecaller-pricing-table {
    font-size: 14px;
  }
  .ecaller-pricing-table thead th,
  .ecaller-pricing-table tbody th,
  .ecaller-pricing-table tbody td {
    padding: 12px 10px;
    font-size: 13.5px;
  }
}

/* === Preloader « eCaller » : overrides palette de marque ======================== */
/* Le thème original utilise un mix violet/magenta/jaune (#7B5DFF, #FF1CA4, #C726FD,
   #D4FF12, #4E0055). On le remplace par notre navy + lime + teal. */

#preloader {
  background: #0a0f1a;
}

.preloader-bg,
.preloader-bg-one,
.preloader-bg-two {
  background-color: #0a0f1a;
}

/* Lettres "eCaller" : blanc + glow lime au sweep d'animation. */
.loader-wrapper {
  color: #ffffff;
}

/* Pinstripe vertical : passe du --theme-color theme à notre lime. */
.loader {
  -webkit-mask: repeating-linear-gradient(90deg, transparent 0, transparent 6px, #c4eb37 6px, #c4eb37 9px);
          mask: repeating-linear-gradient(90deg, transparent 0, transparent 6px, #c4eb37 6px, #c4eb37 9px);
}

/* Blob coloré derrière la grille : remplace les violets/roses par lime + teal. */
.loader::after {
  background-image:
    radial-gradient(circle at 50% 50%, rgba(196, 235, 55, 0.95) 0%, transparent 50%),
    radial-gradient(circle at 45% 45%, rgba(50, 217, 200, 0.9) 0%, transparent 45%),
    radial-gradient(circle at 55% 55%, rgba(196, 235, 55, 0.7) 0%, transparent 45%),
    radial-gradient(circle at 45% 55%, rgba(50, 217, 200, 0.55) 0%, transparent 45%),
    radial-gradient(circle at 55% 45%, rgba(10, 15, 26, 0.6) 0%, transparent 45%);
}

/* === Pages légales (privacy, terms, cndp) ====================================== */
.ecaller-legal-page {
  background: #f7f8fb;
  color: #0a0f1a;
  font-family: 'Urbanist', 'Work Sans', system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  scroll-behavior: smooth;
}

.ecaller-legal-page .navbar-brand .fw-bold {
  font-family: 'Sora', 'Urbanist', sans-serif;
  letter-spacing: -0.01em;
}

.ecaller-legal-article {
  max-width: 820px;
  background: #ffffff;
  border-radius: 20px;
  padding: clamp(28px, 5vw, 56px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.8) inset,
    0 24px 60px rgba(10,15,26,0.05),
    0 4px 14px rgba(10,15,26,0.04);
  margin-bottom: 48px;
}

.ecaller-legal-article h1 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -0.02em;
  color: #0a0f1a;
  margin-top: 6px;
}

.ecaller-legal-article h2 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 24px);
  letter-spacing: -0.01em;
  padding-left: 14px;
  border-left: 4px solid #c4eb37;
  scroll-margin-top: 80px;
}

.ecaller-legal-article h3 {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  color: #2a3447;
}

.ecaller-legal-article p,
.ecaller-legal-article li {
  color: #2a3447;
  font-size: 15.5px;
}

.ecaller-legal-article ul,
.ecaller-legal-article ol {
  padding-left: 1.4rem;
}

.ecaller-legal-article ul li,
.ecaller-legal-article ol li {
  margin-bottom: 6px;
}

.ecaller-legal-article a {
  color: #1a8b76;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(50, 217, 200, 0.45);
}

.ecaller-legal-article a:hover {
  color: #0a0f1a;
  text-decoration-color: #c4eb37;
}

.ecaller-legal-article details {
  background: #fbfcfe !important;
  border: 1px solid #e6ecf3 !important;
}

.ecaller-legal-article details > summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding-right: 28px;
}
.ecaller-legal-article details > summary::-webkit-details-marker { display: none; }
.ecaller-legal-article details > summary::after {
  content: "▾";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: #1a8b76;
  transition: transform .2s ease;
}
.ecaller-legal-article details[open] > summary::after {
  transform: translateY(-50%) rotate(180deg);
}

.ecaller-legal-article code {
  background: rgba(196, 235, 55, 0.18);
  color: #0a0f1a;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

.ecaller-legal-article .table {
  margin-top: 12px;
  border: 1px solid #eef2f7;
  border-radius: 10px;
  overflow: hidden;
  font-size: 14.5px;
}
.ecaller-legal-article .table thead th {
  background: #f6f8fb;
  font-weight: 700;
  color: #0a0f1a;
}

.ecaller-legal-article .badge.text-bg-dark {
  background: #0a0f1a !important;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 11px;
  padding: 6px 10px;
}

.ecaller-legal-page .skip-link {
  position: absolute;
  left: -9999px;
}
.ecaller-legal-page .skip-link:focus {
  left: 8px;
  top: 8px;
  background: #0a0f1a;
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  z-index: 9999;
}

/* Redéfinit le keyframe pour la lueur lime au lieu de la lueur beige (#8d8379). */
@keyframes loader-letter-anim {
  0% {
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 0;
  }
  5% {
    opacity: 1;
    text-shadow: 0 0 12px rgba(196, 235, 55, 0.85), 0 0 24px rgba(50, 217, 200, 0.45);
    -webkit-filter: blur(0px);
            filter: blur(0px);
    -webkit-transform: scale(1.1) translateY(-2px);
            transform: scale(1.1) translateY(-2px);
  }
  20% {
    opacity: 0.2;
    -webkit-filter: blur(0px);
            filter: blur(0px);
  }
  100% {
    -webkit-filter: blur(5px);
            filter: blur(5px);
    opacity: 0;
  }
}
@-webkit-keyframes loader-letter-anim {
  0% {
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 0;
  }
  5% {
    opacity: 1;
    text-shadow: 0 0 12px rgba(196, 235, 55, 0.85), 0 0 24px rgba(50, 217, 200, 0.45);
    -webkit-filter: blur(0px);
            filter: blur(0px);
    -webkit-transform: scale(1.1) translateY(-2px);
            transform: scale(1.1) translateY(-2px);
  }
  20% {
    opacity: 0.2;
    -webkit-filter: blur(0px);
            filter: blur(0px);
  }
  100% {
    -webkit-filter: blur(5px);
            filter: blur(5px);
    opacity: 0;
  }
}

/* === Eyebrow « pill » sur les titres de section ================================== */
/* Override du .sub-title.style3 d'Aior : passe d'un texte plat à une pastille
   pastel (dégradé lime → teal atténué) avec halo doux. Reste centré dans les
   blocs .title-area.text-center. Sur fond sombre on inverse pour la lisibilité. */
.sub-title.style3 {
  display: inline-block;
  vertical-align: middle;
  padding: 7px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(196, 235, 55, 0.16) 0%, rgba(50, 217, 200, 0.20) 100%);
  border: 1px solid rgba(50, 217, 200, 0.28);
  color: #0a0f1a;
  font-family: 'Sora', 'Urbanist', system-ui, sans-serif;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: normal;
  box-shadow:
    0 4px 14px rgba(50, 217, 200, 0.10),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  margin-bottom: 14px;
}

/* GSAP SplitText (text-anime-style-2) découpe chaque mot en .word et
   chaque caractère en .char. On garde inline-block partout pour préserver
   les text-nodes espace que SplitText insère entre les .word. */
.sub-title.style3 .word,
.sub-title.style3 .char {
  display: inline-block;
}

@media (min-width: 768px) {
  .sub-title.style3 {
    padding: 7px 20px;
    font-size: 13.5px;
  }
}

/* Variantes sur sections sombres (hero, footer, blocs navy) : inversion contraste. */
.bg-theme .sub-title.style3,
.bg-smoke2 .sub-title.style3,
.dark-bg .sub-title.style3,
[data-bg-src] .sub-title.style3 {
  background: linear-gradient(135deg, rgba(196, 235, 55, 0.22) 0%, rgba(50, 217, 200, 0.28) 100%);
  border-color: rgba(196, 235, 55, 0.35);
  color: #ffffff;
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

/* Logos d'intégrations : les nouveaux PNG/SVG (Shopify, Google Sheets, Wix,
   Flash Manager, Qunvert, YouCan, LightFunnels) doivent rester centrés dans
   leurs pastilles circulaires (180/150/120px) sans déborder ni paraître
   minuscules. On standardise via max-width/max-height en % du conteneur. */
.integration-area .integration-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.integration-area .integration-icon img {
  max-width: 58%;
  max-height: 58%;
  width: auto;
  height: auto;
  object-fit: contain;
}
@media (max-width: 1199px) {
  .integration-area .integration-icon img {
    max-width: 60%;
    max-height: 60%;
  }
}
@media (max-width: 991px) {
  .integration-area .integration-icon img {
    max-width: 64%;
    max-height: 64%;
  }
}

/* === Hub d'aiguillage (index.html) ============================================= */
body.ecaller-home .ecaller-hub-hero .hero-style8 {
  padding-top: clamp(84px, 10vh, 112px);
  padding-bottom: 64px;
}

@media (max-width: 991px) {
  body.ecaller-home .ecaller-hub-hero .hero-style8 {
    padding-top: 96px;
    padding-bottom: 48px;
  }
}

.ecaller-route-row {
  margin-top: 36px;
}

/* Cartes de routage — base (sections claires) */
.ecaller-route-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: clamp(22px, 3.5vw, 34px) clamp(20px, 3vw, 30px);
  border: 1px solid rgba(11, 61, 92, 0.25);
  border-radius: 18px;
  background: #fff;
  text-align: left;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.ecaller-route-card:hover,
.ecaller-route-card:focus-visible {
  border-color: #1a8b76;
  background: #f6f8fb;
  transform: translateY(-2px);
}

.ecaller-route-card__title {
  font-family: 'Sora', 'Urbanist', sans-serif;
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 700;
  color: #0a0f1a;
}

.ecaller-route-card__text {
  font-size: 15px;
  line-height: 1.5;
  color: #2a3447;
}

.ecaller-route-card__cta {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #1a8b76;
}

.ecaller-route-card__cta i {
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.ecaller-route-card:hover .ecaller-route-card__cta i {
  transform: translateX(4px);
}

/* Cartes de routage — variante hero sombre */
.ecaller-hub-hero .ecaller-route-card {
  border-color: rgba(196, 235, 55, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.ecaller-hub-hero .ecaller-route-card:hover,
.ecaller-hub-hero .ecaller-route-card:focus-visible {
  border-color: #c4eb37;
  background: rgba(196, 235, 55, 0.08);
}

.ecaller-hub-hero .ecaller-route-card__title {
  color: #fff;
}

.ecaller-hub-hero .ecaller-route-card__text {
  color: rgba(240, 255, 224, 0.8);
}

.ecaller-hub-hero .ecaller-route-card__cta {
  color: #c4eb37;
}

.ecaller-hub-proof {
  padding: 18px 0;
  border-top: 1px solid #eef2f7;
  border-bottom: 1px solid #eef2f7;
}

.ecaller-hub-proof__text {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2a3447;
}

/* Cartes cas d'usage cliquables (réutilisent feature-grid4). */
.ecaller-usecase-card {
  display: block;
  height: 100%;
  text-decoration: none;
}

.ecaller-usecase-card__cta {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #1a8b76;
}

.ecaller-usecase-card__cta i {
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.ecaller-usecase-card:hover .ecaller-usecase-card__cta i {
  transform: translateX(4px);
}

/* FAQ native details/summary, sans JS. */
.ecaller-hub-faq__item {
  margin-bottom: 12px;
  border: 1px solid #e6ecf3;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.ecaller-hub-faq__q {
  padding: 18px 22px 18px 22px;
  padding-right: 48px;
  font-family: 'Sora', 'Urbanist', sans-serif;
  font-size: 16.5px;
  font-weight: 600;
  color: #0a0f1a;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.ecaller-hub-faq__q::-webkit-details-marker {
  display: none;
}

.ecaller-hub-faq__q::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 600;
  color: #1a8b76;
}

.ecaller-hub-faq__item[open] .ecaller-hub-faq__q::after {
  content: "−";
}

.ecaller-hub-faq__a {
  margin: 0;
  padding: 0 22px 18px;
  color: #2a3447;
  line-height: 1.6;
}

/* Hub : conserve la casse rédigée des titres (le thème force capitalize). */
#how-it-works .box-title,
#why-ecaller .box-title,
#use-cases .box-title,
#solutions .box-title,
#process-solutions .box-title {
  text-transform: none;
}

/* Nav one-line : flex strict, jamais de retour à la ligne (burger sous 1200px). */
.ecaller-header-oneline.header-layout8 .ecaller-nav-oneline.main-menu > ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: clamp(6px, 1vw, 18px);
  margin: 0;
  padding: 0;
}

.ecaller-header-oneline.header-layout8 .ecaller-nav-oneline.main-menu > ul > li > a {
  font-size: clamp(14px, 1.15vw, 17px) !important;
  padding: 10px 2px !important;
}

.ecaller-header-oneline.header-layout8 .ecaller-nav-oneline.main-menu > ul > li > a:hover {
  font-size: clamp(14px, 1.15vw, 17px) !important;
}

/* Hub : illustration robot SVG (vectoriel, ~9 Ko, animations CSS internes). */
.ecaller-hub-hero__art {
  width: clamp(420px, 42vw, 620px);
  max-width: none;
  height: auto;
}

@media (max-width: 991px) {
  .ecaller-hub-hero__art {
    width: min(86vw, 440px);
  }
}

.ecaller-hub-hero .hero-text {
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 992px) {
  .ecaller-hub-hero .hero-text {
    margin-left: 0;
    margin-right: 0;
  }
}
