/* =========================================
   Evenco — Marketing Public (2026)
   Layout + composants (produits + FAQ)
   IMPORTANT:
   - Typographies = evenco.css (source de vérité)
   - Ici: structure / spacing / surfaces / UI composants
========================================= */

/* =========================
   0) Tokens (marketing-only)
========================= */
:root{
  --ev-mkt-container: 1120px;
  --ev-mkt-pad-x: 1.25rem; /* 20px mobile */
  --ev-mkt-pad-x-lg: 1.5rem; /* 24px desktop */
}

/* =========================
   1) Helpers / boutons
========================= */
.btn-product{ margin: 1.25rem 0; }
.btn-product-final{
  margin: 1.25rem 0;
  background:#fff;
  color: var(--ev-color-brand-pink);
}

/* Neutraliser les limites de largeur héritées */
.ev-main-content main .max-w-6xl,
.ev-main-content main .container,
.ev-main-content main .ev-content,
.ev-main-content main .content,
.ev-main-content main .ev-main,
.ev-main-content main .max-w-7xl{
  max-width: none !important;
}

/* =========================
   Marketing Container (source unique largeur)
========================= */

.ev-container{
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 1.5rem; /* respirations mobile */
}

/* =========================
   3) Container + Sections (foundation)
   (on utilisera ça partout côté HTML)
========================= */
.ev-container{
  width: min(var(--ev-mkt-container), 100%);
  margin-inline: auto;
  padding-inline: var(--ev-mkt-pad-x);
}

@media (min-width: 900px){
  .ev-container{ padding-inline: var(--ev-mkt-pad-x-lg); }
}

.ev-section{
  text-align: left; /* défaut = gauche */
}

.ev-section--center{ }
.ev-section--tight{ padding-block: clamp(2rem, 3vw, 3.25rem); }
.ev-section--loose{ padding-block: clamp(3.25rem, 5vw, 5.5rem); }

/* Head standard */
.ev-section-head{
  display: grid;
  gap: .65rem;
  margin-bottom: clamp(1.25rem, 2vw, 1.75rem);
}
.ev-section--center .ev-section-head{ justify-items: center; }

/* Largeurs de lecture confort */
.ev-section-lead{ max-width: 62ch; }
.ev-prose{
  margin-top: 1.125rem;
}
.ev-section--center .ev-prose{ margin-inline: auto; }
.ev-prose p + p{ margin-top: .625rem; }

/* =========================
   4) HERO (mesh)
========================= */
.ev-hero{
  position: relative;
  overflow: hidden;
  padding: 10rem 0 3rem;
  background:
    radial-gradient(900px 520px at 82% 40%, rgba(239,10,106,.16), transparent 56%),
    radial-gradient(740px 520px at 12% 64%, rgba(182,53,156,.10), transparent 60%),
    linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0));
}
.dark .ev-hero{
  background:
    radial-gradient(900px 520px at 82% 40%, rgba(239,10,106,.22), transparent 56%),
    radial-gradient(740px 520px at 12% 64%, rgba(182,53,156,.12), transparent 60%),
    linear-gradient(to bottom, rgba(2,6,23,0), rgba(2,6,23,0));
}

/* Layout hero: mobile = 1 col, desktop = 2 cols */
.ev-hero-inner{
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.375rem;
  align-items: start;
}
@media (min-width: 980px){
  .ev-hero-inner{ grid-template-columns: 1.1fr .9fr; }
}

/* Container: centre le hero dans la page (mais texte reste à gauche) */
.ev-hero-container{
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Texte: ferré à gauche, même si le parent est centré ailleurs */
.ev-hero-text{
  display: flex;
  text-align: left;
  flex-direction: column;
  gap: 10px;
}

/* CTA: aligné à gauche */
.ev-hero-cta{
  margin-top: 1.25rem;
  display: grid;
  gap: .5rem;
  justify-items: start;
}

/* Micro sous CTA : on ne dépend pas d'une classe "ev-micro" typo */
.ev-hero-micro{
  margin: 0;
  color: rgba(100,116,139,.9);
}
.dark .ev-hero-micro{ color: rgba(203,213,225,.75); }

/* Placeholder visuel si pas de template */
.ev-hero-visual-placeholder{
  width: 100%;
  border-radius: 18px;
}
.dark .ev-hero-visual-placeholder{
  border-color: rgba(51,65,85,.65);
  background: rgba(2,6,23,.35);
}

/* =========================
   5) Panels (premium)
========================= */
.ev-panel{
  border-radius: 22px;
  border: 1px solid rgba(226,232,240,.85);
  background: rgba(255,255,255,.78);
  box-shadow: 0 22px 70px rgba(15,23,42,.10);
  backdrop-filter: blur(10px);
  padding: 1rem;
}
.dark .ev-panel{
  border-color: rgba(51,65,85,.65);
  background: rgba(15,23,42,.40);
  box-shadow: none;
}

.ev-panel-soft{ padding: 1.125rem; }

.ev-panel-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 1rem;
  margin-bottom: .75rem;
}

.ev-pill{
  padding: .375rem .625rem;
  border-radius: 999px;
  color:#fff;
  background: linear-gradient(135deg, #ef0a6a, #b6359c);
}

/* Visuel */
.ev-shot{
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(226,232,240,.85);
  background: rgba(248,250,252,.9);
}
.dark .ev-shot{
  border-color: rgba(51,65,85,.65);
  background: rgba(2,6,23,.5);
}
.ev-shot img{ width:100%; display:block; }

/* Mini metrics (layout only) */
.ev-mini-metrics{
  margin-top: .75rem;
  display:grid;
  grid-template-columns: 1fr;
  gap: .625rem;
}
@media (min-width: 980px){
  .ev-mini-metrics{ grid-template-columns: repeat(3, 1fr); }
}

.ev-mini{
  border-radius: 16px;
  border: 1px solid rgba(226,232,240,.85);
  background: rgba(248,250,252,.85);
  padding: .625rem .75rem;
}
.dark .ev-mini{
  border-color: rgba(51,65,85,.65);
  background: rgba(2,6,23,.35);
}

/* =========================
   6) Lien CTA secondaire
========================= */
.ev-cta-link{
  color: rgba(239,10,106,.95);
  text-decoration: none;
}
.ev-cta-link:hover{ text-decoration: underline; }

/* =========================
   7) Benefits grid
   (on garde ton rendu, mais mobile-first)
========================= */
.ev-benefits{
  margin-top: 1.125rem;
  display: grid;
  gap: .75rem;
  padding-block: 3.125rem;
}

/* mobile: 1 colonne */
.ev-benefit{
  border-radius: 18px;
  border: 1px solid rgba(226,232,240,.9);
  background: rgba(255,255,255,.72);
  padding: 1.125rem;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.dark .ev-benefit{
  border-color: rgba(51,65,85,.65);
  background: rgba(15,23,42,.25);
}

/* desktop: 3 colonnes (≈ ton width:30%) */
@media (min-width: 980px){
  .ev-benefits{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .875rem;
  }
}

/* Tag benefit (UI) */
.ev-benefit-tag{
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(239,10,106,.95);
  margin-bottom: .375rem;
}
.svg{ display:inline-block; vertical-align: sub; margin: 0 .625rem 0 0; }

/* =========================
   8) Split layout (comment ça marche)
========================= */
.ev-split{
  display:grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items:start;
}
@media (min-width: 980px){
  .ev-split{ grid-template-columns: 1.05fr .95fr; }
}

/* =========================
   9) Steps (layout + pastille)
========================= */
.ev-steps{
  margin-top: 1.125rem;
  display:grid;
  gap: .75rem;
}
.ev-steps li{
  display:flex;
  gap: .75rem;
  align-items:flex-start;
}

.ev-step-n{
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#0f172a;
  color:#fff;
}
.dark .ev-step-n{ background:#fff; color:#0f172a; }

/* =========================
   10) Table wrap (container marketing)
========================= */
.ev-table-wrap{
  margin-top: 1.125rem;
  border-radius: 22px;
  border: 1px solid rgba(226,232,240,.9);
  background: rgba(255,255,255,.72);
  overflow: hidden;
}
.dark .ev-table-wrap{
  border-color: rgba(51,65,85,.65);
  background: rgba(15,23,42,.25);
}
.ev-footnote{ padding: .75rem .875rem .875rem; }

/* =========================
   11) Final CTA (layout)
========================= */
.ev-section-final{ padding: 100px 0 0;}

.ev-final{
  background: var(--ev-gradient-brand);
  padding: 3.125rem;
  text-align:center;
}
.dark .ev-final{
  background:
    radial-gradient(700px 260px at 20% 40%, rgba(239,10,106,.18), transparent 62%),
    radial-gradient(700px 260px at 80% 60%, rgba(182,53,156,.12), transparent 62%),
    rgba(15,23,42,.25);
}

/* =========================================================
   FAQ — scope (composants only)
========================================================= */
.ev-faq,
.ev-faq *{ box-sizing: border-box; }

/* Neutraliser containers hérités (FAQ seulement) */
.ev-faq .max-w-6xl,
.ev-faq .container,
.ev-faq .max-w-7xl,
.ev-faq .ev-content,
.ev-faq .content{
  max-width: none !important;
}

/* On s’aligne sur ev-container */
.ev-faq .ev-faq-inner{
  width: min(var(--ev-mkt-container), 100%);
}

/* Filtres */
.ev-faq .ev-faq-filters{
  margin-top: 1rem;
  width: 100%;
}

.ev-faq .ev-faq-search{
  position: relative;
  width: 100%;
  margin-top: .625rem;
}

/* Cache croix native */
.ev-faq input[type="search"]::-webkit-search-cancel-button,
.ev-faq input[type="search"]::-webkit-search-decoration{
  -webkit-appearance: none;
  appearance: none;
}
.ev-faq input[type="search"]::-ms-clear{ display:none; }

.ev-faq .ev-faq-search-input{
  width: 100%;
  border: 1px solid rgba(226,232,240,.95);
  background: rgba(255,255,255,.85);
  border-radius: 16px;
  padding: .75rem 5.375rem .75rem .875rem;
  outline: none;
  box-shadow: 0 12px 40px rgba(15,23,42,.06);
}
.ev-faq .ev-faq-search-input:focus{
  border-color: rgba(239,10,106,.35);
  box-shadow: 0 0 0 4px rgba(239,10,106,.12), 0 12px 40px rgba(15,23,42,.06);
}

.ev-faq .ev-faq-kbd{
  position:absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(100,116,139,.85);
  pointer-events:none;
}

.ev-faq .ev-faq-clear{
  position:absolute;
  right: 44px;
  top: 50%;
  transform: translateY(-50%);
  border: 0 !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: none; /* géré par JS */
  place-items: center;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: rgba(100,116,139,.85);
}
.ev-faq .ev-faq-clear:hover{
  background: rgba(15,23,42,.05) !important;
  color: rgba(15,23,42,.75);
}

/* Ligne meta */
.ev-faq .ev-faq-row{
  width: 100%;
  display:flex;
  gap: .625rem;
  align-items:center;
  flex-wrap: wrap;
  margin-top: .625rem;
}
.ev-faq .ev-faq-meta{
  margin-left: auto;
  display:flex;
  gap: .625rem;
  align-items:center;
}

.ev-faq .ev-faq-count{
  padding: .375rem .625rem;
  border-radius: 999px;
  border: 1px solid rgba(226,232,240,.95);
  background: rgba(255,255,255,.72);
  color: rgba(15,23,42,.78);
}

/* Chips */
.ev-faq .ev-faq-cat-chips{
  display:flex;
  flex-wrap:wrap;
  gap: .5rem;
  margin-top: .75rem;
  width: 100%;
}
.ev-faq .ev-chip{
  border-radius: 999px;
  border: 1px solid rgba(226,232,240,.95);
  background: rgba(255,255,255,.78);
  padding: .4375rem .625rem;
  cursor:pointer;
}
.ev-faq .ev-chip:hover{ background: rgba(248,250,252,1); }
.ev-faq .ev-chip--active{
  border-color: rgba(239,10,106,.25);
  background: rgba(239,10,106,.10);
}

/* Highlight */
.ev-faq mark.ev-hl{
  background: rgba(239,10,106,.18);
  color: inherit;
  padding: 0 .12em;
  border-radius: 6px;
}

/* Contenu */
.ev-faq .ev-faq-wrap{
  overflow: visible !important;
}

.ev-faq .ev-faq-section{ margin-top: 1.625rem; }

.ev-faq .ev-faq-list{ border-top: 1px solid rgba(226,232,240,.95); }

.ev-faq .ev-faq-item{
  border: 0;
  border-bottom: 1px solid rgba(226,232,240,.95);
  padding: .875rem 0;
  background: transparent;
}

.ev-faq .ev-faq-q{
  list-style:none;
  cursor:pointer;
  display:grid;
  grid-template-columns: 1fr auto;
  align-items:center;
  gap: .875rem;
  padding: 0;
}
.ev-faq .ev-faq-q::-webkit-details-marker{ display:none; }
.ev-faq summary::-webkit-details-marker{ display:none; }
.ev-faq summary::marker{ content:""; }

/* Icône + / - */
.ev-faq .ev-faq-q-icon{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(226,232,240,.95);
  background: rgba(248,250,252,.9);
  display: grid;
  place-items: center;
  position: relative;
}
.ev-faq .ev-faq-q-icon::after{ content:none !important; display:none !important; }
.ev-faq .ev-faq-q-icon::before{
  content:"+";
  font-weight: 700;
  color: rgba(51,65,85,.75);
  line-height: 1;
}
.ev-faq details[open] .ev-faq-q-icon::before{ content:"–"; }

/* Réponse (layout only; typo via .ev-text en HTML) */
.ev-faq .ev-faq-a{
  margin-top: .625rem;
  padding-bottom: .125rem;
  max-width: 82ch;
}

/* CKEditor spacing (layout) */
.ev-faq .ev-faq-a p{ margin: 0; }
.ev-faq .ev-faq-a p + p{ margin-top: .625rem; }
.ev-faq .ev-faq-a ul,
.ev-faq .ev-faq-a ol{
  margin: .625rem 0 0;
  padding-left: 18px;
}
.ev-faq details{ overflow: visible; }

.ev-sector-badge-included {
  font-size: 13px;
  color: green;
}

.ev-sector-badge-extra {
  font-size: 13px;
  color: red;
}

.ev-lexia-page{
  overflow: hidden;
}

.ev-lexia-intro{
  padding: 9rem 0 5rem;
}

.ev-lexia-intro__grid{
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.ev-lexia-intro h1{
  margin: 0;
  max-width: 720px;
  font-size: clamp(48px, 5vw, 82px);
  line-height: .95;
  letter-spacing: -.06em;
  font-weight: 950;
  color: #0f172a;
}

.ev-lexia-intro h1 span{
  display: block;
  background: linear-gradient(135deg, #0f172a 0%, #ef0a6a 55%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ev-lexia-intro p{
  margin-top: 1.5rem;
  max-width: 620px;
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(71,85,105,.88);
}

.ev-lexia-actions{
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.ev-lexia-actions span{
  font-size: .875rem;
  color: rgba(100,116,139,.9);
}

.ev-lexia-live-card,
.ev-lexia-ui{
  border-radius: 32px;
  border: 1px solid rgba(226,232,240,.92);
  background: rgba(255,255,255,.82);
  box-shadow: 0 38px 120px rgba(15,23,42,.10);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.ev-lexia-live-card{
  transform: perspective(1100px) rotateY(-7deg) rotateX(3deg);
  transition: transform .45s ease, box-shadow .45s ease;
}

.ev-lexia-live-card:hover{
  transform: perspective(1100px) rotateY(-3deg) rotateX(1deg) translateY(-8px);
  box-shadow: 0 48px 140px rgba(15,23,42,.14);
}

.ev-lexia-live-card__head,
.ev-lexia-ui__top{
  height: 48px;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: 0 1.25rem;
  border-bottom: 1px solid rgba(226,232,240,.9);
}

.ev-lexia-live-card__head span,
.ev-lexia-ui__top span{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(148,163,184,.7);
}

.ev-lexia-live-card__body{
  padding: 1.5rem;
  display: grid;
  gap: .875rem;
}

.ev-lexia-alert{
  padding: 1rem;
  border-radius: 18px;
  background: rgba(248,250,252,.9);
  border: 1px solid rgba(226,232,240,.92);
}

.ev-lexia-alert.is-hot{
  border-color: rgba(239,10,106,.24);
  box-shadow: 0 18px 48px rgba(239,10,106,.10);
}

.ev-lexia-alert strong{
  display: block;
  color: #0f172a;
  font-size: .95rem;
}

.ev-lexia-alert span{
  display: block;
  margin-top: .25rem;
  color: rgba(100,116,139,.9);
  font-size: .825rem;
}

.ev-lexia-flow,
.ev-lexia-product{
  padding: 0 0 120px;
}

.ev-lexia-steps{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.ev-lexia-steps article{
  min-height: 260px;
  padding: 1.5rem;
  border-radius: 30px;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(226,232,240,.92);
  box-shadow: 0 24px 80px rgba(15,23,42,.07);
  transition: transform .3s ease, box-shadow .3s ease;
}

.ev-lexia-steps article:hover{
  transform: translateY(-8px);
  box-shadow: 0 34px 110px rgba(15,23,42,.11);
}

.ev-lexia-steps article.is-featured{
  background: linear-gradient(135deg, #ef0a6a, #b6359c);
  color: #fff;
  box-shadow: 0 34px 100px rgba(239,10,106,.20);
}

.ev-lexia-steps span{
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(239,10,106,.10);
  color: #ef0a6a;
  font-weight: 950;
}

.ev-lexia-steps article.is-featured span{
  background: rgba(255,255,255,.18);
  color: #fff;
}

.ev-lexia-steps h3{
  margin: 1.5rem 0 0;
  font-size: 1.5rem;
  line-height: 1.05;
  letter-spacing: -.04em;
  font-weight: 950;
  color: #0f172a;
}

.ev-lexia-steps p{
  margin-top: 1rem;
  color: rgba(71,85,105,.9);
  line-height: 1.65;
}

.ev-lexia-steps article.is-featured h3,
.ev-lexia-steps article.is-featured p{
  color: #fff;
}

.ev-lexia-product-panel{
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem;
  border-radius: 38px;
  border: 1px solid rgba(226,232,240,.92);
  background: rgba(255,255,255,.86);
  box-shadow: 0 34px 110px rgba(15,23,42,.10);
}

.ev-lexia-product-copy h2{
  margin: 0;
  font-size: clamp(38px, 4vw, 68px);
  line-height: .95;
  letter-spacing: -.06em;
  font-weight: 950;
  color: #0f172a;
}

.ev-lexia-product-copy h2 span{
  display: block;
  color: #ef0a6a;
}

.ev-lexia-product-copy p{
  margin-top: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(71,85,105,.88);
}

.ev-lexia-product-copy ul{
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .75rem;
}

.ev-lexia-product-copy li{
  display: flex;
  gap: .75rem;
  align-items: center;
  font-weight: 800;
  color: rgba(15,23,42,.84);
}

.ev-lexia-product-copy li::before{
  content: "✓";
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(239,10,106,.10);
  color: #ef0a6a;
}

.ev-lexia-ui{
  transform: perspective(1000px) rotateY(-6deg) rotateX(3deg);
  transition: transform .45s ease, box-shadow .45s ease;
}

.ev-lexia-product-panel:hover .ev-lexia-ui{
  transform: perspective(1000px) rotateY(-2deg) rotateX(1deg) translateY(-8px);
}

.ev-lexia-ui__content{
  padding: 1.25rem;
  display: grid;
  gap: .875rem;
}

.ev-lexia-ui__row{
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(226,232,240,.92);
  background: rgba(248,250,252,.9);
}

.ev-lexia-ui__row.is-priority{
  border-color: rgba(239,10,106,.24);
  box-shadow: 0 18px 48px rgba(239,10,106,.09);
}

.ev-lexia-ui__row strong{
  color: #0f172a;
}

.ev-lexia-ui__row p{
  margin: .25rem 0 0;
  color: rgba(100,116,139,.9);
  font-size: .85rem;
}

.ev-lexia-ui__row em{
  align-self: center;
  font-style: normal;
  padding: .45rem .7rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(226,232,240,.92);
  font-size: .75rem;
  font-weight: 900;
  color: rgba(71,85,105,.9);
}

@media (max-width: 980px){
  .ev-lexia-intro__grid,
  .ev-lexia-product-panel{
    grid-template-columns: 1fr;
  }

  .ev-lexia-steps{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ev-lexia-live-card,
  .ev-lexia-ui{
    transform: none;
  }
}

@media (max-width: 640px){
  .ev-lexia-intro{
    padding-top: 7rem;
  }

  .ev-lexia-steps{
    grid-template-columns: 1fr;
  }

  .ev-lexia-product-panel{
    padding: 1.5rem;
    border-radius: 28px;
  }
}

.ev-lexia-feature{
display:grid;
grid-template-columns:1fr 1fr;
gap:70px;
align-items:center;
margin-top:100px;
}

.ev-lexia-feature.reverse{
direction:rtl;
}

.ev-lexia-feature.reverse>*{
direction:ltr;
}

.ev-pill{
display:inline-flex;
padding:8px 14px;
border-radius:999px;
background:rgba(239,10,106,.08);
color:#ef0a6a;
font-size:12px;
font-weight:700;
margin-bottom:20px;
}

.ev-lexia-feature h3{
font-size:58px;
line-height:.95;
letter-spacing:-.05em;
font-weight:900;
margin:0;
}

.ev-lexia-feature h3 span{
display:block;
color:#ef0a6a;
}

.ev-lexia-feature p{
margin-top:24px;
font-size:13px;
line-height:1.8;
color:#64748b;
}

.ev-law-item span{
font-size: 13px;
color: #fff;
background: #ef0a6a;
padding: 5px;
text-align: center;
display: block;
min-width: 70px;
height: fit-content;
border-radius: 20px;
}

.ev-lexia-feature ul{
margin-top:30px;
padding:0;
list-style:none;
display:grid;
gap:14px;
}

.ev-lexia-feature li{
display:flex;
align-items:center;
gap:12px;
font-weight:600;
}

.ev-lexia-feature li::before{
content:"✓";
width:24px;
height:24px;
border-radius:999px;
background:rgba(239,10,106,.1);
display:grid;
place-items:center;
color:#ef0a6a;
}

.ev-lexia-preview,
.ev-dashboard-preview,
.ev-pdf-preview{
padding:35px;
border-radius:32px;
background:white;
border:1px solid rgba(226,232,240,.9);
box-shadow:0 30px 100px rgba(15,23,42,.08);
}

.ev-law-item{
display:flex;
justify-content:space-between;
padding:18px;
margin-bottom:16px;
border-radius:18px;
border:1px solid rgba(239,10,106,.15);
}

.ev-card-mini{
padding:25px;
border-radius:18px;
background:#fafafa;
margin-bottom:12px;
}

.ev-pdf-page{
height:120px;
border-radius:18px;
background:linear-gradient(
180deg,
#ffffff,
#f7f7f7
);
margin-bottom:15px;
}

/* ==========================
   FIX ALIGNEMENT FEATURES
========================== */

.ev-lexia-features{
    overflow:hidden;
}

.ev-lexia-features .ev-container{
    max-width: 1240px;
    margin:auto;
    padding-inline:32px;
}

/* espace vertical entre chaque bloc */
.ev-lexia-feature{
    margin-top:120px;
    align-items:center;
}

/* équilibre texte / aperçu */
.ev-lexia-feature-copy{
    max-width:560px;
}

.ev-lexia-preview,
.ev-dashboard-preview,
.ev-pdf-preview{
    width:100%;
}


/* ==========================
   EYEBROW PREMIUM
========================== */

.ev-section-eyebrow{
    display:inline-flex;
    align-items:center;
    gap:8px;

    padding:8px 16px;

    border-radius:999px;

    background:rgba(255,255,255,.85);

    border:1px solid rgba(239,10,106,.12);

    backdrop-filter:blur(10px);

    font-size:11px;
    letter-spacing:.18em;
    text-transform:uppercase;
    font-weight:800;

    color:#ef0a6a;

    margin-bottom:18px;

    box-shadow:
    0 10px 30px rgba(239,10,106,.05);
}

/* petit point rose à gauche */
.ev-section-eyebrow::before{

    content:"";

    width:6px;
    height:6px;

    border-radius:50%;

    background:#ef0a6a;

    box-shadow:
    0 0 12px rgba(239,10,106,.5);
}


/* ==========================
   HEAD SECTION
========================== */

.ev-section-head{
    max-width:900px;
    margin:auto;
    margin-bottom:40px;
}

.ev-section-head h2{

    max-width:900px;
    margin:auto;

    line-height:1;
    letter-spacing:-.05em;
}

.ev-section-head p{
    margin-top:24px;
}

.ev-lexia-features{
  overflow: hidden;
}

.ev-lexia-features__inner{
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: 32px;
}

.ev-lexia-feature{
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: center;
  margin-top: 110px;
}

.ev-lexia-feature.reverse{
  direction: rtl;
}

.ev-lexia-feature.reverse > *{
  direction: ltr;
}

.ev-lexia-feature-copy{
  max-width: 520px;
}

.ev-lexia-feature.reverse .ev-lexia-feature-copy{
  justify-self: end;
}

.ev-lexia-preview,
.ev-dashboard-preview,
.ev-pdf-preview{
  width: 100%;
  min-width: 0;
}

.ev-section-head.ev-text-center{
  text-align: center;
  justify-items: center;
}

.ev-section-head .ev-section-eyebrow{
  justify-self: center;
}

@media (max-width: 980px){
  .ev-lexia-feature,
  .ev-lexia-feature.reverse{
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 36px;
  }

  .ev-lexia-feature-copy,
  .ev-lexia-feature.reverse .ev-lexia-feature-copy{
    max-width: none;
    justify-self: auto;
  }
}

.ev-final-banner{
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 44px 52px;
  border-radius: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
  background:
    radial-gradient(circle at 88% 50%, rgba(239,10,106,.16), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,255,255,.88));
  border: 1px solid rgba(226,232,240,.9);
  box-shadow: 0 34px 100px rgba(15,23,42,.08);
  text-align: left;
}

.ev-final-banner::before{
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 78% 50%, rgba(239,10,106,.14), transparent 28%),
    radial-gradient(circle at 95% 30%, rgba(182,53,156,.10), transparent 26%);
  filter: blur(34px);
  opacity: .9;
  pointer-events: none;
}

.ev-final-banner__content,
.ev-final-banner__actions{
  position: relative;
  z-index: 2;
}

.ev-final-banner h2{
  max-width: 760px;
  margin: 0;
  font-size: clamp(34px, 3.4vw, 56px);
  line-height: .96;
  letter-spacing: -.055em;
  font-weight: 950;
  color: #0f172a;
}

.ev-final-banner h2 span{
  display: block;
  color: #ef0a6a;
}

.ev-final-banner p{
  max-width: 620px;
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(71,85,105,.88);
}

.ev-final-banner__actions{
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 220px;
}

.ev-final-banner__actions a{
  justify-content: center;
  white-space: nowrap;
}

@media(max-width: 900px){
  .ev-final-banner{
    grid-template-columns: 1fr;
    padding: 34px 28px;
    gap: 28px;
  }

  .ev-final-banner__actions{
    flex-direction: row;
    flex-wrap: wrap;
    min-width: 0;
  }
}

/* ==========================
   ANIMATIONS VISUELS FEATURES
========================== */

.ev-lexia-preview,
.ev-dashboard-preview,
.ev-pdf-preview{
  position: relative;
  overflow: hidden;
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition:
    transform .45s ease,
    box-shadow .45s ease,
    border-color .45s ease;
}

.ev-lexia-feature.reverse .ev-dashboard-preview{
  transform: perspective(1000px) rotateY(4deg) rotateX(2deg);
}

.ev-lexia-preview::before,
.ev-dashboard-preview::before,
.ev-pdf-preview::before{
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(
    120deg,
    transparent 35%,
    rgba(255,255,255,.75) 50%,
    transparent 65%
  );
  transform: translateX(-70%);
  opacity: 0;
  pointer-events: none;
}

.ev-lexia-feature:hover .ev-lexia-preview,
.ev-lexia-feature:hover .ev-pdf-preview{
  transform: perspective(1000px) rotateY(-1deg) rotateX(1deg) translateY(-10px) scale(1.015);
  border-color: rgba(239,10,106,.22);
  box-shadow: 0 42px 120px rgba(15,23,42,.13);
}

.ev-lexia-feature.reverse:hover .ev-dashboard-preview{
  transform: perspective(1000px) rotateY(1deg) rotateX(1deg) translateY(-10px) scale(1.015);
  border-color: rgba(239,10,106,.22);
  box-shadow: 0 42px 120px rgba(15,23,42,.13);
}

.ev-lexia-feature:hover .ev-lexia-preview::before,
.ev-lexia-feature:hover .ev-dashboard-preview::before,
.ev-lexia-feature:hover .ev-pdf-preview::before{
  animation: ev-preview-shine 1.2s ease forwards;
  opacity: 1;
}

@keyframes ev-preview-shine{
  from{
    transform: translateX(-70%);
  }
  to{
    transform: translateX(70%);
  }
}

/* Animation interne : lignes de veille */
.ev-law-item{
  transition:
    transform .28s ease,
    border-color .28s ease,
    box-shadow .28s ease,
    background .28s ease;
}

.ev-lexia-feature:hover .ev-law-item{
  background: rgba(255,255,255,.96);
}

.ev-lexia-feature:hover .ev-law-item:nth-child(1){
  transform: translateX(8px);
  border-color: rgba(239,10,106,.28);
  box-shadow: 0 18px 45px rgba(239,10,106,.08);
}

.ev-lexia-feature:hover .ev-law-item:nth-child(2){
  transform: translateX(4px);
}

/* Animation interne : tableau de suivi */
.ev-card-mini{
  position: relative;
  overflow: hidden;
  transition:
    transform .28s ease,
    background .28s ease,
    box-shadow .28s ease;
}

.ev-card-mini::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #ef0a6a, #b6359c);
  opacity: 0;
  transition: opacity .28s ease;
}

.ev-lexia-feature.reverse:hover .ev-card-mini:nth-child(1){
  transform: translateX(10px);
}

.ev-lexia-feature.reverse:hover .ev-card-mini:nth-child(2){
  transform: translateX(18px);
}

.ev-lexia-feature.reverse:hover .ev-card-mini:nth-child(3){
  transform: translateX(8px);
}

.ev-lexia-feature.reverse:hover .ev-card-mini:nth-child(4){
  transform: translateX(14px);
}

.ev-lexia-feature.reverse:hover .ev-card-mini{
  background: #fff;
  box-shadow: 0 14px 34px rgba(15,23,42,.07);
}

.ev-lexia-feature.reverse:hover .ev-card-mini::before{
  opacity: 1;
}

/* Animation interne : PDF */
.ev-pdf-page{
  position: relative;
  overflow: hidden;
  transition:
    transform .3s ease,
    box-shadow .3s ease;
}

.ev-pdf-page::after{
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: 34px;
  height: 10px;
  border-radius: 999px;
  background: rgba(239,10,106,.10);
  box-shadow:
    0 24px 0 rgba(15,23,42,.06),
    0 48px 0 rgba(15,23,42,.045);
  opacity: 0;
  transition: opacity .3s ease;
}

.ev-lexia-feature:hover .ev-pdf-page:nth-child(1){
  transform: translateY(-8px) rotate(-1deg);
}

.ev-lexia-feature:hover .ev-pdf-page:nth-child(2){
  transform: translateY(-2px) rotate(.6deg);
}

.ev-lexia-feature:hover .ev-pdf-page:nth-child(3){
  transform: translateY(4px) rotate(-.4deg);
}

.ev-lexia-feature:hover .ev-pdf-page::after{
  opacity: 1;
}

@media (prefers-reduced-motion: reduce){
  .ev-lexia-preview,
  .ev-dashboard-preview,
  .ev-pdf-preview,
  .ev-law-item,
  .ev-card-mini,
  .ev-pdf-page{
    transition: none !important;
    transform: none !important;
    animation: none !important;
  }

  .ev-lexia-preview::before,
  .ev-dashboard-preview::before,
  .ev-pdf-preview::before{
    display: none !important;
  }
}

/* ==========================
   EXPORT PDF — PREVIEW RÉALISTE
========================== */

.ev-pdf-preview--export{
  padding: 22px;
  display: grid;
  gap: 16px;
}

.ev-pdf-export-head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(226,232,240,.9);
}

.ev-pdf-export-head span{
  display: block;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 900;
  color: rgba(100,116,139,.85);
}

.ev-pdf-export-head strong{
  display: block;
  margin-top: 4px;
  color: #0f172a;
  font-size: 17px;
  letter-spacing: -.02em;
}

.ev-pdf-export-head button{
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #ef0a6a, #b6359c);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  white-space: nowrap;
  box-shadow: 0 14px 34px rgba(239,10,106,.22);
}

.ev-pdf-export-list{
  display: grid;
  gap: 10px;
}

.ev-pdf-export-row{
  display: grid;
  grid-template-columns: 14px minmax(0,1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: rgba(248,250,252,.92);
  border: 1px solid rgba(226,232,240,.95);
  transition:
    transform .28s ease,
    border-color .28s ease,
    box-shadow .28s ease,
    background .28s ease;
}

.ev-pdf-export-row.is-selected{
  background: rgba(239,10,106,.035);
  border-color: rgba(239,10,106,.16);
}

.ev-pdf-export-row strong{
  display: block;
  color: #0f172a;
  font-size: 13px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ev-pdf-export-row p{
  margin: 4px 0 0;
  color: rgba(100,116,139,.9);
  font-size: 11px;
  line-height: 1.4;
}

.ev-pdf-export-row em{
  font-style: normal;
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(226,232,240,.95);
  color: #ef0a6a;
  font-size: 11px;
  font-weight: 900;
}

.ev-pdf-export-grip{
  width: 12px;
  height: 28px;
  border-radius: 999px;
  opacity: .42;
  background:
    radial-gradient(circle, #64748b 1.5px, transparent 2px) 0 0 / 6px 6px;
}

.ev-pdf-export-footer{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 2px;
}

.ev-pdf-export-footer span{
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(239,10,106,.06);
  color: rgba(15,23,42,.76);
  font-size: 11px;
  font-weight: 800;
}

/* Animation au hover */
.ev-lexia-feature:hover .ev-pdf-export-row:nth-child(1){
  transform: translateX(10px);
}

.ev-lexia-feature:hover .ev-pdf-export-row:nth-child(2){
  transform: translateX(4px);
}

.ev-lexia-feature:hover .ev-pdf-export-row:nth-child(3){
  transform: translateX(14px);
}

.ev-lexia-feature:hover .ev-pdf-export-row.is-selected{
  box-shadow: 0 16px 42px rgba(239,10,106,.08);
}

/* Flash lumineux sur les 3 cards visuelles */
.ev-lexia-preview,
.ev-dashboard-preview,
.ev-pdf-preview{
  position: relative;
  overflow: hidden;
}

.ev-lexia-preview::after,
.ev-dashboard-preview::after,
.ev-pdf-preview::after{
  content: "";
  position: absolute;
  inset: -45%;
  background: linear-gradient(
    120deg,
    transparent 38%,
    rgba(255,255,255,.78) 50%,
    transparent 62%
  );
  transform: translateX(-75%);
  opacity: 0;
  pointer-events: none;
}

.ev-lexia-feature:hover .ev-lexia-preview::after,
.ev-lexia-feature:hover .ev-dashboard-preview::after,
.ev-lexia-feature:hover .ev-pdf-preview::after{
  animation: ev-card-flash 1.15s ease forwards;
}

@keyframes ev-card-flash{
  0%{
    transform: translateX(-75%);
    opacity: 0;
  }
  18%{
    opacity: 1;
  }
  100%{
    transform: translateX(75%);
    opacity: 0;
  }
}

/* Remplace le button par un faux bouton non interactif */
.ev-pdf-export-head button{
  display: none !important;
}

.ev-pdf-export-fake-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #ef0a6a, #b6359c);
  color: #fff !important;
  font-weight: 800;
  font-size: 12px;
  white-space: nowrap;
  box-shadow: 0 14px 34px rgba(239,10,106,.22);
}

/* Export PDF : cards uniquement grises, sans rose */
.ev-pdf-export-row,
.ev-pdf-export-row.is-selected{
  background: rgba(248,250,252,.95) !important;
  border-color: rgba(226,232,240,.95) !important;
  box-shadow: none;
}

.ev-pdf-export-row em{
  color: rgba(71,85,105,.9);
}

.ev-lexia-feature:hover .ev-pdf-export-row.is-selected{
  box-shadow: 0 16px 42px rgba(15,23,42,.07) !important;
}

/* ==========================
   CODEXIA PAGE
========================== */

.ev-codexia-page{
  overflow: hidden;
}

.ev-codexia-product {
    padding: 0 0 120px;
}

.ev-codexia-product-panel{
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem;
  border-radius: 38px;
  border: 1px solid rgba(226,232,240,.92);
  background: rgba(255,255,255,.86);
  box-shadow: 0 34px 110px rgba(15,23,42,.10);
}

.ev-codexia-product-copy h2,
.ev-codexia-feature h3{
  margin: 0;
  font-size: clamp(38px, 4vw, 68px);
  line-height: .95;
  letter-spacing: -.06em;
  font-weight: 950;
  color: #0f172a;
}

.ev-codexia-product-copy h2 span,
.ev-codexia-feature h3 span{
  display: block;
  color: #ef0a6a;
}

.ev-codexia-product-copy p,
.ev-codexia-feature-copy p{
  margin-top: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(71,85,105,.88);
}

.ev-codexia-product-copy ul,
.ev-codexia-feature-copy ul{
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .75rem;
}

.ev-codexia-product-copy li,
.ev-codexia-feature-copy li{
  display: flex;
  gap: .75rem;
  align-items: center;
  font-weight: 800;
  color: rgba(15,23,42,.84);
}

.ev-codexia-product-copy li::before,
.ev-codexia-feature-copy li::before{
  content: "✓";
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(239,10,106,.10);
  color: #ef0a6a;
}

.ev-codexia-ui,
.ev-codexia-preview,
.ev-codexia-chat-preview,
.ev-codexia-summary-preview{
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(226,232,240,.92);
  background: rgba(255,255,255,.86);
  box-shadow: 0 38px 120px rgba(15,23,42,.10);
  backdrop-filter: blur(18px);
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: transform .45s ease, box-shadow .45s ease, border-color .45s ease;
}

.ev-codexia-feature.reverse .ev-codexia-chat-preview{
  transform: perspective(1000px) rotateY(4deg) rotateX(2deg);
}

.ev-codexia-product-panel:hover .ev-codexia-ui,
.ev-codexia-feature:hover .ev-codexia-preview,
.ev-codexia-feature:hover .ev-codexia-summary-preview{
  transform: perspective(1000px) rotateY(-1deg) rotateX(1deg) translateY(-10px) scale(1.015);
  border-color: rgba(239,10,106,.18);
  box-shadow: 0 42px 120px rgba(15,23,42,.13);
}

.ev-codexia-feature.reverse:hover .ev-codexia-chat-preview{
  transform: perspective(1000px) rotateY(1deg) rotateX(1deg) translateY(-10px) scale(1.015);
  border-color: rgba(239,10,106,.18);
  box-shadow: 0 42px 120px rgba(15,23,42,.13);
}

.ev-codexia-ui::after,
.ev-codexia-preview::after,
.ev-codexia-chat-preview::after,
.ev-codexia-summary-preview::after{
  content: "";
  position: absolute;
  inset: -45%;
  background: linear-gradient(
    120deg,
    transparent 38%,
    rgba(255,255,255,.78) 50%,
    transparent 62%
  );
  transform: translateX(-75%);
  opacity: 0;
  pointer-events: none;
}

.ev-codexia-product-panel:hover .ev-codexia-ui::after,
.ev-codexia-feature:hover .ev-codexia-preview::after,
.ev-codexia-feature:hover .ev-codexia-chat-preview::after,
.ev-codexia-feature:hover .ev-codexia-summary-preview::after{
  animation: ev-card-flash 1.15s ease forwards;
}

.ev-codexia-ui__top{
  height: 48px;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: 0 1.25rem;
  border-bottom: 1px solid rgba(226,232,240,.9);
}

.ev-codexia-ui__top span{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(148,163,184,.7);
}

.ev-codexia-ui__content,
.ev-codexia-preview,
.ev-codexia-chat-preview,
.ev-codexia-summary-preview{
  padding: 1.5rem;
  display: grid;
  gap: .875rem;
}

.ev-codexia-question{
  justify-self: end;
  max-width: 80%;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(248,250,252,.95);
  border: 1px solid rgba(226,232,240,.95);
  font-weight: 800;
  color: rgba(15,23,42,.86);
}

.ev-codexia-answer{
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(226,232,240,.95);
  box-shadow: 0 16px 42px rgba(15,23,42,.06);
}

.ev-codexia-answer strong,
.ev-project-card strong,
.ev-chat-line strong,
.ev-summary-head strong{
  color: #0f172a;
}

.ev-codexia-answer p,
.ev-project-card p,
.ev-chat-line p{
  margin: .35rem 0 0;
  color: rgba(100,116,139,.9);
  line-height: 1.55;
}

.ev-codexia-sources,
.ev-chat-source,
.ev-summary-tags{
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.ev-codexia-sources span,
.ev-summary-tags span{
  padding: .45rem .65rem;
  border-radius: 999px;
  background: rgba(248,250,252,.96);
  border: 1px solid rgba(226,232,240,.95);
  color: rgba(71,85,105,.9);
  font-size: .75rem;
  font-weight: 800;
}

.ev-codexia-features__inner{
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: 32px;
}

.ev-codexia-feature{
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: center;
  margin-top: 110px;
}

.ev-codexia-feature.reverse{
  direction: rtl;
}

.ev-codexia-feature.reverse > *{
  direction: ltr;
}

.ev-codexia-feature-copy{
  max-width: 520px;
}

.ev-codexia-feature.reverse .ev-codexia-feature-copy{
  justify-self: end;
}

.ev-project-card,
.ev-chat-line,
.ev-summary-block{
  padding: 1rem;
  border-radius: 18px;
  background: rgba(248,250,252,.95);
  border: 1px solid rgba(226,232,240,.95);
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease;
}

.ev-project-card.is-active{
  background: rgba(255,255,255,.96);
  box-shadow: 0 16px 42px rgba(15,23,42,.06);
}

.ev-codexia-feature:hover .ev-project-card:nth-child(1){
  transform: translateX(10px);
}

.ev-codexia-feature:hover .ev-project-card:nth-child(2){
  transform: translateX(4px);
}

.ev-codexia-feature:hover .ev-project-card:nth-child(3){
  transform: translateX(14px);
}

.ev-chat-line.is-user{
  justify-self: end;
  max-width: 82%;
}

.ev-chat-line.is-ai{
  max-width: 88%;
  background: #fff;
  box-shadow: 0 16px 42px rgba(15,23,42,.06);
}

.ev-chat-source{
  padding: .85rem 1rem;
  border-radius: 16px;
  background: rgba(248,250,252,.95);
  color: rgba(100,116,139,.9);
  font-weight: 800;
  font-size: .8rem;
}

.ev-summary-head span{
  display: block;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 900;
  color: rgba(100,116,139,.85);
}

.ev-summary-head strong{
  display: block;
  margin-top: 4px;
  font-size: 17px;
}

.ev-summary-block{
  height: 88px;
}

.ev-summary-block.short{
  height: 58px;
}

.ev-summary-block::after{
  content: "";
  display: block;
  height: 10px;
  margin-top: 6px;
  border-radius: 999px;
  background: rgba(15,23,42,.07);
  box-shadow:
    0 22px 0 rgba(15,23,42,.05),
    0 44px 0 rgba(15,23,42,.04);
}

@media (max-width: 980px){
  .ev-codexia-product-panel,
  .ev-codexia-feature,
  .ev-codexia-feature.reverse{
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .ev-codexia-feature-copy,
  .ev-codexia-feature.reverse .ev-codexia-feature-copy{
    max-width: none;
    justify-self: auto;
  }

  .ev-codexia-ui,
  .ev-codexia-preview,
  .ev-codexia-chat-preview,
  .ev-codexia-summary-preview{
    transform: none;
  }
}

/* ==========================
   CODEXIA SECURITY PREVIEW
========================== */

.ev-codexia-security-preview{
    position:relative;
    overflow:hidden;

    padding:28px;

    border-radius:32px;

    background:white;

    border:1px solid rgba(226,232,240,.9);

    box-shadow:
    0 30px 100px rgba(15,23,42,.08);

    transform:
    perspective(1000px)
    rotateY(-4deg)
    rotateX(2deg);

    transition:
    transform .45s ease,
    box-shadow .45s ease;
}

.ev-codexia-feature:hover
.ev-codexia-security-preview{

transform:
perspective(1000px)
rotateY(-1deg)
rotateX(1deg)
translateY(-10px);

box-shadow:
0 42px 120px rgba(15,23,42,.12);

}

.ev-codexia-security-preview::after{

content:"";

position:absolute;
inset:-45%;

background:
linear-gradient(
120deg,
transparent 38%,
rgba(255,255,255,.8) 50%,
transparent 62%
);

transform:translateX(-75%);
opacity:0;
pointer-events:none;

}

.ev-codexia-feature:hover
.ev-codexia-security-preview::after{

animation:ev-card-flash 1.2s ease forwards;

}

.ev-security-header{

display:flex;
justify-content:space-between;
align-items:center;

padding-bottom:18px;

border-bottom:
1px solid rgba(226,232,240,.9);

}

.ev-security-header span{

display:block;

font-size:11px;
letter-spacing:.15em;

text-transform:uppercase;

font-weight:900;

color:#64748b;

}

.ev-security-header strong{

display:block;
margin-top:4px;

font-size:18px;
color:#0f172a;

}

.ev-security-lock{

width:54px;
height:54px;

display:grid;
place-items:center;

border-radius:18px;

background:
rgba(239,10,106,.06);

font-size:24px;
}

.ev-security-row{

display:flex;
justify-content:space-between;
align-items:center;

padding:18px;
margin-top:14px;

border-radius:18px;

background:#fafafa;

border:1px solid rgba(226,232,240,.9);
}

.ev-security-row strong{
display:block;
color:#0f172a;
}

.ev-security-row p{

margin-top:4px;
font-size:12px;
color:#64748b;

}

.ev-security-row .is-ok{

padding:8px 12px;

border-radius:999px;

background:#f1f5f9;

font-size:11px;
font-weight:800;

color:#475569;
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */

.ev-legal-page {
  background:
    radial-gradient(circle at top left, rgba(225, 29, 120, 0.08), transparent 34rem),
    linear-gradient(180deg, #f7f7fa 0%, #ffffff 100%);
}

.ev-legal-hero {
  padding: 7rem 0 5rem;
}

.ev-legal-panel {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 4.5rem);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
}

.ev-legal-head {
  max-width: 780px;
  margin-bottom: 3rem;
}

.ev-legal-head .ev-title-xl {
  margin-top: 1rem;
  margin-bottom: 1rem;
  line-height: 0.95;
}

.ev-legal-content {
  max-width: 780px;
  color: #334155;
  font-size: 1rem;
  line-height: 1.8;
}

.ev-legal-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: #0f172a;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ev-legal-content h2:first-child {
  margin-top: 0;
}

.ev-legal-content p {
  margin: 0 0 1rem;
}

.ev-legal-content strong {
  color: #0f172a;
  font-weight: 700;
}

.ev-legal-content ul {
  margin: 1rem 0 1.5rem;
  padding-left: 1.25rem;
  list-style: disc !important;
}

.ev-legal-content li {
  margin-bottom: 0.5rem;
}

.ev-legal-content a {
  color: #db2777;
  font-weight: 700;
  text-decoration: none;
}

.ev-legal-content a:hover {
  text-decoration: underline;
}
/* =========================================================
   PRODUCT PAGES — LEXIA / CODEXIA MOBILE RHYTHM
========================================================= */

@media (max-width: 640px){

  .ev-lexia-page,
  .ev-codexia-page{
    background:
      linear-gradient(
        180deg,
        rgba(255,229,240,.9) 0%,
        rgba(255,247,251,.82) 14%,
        #ffffff 34%,
        #ffffff 100%
      );
  }

  .ev-lexia-product,
  .ev-codexia-product{
    padding: 3.75rem 0 4rem;
  }

  .ev-lexia-product-panel,
  .ev-codexia-product-panel{
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
    max-width: 315px;
    margin-inline: auto;
    padding: 24px 20px;
    border-radius: 28px;
  }

  .ev-lexia-product-copy,
  .ev-codexia-product-copy{
    max-width: 100%;
  }

  .ev-lexia-product-copy h2,
  .ev-codexia-product-copy h2{
    font-size: 36px;
    line-height: .96;
    letter-spacing: -.055em;
  }

  .ev-lexia-product-copy p,
  .ev-codexia-product-copy p{
    font-size: 14px;
    line-height: 1.62;
  }

  .ev-lexia-ui,
  .ev-codexia-ui{
    width: 100%;
    transform: none !important;
    border-radius: 24px;
  }

  .ev-lexia-features,
  .ev-codexia-features{
    padding: 4rem 0;
    overflow: hidden;
  }

  .ev-lexia-features__inner,
  .ev-codexia-features__inner{
    max-width: 390px;
    padding-inline: 22px;
  }

  .ev-lexia-feature,
  .ev-lexia-feature.reverse,
  .ev-codexia-feature,
  .ev-codexia-feature.reverse{
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 4.5rem;
    direction: ltr;
  }

  .ev-lexia-feature:first-of-type,
  .ev-codexia-feature:first-of-type{
    margin-top: 0;
  }

  .ev-lexia-feature-copy,
  .ev-codexia-feature-copy{
    width: 100%;
    max-width: 315px;
    margin-inline: auto;
    justify-self: center;
  }

  .ev-lexia-feature h3,
  .ev-codexia-feature h3{
    font-size: 37px;
    line-height: .96;
    letter-spacing: -.055em;
    margin: 0;
  }

  .ev-lexia-feature p,
  .ev-codexia-feature-copy p{
    margin-top: 1rem;
    font-size: 14px;
    line-height: 1.62;
  }

  .ev-lexia-feature ul,
  .ev-codexia-feature-copy ul{
    margin-top: 1.25rem;
    gap: .65rem;
  }

  .ev-lexia-preview,
  .ev-dashboard-preview,
  .ev-pdf-preview,
  .ev-codexia-preview,
  .ev-codexia-chat-preview,
  .ev-codexia-summary-preview,
  .ev-codexia-security-preview{
    width: 100%;
    max-width: 315px;
    margin-inline: auto;
    padding: 18px;
    border-radius: 24px;
    transform: none !important;
    justify-self: center;
  }
}

@media (max-width: 390px){

  .ev-lexia-features__inner,
  .ev-codexia-features__inner{
    padding-inline: 20px;
  }

  .ev-lexia-product-panel,
  .ev-codexia-product-panel,
  .ev-lexia-feature-copy,
  .ev-codexia-feature-copy,
  .ev-lexia-preview,
  .ev-dashboard-preview,
  .ev-pdf-preview,
  .ev-codexia-preview,
  .ev-codexia-chat-preview,
  .ev-codexia-summary-preview,
  .ev-codexia-security-preview{
    max-width: 305px;
  }
}

.ev-lexia-page .ev-hero-grid-bg,
.ev-codexia-page .ev-hero-grid-bg{
  --ev-hero-fade-to: var(--ev-bg-soft);
  --ev-hero-halo-opacity: .045;
}

.ev-faq-page .ev-hero-grid-bg,
.ev-faq .ev-hero-grid-bg{
  --ev-hero-fade-to: var(--ev-bg-soft);
  --ev-hero-halo-opacity: .04;
}

.ev-help-page .ev-hero-grid-bg,
.ev-help .ev-hero-grid-bg{
  --ev-hero-fade-to: var(--ev-bg-soft);
  --ev-hero-halo-opacity: .04;
}

.ev-help-page .ev-hero-grid-bg,
.ev-help .ev-hero-grid-bg{
  --ev-hero-fade-to: var(--ev-bg-soft);
  --ev-hero-halo-opacity: .04;
}

.ev-help-page .ev-hero-grid-bg,
.ev-help .ev-hero-grid-bg{
  --ev-hero-fade-to: var(--ev-bg-soft);
  --ev-hero-halo-opacity: .04;
}

.ev-pricing-page .ev-hero-grid-bg,
.ev-pricing-lexia-page .ev-hero-grid-bg,
.ev-pricing-codexia-page .ev-hero-grid-bg{
  --ev-hero-fade-to: var(--ev-bg-soft);
  --ev-hero-halo-opacity: .04;
}

.ev-hero-grid-bg--minimal{
  --ev-hero-halo-opacity: .025;
  --ev-hero-grid-opacity: .022;
}
/* =========================================================
   FAQ — Premium readable layout
========================================================= */

.ev-faq-page .ev-faq{
  background: #f5f5f7;
}

.ev-faq-page .ev-faq-filters{
  padding: 22px;
  border-radius: 28px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(226,232,240,.92);
  box-shadow: 0 24px 70px rgba(15,23,42,.06);
  backdrop-filter: blur(14px);
}

.ev-faq-page .ev-faq-search-input{
  height: 54px;
  border-radius: 18px;
  font-size: 15px;
  background: #fff;
}

.ev-faq-page .ev-faq-row{
  margin-top: 14px;
}

.ev-faq-page .ev-faq-meta{
  margin-left: 0;
}

.ev-faq-page .ev-faq-count{
  background: rgba(239,10,106,.075);
  border-color: rgba(239,10,106,.14);
  color: #be185d;
  font-weight: 800;
}

.ev-faq-page .ev-faq-cat-chips{
  margin-top: 16px;
  gap: 10px;
}

.ev-faq-page .ev-chip{
  min-height: 36px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
  color: rgba(51,65,85,.88);
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.ev-faq-page .ev-chip:hover{
  transform: translateY(-1px);
  border-color: rgba(239,10,106,.18);
  color: #be185d;
}

.ev-faq-page .ev-chip--active{
  background: rgba(239,10,106,.10);
  border-color: rgba(239,10,106,.18);
  color: #be185d;
}

.ev-faq-page .ev-faq-main{
  margin-top: 28px;
  padding: 28px;
  border-radius: 32px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(226,232,240,.92);
  box-shadow: 0 26px 80px rgba(15,23,42,.055);
}

.ev-faq-page .ev-faq-section{
  margin-top: 34px;
}

.ev-faq-page .ev-faq-section:first-of-type{
  margin-top: 0;
}

.ev-faq-page .ev-faq-section-head{
  margin-bottom: 12px;
}

.ev-faq-page .ev-faq-section-head .ev-kicker{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #be185d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .13em;
}

.ev-faq-page .ev-faq-section-head .ev-kicker::before{
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #ef0a6a;
  box-shadow: 0 0 0 4px rgba(239,10,106,.10);
}

.ev-faq-page .ev-faq-list{
  border-top: 0;
  display: grid;
  gap: 10px;
}

.ev-faq-page .ev-faq-item{
  padding: 0;
  border: 1px solid rgba(226,232,240,.92);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.ev-faq-page .ev-faq-item:hover{
  border-color: rgba(239,10,106,.16);
  box-shadow: 0 14px 34px rgba(15,23,42,.045);
}

.ev-faq-page .ev-faq-item[open]{
  border-color: rgba(239,10,106,.20);
  box-shadow: 0 18px 44px rgba(239,10,106,.055);
}

.ev-faq-page .ev-faq-q{
  padding: 18px 18px 18px 20px;
}

.ev-faq-page .ev-faq-q .ev-title-sm{
  font-size: 15px;
  line-height: 1.35;
  font-weight: 850;
  color: #0f172a;
}

.ev-faq-page .ev-faq-q-icon{
  width: 32px;
  height: 32px;
  background: #f8fafc;
}

.ev-faq-page .ev-faq-a{
  max-width: none;
  margin: 0;
  padding: 0 20px 20px;
  color: rgba(51,65,85,.92);
  font-size: 14px;
  line-height: 1.72;
}

.ev-faq-page .ev-faq-a p{
  margin: 0;
}

.ev-faq-page .ev-faq-a p + p{
  margin-top: 10px;
}

.ev-faq-page .ev-faq-a ul,
.ev-faq-page .ev-faq-a ol{
  margin-top: 10px;
  padding-left: 20px;
}

.ev-faq-page .ev-faq-empty{
  padding: 28px;
  border-radius: 22px;
  background: #fff;
  border: 1px dashed rgba(148,163,184,.35);
  text-align: center;
}

/* Mobile */
@media (max-width: 640px){

  .ev-faq-page .ev-faq{
    padding: 48px 0 76px;
  }

  .ev-faq-page .ev-faq-filters,
  .ev-faq-page .ev-faq-main{
    padding: 18px;
    border-radius: 24px;
  }

  .ev-faq-page .ev-faq-cat-chips{
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .ev-faq-page .ev-faq-cat-chips::-webkit-scrollbar{
    display: none;
  }

  .ev-faq-page .ev-chip{
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .ev-faq-page .ev-faq-q{
    padding: 16px;
  }

  .ev-faq-page .ev-faq-a{
    padding: 0 16px 18px;
  }
}


/* =========================================================
   FAQ — largeur alignée avec les pages produits
========================================================= */

.ev-faq-page .ev-faq-filters,
.ev-faq-page .ev-faq-main,
.ev-faq-page .ev-faq-support{
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
}

.ev-faq-page .ev-faq-main{
  padding: 34px;
}

@media (max-width: 640px){
  .ev-faq-page .ev-faq-inner,
  .ev-faq-page .ev-faq-filters,
  .ev-faq-page .ev-faq-main,
  .ev-faq-page .ev-faq-support{
    max-width: 100%;
  }

  .ev-faq-page .ev-faq-main{
    padding: 18px;
  }
}


/* =========================================================
   FAQ — bloc support final
========================================================= */

.ev-faq-page .ev-faq-support{
  margin-top: 28px;
  padding: 34px;
  border-radius: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  background:
    radial-gradient(circle at 88% 50%, rgba(239,10,106,.14), transparent 34%),
    rgba(255,255,255,.9);
  border: 1px solid rgba(226,232,240,.92);
  box-shadow: 0 26px 80px rgba(15,23,42,.055);
}

.ev-faq-page .ev-faq-support .ev-section-eyebrow{
  margin-bottom: 14px;
}

.ev-faq-page .ev-faq-support .ev-title-md{
  margin: 0;
}

.ev-faq-page .ev-faq-support .ev-muted{
  max-width: 620px;
  margin-top: 12px;
}

.ev-faq-page .ev-faq-support .ev-btn-primary{
  white-space: nowrap;
}

@media (max-width: 720px){
  .ev-faq-page .ev-faq-support{
    grid-template-columns: 1fr;
    padding: 24px;
    border-radius: 26px;
  }

  .ev-faq-page .ev-faq-support .ev-btn-primary{
    width: 100%;
    justify-content: center;
  }
}



/* =========================================================
   FIX — Espacement haut UNIQUEMENT pages sans hero
   Ne pas appliquer aux pages marketing produit avec hero.
   ========================================================= */

:root {
  --ev-page-without-hero-offset: 7.5rem;
}

/* Pages de paiement / abonnement */
main > .ev-section:has(.checkout-steps),
main > .ev-section:has(.subscription-steps),
main > .ev-section:has(.billing-steps),
main > .ev-section:has(.ev-checkout),
main > .ev-section:has(.ev-payment),
main > .ev-section:has(.ev-summary) {
  padding-top: var(--ev-page-without-hero-offset);
}

/* Pages support / contact sans hero */
main > .ev-login-page {
  padding-top: var(--ev-page-without-hero-offset);
}

/* Fallback si certains navigateurs ne gèrent pas :has() */
.ev-page-no-hero,
.ev-payment-page,
.ev-subscription-page,
.ev-checkout-page,
.ev-support-page {
  padding-top: var(--ev-page-without-hero-offset);
}

@media (max-width: 768px) {
  :root {
    --ev-page-without-hero-offset: 6.5rem;
  }
}


@media (max-width: 768px) {
  body .ev-no-hero-page {
    margin-top: 6.75rem !important;
  }
}

/* =========================================================
   FIX FINAL — pages abonnement sans hero sous header flottant
   ========================================================= */
body main section.ev-section.ev-no-hero-page {
  padding-top: 9rem !important;
}

body main section.ev-section.ev-no-hero-page > .ev-container.py-20 {
  padding-top: 0 !important;
}

@media (max-width: 768px) {
  body main section.ev-section.ev-no-hero-page {
    padding-top: 7rem !important;
  }
}

/* =========================================================
   FIX FINAL — marge basse pages abonnement sans hero
   ========================================================= */
body main section.ev-section.ev-no-hero-page {
  padding-bottom: 5rem !important;
}

@media (max-width: 768px) {
  body main section.ev-section.ev-no-hero-page {
    padding-bottom: 4rem !important;
  }
}
