/* Site vitrine PPGNav : mêmes couleurs que l'application (bleu nuit + aile orange) */
:root {
  --night: #0b1e35;
  --night-2: #12304f;
  --petrol: #17466b;
  --orange: #ff8a3d;
  --orange-2: #ffb347;
  --yellow: #ffd166;
  --ink: #16212e;
  --muted: #5b6b7c;
  --line: #e3e8ee;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --radius: 18px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--petrol); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Barre du haut */
.top { position: sticky; top: 0; z-index: 50; background: linear-gradient(100deg, var(--night) 0%, var(--night-2) 55%, var(--petrol) 100%); box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.top .brand img { height: 34px; width: auto; }
.top nav { display: flex; gap: 4px; margin-left: 8px; }
.top nav a { color: #c6d6e8; text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: .95rem; }
.top nav a:hover, .top nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.08); }
.top .cta { margin-left: auto; }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; text-decoration: none; border-radius: 999px; padding: .8em 1.5em; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn-primary { background: linear-gradient(90deg, #ff6a3d, var(--orange) 50%, var(--orange-2)); color: #1b0f05; box-shadow: 0 6px 18px rgba(255,138,61,.35); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(255,138,61,.45); }
.btn-ghost { color: #fff; border: 2px solid rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-small { padding: .5em 1.1em; font-size: .9rem; }
.btn-dark { background: var(--night-2); color: #fff; }
.btn-dark:hover { background: var(--petrol); }

/* Héros */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 500px at 85% -10%, rgba(255,138,61,.25), transparent 60%), linear-gradient(160deg, var(--night) 0%, var(--night-2) 60%, var(--petrol) 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero h1 .accent { background: linear-gradient(90deg, var(--orange), var(--yellow)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.2rem; color: #cfdcea; max-width: 34em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.hero .reassure { font-size: .9rem; color: #9fb4cb; }
.hero .reassure span + span::before { content: "·"; margin: 0 .6em; }
.trail { position: absolute; left: -40px; bottom: 40px; width: 55%; height: 120px; opacity: .5; pointer-events: none; }

/* Téléphones */
.phones { position: relative; height: 560px; }
.phone { position: absolute; width: 250px; border-radius: 36px; padding: 10px; background: #0a1220; box-shadow: 0 30px 60px rgba(0,0,0,.45), inset 0 0 0 2px #24344a; }
.phone img { border-radius: 27px; width: 100%; }
.phones .p1 { left: 4%; top: 30px; transform: rotate(-6deg); }
.phones .p2 { right: 4%; top: 0; transform: rotate(5deg); z-index: 2; }

/* Bandeau des trois piliers */
.pillars { margin-top: -40px; position: relative; z-index: 3; }
.pillars .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 10px 30px rgba(15,39,66,.08); }
.pillar .icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; margin-bottom: 14px; background: linear-gradient(135deg, #fff1e6, #ffe2c7); }
.pillar .verb { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--orange); }
.pillar p { color: var(--muted); margin: 0; }

/* Sections */
section { padding: 88px 0; }
.soft { background: var(--bg-soft); }
.kicker { font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--orange); margin-bottom: .5em; }
.center { text-align: center; }
.center .sub { max-width: 40em; margin: 0 auto 2.5em; color: var(--muted); font-size: 1.1rem; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value h3 { display: flex; align-items: center; gap: .5em; }
.value p { color: var(--muted); margin: 0; }
.value .ico { font-size: 1.4rem; }

/* Blocs fonctionnalité : texte + capture, en alternance */
.feature { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.feature + .feature { margin-top: 96px; }
.feature.flip .text { order: 2; }
.feature ul { list-style: none; padding: 0; margin: 1em 0 0; }
.feature li { position: relative; padding-left: 1.7em; margin: .55em 0; }
.feature li::before { content: ""; position: absolute; left: 0; top: .55em; width: .8em; height: .8em; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--yellow)); }
.feature li b { color: var(--ink); }
.feature .text p { color: var(--muted); }
.shot { border-radius: 14px; overflow: hidden; box-shadow: 0 24px 50px rgba(15,39,66,.18); border: 1px solid var(--line); background: #fff; }
.shot-pair { display: flex; gap: 18px; justify-content: center; align-items: flex-start; }
.shot-pair .phone { position: static; width: 46%; max-width: 250px; }
.shot-pair .phone:nth-child(2) { margin-top: 40px; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding-top: 18px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--night-2); color: #fff; font-weight: 800; margin-bottom: 12px; }
.step p { color: var(--muted); margin: 0; }

/* Appel final */
.final { color: #fff; text-align: center; background: radial-gradient(800px 300px at 50% 0%, rgba(255,138,61,.25), transparent 70%), linear-gradient(160deg, var(--night), var(--petrol)); }
.final p { color: #cfdcea; font-size: 1.15rem; }
.final .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Pied de page */
footer { background: var(--night); color: #8fa4bb; font-size: .9rem; padding: 36px 0; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; }
footer img { height: 26px; }
footer a { color: #c6d6e8; }
footer .disclaimer { flex-basis: 100%; font-size: .82rem; color: #6f859c; margin: 0; }

/* Page fonctionnalités : en-tête court + sommaire */
.page-head { color: #fff; background: linear-gradient(160deg, var(--night), var(--night-2) 60%, var(--petrol)); padding: 64px 0 56px; }
.page-head p { color: #cfdcea; font-size: 1.15rem; max-width: 40em; }
.toc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.toc a { color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.3); padding: .4em 1em; border-radius: 999px; font-weight: 600; font-size: .95rem; }
.toc a:hover { background: rgba(255,255,255,.1); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { font-size: .8rem; font-weight: 700; color: var(--petrol); background: #e7f0f8; border-radius: 999px; padding: .25em .8em; }

/* Mobile */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 64px; }
  .phones { height: 430px; max-width: 420px; margin: 0 auto; width: 100%; }
  .phone { width: 190px; border-radius: 28px; padding: 8px; }
  .phone img { border-radius: 21px; }
  .pillars { margin-top: -30px; }
  .pillars .grid, .values, .steps { grid-template-columns: 1fr; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .text { order: 0; }
  .feature + .feature { margin-top: 72px; }
  section { padding: 64px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .top nav { display: none; }
  .top .wrap { height: 58px; }
  .top .brand img { height: 28px; }
  .wrap { padding: 0 16px; }
  .phones { height: 360px; }
  .phone { width: 160px; }
  .hero .actions .btn { flex: 1 1 100%; justify-content: center; }
}
