/* EventPlanner landing — tokens cohérents avec l'app (navy/teal/Outfit) */

/* ---------- POLICE AUTO-HÉBERGÉE : Outfit (RGPD — aucun appel Google Fonts) ---------- */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #0f172a;
  --navy-700: #1e293b;
  --teal: #14b8a6;
  --teal-600: #0d9488;
  --sky: #0ea5e9;
  --bg: #f8fafc;
  --bg-2: #f1f5f9;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --muted-2: #64748b;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, 0.35);
  --container: 1180px;
  --header-h: 64px;
}

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

html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, picture { display: block; max-width: 100%; height: auto; }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--teal-600); }

/* Focus visible global : contraste AA sur tous éléments interactifs */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 { color: var(--navy); letter-spacing: -0.02em; line-height: 1.15; font-weight: 700; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); }
h3 { font-size: 1.1rem; letter-spacing: -0.01em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 0.5rem 1rem;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; outline: none; }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.65rem; color: var(--navy); font-weight: 700; }
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand-text { display: inline-flex; align-items: baseline; gap: 0; font-size: 1.1rem; line-height: 1; }
.brand-event { font-weight: 800; }
.brand-planner { font-weight: 400; color: var(--muted-2); }

.nav-links { display: flex; align-items: center; gap: 0.5rem; }
.nav-links > a:not(.btn) {
  padding: 0.5rem 0.75rem;
  color: var(--muted);
  font-weight: 500;
  border-radius: 8px;
  display: none;
}
.nav-links > a:not(.btn):hover { color: var(--navy); background: var(--bg-2); }
@media (min-width: 800px) {
  .nav-links > a:not(.btn) { display: inline-block; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn-lg { padding: 0.95rem 1.5rem; font-size: 1rem; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-600); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(20, 184, 166, 0.32); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- SECTIONS COMMON ---------- */
section { padding: 4rem 0; }
@media (min-width: 1024px) { section { padding: 5.5rem 0; } }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-600);
  background: rgba(20, 184, 166, 0.08);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

.section-head { max-width: 760px; margin: 0 auto 2.5rem; text-align: center; display: flex; flex-direction: column; gap: 0.75rem; align-items: center; }

.bullets { list-style: none; margin-top: 1rem; display: grid; gap: 0.5rem; }
.bullets li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--muted);
}
.bullets li::before {
  content: "";
  position: absolute; left: 0; top: 0.55rem;
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.15);
}

/* ---------- 1. HERO ---------- */
.hero {
  background:
    radial-gradient(1200px 600px at 110% -10%, rgba(20, 184, 166, 0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 0%, rgba(14, 165, 233, 0.08), transparent 60%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  padding-top: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) {
  .hero { padding-top: 5rem; padding-bottom: 5rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 4rem; }
}

.hero-copy { display: flex; flex-direction: column; gap: 1.1rem; align-items: flex-start; }
.hero h1 {
  font-size: clamp(2rem, 1.4rem + 3.6vw, 3.4rem);
  letter-spacing: -0.025em;
}
.hl { color: var(--teal-600); }

.lead {
  font-size: clamp(1.02rem, 0.98rem + 0.2vw, 1.18rem);
  color: var(--muted);
  max-width: 60ch;
}
.cta-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.micro { font-size: 0.85rem; color: var(--muted-2); }

.benefits-band {
  font-size: 0.875rem;
  color: #64748b; /* slate-500 */
  letter-spacing: 0.01em;
  font-weight: 500;
}

/* ---------- 1b. BANDEAU CRÉDIBILITÉ ---------- */
.credibility-band {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
}
.credibility-band p {
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.5;
}
.credibility-link {
  color: var(--teal-600);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.credibility-link:hover { color: var(--navy); }

/* ---------- 1c. QUI EST DERRIÈRE (EP-214) ---------- */
.origine {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}
@media (min-width: 1024px) { .origine { padding: 4rem 0; } }

.origine-inner {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  max-width: 820px;
  margin: 0 auto;
}
@media (max-width: 640px) {
  .origine-inner { flex-direction: column; gap: 1rem; }
}

.origine-badge {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(20, 184, 166, 0.10);
  color: var(--teal-600);
  display: flex;
  align-items: center;
  justify-content: center;
}

.origine-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.origine-quote {
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem);
  font-style: italic;
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.4;
  border-left: 3px solid var(--teal);
  padding-left: 1rem;
  margin: 0;
}

.origine-detail {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 68ch;
}

.origine-link-wrap {
  margin-top: 0.25rem;
}

.origine-festivit-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal-600);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.origine-festivit-link:hover { color: var(--navy); }

/* ---------- 2b. SCÉNARIOS PAR RÔLE (EP-214) ---------- */
.scenarios { background: var(--bg-2); }

.scenarios-grid {
  list-style: none;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .scenarios-grid { grid-template-columns: repeat(3, 1fr); }
}

.scenario-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.scenario-card:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.scenario-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(20, 184, 166, 0.10);
  color: var(--teal-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.scenario-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.scenario-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.scenario-role {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.scenario-text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  font-style: italic;
}

/* ---------- 2c. TABLEAU VS EXCEL (EP-214) ---------- */
.vs-excel { background: var(--surface); border-top: 1px solid var(--border); }

.vs-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.vs-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
  background: var(--surface);
}

.vs-table caption { caption-side: top; }

.vs-table thead tr {
  background: var(--navy);
}
.vs-table thead th {
  padding: 0.85rem 1.1rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  border: none;
}
.vs-col-criteria { width: 22%; color: #94a3b8; }
.vs-col-excel, .vs-col-ep { width: 39%; }

.vs-header-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 6px;
  padding: 0.25rem 0.6rem;
  font-size: 0.875rem;
  font-weight: 700;
}
.vs-header-excel {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}
.vs-header-ep {
  background: rgba(20, 184, 166, 0.22);
  color: #5eead4;
}

.vs-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.12s ease;
}
.vs-table tbody tr:last-child { border-bottom: none; }
.vs-table tbody tr:hover { background: var(--bg-2); }

.vs-table td, .vs-table tbody th {
  padding: 0.85rem 1.1rem;
  font-size: 0.875rem;
  line-height: 1.45;
  vertical-align: middle;
}
.vs-criteria {
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.vs-bad {
  color: #64748b;
}
.vs-good {
  color: var(--navy);
  font-weight: 500;
}

.vs-icon {
  font-style: normal;
  font-weight: 700;
  margin-right: 0.3rem;
}
.vs-bad .vs-icon { color: #ef4444; }
.vs-good .vs-icon { color: var(--teal-600); }

/* visually-hidden (accessibility) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- 2d. ONBOARDING 3 ÉTAPES (EP-215) ---------- */
.onboarding {
  background: var(--navy);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.onboarding .section-head { max-width: 760px; }
.onboarding .eyebrow {
  background: rgba(20, 184, 166, 0.18);
  color: #5eead4;
}
.onboarding h2 { color: #fff; }

.steps-grid {
  list-style: none;
  counter-reset: none;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}

.step-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  padding: 2rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.step-card:hover {
  border-color: var(--teal);
  background: rgba(20, 184, 166, 0.08);
  transform: translateY(-3px);
}

.step-number {
  display: block;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--teal);
  letter-spacing: -0.04em;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  opacity: 0.85;
}

.step-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.step-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

.onboarding-promise {
  text-align: center;
  font-size: clamp(1.5rem, 1.1rem + 2vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.15;
  padding: 0.5rem 0 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
}
.onboarding-promise strong {
  background: linear-gradient(90deg, #14b8a6 0%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- 2. POUR QUI ---------- */
.who { background: var(--surface); border-bottom: 1px solid var(--border); }
.who-grid {
  list-style: none;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.who-grid li {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem;
  display: flex; flex-direction: column; gap: 0.4rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.who-grid li:hover { border-color: var(--teal); transform: translateY(-2px); }
.who-grid h3 { color: var(--navy); }
.who-grid p { color: var(--muted); font-size: 0.95rem; }

/* ---------- 3. FONCTIONNALITÉS ---------- */
.features { background: var(--bg); }
.feature-row {
  display: grid; gap: 2rem;
  align-items: center;
  margin-top: 3rem;
}
.feature-row:first-of-type { margin-top: 0; }
@media (min-width: 900px) {
  .feature-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 3.5rem; margin-top: 5rem; }
  .feature-row.reverse > .feature-copy { order: 2; }
  .feature-row.reverse > .feature-shot { order: 1; }
}
.feature-copy h3 { font-size: 1.6rem; color: var(--navy); }
.feature-copy > p { color: var(--muted); margin-top: 0.6rem; max-width: 56ch; }

/* ---------- SHOTS (hero + features) ---------- */
.shot {
  position: relative;
  border-radius: var(--radius);
  background: var(--surface);
  padding: 8px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.hero-shot  { box-shadow: var(--shadow-lg); }
.feature-shot { padding: 6px; box-shadow: var(--shadow-md); }

.shot picture { display: block; }
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 9px;
}

/* Effet tilt + shimmer au hover (uniquement écrans avec hover) */
@media (hover: hover) and (pointer: fine) {
  .tilt {
    transition: transform 0.45s cubic-bezier(.2,.7,.2,1), box-shadow 0.45s ease;
    will-change: transform;
  }
  .tilt:hover {
    transform: perspective(1200px) translateY(-6px) rotateX(2deg) rotateY(-2deg);
    box-shadow: 0 35px 70px -20px rgba(15, 23, 42, 0.45);
  }
  .tilt::after {
    content: "";
    position: absolute; inset: 0;
    border-radius: inherit;
    background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
    transform: translateX(-100%);
    pointer-events: none;
    transition: transform 0.9s ease;
  }
  .tilt:hover::after { transform: translateX(100%); }
}

/* ---------- 4. GAINS ---------- */
.gains { background: var(--navy); color: #e2e8f0; }
.gains .eyebrow { background: rgba(20, 184, 166, 0.16); color: #5eead4; }
.gains h2 { color: #ffffff; }
.gains-grid {
  list-style: none;
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.gains-grid li {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem;
  display: flex; flex-direction: column; gap: 0.4rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.gains-grid li:hover { border-color: var(--teal); transform: translateY(-2px); }
.gains-grid h3 { color: #ffffff; }
.gains-grid p { color: #cbd5e1; font-size: 0.95rem; }

/* ---------- 5. MOBILE (la section) ---------- */
.mobile-section { background: var(--surface); }
.mobile-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) {
  .mobile-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; }
}
.mobile-copy { display: flex; flex-direction: column; gap: 0.9rem; align-items: flex-start; }
.mobile-copy h2 { letter-spacing: -0.025em; }

.phones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  perspective: 1000px;
}
.phone {
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(-2deg);
  transition: transform 0.35s ease;
}
.phone:nth-child(2) { transform: rotate(0deg) translateY(-12px); }
.phone:nth-child(3) { transform: rotate(2deg); }
.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
}
@media (hover: hover) and (pointer: fine) {
  .phone:hover { transform: rotate(0deg) translateY(-4px) scale(1.04); }
}
@media (max-width: 640px) {
  .phones { gap: 0.4rem; }
  .phone, .phone img { border-radius: 16px; }
}

/* ---------- 6. CTA FINAL ---------- */
.cta-final {
  background: linear-gradient(135deg, var(--navy) 0%, #111c33 100%);
  color: #ffffff;
}
.cta-final-inner {
  display: grid; gap: 1.5rem; align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 2rem;
}
.cta-final h2 { color: #ffffff; }
.cta-final p { color: #cbd5e1; margin-top: 0.5rem; max-width: 60ch; }
@media (min-width: 800px) {
  .cta-final-inner { grid-template-columns: 1fr auto; padding: 2.5rem 3rem; }
}

/* ---------- FOOTER ENRICHI (EP-219) ---------- */
.site-footer {
  background: var(--navy);
  color: #94a3b8;
  padding: 4rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Grille principale : brand + 4 colonnes */
.footer-top {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 640px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 2rem; }
}

/* Colonne marque */
.footer-brand { display: flex; flex-direction: column; gap: 0.75rem; }
.brand-footer { color: #fff; }
.brand-footer .brand-event { color: #fff; }
.brand-footer .brand-planner { color: #94a3b8; }
.footer-tagline { font-size: 0.9rem; color: #94a3b8; max-width: 30ch; line-height: 1.5; }
.footer-festivit {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}
.footer-festivit:hover { color: #5eead4; }

/* Colonnes liens */
.footer-col { display: flex; flex-direction: column; gap: 0.85rem; }
.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #e2e8f0;
}
.footer-col-links { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col-links a {
  font-size: 0.9rem;
  color: #94a3b8;
  font-weight: 500;
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.footer-col-links a:hover { color: #fff; }
.footer-col-links a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Icône LinkedIn */
.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.footer-social-icon:hover {
  background: rgba(20, 184, 166, 0.18);
  border-color: rgba(20, 184, 166, 0.4);
  color: var(--teal);
}
.footer-social-icon:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
/* EP-219 : icône réseau social en attente d'URL PO */
.footer-social-icon--disabled {
  opacity: .55;
  cursor: default;
}

/* Séparateur + pied de page */
.footer-bottom {
  margin-top: 3rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.footer-meta {
  font-size: 0.83rem;
  color: #475569;
  text-align: center;
  line-height: 1.6;
}

/* Rétrocompat : .footer-grid et .footer-links (au cas où anciens footers pas encore migrés) */
.footer-grid { display: grid; gap: 1.5rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.footer-links a { color: #cbd5e1; font-weight: 500; }
.footer-links a:hover { color: #fff; }

/* ---------- LIGHTBOX (clic screenshot → plein écran) ---------- */
.shot img, .phone img { cursor: zoom-in; }

#lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: lightboxIn 0.18s ease;
}
#lightbox[hidden] { display: none; }
#lightbox img {
  max-width: 96vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  background: #fff;
}
#lightbox-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
#lightbox-close:hover, #lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  outline: none;
}
@keyframes lightboxIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- MODAL DEMANDE D'ACCÈS ---------- */
#reqmodal {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(15, 23, 42, 0.85);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  animation: lightboxIn 0.18s ease;
}
#reqmodal[hidden] { display: none; }

.reqmodal-card {
  position: relative;
  width: 100%; max-width: 540px;
  max-height: 92vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
  padding: 1.75rem 1.75rem 1.5rem;
}
@media (max-width: 480px) {
  .reqmodal-card { padding: 1.25rem 1rem 1rem; }
}

.reqmodal-card h3 {
  font-size: 1.4rem; color: var(--navy);
  letter-spacing: -0.02em;
}
.reqmodal-sub {
  color: var(--muted-2);
  font-size: 0.95rem;
  margin-top: 0.25rem;
  margin-bottom: 1.1rem;
}

.reqmodal-close {
  position: absolute; top: 0.7rem; right: 0.7rem;
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--muted);
  font-size: 1.4rem; line-height: 1;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.reqmodal-close:hover { background: var(--bg-2); color: var(--navy); }

/* Indicateur d'étapes */
.reqmodal-steps {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem 0 1rem;
}
.reqstep {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  border: 2px solid var(--border-strong);
  color: var(--muted-2);
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.reqstep.reqstep-active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
.reqstep.reqstep-done {
  background: var(--teal-600);
  border-color: var(--teal-600);
  color: #fff;
}
.reqstep-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  border-radius: 999px;
}

#reqform, #reqform-step1 { display: flex; flex-direction: column; gap: 0.85rem; }
#reqform label, #reqform-step1 label {
  display: flex; flex-direction: column; gap: 0.3rem;
  font-size: 0.85rem; font-weight: 600; color: var(--navy);
}
#reqform input[type="text"], #reqform input[type="email"], #reqform input[type="tel"],
#reqform input:not([type]), #reqform textarea,
#reqform-step1 input[type="email"] {
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--navy);
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
#reqform-step1 input:focus,
#reqform input:focus, #reqform textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(20,184,166,0.18);
}
#reqform textarea { resize: vertical; min-height: 80px; }

#reqform .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
@media (max-width: 480px) { #reqform .grid2 { grid-template-columns: 1fr; } }

#reqform-step1 .reqmodal-actions { margin-top: 0; }

#reqform fieldset {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 0.75rem 0.5rem;
  display: flex; flex-wrap: wrap; gap: 0.4rem 0.85rem;
}
#reqform fieldset legend {
  font-size: 0.78rem; font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0 0.4rem;
}
#reqform .chk {
  flex-direction: row;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--muted);
  cursor: pointer;
}
#reqform .chk input { width: auto; padding: 0; }

#reqform .hp, #reqform-step1 .hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.reqmodal-actions {
  margin-top: 0.5rem;
  display: flex; flex-direction: column; gap: 0.5rem; align-items: stretch;
}
.reqmodal-actions .btn { width: 100%; }
.reqmodal-status {
  font-size: 0.9rem; font-weight: 500;
  color: var(--muted-2);
  min-height: 1.2em;
  text-align: center;
}
.reqmodal-status.ok { color: var(--teal-600); }
.reqmodal-status.err { color: #dc2626; }

/* ---------- 3b. PILIERS / CARROUSELS (EP-213) ---------- */
.pillar {
  margin-top: 3.5rem;
}
.pillar:first-of-type { margin-top: 0; }

.pillar-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}
.pillar-emoji {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}
.pillar-title {
  font-size: 1.25rem;
  color: var(--navy);
  letter-spacing: -0.015em;
  font-weight: 700;
}

/* Wrapper : flex ligne pour [btn] [scroll] [btn] */
.carousel {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Flèches */
.carousel-btn {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--navy);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
  align-self: center;
}
.carousel-btn:hover:not(:disabled) {
  background: var(--navy);
  color: #fff;
}
.carousel-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

/* Scroll container */
.carousel-track-wrap {
  flex: 1 1 0;
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0 1rem;
  /* Masquer la scrollbar visuellement */
  scrollbar-width: none;
}
.carousel-track-wrap::-webkit-scrollbar { display: none; }

/* Track : flex horizontal */
.carousel-track {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  /* largeur minimale pour éviter compression */
  width: max-content;
}

/* Cards */
.feat-card {
  scroll-snap-align: start;
  flex: 0 0 280px;
  width: 280px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.feat-card:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
@media (min-width: 640px) {
  .feat-card { flex: 0 0 300px; width: 300px; }
}
@media (min-width: 1024px) {
  .feat-card { flex: 0 0 320px; width: 320px; }
}

/* Icône feature */
.feat-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(20, 184, 166, 0.10);
  color: var(--teal-600);
  margin: 1rem 1rem 0;
  flex-shrink: 0;
}

/* Screenshot mini */
.feat-card-shot {
  margin: 0.75rem 0 0;
  overflow: hidden;
  background: var(--bg-2);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feat-card-shot picture { display: block; width: 100%; }
.feat-card-shot img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: top center;
  display: block;
}
/* Les screenshots mobiles (portrait) ont un ratio différent */
.feat-card-shot img.feat-card-shot-mobile {
  object-position: top center;
  height: 160px;
}

/* Placeholder pour les features sans screenshot */
.feat-card-shot-placeholder {
  background: var(--bg-2);
  border: none;
}
.feat-placeholder-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 160px;
  color: var(--muted-2);
}
.feat-placeholder-img span {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* Corps de la card */
.feat-card-body {
  padding: 0.85rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}
.feat-card-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.feat-card-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- FAQ ACCORDÉON (EP-216) ---------- */
.faq-section { background: var(--surface); border-top: 1px solid var(--border); }

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }

.faq-item h3 {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: inherit;
  margin: 0;
}

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--surface);
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  line-height: 1.4;
  transition: background 0.12s ease, color 0.12s ease;
}
.faq-btn:hover { background: var(--bg-2); color: var(--teal-600); }
.faq-btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: -2px;
  background: var(--bg-2);
}

.faq-icon {
  flex-shrink: 0;
  color: var(--teal-600);
  transition: transform 0.22s ease;
}
.faq-btn[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}
.faq-btn[aria-expanded="true"] { color: var(--teal-600); background: rgba(20, 184, 166, 0.05); }

.faq-panel {
  padding: 0 1.25rem 1.1rem 1.25rem;
  background: rgba(20, 184, 166, 0.03);
  border-top: 1px solid rgba(20, 184, 166, 0.12);
}
.faq-panel p {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.6;
}

/* Tabs ARIA pour la page cas d'usage (EP-216) */
.tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.tabs-nav::-webkit-scrollbar { display: none; }

.tab-btn {
  flex: 0 0 auto;
  padding: 0.75rem 1.25rem;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-family: inherit;
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.tab-btn:hover { color: var(--navy); }
.tab-btn[aria-selected="true"] {
  color: var(--teal-600);
  border-bottom-color: var(--teal);
}
.tab-btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: -2px;
}

.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

.usecase-panel {
  padding: 2rem 0;
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .usecase-panel { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

.usecase-accroche {
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.2rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.015em;
  line-height: 1.35;
  border-left: 3px solid var(--teal);
  padding-left: 1rem;
  margin-bottom: 1.25rem;
  grid-column: 1 / -1;
}

.usecase-block { display: flex; flex-direction: column; gap: 0.6rem; }
.usecase-block h3 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--teal-600);
}

.usecase-bullets { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.usecase-bullets li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.usecase-bullets li::before {
  content: "";
  position: absolute; left: 0; top: 0.52rem;
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

.usecase-body-text { color: var(--muted); font-size: 0.95rem; line-height: 1.65; }

.usecase-features { display: flex; flex-direction: column; gap: 0.5rem; }
.usecase-feat-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--teal-600);
  text-decoration: none;
  transition: color 0.12s ease;
}
.usecase-feat-link:hover { color: var(--navy); }
.usecase-feat-link svg { flex-shrink: 0; }

/* ---------- 3b. FOCUS KANBAN DES MISSIONS (EP-221 / MKT-09) ---------- */
.focus-kanban {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Visuel principal */
.kanban-shot-wrap {
  max-width: 1100px;
  margin: 0 auto 3rem;
  border-radius: var(--radius);
  background: var(--surface);
  padding: 8px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.kanban-shot-wrap img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 9px;
}

/* Grille des 3 sous-features */
.kanban-features {
  list-style: none;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  max-width: 960px;
  margin: 0 auto 2.5rem;
}
@media (min-width: 640px) {
  .kanban-features { grid-template-columns: repeat(3, 1fr); }
}

.kanban-feat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.kanban-feat-card:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.kanban-feat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(20, 184, 166, 0.10);
  color: var(--teal-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kanban-feat-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.kanban-feat-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.kanban-feat-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* CTA */
.kanban-cta {
  text-align: center;
  margin-top: 0.5rem;
}

/* Responsive : sur mobile, les cards passent en colonne (déjà géré par grid-template-columns: 1fr par défaut) */

/* ---------- DEMO VIDEO (EP-217) ---------- */
.demo-section {
  background: var(--navy);
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.demo-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% -10%, rgba(20,184,166,.12) 0%, transparent 70%);
  pointer-events: none;
}
.demo-section .section-head { color: #fff; }
.demo-section .section-head h2 { color: #fff; }
.demo-section .section-head .eyebrow { color: var(--teal); }
.demo-video-wrap {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(20,184,166,.25);
}
.demo-video-wrap video {
  display: block;
  width: 100%;
  height: auto;
  background: #0f172a;
}
.demo-fallback {
  display: none;
  text-align: center;
  padding: 1.5rem;
  color: #94a3b8;
  font-size: 0.9rem;
}
.demo-fallback a { color: var(--teal); text-decoration: underline; }
.demo-caption {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: #64748b;
}
.demo-caption strong { color: #94a3b8; }

/* ---------- MOTION REDUCTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .phone, .phone:nth-child(2), .phone:nth-child(3) { transform: none; }
}
