/* ==========================================================================
   TrustEvent — Site vitrine public
   Héros sombres couleur nuit de festival, sections de contenu claires.
   Une seule couleur d'accent (le vert de la marque), surfaces neutres,
   repères chiffrés en mono. S'appuie sur les tokens de te-uikit.css (--te-*).
   ========================================================================== */

@font-face { font-family: "Silka"; src: url("../font/Silka-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Silka"; src: url("../font/Silka-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Silka"; src: url("../font/Silka-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

.te-mkt {
  --mkt-night: #0B130E;
  --mkt-night-2: #111A14;
  --mkt-night-3: #18231B;
  /* Vert forêt des fonds sombres : base de marque + une seule lueur tonale (#1f5a32), jamais le néon. */
  --mkt-forest: #0E1D14;
  --mkt-forest-2: #0A150E;
  --mkt-forest-lit: 31, 90, 50;
  --mkt-dark-bg: radial-gradient(110% 85% at 80% -5%, rgba(var(--mkt-forest-lit), .9) 0%, rgba(var(--mkt-forest-lit), 0) 60%), radial-gradient(60% 50% at 0% 100%, rgba(var(--mkt-forest-lit), .35) 0%, rgba(var(--mkt-forest-lit), 0) 70%), linear-gradient(180deg, var(--mkt-forest) 0%, var(--mkt-forest-2) 100%);
  --mkt-section-y: clamp(56px, 6.5vw, 96px);
  --mkt-on-dark: #EEF4EF;
  --mkt-on-dark-2: #B3BEB5;
  --mkt-on-dark-3: #8C988F;
  --mkt-line-dark: rgba(238, 244, 239, .10);
  --mkt-line: rgba(17, 24, 39, .09);
  --mkt-ink: var(--te-text-primary);
  --mkt-ink-2: var(--te-text-secondary);
  --mkt-ink-3: var(--te-text-tertiary);
  --mkt-accent-ink: var(--te-brand-700);
  --mkt-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --mkt-radius-sm: 8px;
  --mkt-radius: 12px;
  --mkt-radius-lg: 16px;
  --mkt-shadow: 0 1px 2px rgba(17, 24, 39, .05);
  --mkt-shadow-float: 0 8px 24px rgba(17, 24, 39, .08);
  --mkt-ease: cubic-bezier(.22, 1, .36, 1);
  --mkt-header-h: 64px;

  margin: 0;
  font-family: var(--te-font);
  color: var(--mkt-ink);
  background: var(--te-bg-base);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
.te-mkt main { display: block; outline: none; }
:where(.te-mkt) img { max-width: 100%; height: auto; }
:where(.te-mkt) a { color: inherit; }
.te-mkt :focus-visible { outline: 2px solid var(--te-brand-500); outline-offset: 3px; border-radius: 4px; }
html:has(.te-mkt) { scroll-padding-top: calc(var(--mkt-header-h) + 16px); }

.te-mkt-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.te-mkt-skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--te-bg-base); color: var(--mkt-ink); font-weight: 500;
  padding: 8px 16px; border-radius: var(--mkt-radius-sm); text-decoration: none;
}
.te-mkt-skip:focus { top: 12px; }

.te-mkt-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; box-sizing: border-box; }
.te-mkt-container--narrow { max-width: 800px; }
.te-mkt-icon { flex: none; display: inline-block; vertical-align: middle; }
.te-mkt-accent { color: inherit; }
.te-mkt-mono { font-family: var(--mkt-mono); font-size: .875em; font-variant-numeric: tabular-nums; }

/* ---------- Boutons ---------- */
.te-mkt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 15px/1 var(--te-font);
  height: 44px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap; box-sizing: border-box;
  transition: background-color .15s var(--mkt-ease), border-color .15s var(--mkt-ease), color .15s var(--mkt-ease), transform .12s var(--mkt-ease);
}
.te-mkt-btn:active { transform: scale(.98); }
.te-mkt-btn--sm { height: 36px; padding: 0 16px; font-size: 14px; border-radius: 8px; }
.te-mkt-btn--lg { height: 48px; padding: 0 20px; font-size: 16px; }
.te-mkt-btn--block { width: 100%; }
.te-mkt-btn--primary { background: var(--te-brand-500); color: var(--mkt-night); }
.te-mkt-btn--primary:hover { background: var(--te-brand-400); }
.te-mkt-btn--ghost { background: var(--te-bg-base); color: var(--mkt-ink); border-color: var(--te-border-default); }
.te-mkt-btn--ghost:hover { border-color: var(--te-border-strong); background: var(--te-bg-subtle); }
.te-mkt-btn--ghost-dark { background: rgba(238,244,239,.04); color: var(--mkt-on-dark); border-color: var(--mkt-line-dark); }
.te-mkt-btn--ghost-dark:hover { background: rgba(238,244,239,.08); border-color: rgba(238,244,239,.2); }

/* ---------- En-tête ---------- */
.te-mkt-header {
  position: sticky; top: 0; z-index: 50; height: var(--mkt-header-h);
  color: var(--mkt-on-dark); background: transparent;
  margin-bottom: calc(-1 * var(--mkt-header-h));
  transition: background-color .2s var(--mkt-ease), box-shadow .2s var(--mkt-ease);
}
.te-mkt-header.is-scrolled, .te-mkt-header.is-open { background: var(--mkt-forest); box-shadow: 0 1px 0 var(--mkt-line-dark); }
.te-mkt-header__inner { height: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; gap: 32px; box-sizing: border-box; }
.te-mkt-header__brand { display: flex; align-items: center; flex: none; }
.te-mkt-logo { display: block; height: 28px; width: auto; }
.te-mkt-logo--dark { display: none; }
.te-mkt-nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.te-mkt-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.te-mkt-nav__item { position: relative; }
.te-mkt-nav__item--mega { position: static; }
.te-mkt-nav__trigger, .te-mkt-nav__link {
  display: inline-flex; align-items: center; gap: 4px; height: 36px;
  font: 400 15px/1 var(--te-font); color: var(--mkt-on-dark-2);
  background: none; border: 0; padding: 0 12px; border-radius: 8px; cursor: pointer; text-decoration: none;
  white-space: nowrap;
  transition: color .15s var(--mkt-ease), background-color .15s var(--mkt-ease);
}
.te-mkt-nav__trigger:hover, .te-mkt-nav__link:hover, .te-mkt-nav__trigger[aria-expanded="true"], .te-mkt-nav__link[aria-current="page"] { color: var(--mkt-on-dark); background: rgba(238,244,239,.06); }
.te-mkt-nav__trigger .te-mkt-icon { transition: transform .18s var(--mkt-ease); opacity: .7; }
.te-mkt-nav__trigger[aria-expanded="true"] .te-mkt-icon { transform: rotate(180deg); }
.te-mkt-nav__actions { display: flex; align-items: center; gap: 8px; }

.te-mkt-menu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 60;
  min-width: 340px; padding: 8px;
  background: var(--te-bg-base); color: var(--mkt-ink);
  border: 1px solid var(--mkt-line); border-radius: var(--mkt-radius-lg);
  box-shadow: var(--mkt-shadow-float);
  animation: te-mkt-pop .18s var(--mkt-ease);
}
.te-mkt-menu--mega { left: 50%; transform: translateX(-50%); top: calc(var(--mkt-header-h) - 4px); width: min(960px, calc(100vw - 32px)); padding: 8px; }
.te-mkt-menu--mega { animation-name: te-mkt-pop-center; }
.te-mkt-menu__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.te-mkt-menu__link { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 8px; text-decoration: none; transition: background-color .15s var(--mkt-ease); }
.te-mkt-menu__link:hover { background: var(--te-bg-subtle); }
.te-mkt-menu__icon { flex: none; width: 20px; height: 20px; display: grid; place-items: center; margin-top: 1px; color: var(--te-brand-600); }
.te-mkt-menu__label { display: block; font-weight: 500; font-size: 15px; line-height: 1.3; }
.te-mkt-menu__desc { display: block; font-size: 13px; line-height: 1.45; color: var(--mkt-ink-3); margin-top: 2px; }
.te-mkt-menu__footer { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 12px 16px; border-radius: 8px; background: var(--te-bg-subtle); font-weight: 500; font-size: 14px; text-decoration: none; color: var(--mkt-ink); }
.te-mkt-menu__footer:hover { background: var(--te-bg-muted); }
@keyframes te-mkt-pop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes te-mkt-pop-center { from { opacity: 0; transform: translate(-50%, -4px); } to { opacity: 1; transform: translate(-50%, 0); } }

.te-mkt-burger { display: none; margin-left: auto; background: none; border: 0; color: var(--mkt-on-dark); padding: 8px; border-radius: 8px; cursor: pointer; }
.te-mkt-mobile {
  position: absolute; top: var(--mkt-header-h); left: 0; right: 0;
  max-height: calc(100dvh - var(--mkt-header-h)); overflow-y: auto;
  background: var(--mkt-forest); border-top: 1px solid var(--mkt-line-dark); padding: 8px 16px 24px;
}
.te-mkt-mobile a:not(.te-mkt-btn) { display: flex; align-items: center; gap: 12px; min-height: 44px; color: var(--mkt-on-dark); text-decoration: none; border-bottom: 1px solid var(--mkt-line-dark); }
.te-mkt-mobile a:not(.te-mkt-btn) .te-mkt-icon { color: var(--mkt-on-dark-3); }
.te-mkt-mobile__title { margin: 24px 0 8px; font-size: 13px; font-weight: 500; color: var(--mkt-on-dark-3); }
.te-mkt-mobile__actions { display: grid; gap: 8px; margin-top: 24px; }
.te-mkt-mobile__actions .te-mkt-btn--ghost { background: transparent; color: var(--mkt-on-dark); border-color: var(--mkt-line-dark); }

/* ---------- Héros ---------- */
.te-mkt-hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--mkt-on-dark);
  background: var(--mkt-dark-bg);
  padding: calc(var(--mkt-header-h) + 72px) 0 0;
}
.te-mkt-hero__glow { display: none; }
.te-mkt-hero__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 64px; align-items: end; }
.te-mkt-hero__kicker { margin: 0 0 24px; font-family: var(--mkt-mono); font-size: 13px; color: var(--te-brand-400); }
.te-mkt-hero__kicker a { color: var(--mkt-on-dark-2); text-underline-offset: 3px; }
.te-mkt-hero__kicker a:hover { color: var(--mkt-on-dark); }
.te-mkt-hero__title {
  margin: 0; max-width: 18ch;
  font-size: clamp(40px, 5.6vw, 68px); line-height: 1.04; font-weight: 600; letter-spacing: -.035em;
  color: #fff; text-wrap: balance;
}
.te-mkt-hero__title--page { font-size: clamp(36px, 4.4vw, 56px); max-width: 24ch; line-height: 1.08; letter-spacing: -.03em; }
.te-mkt-hero__lead { margin: 24px 0 0; max-width: 36rem; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--mkt-on-dark-2); text-wrap: pretty; }
.te-mkt-hero__aside .te-mkt-hero__lead { margin: 0; }
.te-mkt-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.te-mkt-hero__stage { position: relative; margin-top: 80px; }
.te-mkt-hero__window {
  position: relative; z-index: 1;
  border-radius: 16px 16px 0 0; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(238,244,239,.12);
  -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent);
}
.te-mkt-hero__float { position: absolute; z-index: 2; width: 232px; filter: drop-shadow(0 24px 40px rgba(0,0,0,.45)); }
.te-mkt-hero__float--right { right: 24px; bottom: 48px; }
.te-mkt-hero__float--left { display: none; }
.te-mkt-hero--page { padding-bottom: 64px; padding-top: calc(var(--mkt-header-h) + 48px); }
.te-mkt-hero--page .te-mkt-hero__title { max-width: 24ch; }
.te-mkt-hero--center .te-mkt-hero__title, .te-mkt-hero--center .te-mkt-hero__lead { max-width: 22ch; }
.te-mkt-hero--center .te-mkt-hero__lead { max-width: 40rem; }
.te-mkt-hero--legal { padding-bottom: 56px; }

/* ---------- Fil d'Ariane ---------- */
.te-mkt-crumbs { margin-bottom: 32px; font-size: 14px; }
.te-mkt-crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.te-mkt-crumbs li { display: inline-flex; align-items: center; gap: 8px; color: var(--mkt-on-dark-3); }
.te-mkt-crumbs li + li::before { content: "/"; opacity: .5; }
.te-mkt-crumbs a { color: var(--mkt-on-dark-2); text-decoration: none; }
.te-mkt-crumbs a:hover { color: #fff; text-decoration: underline; }
.te-mkt-crumbs [aria-current] { color: var(--mkt-on-dark); }

/* ---------- Repères chiffrés ---------- */
.te-mkt-figures { background: var(--te-bg-base); border-bottom: 1px solid var(--mkt-line); }
.te-mkt-figures__grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.te-mkt-figures__grid > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; padding: 32px 24px; border-left: 1px solid var(--mkt-line); }
.te-mkt-figures__grid > div:first-child { border-left: 0; padding-left: 0; }
.te-mkt-figures dd { margin: 0; font-size: 28px; font-weight: 500; letter-spacing: -.02em; line-height: 1.1; color: var(--mkt-ink); font-variant-numeric: tabular-nums; }
.te-mkt-figures dt { font-size: 14px; color: var(--mkt-ink-2); line-height: 1.45; }

/* ---------- Sections ---------- */
.te-mkt-section { padding: var(--mkt-section-y) 0; }
/* Deux sections de même fond qui se suivent : un seul espacement entre elles, pas deux. */
.te-mkt-section:not([class*="--"]) + .te-mkt-section:not([class*="--"]),
.te-mkt-section--subtle + .te-mkt-section--subtle { padding-top: 0; }
.te-mkt-section--subtle { background: var(--te-bg-subtle); }
.te-mkt-section--dark { color: var(--mkt-on-dark); background: radial-gradient(70% 90% at 10% 60%, rgba(var(--mkt-forest-lit), .45), transparent 65%), var(--mkt-forest); }
.te-mkt-section--dark .te-mkt-h2 { color: #fff; }
.te-mkt-section--dark .te-mkt-lead, .te-mkt-section--dark .te-mkt-checks li { color: var(--mkt-on-dark-2); }
.te-mkt-section--dark .te-mkt-eyebrow { color: var(--te-brand-400); }
.te-mkt-section--dark .te-mkt-checks .te-mkt-icon { color: var(--te-brand-400); }
.te-mkt-head { max-width: 760px; margin: 0 0 40px; }
.te-mkt-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.te-mkt-head--left { text-align: left; }
.te-mkt-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.te-mkt-head-row .te-mkt-head { margin-bottom: 0; }
.te-mkt-eyebrow { margin: 0 0 12px; font-family: var(--mkt-mono); font-size: 13px; font-weight: 400; color: var(--te-brand-700); }
.te-mkt-h2 { margin: 0; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; font-weight: 600; letter-spacing: -.025em; text-wrap: balance; }
.te-mkt-h3 { margin: 0 0 12px; font-size: clamp(21px, 2vw, 24px); line-height: 1.25; font-weight: 500; letter-spacing: -.01em; }
.te-mkt-h3 a { text-decoration: none; }
.te-mkt-h3 a:hover { color: var(--mkt-accent-ink); }
.te-mkt-lead { margin: 16px 0 0; font-size: 18px; line-height: 1.6; color: var(--mkt-ink-2); text-wrap: pretty; }
.te-mkt-link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; color: var(--mkt-accent-ink); text-decoration: none; white-space: nowrap; }
.te-mkt-link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Comparatif ---------- */
.te-mkt-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.te-mkt-compare__col { padding: 32px; border-radius: var(--mkt-radius-lg); border: 1px solid var(--mkt-line); }
.te-mkt-compare__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.te-mkt-compare__col li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.te-mkt-compare__col li .te-mkt-icon { margin-top: 3px; }
.te-mkt-compare__label { margin: 0 0 20px; font-size: 15px; font-weight: 500; }
.te-mkt-compare__col--before { background: var(--te-bg-subtle); color: var(--mkt-ink-2); }
.te-mkt-compare__col--before .te-mkt-compare__label { color: var(--mkt-ink-3); }
.te-mkt-compare__col--before .te-mkt-icon { color: var(--mkt-ink-3); }
.te-mkt-compare__col--after { background: radial-gradient(90% 90% at 100% 0%, rgba(var(--mkt-forest-lit), .5), transparent 65%), var(--mkt-forest); color: var(--mkt-on-dark); border-color: transparent; }
.te-mkt-compare__col--after .te-mkt-compare__label { color: var(--mkt-on-dark); }
.te-mkt-compare__col--after .te-mkt-icon { color: var(--te-brand-400); }

/* ---------- Cartes ---------- */
.te-mkt-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.te-mkt-cards--2 { grid-template-columns: repeat(2, 1fr); }
.te-mkt-cards--3 { grid-template-columns: repeat(3, 1fr); }
.te-mkt-cards--4 { grid-template-columns: repeat(4, 1fr); }
.te-mkt-card {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  padding: 24px; border-radius: var(--mkt-radius-lg);
  background: var(--te-bg-base); border: 1px solid var(--mkt-line);
  text-decoration: none; color: var(--mkt-ink);
  transition: border-color .15s var(--mkt-ease), background-color .15s var(--mkt-ease);
}
.te-mkt-card:hover { border-color: var(--te-border-strong); }
.te-mkt-card__icon { display: grid; place-items: center; width: 20px; height: 20px; margin-bottom: 8px; color: var(--te-brand-600); }
.te-mkt-card__title { font-size: 18px; font-weight: 500; line-height: 1.3; }
.te-mkt-card__text { font-size: 15px; line-height: 1.55; color: var(--mkt-ink-2); flex: 1; }
.te-mkt-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; font-weight: 500; color: var(--mkt-accent-ink); }
.te-mkt-card:hover .te-mkt-card__more { text-decoration: underline; text-underline-offset: 3px; }
.te-mkt-card--large { padding: 32px; }
.te-mkt-card--large .te-mkt-card__title { font-size: 22px; }
.te-mkt-card--large .te-mkt-card__text { font-size: 16px; }

/* ---------- Onglets ---------- */
.te-mkt-tabs__list { display: flex; gap: 4px; width: max-content; max-width: 100%; margin: 0 0 48px; padding: 4px; border-radius: 12px; background: var(--te-bg-muted); box-sizing: border-box; }
.te-mkt-tabs__list [role="tab"] {
  font: 500 15px/1 var(--te-font); color: var(--mkt-ink-2);
  height: 40px; padding: 0 20px; border-radius: 8px; border: 0; background: transparent; cursor: pointer;
  transition: background-color .15s var(--mkt-ease), color .15s var(--mkt-ease);
}
.te-mkt-tabs__list [role="tab"][aria-selected="true"] { background: var(--te-bg-base); color: var(--mkt-ink); box-shadow: var(--mkt-shadow); }
.te-mkt-tabs__panel { animation: te-mkt-fade .3s var(--mkt-ease); }
@keyframes te-mkt-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Blocs texte + visuel ---------- */
.te-mkt-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.te-mkt-split--reverse .te-mkt-split__text { order: 2; }
.te-mkt-split--hero { grid-template-columns: 1fr 1fr; }
.te-mkt-split__text > p { color: var(--mkt-ink-2); font-size: 17px; }
.te-mkt-hero .te-mkt-split__text > p { color: var(--mkt-on-dark-2); }
.te-mkt-split__text .te-mkt-btn { margin-top: 32px; }
.te-mkt-split__visual { min-width: 0; }
.te-mkt-split__visual--phones { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; width: 100%; max-width: 520px; margin: 0 auto; }
.te-mkt-split__visual--phones > :last-child { transform: translateY(40px); }
.te-mkt-split__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.te-mkt-chip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 8px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--mkt-ink); background: var(--te-bg-base); border: 1px solid var(--te-border-default); transition: border-color .15s var(--mkt-ease), background-color .15s var(--mkt-ease); box-sizing: border-box; }
.te-mkt-chip .te-mkt-icon { color: var(--mkt-ink-3); }
.te-mkt-chip:hover { border-color: var(--te-border-strong); }
.te-mkt-chip.is-active { border-color: var(--mkt-ink); }
.te-mkt-checks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.te-mkt-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: var(--mkt-ink-2); }
.te-mkt-checks .te-mkt-icon { margin-top: 2px; color: var(--te-brand-600); }
.te-mkt-checks--compact { gap: 8px; }
.te-mkt-checks--compact li { font-size: 15px; }
.te-mkt-checks--cols { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.te-mkt-shot { position: relative; width: 100%; }

/* ---------- Bénéfices ---------- */
.te-mkt-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; border-top: 1px solid var(--mkt-line); }
.te-mkt-benefit { padding: 32px 32px 32px 0; border-bottom: 1px solid var(--mkt-line); }
.te-mkt-benefit__icon { display: grid; place-items: center; width: 20px; height: 20px; margin-bottom: 16px; color: var(--te-brand-600); }
.te-mkt-benefit__icon--num { font-family: var(--mkt-mono); font-size: 14px; width: auto; justify-content: start; }
.te-mkt-benefit__title { margin: 0 0 8px; font-size: 18px; font-weight: 500; line-height: 1.3; }
.te-mkt-benefit p, .te-mkt-pain p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--mkt-ink-2); }
.te-mkt-pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.te-mkt-pain { padding: 24px; border-radius: var(--mkt-radius-lg); background: var(--te-bg-subtle); border: 1px solid var(--mkt-line); }

/* ---------- Détail numéroté ---------- */
.te-mkt-detail { display: grid; grid-template-columns: 64px minmax(0, 760px); gap: 32px; max-width: none; margin: 0; padding: 40px 0; border-top: 1px solid var(--mkt-line); }
.te-mkt-detail:first-child { border-top: 0; padding-top: 0; }
.te-mkt-detail:last-child { padding-bottom: 0; }
.te-mkt-detail__num { font-family: var(--mkt-mono); font-size: 14px; line-height: 1.8; color: var(--mkt-ink-3); font-variant-numeric: tabular-nums; }
.te-mkt-detail__body > p { margin: 0; color: var(--mkt-ink-2); font-size: 17px; }

/* ---------- Vue d'ensemble des modules ---------- */
.te-mkt-overview { display: grid; gap: clamp(64px, 8vw, 112px); }
.te-mkt-overview__item { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.te-mkt-overview__item:nth-child(even) .te-mkt-overview__text { order: 2; }
.te-mkt-overview__text > p { color: var(--mkt-ink-2); margin: 0; }
.te-mkt-overview__text .te-mkt-card__icon { margin-bottom: 16px; }
.te-mkt-overview__text .te-mkt-link-arrow { margin-top: 24px; }
.te-mkt-overview__visual { min-width: 0; }

/* ---------- Tarifs ---------- */
.te-mkt-pricing { display: grid; grid-template-columns: 380px 1fr; gap: 16px; align-items: stretch; }
.te-mkt-pricing__card { padding: 40px; border-radius: var(--mkt-radius-lg); color: var(--mkt-on-dark); background: radial-gradient(80% 130% at 100% 0%, rgba(var(--mkt-forest-lit), .6), transparent 60%), var(--mkt-forest); }
.te-mkt-pricing__card .te-mkt-eyebrow { color: var(--te-brand-400); }
.te-mkt-pricing__big { margin: 8px 0; font-size: 88px; font-weight: 600; letter-spacing: -.04em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.te-mkt-pricing__sub { margin: 0 0 32px; color: var(--mkt-on-dark-2); font-size: 16px; }
.te-mkt-pricing__included { padding: 40px; border-radius: var(--mkt-radius-lg); border: 1px solid var(--mkt-line); }

/* ---------- FAQ ---------- */
.te-mkt-faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px 64px; align-items: start; }
.te-mkt-faq-layout .te-mkt-head { margin: 0; }
.te-mkt-faq { display: grid; border-top: 1px solid var(--mkt-line); }
.te-mkt-faq__item { border-bottom: 1px solid var(--mkt-line); }
.te-mkt-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 500; font-size: 17px; cursor: pointer; list-style: none; }
.te-mkt-faq__item summary::-webkit-details-marker { display: none; }
.te-mkt-faq__item summary:hover { color: var(--mkt-accent-ink); }
.te-mkt-faq__item summary .te-mkt-icon { color: var(--mkt-ink-3); transition: transform .18s var(--mkt-ease); }
.te-mkt-faq__item[open] summary .te-mkt-icon { transform: rotate(180deg); }
.te-mkt-faq__item p { margin: 0; padding: 0 0 24px; max-width: 64ch; color: var(--mkt-ink-2); font-size: 16px; }

/* ---------- Appel à l'action ---------- */
.te-mkt-cta { padding: 0 0 var(--mkt-section-y); }
.te-mkt-section + .te-mkt-cta, .te-mkt-section--subtle + .te-mkt-cta { padding-top: clamp(24px, 4vw, 48px); }
.te-mkt-section--subtle + .te-mkt-cta { background: linear-gradient(var(--te-bg-subtle) 50%, var(--te-bg-base) 50%); padding-top: 0; }
.te-mkt-cta__box {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: center;
  padding: clamp(40px, 6vw, 72px); border-radius: 20px;
  color: var(--mkt-on-dark); background: radial-gradient(80% 130% at 100% 100%, rgba(var(--mkt-forest-lit), .6), transparent 60%), var(--mkt-forest);
}
.te-mkt-cta__title { margin: 0; max-width: 20ch; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; font-weight: 600; letter-spacing: -.025em; color: #fff; text-wrap: balance; }
.te-mkt-cta__lead { margin: 16px 0 0; max-width: 52ch; color: var(--mkt-on-dark-2); font-size: 17px; }
.te-mkt-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Blog ---------- */
.te-mkt-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.te-mkt-post { display: flex; }
.te-mkt-post__link { display: flex; flex-direction: column; width: 100%; border-radius: var(--mkt-radius-lg); overflow: hidden; background: var(--te-bg-base); border: 1px solid var(--mkt-line); text-decoration: none; transition: border-color .15s var(--mkt-ease); }
.te-mkt-post__link:hover { border-color: var(--te-border-strong); }
.te-mkt-post__cover { aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; background: var(--mkt-night-2); color: var(--mkt-on-dark-3); }
.te-mkt-post__cover img { width: 100%; height: 100%; object-fit: cover; }
.te-mkt-post__body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.te-mkt-post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 12px; font-size: 13px; color: var(--mkt-ink-3); font-variant-numeric: tabular-nums; }
.te-mkt-post__cat { font-weight: 500; color: var(--mkt-ink-2); }
.te-mkt-post__title { margin: 0 0 8px; font-size: 19px; line-height: 1.3; font-weight: 500; }
.te-mkt-post__excerpt { margin: 0; flex: 1; font-size: 15px; color: var(--mkt-ink-2); }
.te-mkt-post__more { margin-top: 20px; font-size: 14px; font-weight: 500; color: var(--mkt-accent-ink); }
.te-mkt-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.te-mkt-pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 56px; }
.te-mkt-pager a, .te-mkt-pager span { min-width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0 12px; border-radius: 8px; border: 1px solid var(--te-border-default); text-decoration: none; font-weight: 500; font-variant-numeric: tabular-nums; box-sizing: border-box; }
.te-mkt-pager [aria-current] { background: var(--mkt-night); color: #fff; border-color: var(--mkt-night); }
.te-mkt-empty { text-align: center; padding: 64px 24px; color: var(--mkt-ink-3); border: 1px dashed var(--te-border-default); border-radius: var(--mkt-radius-lg); }
.te-mkt-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 24px; font-size: 15px; color: var(--mkt-on-dark-3); }
.te-mkt-article__meta .te-mkt-post__cat { color: var(--mkt-on-dark-2); text-decoration: none; }
.te-mkt-article__cover { margin: -48px auto 0; position: relative; z-index: 1; border-radius: var(--mkt-radius-lg); overflow: hidden; aspect-ratio: 16 / 9; }
.te-mkt-article__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.te-mkt-article__aside { margin-top: 56px; padding: 32px; border-radius: var(--mkt-radius-lg); background: var(--te-bg-subtle); border: 1px solid var(--mkt-line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.te-mkt-article__aside p { margin: 0; font-weight: 500; font-size: 18px; max-width: 40ch; }

/* ---------- Guides ---------- */
.te-mkt-guide { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; }
.te-mkt-guide__toc { position: sticky; top: calc(var(--mkt-header-h) + 32px); font-size: 14px; }
.te-mkt-guide__toc p { margin: 0 0 12px; font-family: var(--mkt-mono); font-size: 13px; color: var(--mkt-ink-3); }
.te-mkt-guide__toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: toc; }
.te-mkt-guide__toc li { counter-increment: toc; }
.te-mkt-guide__toc a { display: grid; grid-template-columns: 28px 1fr; padding: 4px 0; color: var(--mkt-ink-2); text-decoration: none; line-height: 1.4; }
.te-mkt-guide__toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--mkt-mono); font-size: 12px; line-height: 1.7; color: var(--mkt-ink-3); }
.te-mkt-guide__toc a:hover { color: var(--mkt-ink); }
.te-mkt-guide__body { max-width: 720px; }
.te-mkt-keypoints { margin: 0 0 48px; padding: 24px 28px; border-radius: var(--mkt-radius-lg); background: var(--te-bg-subtle); border: 1px solid var(--mkt-line); }
.te-mkt-keypoints p { margin: 0 0 12px; font-weight: 500; color: var(--mkt-ink); }
.te-mkt-keypoints ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--mkt-ink-2); }
.te-mkt-byline { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 24px; font-size: 14px; color: var(--mkt-on-dark-3); font-variant-numeric: tabular-nums; }
.te-mkt-byline a { color: var(--mkt-on-dark-2); }
.te-mkt-sources { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--mkt-line); font-size: 15px; color: var(--mkt-ink-2); }
.te-mkt-sources h2 { margin: 0 0 12px; font-size: 17px; font-weight: 500; color: var(--mkt-ink); }
.te-mkt-sources ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.te-mkt-sources a { color: var(--mkt-accent-ink); text-underline-offset: 3px; }
.te-mkt-guides { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.te-mkt-guide-card { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 24px; border-radius: var(--mkt-radius-lg); border: 1px solid var(--mkt-line); background: var(--te-bg-base); text-decoration: none; color: var(--mkt-ink); transition: border-color .15s var(--mkt-ease); }
.te-mkt-guide-card:hover { border-color: var(--te-border-strong); }
.te-mkt-guide-card__num { font-family: var(--mkt-mono); font-size: 13px; line-height: 1.9; color: var(--mkt-ink-3); }
.te-mkt-guide-card__title { display: block; font-size: 18px; font-weight: 500; line-height: 1.3; }
.te-mkt-guide-card__text { display: block; margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--mkt-ink-2); }
.te-mkt-guide-card__meta { display: block; margin-top: 12px; font-size: 13px; color: var(--mkt-ink-3); font-variant-numeric: tabular-nums; }

/* ---------- À propos, contact ---------- */
.te-mkt-facts { display: grid; grid-template-columns: max-content 1fr; gap: 12px 32px; margin: 0; font-size: 16px; }
.te-mkt-facts dt { color: var(--mkt-ink-3); }
.te-mkt-facts dd { margin: 0; color: var(--mkt-ink); }
.te-mkt-timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--mkt-line); }
.te-mkt-timeline li { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--mkt-line); }
.te-mkt-timeline time { font-family: var(--mkt-mono); font-size: 14px; line-height: 1.7; color: var(--mkt-ink-3); }
.te-mkt-timeline p { margin: 0; color: var(--mkt-ink-2); }
.te-mkt-timeline strong { display: block; margin-bottom: 4px; font-weight: 500; color: var(--mkt-ink); }
.te-mkt-contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.te-mkt-contact__item { padding: 24px; border-radius: var(--mkt-radius-lg); border: 1px solid var(--mkt-line); }
.te-mkt-contact__item h2 { margin: 0 0 8px; font-size: 18px; font-weight: 500; }
.te-mkt-contact__item p { margin: 0 0 16px; font-size: 15px; color: var(--mkt-ink-2); }
.te-mkt-contact__item a:not(.te-mkt-btn) { color: var(--mkt-accent-ink); font-weight: 500; text-underline-offset: 3px; }

/* ---------- Texte long (légal, articles, guides) ---------- */
.te-mkt-prose { font-size: 18px; line-height: 1.7; color: var(--mkt-ink-2); }
.te-mkt-prose > :first-child { margin-top: 0; }
.te-mkt-prose--after-title { margin-top: 24px; }
.te-mkt-prose h2 { margin: 56px 0 16px; font-size: 28px; line-height: 1.25; font-weight: 500; letter-spacing: -.01em; color: var(--mkt-ink); }
.te-mkt-prose h3 { margin: 40px 0 12px; font-size: 21px; line-height: 1.3; font-weight: 500; color: var(--mkt-ink); }
.te-mkt-prose h4 { margin: 32px 0 8px; font-size: 18px; font-weight: 500; color: var(--mkt-ink); }
.te-mkt-prose p, .te-mkt-prose ul, .te-mkt-prose ol { margin: 0 0 20px; }
.te-mkt-prose ul, .te-mkt-prose ol { padding-left: 24px; }
.te-mkt-prose li { margin-bottom: 8px; }
.te-mkt-prose li::marker { color: var(--mkt-ink-3); }
.te-mkt-prose strong { color: var(--mkt-ink); font-weight: 500; }
.te-mkt-prose a { color: var(--mkt-accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.te-mkt-prose a:hover { color: var(--mkt-ink); }
.te-mkt-prose blockquote { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--te-brand-500); font-size: 20px; color: var(--mkt-ink); }
.te-mkt-prose img, .te-mkt-prose figure { margin: 32px 0; border-radius: var(--mkt-radius); }
.te-mkt-prose figcaption { font-size: 14px; color: var(--mkt-ink-3); text-align: center; margin-top: 8px; }
.te-mkt-prose code { font-family: var(--mkt-mono); font-size: .875em; padding: 2px 6px; border-radius: 4px; background: var(--te-bg-muted); }
.te-mkt-prose pre { padding: 20px; border-radius: var(--mkt-radius); background: var(--mkt-night); color: var(--mkt-on-dark); overflow-x: auto; }
.te-mkt-prose dl { display: grid; grid-template-columns: max-content 1fr; gap: 12px 24px; margin: 0 0 24px; }
.te-mkt-prose dt { font-weight: 500; color: var(--mkt-ink); }
.te-mkt-prose dd { margin: 0; }
.te-mkt-prose table { width: 100%; margin: 0 0 24px; border-collapse: collapse; font-size: 16px; }
.te-mkt-prose th, .te-mkt-prose td { padding: 12px 12px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--mkt-line); }
.te-mkt-prose th { font-weight: 500; color: var(--mkt-ink); }
.te-mkt-prose .te-mkt-table-wrap { overflow-x: auto; }

/* ---------- Pied de page ---------- */
.te-mkt-footer { color: var(--mkt-on-dark-2); background: var(--mkt-forest-2); padding: 64px 0 28px; font-size: 15px; }
.te-mkt-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
.te-mkt-footer__brand img { height: 28px; width: auto; }
.te-mkt-footer__brand p { margin: 20px 0 24px; max-width: 34ch; line-height: 1.6; }
.te-mkt-footer__title { margin: 0 0 16px; font-size: 15px; font-weight: 500; color: var(--mkt-on-dark); }
.te-mkt-footer ul { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 8px; }
.te-mkt-footer a { color: var(--mkt-on-dark-2); text-decoration: none; }
.te-mkt-footer a:hover { color: #fff; }
.te-mkt-footer .te-mkt-btn--primary { color: var(--mkt-night); }
.te-mkt-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--mkt-line-dark); font-size: 14px; color: var(--mkt-on-dark-3); }
.te-mkt-footer__bottom p { margin: 0; }
.te-mkt-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .te-mkt-nav { display: none; }
  .te-mkt-burger { display: inline-flex; }
  .te-mkt-cards--4 { grid-template-columns: repeat(2, 1fr); }
  .te-mkt-pains { grid-template-columns: repeat(2, 1fr); }
  .te-mkt-hero__float { display: none; }
  .te-mkt-footer__top { grid-template-columns: 1fr 1fr; }
  .te-mkt-pricing { grid-template-columns: 1fr; }
  .te-mkt-guide { grid-template-columns: 1fr; gap: 32px; }
  .te-mkt-guide__toc { position: static; padding-bottom: 24px; border-bottom: 1px solid var(--mkt-line); }
  .te-mkt-contact { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .te-mkt-hero__inner { grid-template-columns: 1fr; }
  .te-mkt-split, .te-mkt-split--hero, .te-mkt-overview__item, .te-mkt-compare { grid-template-columns: 1fr; }
  .te-mkt-split--reverse .te-mkt-split__text, .te-mkt-overview__item:nth-child(even) .te-mkt-overview__text { order: 0; }
  .te-mkt-cards--2, .te-mkt-cards--3, .te-mkt-guides { grid-template-columns: 1fr; }
  .te-mkt-posts { grid-template-columns: 1fr; }
  .te-mkt-figures__grid { grid-template-columns: 1fr 1fr; }
  .te-mkt-figures__grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .te-mkt-figures__grid > div:nth-child(n+3) { border-top: 1px solid var(--mkt-line); }
  .te-mkt-detail { grid-template-columns: 1fr; gap: 8px; }
  .te-mkt-head-row { flex-direction: column; align-items: flex-start; }
  .te-mkt-checks--cols { grid-template-columns: 1fr; }
  .te-mkt-cta__box { grid-template-columns: 1fr; }
  .te-mkt-faq-layout { grid-template-columns: 1fr; }
  .te-mkt-timeline li { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 600px) {
  .te-mkt { font-size: 16px; }
  .te-mkt-container, .te-mkt-header__inner { padding: 0 16px; }
  .te-mkt { --mkt-section-y: 56px; }
  .te-mkt-hero { padding-top: calc(var(--mkt-header-h) + 48px); }
  .te-mkt-hero__title { font-size: 38px; }
  .te-mkt-hero__title--page { font-size: 34px; }
  .te-mkt-hero__actions { flex-direction: column; align-items: stretch; width: 100%; }
  .te-mkt-hero__stage { margin-top: 48px; }
  .te-mkt-cards--4, .te-mkt-pains { grid-template-columns: 1fr; }
  .te-mkt-figures__grid > div { padding: 24px 12px 24px 0; }
  .te-mkt-figures__grid > div:nth-child(even) { padding-left: 12px; }
  .te-mkt-tabs__list { width: 100%; }
  .te-mkt-tabs__list [role="tab"] { flex: 1; padding: 0 8px; }
  .te-mkt-split__visual--phones { grid-template-columns: 1fr; max-width: 300px; }
  .te-mkt-split__visual--phones > :last-child { display: none; }
  .te-mkt-footer__top { grid-template-columns: 1fr; gap: 8px; }
  .te-mkt-pricing__card, .te-mkt-pricing__included, .te-mkt-compare__col { padding: 24px; }
  .te-mkt-benefit { padding-right: 0; }
  .te-mkt-prose { font-size: 17px; }
  .te-mkt-prose dl, .te-mkt-facts { grid-template-columns: 1fr; gap: 4px; }
  .te-mkt-prose dd, .te-mkt-facts dd { margin-bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .te-mkt *, .te-mkt *::before, .te-mkt *::after { animation: none !important; transition: none !important; }
}
