/* =========================================================
   PosturoGest — feuille de style principale
   Style : tech moderne & premium (violet, glassmorphism)
   Titres : Exo 2 · Texte : Inter
   ========================================================= */

:root {
  --violet:      #6741d9;
  --violet-l:    #8a5cf0;
  --violet-d:    #5a2fc8;
  --ink-0:       #f3f1fb;   /* fond général (lavande clair) */
  --ink-1:       #ffffff;
  --ink-2:       #ece7fa;
  --header-a:    #6a49d2;   /* bande d'en-tête (éclaircie) */
  --header-b:    #9068ec;
  --text:        #2a2350;
  --text-soft:   #574f7e;
  --text-dim:    #8b84a8;
  --card:        #ffffff;
  --card-brd:    rgba(103,65,217,0.16);
  --card-brd-h:  rgba(103,65,217,0.34);
  --accent:      #6741d9;                       /* texte/icône d'accent */
  --chip-bg:     #ffffff;                        /* pastilles du hero */
  --chip-text:   #2a2350;
  --cta-dark:    linear-gradient(120deg, #5a3ce6, #3a26b8);  /* bouton démo + menu actif */
  --cta-band:    linear-gradient(125deg, #f3eefe, #e7defb);  /* bandeau CTA (clair) */
  --dot:         rgba(103,65,217,0.07);          /* trame de points du hero */
  --grad-from:   #2a2350;                        /* dégradé du titre hero */
  --grad-to:     #6741d9;
  --radius:      16px;
  --radius-lg:   22px;
  --maxw:        1520px;
  --maxw-wide:   1820px;
  --shadow:      0 18px 50px rgba(60,40,120,0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--ink-0);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .brand { font-family: 'Exo 2', 'Inter', sans-serif; font-weight: 700; line-height: 1.15; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.container-wide { max-width: var(--maxw-wide); }

/* ---------- boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 15px; letter-spacing: .2px;
  padding: 14px 26px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform .2s, box-shadow .25s, background .25s;
}
.btn-primary {
  background: linear-gradient(120deg, var(--violet), var(--violet-d));
  color: #fff; box-shadow: 0 10px 30px rgba(122,84,234,.45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(122,84,234,.6); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--card-brd-h); }
.btn-ghost:hover { background: rgba(183,148,255,.10); border-color: var(--violet-l); }

/* ---------- en-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(100deg, var(--header-a), var(--header-b));
  border-bottom: 1px solid rgba(183,148,255,.18);
  backdrop-filter: blur(8px);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 82px; max-width: var(--maxw-wide); }
.logo-link { display: inline-flex; align-items: center; }
.logo-link img { height: 46px; width: auto; }
.brand-icon { height: 46px; width: auto; filter: drop-shadow(0 0 9px rgba(183,148,255,.45)); }
.brand-name { font-family: 'Exo 2', sans-serif; font-weight: 700; font-size: 26px; color: #fff; margin-left: 13px; letter-spacing: .3px; }
.footer-brand .brand-name { color: var(--text); }
.pro-badge {
  display: inline-block; margin-left: 11px; font-family: 'Exo 2', sans-serif; font-weight: 700;
  font-size: 12px; letter-spacing: 2px; color: #fff;
  background: linear-gradient(120deg, var(--violet), var(--violet-d));
  border: 1px solid rgba(255,255,255,.25); border-radius: 6px; padding: 3px 8px; line-height: 1;
}
.footer-brand .pro-badge { margin-left: 8px; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a.navlink { color: rgba(255,255,255,.82); font-size: 15px; font-weight: 500;
  padding: 9px 16px; border-radius: 999px; transition: color .25s, background .35s ease; }
.nav a.navlink:hover { color: #fff; }
.nav a.navlink.active { background: var(--cta-dark); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.nav .btn { padding: 11px 22px; }
.site-header .btn-primary { background: var(--cta-dark); box-shadow: 0 6px 18px rgba(0,0,0,.4); }
.site-header .btn-primary:hover { filter: brightness(1.25); box-shadow: 0 10px 26px rgba(0,0,0,.5); }
.burger { display: none; background: none; border: 0; color: #fff; cursor: pointer; }
.burger svg { width: 28px; height: 28px; }

/* ---------- menu déroulant « Le logiciel » ---------- */
.nav-dd { position: relative; }
.dd-toggle { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer;
  color: rgba(255,255,255,.82); font: inherit; font-size: 15px; font-weight: 500; padding: 9px 16px; border-radius: 999px; transition: color .25s; }
.dd-toggle:hover { color: #fff; }
.dd-toggle .chev { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2.2; transition: transform .25s; }
.nav-dd:hover .dd-toggle .chev, .dd-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.dd-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 268px;
  background: #fff; border: 1px solid var(--card-brd); border-radius: 14px; padding: 8px;
  box-shadow: 0 26px 54px rgba(40,20,90,.24);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s, transform .2s, visibility .2s; z-index: 60;
}
.dd-menu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; } /* pont anti-décrochage au survol */
.nav-dd:hover .dd-menu, .dd-toggle[aria-expanded="true"] + .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--text); font-size: 15px; font-weight: 600; transition: background .15s, color .15s; }
.dd-menu a:hover { background: rgba(103,65,217,.08); color: var(--violet-d); }
.dd-menu a svg { width: 20px; height: 20px; stroke: var(--violet-l); fill: none; stroke-width: 1.9; flex: 0 0 auto; }
.dd-menu a small { display: block; color: var(--text-dim); font-size: 12px; font-weight: 400; line-height: 1.35; margin-top: 1px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 80% -5%, rgba(138,92,240,.45), transparent 60%),
    radial-gradient(700px 500px at 10% 110%, rgba(90,47,200,.35), transparent 55%),
    linear-gradient(160deg, var(--ink-1), var(--ink-0));
  padding: 90px 0 110px;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, var(--dot) 1px, transparent 1px);
  background-size: 40px 40px; opacity: .5; pointer-events: none;
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  color: var(--violet-l); border: 1px solid var(--card-brd); border-radius: 999px;
  padding: 6px 14px; margin-bottom: 22px; background: var(--card);
}
.hero h1 { font-size: clamp(34px, 5vw, 54px); }
.hero h1 .grad {
  background: linear-gradient(100deg, var(--grad-from) 0%, var(--grad-to) 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 19px; color: var(--text-soft); margin: 22px 0 34px; max-width: 540px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--text-dim); }

.hero-visual { display: flex; justify-content: center; }
.orbit { position: relative; width: 380px; height: 380px; display: grid; place-items: center; }
.orbit::before {
  content: ""; position: absolute; inset: 16px; border-radius: 50%;
  background: radial-gradient(circle, rgba(138,92,240,.42), transparent 66%);
}
.orbit .ring { position: absolute; border: 1px solid rgba(183,148,255,.16); border-radius: 50%; }
.orbit .ring.r1 { inset: 4px; } .orbit .ring.r2 { inset: 52px; border-color: rgba(183,148,255,.10); }
.orbit .app {
  position: relative; z-index: 2; width: 228px; height: auto; border-radius: 46px;
  filter: drop-shadow(0 26px 60px rgba(122,84,234,.6)); animation: float 6s ease-in-out infinite;
}
.chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 999px; white-space: nowrap;
  background: var(--chip-bg); border: 1px solid var(--card-brd-h);
  font-size: 13px; font-weight: 600; color: var(--chip-text);
  box-shadow: 0 12px 30px rgba(40,20,90,.28); animation: float 7s ease-in-out infinite;
}
.chip svg { width: 16px; height: 16px; stroke: var(--violet-l); fill: none; stroke-width: 2; }
.chip.c1 { top: 4%;  left: -6%; }
.chip.c2 { top: 30%; right: -12%; animation-delay: .8s; }
.chip.c3 { bottom: 22%; left: -14%; animation-delay: 1.4s; }
.chip.c4 { bottom: 3%; right: -2%; animation-delay: 2s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- sections génériques ---------- */
.section { padding: 96px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: var(--text-soft); font-size: 17px; margin-top: 16px; }

.alt { background: linear-gradient(180deg, var(--ink-0), var(--ink-1)); }

/* ---------- grille fonctionnalités ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: var(--card); border: 1px solid var(--card-brd); border-radius: var(--radius-lg);
  padding: 32px 28px; transition: transform .25s, border-color .25s, background .25s;
  backdrop-filter: blur(6px);
}
.feature:hover { transform: translateY(-6px); border-color: var(--card-brd-h); background: rgba(255,255,255,.06); }
.feature .ic {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(138,92,240,.35), rgba(90,47,200,.2));
  border: 1px solid var(--card-brd);
}
.feature .ic svg { width: 28px; height: 28px; stroke: var(--violet-l); fill: none; stroke-width: 1.8; }
.feature h3 { font-size: 20px; margin-bottom: 10px; font-family: 'Inter', sans-serif; font-weight: 600; }
.feature p { color: var(--text-soft); font-size: 15px; }
.feature .badge { display: inline-block; margin-top: 14px; font-size: 12px; color: var(--violet-l);
  border: 1px solid var(--card-brd); border-radius: 999px; padding: 3px 10px; }

/* ---------- vitrine captures (fenêtres 3D) ---------- */
.showcase-row { display: flex; align-items: center; gap: 72px; margin-bottom: 130px; }
.showcase-row:last-child { margin-bottom: 0; }
.showcase-row.reverse { flex-direction: row-reverse; }
.showcase-text { flex: 1 1 32%; }
.showcase-media { flex: 1 1 68%; perspective: 2000px; }
.showcase-text .kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  letter-spacing: .6px; text-transform: uppercase; color: var(--violet-l);
  border: 1px solid var(--card-brd); border-radius: 999px; padding: 5px 13px; margin-bottom: 18px; background: var(--card);
}
.showcase-text .kicker svg { width: 15px; height: 15px; stroke: var(--violet-l); fill: none; stroke-width: 2; }
.showcase-text h3 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 14px; }
.showcase-text p { color: var(--text-soft); font-size: 16px; margin-bottom: 18px; }
.showcase-text ul { list-style: none; }
.showcase-text li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-soft); font-size: 15px; padding: 5px 0; }
.showcase-text li svg { flex: 0 0 auto; width: 18px; height: 18px; stroke: var(--violet-l); fill: none; stroke-width: 2.2; margin-top: 2px; }

.window {
  border-radius: 14px; overflow: hidden; background: #17123f;
  border: 1px solid var(--card-brd-h);
  box-shadow: 0 42px 90px rgba(0,0,0,.55), 0 6px 20px rgba(90,47,200,.28);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s;
}
.window .bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.01)); border-bottom: 1px solid rgba(255,255,255,.07); }
.window .bar span { width: 11px; height: 11px; border-radius: 50%; background: rgba(183,148,255,.35); }
.window .bar span:nth-child(2){ background: rgba(183,148,255,.24); }
.window .bar span:nth-child(3){ background: rgba(183,148,255,.16); }
.window .bar .title { margin-left: 10px; font-size: 12px; color: var(--text-dim); }
.window img { display: block; width: 100%; height: auto; }

/* entrée en rotation sur l'axe vertical */
.reveal-3d { opacity: 0; transition: opacity 1s ease, transform 1.05s cubic-bezier(.2,.75,.2,1); transform-origin: right center;
  transform: perspective(1700px) rotateY(-32deg) translateX(70px) translateY(24px) scale(.96); }
.reveal-3d.from-left { transform-origin: left center; transform: perspective(1700px) rotateY(32deg) translateX(-70px) translateY(24px) scale(.96); }
.reveal-3d.visible { opacity: 1; transform: perspective(1700px) rotateY(-7deg) translateX(0) translateY(0) scale(1); }
.reveal-3d.from-left.visible { transform: perspective(1700px) rotateY(7deg) translateX(0) translateY(0) scale(1); }
.showcase-media:hover .window { transform: perspective(1700px) rotateY(0deg) translateY(-6px);
  box-shadow: 0 55px 110px rgba(0,0,0,.6), 0 8px 26px rgba(122,84,234,.4); }

/* mini-galerie */
.mini-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 20px; }
.mini-gallery .window .title { font-size: 12px; }

/* ---------- maquette agenda (vue semaine) ---------- */
.ag-frame { overflow: hidden; width: 100%; }
.agenda-mock { background: #f5f3fb; color: #312a5e; font-family: 'Inter', sans-serif; font-size: 13px; transform-origin: top left; }
.ag-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: #fff; border-bottom: 1px solid #e6e2f2; }
.ag-nav { display: flex; gap: 6px; }
.ag-nav button { border: 1px solid #ddd6ee; background: #fff; color: #5a4a90; border-radius: 8px; padding: 5px 11px; font: inherit; }
.ag-nav .today { background: #efeafc; font-weight: 600; }
.ag-title { font-weight: 600; font-size: 15px; color: #2a2350; }
.ag-views { display: flex; background: #efeafc; border-radius: 9px; padding: 3px; }
.ag-views span { padding: 5px 13px; border-radius: 7px; color: #6a5aa0; font-weight: 500; }
.ag-views span.on { background: #6741d9; color: #fff; box-shadow: 0 2px 6px rgba(103,65,217,.4); }
.ag-legend { display: flex; flex-wrap: wrap; gap: 20px; padding: 9px 16px; background: #faf9fe; border-bottom: 1px solid #ececf6; font-size: 12.5px; color: #5a5280; }
.ag-legend i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; background: var(--c); margin-right: 7px; vertical-align: -1px; }
.ag-body { display: flex; background: #fff; }
.ag-times { flex: 0 0 52px; padding-top: 34px; }
.ag-times .t { height: 46px; font-size: 11px; color: #a49cc4; text-align: right; padding-right: 8px; transform: translateY(-7px); }
.ag-days { display: grid; grid-template-columns: repeat(6, 1fr); flex: 1; }
.ag-day { border-left: 1px solid #eeeaf7; min-width: 0; }
.ag-dayhead { height: 34px; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 12.5px; color: #4a3f80; background: #faf9fe; border-bottom: 1px solid #eeeaf7; }
.ag-dayhead.wknd { color: #b0487a; }
.ag-col { position: relative; height: 506px; background: repeating-linear-gradient(#fff 0, #fff 45px, #f0edf8 45px, #f0edf8 46px); }
.ag-ev { position: absolute; left: 3px; right: 3px; border-radius: 5px; padding: 1px 6px; color: #fff; overflow: hidden;
  display: flex; align-items: center; box-shadow: 0 1px 3px rgba(40,20,90,.25); border-left: 3px solid rgba(255,255,255,.55); }
.ag-ev .n { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2; }
.ag-ev .n b { font-weight: 700; margin-right: 5px; opacity: .92; }
.ag-ev.half-l { right: 51%; } .ag-ev.half-r { left: 51%; }
.ev-v { background: #6741d9; } .ev-t { background: #0d9488; } .ev-r { background: #d6337e; } .ev-a { background: #d97706; }
/* La maquette agenda est mise à l'échelle proportionnellement en JS (voir fitAgenda),
   comme une capture : elle garde sa proportion sur tout écran, du 24" au mobile. */

/* ---------- ce qui nous démarque ---------- */
.diff-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.diff-card {
  position: relative; background: var(--card); border: 1px solid var(--card-brd); border-radius: var(--radius-lg);
  padding: 34px 32px; overflow: hidden; transition: transform .25s, border-color .25s;
}
.diff-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 5px; height: 100%;
  background: linear-gradient(180deg, var(--violet-l), var(--violet-d));
}
.diff-card:hover { transform: translateY(-4px); border-color: var(--card-brd-h); }
.diff-card .dic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(138,92,240,.4), rgba(90,47,200,.22)); border: 1px solid var(--card-brd);
}
.diff-card .dic svg { width: 27px; height: 27px; stroke: var(--violet-l); fill: none; stroke-width: 1.8; }
.diff-card h3 { font-size: 21px; margin-bottom: 10px; font-family: 'Inter', sans-serif; font-weight: 600; }
.diff-card p { color: var(--text-soft); font-size: 15.5px; }

/* ---------- liste complète des fonctionnalités ---------- */
.caps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cap {
  background: var(--card); border: 1px solid var(--card-brd); border-radius: var(--radius-lg); padding: 28px 26px;
  transition: border-color .25s, background .25s;
}
.cap:hover { border-color: var(--card-brd-h); background: rgba(255,255,255,.055); }
.cap .cap-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.cap .cap-head .cic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; flex: 0 0 auto;
  background: linear-gradient(135deg, rgba(138,92,240,.35), rgba(90,47,200,.18)); border: 1px solid var(--card-brd); }
.cap .cap-head .cic svg { width: 22px; height: 22px; stroke: var(--violet-l); fill: none; stroke-width: 1.9; }
.cap .cap-head h4 { font-family: 'Inter', sans-serif; font-size: 17px; font-weight: 600; color: var(--text); }
.cap ul { list-style: none; }
.cap li { position: relative; padding: 6px 0 6px 22px; color: var(--text-soft); font-size: 14.5px; }
.cap li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--violet-l); box-shadow: 0 0 8px rgba(183,148,255,.6); }
.cap li b { color: var(--text); font-weight: 600; }

/* barre violette latérale + ombre douce vers le bas (style « captures ») */
.feature, .cap, .diff-card { box-shadow: 0 22px 46px rgba(30,18,70,.13); }
.feature, .cap { position: relative; overflow: hidden; }
.feature::before, .cap::before {
  content: ""; position: absolute; top: 0; left: 0; width: 5px; height: 100%;
  background: linear-gradient(180deg, var(--violet-l), var(--violet-d));
}
.feature:hover, .cap:hover, .diff-card:hover { box-shadow: 0 30px 64px rgba(30,18,70,.22); }

/* ---------- bande CTA ---------- */
.cta-band { position: relative; }
.cta-inner {
  background: var(--cta-band); border: 1px solid var(--card-brd-h);
  border-radius: 28px; padding: 60px 48px; text-align: center;
  box-shadow: 0 30px 60px rgba(30,18,70,.17);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s;
}
.cta-inner:hover {
  transform: translateY(-6px);
  box-shadow: 0 42px 84px rgba(30,18,70,.26);
}
.cta-inner h2 { font-size: clamp(26px, 4vw, 38px); color: var(--text); }
.cta-inner p { color: var(--text-soft); margin: 16px auto 30px; max-width: 560px; font-size: 17px; }
.cta-inner .btn-primary { background: linear-gradient(120deg, var(--violet), var(--violet-d)); color: #fff; }
.cta-inner .btn-primary:hover { filter: brightness(1.08); }

/* ---------- pied de page ---------- */
.site-footer { background: var(--ink-0); border-top: 1px solid rgba(183,148,255,.12); padding: 56px 0 30px; }
.site-footer .container { max-width: var(--maxw-wide); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand img { height: 64px; margin-bottom: 16px; }
.footer-brand p { color: var(--text-dim); font-size: 14px; max-width: 320px; }
.footer-col h4 { font-family: 'Inter', sans-serif; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-soft); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-dim); font-size: 15px; padding: 6px 0; transition: color .2s; }
.footer-col a:hover { color: var(--violet-l); }
.footer-bottom { border-top: 1px solid rgba(183,148,255,.10); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--text-dim); font-size: 13px; }

/* ---------- pages légales (texte) ---------- */
.legal { padding: 70px 0 90px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 8px; }
.legal .updated { color: var(--text-dim); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 22px; margin: 38px 0 14px; font-family: 'Inter', sans-serif; font-weight: 600; color: var(--text); }
.legal p, .legal li { color: var(--text-soft); font-size: 16px; }
.legal ul { margin: 12px 0 12px 22px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--violet-l); text-decoration: underline; }
.legal .todo { background: rgba(138,92,240,.12); border: 1px dashed var(--card-brd-h); border-radius: 12px; padding: 14px 18px; color: var(--violet-l); font-size: 14px; margin: 18px 0; }

/* ---------- pages de contenu (SEO) ---------- */
.page-hero { padding: 74px 0 26px; text-align: center; }
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(30px, 5vw, 46px); }
.page-hero .lead { color: var(--text-soft); font-size: 19px; max-width: 720px; margin: 18px auto 0; line-height: 1.6; }
.article { padding: 14px 0 40px; }
.article .container { max-width: 900px; }
.article h2 { font-size: 26px; margin: 44px 0 14px; }
.article h3 { font-size: 19px; margin: 26px 0 8px; font-family: 'Inter', sans-serif; font-weight: 600; color: var(--text); }
.article p { color: var(--text-soft); font-size: 17px; margin-bottom: 14px; line-height: 1.75; }
.article ul { list-style: none; margin: 10px 0 18px; }
.article li { position: relative; padding: 6px 0 6px 26px; color: var(--text-soft); font-size: 16px; }
.article li::before { content: ""; position: absolute; left: 5px; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--violet-l); box-shadow: 0 0 8px rgba(183,148,255,.5); }
.article li b { color: var(--text); font-weight: 600; }
.article a.inl { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.article .shot { margin: 30px 0; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.related a { display: block; background: var(--card); border: 1px solid var(--card-brd); border-radius: var(--radius); padding: 20px 22px; transition: border-color .2s, transform .2s; }
.related a:hover { border-color: var(--card-brd-h); transform: translateY(-3px); }
.related a strong { display: block; color: var(--text); font-family: 'Inter', sans-serif; font-weight: 600; margin-bottom: 6px; }
.related a span { color: var(--text-soft); font-size: 14px; }
@media (max-width: 760px) { .related { grid-template-columns: 1fr; } }

/* ---------- pages de contenu en style vitrine (showcase) ---------- */
.showcase-text h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 14px; font-family: 'Exo 2', 'Inter', sans-serif; }
.showcase-text > p { color: var(--text-soft); font-size: 16px; margin-bottom: 18px; }
.showcase-text .btn { margin-top: 20px; }
/* image d'appareil (tablette) sans cadre « window » : ombre déjà incrustée + flottement */
.device { width: 100%; height: auto; animation: float 7s ease-in-out infinite; }
/* bloc de prose large (sections texte des pages de contenu) */
.prose { max-width: 1080px; }
.prose h2 { font-size: clamp(24px, 3.4vw, 34px); margin: 0 0 16px; }
.prose h3 { font-size: 19px; margin: 22px 0 8px; font-family: 'Inter', sans-serif; font-weight: 600; color: var(--text); }
.prose p { color: var(--text-soft); font-size: 17.5px; line-height: 1.8; margin-bottom: 14px; }
.prose ul { list-style: none; margin: 12px 0 20px; }
.prose li { position: relative; padding: 6px 0 6px 26px; color: var(--text-soft); font-size: 16.5px; }
.prose li::before { content: ""; position: absolute; left: 5px; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--violet-l); box-shadow: 0 0 8px rgba(183,148,255,.5); }
.prose b { color: var(--text); font-weight: 600; }
.prose a.inl { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
/* FAQ en cartes */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.faq-card { background: var(--card); border: 1px solid var(--card-brd); border-radius: var(--radius); padding: 24px 26px; box-shadow: 0 18px 40px rgba(30,18,70,.10); }
.faq-card h3 { font-size: 17px; font-family: 'Inter', sans-serif; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.faq-card p { color: var(--text-soft); font-size: 15.5px; margin: 0; }
@media (max-width: 760px) { .faq-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .device { animation: none !important; } }

/* ---------- animations au scroll ---------- */
.reveal, .reveal-left, .reveal-right, .reveal-zoom {
  opacity: 0; will-change: transform, opacity;
  transition: opacity .8s ease, transform .85s cubic-bezier(.2,.75,.25,1);
}
.reveal       { transform: translateY(36px); }
.reveal-left  { transform: translateX(-72px); }
.reveal-right { transform: translateX(72px); }
.reveal-zoom  { transform: scale(.85); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible, .reveal-zoom.visible {
  opacity: 1; transform: none;
}
/* cascade dans les grilles */
.features .feature:nth-child(3n+2), .caps-grid .cap:nth-child(3n+2) { transition-delay: .09s; }
.features .feature:nth-child(3n+3), .caps-grid .cap:nth-child(3n+3) { transition-delay: .18s; }
.diff-grid .diff-card:nth-child(2n) { transition-delay: .1s; }

/* ---------- bandeau de consentement cookies ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  max-width: 760px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px; justify-content: space-between;
  background: #ffffff; color: var(--text); border: 1px solid var(--card-brd-h);
  border-radius: 14px; padding: 15px 20px; box-shadow: 0 20px 50px rgba(60,40,120,.22);
}
.cookie-banner p { flex: 1 1 340px; margin: 0; font-size: 14px; color: var(--text-soft); line-height: 1.5; }
.cookie-banner a { color: var(--accent); text-decoration: underline; }
.cookie-banner .cb-actions { display: flex; gap: 10px; }
.cookie-banner button { font-family: inherit; font-weight: 600; font-size: 14px; border-radius: 999px; padding: 9px 20px; cursor: pointer; border: 1px solid transparent; transition: filter .2s, background .2s; }
.cookie-banner .cb-refuse { background: transparent; color: var(--text); border-color: var(--card-brd-h); }
.cookie-banner .cb-refuse:hover { background: rgba(103,65,217,.06); }
.cookie-banner .cb-accept { background: linear-gradient(120deg, var(--violet), var(--violet-d)); color: #fff; }
.cookie-banner .cb-accept:hover { filter: brightness(1.08); }
@media (max-width: 560px) { .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; } .cookie-banner .cb-actions { justify-content: center; } }

/* ---------- accessibilité : mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  .orbit .app, .chip { animation: none !important; }
  .reveal, .reveal-left, .reveal-right, .reveal-zoom, .reveal-3d, .window { transition: none !important; }
  .reveal, .reveal-left, .reveal-right, .reveal-zoom, .reveal-3d, .reveal-3d.from-left {
    transform: none !important; opacity: 1 !important;
  }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-cta { justify-content: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-visual { order: -1; margin-bottom: 10px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .caps-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: 1fr; }
  .showcase-row, .showcase-row.reverse { flex-direction: column; align-items: stretch; gap: 30px; margin-bottom: 80px; text-align: center; }
  .showcase-text li { justify-content: center; text-align: left; min-width: 0; }
  .showcase-text ul { display: inline-block; max-width: 100%; }
  .reveal-3d, .reveal-3d.from-left { transform: perspective(1400px) rotateY(0) translateY(40px) scale(.97); transform-origin: center; }
  .reveal-3d.visible, .reveal-3d.from-left.visible { transform: none; }
}
/* Menu → burger dès que la barre devient trop étroite (évite le chevauchement logo / menu) */
@media (max-width: 980px) {
  .nav { position: fixed; inset: 82px 0 auto 0; flex-direction: column; gap: 0;
    background: linear-gradient(180deg, var(--header-a), var(--header-b));
    border-bottom: 1px solid var(--card-brd); padding: 10px 0 20px;
    box-shadow: 0 22px 44px rgba(40,20,90,.28);
    transform: translateY(-130%); transition: transform .3s; }
  .nav.open { transform: none; }
  .nav a.navlink { width: 100%; text-align: center; padding: 14px 0; border-radius: 0; }
  .nav a.navlink.active { background: transparent; color: #fff; box-shadow: none; }
  .nav .btn { margin: 10px auto 0; }
  .burger { display: block; }
  /* menu déroulant → déplié dans le panneau mobile */
  .nav-dd { width: 100%; }
  .dd-toggle { width: 100%; justify-content: center; color: #fff; padding: 14px 0; font-weight: 600; }
  .dd-toggle .chev { display: none; }
  .dd-menu { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0;
    background: rgba(255,255,255,.06); border: 0; border-radius: 0; box-shadow: none; padding: 0 0 6px; }
  .dd-menu::before { display: none; }
  .dd-menu a { justify-content: center; color: rgba(255,255,255,.9); padding: 11px 0; font-weight: 500; }
  .dd-menu a:hover { background: rgba(255,255,255,.10); color: #fff; }
  .dd-menu a svg, .dd-menu a small { display: none; }
}
@media (max-width: 640px) {
  .features { grid-template-columns: 1fr; }
  .caps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .orbit { width: 300px; height: 300px; }
  .orbit .app { width: 180px; border-radius: 38px; }
  .chip { font-size: 12px; padding: 7px 12px; }
  .chip.c1 { left: -2%; } .chip.c2 { right: -4%; } .chip.c3 { left: -4%; } .chip.c4 { right: 0; }
}
