/* =========================================================
   JULO — sections.css
   Styles par section + thème des 2 directions (A / B).
   ========================================================= */

.ico-inline { width: 1.05em; height: 1.05em; display: inline-block; vertical-align: -0.16em; flex: none; }

/* =========================================================
   HEADER STICKY
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in oklab, white 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  background: color-mix(in oklab, white 90%, transparent);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(16,18,34,.06);
}
.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  height: 74px;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand-badge {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 2px 8px rgba(16,18,34,.16), 0 0 0 1px var(--line);
  object-fit: cover;
}
.brand-word {
  font-family: var(--font-display);
  font-weight: var(--fw-x);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.nav-desktop { display: flex; align-items: center; gap: .35rem; margin-inline: auto; }
.nav-desktop a {
  font-family: var(--font-display);
  font-weight: var(--fw-med);
  font-size: .95rem;
  color: var(--ink-soft);
  padding: .55rem .85rem;
  border-radius: var(--r-pill);
  transition: color .15s ease, background .15s ease;
  display: inline-flex; align-items: center; gap: .4em;
}
.nav-desktop a:hover { color: var(--accent-600); background: var(--accent-50); }
.nav-ia { color: var(--accent-600) !important; }
.header-cta { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.nav-desktop + .header-cta { margin-left: 0; }
.header-demo { padding: .7rem 1.15rem; font-size: .92rem; }
.nav-toggle {
  display: none; width: 44px; height: 44px;
  border-radius: 12px; border: 1px solid var(--line);
  background: var(--white); color: var(--ink);
  place-items: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-mobile { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; padding-top: clamp(2.5rem, 5vw, 4.5rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); overflow: hidden; }
.hero-glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% 12%, color-mix(in oklab, var(--accent) 18%, transparent), transparent 70%),
    radial-gradient(50% 45% at 8% 0%, color-mix(in oklab, var(--accent-400) 14%, transparent), transparent 65%),
    linear-gradient(180deg, var(--accent-50), transparent 38%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(1.5rem, 4vw, 3.5rem);
}
.hero-copy .pill { margin-bottom: 1.4rem; }
.hero-copy .h-display { margin-bottom: 1.2rem; }
.grad-text {
  background: linear-gradient(100deg, var(--accent-600), var(--accent-400) 60%, #8b7bf5);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-copy .lead { margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2rem; }
.hero-reassure { display: flex; flex-wrap: wrap; gap: 1.1rem 1.6rem; }
.hero-reassure li {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: var(--fw-semi); font-size: .92rem; color: var(--ink-soft);
}
.hero-reassure svg { color: var(--accent-600); }

/* Visuel hero */
.hero-visual { position: relative; }
.hero-browser { position: relative; z-index: 2; }
.hero-shot { min-height: 340px; }
.hero-shot-img { padding: 0; background: var(--white); display: block; overflow: hidden; min-height: 0; }
.hero-shot-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.hero-ai-card {
  position: absolute; z-index: 3; left: -3%; bottom: 8%;
  width: min(300px, 78%);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  padding: 1rem 1.1rem;
}
.hero-ai-head { display: flex; align-items: center; gap: .7rem; margin-bottom: .55rem; }
.hero-ai-head .ai-avatar { width: 38px; height: 38px; }
.hero-ai-head strong { display: block; font-family: var(--font-display); font-size: .95rem; }
.hero-ai-head span { font-size: .78rem; color: var(--muted); }
.hero-ai-card p { font-size: .9rem; color: var(--ink-soft); line-height: 1.45; }
.hero-chip {
  position: absolute; z-index: 3; right: -2%; top: 10%;
  display: flex; align-items: center; gap: .6rem;
  background: var(--ink); color: #fff;
  padding: .7rem 1rem; border-radius: var(--r-pill);
  box-shadow: var(--sh-lg);
}
.hero-chip svg { width: 22px; height: 22px; color: var(--accent-300); }
.hero-chip b { font-family: var(--font-display); font-size: 1.15rem; display: block; line-height: 1; }
.hero-chip span { font-size: .72rem; opacity: .8; }

.ai-avatar {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--line);
  flex: none;
}

/* Animations flottantes douces */
@keyframes floatY { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-10px); } }
.float-y { animation: floatY 6s ease-in-out infinite; }
.float-y-2 { animation: floatY 5s ease-in-out infinite .4s; }
.float-y-3 { animation: floatY 7s ease-in-out infinite .8s; }
@media (prefers-reduced-motion: reduce) { .float-y, .float-y-2, .float-y-3 { animation: none; } }
body.no-float .float-y, body.no-float .float-y-2, body.no-float .float-y-3 { animation: none; }

/* Bandeau de confiance */
.trust-band {
  margin-top: clamp(1.5rem, 4vw, 3rem);
  padding: 1.4rem clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: color-mix(in oklab, var(--bg-soft) 75%, white);
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  justify-content: space-between;
}
.trust-label { font-weight: var(--fw-semi); color: var(--ink-soft); max-width: 30ch; font-size: .95rem; }
.trust-items { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; }
.trust-items span { display: inline-flex; align-items: center; gap: .5em; color: var(--muted); font-weight: var(--fw-med); font-size: .9rem; }
.trust-items svg { color: var(--accent-600); }

/* =========================================================
   PROBLÈME → SOLUTION
   ========================================================= */
.problem-grid { grid-template-columns: repeat(4, 1fr); margin-top: clamp(2rem, 4vw, 3.2rem); }
.prob-card { display: flex; flex-direction: column; gap: .7rem; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.prob-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: color-mix(in oklab, var(--accent) 22%, var(--line)); }
.prob-ico { margin-bottom: .2rem; }
.prob-card .muted { flex: 1; font-size: .96rem; }
.prob-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-display); font-weight: var(--fw-semi); font-size: .88rem;
  color: var(--accent-600);
  padding-top: .7rem; border-top: 1px dashed var(--line);
}
.prob-arrow svg { width: 1.05em; height: 1.05em; }

/* =========================================================
   SECTION IA (la star)
   ========================================================= */
.ai { position: relative; overflow: hidden; }
.ai-bg { position: absolute; inset: 0; z-index: -1; }
.ai-showcase {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.4rem, 3vw, 2.2rem);
  margin-top: clamp(2rem, 4vw, 3.4rem); align-items: start;
}

/* Fenêtre de chat */
.ai-chat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.ai-chat-head {
  display: flex; align-items: center; gap: .75rem;
  padding: .9rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: color-mix(in oklab, var(--accent-50) 60%, white);
}
.ai-chat-id { line-height: 1.2; margin-right: auto; }
.ai-chat-id strong { font-family: var(--font-display); font-size: .98rem; display: block; }
.ai-chan { font-size: .78rem; color: var(--muted); display: inline-flex; align-items: center; gap: .4em; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 color-mix(in oklab, var(--green) 60%, transparent); animation: pulseLive 2s infinite; }
@keyframes pulseLive { 0%{ box-shadow: 0 0 0 0 color-mix(in oklab, var(--green) 55%, transparent);} 70%{ box-shadow: 0 0 0 7px transparent;} 100%{ box-shadow: 0 0 0 0 transparent;} }
.ai-chan-badge {
  display: inline-flex; align-items: center; gap: .4em;
  font-size: .76rem; font-weight: var(--fw-semi);
  color: #2a8bd6; background: #e9f4fc; border: 1px solid #cfe8fa;
  padding: .35em .7em; border-radius: var(--r-pill);
}
.ai-chat-body {
  padding: 1.2rem; display: flex; flex-direction: column; gap: .8rem;
  min-height: 420px;
  background:
    radial-gradient(120% 80% at 50% 0%, color-mix(in oklab, var(--accent-50) 50%, white), var(--white) 60%);
}
.msg { max-width: 86%; opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .45s ease; }
.msg.show { opacity: 1; transform: none; }
.msg p {
  padding: .7rem 1rem; border-radius: 16px; font-size: .94rem; line-height: 1.5;
}
.msg-user { align-self: flex-end; }
.msg-user p {
  background: linear-gradient(180deg, var(--accent-500), var(--accent-600));
  color: #fff; border-bottom-right-radius: 5px;
}
.msg-bot { align-self: flex-start; }
.msg-bot p {
  background: var(--bg-soft); color: var(--ink); border: 1px solid var(--line);
  border-bottom-left-radius: 5px;
}
.msg-bot .ok { color: var(--green); }
.msg-card { max-width: 96%; }
.quote-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--sh-sm); padding: 1rem; width: 320px; max-width: 100%;
}
.quote-head { display: flex; align-items: center; gap: .5em; font-family: var(--font-display); font-weight: var(--fw-semi); font-size: .92rem; margin-bottom: .7rem; }
.quote-head svg { color: var(--accent-600); }
.quote-num { margin-left: auto; font-size: .74rem; color: var(--muted); font-weight: var(--fw-reg); }
.quote-lines { display: flex; flex-direction: column; gap: .45rem; margin-bottom: .7rem; }
.quote-lines li { display: flex; justify-content: space-between; gap: 1rem; font-size: .86rem; color: var(--ink-soft); }
.quote-lines li span:last-child { font-variant-numeric: tabular-nums; font-weight: var(--fw-semi); color: var(--ink); }
.quote-total { display: flex; justify-content: space-between; align-items: center; padding-top: .7rem; border-top: 1px solid var(--line); margin-bottom: .85rem; }
.quote-total span { font-weight: var(--fw-semi); color: var(--muted); font-size: .82rem; }
.quote-total b { font-family: var(--font-display); font-size: 1.2rem; }
.quote-actions { display: flex; gap: .5rem; }
.btn-sm { padding: .6rem .95rem; font-size: .85rem; border-radius: var(--r-pill); }
.btn-sm svg { width: 1.05em; height: 1.05em; }
.quote-validate.done { background: var(--green); box-shadow: none; }

.typing { display: none; align-items: center; gap: .5rem; align-self: flex-start; }
.typing.show { display: flex; }
.ai-avatar-sm { width: 30px; height: 30px; }
.typing .dots { display: inline-flex; gap: 4px; background: var(--bg-soft); border: 1px solid var(--line); padding: .7rem .8rem; border-radius: 14px; }
.typing .dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: typing 1.2s infinite; }
.typing .dots i:nth-child(2){ animation-delay: .2s; } .typing .dots i:nth-child(3){ animation-delay: .4s; }
@keyframes typing { 0%,60%,100%{ transform: translateY(0); opacity: .4; } 30%{ transform: translateY(-5px); opacity: 1; } }

.ai-chat-input {
  display: flex; align-items: center; gap: .6rem;
  padding: .8rem 1rem; border-top: 1px solid var(--line); background: var(--white);
  color: var(--muted); font-size: .9rem;
}
.ai-chat-input span:first-child { flex: 1; }
.send-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-600); color: #fff; }
.send-ico svg { width: 18px; height: 18px; }

/* Côté brief + validation */
.ai-side { display: flex; flex-direction: column; gap: clamp(1.2rem, 2.5vw, 1.6rem); }
.brief-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-md); padding: 1.5rem;
}
.brief-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.brief-eyebrow { display: inline-flex; align-items: center; gap: .5em; font-family: var(--font-display); font-weight: var(--fw-semi); font-size: .85rem; color: var(--accent-600); }
.brief-time { font-family: var(--font-display); font-weight: var(--fw-bold); color: var(--muted); font-size: .9rem; }
.brief-intro { color: var(--ink-soft); margin-bottom: 1rem; font-size: .95rem; }
.brief-list { display: flex; flex-direction: column; gap: .7rem; }
.brief-list li {
  display: flex; align-items: center; gap: .85rem;
  font-size: .94rem; color: var(--ink-soft);
  padding: .7rem .85rem; border-radius: 12px;
  background: var(--bg-soft); border: 1px solid var(--line-soft);
  opacity: 0; transform: translateX(-10px);
  transition: opacity .5s ease, transform .5s ease;
}
.brief-list li.show { opacity: 1; transform: none; }
.brief-list b { color: var(--ink); }
.bi-dot { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; flex: none; }
.bi-dot svg { width: 18px; height: 18px; }
.bi-cal { background: var(--accent-50); color: var(--accent-600); }
.bi-mail { background: #e9f4fc; color: #2a8bd6; }
.bi-warn { background: var(--amber-50); color: var(--amber); }
.bi-ok { background: var(--green-50); color: #0a7a52; }

.validate-banner {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.3rem; border-radius: var(--r-lg);
  background: linear-gradient(120deg, color-mix(in oklab, var(--accent) 12%, white), color-mix(in oklab, var(--accent-400) 8%, white));
  border: 1px solid color-mix(in oklab, var(--accent) 24%, white);
}
.ico-validate { background: var(--accent-600); color: #fff; border-color: transparent; }
.validate-banner strong { font-family: var(--font-display); font-size: 1.05rem; display: block; margin-bottom: .25rem; }
.validate-banner .muted { font-size: .92rem; }

/* Cartes capacités IA */
.ai-cards { grid-template-columns: repeat(3, 1fr); margin-top: clamp(1.6rem, 3vw, 2.4rem); }
.ai-feat {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.3rem, 2.2vw, 1.7rem);
  display: flex; flex-direction: column; gap: .6rem;
  box-shadow: var(--sh-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ai-feat:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: color-mix(in oklab, var(--accent) 28%, var(--line)); }
.ai-feat .ico { margin-bottom: .3rem; }
.ai-feat p { color: var(--ink-soft); font-size: .96rem; flex: 1; }
.ai-feat .gain { align-self: flex-start; margin-top: .3rem; }

/* =========================================================
   FONCTIONNALITÉS
   ========================================================= */
.features { background: var(--bg-soft); }
.feat-grid { grid-template-columns: repeat(3, 1fr); margin-top: clamp(2rem, 4vw, 3.2rem); grid-auto-flow: dense; }
.feat-card {
  padding: clamp(1.3rem, 2.2vw, 1.7rem);
  display: flex; flex-direction: column; gap: .55rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: color-mix(in oklab, var(--accent) 22%, var(--line)); }
.feat-card .ico { margin-bottom: .35rem; }
.feat-card .muted { font-size: .95rem; }
.feat-wide { grid-column: span 1; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .55rem; }
.tags span {
  font-size: .76rem; font-weight: var(--fw-semi); color: var(--accent-ink);
  background: var(--accent-50); border: 1px solid color-mix(in oklab, var(--accent) 14%, white);
  padding: .3em .65em; border-radius: var(--r-pill);
}
.kbd-row { display: flex; align-items: center; gap: .4rem; margin-top: .6rem; }
kbd {
  font-family: var(--font-display); font-weight: var(--fw-bold); font-size: .85rem;
  background: var(--white); border: 1px solid var(--line); border-bottom-width: 2px;
  border-radius: 8px; padding: .3em .6em; color: var(--ink);
}
.kbd-row span { color: var(--muted); font-weight: var(--fw-bold); }
@media (min-width: 760px) {
  .feat-wide { grid-column: span 2; }
}

/* =========================================================
   TOUT-EN-UN
   ========================================================= */
.compare {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: center; margin-top: clamp(2rem, 4vw, 3.2rem);
}
.compare-col { border-radius: var(--r-lg); padding: clamp(1.4rem, 2.5vw, 2rem); }
.compare-label { font-family: var(--font-display); font-weight: var(--fw-semi); margin-bottom: 1.1rem; display: flex; align-items: center; gap: .6rem; color: var(--ink-soft); }
.cl-tag { font-size: .74rem; padding: .3em .7em; border-radius: var(--r-pill); text-transform: uppercase; letter-spacing: .08em; }
.cl-before { background: var(--red-50); color: var(--red); border: 1px solid color-mix(in oklab, var(--red) 22%, white); }
.cl-after { background: var(--green-50); color: #0a7a52; border: 1px solid color-mix(in oklab, var(--green) 24%, white); }
.compare-before { background: var(--bg-soft); border: 1px solid var(--line); }
.before-list { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1rem; }
.before-list li {
  display: flex; align-items: center; gap: .7rem; font-weight: var(--fw-med); color: var(--muted);
  padding: .65rem .8rem; background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  text-decoration: line-through; text-decoration-color: color-mix(in oklab, var(--red) 50%, transparent);
}
.before-list svg { width: 20px; height: 20px; opacity: .6; flex: none; }
.before-note { font-size: .85rem; color: var(--red); font-weight: var(--fw-med); }
.compare-arrow { display: grid; place-items: center; }
.compare-arrow svg { width: 46px; height: 46px; color: var(--accent-600); padding: 10px; background: var(--accent-50); border-radius: 50%; border: 1px solid color-mix(in oklab, var(--accent) 16%, white); }
.compare-after {
  background: linear-gradient(160deg, color-mix(in oklab, var(--accent) 96%, black), var(--accent-600));
  color: #fff; box-shadow: var(--sh-accent); border: 1px solid color-mix(in oklab, var(--accent) 60%, white);
}
.compare-after .compare-label { color: rgba(255,255,255,.85); }
.after-card { color: #fff; }
.after-brand { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,.2); }
.after-brand strong { font-family: var(--font-display); font-size: 1.2rem; display: block; }
.after-brand span { font-size: .82rem; opacity: .85; }
.after-list { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.2rem; }
.after-list li { display: flex; align-items: center; gap: .7rem; font-weight: var(--fw-med); }
.after-list svg { width: 20px; height: 20px; color: #fff; background: rgba(255,255,255,.18); border-radius: 50%; padding: 3px; flex: none; }
.after-foot .gain { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.28); }

/* =========================================================
   MOBILE / PWA
   ========================================================= */
.mobile { background: var(--bg-soft); }
.mobile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.mobile-copy .eyebrow { margin-bottom: .8rem; }
.mobile-copy .lead { margin: 1rem 0 1.8rem; }
.mobile-list { display: flex; flex-direction: column; gap: 1.1rem; }
.mobile-list li { display: flex; gap: 1rem; align-items: flex-start; }
.ico-sm { width: 44px; height: 44px; border-radius: 12px; }
.ico-sm svg { width: 22px; height: 22px; }
.mobile-list b { font-family: var(--font-display); display: block; margin-bottom: .15rem; }
.mobile-list .muted { font-size: .94rem; }

.mobile-visual { position: relative; display: grid; place-items: center; }
.phone {
  /* Le cadre suit le ratio de l'écran (défini par .phone-screen) + une fine bordure façon téléphone,
     plutôt qu'un ratio 9/19 fixe qui créait de grandes bandes noires avec une capture plus "carrée". */
  width: min(290px, 80%);
  background: var(--ink); border-radius: 32px; padding: 16px 10px 12px;
  box-shadow: var(--sh-lg), inset 0 0 0 2px rgba(255,255,255,.06);
  position: relative;
}
.phone-notch { position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 32%; height: 14px; background: var(--ink); border-radius: 10px; z-index: 3; }
.phone-screen { width: 100%; aspect-ratio: 704 / 1303; border-radius: 32px; overflow: hidden; background: var(--white); }
.phone-shot { min-height: 100%; height: 100%; }
.phone-shot-img { padding: 0; background: var(--white); display: block; overflow: hidden; }
.phone-shot-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.phone-chip {
  position: absolute; right: 2%; top: 14%;
  display: flex; align-items: center; gap: .55rem;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-lg);
  padding: .65rem .85rem; border-radius: 14px;
}
.phone-chip svg { width: 22px; height: 22px; color: var(--accent-600); }
.phone-chip b { font-family: var(--font-display); display: block; font-size: .9rem; line-height: 1.1; }
.phone-chip span { font-size: .74rem; color: var(--muted); }

/* =========================================================
   SÉCURITÉ (toujours sombre)
   ========================================================= */
.security { background: var(--night); color: var(--night-ink); position: relative; overflow: hidden; }
.security::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(50% 40% at 50% 0%, color-mix(in oklab, var(--accent) 30%, transparent), transparent 70%);
}
.security .container { position: relative; z-index: 1; }
.sec-title { color: #fff; }
.sec-lead { color: var(--night-mut); }
.sec-grid { grid-template-columns: repeat(4, 1fr); margin-top: clamp(2rem, 4vw, 3.2rem); }
.sec-card {
  background: var(--night-card); border: 1px solid var(--night-line); border-radius: var(--r-lg);
  padding: clamp(1.3rem, 2.2vw, 1.7rem); display: flex; flex-direction: column; gap: .6rem;
  transition: transform .25s ease, border-color .25s ease;
}
.sec-card:hover { transform: translateY(-4px); border-color: color-mix(in oklab, var(--accent) 50%, var(--night-line)); }
.sec-card .ico { background: color-mix(in oklab, var(--accent) 24%, var(--night-card)); color: var(--accent-300); border-color: color-mix(in oklab, var(--accent) 40%, transparent); }
.sec-card h3 { color: #fff; }
.sec-card p { color: var(--night-mut); font-size: .95rem; }

/* =========================================================
   PREUVE
   ========================================================= */
.proof-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.proof-origin { position: relative; }
.proof-emblem { width: clamp(110px, 14vw, 150px); height: auto; margin-bottom: 1.2rem; filter: drop-shadow(0 14px 26px rgba(16,18,34,.16)); }
.proof-origin .pill { margin-bottom: 1rem; }
.proof-origin .h-2 { margin-bottom: 1rem; }
.proof-points { display: flex; flex-direction: column; gap: .65rem; margin-top: 1.4rem; }
.proof-points li { display: flex; align-items: center; gap: .65rem; font-weight: var(--fw-med); color: var(--ink-soft); }
.proof-points svg { color: var(--green); width: 1.2em; height: 1.2em; }

.testimonial {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: clamp(1.8rem, 3vw, 2.6rem); box-shadow: var(--sh-md);
}
.testi-quote { position: absolute; top: -18px; left: 28px; width: 48px; height: 48px; display: grid; place-items: center; background: var(--accent-600); border-radius: 14px; box-shadow: var(--sh-accent); }
.testi-quote svg { width: 24px; height: 24px; color: #fff; }
.testimonial blockquote { font-family: var(--font-display); font-weight: var(--fw-med); font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.5; color: var(--ink); margin: .5rem 0 1.4rem; }
.testi-placeholder { display: inline-block; font-size: .72rem; font-weight: var(--fw-bold); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-600); background: var(--accent-50); padding: .35em .7em; border-radius: var(--r-pill); margin-bottom: .8rem; }
.testi-author { display: flex; align-items: center; gap: .9rem; }
.testi-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-100), var(--accent-300)); border: 1px dashed color-mix(in oklab, var(--accent) 40%, white); flex: none; }
.testi-author b { font-family: var(--font-display); display: block; }
.testi-author .muted { font-size: .88rem; }

/* =========================================================
   TARIFS
   ========================================================= */
.pricing-card {
  position: relative; overflow: hidden;
  background: linear-gradient(155deg, var(--night-2), var(--night));
  color: #fff; border-radius: var(--r-xl);
  padding: clamp(2.4rem, 5vw, 4rem); text-align: center;
  border: 1px solid var(--night-line);
  box-shadow: var(--sh-lg);
}
.pricing-glow { position: absolute; inset: 0; z-index: 0; background: radial-gradient(60% 60% at 50% -10%, color-mix(in oklab, var(--accent) 40%, transparent), transparent 65%); }
.pricing-card > * { position: relative; z-index: 1; }
.pricing-card .eyebrow { margin-bottom: 1rem; }
.pricing-title { color: #fff; }
.pricing-lead { color: var(--night-mut); margin: 1rem auto 2rem; max-width: 54ch; }
.pricing-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.6rem; }
.pricing-note { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: .4rem; color: var(--night-mut); font-size: .9rem; font-weight: var(--fw-med); }
.pricing-note svg { color: var(--accent-300); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: var(--bg-soft); }
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq-intro { position: sticky; top: 100px; }
.faq-intro .eyebrow { margin-bottom: .8rem; }
.faq-intro .lead { margin: 1rem 0 1.2rem; }
.faq-list { display: flex; flex-direction: column; gap: .8rem; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.faq-item[open] { border-color: color-mix(in oklab, var(--accent) 30%, var(--line)); box-shadow: var(--sh-sm); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.3rem; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: var(--fw-semi); font-size: 1.02rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-50); color: var(--accent-600); flex: none; transition: transform .25s ease, background .2s ease; }
.faq-toggle svg { width: 18px; height: 18px; }
.faq-item[open] .faq-toggle { transform: rotate(45deg); background: var(--accent-600); color: #fff; }
.faq-answer { padding: 0 1.3rem 1.25rem; }
.faq-answer p { color: var(--ink-soft); font-size: .98rem; }

/* =========================================================
   CTA FINAL (toujours sombre)
   ========================================================= */
.cta-final { position: relative; overflow: hidden; background: var(--night); color: #fff; }
.cta-bg { position: absolute; inset: 0; z-index: 0; background:
  radial-gradient(50% 60% at 15% 10%, color-mix(in oklab, var(--accent) 38%, transparent), transparent 60%),
  radial-gradient(45% 55% at 90% 90%, color-mix(in oklab, var(--accent-400) 26%, transparent), transparent 60%); }
.cta-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.cta-mascot { width: 64px; height: 64px; border-radius: 50%; border: 2px solid rgba(255,255,255,.2); margin-bottom: 1.2rem; box-shadow: var(--sh-lg); }
.cta-copy .h-1 { color: #fff; margin-bottom: 1rem; }
.cta-lead { color: var(--night-mut); }
.cta-points { display: flex; flex-direction: column; gap: .6rem; margin-top: 1.6rem; }
.cta-points li { display: flex; align-items: center; gap: .65rem; font-weight: var(--fw-med); color: #e7eaf6; }
.cta-points svg { color: var(--accent-300); width: 1.2em; height: 1.2em; }

.cta-form-wrap { }
.cta-form { background: var(--white); color: var(--ink); border-radius: var(--r-xl); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--sh-lg); }
.form-title { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 1.2rem; }
.field { margin-bottom: 1rem; display: flex; flex-direction: column; gap: .4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-size: .85rem; font-weight: var(--fw-semi); color: var(--ink-soft); }
.field input, .field textarea {
  font: inherit; font-size: .95rem; color: var(--ink);
  padding: .8rem .95rem; border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg-soft); transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
  width: 100%; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #aab0c2; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent-500); background: #fff; box-shadow: 0 0 0 3px var(--accent-100); }
.field input:user-invalid { border-color: var(--red); }
.cta-form .btn { margin-top: .4rem; }
.form-note { display: flex; align-items: center; gap: .5em; font-size: .82rem; color: var(--muted); margin-top: .9rem; }
.form-note svg { color: var(--green); }
.form-success { display: flex; align-items: center; gap: .5em; font-weight: var(--fw-semi); color: #0a7a52; background: var(--green-50); border: 1px solid color-mix(in oklab, var(--green) 24%, white); padding: .8rem 1rem; border-radius: 12px; margin-top: 1rem; }
.form-success[hidden] { display: none; }
.form-success svg { color: var(--green); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--night-2); color: var(--night-mut); padding-top: clamp(3rem, 6vw, 5rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.6rem; border-bottom: 1px solid var(--night-line); }
.brand-footer .brand-word { color: #fff; }
.footer-tag { margin: 1rem 0; max-width: 38ch; font-size: .95rem; line-height: 1.6; }
.footer-mini { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-mini span { display: inline-flex; align-items: center; gap: .5em; font-size: .85rem; font-weight: var(--fw-med); }
.footer-mini svg { color: var(--accent-300); }
.footer-col h4 { font-family: var(--font-display); color: #fff; font-size: .95rem; margin-bottom: 1rem; letter-spacing: .02em; }
.footer-col a { display: block; padding: .35rem 0; color: var(--night-mut); font-size: .94rem; transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-contact a { display: flex; align-items: center; gap: .5em; }
.footer-contact svg { color: var(--accent-300); }
.footer-cta { margin-top: 1rem; padding: .7rem 1.2rem; font-size: .9rem; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.6rem 0 2.4rem; font-size: .86rem; }
.footer-legal { display: flex; gap: 1.4rem; }
.footer-legal a { color: var(--night-mut); transition: color .15s ease; }
.footer-legal a:hover { color: #fff; }

/* =========================================================
   DIRECTION B — "Tech contrasté" : hero + IA en sombre
   ========================================================= */
body[data-direction="b"] .site-header { background: color-mix(in oklab, var(--night) 75%, transparent); border-bottom-color: transparent; }
body[data-direction="b"] .site-header.scrolled { background: color-mix(in oklab, var(--night) 88%, transparent); border-bottom-color: var(--night-line); }
body[data-direction="b"] .site-header .brand-word { color: #fff; }
body[data-direction="b"] .site-header .nav-desktop a { color: var(--night-mut); }
body[data-direction="b"] .site-header .nav-desktop a:hover { color: #fff; background: rgba(255,255,255,.08); }
body[data-direction="b"] .site-header .nav-ia { color: var(--accent-300) !important; }
body[data-direction="b"] .nav-toggle { background: var(--night-card); border-color: var(--night-line); color: #fff; }

body[data-direction="b"] .hero { background: var(--night); color: var(--night-ink); }
body[data-direction="b"] .hero-glow {
  background:
    radial-gradient(55% 50% at 80% 8%, color-mix(in oklab, var(--accent) 42%, transparent), transparent 62%),
    radial-gradient(45% 40% at 5% 5%, color-mix(in oklab, var(--accent-400) 26%, transparent), transparent 60%),
    linear-gradient(180deg, color-mix(in oklab, var(--accent) 16%, var(--night)), var(--night) 45%);
}
body[data-direction="b"] .hero .h-display { color: #fff; }
body[data-direction="b"] .hero .grad-text { background: linear-gradient(100deg, var(--accent-300), #b7aef9 60%, #d7b8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
body[data-direction="b"] .hero .lead { color: var(--night-mut); }
body[data-direction="b"] .hero-reassure li { color: #d8dcec; }
body[data-direction="b"] .hero-reassure svg { color: var(--accent-300); }
body[data-direction="b"] .hero .pill { background: color-mix(in oklab, var(--accent) 22%, var(--night)); color: var(--accent-300); border-color: color-mix(in oklab, var(--accent) 40%, transparent); }
body[data-direction="b"] .btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.2); }
body[data-direction="b"] .btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); color: #fff; }
body[data-direction="b"] .trust-band { background: var(--night-card); border-color: var(--night-line); }
body[data-direction="b"] .trust-label { color: #d8dcec; }
body[data-direction="b"] .trust-items span { color: var(--night-mut); }
body[data-direction="b"] .trust-items svg { color: var(--accent-300); }

body[data-direction="b"] .ai { background: var(--night); color: var(--night-ink); }
body[data-direction="b"] .ai-bg { background: radial-gradient(60% 50% at 50% 0%, color-mix(in oklab, var(--accent) 26%, transparent), transparent 60%); }
body[data-direction="b"] .ai-title { color: #fff; }
body[data-direction="b"] .ai-lead { color: var(--night-mut); }
body[data-direction="b"] .ai-feat { background: var(--night-card); border-color: var(--night-line); }
body[data-direction="b"] .ai-feat:hover { border-color: color-mix(in oklab, var(--accent) 55%, var(--night-line)); }
body[data-direction="b"] .ai-feat h3 { color: #fff; }
body[data-direction="b"] .ai-feat p { color: var(--night-mut); }
body[data-direction="b"] .ai-feat .ico { background: color-mix(in oklab, var(--accent) 22%, var(--night-card)); color: var(--accent-300); border-color: color-mix(in oklab, var(--accent) 38%, transparent); }
body[data-direction="b"] .validate-banner { background: color-mix(in oklab, var(--accent) 18%, var(--night-card)); border-color: color-mix(in oklab, var(--accent) 40%, transparent); }
body[data-direction="b"] .validate-banner strong { color: #fff; }
body[data-direction="b"] .validate-banner .muted { color: var(--night-mut); }
/* En direction B, la section IA est sombre : on garde le chat & le brief en clair (effet "écran") */

/* =========================================================
   DIRECTION A — section IA légèrement teintée
   ========================================================= */
body[data-direction="a"] .ai { background: linear-gradient(180deg, var(--bg-soft), color-mix(in oklab, var(--accent-50) 60%, var(--bg-soft))); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .ai-showcase { grid-template-columns: 1fr; }
  .ai-cards { grid-template-columns: repeat(2, 1fr); }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .nav-desktop { display: none; }
  .header-demo { display: none; }
  .nav-toggle { display: grid; }
  .header-cta { margin-left: auto; }
  .nav-mobile {
    display: flex; flex-direction: column; gap: .35rem;
    padding: 1rem var(--gut) 1.5rem;
    background: color-mix(in oklab, white 96%, transparent);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-md);
  }
  .nav-mobile[hidden] { display: none; }
  .nav-mobile a:not(.btn) {
    font-family: var(--font-display); font-weight: var(--fw-med); color: var(--ink);
    padding: .85rem .5rem; border-bottom: 1px solid var(--line-soft);
  }
  .nav-mobile .btn { margin-top: .6rem; }
  body[data-direction="b"] .nav-mobile { background: color-mix(in oklab, var(--night-2) 97%, transparent); border-bottom-color: var(--night-line); }
  body[data-direction="b"] .nav-mobile a:not(.btn) { color: #fff; border-bottom-color: var(--night-line); }

  .mobile-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .mobile-visual { order: -1; }
  .faq-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .faq-intro { position: static; }
  .cta-grid { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .compare-arrow { transform: rotate(90deg); margin: -.5rem auto; }
  .trust-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 680px) {
  .hero-ai-card { left: 0; bottom: -4%; width: min(280px, 88%); }
  .hero-chip { right: 0; top: 4%; }
  .ai-cards { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat-wide { grid-column: span 1; }
  .problem-grid { grid-template-columns: 1fr; }
  .sec-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem 1rem; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-reassure { gap: .8rem 1.2rem; }
}

@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}
