/* ═══════════════════════════════════════════════════════════
   APEXIA — Pages agents ("Éditorial lumière" — variante dark)
   Réutilise les tokens de home.css. On importe /assets/home.css
   pour hériter des styles communs (nav, mobile menu, form, back-to-top…).
   ═══════════════════════════════════════════════════════════ */
@import url('/assets/home.css');

/* ═══════════════════════════════════════════
   NAV — variante dark
   ═══════════════════════════════════════════ */
.nav--dark {
  background: var(--ink);
  border-bottom: 1px solid rgba(245,242,235,.08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: var(--paper);
}
.nav--dark .nav__wordmark-name { color: var(--paper); }
.nav--dark .nav__wordmark-baseline { color: rgba(245,242,235,.5); }
.nav--dark .nav__links a { color: rgba(245,242,235,.62); }
.nav--dark .nav__links a:hover,
.nav--dark .nav__links a:focus-visible { color: var(--paper); }
.nav--dark .nav__links a.is-current { color: var(--orange-light); }
.nav--dark .nav__links a.nav__cta {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.nav--dark .nav__links a.nav__cta:hover,
.nav--dark .nav__links a.nav__cta:focus-visible {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  color: var(--white);
}
.nav--dark .nav__burger span { background: var(--paper); }

/* Eyebrow — variantes de couleur */
.eyebrow--light {
  color: var(--orange-light);
}
.eyebrow--light::before { background: var(--orange-light); }
.eyebrow--white {
  color: var(--paper);
}
.eyebrow--white::before { background: var(--paper); }

/* ═══════════════════════════════════════════
   HERO SOMBRE
   ═══════════════════════════════════════════ */
.agent-hero {
  background: var(--ink);
  color: var(--paper);
  padding: 48px 56px 88px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.agent-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 85% 120%, rgba(200,78,32,.3), rgba(26,26,24,0) 70%);
  pointer-events: none;
  z-index: -1;
}
.agent-hero .container { position: relative; }

.agent-hero__crumbs {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(245,242,235,.45);
  margin-bottom: 48px;
  display: flex; align-items: center;
  gap: 10px; flex-wrap: wrap;
}
.agent-hero__crumbs a {
  color: rgba(245,242,235,.55);
  transition: color var(--dur) var(--ease);
}
.agent-hero__crumbs a:hover, .agent-hero__crumbs a:focus-visible { color: var(--paper); }
.agent-hero__crumbs span[aria-hidden] { color: rgba(245,242,235,.25); }
.agent-hero__crumbs-current { color: var(--orange-light); }

.agent-hero__grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
}
.agent-hero__eyebrow { margin-bottom: 26px; }
.agent-hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1.02;
  margin: 0 0 26px;
  letter-spacing: -1px;
  text-wrap: balance;
}
.agent-hero__baseline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  line-height: 1.5;
  color: rgba(245,242,235,.78);
  max-width: 540px;
  margin-bottom: 38px;
  text-wrap: pretty;
}
.agent-hero__baseline em {
  font-style: italic;
  color: var(--orange-light);
  font-weight: 400;
}
.agent-hero__actions {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
}
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(245,242,235,.35);
  color: var(--paper);
  padding: 17px 32px;
  font-size: 13px; letter-spacing: 1.4px;
  text-transform: uppercase; font-weight: 600;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
  min-height: 44px;
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  border-color: var(--paper);
  background: rgba(245,242,235,.06);
}

.agent-hero__price {
  background: rgba(245,242,235,.05);
  border: 1px solid rgba(245,242,235,.16);
  padding: 28px 30px;
  text-align: right;
  position: relative;
}
.agent-hero__price::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 40px; height: 2px;
  background: var(--orange-light);
}
.agent-hero__price-label {
  font-size: 10.5px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: rgba(245,242,235,.5);
  margin-bottom: 14px;
  font-weight: 500;
}
.agent-hero__price-value {
  margin-bottom: 18px;
  display: flex; align-items: baseline; justify-content: flex-end;
  gap: 8px;
}
.agent-hero__price-num {
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1;
  font-weight: 400;
}
.agent-hero__price-num--italic {
  font-style: italic;
  font-size: 42px;
  color: var(--orange-light);
  font-weight: 300;
}
.agent-hero__price-per {
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(245,242,235,.55);
  font-weight: 500;
}
.agent-hero__price-note {
  border-top: 1px solid rgba(245,242,235,.14);
  padding-top: 16px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(245,242,235,.55);
  text-align: left;
}

/* ═══════════════════════════════════════════
   PROMESSE
   ═══════════════════════════════════════════ */
.promise {
  background: var(--paper);
  padding: 96px 56px;
}
.promise__inner { max-width: 820px; }
.promise__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.2;
  margin: 20px 0 28px;
  text-wrap: balance;
}
.promise__title em {
  font-style: italic;
  color: var(--orange);
  font-weight: 400;
}
.promise__body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-70);
  max-width: 620px;
  text-wrap: pretty;
}

/* ═══════════════════════════════════════════
   TASKS / 5 CHOSES
   ═══════════════════════════════════════════ */
.tasks {
  background: var(--white);
  padding: 88px 56px;
}
.tasks__header { margin-bottom: 44px; }
.tasks__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 44px);
  margin: 20px 0 14px;
  text-wrap: balance;
}
.tasks__title em {
  font-style: italic;
  color: var(--orange);
  font-weight: 400;
}
.tasks__sub {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-62);
  max-width: 480px;
}
.task-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.7fr;
  gap: 28px;
  align-items: baseline;
  padding: 26px 4px;
  border-top: 1px solid var(--ink-14);
  transition: background var(--dur-slow) var(--ease), padding var(--dur-slow) var(--ease);
  margin: 0 -4px;
}
.task-row:last-of-type { border-bottom: 1px solid var(--ink-14); }
.task-row:hover {
  background: rgba(200,78,32,.045);
  padding-left: 18px;
}
.task-row__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 30px;
  color: var(--orange);
  line-height: 1;
}
.task-row__name {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
.task-row__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-62);
  text-wrap: pretty;
}

/* ═══════════════════════════════════════════
   CE QUE ÇA CHANGE
   ═══════════════════════════════════════════ */
.change {
  background: var(--paper-alt);
  padding: 88px 56px;
}
.change__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.2;
  margin: 20px 0 26px;
  max-width: 720px;
  text-wrap: balance;
}
.change__title em {
  font-style: italic;
  color: var(--orange);
  font-weight: 400;
}
.change__body {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-70);
  max-width: 640px;
  text-wrap: pretty;
}
.change__body em {
  font-style: italic;
  color: var(--orange);
  font-weight: 500;
}

/* ═══════════════════════════════════════════
   PRICING CARD
   ═══════════════════════════════════════════ */
.pricing-card {
  background: var(--paper);
  padding: 96px 56px;
  text-align: center;
}
.pricing-card__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 40px);
  margin: 0 0 40px;
  text-wrap: balance;
}
.pricing-card__title em {
  font-style: italic;
  color: var(--orange);
  font-weight: 400;
}
.pricing-card__box {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--ink-14);
  box-shadow: 0 16px 48px rgba(26,26,24,.08);
  padding: 38px 54px 30px;
  text-align: center;
  max-width: 520px;
}
.pricing-card__accent {
  width: 44px; height: 2px;
  background: var(--orange);
  margin: 0 auto 30px;
}
.pricing-card__cols {
  display: flex;
  gap: 70px;
  justify-content: center;
  margin-bottom: 26px;
}
.pricing-card__col-label {
  font-size: 10.5px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-bottom: 10px;
  font-weight: 500;
}
.pricing-card__col-value {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1;
  color: var(--ink);
  font-weight: 400;
}
.pricing-card__col-value--italic {
  font-style: italic;
  font-size: 34px;
  color: var(--orange);
  font-weight: 300;
}
.pricing-card__sep {
  width: 1px;
  background: var(--ink-12);
  flex-shrink: 0;
}
.pricing-card__note {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-55);
  max-width: 380px;
  margin: 0 auto 14px;
  text-wrap: pretty;
}
.pricing-card__vat {
  font-size: 10.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-50);
  font-weight: 500;
  padding-top: 14px;
  border-top: 1px solid var(--ink-12);
}

/* ═══════════════════════════════════════════
   COMMIT (fond orange plein)
   ═══════════════════════════════════════════ */
.commit {
  background: var(--orange);
  color: var(--white);
  padding: 88px 56px;
}
.commit__head { margin-bottom: 44px; max-width: 640px; }
.commit__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 44px);
  margin: 18px 0 16px;
  text-wrap: balance;
}
.commit__title em {
  font-style: italic;
  color: rgba(255,255,255,.9);
}
.commit__body {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,.85);
  max-width: 580px;
  text-wrap: pretty;
}
.commit__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.commit__card {
  background: rgba(26,26,24,.22);
  padding: 28px 26px;
  transition: background var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
.commit__card:hover {
  background: rgba(26,26,24,.32);
  transform: translateY(-4px);
}
.commit__card-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--white);
}
.commit__card-title {
  font-size: 15.5px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--white);
}
.commit__card-desc {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,.8);
}

/* ═══════════════════════════════════════════
   OTHERS (3 autres agents)
   ═══════════════════════════════════════════ */
.others {
  background: var(--paper);
  padding: 88px 56px;
}
.others__head { margin-bottom: 44px; }
.others__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 40px);
  margin: 20px 0 12px;
  text-wrap: balance;
}
.others__sub {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-62);
}
.others__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.others__card {
  background: var(--white);
  border: 1px solid var(--ink-14);
  padding: 28px 26px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color var(--dur-slow) var(--ease),
              transform var(--dur-slow) var(--ease),
              box-shadow var(--dur-slow) var(--ease);
  color: var(--ink);
  min-height: 200px;
}
.others__card:hover, .others__card:focus-visible {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(200,78,32,.14);
}
.others__card-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
}
.others__card-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
}
.others__card-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-62);
  flex: 1;
  text-wrap: pretty;
}
.others__card-link {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--orange);
  transition: gap var(--dur) var(--ease);
  display: inline-flex; gap: 6px;
}
.others__card:hover .others__card-link { gap: 12px; }

/* ═══════════════════════════════════════════
   FINAL CTA + FORM
   ═══════════════════════════════════════════ */
.agent-final {
  background: var(--ink);
  color: var(--paper);
  padding: 96px 56px 104px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.agent-final::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 1200px; height: 1000px;
  background: radial-gradient(circle at center, rgba(200,78,32,.25) 0%, rgba(200,78,32,.06) 30%, transparent 55%);
  pointer-events: none;
  z-index: -1;
  filter: blur(20px);
}
.agent-final::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 130%, rgba(232,112,63,.22) 0%, transparent 65%);
  pointer-events: none;
  z-index: -1;
}
.agent-final__inner {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.agent-final__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  margin: 0 0 14px;
  text-wrap: balance;
}
.agent-final__title em {
  font-style: italic;
  color: var(--orange-light);
}
.agent-final__meta {
  font-size: 11px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: rgba(245,242,235,.5);
  margin: 0 0 40px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.agent-final__meta::before, .agent-final__meta::after {
  content: '';
  width: 40px; height: 1px;
  background: rgba(245,242,235,.2);
}
.agent-final__form-wrap {
  background: var(--paper);
  color: var(--ink);
  padding: 36px 36px 30px;
  text-align: left;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  max-width: 560px;
  margin: 0 auto;
}
.cta-form__row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.agent-final__trust {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  font-size: 10.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-55);
  font-weight: 500;
  flex-wrap: wrap;
}
.agent-final__trust li[aria-hidden] { color: var(--orange); font-weight: 700; }
.agent-final__contact {
  margin-top: 24px;
  font-size: 12px;
  color: rgba(245,242,235,.55);
}
.agent-final__contact a {
  color: var(--paper);
  border-bottom: 1px solid rgba(245,242,235,.25);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.agent-final__contact a:hover, .agent-final__contact a:focus-visible {
  border-bottom-color: var(--orange-light);
  color: var(--orange-light);
}

/* ═══════════════════════════════════════════
   FOOTER SIMPLE (agent variant)
   ═══════════════════════════════════════════ */
.agent-footer {
  background: #131210;
  color: rgba(245,242,235,.55);
  padding: 26px 56px;
  font-size: 12px;
}
.agent-footer .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  max-width: 1240px; margin: 0 auto;
}
.agent-footer__brand {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 3px;
  color: var(--paper);
}
.agent-footer__tagline { color: rgba(245,242,235,.55); }
.agent-footer__links {
  display: flex; gap: 22px;
}
.agent-footer__links a {
  color: rgba(245,242,235,.55);
  transition: color var(--dur) var(--ease);
}
.agent-footer__links a:hover, .agent-footer__links a:focus-visible { color: var(--orange-light); }

/* ═══════════════════════════════════════════
   RESPONSIVE (agent pages)
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .agent-hero { padding: 40px 32px 64px; }
  .agent-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .agent-hero__price { max-width: 400px; }
  .promise, .tasks, .change, .pricing-card, .commit, .others { padding-left: 32px; padding-right: 32px; }
  .task-row { grid-template-columns: 60px 1fr; grid-template-areas: "num name" "num desc"; gap: 6px 20px; }
  .task-row__num { grid-area: num; font-size: 24px; }
  .task-row__name { grid-area: name; font-size: 16px; }
  .task-row__desc { grid-area: desc; }
  .commit__grid { grid-template-columns: 1fr; gap: 14px; max-width: 520px; }
  .others__grid { grid-template-columns: 1fr; gap: 14px; }
  .others__card { min-height: 0; }
  .agent-final { padding: 72px 32px 88px; }
  .agent-footer { padding: 24px 32px; }
}
@media (max-width: 640px) {
  .agent-hero { padding: 32px 20px 56px; }
  .agent-hero__crumbs { font-size: 10px; letter-spacing: 1.6px; gap: 8px; margin-bottom: 32px; }
  .agent-hero__title { font-size: clamp(38px, 10vw, 52px); }
  .agent-hero__baseline { font-size: 18px; }
  .agent-hero__actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .agent-hero__actions .btn-primary, .agent-hero__actions .btn-ghost { width: 100%; text-align: center; justify-content: center; }
  .agent-hero__price { padding: 24px 22px; max-width: 100%; }
  .agent-hero__price-num { font-size: 40px; }
  .promise, .tasks, .change, .pricing-card, .commit, .others { padding-left: 20px; padding-right: 20px; padding-top: 64px; padding-bottom: 64px; }
  .task-row { padding: 22px 4px; }
  .task-row:hover { padding-left: 8px; }
  .pricing-card__box { padding: 30px 28px 24px; }
  .pricing-card__cols { gap: 32px; }
  .pricing-card__col-value { font-size: 32px; }
  .pricing-card__col-value--italic { font-size: 28px; }
  .commit__grid { grid-template-columns: 1fr; }
  .agent-final { padding: 56px 20px 72px; }
  .agent-final__form-wrap { padding: 26px 22px; }
  .cta-form__row-2 { grid-template-columns: 1fr; gap: 0; }
  .agent-final__trust { gap: 8px; font-size: 10px; }
  .agent-footer { padding: 22px 20px; }
  .agent-footer .container { flex-direction: column; align-items: flex-start; gap: 8px; }
}
