/* ============================================================
   SITE · feuille de style commune des pages « vitrine » (fonctionnalités,
   tarifs). Même direction artistique que la landing (maquettes/
   design-clientbase.html, d'après le Figma de Noah) : menu pilule, titres
   qui montent mot à mot, apparitions au défilement, pied de page.
   La landing garde son propre CSS en ligne : en cas de changement du menu
   ou du pied de page, penser aux deux (voir ava/EVOLUTION.md).
   ============================================================ */
:root{
  color-scheme: light;
  --ink: #1e1e1e;
  --navy: #071a31;
  --muted: #5f6d77;
  --gray: #8d8d8d;
  --dot: #4772ff;
  --accent: #4f5eff;
  --strip: rgba(211,211,211,.2);
  --ff: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ff-geist: 'Geist', 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(.16,1,.3,1);
}
*{ box-sizing: border-box; }
html{ background: #fff; scroll-behavior: smooth; }
body{
  margin: 0; font-family: var(--ff); color: var(--ink); background: #fff;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
main{ overflow-x: clip; }
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1,h2,h3,p,ul{ margin: 0; padding: 0; }
ul{ list-style: none; }
.sr-only{ position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible{ outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Apparition douce au défilement */
[data-reveal]{
  opacity: 0; transform: translateY(14px);
  transition: opacity .55s ease var(--d, 0s), transform .6s var(--ease) var(--d, 0s);
}
[data-reveal="left"]{ transform: translateX(-20px); }
[data-reveal="right"]{ transform: translateX(20px); }
[data-reveal="zoom"]{ transform: scale(.96); }
[data-reveal="rise"]{ transform: translateY(24px); }
[data-reveal="fade"]{ transform: none; }
[data-reveal].in{ opacity: 1; transform: none; }

/* Titres : les mots montent un par un */
.w{ display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .14em; margin-bottom: -.14em; }
.w > span{ display: inline-block; transform: none; }
.in .w > span, .w.in > span{ transform: none; }

/* Entrée de la page */
@keyframes rise{ from{ opacity: 0; transform: translateY(28px); } to{ opacity: 1; transform: none; } }
@keyframes dropIn{ from{ opacity: 0; transform: translate(-50%, -26px); } to{ opacity: 1; transform: translate(-50%, 0); } }
@keyframes pop{ from{ opacity: 0; scale: .55; } to{ opacity: 1; scale: 1; } }
.nav{ animation: dropIn .9s var(--ease) backwards; }
.hero h1{ animation: rise 1.1s var(--ease) .15s backwards; }
.hero-sub{ animation: rise 1.1s var(--ease) .3s backwards; }
.cta{ animation: rise 1.1s var(--ease) .45s backwards; }
.hero-note{ animation: rise 1.1s var(--ease) .6s backwards; }

/* ── Navigation (pilule flottante) ───────────────────────────────── */
.nav{
  position: fixed; z-index: 50; top: 26px; left: 50%; transform: translateX(-50%);
  width: min(998px, calc(100% - 44px)); height: 68px;
  display: flex; align-items: center; gap: 24px; padding: 0 31px 0 25px;
  border-radius: 100px; background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 4px 4px 5px rgba(0,0,0,.1);
  font-weight: 500; font-size: 16px; letter-spacing: -.02em;
  transition: height .45s var(--ease), top .45s var(--ease), width .55s var(--ease), transform .5s var(--ease), opacity .35s ease, box-shadow .45s, background .45s;
}
.nav.scrolled{ height: 60px; top: max(14px, calc(env(safe-area-inset-top, 0px) + 8px)); background: rgba(255,255,255,.86); box-shadow: 0 12px 34px rgba(7,26,49,.14); }

/* Desktop : au défilement, la pilule se resserre (plus fine, plus étroite).
   Mobile : elle se range vers le haut quand on descend, revient quand on remonte. */
@media (min-width: 901px){
  .nav.scrolled{ width: min(860px, calc(100% - 44px)); height: 56px; padding: 0 26px 0 22px; }
}
@media (max-width: 900px){
  .nav.nav-hide{ transform: translate(-50%, calc(-100% - 34px)); opacity: 0; pointer-events: none; }
}

/* Mobile : l'en-tête se range en glissant doucement vers le haut, et revient avec un petit ressort. */
@media (max-width: 900px){
  .nav{ transition: transform .7s cubic-bezier(.34,1.45,.5,1), opacity .5s ease, height .45s var(--ease), top .45s var(--ease), box-shadow .45s, background .45s; }
  .nav.nav-hide{ transition: transform .6s cubic-bezier(.5,0,.2,1), opacity .5s ease .08s, height .45s var(--ease), top .45s var(--ease), box-shadow .45s, background .45s; }
}
.nav-logo{ font-size: 20px; letter-spacing: -.02em; }
.nav-sep{ display: none; } /* barre de séparation retirée (11 oct. 2026) */
.nav-links{ display: flex; align-items: center; gap: 34px; margin-right: auto; }
.nav-link{ display: inline-flex; align-items: center; gap: 4px; padding: 6px 0; }
.nav-link:hover{ opacity: .6; }
.nav-actions{ display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-cta{
  display: inline-flex; align-items: center; height: 44px; padding: 0 36px; border-radius: 100px;
  background: #000; color: #fff; box-shadow: 4px 4px 4px rgba(0,0,0,.1);
  transition: transform .25s var(--ease), background .25s;
}
.nav-cta:hover{ transform: translateY(-1px); background: #1e1e1e; }
.nav-item{ position: relative; }
.chev{ width: 12px; height: 12px; transition: transform .25s var(--ease); }
.nav-item[data-open="true"] .chev{ transform: rotate(180deg); }
.nav-mega{
  position: absolute; top: 100%; left: -18px; width: min(310px, 92vw); padding-top: 36px; /* le pont : pas de trou entre le lien et le panneau */
  opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .2s, transform .3s var(--ease);
}
.nav-item[data-open="true"] .nav-mega{ opacity: 1; pointer-events: auto; transform: none; }
.nav-mega-card{ display: grid; grid-template-columns: 1fr; gap: 2px; padding: 10px; border-radius: 24px; background: #fff; box-shadow: 0 22px 60px rgba(7,26,49,.18), 0 0 0 1px rgba(7,26,49,.05); }
.nav-mega a{ display: flex; align-items: center; gap: 13px; padding: 12px; border-radius: 16px; transition: background .2s; }
.nav-mega a:hover{ background: #f4f5f9; }
.nav-mega img{ width: 42px; height: 42px; border-radius: 10px; flex: none; }
.nav-mega b{ display: block; font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.nav-mega small{ display: block; margin-top: 1px; font-size: 12.5px; color: var(--muted); font-weight: 400; letter-spacing: 0; line-height: 1.35; }


/* Bouton noir en pilule */
.cta{
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 32px; border-radius: 100px; background: #000; color: #fff;
  font-size: 18px; font-weight: 500; letter-spacing: -.016em;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.cta:hover{ transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.22); }
.cta svg{ width: 22px; height: 22px; flex: none; }
.cta--light{ background: #fff; color: #000; box-shadow: 0 0 0 1px rgba(7,26,49,.12); }
.cta--light:hover{ box-shadow: 0 0 0 1px rgba(7,26,49,.2), 0 14px 30px rgba(7,26,49,.12); }

/* Accordéon de texte (même mécanique que les outils de la landing) */
.acc{ margin-top: 14px; }
.acc-item{ position: relative; padding: 19px 0 20px; opacity: .4; transition: opacity .35s; cursor: pointer; }
.acc-item::after{ content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(7,26,49,.2); }
.acc-item[data-open="true"], .acc-item:hover{ opacity: 1; }
.acc-head{ width: 100%; text-align: left; font-size: 17px; line-height: 24px; font-weight: 500; color: var(--navy); }
.acc-body{ display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.acc-item[data-open="true"] .acc-body{ grid-template-rows: 1fr; }
.acc-body > div{ overflow: hidden; }
.acc-body p{ padding-top: 10px; max-width: 520px; font-family: var(--ff-geist); font-size: 14px; line-height: 20px; color: var(--muted); }

/* Questions fréquentes */
.faq-list{ width: min(805px, 100% - 40px); margin: 0 auto; }
.faq-item{ border-bottom: 1px solid rgba(0,0,0,.08); }
.faq-q{
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left;
  padding: clamp(16px, 1.7vw, 28px) 0; font-size: clamp(15px, 1.34vw, 22px); font-weight: 600; letter-spacing: -.03em; line-height: 1.25; color: #000;
}
.faq-q svg{ width: 18px; height: auto; flex: none; transition: transform .35s var(--ease); }
.faq-item[data-open="true"] .faq-q svg{ transform: rotate(180deg); }
.faq-a{ display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq-item[data-open="true"] .faq-a{ grid-template-rows: 1fr; }
.faq-a > div{ overflow: hidden; }
.faq-a p{ padding: 0 0 clamp(14px, 1.6vw, 24px); max-width: 46em; font-size: clamp(13px, .95vw, 16px); line-height: 1.55; color: var(--muted); }

/* ── Pied de page ────────────────────────────────────────────────── */
.foot{
  position: relative; text-align: center; padding: clamp(60px, 6.4vw, 122px) 20px 40px;
  background: url(/assets/landing/bg-footer.jpg) center / cover no-repeat;
}
.foot-brand{ font-size: clamp(40px, 3.34vw, 64px); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.foot-tag{ margin: 12px auto 0; max-width: 393px; font-size: 16px; line-height: 24px; font-weight: 500; letter-spacing: -.02em; color: #707070; }
.foot-icons{ margin-top: 26px; display: flex; justify-content: center; gap: 11px; }
.foot-icons img{ width: 40px; height: 44px; object-fit: contain; border-radius: 8px; opacity: .8; transition: opacity .2s, transform .3s var(--ease); }
.foot-icons a:hover img{ opacity: 1; transform: translateY(-3px); }
.foot-cols{ margin: clamp(36px, 4vw, 76px) auto 0; width: min(900px, 100%); display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.foot-cols h4{ margin: 0 0 12px; font-size: 16px; font-weight: 400; letter-spacing: .01em; text-transform: uppercase; color: #707070; }
.foot-cols li + li{ margin-top: 8px; }
.foot-cols a{ font-size: 16px; font-weight: 500; letter-spacing: -.01em; color: #000; }
.foot-cols a:hover{ opacity: .6; }
.foot-legal{ margin-top: clamp(30px, 3.4vw, 64px); display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--gray); }
.foot-legal a:hover{ color: #000; }
.foot-ig{ width: 34px; height: 34px; border-radius: 50%; background: rgba(7,26,49,.07); display: flex; align-items: center; justify-content: center; }
.foot-ig svg{ width: 15px; height: 15px; }


@media (max-width: 900px){
  .nav{ top: max(22px, calc(env(safe-area-inset-top, 0px) + 14px)); width: calc(100% - 44px); height: 63px; padding: 0 9px 0 22px; gap: 10px; font-size: 14px; }
  .nav.scrolled{ height: 60px; top: max(14px, calc(env(safe-area-inset-top, 0px) + 8px)); }
  .nav-links, .nav-sep, .nav-actions .nav-link{ display: none; }
  .nav-actions{ gap: 14px; }
  .nav-cta{ height: 44px; padding: 0 22px; }
  .cta{ min-height: 48px; font-size: 15px; padding: 0 26px; }
  .foot{ background-image: url(/assets/landing/bg-footer-mobile.jpg); padding: 48px 16px 28px; }
  .foot-brand{ font-size: 32px; }
  .foot-tag{ font-size: 13px; line-height: 1.4; margin-top: 8px; }
  .foot-icons{ margin-top: 16px; gap: 6px; }
  .foot-icons img{ width: 22px; height: 24px; }
  .foot-cols{ grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 26px; }
  .foot-cols .col-contact{ grid-column: 1 / -1; order: 4; margin-top: 8px; }
  .foot-cols h4{ font-size: 10px; margin-bottom: 8px; }
  .foot-cols a{ font-size: 11px; font-weight: 600; }
  .foot-legal{ font-size: 11px; margin-top: 24px; gap: 12px; }
  .faq-q{ font-size: 14px; }
}
@media (prefers-reduced-motion: reduce){
  .nav, .hero h1{ animation: none !important; }
  .w > span{ transform: none; transition: none; }
  [data-reveal]{ opacity: 1; transform: none; transition: none; }
  html{ scroll-behavior: auto; }
}

/* ── Menu mobile des pages vitrine (burger + feuille) ─────────────── */
.nav-burger, .mmenu, .mmenu-dim{ display: none; }
@media (max-width: 900px){
  .nav-burger{
    display: inline-flex; position: relative; width: 44px; height: 44px; border-radius: 50%; background: rgba(7,26,49,.06);
    transition: background .3s;
  }
  .nav-burger span{ position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: #000; transition: transform .4s var(--ease), top .4s var(--ease); }
  .nav-burger span:nth-child(1){ top: 17px; } .nav-burger span:nth-child(2){ top: 25px; }
  .nav-burger[aria-expanded="true"]{ background: rgba(7,26,49,.12); }
  .nav-burger[aria-expanded="true"] span:nth-child(1){ top: 21px; transform: rotate(45deg); }
  .nav-burger[aria-expanded="true"] span:nth-child(2){ top: 21px; transform: rotate(-45deg); }
  .mmenu{
    display: block; position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 10px); padding: 10px; border-radius: 28px;
    background: rgba(255,255,255,.97); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    box-shadow: 0 24px 60px rgba(7,26,49,.2), 0 0 0 1px rgba(7,26,49,.05);
    opacity: 0; visibility: hidden; transform: translateY(-12px) scale(.97); transform-origin: top center;
    transition: opacity .3s, transform .45s var(--ease), visibility 0s linear .45s;
  }
  .mmenu.open{ opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .mmenu .lab{ display: block; padding: 12px 14px 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8a929a; }
  .mmenu a{ display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 18px; font-size: 16px; font-weight: 500; letter-spacing: -.01em; transition: background .2s; }
  .mmenu a:active, .mmenu a:hover{ background: #f4f5f9; }
  .mmenu a img{ width: 40px; height: 40px; border-radius: 10px; flex: none; }
  .mmenu a b{ display: block; font-weight: 600; font-size: 15.5px; }
  .mmenu a small{ display: block; margin-top: 1px; font-size: 12.5px; font-weight: 400; color: var(--muted); }
  .mmenu a[aria-current="page"]{ background: #f4f5f9; }
  .mmenu hr{ border: 0; height: 1px; background: rgba(7,26,49,.08); margin: 8px 14px; }
  .mmenu .go{ justify-content: space-between; }
  .mmenu .go svg{ width: 18px; height: 18px; color: #8a929a; }
  .mmenu > *{ opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .5s var(--ease); }
  .mmenu.open > *{ opacity: 1; transform: none; }
  .mmenu.open > *:nth-child(2){ transition-delay: .05s; } .mmenu.open > *:nth-child(3){ transition-delay: .09s; } .mmenu.open > *:nth-child(4){ transition-delay: .13s; }
  .mmenu.open > *:nth-child(5){ transition-delay: .17s; } .mmenu.open > *:nth-child(6){ transition-delay: .2s; } .mmenu.open > *:nth-child(7){ transition-delay: .23s; } .mmenu.open > *:nth-child(8){ transition-delay: .26s; }
  .mmenu-dim{ display: block; position: fixed; inset: 0; z-index: 48; background: rgba(7,26,49,.22); opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s linear .35s; }
  .mmenu-dim.open{ opacity: 1; visibility: visible; transition-delay: 0s; }
}
